beautypg.com

Yaskawa MP940 User Manual

Page 336

background image

Absolute Position Detection

7.3.2 Infinite Length Mode Axis

7-22

The following programming example (ladder logic program) is for the flowchart shown
above. The axis used here is axis No. 1 of module No. 1. Change the motion parameter reg-
ister number if the module and axis numbers are different.

H10

$FSCAN-H

IFON

IFON

IFON

IBC0002

SB000001

IBC0153

MB300001

IFON

ELSE

ILC038

ML30002

ILC03A

ML30004

ILC03C

ML30006

ILC03E

ML30008

ILC038

ML30010

ILC03A

ML30012

ILC03C

ML30014

ILC03E

ML30016

IEND

SB000004

MB300000

$ONCOIL

MB300001

MB300001

ELSE

IEND

IEND

IEND

IBC0000

IFON

IEND

DEND

ABS System Infinite Length Mode Axis: Axis No. 1

First address in the toggle buffer: MW30000

Preparations for motion controller operation complete

(ON for just one scan after high-speed scan starts)

Motion fixed parameter setting error (*1)

Zero Point Setting Completed Flag

Toggle Buffer Enabled Flag ON

Toggle Buffer Selection Flag

Monitor parameters saved in buffer 0

Monitor parameters saved in buffer 1

Toggle Buffer Selection Flag inverted