Pointer (P) - Mitsubishi Electric MELSEC-Q00U(J)CPU User Manual

Table of Contents

Advertisement

4.10

Pointer (P)

The pointer (P) is a device used in jump instructions (CJ, SCJ, or JMP) or subroutine call instructions (such as CALL).
(1) Applications
Pointers can be used in the following applications.
• Specification of the jump destination in a jump instruction (CJ, SCJ, or JMP) and a label (start address of the
jump destination)
• Specification of the call destination of a subroutine call instruction (CALL or CALLP) and a label (start
address of the subroutine program)
(2) Pointer types
There are the following two different pointer types.
• Local pointer (
The pointer used independently in each program
• Common pointer (
The pointer that can be called in all running programs by the subroutine call instruction.
(3) Number of available pointer points
The following shows the available number of points.
Q00UJCPU, Q00UCPU, Q01UCPU
Q02UCPU, Q03UD(E)CPU, Q03UDVCPU, Q04UD(E)HCPU,
Q04UDVCPU, Q04UDPVCPU, Q06UD(E)HCPU, Q06UDVCPU,
Q06UDPVCPU, Q10UD(E)HCPU, Q13UD(E)HCPU, Q13UDVCPU,
Q13UDPVCPU, Q20UD(E)HCPU, Q26UD(E)HCPU, Q26UDVCPU,
Q26UDPVCPU
Q50UDEHCPU, Q100UDEHCPU
Remark
For the jump instructions and subroutine call instructions, refer to the following.
MELSEC-Q/L Programming Manual (Common Instruction)
406
P0
Page 407, Section 4.10.1):
Page 409, Section 4.10.2):
CPU module
CALL P0
FEND
RET
END
Points
512 points
4096 points
8192 points

Advertisement

Table of Contents
loading

Table of Contents