Page 32 of 39 Rev. 13
4. COMMON NOTES FOR MODBUS AND DNP3
Note 0
Variable is coded in 1 byte.
As requested by the user, the decoding is in hexadecimal or BCD code.
Note 1
Variable is coded in 2 bytes including the decimal part
Example:
O/P voltage = 651.3V corresponds to 6513 in decimal.
In hexadecimal the corresponding value will be 1971 hex; (19 MSB, 71 LSB)
(MSB : most significant byte, LSB : least significant byte)
Note 2
Variable is coded in 2 bytes. It can be positive or negative the most significant bit is associated to the sign
Example 1:
Battery current =135.2A
In decimal, the value will be coded: 1352
In binary the value will be: 0000 0101 0100 1000
In hexadecimal the value will be: 0548 hex; (05 MSB, 48 LSB)
Example 2:
Battery current =-135.2A
In decimal, the value will be coded: 34120
In binary the value will be: 1000 0101 0100 1000
In hexadecimal the value will be: 8548 hex; (85 MSB, 48 LSB)
Note 3
Variables are coded in one byte.
Note 4
Variables are coded in 2 bytes.
Note 5
Variables are coded in one byte split in two 1/2 bytes
Example: If value is (45 hex), the 2 variables are in the format X/Y,
X=4, and Y=5.
Note 6
The variable is coded into 2 bytes with the consideration of the decimal part
Example: 0.123 will be coded 123 in decimal, and 7B in hexadecimal.
Note 7
Charger configuration: Address: (16 hex)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0: ON/OFF display
1: Load sharing