![Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual Download Page 363](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-r-r00cpu/melsec-iq-r-r00cpu_user-manual_239139363.webp)
21 DEVICES
21.12 Pointer (P)
361
21
21.12
Pointer (P)
This device is used in the jump instructions (the CJ/SCJ/JMP instruction) and/or subroutine program call instructions (such as
the CALL instruction). There are two types of pointer: the global pointer and the local pointer. Use the pointer when:
• Specifying the jump destination and label of the jump instructions (the CJ/SCJ/JMP instruction).
• Specifying the call destination and label (the head of subroutine program) of the subroutine call instructions (such as the
CALL instruction).
Global pointer
This is the pointer which enables calling by the subroutine call instruction from all the program being executed.
Effective use of number of points
The number of points for global pointers can be obtained with the following formula: "pointer number of points specified by the
parameter" - "the total point number of local pointer being used for each program".
Precautions
This section describes the precautions when the global pointer is used.
• A global pointer with the same pointer number cannot be set as a label in multiple points.
CALL
P1000
P1000
CALL
P1001
P1001
RET
RET
Program 1 (Program group A)
Program 3 (Program group C)
Program 2 (Program group B)
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: ......