Reading accumulated energy from ABB energymeter

Hi

Iv'e been trying to read the accumulated values from an ABB B24 212-100 energy meter via modbus.

The voltages and other small values reads just fine, but the accumulated values are stored across 4 registers, so a 64-bit value(?).
I can get citect to read them one by one as integers and then get the same result as in a modbus-poll program, but I can´t get citect to read out the correct accumulated value.

I of course have read the manual, which can be found here: https://new.abb.com/products/2CMA100180R1000/active-energy-class-1-or-b-for-mid-meters-reactive-energy-class-2

And from that Iv'e extracted the addresses in hex, converted to decimal, and offset them. Seems like reading them with an offset of +2 gives the same result as modbus-poll programs at least.

So in summary, reading a 4 register long accumulator, how do I do it? Using datatype ULONG or LONG doesn't help. Also tried the ini-parameters for bitswapping and such.

Regards

Anders

Parents
  • Hi Anders,

    Citect's Modbus driver as well as Citect itself are not able to handle 64 bit integers. The largest values you can use are 32 bit, using the LONG/ULONG data type.

    Please read the Modbus driver help on the [MODBUS]LongDataType parameters to configure the correct register order for LONG/ULONG data types. The default value (3) should be correct for this ABB device.
    If the address offset of your registers look wrong, I would recommend trying a different protocol variant such as MODBUS1 or MODBUS3.

    Regards,
    Patrick
Reply
  • Hi Anders,

    Citect's Modbus driver as well as Citect itself are not able to handle 64 bit integers. The largest values you can use are 32 bit, using the LONG/ULONG data type.

    Please read the Modbus driver help on the [MODBUS]LongDataType parameters to configure the correct register order for LONG/ULONG data types. The default value (3) should be correct for this ABB device.
    If the address offset of your registers look wrong, I would recommend trying a different protocol variant such as MODBUS1 or MODBUS3.

    Regards,
    Patrick
Children
No Data