Power Modbus - Power Logic Device

I'm trying to read an unsigned 32 bit Modbus Holding register.

The tag assigned to the address is returning a value but it isn't correct, it can be either 2 or 1 number off the value

I've used Modbus scanning software to confirm the value. The value I'm reading is a serial number so it needs to be correct.

I read that the Power Modbus 32 bit Logic Codes are only accurate to 7 digits.

Has anyone succefully read the full 32 bit unsigned integer using Power Modbus?

Parents
  • Dear if you solved this issue kindly suggest me how to resolve this issue. I am facing same issue. I want to read the value of 2 registers ( 32 bit) but It's just reading value of one register.

    Thanks

  • The data type of the Variable Tag in SCADA will define the number of bits read. For example, the UINT data type in Plant SCADA will read 16 bits unsigned from the Modbus device. While the ULONG will read 32 bits unsigned. If you aren't getting the correct value, you might also like experimenting with LONG data type. There are also byte order settings within the Modbus / Modnet driver, like [Modnet]LongDataType. See the driver reference help for more information.

Reply
  • The data type of the Variable Tag in SCADA will define the number of bits read. For example, the UINT data type in Plant SCADA will read 16 bits unsigned from the Modbus device. While the ULONG will read 32 bits unsigned. If you aren't getting the correct value, you might also like experimenting with LONG data type. There are also byte order settings within the Modbus / Modnet driver, like [Modnet]LongDataType. See the driver reference help for more information.

Children