Modbus Buffer parser, 32 bit

  1. Set the debug coming out of modbus node to show complete message

  2. expand the debug output until you find a buffer object (something like msg.data.buffer)
    Copy the path to the buffer object using the button that appears under your mouse in the debug window item

  3. Set the buffer parser to use the path (that you copied in step 2) as its property...
    image

  4. Enter the data items on the buffer parser UI

  • As you request data from the modbus at address 50520...
    • use offset 0 for address 50520 (V1)
    • use offset 4 for address 50522 (V2)
    • use offset 8 for address 50524 (V3)
    • and so on

You will want the U32 values to be unsigned UINT32(BE) entries in the buffer parser
You will want the S32 values to be signed INT32(BE) entries in the buffer parser
(but I am guessing the endianess)

NOTE also, as V appears to be scalled by 100, you can set the scale item to 0.01 for a true value

1 Like