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.

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

Settings

on (default) | off

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

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2024b