Compiler Error C0182
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:
Example 417. Example of the error:
PROGRAM PLC_PRG : BOOL VAR END_VAR
Message:
C0182: Return type is only possible for POUs of Type FUNCTION and METHOD