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

Page 382

Advertising
background image

15 - 61

15. ABSOLUTE POSITION DETECTION SYSTEM

(3) Sequence program - 2-axis control

The following program is a reference example for creation of an ABS sequence program for the second
axis (Y axis) using a single A1SD75 module. Create a program for the third axis in a similar manner.

(a) Y-axis program

Refer to the X-axis ABS sequence program and create the Y-axis program.
Assign the X inputs, Y outputs, D registers, M contacts, T timers and C counters of the Y axis so
that they do not overlap those of the X axis.
The buffer memory addresses of the A1SD75 differ between the X and Y axes. The instructions
marked *1 in the program of section 15.8.3 (2) (c) should be changed as indicated below for use with
the Y axis.

20)

X-axis ABS sequence program
(Program in section 15.8.3 (2) (c))

Y-axis ABS sequence program
(Refer to the X-axis program and write the Y-axis
program)

[Program configuration]

[FROMP H0000 K5 D8 K1]

[FROMP H0000 K155 D8 K1]

[DFROP H0000 K0072 D9 K1]

[DFROP H0000 K222 D9 K1]

[DTOP H0000 K1154 D3 K1]

[DTOP H0000 K1204 D3 K1]

[TO H0000 K1150 K9003 K1]

[TO H0000 K1200 K9003 K1]

(b) Data set type home position return

Arrange the data set type home position return programs given in section 15.8.3 (2) (f) in series to
control two axes.
Refer to the X-axis data set type home position return program and create the Y-axis program.
Assign the X inputs, Y outputs, D registers, M contacts and T timers of the Y axis so that they do
not overlap those of the X axis.
The buffer memory addresses of the A1SD75 differ between the X and Y axes. The instructions
marked *1 in the program of section 15.8.3 (2) (f) should be changed as indicated below for use with
the Y axis.

20)

X-axis data set type home position return program
(Program in section 15.8.3 (2) (f))

Y-axis data set type home position return program
(Refer to the X-axis program and write the Y-axis
program)

[Program configuration]

[DTOP H0000 K72 D9 K1]
[DTOP H0000 K1154 D9 K1]

[DTOP H0000 K1204 D3 K1]

[TO H0000 K1150 K9003 K1]

[TO H0000 K1200 K9003 K1]

[DTOP H0000 K222 D9 K1]

Advertising