Main Content

Mode

Determines the type of blocks that can be used in the model

Since R2024b

Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Modbus

Description

The Mode parameter selects the Modbus® mode of operation for the model. This parameter also determines the type of blocks that can be used in the model.

Settings

Client | Server

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.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2024b