Modbus RS485 Server Write
R2026bServer device writes data to server device register over RS485 network
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
In the Modbus RS485 Server Write block, the server device writes data to its registers. The server can write data only to one register per write operation.
Simulink® Support Package for Arduino® Hardware supports the Modbus® communication protocol over the RS485 network. Each device on the RS485 network is referenced by a unique 8-bit address or identifier.
This table categories the server registers referenced by the Modbus server device.
| Register Type | Register Size |
|---|---|
| Coil | 1-bit |
| Discrete Input | 1-bit |
| Holding Register | 16-bit |
| Input Register | 16-bit |
Supported Arduino Boards
Arduino MKR Zero
Arduino Mega 2560
Arduino Mega ADK
Arduino MKR 1000
Arduino MKR WIFI 1010
Arduino Leonardo
Arduino Micro
Arduino Nano 3.0
Arduino Nano 33 IoT
Arduino Uno
Arduino Robot Control board
Arduino Robot Motor board
Ports
Input
Parameters
Version History
Introduced in R2020b