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