Hello, I’m trying to read a value from OPC with this simple script:
server = “Ignition OPC UA Server”
path = “[0430-NET-0113]ifType[10101]”
value = system.opc.readValue(server, path)
print value
The tag has data in it:
But every time the script throws a “GatewayException: Read timed out” after executing for a while.
I can read OPC values from this device that are not in a folder, but not these.
Our OPC-UA server name is Ignition OPC-UA Server (note the hyphen). In our case that name is the result of several years worth of upgrades, but you might check that the name matches.
Can you try to browse for this tag in the OPC server and then drag that element into your tag folder. Then compare the path in that tag to your script?
I do have an Allen Bradley though. I tried reading a value within a folder from it and had no problem doing so with this path (copy/pasted from OPC browse):
I would lean towards this being a Kymera issue as well… contact them and see if there are any loggers you can enable to that would show what’s happening when the driver receives the read call.