Mitsubishi Electric MELSEC-Q/L Programming Manual page 460

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
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.
Program example
• The following program executes the FOR to NEXT loop when X8 is OFF, and does not execute it when X8 is ON.
[Ladder Mode]
7 APPLICATION INSTRUCTIONS
458
7.6 Structure Creation Instructions
Q00J/
QnH
Q00/
Q01
[List Mode]
Step
Instruction
QnPH
QnPRH
QnU
Device
LCPU

Advertisement

Table of Contents
loading

Table of Contents