Compiler Error C0035
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 334. Example of the error:
PROGRAM PLC_PRG VAR END_VAR PLC_PRG.METH1(); METHOD METH VAR_INPUT END_VAR
Message:
C0004: 'METH1' is not a component of 'PLC_PRG'
C0035: Program name, function or function block instance expected instead of 'PLC_PRG.METH1'
Error correction:
PLC_PRG.METH();