3 ) how to designate a motion program – Yaskawa MP2300S Basic Module User Manual

Page 144

Advertising
background image

5.2 User Programs

5.2.2 Motion Programs

5-11

Outline of Motion Control Systems

( 3 ) How to Designate a Motion Program

The following two methods are available for designating a motion program.

• Using a direct designation to invoke a motion program
• Using a indirect designation to invoke a motion program

Now, this section explains each way to designate a motion program.

[ a ] Using a Direct Designation to Call a Motion Program

A direct designation method designates a motion program to call using a program number (MPM

†††

).

„

A motion program registered in the M-EXECUTOR program execution definition

Select Direct for the Setting and set a program number (MPM

†††

).

Fig. 5.1 Calling a Motion Program Using a Direct Designation - 1

„

A motion program referenced by a MSEE command from a ladder program

Set a program number to Program No. (

†††††

) in the MSEE command.

Fig. 5.2 Calling a Motion Program Using a Direct Designation -2

ABS;

MOV[X] _ [Y] _

MOV[X] _ [Y] _

MVS[X] _ [Y] _ F

IOW MB0001

..

.

Motion program

MPM001

Motion program reference command

ABS;

MOV[X] _ [Y] _

MOV[X] _ [Y] _

MVS[X] _ [Y] _ F

IOW MB0001

..

.

Ladder program

Motion program

MPM number

MPM001

Advertising