Mode
Modbus mode of operation for Simulink model
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Groups / Modbus properties
Description
Use the
Mode parameter to select the Modbus® mode of operation for the Simulink® model. This parameter also determines the type of blocks that can be used in the
Simulink model. For example, in the Client mode, you can use
only the Modbus TCP/IP Client Read and Modbus TCP/IP Client
Write blocks. Similarly, in the Server mode, you can use
only the Modbus TCP/IP Server Read and Modbus TCP/IP Server
Write blocks.
Settings
Client (default) |
ServerIn the
Client mode, you can use only the Modbus TCP/IP Client
Read and Modbus TCP/IP Client Write blocks. Similarly, in the
Server mode, you can use only the Modbus TCP/IP Server
Read and Modbus TCP/IP Server Write blocks.
Recommended Settings
No recommendation.
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2021a