Hello Everyone,
I am having some major issues here. In SCADAPACK, all analogs are declared as 32-bit values. For example:
PRESSURE_SCALED (32-bit) has a MODBUS address of 44000
What SCADAPack does is it stores the values as follows:
44000 (Bits 16-31) upper 16-bits
44001 (Bits (0-15) lower 16-bits
So in kepserver whenever I read a Long, the value is garbage because it is expecting the following instead:
44000 lower 16-bits
44001 upper 16-bits
How do I get around to fixing this?
Please HELP!!
I am having some major issues here. In SCADAPACK, all analogs are declared as 32-bit values. For example:
PRESSURE_SCALED (32-bit) has a MODBUS address of 44000
What SCADAPack does is it stores the values as follows:
44000 (Bits 16-31) upper 16-bits
44001 (Bits (0-15) lower 16-bits
So in kepserver whenever I read a Long, the value is garbage because it is expecting the following instead:
44000 lower 16-bits
44001 upper 16-bits
How do I get around to fixing this?
Please HELP!!