I am experiencing a “Bad” Value when attempting to read two 16bit modbus register from a local device and cannot seem to troubleshoot the issue with Ignition OPC-UA.
I’ve done the same in KEPWARE and was successful, so I’m thinking I’m configuring the Ignition side wrongly somewhere and am looking for some advice or articles to help.
Device Manual mentions “These registers are 16 bits each and are organized as shown below. All of the values are reported as 32-bit IEEE standard 754 floating point format.
This uses 2 sequential registers, least significant 16 bits first.”
I did try the “reverse word order”, but nothing really changed, although searching along “word order” for the device, I came by a forum post about the device.
Apparently I needed to assign the UNIT ID to a specific number that is configured on the device, which is not mentioned at all in the manual’s communication sections.
Could someone elaborate a little more on this?
I am having the same issue using ns=1;s=[G1]21.HRF11380. I do not have the register in the gateway, just the tag browser although I have tried both.
When you say assign a unit id to a specific number, what do you mean? I already have the Unit ID in the address above.
Also, How does someone swap word order without the tag being in the gateway and selecting this from the advanced settings? (I don't believe this is my solution as I have tried it through a gateway tag where it did not yield any results)
You have a Unit ID, the original post was about using the address mapping configuration, which we don't recommend.
The advanced setting is how you swap word order. Whether the tag is defined in the address mapping or not is irrelevant.
Are you getting a value but it's wrong, or are you not getting a value at all? Do you have any other Modbus client that can read the value (modpoll, etc...)?