Mitsubishi MELSEC Q Series Programming Manual page 194

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

FEND
Operation Error
(1) 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 FEND instruction is executed after the execution of the CALL, FCALL, ECALL, or
EFCALL instruction, and before the execution of the RET instruction.
• The FEND instruction is executed after the execution of the FOR instruction, and before
the execution of the NEXT instruction.
• The FEND instruction is executed during an interrupt program, and before the execution
of the IRET instruction.
• The FEND instruction is executed between the CHKCIR and CHKEND instructions.
• The FEND instruction is executed between the IX and IXEND instructions.
Program Example
(1) The following program uses the CJ instruction.
[Ladder Mode]
[List Mode]
Step
5-52
Instruction
Device
(Error code: 4200)
(Error code: 4221)
(Error code: 4230)
(Error code: 4231)
When XB is ON, the program jumps to
label P23 and the steps that follow P23
are executed.
Executed when XB is OFF.
Indicates the termination of the sequence
program to be executed when XB is OFF.
(Error code: 4211)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents