Yaskawa MP2300S Basic Module User Manual
Page 145

5.2 User Programs
5.2.2 Motion Programs
5-12
[ b ] Using an Indirect Designation to Call a Motion Program
An indirect designation method designates a motion program to call using a register.
In this method, a program (MPM
) coinciding with value stored in the register is called.
A motion program registered in the M-EXECUTOR program execution definition
Select Indirect for the Setting. A register for the indirect designation is automatically mapped.
Fig. 5.3 Calling a Motion Program Using an Indirect Designation - 1
A motion program referenced by a MSEE command from a ladder program
Specify any register (M or D register) used for an indirect designation for Program No. in the MSEE command.
Fig. 5.4 Calling a Motion Program Using an Indirect Designation -2
Motion program
0 3
Setter
ABS;
IOW MB0001
..
.
MOV[X] _ [Y] _
MOV[X] _ [Y] _
MVS[X] _ [Y] _ F
∗
OW0C00=3
MPM003
Register:
Stored in
OW0C00
Motion program reference command
Ladder program
Motion program
0 3
Setter
ABS;
IOW MB0001
..
.
MOV[X] _ [Y] _
MOV[X] _ [Y] _
MVS[X] _ [Y] _ F
∗
MW00200 = 3
MPM003
Register:
Stored in
MW00200
Register number