beautypg.com

Yaskawa MP920 Motion Module User Manual

Page 326

background image

7 PO-01 Module Specification and Handling

7.2.3 Program Example

7-24

The following is an extremely simplified programming example. In actual applications, the
contents of all related registers would be controlled from the user program.

Fig. 7.3 Feed Reference (DWG H01)

IFON

IEND

DEND

RUN
OBC0010

RUNPB
IB00104

ACCEL
IB00105

Speed feed will start when IB00104 turns ON.

RUN command to the driver (excitation ON)

Low-speed feed at 400,000 pulses/min will begin within
the specified acceleration time (NACC) when the
ACCELERATION command (IB00105) turns ON. The
machine will decelerate to a stop (speed reference) in the
specified deceleration time (NDEC) when IB00105 turns
OFF.

ELSE

4000

RV

OLC022

MCMDCODE

OWC020

7

0

RV

OLC022

MCMDCODE

OWC020

7

Note: The pulse unit time is 1 = 100 pulses/min for rapid

traverse speed (OLC022). Therefore set 4000 to
indicate 400,000 pulses/min.