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 of the error:
PROGRAM PLC_PRG VAR b : BOOL; inst : FB; END_VAR b := INI(b, TRUE); FUNCTION_BLOCK FB VAR END_VAR --> C0070: 'INI' operator needs function block instance or data unit type instance
Error correction:
Example: b := INI(inst, TRUE);