Main Content

Configure Coils

Configure the starting address and the number of coil registers

Since R2024b

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

Description

Select the Configure Coils parameter to configure the starting address and the number of coil registers.

Dependencies

To enable this parameter, set Mode to server.

Settings

on (default) | off

Coil Register Parameters

ParameterDescriptionDefault Value

Start address

Starting address of the coil register

Dependencies: To enable this parameter, select Configure Coils.

0
Quantity

Number of coil registers

Dependencies: To enable this parameter, select Configure Coils.

1

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2024b