3 G/M Codes
3 - 17
Program Format:
1. Directly specify a cylinder interpolation axis and cylinder radius.
G16 Yxxxx.xxx: Set Y-axis as the cylinder interpolation axis, xxxx.xxx as value of
cylinder radius.
G16 Axxxx.xxx: Set A-axis as the cylinder interpolation axis, xxxx.xxx as value of
cylinder radius.
G16 Bxxxx.xxx: Set B-axis as the cylinder interpolation axis, xxxx.xxx as value of
cylinder radius.
G16 Cxxxx.xxx: Set C-axis as the cylinder interpolation axis, xxxx.xxx as value of
cylinder radius.
2. Only set the value of cylinder radius; the cylinder interpolation axis to be
determined by the currently used spindle. (I.e., the axial direction for switching from
the spindle mode to the servo axis mode.)
G16 Hxxxx.xxx : Set xxxx.xxx as the value of cylinder radius.
When set with this method, the cylinder interpolation axis to be determined by the
currently using spindle, and the current spindle must be converted into servo axis for
performing cylinder interpolation.
Ex: First Spindle (C-axis) to be switched over to servo spindle mode for performing
cylinder interpolation.
……
N01 M50 … First spindle switched into servo mode
N10 G01 C0. … Positioning
N20 G18 Z0 C0 … Select Z-C plane
N30 G16 H20. … Cylinder interpolation enable, C-axis is
cylinder interpolation axis; cylinder radius
20mm.
N40 G42 Z10.F1.0 … Interpolate Tool Tip Radius Offset
N50 G01 Z10.C30. … Linear Interpolation
N60 G03 Z40.C60.R30. … Arc Interpolation
N70 G01 Z60.C90. … Linear Interpolation
N80 G40 Z90. … Tool Tip Radius Offset disable