Using JSON to import tags- there is an issue with OPC item path

Hi everyone,

I’m trying to import tags into Ignition using a JSON file. These tags are structured as UDTs, and some of the IEDs use IEC 61850. As an example, here is one of the tags used inside a UDT:

image

After importing the JSON, all of the tag parameters look correct except for the “OPC Item Path”, which shows the following error:

Here’s the strange part:
image

If I click at the end of the OPC Item Path field and simply press Space, the error disappears and the tag starts working normally.

Has anyone seen this bizarre behavior before?
Why would the OPC Item Path be invalid until I manually add a space at the end, even though the JSON value is identical?

Thanks

Your OPC Item Path has an embedded parameter. In imports, you cannot just stick those into the string value of the tag property--there must be a nested JSON binding object. Interpreting the string value to create the binding is a feature of the designer tag editor, not the import machinery.

Export and examine the JSON of a UDT member tag that has a working binding to see the structure your import needs.

1 Like