362
21 DEVICES
21.12 Pointer (P)
Local pointer
This is the pointer to be independently used in each program where the same pointer number can be used. This pointer is
specified in the following format: # (pointer number) (Example: #P0) (
Page 370 Specification method for the local
Effective use of number of points
Local pointer number of points are shared among all the programs. The range of the local pointer number of points used by
each program is from P0 to the maximum value of the local pointer being used in that program. For example, even when a
program actually uses only P99, 100 points (P0 to P99) are considered to be used. When using local pointers in multiple
programs, they can be effectively used by using them in ascending order from P0 in each program group.
(1) The local pointers with the same number can be used between different programs.
CALL #P0
CALL #P1
CALL #P0
CALL #P1
FEND
FEND
RET
RET
RET
RET
#P0
#P0
#P1
#P1
(1)
Program 1
Program 2
Program A
P0 to P99 are used
in the program.
One-hundred points of
P0 to P99 are occupied.
Program B
P100 to P199 are used
in the program.
Two-hundred points of
P0 to P199 are occupied.
When P100 to P199 are used,
100 points are occupied.
Program C
P299 is used
in the program.
Three-hundred points of
P0 to P299 are occupied.
When P0 is used,
one point is occupied.
The total of
600 points are used.
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......