M800V/M80V Series PLC Programming Manual (1/2)
4 Explanation of Devices
4.4 Detailed Explanation of Devices
4.4.14 Pointer P
What is a pointer?
A pointer is a device used with branch instructions. A total of 4096 points is used in all executed programs.
The reserved pointers use the addresses from 4000 to 4005 separately.
Pointer applications
Jump destination designation and label (designation of jump destination head) of jump instruction (CJ, JMP)
X13
Label
P20
Call destination and label (designation of subroutine program head) of subroutine call instruction (CALL)
X10
Label
P33
Types of pointers
The details of the pointers differ according to the program method.
[Independent program method]
The following two types of pointers are used.
General pointer: Pointer which can jump or call with a jump instruction or subroutine call instruction
Reserved pointer: Pointer with fixed application, such as a start label
[Multi-program method]
The following three types of pointers are used.
Local pointer: Pointer used independently in each program
Common pointer: Pointer which can be called with subroutine call instruction from all programs being executed
Reserved pointer: Pointer with fixed application, such as an END label
IB-1501667-B
Jump to label P20 when
CJ P20
X13 turns ON.
Pointer
CALL P33
Execute sub-routine
program designated with
Pointer
label P33 when X10 turns
ON.
RET
50