Compiler Error C0115

Message: The second parameter of a conditional call 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 call.

Example of the error:

PROGRAM MAIN
VAR
    condition : BOOL;
END_VAR
CALC(condition, 1+2);

Message:

C0115: The second parameter of a conditional call has to be a valid call statement.

Error correction:

CALC(condition, MyFunction(1,2))