Main Content

Configure Discrete Inputs

Configure discrete inputs to read data from the discrete inputs register

Since R2025a

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

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

off | on

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 R2025a