Appearance
EdgeAppModbusPort
Type: Object
A Modbus port
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| baudRate | Int | Serial baud rate (rtu only) | ||
| dataBits | Int | Serial data bits (rtu only; 5...9) | ||
| host | String | Host (tcp / rtuOverTCP only) | ||
| name | String! | Unique port name within the edgeApp (surfaces as params.port) | ||
| parity | EdgeAppModbusParity | Serial parity (rtu only) | ||
| port | Int | Port (tcp / rtuOverTCP; default 502) | ||
| serialPath | String | Serial device path (rtu only) | ||
| slaves | [EdgeAppModbusSlave!]! | Slaves on this port (≥1) | ||
| stopBits | Int | Serial stop bits (rtu only; 1 or 2) | ||
| transport | EdgeAppModbusTransport! | Transport (tcp / rtu / rtuOverTCP) |