CHAPTER9 DEVICES
9
2
3
4
5
6
7
8
9.10 Pointer
(P)
9.10.2
Common pointer
9
-
75
(3) Precautions
1) The same pointer number cannot be used as a label.
Doing so will result in a "Pointer configuration error" (error code: 4021).
2) If the total number of the local pointer points used in several programs exceeds the start number of the
common pointer, a "Pointer configuration error (error code: 4020) will occur.
The jump instructions are not capable of executing a jump to the common pointer in other programs.
Use the common pointer with subroutine call instructions only.
Figure 9.89 Concept of the common pointer range
Program A
Program B
Program C
Using P0 to P99
Using P0 to P99
Using
P0 to P199
100 points of
P0 to P99 occupied
100 points of
P0 to P99 occupied
Total of 400 points
are used.
200 points of
P0 to P199 occupied
P400 and higher numbers
can be used for the common pointer.