Skip to content

modbus model interface

Modbus endpoint configuration.

Variables

Name Type Description Required Constant Default
type str Modbus Type
slave_id int Modbus Slave Id
speed int Serial bus speed (baud/s) 9600
bits int Serial bus baud size 8
parity bool Serial bus parity bit False
stop int Serial bus stop bits 1

Examples

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