Main Content

Mode

R2026b

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.

Dependencies

To enable this property, in the Configuration Parameters dialog box, set Hardware board to one of these boards.

  • Arduino® MKR Zero

  • Arduino Mega 2560

  • Arduino Mega ADK

  • Arduino MKR 1000

  • Arduino MKR WIFI 1010

  • Arduino Leonardo

  • Arduino Micro

  • Arduino Nano 3.0

  • Arduino Nano 33 IoT

  • Arduino Uno

  • Arduino Robot Control board

  • Arduino Robot Motor board

Settings

Client | Server

Default: Client

Server

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2020b