I have a tag in OPC UA with the type 'word array' and the address R00006[1][6]. I'm trying to read this tag from Ignition Designer. Here's what I did:
Created a tag of type integer (since I can't create a word array tag).
Set the OPC Item Path to [DeviceName]R00006[1,6]. However, I'm getting an error: 'Error_Configuration: Bad_NodeIdUnknown - The node ID refers to a node that does not exist in the server address space.' When I changed the OPC Item Path to [DeviceName]R00006 with the tag data type set to integer, I could only read the value of the first element in the word array. Is there any way I can read the entire array, and what data type should I use to read the tag data?"
Did you try Integer Array for the type?
Also can you browse for the tag and add it that way? Ignition will normally put its best option in automatically.
The integer array didn't work because Ignition converted the data into an array of 16 elements consisting of 1s and 0s, which only translates to the value of the first element. The import tag didn't work either, as Ignition didn't recognize the 'word array' datatype and instead converted it to a string, which also resulted in just the value of the first element, seems like ignition isn't exposing the entire dataset,
What worked for me was creating six different tags and configuring the OPC Item Path like this: [DeviceName]R00006, [DeviceName]R00007, [DeviceName]R00008, [DeviceName]R00009, [DeviceName]R000010, [DeviceName]R000011.
Apparently, Mitsubishi devices expose data this way. None of the other formats worked—such as [DeviceName][1][6], [DeviceName][1,6], or even [DeviceName][0:5].