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