EasyManuals Logo
Home>Mitsubishi>Controller>Q02HCPU

Mitsubishi Q02HCPU User Manual

Mitsubishi Q02HCPU
976 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 #708 background imageLoading...
Page #708 background image
10 - 93
10.10 Pointer (P)
10.10.1 Local pointer
10
DEVICE EXPLANATION
10.10.1 Local pointerNote28
(1) Definition
Local pointers are pointers which can be used independently in program jump
instructions and subroutine call instructions.
The same pointer No. can be used in each of the programs.
(2) Number of local pointer points
Local pointers can be divided among all the programs stored in the program memory.
The local pointer No. ranges from P0 to the highest No. of the local pointer in use.
(The CPU module OS computes the number of points used.)
Even if only P99 is used in a program, for example, the number of points used will be
counted as 100 between P0 and P99.
When local pointers are used at several programs, the pointer settings should begin
from P0.
Note28
Figure 10.85 Use of the same pointer in each program (Local pointer)
Figure 10.86 Concept of the number of local pointer points
Basic
Note10.26
Since the Basic model QCPU cannot execute multiple programs, it is irrelevant to the difference
between local pointers and common pointers.
When the Basic model QCPU is used, it is not necessary to be conscious of the description in
this section.
Basic
Note10.26
Program BProgram A
P0P0
CALL P0
FEND
RET
END
CALL P0
FEND
RET
END
Same pointer
is used.
Program A
Program B
Program C
If the local pointer points are used as follows, the total is 600 points.
P0 to P99 used in
program
P100 to P199
used in program
Only P299 is
used in program
Total of 600
points used.
Example
P0 to P99 occupy
100 points
P0 to P199 occupy
200 points
If P0 is used, the
number of occupied
points is 1.
If P0 to P99 are used,
the number of occupied
points is 100.
P0 to P299 occupy
300 points

Table of Contents

Other manuals for Mitsubishi Q02HCPU

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Q02HCPU and is the answer not in the manual?

Mitsubishi Q02HCPU Specifications

General IconGeneral
BrandMitsubishi
ModelQ02HCPU
CategoryController
LanguageEnglish

Related product manuals