Modbus
Web application configuration
Recommended configuration method.
Sample webui configuration
In the settings section, it is possible to change the UART, baudrate, data bits, parity, and stop bits. This allows for full modification of our Modbus bus.

| Option name | Description |
|---|---|
| UART | UART ID used by Modbus in the controller. |
| Baudrate | Allows changing the baudrate of the entire bus. |
| Data bits | Allows changing the number of data bits. |
| Parity | Allows changing the parity for the bus. |
| Stop bits | Allows changing the stop bits for the bus. |
YAML Editor
Modbus component for use with Modbus devices.
Sample configuration
modbus:
uart: uart1Configuration variables:
- uart (Required, string) - UART to define, e.g., uart1, uart2. Older boneIO Black uses only uart1, newer versions use uart4.
- baudrate (Optional, integer, default: 9600) - Transmission speed (Baudrate) in bps. Default 9600. All devices share the same speed!
- stopbits (Optional, integer, default: 1) - Stop bits, default 1.
- bytesize (Optional, integer, default: 8) - Modbus frame byte size. Default 8.
- parity (Optional, string, allowed_values: ['N', 'E', 'O']) - Modbus parity. Default N.