Mitsumi electronic MR-J3- A Air Conditioner User Manual


 
14 - 58
14. 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 QD75 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 QD75 differ between the X and Y axes. The instructions marked *1
in the program of section 14.10.3 (2) (c) should be changed as indicated below for use with the Y axis.
X-axis ABS sequence program
(Program in section 14.10.3 (2) (c))
Y-axis ABS sequence program
(Refer to the X-axis program and write the Y-axis
program)
[Program configuration]
[Z. ABRST1 "U0" D100 M100]
[Z. ABRST2 "U0" D100 M100]
(b) Data set type home position return
Arrange the data set type home position return programs given in section 14.10.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 QD75 differ between the X and Y axes. The instructions marked *1
in the program of section 14.10.2 (2) (f) should be changed as indicated below for use with the Y axis.
X-axis data set type home position return program
(Program in section 14.10.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]
[DMOVP U0 G72 D9 ]
[DMOVP D9 U0 1506 ] [DMOVP D9 U0 1606 ]
[DMOVP K9003 U0 1500 ]
[DMOVP D9 U0 1600 ]
[DMOVP U0 G222 D9 ]
[DMOVP D9 U0 G72 ] [DMOVP D9 U0 G222 ]