Message: Program name, function or function block instance expected instead of '<invalid function>'
Possible error cause: A function is called that does not exist.
Error correction: Make sure that only program names, functions, and function Block Instances that exist are called.
Example of the error:
PROGRAM PLC_PRG VAR END_VAR PLC_PRG.METH1(); METHOD METH VAR_INPUT END_VAR --> C0004: 'METH1' is no component of 'PLC_PRG' --> C0035: Program name, function or function block instance expected instead of 'PLC_PRG.METH1'
Error correction:
Example: PLC_PRG.METH();