Compiler Error C0120
Message: An 'FB_Exit'-Method of a function block or struct needs an input 'bInCopyCode' of type BOOL.
Possible cause: The input bInCopyCode of type BOOL is missing.
Correction: Define the input.
Example 392. Example of the error:
PROGRAM PLC_PRG
VAR
inst : FB;
END_VAR
FUNCTION_BLOCK FB
METHOD FB_exit
VAR_INPUT
END_VAR
Message:
C0120: An 'FB_Exit'-Method of a function block or struct needs an input 'bInCopyCode' of type BOOL.
Correction:
METHOD FB_exit
VAR_INPUT
bInCopyCode : BOOL;
END_VAR