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...
1 - 9
(4) Flexible management of subroutine programs
(a) Subroutine program sharing
The number of steps in a program can be reduced by sharing subroutine programs.
In addition, creating and managing programs become easier.
Subroutine programs can be created within the same program and called. Subroutine programs in other pro-
grams can also be called by using the common pointer.
Figure 1.16 Subroutine program sharing
R0K4X20
MOV
SM400
R0
K4X0MOV
RET
M0
M0
P1000
M10
P1000CALLP
0
M0
P1000CALLP
0
Program A
Program B
Calling P1000
Calling P1000
Common pointer
Always
on
Program C
Subroutine program

Table of Contents

Related product manuals