458
7 APPLICATION INSTRUCTIONS
7.6 Structure Creation Instructions
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• The following program executes the FOR to NEXT loop when X8 is OFF, and does not execute it when X8 is ON.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4200 After the FOR instruction was executed, the END, FEND, or GOEND
instruction was executed prior to the NEXT instruction.
The STOP instruction is in process between the FOR and the NEXT
instructions.
4201 The NEXT instruction was executed prior to the FOR instruction.
4202 The 17th FOR instruction was executed when the FOR instruction has been
nested.
[Ladder Mode] [List Mode]