8 TROUBLESHOOTING
MELSEC-Q
8 - 118 8 - 118
*1 : Characters in parentheses ( ) indicate the special register numbers where individual information is being
stored.
Error
Code
(SD0)
*1
Error Contents and Cause Corrective Action
Corresponding
CPU
4200
No NEXT instruction was executed
following the execution of a FOR
instruction.
Alternatively, there are fewer NEXT
instructions than FOR instructions.
Read the common information of the
error using the peripheral device,
check error step corresponding to its
numerical value (program error
location), and correct the problem.
4201
A NEXT instruction was executed
although no FOR instruction has been
executed.
Alternatively, there are more NEXT
instructions than FOR instructions.
4202
More than 16 nesting levels are
programmed.
Keep nesting levels at 16 or under.
4203
A BREAK instruction was executed
although no FOR instruction has been
executed prior to that.
Read the common information of the
error using the peripheral device,
check error step corresponding to its
numerical value (program error
location), and correct the problem.
4210
The CALL instruction is executed, but
there is no subroutine at the specified
pointer.
4211
There was no RET instruction in the
executed subroutine program.
4212
The RET instruction was before the
FEND instruction in the main program.
4213
More than 16 nesting levels are
programmed.
Keep nesting levels at 16 or under.
4220
Though an interrupt input occurred,
the corresponding interrupt pointer
does not exist.
Read the common information of the
error using the peripheral device,
check error step corresponding to its
numerical value (program error
location), and correct the problem.
4221
An IRET instruction does not exist in
the executed interrupt program.
4223
An IRET instruction exists before the
FEND instruction of the main program.