Modbus Sink Flat

Type
'modbussinkflat'

This block is used to take flat JSON formatted data and write it to any number of modbus registers on a single Modbus server.

Example Config Block
"modbus_output": {
  "type": "modbussinkflat",
  "config": {
    "transport_addr": "modbus-rtu://<PATH_TO_DEVICE_FILE>",
    "log_level": "debug",
    "interval": 1000,
    "first_16_bit_low": false,
    "data_map": [
      {
        "aliases": [
          "modbus_byte"
        ],
        "address": 0,
        "type": "int8"
      },
      {
        "aliases": [
          "modbus_string"
        ],
        "address": 4,
        "type": "string",
        "count": 10
      }
    ]
  }
}