Example
Program code Comment
N20 TRAANG(45) ; Activate TRAANG with the first TRAANG data set and angle 45°
3.9.9.4 Oblique plunge-cutting on grinding machines (G5, G7)
The G commands G7 and G5 are used to simplify programming of oblique plunge-cutting on
grinding machines with "inclined axis (TRAANG)", so that when plunge cutting, only the inclined
axis is traversed.
Only the required end position of the plunge-cutting motion has to be programmed in X and Z.
For G7, starting from the actual position of the X axis, the NC calculates and approaches the
programmed end position and angle α of the inclined axis.
The starting position is calculated from the point where the two straight lines intersect:
● Straight line parallel to the Z axis, at a distance from the actual position of the X axis
● Straight line parallel to the inclined axis through the programmed end position
With the subsequent G5, the inclined axis is traversed to the programmed end position.
Syntax
G7 <Endpos_X> <Endpos_Z>
G5 <Endpos_X>
Meaning
G7: Calculate the starting position for the oblique plunge-cutting and approach.
G5: Traverse the inclined axis to the programmed end position
<Endpos_X>: X axis end position
<Endpos_Z>: End position of the Z axis
Work preparation
3.9 Transformations
NC programming
704 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0