Compiler Error C0080
Message: Function block '<function block name>' must be instantiated to be accessed
Possible error cause: Missing function Block Instantiation
Error correction: Instantiate the function block.
Example 365. Example of the error:
PROGRAM PLC_PRG VAR END_VAR FB(); FUNCTION_BLOCK FB VAR END_VAR
Message:
C0080: Function block 'FB' must be instantiated to be accessed
Error correction:
VAR inst : FB; END_VAR inst();