3 mc programs – Yaskawa MP930 User Manual
Page 20

MP930
1.2.3 MC Programs
1 -8
1.2.3 MC Programs
An MC program codes the logic used for servo control in a motion control language. An MC
program is started using the MOTION PROGRAM CALL instruction (MSEE) in the ladder
logic program. There are two methods of designating an MC program: Direct designation of
the program number, and indirect designation of the number of the register in which the MPM
number is to be stored.
MOTION PROGRAM
CALL instruction
↑
MPM number
MSEE MPM001 DA0000
ABS;
MOV [X] _ [Y] _
MVS [X] _ [Y] _ F
IOW MB0001
MOV [X] _ [Y] _
.
.
Ladder logic program
MC program
.
Figure 1.2
Starting an MC Program by Direct Designation
MW00200
MSEE MW00200 DA0000
Ladder logic program
MC program
0 3
Setting device
MPM number
ABS;
MOV [X] _ [Y] _
MVS [X] _ [Y] _ F
IOW MB0001
MOV [X] _ [Y] _
.
.
MOTION PROGRAM
CALL instruction
.
Figure 1.3
Starting an MC Program by Indirect Designation
1