EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Ending the Main Routine Program; Termination Instructions

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 SEQUENCE INSTRUCTIONS
5.6 Termination Instructions
211
5
5.6 Termination Instructions
Ending the main routine program
FEND
This instruction is used to separate the main routine program from subroutine programs and interrupt programs in a program
file.
Execution condition
Processing details
This instruction is used to divide sequence program operations by using a program branch instruction such as the CJ
instruction or to separate the main routine program from subroutine programs and interrupt programs specified by the
interrupt pointer (I).
When the instruction is executed, the CPU module terminates the running program.
Sequence programs following the FEND instruction can be displayed on the engineering tool (ladder mode).
Ladder ST
Not supported
FBD/LD
Not supported
Instruction Execution condition
FEND Every scan
When the CJ instruction is used When there are subroutine and interrupt programs
A: Main routine program
B: Subroutine program
C: Interrupt program
(1) Operation performed when the CJ instruction is not executed
(2) Jump caused by the CJ instruction
(3) Operation performed when the CJ instruction is executed
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
CJ
FEND
FEND
END
0
P**
(2)
(3)
(1)
P**
A
A
A
P**CALL
FEND
END
P**
I**
A
B
C

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals