-

Semantic Error: Invalid parameter expression.

An ST code worksheet contains an invalid function block call which is underlined in the code worksheet: The parameter list contains an expression which is only allowed in function calls.

In function block calls, only assignments are allowed for the formal parameters:

InParamName := literal/variableinput parameter assignment
OutParamName => variableoutput parameter assignment

Example: CTU function block, 3 input/2 output parameters.