05-11-2023 12:15 PM
Hi all,
I'm new to using the OPC UA client LabVIEW software but I have had success connecting and reading from a Siemens PLC, connection formatting here
I can read/write to the OPC tags properly.
When I try using the same to connect to a Rockwell Automation 1756-xxx GuardLogic I can't connect. I receive either error -356612 (A communication problem occurred), or -356641 (The operation timed out.). All errors occur as I connect, before pulling any data. Below are all the permutations I've tried.
Does anyone know what I am doing wrong? I can use OPC Expert or PING to confirm the device is there, RSLinx lets me see the data on the device so I know it has to be on my end.
Solved! Go to Solution.
05-11-2023 03:58 PM - edited 05-11-2023 04:02 PM
A little more information, from RSLinx I can see the device routing, device 00 has the OPC tags, device 02 is the Ethernet.
But how does this map to DeviceID in NI OPC Servers, or Server Endpoint URL on the block diagram?
05-12-2023 12:57 PM
Finally found a solution, turns out the Rockwell Automation does not support OPC UA, fortunately LabVIEW has a a set of .vi specifically for Rockwell.
If you have EthernetIP package installed, but these aren't showing (like mine were not), it might be because the package I had installed (2023) is not backwards compatible with LabVIEW 2020, and you can't have NI-Industrial Communication 2023 and any other version installed at the same time. I had to uninstall NI-Industrial Communication 2023 and reinstall 2020 for the .vis to show up.