10
- 97
10.10 Pointer (P)
10.10.2 Common pointer
10
DEVICE EXPLANATION
(3) Precautions for using common pointers
(a) When the same pointer No. is used as label
The same pointer No. cannot be used again as a label.
Such use will result in a pointer configuration error (error code:4021).
(b) When the total number of local pointer points exceeds the first number of
common pointer
If the last number of local pointers used in several programs overlaps the first
number of common pointers, a "pointer configuration error (Error Code: 4020) will
occur.
POINT
In the jump instruction, jumping to common pointers in other programs is not
allowed.
Common pointers should be used only with subroutine call instructions.
Figure 10.89 Concept of common pointer using range
Total of 400 points used
All pointers after P400
can be used as
common pointers.
Program A
Program B
Program C
P0 to P99 used in
program
P0 to P99 used in
program
P0 to P199 used
in program
P0 to P99 occupy
100 points
P0 to P99 occupy
100 points
P0 to P199 occupy
200 points