Untitled PDF
Untitled PDF
The CNC machines can be classified on many basis some of them are given below:
The basis of this classification is on the feedback operation. In open loop system the is
no feedback mechanism, ie. The information or data can’t be transmitted back to the
machine control unit. On the other hand in closed loop system a feed device is
connected in the circuit. This feed back device transfers the data processer by the
sensors (speed sensors, displacement sensors etc.) back to the machine control unit.
The MCU then compares the feedback values with the original values and gives the
appropriate orders to that particular device so that required value is obtained.
2
a) Point to point CNC
Point to point is also sometimes called positioning system. In PPT, the Objective of the
machine tool control system is to move the cutting tool to predetermined location. The
speed or path by which this movement is accomplished is not important in point to point
system. Once the tool reaches the desired location, the machining operation is performed
at that location.
Straight cut control system are capable of moving the cutting tool parallel to one of the
major axis at a controlled rate suitable for machining. It is therefore appropriate for
performing milling operation to fabricate rectangular piece. With this type of NC system it
is not possible to combine movements in more than a single axis direction. Therefore
angular cuts on work piece would not be possible; a CNC machine capable of straight cut
movement is also capable of PTP movements.
c) Contouring CNC
Contouring is the most complex, and most flexible, and the most expansive type of machine
tool control. It is capable of performing both PTP and straight cut operation. In addition,
the distinct features of contouring CNC system are their capacity to control simultaneously
more than one axis movement of the machine tool. The path of the cutter is continuously
controlled to generate desired geometry of the work piece. For this reason, contouring
system is also called continuous path CNC system
In two axis CNC machine any two of the three axes (X Y Z) are present i.e., XY
or YZ or ZX are only present. That means the tool or machine base can move only in two
directions.
3
In 21/2 axis CNC machining though there axis (x y z )
the machine t5ool or machine base can be moved only in two directions simultaneously.
For example, if it has to move in all directions then it is moved in X and Y direction first
simultaneously and then in Z direction.
In three axis CNC contrary to 21/2 CNC the machine tool or the machine base can
be in all the three axis directions simultaneously.
In order for the part programmere to plan the sequence of position movements of
the cutting tool relative to the workpiece, it is necessary to establish a standard axes system
by which the relative position can be specified.
Two axes X & Y are defined in the plane of the table. The Z axis is perpendicular
to this plane and movement in Z direction is controlled by the vertical motion of the spindle.
The programmer must determine the position of the tool relative to the origin of the
coordinate system. CNC machine have either of two methods for specifying the zero point.
The first possibility is for the machine to have a fixed zero. In this case, the origin is always
located at same position on the machine table. Usually,that position in the south west corner
of the table and all two locations will be defined positive X & Y co ordinates.
The second and more common features on modern CNC machines allow the machine
operator to set the zero point at5 any position on the machine table. This feature is called
floating zero. The part programmer is the one who decides where the zero point should be
located. The decision is based on part programming convenience.
4
• Complex shape can be produced which is not possible on conventional machines.
• In less time more output.
• These machines are used for mass and bach production, tool room purpose.
• It is high repealability.
• High accuracy up to microns.
• Good finishing due to higher speeds and feeds.
• Less fixturing.
• Number of tools can be accommodated.
• Number of programs can be stored.
• Skilled operator is not required. But where as programmer should have
knowledge of drawing, tools and operation, sequence of operation, holding the
job.
device
Controller
G-codes M-codes
CNC MACHINE
5
x+ = Table moves left hand side of the operator.
x- = Table moves right hand side of the operator.
y+ = Saddle moves towards operator.
y- = Saddle moves away from the operator.
Z+ = Spindle head moves upwards.
z- =Spindle head moves downwards.
Part
programming
Co-ordinate Method of
system programming
Absolute Relative
method -G90 method- G91
6
There are two methods to describe the path of motion in a CNC Machine.
In Incremental Programming Method always the next point refers the PREVIOUS
final coordinate point . if the values are in increasing order (+)positive sign,decresing order
(-) negative sign to be taken.
Y
A (0,3)
b B (2,3)
c
C (2,2) D (3.5, 2)
a
E(4.5,0.5)
e
0 (0,0) X
Path X Y Path X Y
a 0 3 a 0 3
b 2 0 b 2 0
c 0 2 c 0 -1
d 3.5 0 d 1.5 0
Point Oe is the reference
4.5 0.5
point e
Point points.O, A,1 B, C &-D1.5are
7
1.7 INDUSTRY PRODUCT
1.7.3 Gauges
♦ Radius gauge
♦ Pitch gauge
♦ Center gauge
♦ Feeler gauge
8
♦ Wire gauge
♦ Vernier caliper
♦ Digital vernier caliper
♦ Vernier height gauge
♦ Vernier bevel protractor [for angles]
1.7.5 Micrometers
♦ Outside micrometer
♦ Inside micrometer
♦ Depth micrometer
♦ Screw micrometer
♦ 2-d Digital height meter
♦ Co-ordinate measuring machine [CMM]
1.8 MEASURING INSTRUMENTS
a. STEEL RULE
The simplest and most common measuring tool. The flat steel rule is usually 6 or 12
inches long, but longer sizes are available. Steel rules can be flexible or nonflexible, thin
or wide. The thinner the rule, the more accurately it measures, because the division marks
are closer to the work.
b. OUTSIDE CALIPER
9
Often calipers an instrument consisting of two hinged legs, used to measure thickness and
distances. A large instrument having a fixed and a movable arm on a graduated stock,
used for measuring the diameters of logs and similar objects.
c. INSIDE CALIPER
The inside calipers are used to measure the internal size of an object.
• The upper caliper in the image (at the right) requires manual adjustment prior to
fitting. Fine setting of this caliper type is performed by tapping the caliper legs
lightly on a handy surface until they will almost pass over the object. A light push
against the resistance of the central pivot screw then spreads the legs to the correct
dimension and provides the required, consistent feel that ensures a repeatable
measurement.
• The lower caliper in the image has an adjusting screw that permits it to be
carefully adjusted without removal of the tool from the workpiece.
d. ODDLEG CALIPER
10
Oddleg calipers, Hermaphrodite calipers, or Oddleg jennys, as pictured on the left, are
generally used to scribe a line a set distance from the edge of a workpiece. The bent leg is
used to run along the workpiece edge while the scriber makes its mark at a predetermined
distance, this ensures a line parallel to the edge.
1.9 GAUGES
a. RADIUS GAUGES
A radius gauge, also known as a fillet gauge, is a tool used to measure the radius of an
object.
Radius gauges require a bright light behind the object to be measured. The gauge is
placed against the edge to be checked and any light leakage between the blade and edge
indicates a mismatch that requires correction.
A good set of gauges will offer both convex and concave sections, and allow for their
application in awkward locations.
Every leave has different radius. The material of the leaves is stainless steel. It is of two
types: 1. Internal 2. External. It is used to check the radius of inner and outer surfaces.
11
b. PITCH GAUGE
A thread pitch gauge also known as a screw pitch gauge or pitch gauge, is used to
measure the pitch or lead of a screw thread. The uppermost gauge in the image is an ISO
metric pitch gauge, the larger gauge in the center is for measuring the Acme thread form,
and the lower gauge is for Whitworth screws.
Thread pitch gauges are used as a reference tool in determining the pitch of a thread that
is on a screw or in a tapped hole. This tool is not used as a precision measuring
instrument. This device allows the user to determine the profile of the given thread and
quickly categorize the thread by shape and pitch. This device also saves time, in that it
removes the need for the user to measure and calculate the thread pitch of the threaded
item.
c. CENTER GAUGE
Center gauges and fishtail gauges are gauges used in lathe work for checking the angles
when grinding the profiles of single-point screw-cutting tool bits and centers. In the
image, the gauge on the left is called a fishtail gauge or center gauge, and the one on the
right is another style of center gauge.
12
These gauges are most commonly used when hand-grinding threading tool bits on a
bench grinder, although they may be used with tool and cutter grinders.
d. FEELER GAUGE
A feeler gauge is a tool used to measure gap widths. Feeler gauges are mostly used in
engineering to measure the clearance between two parts.
e. WIRE GAUGE
13
Wire gauge is a measurement of how large a wire is, either in diameter or cross sectional
area. This determines the amount of electric current a wire can safely carry, as well as its
electrical resistance and weight per unit of length. Wire gauge is applicable to both
electrical and non-electrical wires, being important to electrical wiring and to structural
cable.
A vernier caliper is a device that lets the user measure more precisely than could be done
unaided when reading a uniformly-divided straight or circular measurement scale. It is a
scale that indicates where the measurement lies in between two of the marks on the main
scale. Verniers are commonly used in navigation, scientific instruments used to conduct
experiments, machinists' measuring tools (all sorts, but especially calipers and
micrometers) used to work materials to fine tolerances, and on theodolites used in
surveying.
1MSD = 1mm
1VSD =49/50mm
Least count [lc] =1msd- 1vsd
= 1-49/50
= 1-0.98
=0.02mm
49mm from main scale is divide into 50 equal parts in vernier scale.
14
1.10.1 DIGITAL VERNIER CALIPER
The Digital Caliper (sometimes incorrectly called the Digital Vernier Caliper) is a
precision instrument that can be used to measure internal and external distances
extremely accurately. The example shown below is a digital caliper as the
distances/measurements, are read from a LCD display. The most important parts have
been labelled.
Earlier versions of this type of measuring instrument had to be read by looking carefully
at the imperial or metric scale and there was a need for very good eyesight in order to
read the small sliding scale. Manually operated vernier calipers can still be bought and
remain popular because they are much cheaper than the digital version. Also, the digital
version requires a small battery whereas the manual version does not need any power
source.
Digital calipers are easier to use as the measurement is clearly displayed and also, by
pressing the inch/mm button the distance can be read as metric or imperial.
A height gauge is a measuring device used either for determining the height of objects, or
for marking of items to be work on.
These measuring tools are used in metalworking or metrology to either set or measure
vertical distances; the pointer is sharpened to allow it to act as a scriber and assist in
marking out work pieces.
In the toolroom, the distinction between a height gauge and a surface gauge is that a
height gauge has a measuring head (whether vernier, fine rack and pinion with dial, or
linear encoder with digital display), whereas a surface gauge has only a scriber point.
Both are typically used on a surface plate and have a heavy base with an accurately flat,
smooth underside.
15
1.12 VERNIER BEVEL PROTRACTOR
The bevel protractor is used to establish and test angles to very close tolerances. It reads
to 5 minutes or 1/20o and can be used completely through 360o.
A bevel protractor is a graduated circular protractor with one pivoted arm; used for
measuring or marking off angles. Sometimes Vernier scales are attached to give more
precise readings. It has wide application in architectural and mechanical drawing,
although its use is decreasing with the availability of modern drawing software or CAD.
16
1.13 PLUG GAUGES
THREAD AND ANGLE GAUGES
A gauge for measuring screw threads or for checking or determining the pitch, thread
angle, or diameter of a screw thread.
A sine bar consists of a hardened, precision ground body with two precision ground
cylinders fixed at the ends. The distance between the centers of the cylinders is precisely
controlled, and the top of the bar is parallel to a line through the centers of the two rollers.
The dimension between the two rollers is chosen to be a whole number (for ease of later
calculations) and forms the hypotenuse of a triangle when in use.
17
1.16 MICROMETERS
a. OUTSIDE MICROMETER
The outside micrometer is the most commonly used type of micrometer.It is used to
measure external dimensions such as the outside diameter of an object.
b. INSIDE MICROMETER
Inside micrometers are used to measure inside dimensions like the inside diameter of a
hole or tube. There are two types of inside micrometer: caliper-type inside micrometers
and tubular and rod inside micrometers.
c. DEPTH MICROMETER
Depth micrometers are used to measure the depths of holes, slots and steps. They come
with a variety of interchangeable rods of different lengths so that they can be used to
measure a range of depths.
d. SCREW MICROMETER
Micrometer screw gauge is used for measuring small dimensions with acute precision.
Screw gauge is used for dimensions smaller than those measured by vernier calipers.
Accuracy =0.01mm
1mm = 1000 microns
0.1mm = 100 microns
18
0.01mm = 10 microns
0.001mm = 1 micron
19
1.18 AXISES
Taking zero at any one place all other dimensions will represent with respect to that point
is called absolute method.
Or
At any point having referenc from origin.
20
1.20 PROGRAMS DONE IN CLASS AND IN LAB
F
32
J E G
24
C D
16
K B H
8
A L I
(0,0) 5 10 15 20 25 30 35
x
X Y
A 0 0
B 10 8
C 15 16
D 20 16
E 25 24
F 30 32
G 35 24
H 35 8
I 30 0
J 0 24
K 0 8
L 15 0
21
Y
0
-15
-10 -5 6 12 18
12
F E C
8
G B
H D
4
X+
X- I
A
K L O
-8
0
J M
-16
-24
Y-
X Y X Y
A 0 0 H -10 0
B 6 4 I -5 -8
C 12 8 J -10 -16
D 12 0 K 0 -8
E 0 8 L 6 -8
F -5 8 M 12 -16
G -10 4 N 18 -8
+Y
1st 2nd -X +X
-Y
3rd
4th
ALL 4
3rd & 4th 4th & 1st
22
200
H G
150
C D
A B E E
50
75
75
X Y
A 0 0
B 75 0
C 75 40
D 125 40
E 125 0
F 200 0
G 200 150
H 0 150
I 0 0
150
L
M
80
100
E F
C D K
G H
B J
I J
A 20
25
25 25
40 25
X Y X Y
A 0 0 H 110 15
B 40 0 I 110 0
C 40 15 J 135 0
D 65 15 K 150 20
E 65 30 L 150 100
F 85 30 M 0 100
G 85 15 N 0 0
23
Part programming
Miscellaneous codes
Geometrical codes Other dimensional
or mixed codes [M-
[G-codes] commands
codes]
24
G28 - Automatic reference return
G40 - Cutter radius compensation [CRC] cansile
G41 - Cutter radius compensation [CRC] left side
G42 - Cutter radius compensation [CRC] right side
G43 - Tool height compensation
G49 - Tool height compensation Cansile
G54-G59 - Zero OFF set numbers
G53 - Cansilation of zero OFF set numbers
G15 - Polar co-ordinate cansile
G16 - Polar co-ordinate ON
G80 - Cansilation of canned cycles
G81 - Drilling cycle
G82 - Drilling with dwell time
G83 - Peck drilling cycle
G84 - Tapping cycle right hand
G74 - Tapping cycle left hand
G85 - Boring cycle [retraction in feed]
G86 - Boring cycle [retraction in rapid]
G76 - Time Boring cycle
G90 - Absolute method programming
G91 - Incremental/relative method programming
G94 - Feed in mm/minute
G95 - Feed in mm/revolution
The next dimensions refers the previous final co-ordinate if the values are in increasing
order positive sign [+] to be taken , if the values are in decreasing order negative sign [-]
to be taken.
Or
At any point having reference from previous point.
Example:-
25
b. G00-Rapid Positioning
The code specifies a linear movement at the rapid feed rate. X, Y, Z can be Moved
individually or simultaneously. The feed rate need not be programmed.
c. G01-Linear Interpolation
The tool moves along the straight line to the specified position at the programmed
feed rate
d. G04 : Dwell
26
h. G 20 : Inch Mode
The use of this code will enable the control to accept part program dimensions in
“Inches”. Once programmed G20 remains in effect until cancelled by G21.
i. G 21 : Metric Mode
The basic mode of the system is metric. So it is not necessary to program G21 except when
canceling G20. G21 enables the control to accept part program dimensions in millimeters.
The system remains in metric mode until G20 is program dimensions in millimeters. The
system remains in metric mode until G20 is programmed.
This code sets the position registers to the values specified by X, Y & Z codes programmed
in the same block. Position preset occurs only for the axes programmed and will not cause
axis motion. No other G codes are accepted with this code.
Example: G92 X100.0 Y 50.0 ;
After executing the above block, X position will be preset to 100 mm and y position will
be preset to 50 mm.
27
k. G94: Feed Rate per Minute
This code is used when the feed rate is to be programmed in mm per minute or inch per
minute. The value programmed in the F word represents the feed rate directly in mm/min
or inch/min depending on whether G20 or G21 is active. G94 will remain active until G95
is programmed.
This code allows the feed rate to be programmed in mm per revolution or inch per
revolution. The value programmed in the F word represents the feed rate directly in mm/rev
or inch/rev depending on whether G20 or G21 is active. This mode is effective until
cancelled by G94.
are used where repetition of a part of a program is required. They are stored at the
end of the main program and can be called any time and any number of times for execution
by simple instruction words in the main program. For calling a subprogram, word M98 is
used along with PIOIO (number of the subprogram to be called) in the main program of
the subroutine needs to be repeated, say twice, then the word P is followed by L2. The
subroutine ends with word M99 subroutines can be called J subroutine and thereby nesting
can be done use of subroutines helps in short lining the main program and also prevent
repetition of statements where the same features are required to be machined more than
once.
A subprogram can be called from main program. Three different subprogram can
be called from a subprogram. Any number of subprograms can be defined in a main
program. Subprogram cannot be defined in a other subprogram.
28
0_____ (subprogram number);
Subprogram call
M98 P --------0 ---------;
29
150
G F
100
C
A B D E
40
50 60
G90
path X Y
A 0 0
B 50 0
C 70 35
D 90 0
E 150 0
F 150 100
G 0 100
H 0 0
G91
path X Y
A 0 0
B 50 0
C 20 35
D 20 -35
E 60 0
F 0 100
G -150 0
H 0 -100
30
150
H G
60
75
I
F
30
J
75
C
60 A
L B D E
25
25
75 25
G90
path X Y path X Y
A 0 0 G 150 150
B 75 0 H 0 150
C 100 30 I 0 90
D 125 0 J 50 75
E 150 0 K 0 60
F 200 75 L 0 0
G91
path X Y path X Y
A 0 0 G -50 75
B 75 0 H -150 0
C -25 30 I 0 60
D 25 -30 J 50 -15
E 25 0 K -50 -15
F 50 75 L 0 -60
x20.0 → 20mm
x20 → 20 microns
31
1.27 TOOL PATH
200
H G
150
C D
A B E F
I
50
75 75
G90
G91
32
20
180
15
M
N
L
O
P E
65
F
C D H
G
Q K
R
20
A B I J
30
S
20 20 30
40 60
G90
33
G91
34
1.29 DEFINITIONS OF G02 AND G03
The tool moves along the straight line to the specified position at the programmed
feed rate.
Circular interpolation in which the curvature of the path of the tool with respect to the work
piece is clockwise/counter clockwise when the plane of motion is viewed in the negative
direction of the axis perpendicular to it.
The starting point of the circle/arc is determined by the previous block. The end
point is fixed by the respective axes, values programmed in the block. The circle center is
determined by I, J & K vectors, which specify the incremental (signed) distance of the
circle center point from the circle starting point. I is the incremental (signed) distance
parallel to the X axis and J is the incremental (signed) distance parallel to the y axis and K
is the incremental (signed) distance parallel to z axis. ,These will remain unchanged
irrespective of whether the program is in. absolute or incremental mode. G02 and G03 are
effective until cancelled by GOO or G01.
G02 G03
G02- x_y_z_I_J_K_R_
G03- x_y_z_I_J_K_R_
35
These are the paraxial coordinates of the distance vector from the starting position
to the center point of the circle/arc.
The values of the I, J & K must always be entered as incremental position data
irrespective of whether the values of X, Y & Z are entered in absolute or incremental
coordinates. The sign depends on the direction of the coordinates from the starting position
to the center point of the circle.
A B C D
75 50 75
A to D
G90
G01 x75.0 y0.0 F300; (A to B)
G02 x125.0 y0.0 I25.0 J0.0; (B to C)
Or
G02 x125.0 y0.0 R25.0; (B to C)
G01 x200.0 y0.0; (C to D)
D to A
G90
G01 x125.0 y0.0 F300; (D to C)
G03 x75.0 y0.0 I-25.0 J0.0; (C to B)
Or
G03 x75.0 y0.0 R-25.0; (C to B)
G01 x0.0 y0.0; (B to A)
36
D
35
C
40
B
50
A
A to D
G90
G01 x0.0 y50.0 F300; (A to B)
G02 x0.0 y90.0 I0.0 J20.0; (B to C)
Or
G02 x0.0 y90.0 R20.0; (B to C)
G01 x0.0 y125.0; (C to D)
D to A
G90
G01 x0.0 y90.0 F300; (D to C)
G03 x0.0 y50.0 I0.0 J20.0; (C to B)
Or
G03 x0.0 y50.0 R20.0; (C to B)
G01 x0.0 y0.0; (B to A)
37
G F
130
E
A D
B C
H
20
60 50 70 `
G90
38
1.30 DIAGRAM SHOWING TOOL AND FEED MOVEMENT CNC
Position
39
1.31 G54 to G59-OFFSET:-
x -400.0
(0,0,0) Machine zero
y -325.5 z -225.62
G55 x G58 x
y y
z z
G56 x G59 x
y y
z z
Absolute Machine
x -20.0 x -420.0
y -20.0 y -345.5
z -10.0 z -215.62
G54 z10.0
The reference position is a fixed position on a machine tool to which the tool can easily be
moved by the reference position function. For example, the reference position is used as a
position at which tools are automatically changed.
40
G28 G91 z0.0;
Tool retracts to the reference in z axis in rapid.
41
1.34 DIFFERENT TYPES OF PROGRAMS, WITH SUB- PROGRAMS AND
FORMATS
H G
25
F
100
E
A B C D
I
40 60 75 25
ABSOLUTE (G90)
O4002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M06T01;
G90 G54 x -20.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0 ;
M08;
G01 z -1.0 F100 ;
x0.0 y0.0 F100;
x 40.0;
G02 x100.0 y0.0 I30.0 J0.0;
G01 x175.0;
x200.0 y25.0;
y125.0;
G02 x175.0 y150.0 I0.0 J25.0;
Or
G02 x175.0 y150.0 R25.0;
G01 x0.0;
y0.0;
x -20.0 y -20.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
42
G28 G91 x0.0 y0.0;
M30
INCREMENTAL (G91)
O4002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M06T02;
G90 G54 x -20.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0 ;
M08;
G01 z -6.0 F100;
x20.0 y20.0 F300;
x40.0;
G02 x60.0 y0.0 R30.0;
G01 x75.0;
x25.0 y25.0;
y100.0;
G02 x -25.0 y25.0 R25.0;
G01 x -175.0;
y -150.0;
x-20.0 y -20.0;
G90; (Change to Absolute)
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
43
55 55
30
I
L K J
25
H
50
D G
C
75
B E
M A F
40
50 50
ABSOLUTE (G90)
O0002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M06T01;
G90 G54 x -20.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0 ;
M08;
G01 z -1.0 F100 ;
x0.0 y0.0 F300;
x50.0;
x50.0 y60.0;
G02 x50.0 y60.0 I20.0 J0.0;
G01 x90.0 y0.0;
x140.0;
y75.0;
G02 x140.0 y125.0 I0.0 J25.0;
Or
G02 x140.0 y125.0 R25.0;
G01 y150.0;
x85.0 y150.0;
G02 x55.0 y150.0 I15.0 J0.0;
Or
G02 x55.0 y150.0 R15.0;
G01 x0.0 y150.0;
y0.0;
x -20.0 y -20.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30
44
75 50 75
I H G F
80
E
20
A B C D
J
60 40 75 25
ABSOLUTE (G90)
O2004;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M06T01;
G90 G54 x -20.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0 ;
M08;
G01 z -1.0 F100 ;
x0.0 y0.0 F300;
x60.0 y0.0;
G02 x100.0 y0.0 R20.0;
Or
G02 x100.0 y0.0 I20.0 J0.0;
G01 x175.0 y0.0;
G01 x200.0 y100.0;
y100.0;
x125.0;
G02 x75.0 y100.0 I25.0 J0.0;
Or
G02 x75.0 y100.0 R25.0;
G01 x0.0 y100.0;
y0.0;
x -20.0 y -20.0;
G00 z50.0;
M05;
M09;
G28 G91 x0.0 y0.0;
M30;
45
INCREMENTAL (G91)
O2005;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M06T01;
G90 G54 x -20.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0 ;
M08;
G01 z -1.0 F100 ;
x0.0 y0.0 F300;
x60.0 y0.0;
G02 x40.0 y0.0 R20.0;
Or
G02 x40.0 y0.0 I20.0 J0.0;
G01 x75.0 y0.0;
x25.0 y20.0;
x0.0 y80.0;
x -75.0 y0.0;
G02 x -50.0 y0.0 R25.0;
Or
G02 x -50.0 y0.0 I25.0 J0.0;
G01 x -75.0 y0.0;
x0.0 y -100.0;
x -20.0 y -20.0
G00 z50.0;
M05;
M09;
G28 G91 x0.0 y0.0;
M30;
x + 10 = 0
x=0
x - 10 =0 y + 10 = 0
y=0
X
y - 10 =0
46
100
20 40 20 40 20 40
40 20 40
ABSOLUTE (G90)
O2001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm end mill)
G90 G54 x50.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0;
M08;
G01 z -2.0 F100; (Depth)
y120.0 F300;
x110.0;
y -20.0;
x170.0;
y120.0;
x230.0;
y -20.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
47
100
30
20
30
20
30
20
30
20
30
ABSOLUTE (G90)
O2004;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm end mill)
G90 G54 x -20.0 y -20.0;
G54 z50.0;
M03 S1000;
G00 z5.0;
M08;
G01 z -2.0 F100; (Depth)
x120.0 F300;
y90.0;
x -20.0;
y140.0;
x120.0;
y190.0;
x -20.0;
G00 z50.0
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
48
100
10 50 10 50 10 50
50 10 50
ABSOLUTE (G90)
O4002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm end mill)
G90 G54 x55.0 y -10.0;
G54 z40.0;
M03 S1000;
G00 z5.0;
M08;
G01 z -2.0 F100; (Depth)
y120.0 F300;
x115.0;
y -10.0;
x175.0;
y120.0;
x235.0;
y -10.0;
G00 z50.0
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
49
M98 – Sub-programme call
150
50 10 50 10 50
Main programme
O2241;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm end mill)
G54 z50.0;
G90 G54 x50.0 y -20.0;
M03 S1000;
G01 z0.0 F100;
M98 P010 2262; (Sub programme)
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
50
Sub Programme
O2242;
G91 G01 z -1.0 F100;
y 190.0 F300;
x110.0;
y -190.0;
x -60.0;
M99;
-X
+x
30
35
10
-Y
Main programme
O2247;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 5mm end mill )
G54 z50.0;
G90 G54 x -32.5 y0.0;
M03 S1000;
G00 z5.0;
M08;
G01 z0.0 F100;
M98 P020 2248; (Sub programme)
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
51
Sub Programme
O2248;
G91 G01 z -10.5 F10;
G90 G02 I32.5 F200;
M99;
+Y
-X
+x
25 20
-Y
Main programme
O2249;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 5mm end mill )
G90 G54 x -22.5 y0.0;
G54 z50.0;
M03 S1000;
G00 z5.0;
M08;
M98 P020 2250; (Sub programme)
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
Sub Programme
52
O2250;
G91 G01 z -10.5 F10;
G90 G02 I22.5 F100;
M99;
-X
+x
-Y
20
100
O0001;
N1;
G00 G40 G80 G49;
53
G28 G91 z0.0;
M06T01;
G90 G54 x – 40.0 y0.0;
G54 z50.0;
M03 S2000;
G00 z3.0;
M08;
G01 z0.0 F100;
M98 P010 0002; (Sub programme)
G90 G00 Z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
Sub programme
O0002;
G91 G01 z – 1.0 F10;
G90 G01 y40.0 F500;
x40.0;
y -40.0;
x -40.0;
y0.0;
M99;
54
200
200 40
O0003;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x -10.0 y-10.0;
G54 z50.0;
M03 S3000;
G00 z50.0;
M08;
G90 G01 z -1.0 F50;
G01 y210.0;
x30.0;
y -10.0;
x50.0;
y210.0;
x70.0;
y -10.0;
x90.0;
y210.0;
x110.0;
y -10.0;
x130.0;
y210.0;
x150.0;
y -10.0;
x170.0;
y210.0;
x190.0;
y -10.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
55
M30;
This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole.
The tool is then retracted from the bottom of the hole in rapid traverse.
Z= Depth of Hole
R= Distance from Surface to Point R Level F= Feed
K= Number of Repeats
56
This cycle is used for normal drilling. Cutting feed performed to the bottom of the hole.
At the bottom, a dwell is performed, and then the tool is retracted in rapid traverse.
Z = Depth of Hole
R = Distance from Surface to Point R Level P= Dwell Time
F = Feed
K = Number of Repeats
From initial position, rapid traverse is performed to point R. Drilling is then performed
from point R to point Z. When the bottom of the hole has been reached a dwell is
performed. The tool is then retracted in rapid traverse:
Z = Hole depth
R = Distance from surface to point R level
Q = Depth of cut for each cutting feed (Pecking depth)
F = Feed
K = Number of repeats
57
Q represents the depth of cut for each cutting feed. It must always be specified as an
incremental value.
In the second and subsequent cutting feeds, rapid traverse is performed up to a point just
before where the last drilling ended and cutting feed is performed again.
In this cycle, when the bottom of the hole has been reached, the spindle is rotated in
the reverse direction.
58
Tapping is performed by rotating the spindle clockwise. When the bottom of the hole has
been reached, the spindle is rotated counter clockwise for retraction.
Feed rate overrides are ignored during the cycle. Feed hold does not stop the machine until
the return operation is completed.
From initial position, rapid traverse is performed to point R. Boring is performed from
point R to point Z. When point Z has been reached, cutting feed is performed to return to
point R.
From initial point, rapid traverse is performed to point R. Boring is performed from point R to point
Z. When the tool reaches the bottom of the hole, the tool is retracted in rapid traverse.
It performs intermittent cutting feed to the bottom of a hole while removing chips from the
hole.
Format: G73 G98/99 Z R Q F K
Z = Depth of hole
R = Distance from job surface to point R level Q = Depth of cut for each cutting feed
(Pecking depth)
F - Feed
K - Number of repeats
59
The High Speed Peck Drilling Cycle performs intermittent feeding along the Z-axis. When
this cycle is used, chips can be removed from the hole easily.
In this cycle, when the bottom of the hole has been reached, the spindle is rotated in
the reverse direction.
Tapping is performed by rotating the spindle counter clockwise. When the bottom of the
hole has been reached, the spindle is rotated clockwise for retraction.
Feed hold does not stop the machine until the return operation is complete.
60
j. G76: Fine Boring Cycle
This cycle bores a hole precisely. When the bottom of the hole has been reached,
the spindle stops and the tool is moved away from the machined surface of the work piece
and retracted.
When the bottom of the hole has been reached, the spindle is stopped at the fixed
rotation position, and the tool is moved in the direction opposite to the tool tip and retracted.
This ensures that the machined surface is not damaged and enables precise and efficient
boring to be performed.
61
1.38 GROOVING
30
20
30
30
20
30
20
30
100 40
O0003;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T04;
G90 G54 x -10.0 y40.0;
G54 z50.0;
M03 S2000;
G00 z5.0;
M08;
G90 G01 z -3.0 F50;
x130.0;
y90.0;
x -10.0;
y140.0;
x130.0;
G00 z60.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
62
30
20
30
30
20
30
20
30
130 40
O0004;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T03;
G90 G54 x -10.0 y40.0;
G54 z50.0;
M03 S2000;
G00 z5.0;
M08;
G01 z 0.0 F100;
M98 P O0005;
G90 G00 z50.0;
M05;
M09;
G28 G90 z0.0;
M30;
1.39 DRILLING
63
30
30
30
30
30
30
20 20 20 20 20 20
ABSOLUTE
O0006;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T06;
G90 G54 x 20.0 y30.0;
G54 z50.0;
M03 S800;
G00 z5.0;
M08;
G81 z -6.0 F100;
x40.0;
x60.0;
x80.0;
x100.0;
y60.0;
x80.0;
x60.0;
x40.0;
x20.0;
y90.0;
x40.0;
x60.0;
x80.0;
x100.0;
y120.0;
x80.0;
x60.0;
64
x40.0;
x20.0;
y150.0;
x40.0;
x60.0;
x80.0;
x100.0;
G80;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
INCREMENTAL
O0006;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T06;
G90 G54 x 20.0 y30.0;
G54 z50.0;
M03 S800;
G00 z5.0;
M08;
G81 z -6.0 F100;
G91 x20.0 K4;
y30.0 K1;
x -20.0 K4;
y30.0 K1;
x20.0 K4;
y30.0 K1;
x -20.0 K4;
y30.0 K1;
x20.0 K4;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
65
80
2 4
85
1 3
45
40 50 35 45 40
ABSOLUTE
O0006;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T06;
G90 G54 x 40.0 y45.0;
G54 z50.0;
M03 S800;
G00 z5.0;
M08;
G80 z -6.0 F100;
G90 x90.0 y130.0;
x125.0 y45.0;
x170.0 y130.0;
G80;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
66
This function compensates for the difference in tool length along the z-axis. When
G43 is specified, the tool length offset value (stored in offset memory) specified with the
H code is added to the coordinates of the end
Offset
1.40 OFFSET
Difference between Machine zero to Job zero of x and y values to be extended number
zero offset addressed number.
NOTE –
While using G43 code z offset value to be extended zero in zero offset (selected number).
1.41 Retraction
67
It means coming back or reverse motion.
RETRACTION
Normal position to
the Retraction G98- Retraction of tool to G91-Retraction of the tool
the position to the R level
+5 +5 +5
position +2 position +2 position
0 (R level) 0 (R level)
0
40
M8 12mm
Depth
60
40
(0,0,0)
12
75 50 75
NOTE
Feed in mm/min to be converted into the mm/rev for tapping. It is the relation between
Feed and speed.
68
Feed= Speed x pitch
Example – M8
O2001;
N1; (Centre drill)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x75.0 y40.0;
G43 z50.0 H01;
M03 S1500;
G00 z5.0;
G81 z -2.0 F20;
x125.0;
y100.0;
x75.0;
G80;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M01;
69
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M01;
70
N5; (M8 tap)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T05;
G90 G54 x75.0 y40.0;
G43 z50.0 H05;
M03 S1100;
G00 z5.0;
G84 G99 z -12.0 R2.0 F125;
x125.0;
y100.0;
x75.0;
G80;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M30;
71
G 42: Cutter Radius Compensation to the Right of the Tool Path
When CRC is selected the control reads in two further blocks in advance during processing
of the current block and calculates the intersection point of the compensated paths.
The compensation mode is selected with G41/G42 and offset number D. The D
value has to be programmed in the same block as G41/G42.
Offset number DO is assigned the compensation value O. The CRC is active in the
selected plane. The radius compensation value has to be programmed in geometric offset
page.
Different plane selection or positions preset etc are not allowed after G41/G42 is
active. G90 or G91, G20 or G21 etc should be programmed before G41/G42 is active.
72
G41/G42 activation should not follow a circular interpolation block.
A linear interpolation block has to be programmed along the diameter of the circle.
If the inside profiles contain a line segment and a circle segment cutter CRC value
should be less than the radius of the circle segment.
The CRC value should not be equal to the radius of any arc programmed in the path
while machining an outside profile.
CRC value larger than the smallest linear program motion or larger than the
smallest radius of the circle programmed is not allowed.
73
2. After activation of CRC, the next two blocks to be maintained perpendicularly
4. Always the cutter radius value shoud be less than programmed radius.
5. Always the work should be start away from Job zero point.
Example:- (0,0,0)
74
200
F E
150
A B
C D
140 40 20
BY USING G41
O2008;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm End mill)
G90 G54 x -20.0 y -20.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z -1.0 F100;
G41 D21;
G01 x0.0 F300;
y150.0;
x200.0;
y0.0;
x180.0;
G03 x140.0 y0.0 R20.0;
G01 x -20.0;
G40;
y -20.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
75
BY USING G42
O2009;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm End mill)
G90 G54 x -20.0 y -20.0;
G43 z50.0 H02;
M03 S1000;
G00 z5.0;
M08;
G01 z -1.0 F100;
G42 D21;
G01 x0.0 F300;
y0.0;
x140.0;
G02 x180.0 y0.0 R20.0;
G01 x200.0;
y 150.0;
x0.0;
y -20.0;
G40;
x -20.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
76
25
100
25
70 30 60 20
O3001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 15mm End mill)
G90 G54 x -20.0 y -20.0;
G43 z50.0 H02;
M03 S1000;
G00 z5.0;
M08;
G01 z -1.0 F100;
G42 D30;
G01 x0.0 F300;
y0.0;
x70.0;
G02 x100.0 y0.0 R15.0;
G01 x160.0;
x180.0 y25.0;
y25.0;
x160.0 y150.0;
x100.0;
G02 x70.0 y150.0 R15.0;
y -20.0;
G40;
x -20.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30
1.45.1 CUTTER RADIUS COMPENSATION – COUNTER CLOCKWISE
EXTERNAL
77
R20
150
200
O0011;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T11;
G90 G54 x -120.0 y0.0;
G54 z30.0;
M03 S3000;
G00 z5.0;
G00 z3.0;
G01 z0.0 F100;
M98 P010 0012;
G90 G00 z70.0;
M05;
M09;
G28 G91 z0.0;
M30;
O0012;
G91 G01 z -1.0 F100;
G90 G42 G01 x100.0 D21 F500;
y55.0;
G03 x80.0 y75.0 R20.0;
G01 x -80.0;
G03 x -100.0 y55.0 R20.0;
G01 y -55.0;
G03 x -80.0 y -75.0 R20.0;
G01 x80.0;
G03 x100.0 y -55.0 R20.0;
G01 y0.0;
x120.0;
M99;
1.45.2 CUTTER RADIUS COMPENSATION –CLOCKWISE INTERNAL
78
R20
150
200
O0013;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T11;
G90 G54 x 0.0 y0.0;
G54 z30.0;
M03 S3000;
G00 z3.0;
G01 z0.0 F100;
M98 P010 0014;
G90 G00 z90.0;
M05;
M09;
G28 G91 z0.0;
M30;
O0014;
G91 G01 z -1.0 F100;
G90 G42 G01 x -100.0 D20 F600;
y55.0;
G02 x -80.0 y75.0 R20.0;
G01 y -55.0;
G02 x80.0 y -75.0 R20.0;
G01 x -80.0;
G02 x -100.0 y -55.0 R20.0;
G01 y0.0;
G01 x0.0;
M99;
79
R 25
(-100,25) (100,25 )
100
50
(-100,-25) 100,-25
20
200
300
WITHOUT SUB-PROGRAM
O4001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm End mill)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z -2.0 F300;
G42 D121;
G01 y25.0 F300;
x100.0;
G02 x100.0 y -25.0 I0.0 J25.0;
Or
G02 x100.0 y -25.0 R25.0;
G01 x -100.0;
G02 x -100.0 y25.0 I0.0 J25.0;
Or
G02 x -100.0 y25.0 R25.0;
G01 x0.0;
G40;
y0.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
80
R 25
(-100,25) (100,25 )
100
50
(-100,-25) 100,-25
20
200
300
WITH SUB-PROGRAM
O4002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm End mill)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z0.0 F300;
M98 P010 4003;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O4003;
G91 G01 z -1.0 F20;
G90 G42 d121;
G01 y25.0 F300;
x100.0;
G02 x100.0 y -25.0 R25.0;
G01 x -100.0;
G02 x -100.0 y25.0 R25.0;
G01 x0.0;
G40;
Y0.0;
M99;
81
100
40
R 20
(20,125)
(-20,125)
300
250
(-20,-125)
(20,-125)
O0013;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm End mill)
G90 G54 x0.0 y0.0;
G43 z50.0 x0.0 y0.0;
M03 S1000;
G00 z5.0;
M08;
G01 z0.0 F300;
M98 P010 0014;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O0014;
G91 G01 z -1.0 F20;
G90 G42 d123;
G01 x -20.0 F200;
y125.0;
G02 x20.0 y125.0 I20.0 J0.0;
Or
G02 x20.0 y125.0 R20.0;
G01 y -125.0;
G02 x -20.0 y125.0 I20.0 J0.0;
Or
G02 x -20.0 y125.0 R20.0;
G01 y0.0;
G40;
y0.0;
M99;
82
R35 5
R30
100
240
350 15
O4081;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm End mill)
G90 G54 x0.0 y -32.5.0;
G54 z50.0;
M03 S2000;
G00 z3.0;
M08;
G01 z0.0 F100;
M98 P010 4082;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O4082;
G91 G01 z0.5 F20;
G90 G01 x -120.0 F300;
G02 x -120.0 y32.5 R32.5;
G01 x120.0;
G02 x120.0 y -32.5 R32.5;
G01 x0.0;
M99;
83
3
100
10
150
O4008;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z -2.0 F10;
G42 G01 x -20.0 D21 F20.0;
G02 I30.0;
G40 G01 x -10.0;
G42 G01 x -40.0 D21 F200;
G02 I40.0;
G40 G01 x-30.0;
G42 G01 x -50.0 D21 F300;
G02 I50.0;
G40 G01 x0.0 F500;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
84
3
96
10
150
O1234;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 16mm)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z -2.0 F10;
G42 G01 x -16.0 D21 F20.0;
G02 I24.0;
G40 G01 x -8.0;
G42 G01 x -32.0 D21 F20.0;
G02 I32.0;
G40 G01 x -24.0;
G42 G01 x -48.0 D21 F20.0;
G02 I48.0;
G40 G01 x -40.0 F50.0;
G42 G01 x -50.0 D21 F300;
G02 z50.0;
G40 G01 x0.0 F500;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
85
DIA 100
10 10 10
DIA 80
DIA 60
O4061;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 20mm)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z5.0 F100;
M98 P010 4062;
M98 P010 4063;
M98 P010 4064;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O4062;
G91 G01 z -1.0 F10;
G90 G42 G01 x -20.0 D21 F300;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -40.0 D21 F300;
G02 I40.0;
G40 G01 x -30.0;
86
G42 G01 x -50.0 D21 F300;
G02 I50.0;
G40 G01 x0.0 F1000;
M99;
O4063;
G91 G01 z -1.0 F10;
G90 G42 G01 x -20.0 D21 F300;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -40.0 D21 F300;
G02 I40.0;
G40 G01 x0.0 F1000;
M99;
O4064;
G91 G01 z -1.0 F10;
G90 G42 G01 x -20.0 D21 F300;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -30.0 D21 F300;
G02 I30.0;
G40 G01 x0.0 F1000;
M99;
87
DIA 100
10 10 10
DIA 80
DIA 60
O1248;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 16mm)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z5.0 F100;
M98 P010 1249;
M98 P010 1250;
M98 P010 1251;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O1249;
G91 G01 z -1.0 F10;
G90 G42 G01 x -16.0 D22 F300;
G02 I16.0;
G40 G01 x -8.0;
G42 G01 x -32.0 D22 F300;
G02 I32.0;
G40 G01 x -24.0;
G42 G01 x -48.0 D22 F300;
G02 I48.0;
G40 G01 x0.0 F1000;
88
M99;
O1250;
G91 G01 z -1.0 F10;
G90 G42 G01 x -16.0 D22 F300;
G02 I16.0;
G40 G01 x -8.0;
G42 G01 x -32.0 D22 F300;
G02 I32.0;
G40 G01 x0.0 F1000;
M99;
O1251;
G91 G01 z -1.0 F10;
G90 G42 G01 x -16.0 D22 F300;
G02 I16.0;
G40 G01 x -8.0;
G42 G01 x -24.0 D22 F300;
G02 I24.0;
G40 G01 x0.0 F1000;
M99;
Position
• EDIT
To enter the program, alter, insert, delete, cancel, copy, mass merge, change,
background edit.(If tone operation is going by the BGE we can make other
programme). Receive data from PC and sending data to PC.
• JOG
89
Movement of tool in feed by selection of axis (x,y,z) and direction (+/-). This makes
feed can be increased or decreased.
X Y
Z
- +
• RAPID
Movement of tool by selection of axis (x,y,z) and direction (+/-) and also in the steps
of
25% 50% 75% 100%
25
50
X Y
75
- +
100
90
DRY RUN
To verify the profile of the tool movement in maximum feed without holding the job or
by lifting the tool on ‘z’ axis.
SINGLE BLOCK
Programme can be executed block by block . If any mistake found can be rectified.
AUTOMATIC
After confirmation of the programme can be runned continuously without interference
GRAPH
Profile can be verified in all axis (xy, yz, zx,xyz).
OFFSET
Offset
91
FACE MILLING
150
20
200
O8001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø20mm end mill)
G90 G54 x10.0 y -20.0;
G43 Z50.0 H01;
M03 S1200;
G00 z5.0;
M08;
G01 z0.0 F100;
M98 P005 8002;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O8002; (depth)
G91 G01 z -1.0 F100;
M98 P005 8003;
G90 G01 y-20.0;
x10.0;
M99;
92
200
20
250
O0142;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø25mm end mill)
G90 G54 x12.5 y -20.0;
G43 Z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z0.0 F100;
M98 P005 0143;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O0143; (depth)
G91 G01 z -1.0 F100;
M98 P005 0144;
G90 G01 y-20.0;
x12.5;
M99;
93
G15 - Polar co-ordinate cancel
G16 - Polar co-ordinate on
DIA 160
DIA 5mm drill x 10mm depth
(56.56,56.56)
→ Trignometry
→Pythagores theorem
Sinθ = opposite/hypotenuse
Cosθ = adjacent/hypotenuse
Tanθ = opposite/ adjacent
94
80
Sinθ = opposite/hypotenuse
Sin45º = opp/80
Sin45º x 80 = opp
Opp = 56.56
Cosθ = adjacent/hypotenuse
Cos45º = adjacent/hypotenuse
Cos45º x 80 = adj
Adj = 56.56
100
0
34.36
10
50
86.86
93.96
95
86.86
100 0
10
O4001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø 5mm drill)
G90 G54 x86.60 y50.0;
M03 S1000;
G00 z5.0;
G81 z -20.0 f50;
X -93.96 y 34.20;
G80;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
34.302
0
10 A
C B
AC² = AB²+BC²
BC² = AC² - AB²
BC =Root of (100)² -(34.302)²
BC = 93.969
96
G15 - Polar co-ordinate cancel
G16 - Polar co-ordinate on
O4002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø5mm drill)
G90 G54 x86.60 y50.0;
G43 z50.0;
H01;
M03 S1000;
G00 z5.0;
G15;
G16;
G81 x100.0 y0.0 z -150.0 F50;
y60.0;
y120.0;
y180.0;
y240.0;
y300.0;
G15 G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
97
10mm depth
201,25
M8
20
25 150 10
200
O4001;
N1; (Face milling)
G00 G40 G80 G91;
G28 G91 z0.0;
M06T01;
G90 G54 x -35.0 y25.0;
G43 z50.0 H01;
M03 S1200;
G00 z5.0;
M08;
G01 z-2.0 F100;
x23.5 F300;
y75.0;
x -35.0;
y125.0;
x235.0;
y175.0;
x -35.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M01;
98
N2; (Circular pocket milling)
G00 G40 G80 G91;
G28 G91 z0.0;
M06T02; (Ø20mm end drill)
G90 G54 x0.0 y0.0;
G43 z50.0 H02;
M03 S1000;
G00 z0.0;
M08;
G01 z0.0 F100;
M98 P010 4002;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M01;
O4002;
G91 G01 z -1.0 F100;
G90 G42 G01 x-20.0;
D22 F100;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -40.0;
D22 F200;
G02 I40.0;
G40 G01 x-30.0;
G42 G01 x -50.0;
D22 F300;
G02 I50.0;
G40 G01 x0.0 F100;
M99;
99
y175.0;
x 25.0;
y100.0;
G80;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M01;
100
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
M01;
101
40
6 5
30
3 4
40
1
2
30
50 60 40 50 50
ABSOLUTE (G90)
O4012;
N1; (centre drill)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x50.0 y30.0;
G54 z -2.0 H01;
M03 S1000;
G00 z5.0;
M08;
G81 z5.0 F100;
G90 x110.0 y70.0;
x150.0 y30.0;
x200.0 y70.0;
x150.0 y100.0;
x50.0 y100.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
102
N2; (Ø4mm Drill)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T02;
G90 G54 x50.0 y30.0;
G54 z -2.0 H02;
M03 S1000;
G00 z5.0;
M08;
G83 z5.0 F100;
G90 x110.0 y70.0;
x150.0 y30.0;
x200.0 y70.0;
x150.0 y100.0;
x50.0 y100.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
103
N4; (chamfering)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T04;
G90 G54 x50.0 y30.0;
G54 z -2.0 H04;
M03 S1500;
G00 z5.0;
M08;
G72 z5.0 F100;
G90 x110.0 y70.0;
x150.0 y30.0;
x200.0 y70.0;
x150.0 y100.0;
x50.0 y100.0;
G80;
G91 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
N5; (tapering)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T05;
G90 G54 x50.0 y30.0;
G54 z -2.0 H05;
M03 S800;
G00 z5.0;
M08;
G84 z5.0 F100;
G90 x110.0 y70.0;
x150.0 y30.0;
x200.0 y70.0;
x150.0 y100.0;
x50.0 y100.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
104
M30;
INCREMENTAL(G91)
O4012;
N1; (central drill)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x50.0 y30.0;
G54 Z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G81 z -2.0 F100;
G90 x60.0 y40.0;
x 40.0 y -40.0;
x50.0 y40.0;
x -50.0 y30.0;
x -100.0 y0.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
105
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
N4; (chamfering)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T04;
G90 G54 x50.0 y30.0;
G54 Z50.0 H04;
M03 S500;
G00 z5.0;
M08;
G82 z -2.0 F100;
G90 x60.0 y40.0;
x 40.0 y -40.0;
x50.0 y40.0;
x -50.0 y30.0;
x -100.0 y0.0;
G80;
G90 G00 z50.0;
M05;
M09;
106
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
N5; (tapering)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T05;
G90 G54 x50.0 y30.0;
G54 Z50.0 H05;
M03 S1000;
G00 z5.0;
M08;
G84 z -2.0 F100;
G90 x60.0 y40.0;
x 40.0 y -40.0;
x50.0 y40.0;
x -50.0 y30.0;
x -100.0 y0.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
107
1.53 MIRROR
(20,100) (175,100)
(200,80)
O8001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x20.0 y20.0;
G43 Z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
M98 P001 8002;
M70 x0.0 y0.0;
M98 P001 8002;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30
O8002;
G90G00 x20.0 y20.0;
G91;
G90 G01 x120.0 F300;
G02 x170.0 y20.0 R25.0;
G01 x200.0;
y80.0;
108
x175.0 y100.0;
x20.0;
y20.0;
G00z5.0;
x0.0 y0.0;
M99;
to 0.02
(0,0)
20
Pre drilled to 84.5
O4008;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S300; (speed should be less)
G00 z5.0;
M08;
G76 z -20.0 Q2000 P400 F10;
G80;
G00 z50.0;
M05;
M09;
G28 G91 x0.0 y0.0;
M30;
109
1.55 SYMBOLS REPRESENTING THE CHARACTERISTICS TO BE
TOLERATED
CHARACTERISTICS TO BE SYMBOL
TOLERATED
Straightness
Flatness
Form of single
feature Circularity
Cylindricity
110
Parallelism
Orientation of
related feature
Perpendicularity
Angularity
Position
Concentricity and
Coaxility
Position of
related features
Symmetry
Run-out
111
1.56 HOMING PROCESS
→ Select handle mode.
→ Open the position page on display.
→ Go to all values.
→ Select x-axis, take -100.0 in x-axis or above.
→ Select y-axis, take -100.0 or above.
→ Then select z-axis take-100.0 or above
→ Change the mode from handle toZRN mode.
→ Select z-axis give positive diretion with the help of self switch(SS), Select y-axis give
positive diretion with self switch(SS), Select x-axis give positive diretion with self
switch(SS).
NOTE:- don’t change the mode while running the process or position.
112
1.59 DIFFERENT PROGRAMS DONE IN CLASS AND LAB
FACING
150
150
O4002;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x10.0 y -9.0;
G54 z50.0;
M03 S1000;
G00 z5.0;
M08;
G90 G01 z -1.0 F50.0;
y160.0;
x24.0;
y -10.0;
x42.0;
y160.0;
x56.0;
y -10.0;
x74.0;
y160.0;
x92.0;
y -10.0;
x110.0;
y160.0;
x128.0;
y-10.0;
x146.0;
y160.0;
x162.0;
y -10.0;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91x0.0 y0.0;
113
M30;
FACING WITH SUB-PROGRAM
150
150
Dia 20mm
Each cut depth 0.5mm
Final depth 2.5mm
O0019;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x12.5 y -20.0;
G90 G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
M98 P005 0020;
G01 z0.0F100;
G90G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91x0.0 y0.0;
M30;
O0020;
G91 G01 z -0.5 F100;
y160.0 F300;
x20.0;
y-160.0;
x20.0;
y160.0;
x20.0;
y-160.0;
x20.0;
y160.0;
x20.0;
y-160.0;
x20.0;
y160.0;
x20.0;
y-160.0;
114
x20.0;
y-160.0;
M99;
CIRCULAR GROOVING
150
150
O0060;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø10mm)
G90 G54 x45.0 y0.0;
G54 z50.0;
M03 S1000;
G00 z5.0;
M08;
G90 G01 z -1.0 F100;
G02 I45.0 F500;
G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91x0.0 y0.0;
M30;
115
CIRCULAR POCKETS USING WITH CRC (G42) WITH SUB-PROGRAM
101010
DIA 60
DIA 80
DIA 100
O4001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø20mm)
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
G01 z0.0 F100;
M98 P004 4002;
M98 P004 4003;
M98 P004 4004;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O4002;
G91 G01 z -0.25 F10;
G90 G42 G01 x-20.0 D21 F300;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -40.0 D21 F300;
G02 I40.0;
G40 G01 x -30.0;
G42 G01 x -50.0 D21 F300;
G02 I50.0;
116
G40 G01 x0.0 F1000;
M99;
O4003;
G91 G01 z -0.25 F10;
G90 G42 G01 x-20.0 D21 F300;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -40.0 D21 F300;
G02 I40.0;
G40 G01 x0.0 F1000;
M99;
O4003;
G91 G01 z -0.25 F10;
G90 G42 G01 x-20.0 D21 F300;
G02 I20.0;
G40 G01 x -10.0;
G42 G01 x -30.0 D21 F300;
G02 I30.0;
G40 G01 x0.0 F1000;
M99;
117
5
R4
100
Each cut 0.5mm
150 Final depth 5mm
Tool dia 20mm
5 5
O6003;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01; (Ø20mm)
G90 G54 x -95.0 y0.0;
G41 z50.0 H01;
M03 S1200;
G00 z5.0;
M08;
G01 z0.0 F100;
M98 P010 6004;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 y0.0;
M30;
O6004;
G91 G01 z0.5 F10;
G90 G41 G01 x -95.0 D21 F800;
G02 I95.0;
G41 G01 x -85.0 D21 F800;
G02 I85.0;
G41 G01 x -75.0 D21 F800;
G02 I75.0;
G90 G41 G01 x -65.0 D21 F800;
G02 I65.0;
G41 G01 x -55.0 D21 F800;
G02 I55.0;
G41 G01 x -45.0 D21 F800;
G02 I45.0;
M99;
118
SPOT DRILLING WITH DWELL, PECK DRILLING HIGH SPEED DRILLING
AND TAPPING
8mm x deep
M8tap holes x 4holes
40
40
80 80
O4012;
N1; (center drill)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x80.0 y -40.0;
G43 z -2.0 H01;
M03 S1000;
G00 z5.0;
M08;
G81 z -5.0 F100;
G90 x80.0 y40.0;
x -80.0 y -40.0;
x80.0 y -40.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
119
N2; (Ø5mm Drill)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T02;
G90 G54 x80.0 y -40.0;
G43 z -2.0 H02;
M03 S1000;
G00 z5.0;
M08;
G83 z -5.0 F100;
G90 x80.0 y40.0;
x -80.0 y -40.0;
x80.0 y -40.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
120
N4; (chamfering)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T04;
G90 G54 x80.0 y -40.0;
G43 z -2.0 H04;
M03 S1000;
G00 z5.0;
M08;
G82 z5.0 F100;
G90 x80.0 y40.0;
x -80.0 y -40.0;
x80.0 y -40.0;
G80;
G91 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M01;
N5; (tapering)
G00 G40 G80 G49;
G28 G91 z0.0;
M06T05;
G90 G54 x80.0 y -40.0;
G54 z -2.0 H05;
M03 S1000;
G00 z5.0;
M08;
G84 z5.0 F100;
G90 x80.0 y40.0;
x -80.0 y -40.0;
x80.0 y -40.0;
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
121
BORING
100
150
122
G80;
G90 G00 z50.0;
M05;
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
MIRROR
60
10
20
L7 L7
L6 L6
L8
40
L5
60
R10
L8
L5
L2 L2
L4 L4
L3 L1 L1 L3
10
L3 L1 L1 L3
L4 L4
L2 L2
L5 L8 L8 L5
L6 L7 L6
L7
O0001;
N1;
G00 G40 G80 G49;
G28 G91 z0.0;
M06T01;
G90 G54 x0.0 y0.0;
G43 z50.0 H01;
M03 S1000;
G00 z5.0;
M08;
M98 P001 0002;
M70 x0.0 y0.0;
M98 P001 0002;
M71 x0.0 y0.0;
M98 P001 0002;
M70 x0.0 y0.0;
M72
G90 G00 z50.0;
M05;
123
M09;
G28 G91 z0.0;
G28 G91 x0.0 y0.0;
M30;
O0002;
G91;
G01 z -1.0 F50;
G90 G00 x20.0 y0.0;
G02 x40.0 y0.0 R10.0;
G01 x60.0;
x70.0 y10.0;
y50.0;
x60.0 y60.0;
x0.0 y60.0;
x0.0 y0.0;
G00 z5.0;
M99;
124