The G-functions
The so-called "G"-functions describe the type of the traverse movement, interpolation type, measuring method, the time-related influence and activating of certain operation states. The syntax is:
G <expr>
For the G-functions, there are a variety of differentiating characteristics:
- Effectiveness: There are G-functions that have validity after their programming in their meaning only for the respective block (non-modal) and those which are active after the very initial programming in their meaning until they are explicitly deselected (modal).
- Exceptions: Certain G-functions mutually exclude themselves. For instance, G01 (linear interpolation) and G02 (circular interpolation) cannot be simultaneously selected. Therefore the functions summarized in these groups must not be programmed commonly in one NC-block:
A modal function is automatically deselected, if, in a following block, another function of the same group is selected.
Programming example
:
N50 G01 X100 Y200 (Linear interpolation active)
N60 G41 X200 Y200 (Linear interpolation active)
N50 X300 Y250 (Linear interpolation active)
N50 X100 Y50 (Linear interpolation active)
N50 G02 X100 Y50 I100 (Circular interpolation active)
:
- Basic position: During switching, after RESET, or at program end, the control finds itself in the basic position. In this basic position, already a few G-functions are active without explicit selection.
Further Information
- Path preparatory functions
- Feed adaptation (G08/G09/G900/G901)
- Path /Time related feed interpolation (G193/G293)
- Selection of planes (G17/G18/G19)
- Mirroring (G21/G22/G23/G20)
- Mirroring with axis information (G351)
- Units (G70/G71)
- Implicite subprogram calls (G80-G89/G800-G819)
- Absolute or incremental dimensioning (G90/G91)
- Exact stop (G60, G360, G359)
- Polynom contouring (G61, G261, G260)
- Corner deceleration
- Tool radius compensation (G40/G41/G42)
- Selection/deselection methods of tool radius compensation (G138/G139/G237/G238/G239/G05)
- Selection of the transition of tool radius compensation (G25/G26)
- Feed rate adaptation for tool radius compensation (G10/G11)
- Selection/deselection of contour masking by tool radius compensation (G141/G140)
- Zero offsets NPV (G53/G54/...G59)
- Center point specification for circle definition (G161/G162)
- Radius programming (R, G163)
- Center point offset controlling (G164/G165)
- Feedforward control (G135/G136/G137)
- Weighting of rapid traverse velocity (G129)
- Parameterization of acceleration profile
- Machining time or feed rate (G93/G94/G95/G194)
- Inserting of chamfers and rounding (G301/G302)
- Manual mode
- Requesting for offsets, command and actual values
- Gear change (G112)
- Influencing of look-ahead functionality (G115/G116/G117)
- Override (G166)