thanks for your quick response.
the algorithm for obtaining data INT32-M10K
is:
Example (Signed):
Value ‐12345678 is passed in signed 32‐bit Modulus‐10000 format. Both high and
low are signed.
Registerhigh: ‐1234 = FB2E Hex
Registerlow: ‐5678 = E9D2 Hex
Value = ‐1234 x 10000 + ‐5678 = ‐12345678
Modbus register map
Label—–Address—-Number of register—-Format
kWh del—-40089————2————-INT32-M10K
I divided into two registers so
Label———-Address—-Number of register——–Format
kWh del high—-40089————1————–short (2 bytes)
kWh del low—–40090————1————–short (2 bytes)
SCADA-Administrator, Formulas table
kWh del high Cnl*10000
kWh del Val(n)+Val()
(n) is the number of impout channel kWh del low
-
This reply was modified 7 years, 6 months ago by Setsero.