Motion command code – Yaskawa MP2000 User Manual

Page 13

Advertising
background image

MP2000 Quick Reference Guide Rev1.21

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

OL8044=3000

Step Distance 3000

OB80092=0

Direction Forward

OL8010>=0

Set Feed Speed

2

OW8008=8

MtnCmdCd starts motion

Solution using POSITION (INCremental)

OL801C=0

Initial position 0

OB80095=1

Incremental Positioning Mode

OL8010>=0

Set Feed Speed

2

OW8008=1

MtnCmdCd defines initial position

3

OLC012=3000

Position reference incremented starts motion

Solution using POSITION (ABSolute)

OB80095=0

Absolute Positioning Mode

OL8010>=0

Set Feed Speed

OL801C=8000

Position Reference to Absolute position

2

OW8008=1

MtnCmdCd starts Motion

1

1

1

Page 13 of 25

Advertising