54 / 97
7 CNC programming as per DIN 66025
The following description of functions as per DIN 66025 is a section of /7/.
7.1 G-functions
The G-functions define geometric path conditions for the operation of axes. On principle,
a DIN set with a G-function has the following structure:
The letter 'G' is followed by the number of the G-func
tion. The parameters follow that are
formed each by a letter and the respective value.
G (n
umber) [parameter (value)] [parameter (value)] ...
The following examples show some of the G-functions:
Tabelle 27:
Table 27: Examples for G functions
G Meaning Parameter example with parame-
ters and value
00 Straight line interpo-
lation in rapid speed
AXES R D F E L G1 X0 Z10 C0 F2
01 Straight line interpo-
lation
02 Circle interpolation in
clockwise direction
AXES D I J K R F E L G3 X40 Y40 R100 D-60 K2
03 Circle interpolation in
c
ounter clockwise di-
rection
17 Plane selection XY for
circle interpolation
-- G17
18 Plane selection XZ for
ci
rcle interpolation
-- G18
19 Plane selection YZ for
ci
rcle interpolation
-- G19