Compiler Error C0070
Message: 'INI' operator needs function block instance or data unit type instance
Possible error cause: Neither a function block instance nor a DUT instance is applied to the INI operator.
Error correction: Pass only function block instances or DUT instances to the INI operator.
Example 358. Example of the error:
PROGRAM PLC_PRG VAR b : BOOL; inst : FB; END_VAR b := INI(b, TRUE); FUNCTION_BLOCK FB VAR END_VAR
Message:
C0070: 'INI' operator needs function block instance or data unit type instance
Error correction:
b := INI(inst, TRUE);