EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-A series

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 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
Page #106 background imageLoading...
Page #106 background image
5. SEQUENCE INSTRUCTIONS
5 37
MELSEC-A
(4) Use the END and FEND instructions in the main routine program, subroutine
program, interrupt program, and subsequence program as shown below.
Fig. 5.1 Use of the END (FEND) Instructions
(5) If the END instruction is not given in the program, operation error occurs and the
PC does not run. If parameters are used to set subprogram capacity, operation
error occurs when the END instruction is not given in the subprogram.
Operation Errors In the following cases, operation error occurs and the PC stops its operation.
(1) Jump has been made to a step below the END instruction by the CJ, SCJ, or
JMP instruction.
(2) The subroutine program or interrupt program located below the END instruction
has been executed.
Main routine program
Subroutine program
(FEND instruction is always required.)
Main sequence program
area
Interrupt program
(END instruction is always required.)
Main routine program
(FEND instruction is always required.)
Subroutine program
Subsequence program
area
Interrupt program
(END instruction is always required.
FEND
END
FEND
END

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals