Motion command code – Yaskawa MP900 User Manual

Page 8

Advertising
background image

Motion Command Code

Indexing Example
Move from position 5000 to position 8000, assuming the following for module (circuit) #1, Axis #1

ILC008=5000

Current position is 5000

ILC022=0

No alarms

IBC0013=1

Servo is ON

Solution using STEP

OLC028=3000

Step Distance 3000

OBC0202=0

Direction Forward

OLC022>=0

Set Feed Speed

2

OWC020=8

MtnCmdCd starts motion

Solution using POSITION (INCremental)

OLC012=0

Initial position 0

OBC001E=1

Incremental Positioning Mode

OLC022>=0

Set Feed Speed

2

OWC020=1

MtnCmdCd defines initial position

3

OLC012=3000

Position reference incremented starts motion

Solution using POSITION (ABSolute)

OBC001E=0

Absolute Positioning Mode

OLC022>=0

Set Feed Speed

OWC012=8000

Position Reference to Absolute position

2

OWC020=1

MtnCmdCd starts Motion

1

1

1

Advertising