Modbus RS485 Slave Read
Slave device reads data from the slave device register over RS485 network
Since R2020b
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
In the Modbus RS485 Slave Read block, the slave device reads data from its registers. The slave can read data only from one register per read 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 |
The slave can perform either a read or a write operation on its registers.
Ports
Output
Parameters
Version History
Introduced in R2020b