![Mitsubishi Electric MELSEC iQ-R-R00CPU Скачать руководство пользователя страница 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)
Содержание MELSEC iQ-R-R00CPU
Страница 2: ......
Страница 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Страница 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Страница 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Страница 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Страница 524: ...522 30 MAINTENANCE AND INSPECTION FOR A REDUNDANT SYSTEM 30 1 Module Replacement in the Redundant System MEMO ...
Страница 1009: ...APPX Appendix 14 List of Available SQL Commands for CPU Module Database Access Function 1007 A MEMO ...
Страница 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Страница 1027: ......