Modbus TCP/IP Server Read
Server device reads data from server device register over TCP/IP network
Libraries:
Raspberry Pi Blockset /
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.
Raspberry Pi® Blockset 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.
Note
To generate code C/C++ code for this block, you must have an Embedded Coder® license.
Examples
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2021a
