Main Content

Define maximum number of input/output/in-out variables of a Program Organization Unit (POU)

Check ID:mathworks.PLC.MaxInOut

Check that model's input variables, output variables, and in-out variables are within a predefined limit.

Description

This check displays a warning when the number of input variables, output variables, and in-out variables of a model exceed the number of predefined maximum variables.

Available with Simulink® PLC Coder™.

Input Parameters

To run this check, set the maximum number of variables in Maximum number of I/O variables.

Results and Recommended Actions

ConditionRecommended Action
The function block has more than Maximum number of I/O variables variables. Reduce the number of I/O variables and rerun the check.