beautypg.com

Ladder logic program example – Yaskawa MP940 User Manual

Page 458

background image

Motion Control

11.4.2 Positioning (POSING)

11-56

Ladder Logic Program Example

Fig 11.20 Positioning Programming Example (DWG H03)

The example in the above illustration has been greatly simplified. In actual operation, each
register can be controlled from the user program.

IFON

H0104

RUNMOD

OWC000

0000010000

XREF

OLC012

RUN

OBC0010

SB000004

1

MCMDCODE

OWC020

IEND

DEND

RUNPB

IB00304

Set the position control mode to ON.

Position reference pulse (XREF)

(Absolute position: 10000)

Driver operation command (RUN)

Execute positioning (POSING) as the

motion command.

When IB00304 turns ON, position con-

trol starts, and the axis moves to abso-

lute position 10000. When absolute

position 10000 is reached, the IBC000D

positioning completed signal turns ON.