Main Content

Configure Discrete Inputs

Configure the starting address and the number of discrete input 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 Discrete Inputs parameter to configure the starting address and the number of discrete input registers.

Dependencies

To enable this parameter, set Mode to server.

Settings

on | off

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

Discrete Input Register Parameters

ParameterDescriptionDefault Value

Start address

Starting address of the discrete input register

Dependencies: To enable this parameter, select Configure Discrete Inputs.

0
Quantity

Number of discrete input registers

Dependencies: To enable this parameter, select Configure Discrete Inputs.

1

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2024b