162
6 SEQUENCE INSTRUCTIONS
6.6 Termination Instructions
Ending the sequence program
END
This instruction indicates the end of a program.
Processing details
• This instruction indicates the end of all programs including the main routine program, subroutine program, and interrupt
program. When this instruction is executed, the CPU module ends execution of the currently executing program.
• The first time the RUN is started, execution begins from this instruction.
• This instruction cannot be programmed midway during the main sequence program. When this processing is required
midway during the program, use the FEND instruction.
• When programming is performed using the engineering tool in ladder edit mode, the END instruction is automatically input
and cannot be edited.
• The following illustrates how the END and FEND instructions are used properly when a program contains a main routine
program, subroutine program, and interrupt program.
The END instruction executed while a program is divided into multiple program blocks indicates the end of a
program block.
The END instruction executed for END processing is executed at the end of the last executed program
registered in the program settings.
Ladder diagram
Structured text
Not supported.
FBD/LD
Not supported.
(1): Sequence program
A: Main routine program
B: Subroutine program
C: Interrupt Program
D: Main sequence program area
(1): FEND instruction is required.
(2): END instruction is required.
END
0
(1)
FEND
END
A
C
D
B
(1)
(2)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......