Floating Pts - Issues in Designer But Working Fine in Gateway

This is regarding a SCADA developed with Ignition v8.1.39 Perspective. I have two screens/devices (Modbus TCP/IP) that are acting up for floating point values. They show them coming in as "Bad" in the Tag Browser (all other data types are fine though.)

Regarding the address mapping in the gateway, I set the Real/float values as follows:

In the advanced settings of the address mappings, we also selected "reverse word order" for the specific device, left spanning gaps unchecked, and zero-based addressing checked.

In the Tag Browser, I've tried accessing the data tags both of the following ways:

[Device]1.HRF104
ns=1;s=[Device]1.hReg104

Both return the value as "Bad." The weirdest thing is that in the OPC Client in the Gateway, the values are coming in exactly as they need to (i.e. it'll show a 120.0 for a specific tag that needs to show that way), suggesting that the Gateway setup is correct. I just don't understand why it doesn't show up that way in the designer. I've tried opening and closing the programs, rebooting the PC, etc. as well, just in case there was some kind of lag between the Gateway and Designer....any suggestions?

In the screenshot of your mapping the Unit ID is set to 5, so neither of these are correct.

Why don't you just browse to this tag in the OPC Browser and drag it into the Tag Browser?

Ah just ignore that, I was disguising the actual tag path here since it's a public forum, but yeah, unit ID corresponds in both so that's not the issue. Sharp eye though haha

Well, not much else you can do but check the logs for errors.

I'll also give my standard advice to use only explicit addressing and abandon the address map all together.

1 Like

What do you mean by explicit addressing? And is this regarding the Designer or Gateway? Thanks!

Explicit addressing is when you manually define the OPC Item Path (or it's derived via UDT), like this:

[Device]1.HRF104

according to the Modbus address syntax defined in the user manual.

1 Like