modbus model interface¶
Modbus endpoint configuration.
Variables¶
| Name | Type | Description | Required | Constant | 
|---|---|---|---|---|
type | 
str | Modbus type: RTU, ASCII or TCP | ||
slave_id | 
int | Modbus slave id | ||
speed | 
int | Bus speed, baud/s | ||
bits | 
int | Bus baud size | ||
parity | 
bool | Bus parity | ||
stop | 
int | Bus stop bits | 
Examples¶
{
  "type": "RTU",
  "slave_id": 3,
  "speed": 115200,
  "bits": 8,
  "parity": false,
  "stop": 1
}