1 2 1
G Codes
96-8000 rev R June 2007
The following programming examples show the G12 and G13 format, as well as the different ways these programs
can be written.
Single Pass: Use I only.
Applications: One-pass counter boring; rough and finish pocketing of smaller holes, ID cutting of O-ring grooves.
Multiple Pass: Use I, K, and Q.
Applications: Multiple-pass counter boring; rough and finish pocketing of large holes with cutter overlap.
Multiple Z-Depth Pass: Using I only, or I, K, and Q (G91 and L may also be used).
Applications: Deep rough and finish pocketing.
The previous figures show the tool path during the pocket milling G-codes.
Example G13 multiple-pass using I, K, Q, L, and G91:
This program uses G91 and an L count of 4, so this cycle will execute a total of four times. The Z depth increment
is 0.500. This is multiplied by the L count, making the total depth of this hole 2.000.
The G91 and L count can also be used in a G13 “I only” line.
NOTE:
If the geometry column of the control Offsets display has a value inserted, the
G12/G13 will read the data, whether a D0 is present or not. To cancel cutter
compensation insert a D00 in the program line, this will bypass the value in
the Offsets geometry column.
Program Example
Description
%
O4000
(0.500 entered in the Radius/Diameter offset column)
T1 M06
(Tool #1 is a 0.500" diameter endmill)
G00 G90 G54 X0 Y0 S4000 M03
G43 H01 Z.1 M08
G01 Z0 F10.
G13 G91 Z-.5 I.400 K2.0 Q.400 L4 D01 F20.
G00 G90 Z1.0 M09
G28 G91 Y0 Z0
M30
%
G17 XY / G18 XZ / G19 YZ plane selection (Group 02)
The face of the workpiece that will have a circular milling operation (G02, G03, G12, G13) done to it must have two
of the three main axes (X, Y and Z) selected. One of three G codes is used to select the plane, G17 for XY, G18 for
XZ, and G19 for YZ. Each is modal and will apply to all subsequent circular motions. The default plane selection is
G17, which means that a circular motion in the XY plane can be programmed without selecting G17. Plane selec-
tion also applies to G12 and G13, circular pocket milling, which must always be in the XY plane.
If cutter radius compensation is selected (G41 or G42), you may only use the XY plane (G17) for circular motion.
G17 Defined - Circular motion with the operator looking down on the XY table from above. This defines the motion of
the tool relative to the table.
G18 Defined - Circular motion is defined as the motion for the operator looking from the rear of the machine toward
the front control panel.
G19 Defined - Circular motion is defined as the motion for the operator looking across the table from the side of the
machine where the control panel is mounted.
Содержание Mill
Страница 12: ...96 8000 rev R June 2007 Safety 5 ...
Страница 14: ...96 8000 rev R June 2007 Safety 7 LATHE WARNING DECALS ...
Страница 15: ...8 Safety 96 8000 rev R June 2007 ...
Страница 17: ...10 Introduction 96 8000 rev R June 2007 ...
Страница 117: ...110 4 5 Axis Programming 96 8000 rev R June 2007 ...
Страница 199: ...Settings 192 96 8000 rev R June 2007 ...
Страница 213: ...206 Maintenance 96 8000 rev R June 2007 ...