Slave device writes data to slave device register over RS485 network
Simulink Support Package for Arduino Hardware / Common
In the Modbus RS485 Slave Write block, the slave device writes data to its registers. The slave 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 slave registers referenced by the MODBUS slave device.
Register Type | Register Size |
---|---|
Coil | 1-bit |
Discrete Input | 1-bit |
Holding Register | 16-bit |
Input Register | 16-bit |
Modbus properties | Modbus RS485 Master Read | Modbus RS485 Master Write | Modbus RS485 Slave Read | RS485 properties