Modbus RS485 Client Read
R2026bClient device reads data from server device register(s) 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 Client Read block, the client device reads data from the register(s) of the server device.
Simulink® Support Package for Arduino® Hardware supports the Modbus® communication protocol over the RS485 network. The client and the server must be connected on the same RS485 network for successful Modbus communication. Each device on the RS485 network is referenced by a unique 8-bit address or identifier.
This table categories the server device registers referenced by the Modbus client device.
| Register Type | Register Size | Allowed Client Operation on Register |
|---|---|---|
| Coil | 1-bit | Read and Write |
| Discrete Input | 1-bit | Read |
| Holding Register | 16-bit | Read and Write |
| Input Register | 16-bit | Read |
The client can perform either a read or a write operation (depending on the register type) on register(s) of a server device.
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
Output
Parameters
Version History
Introduced in R2020b