Error description 160-031A
Error message
Instruction not permitted within a FOR or WHILE loop
Cause of error
Within a block initiated with IF, FOR or WHILE, a jump instruction was programmed that is not permitted there.
Error correction
Edit the NC program.