Error description 160-031B
Error message
End of a loop (FOR or WHILE) faulty: the beginning is missing
Cause of error
A loop was programmed incorrectly. A loop begins with "FOR" or "WHILE" and ends with "END FOR" or "END WHILE". "CONTINUE" or "BREAK" may be used only within a loop.
Error correction
Edit the NC program.