72
4 DEVICES
4.7 Nesting (N)
4.7 Nesting (N)
Device for programming operating conditions by nesting using master control instructions (MC/MCR instruction)
*1
. Operation
conditions are specified in ascending order (N0 to N14) from outside the nesting.
*1 Instruction for creating an efficient circuit switching program by switching common bus of the circuit.
4.8 Pointer (P)
Device used by instructions such as jump instruction (CJ instruction) and subroutine program call instruction (CALL
instruction, etc.). Types of pointers are as follows.
Pointers are used for the following purposes.
• Specifies label and where to jump to for jump instruction (CJ instruction).
• Specifies label (top of subroutine program) and call destination of subroutine instruction (CALL instruction, etc.).
Pointer Description
Global pointers Pointers that can be referred to from all programs.
Label assignment pointers Pointers used by assignment to labels. Pointer numbers assigned to labels are automatically determined by engineering
tool; the user cannot specify pointer numbers to be assigned.
M15
N0
B
C
A
M15
N0MC
M16
N1
MC
N2
MCR
N1
MCR
M17
N2MC
N0MCR
M16
N1
M17
N2
Control
range of
nesting N0
Control
range of
nesting N1
Control
range of
nesting N2
Designated in
ascending No. order
Executed when condition
A is met
Executed when condition
A and B are met
Designated in
descending No. order
Executed when condition
A, B and C are met
Executed when condition
A and B are met
Executed when condition
A is met
Executed regardless of
conditions A, B, and C