EasyManua.ls Logo

Mitsubishi 00JCPU

Mitsubishi 00JCPU
542 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...
2 - 32
CHAPTER2 SEQUENCE PROGRAMS
2
3
2.3 Settings When Program is Divided
2.3.4 Stand-by type program
(3) Execution method
Execute stand-by type programs in either of the following methods.
Create subroutine and/or interrupt programs in a stand-by type program and call them using a pointer or
when an interrupt occurs.
Change a stand-by type program to any other execution type using instructions.
(a) Creating subroutine and/or interrupt programs in a single stand-by type program
When creating subroutine and/or interrupt programs in a single stand-by type program, start the program from
the step 0.
The FEND instruction used in creation of a subroutine or interrupt program is not required after a main routine
program.
Figure 2.34 Creating subroutine programs in a single stand-by type program
P508
RET
RET
Y10
RET
END
Y11
Y12
P500
P501
Program B (Stand-by type program)
Program A
Main routine
program
Use common pointer.

Table of Contents

Related product manuals