Message: The code <code> has no effect. Is this the intent?
Possible error cause: The written code is syntactically correct but does not do anything.
Error correction: Write code that has a purpose.
Example of the error:
PROGRAM PLC_PRG VAR i : INT; END_VAR i; --> C0139: The code 'i;' has no effect. Is this the intent?