Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
connection error to OPC UA Server
January 18, 2021
14:41, EET
Avatar
Prosysdigiuser44
Member
Members
Forum Posts: 6
Member Since:
January 18, 2021
sp_UserOfflineSmall Offline

I am trying a simple connection to a UA OPC server using the TPsOPCServer component
The server is remote, and it is working corretcly, I can connect to it without any problem using the UAExpert client
If I set the host adress and try to activate the connection, I receive this error :

Cannot connect to OPC Server \\opc.tcp://192.168.10.241\:Server Name cannot be converted to a valid ClassID

Could you help me ?

Thanks

January 18, 2021
16:44, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1019
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

TPsOPCServer is a client for OPC Data Access servers.

For OPC UA, you need to use TUaClient. See the UaSampleClient project and the OPC UA Client Tutorial (link on the download page) for more detail.

January 18, 2021
18:09, EET
Avatar
Prosysdigiuser44
Member
Members
Forum Posts: 6
Member Since:
January 18, 2021
sp_UserOfflineSmall Offline

Thanks, I’ve tried to compile and run the UaSampleClient but I have a link error.

I’ve tried to create a simply C++ Builder application with an empty form dragging in a TUaClient objtect and I have several unresolved external link error, how do I have to configure the libraries / linker path ?

Thanks

January 18, 2021
18:42, EET
Avatar
Prosysdigiuser44
Member
Members
Forum Posts: 6
Member Since:
January 18, 2021
sp_UserOfflineSmall Offline

Here you are some of them

[ilink32 Error] Error: Unresolved external ‘_OpcUa_P_Initialize@4’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UACLASSES.OBJ
[ilink32 Error] Error: Unresolved external ‘_OpcUa_ProxyStub_Initialize@8’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UACLASSES.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Initialize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Clear’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_GetSize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Encode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_RolePermissionType_Decode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Initialize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Clear’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_GetSize’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ
[ilink32 Error] Error: Unresolved external ‘OpcUa_StructureField_Encode’ referenced from C:\PROGRAM FILES (X86)\PROSYSOPC\SENTROL702DC103EVAL\LIB260\PROSYSOPC.UASTACK.CONSTANTS.OBJ

January 19, 2021
10:29, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1019
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Please, upgrade to the latest version 7.2.0. I am afraid this version 7.0.2 was missing some required libraries.

January 19, 2021
11:51, EET
Avatar
Prosysdigiuser44
Member
Members
Forum Posts: 6
Member Since:
January 18, 2021
sp_UserOfflineSmall Offline

Thanks, I’m trying to download from your web site

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 86

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 732

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1508

Posts: 6396

Newest Members:

elainesever, powhephenry, mamiecaldwell5, Lamasom, scsneed, berrybulcock, icerdraizomma, athenasummy5, vtaletbhcx, HaroldaDob

Moderators: Jouni Aro: 1019, Pyry: 1, Petri: 0, Bjarne Boström: 1016, Jimmy Ni: 26, Matti Siponen: 340, Lusetti: 0

Administrators: admin: 1