beautypg.com

Absolute position detection system – MITSUBISHI ELECTRIC MELSERVO MR-J2S- A User Manual

Page 357

background image

15 - 50

15. ABSOLUTE POSITION DETECTION SYSTEM

(c) ABS data transfer program for X axis

This sequence program example assumes the following conditions:

Parameters of the A1SD75-P1 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 value per pulse is
required. Hence, add the following program to the area marked (Note) in the sequence program:

Item

mm

inch

degree

pulse

Unit setting

0

1

2

3

Travel per pulse

0.1 to 1 to 10 to 100

0.00001

to

0.0001

to

0.001

to

0.01

to

0.00001

to

0.0001

to

0.001

to

0.01

to

Unit of travel

m/PLS

inch/PLS

degree/PLS

PLS

D * P K D3 D3

Constant K for

conversion into unit of

travel

1 to 10 to

100

to

1000

1 to

10 to 100 to 1000

1 to 10 to

100

to

1000 None

Reference

For 1 m/PLS, set constant K to 10
For 5 m/PLS, set constant K to 50
The additional program is not required for the unit setting is PLS.

M101

Y30

K3

K0

MOV

M9039

K1

K1

K1151

H0000

TO

D7

K3

MOV

M101

SET

A0

D110

DMOV

1

1

6)

5)

Initial
setting

Output signal reset

A1SD75 error reset

Setting the number of retries
(to 3 times)

Error reset completion flag

Loading received shift data

(To be continued)

Error reset
completion

PC RUN