Skip to content

modbus model interface

Modbus endpoint configuration.

Variables

NameTypeDescriptionRequiredConstant
typestrModbus type: RTU, ASCII or TCP
slave_idintModbus slave id
speedintBus speed, baud/s
bitsintBus baud size
parityboolBus parity
stopintBus stop bits

Examples

{
  "type": "RTU",
  "slave_id": 3,
  "speed": 115200,
  "bits": 8,
  "parity": false,
  "stop": 1
}