
B–63523EN–1/03
1. AXIS CONTROL
322
(3)When two groups of axes are synchronized simultaneously
Based on the controlled axis configuration described in Item
“Configuration examples of controlled axes”, the sample program
below synchronizes the spindle with the V–axis while the spindle is
synchronized with the C–axis.
O0100 ;
...............
N01 Mxx ; Performs spindle orientation.
N02 G00 G90 C... ; Positions the C–axis.
N03 G81.5 T10 C0 L1 ; Starts synchronization at the ratio of
one rotation about the C–axis to ten
spindle rotations.
N04 Myy S300 ; Rotates the spindle.
N05 G01 G91 X... Y... F... ; Makes movements for grinding.
.......
N06 Mzz ; Stops the spindle.
.......
N10 G00 G90 V... ; Positions the dressing axis.
N11 G81.5 P12000 V0.5 ; Starts synchronization at the ratio of a
0.5 mm movement along the V–axis
every 12,000 pulses on the spindle.
N12 Myy S300 ; Rotates the spindle.
N20 M98 P9500 ; A subprogram for dressing is called.
N21 Mzz ; Stops the spindle.
N30 G80.5 V0 ; Cancels V–axis synchronization.
.......
N31 Myy S300 ; Rotates the spindle
N32 G01 G91 X... Y... F... ; Makes movements for grinding
.......
.......
N40 Mzz ; Stops the spindle.
N41 G80.5 C0 ; Cancels C–axis synchronization.
V–axis synchronization mode
C–axis synchronization mode
Grinding
Dressing
Grinding