Modbus TCP/IP Server Read
Server device reads data from server device register over TCP/IP network
Since R2021a
Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.
Libraries:
Simulink Support Package for Raspberry Pi Hardware /
Network
Description
In the Modbus TCP/IP Server Read block, the server device reads data from its registers. The server can read data from only one register per read operation.
Simulink® Support Package for Raspberry Pi® Hardware supports the Modbus® communication protocol over the TCP/IP network.
The server can perform read and write operation on these server register(s).
Register Type | Register Size |
---|---|
Coil | 1-bit |
Discrete Input | 1-bit |
Holding Register | 16-bit |
Input Register | 16-bit |
The server can perform either a read or a write operation on its registers.
Ports
Output
Parameters
Version History
Introduced in R2021a