15.ABSOLUTE POSITION DETECTION SYSTEM

(c)ABS data transfer program for X axis

This sequence program example assumes the following conditions:

Parameters of the A1SD71-S2 (AD71) positioning module

1) Unit setting

: 3

 

pulse (PLS)

 

 

2)Travel per pulse : 1 1 pulse

To select the unit other than the pulse, conversion into the unit of the feed command value per pulse is required. Hence, add the following program to the area marked Note in the sequence program.

<Additional program>

D * P K

D3 D3

Item

 

mm

 

 

inch

 

 

degree

 

 

pulse

Unit setting

 

0

 

 

 

1

 

 

 

2

 

 

3

Travel per pulse

0.1 to

1.0 to

 

10.0

0.00001

0.0001

 

0.001

0.00001

0.0001

0.001

 

 

to

to

 

to

to

to

 

to

 

 

 

 

 

 

 

 

 

Unit of travel

 

m/PLS

 

inch/PLS

 

degree/PLS

 

PLS

Constant K for

 

 

 

 

 

 

 

 

 

 

 

 

 

conversion into

1 to

10 to

 

100

1 to

10 to

 

100

1 to

10 to

 

100

None

unit of travel

 

 

 

 

 

 

 

 

 

 

 

 

 

Reference

For 1m/PLS, set constant K to 10

For 5m/PLS, set constant K to 50

When the unit setting is pulse, the additional program is not required.

M9038

 

 

 

 

 

 

 

 

 

 

 

TOP H0001 K201

K1

K1

Initial

 

 

 

 

 

 

 

pulse

 

 

 

 

 

 

 

ON

 

 

 

 

 

 

 

 

 

 

 

MOV

K3

D7

M9039

 

 

 

 

 

 

 

 

 

A1SD71 error reset

Setting retry count (3 times)

Initial setting

PC RUN

X36

Servo-on PB

X36

Servo-on

PB

M8 M9 M11

Servo-on Error Retry flag

request flag setting

DMOV D100

A0

SET M8

RST M3

RST M8

RST C0

RST C1

Y40

PLS M0

Loading received shift data

Servo-on request

Resetting ready to send

Resetting servo-on request

Resetting ABS transfer counter at servo OFF

Resetting checksum transfer counter at servo OFF

Servo-on output

ABS I/F start

Servo-on control

1

(To be continued) 1

15 - 26

Page 277
Image 277
Mitsubishi Electronics MR-J2S- A instruction manual Pls, 100 10 to