
B-63944EN/02 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
- 641 -
- When two groups of axes are synchronized simultaneously
Based on the controlled axis configuration described in Fig. 20.6.4.3
(a), the sample program below synchronizes the spindle with the
V-axis while the spindle is synchronized with the C-axis.
Grinding
Dressing
Grinding
O0100 ;
...............
N01 Mxx ;
Performs spindle orientation.
Positions the C-axis.
Starts synchronization at the ratio of one rotation about the
C-axis to ten spindle rotations.
N02 G00 G90 C... ;
N03 G81.5 T10 C0 L1 ;
N04 Myy S300 ;
Rotates the spindle.
Makes movements for grinding.
Stops the spindle.
N05 G01 G91 X... Y... F... ;
.......
N06 Mzz ;
.......
N10 G00 G90 V... ;
Positions the dressing axis.
Starts synchronization at the ratio of a
0.5 mm movement along the V-axis
every 12,000 pulses on the spindle.
Rotates the spindle.
subprogram for dressing is called. (Note)
Stops the spindle.
N11 G81.5 P12000 V0.5 ;
N12 Myy S300 ;
N20 M98 P9500 ;
N21 Mzz ;
N30 G80.5 V0 ;
Cancels V-axis synchronization.
.......
.......
N31 Myy S300 ;
Rotates the spindle.
Makes movements for grinding.
N32 G01 G91 X... Y... F... ;
.......
.......
N40 Mzz ;
Stops the spindle.
Cancels C-axis synchronization.
N41 G80.5 C0 ;
V-axis synchronization mode
C-axis synchronization mode
Thus, the synchronizations of two groups can be started and canceled
independently of each other.