modbus data types

espenbo
2016-06-14
2016-06-14
  • espenbo - 2016-06-14

    Hello
    I have been trying to get some tags from a nibe F1145http://www.nibe.eu/Products/Ground-source-heat-pumps/NIBE-F1145/
    I use a modbus 40 connected to the heatpump.
    http://www.nibe.eu/Products/Accessories/NIBE-MODBUS-40/

    Here I have found out that I need to use -1 to the the rigth regestery. And that eks.
    BT1 Outdoor temp is a WORD type under the <modbus master="" configurator="">
    I wounder if it is any webpage og tabel that gives me informasjon about what kinde of datatype is rigth when I have the informasjon like thise.</modbus>

    Title            ID      -1      Unit   Size   Factor   Min   Max   Default   Mode
    BT1 Outdoor temp   40004   40003   °C   s16   10      0   0   0      R
    EB100-BE3 Current   40079   40078   A   s32   10      0   0   0      R
    Software version      43001   43000      u16   1      0   0   0      R
    Freeze Protection      43013   43012      u8   1      0   0   0      R
    Accumulated energy   43230   43229   kWh   u32   10      0   9999999   0   R
    EB108 Version      43580   43579      u16   1      0   0   0      R
    Heat curve S1      47007   47006      s8   1      0   15   9      R/W
    

    Codesys <modbus master="" configurator=""> gives me these to pick from BOOL, BYTE, WORD, DWORD, SINT, INT, DINT, USINT, UINT, UDINT, REAL and STRING.</modbus>

    Thank you for your guide's into the mystery of datatypes

    Espen Bø

     
  • espenbo - 2016-06-14

    I found some info

    I'm going to try thise tomorrow.

    s16=WORD
    s32=DWORD
    u16=UINT
    u8=USINT
    u32=UDINT
    s8=SINT

    wish me luck

    Espen

    IMG: Bild

     

Log in to post a comment.