Yaskawa MP2200 Machine Controller User Manual

Page 414

Advertising
background image

7 Absolute Position Detection

7.3.2 Infinite Length Axis

7-30

The following programming example (ladder program) is for the flowchart shown above.

The axis used here is axis 1 of circuit number 1. Change the motion parameter register
number if the circuit and axis numbers are different.

EXAMPLE

Absolute System Infinite Length Mode Axis: Axis 1 Leading address of toggle buffer: MW30000

SB000001

MB300005

Servo power reset signal?

IB0000E

H11

0000

0000

NL-1

IF

MB300005==true

0001

0003

NL-1

Toggle Buffer Enabled Flag

IF

MB300000==true

0002

0004

NL-2

SB000004

MB300002

0003

0005

NL-3

ELSE

0004

0007

NL-2

SB000004

MB300002

0005

0008

NL-3

END_IF

0006

0010

NL-2

END_IF

0007

0011

NL-1

SVCRDY Ready to run

IF

IB80000==true

0008

0012

NL-1

IF

MB300002==true

0009

0013

NL-2

IF

IB800C8!=true

0010

0014

NL-3

IF

MB300001!=true

0011

0015

NL-4

EXPRESSION

OL805E=ML30002;

OL8060=ML30004;

OL8062=ML30006;

OL8064=ML30008;

0012

0016

NL-5

P00001 H11 Main Program

ON for only the first scan after
high-speed scan is started.

First scan or servo power reset
signal

Position Data Re-setup
Request Flag ON

Position Data Re-setup
Request Flag ON

Position Data Re-setup
Request Flag ON

Absolute System Infinite Length

Position Control Information Load

Completed Flag

Toggle Buffer Selection Flag

Save values in buffer 0 to

setting parameters.

(continued on next page)

Advertising
This manual is related to the following products: