Corrected from:
PLC Designer V3.15
Response of the new version:
PLC projects can be properly compiled if a method is declared and called in a PROGRAM POU.
What happens?
The following error message appears during compilation
The Variable '__ImpVar16' is too large
When does this behaviour occur?
The error message occurs if a method is declared and called in a PROGRAM POU.
Which products are affected?
PLC Designer V3.14
Short-term measures:
Only declare methods in FUNCTION_BLOCK POUs.
Evaluation/recommendations:
Methods are used for object-oriented programming at FUNCTION_BLOCK POUs. Declaring a method in a PROGRAM POU leads to an error message during project compilation.