主要内容

Mode

Modbus mode of operation

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Modbus properties

Description

Select the Modbus® mode of operation for the model. This parameter also determines the type of blocks that can be used in the model. For example, in the Client mode, you can use only the Modbus RS485 Client Read and the Modbus RS485 Client Write blocks. Similarly, in the Server mode, you can use only the Modbus RS485 Server Read and the Modbus RS485 Server Write blocks.

Settings

Client | Server

Default: Client

Server

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2020b