I’m trying to access the tags from my OPCUA server for use in one of my Designer window objects. However, when I go to the Tag Browser it shows “Error” for the Tags tree. Hovering the error it says “Error executing gateway function.”
I am using tags from OPCUA for my Transaction Groups and they work fine.
Now I’m getting somewhere. However, the only Tag Provider I have to choose from is “System” and I already had that in my root tree. It still does not provide me with the tags within my OPC-UA connection. I can’t manually type in my provider.
Sounds like the default provider either A: no longer exists or B: is disabled.
Go to the gateway webpage, then Configure -> Tags -> Realtime, and if there is a default entry, edit and re-enable it - if there’s no entry available, then you can simply create a new realtime tag provider. Then you should be able to select it from the project properties.
Thanks. All of your input is valuable. I did all that so now I have 2 tag providers and they are both enabled. I no longer get the errors in designer.
However, how do I go about attaching an OPC device to the tag provider? I can use the OPC Browser to see my devices but I don’t see anything in the Tag Browser that relates back the the OPC devices, other than the System>Gateway>OPC>Connections but that just gives me connection tags et al.
From the OPC browser, just drag and drop whatever tags you want to subscribe to into the tag browser. That will create subscribed tags with the appropriate item path/datatype/etc.