ID von OPCUAServer for reading value or wirting value by a client|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
ID von OPCUAServer for reading value or wirting value by a client
Avatar
Fei Yin
New Member
Members
Forum Posts: 2
Member Since:
08/16/2017
sp_UserOfflineSmall Offline
1
08/16/2017 - 00:54
sp_Permalink sp_Print

hello, everyone,

i meet a problem. Because i want to read / write value in opcua server integrated in S7 1500 of siemens by a client in 4diac. But it must have a id von opc ua server and i don not know how can i set the id for opcua server.this is by me set :opc_ua[opc.tcp://192.168.1.2:4840#/Objects:PLC_1:DataBlocksGlobal:Datenbaustein_1/SIMATIC.S7-1500.OPC-UAServer:PLC_1], but it does not work. and it always reminder me , that can not find node method.

i hope i can fast get your answer. thank you very much

Avatar
Guest
Guests
2
08/16/2017 - 14:57
sp_Permalink sp_Print

From what I see you use a client that expects you to enter a fully qualified path consisting of the Server URL and the NodeId.

I recommend you use a different client that allows you to discover a server, browse the address space and select the variables that you need to access. Any well-designed UA Client that I know works that way.

Note that OPC UA NodeIds are not assumed to be strings. They may be numbers, GUIDs or even byte strings.

And even if a server uses strings, these strings might contain special characters like colon or slash that you will have to escape to create such a fully qualified path.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 18
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1354
Posts: 4583