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: 1009
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: 1009
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: 518

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 75

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 708

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 982, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 319, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1