Reading long in MODBUS driver

I have a power meter, and i need to read a Long value from registers 301 + 302.

The MODBUS dresses are 40302 + 40303.

When I define a LONG at 40302 I get en error message "Address on bad boundary (E2060)".

So I have to read the 2 registers as INT and then connect them.

Is there a way to read those 2 registers  as LONG.

Gideon

Parents
  • Hi ,
    This was originally done when address boundary had some issues in poll based drivers. This was then resolved within the driver framework, so it is safe to override this protection. It is done by setting the Citect.ini parameter: [General]CheckAddressBoundary=0
    You can now define a LONG at 40302 and read both registers.
Reply
  • Hi ,
    This was originally done when address boundary had some issues in poll based drivers. This was then resolved within the driver framework, so it is safe to override this protection. It is done by setting the Citect.ini parameter: [General]CheckAddressBoundary=0
    You can now define a LONG at 40302 and read both registers.
Children
No Data