Main Content
Modbus TCP/IP Server Write
Server device writes data to 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 Write block, the server device writes data to its registers. The server can write data to 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 |
Ports
Input
Parameters
Version History
Introduced in R2021a