Topic RSS9:48, EET
March 27, 2014
Offlinehi,
i started to program an opc-client. i can connect to the opc-da/ua-server (TwinCAT 3 PLC with 4 Global Variable Lists with some variables).
now i want to get a list of the visible plc variables. I have a list of the names (ex: PLC1/GVL_Write/bWrite).
how can i do this? i want to read and write values with the client.
thx for help!
10:20, EET
December 21, 2011
OfflineYou need to find the NodeId for each variable. You can do this by browsing the address space. The Java Client is handy for this, for example.
It is possible that the server uses the addresses you have as NodeId identifiers, but it’s best to validate the NodeIds with the visual browser, since it also contains the NamespaceIndex, which you need for the NodeId as well.
11:12, EET
March 27, 2014
Offlinemy problem is to browse the address space… i found the prosys tutorial (no. 7. browse the address space). but there i need a node id to browse?! but i dont have any ids!
when i use “Identifiers.Root” as node id, i get a list of three nodes (view, object and server). but because i dont have the complete information for other nodes i cant browse the other nodes (for example one of my global variable list)
7:51, EET
March 27, 2014
Offline1 Guest(s)

Log In
Register