Skip to main content

Compiler Error C0132

Message: No enclosing loop of which to EXIT

Possible error cause: EXIT is used outside of a loop.

Error correction: Use EXIT inside of a loop only.

Example 394. Example of the error:
PROGRAM PLC_PRG
VAR
END_VAR

EXIT
;

Message:

C0132: No enclosing loop of which to EXIT