Setsero

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: I need to read data format RTU modbus INT32-M10K #1661
    Setsero
    Participant

    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 8 years, 10 months ago by Setsero.
Viewing 1 post (of 1 total)