Message: The second parameter of a conditional call (????ALWAYS CALC???? ) has to be a valid call statement.
Error correction: Specify the call of a function, method, or function block in the second parameter of the conditional ????CALC??? call.
Example of the error:
PROGRAM PLC_PRG VAR condition : BOOL; END_VAR CALC(condition, 1+2); --> C0115: The second parameter of a conditional call has to be a valid call statement.
Error correction:
Example: CALC(condition, MyFunction(1,2))