Message: Return type is only possible for POUs of Type FUNCTION and METHOD
Possible error cause: An attempt is made to define a return value in a program.
Error correction: Define a return value only in methods and functions.
Example of the error:
PROGRAM PLC_PRG : BOOL VAR END_VAR --> C0182: Return type is only possible for POUs of Type FUNCTION and METHOD