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

Page 357

Advertising
background image

15 - 36

15. ABSOLUTE POSITION DETECTION SYSTEM

(4) 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 A1SD71 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 A1SD71 differ between the X and Y axes. The instructions
marked *1 in the program of section 15.8.1 (3) (c) should be changed as indicated below for use with
the Y axis.

[Program configuration]

X-axis ABS sequence program
(Program in section 15.8.1 (3) (f))

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

[FROMP H0001 K7872 D8 K1]
[DFROP H0001 K7912 D9 K1]
[DTOP H0001 K41 D3 K1]

[FROMP H0001 K7892 D8 K1]
[DFROP H0001 K7922 D9 K1]
[DTOP H0001 K341 D3 K1]

(b) Data set type home position return

Arrange the data set type home position return programs given in section 15.8.1 (3) (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.1 (3) (f) should be changed as indicated below for use with
the Y axis.

[Program configuration]

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

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

[DTOP H0001 K7912 D9 K1]
[DTOP H0001 K41 D9 K1]

[DTOP H0001 K7922 D9 K1]
[DTOP H0001 K341 D9 K1]

Advertising