End; Sequence Program End - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

5.6.2

END

Sequence program end

5.6.2
END
END
Setting
Internal Devices
Data
Bit
Word
––
Function
(1) Indicates termination of programs, including main routine program, subroutine program, and interrupt programs.
Execution of the END instruction will cause the CPU module to terminate the program that was being executed.
(2) The END instruction cannot be used during the execution of the main sequence program.
If it is necessary to perform END processing during the execution of a program, use the FEND instruction.
(3) When programming in the ladder mode of a peripheral device, it is not necessary to input the END instruction.
(4) The use of the END and FEND instructions is broken down as follows for main routine programs, subroutine programs,
and interrupt programs:
Main routine program
FEND
Subroutine program
Interrupt program
END
J
\
R, ZR
Bit
Word
0
Sequence program
END
(FEND instruction is necessary.)
(END instruction is necessary.)
High
Basic
Process
performance
Zn
U
\G
––
Main sequence
program area
END
LCPU
Redundant Universal
END
Constants
Other
165
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents