Professional Documents
Culture Documents
Producing Planning
Program Proving
Component production
5
CNC MACHINING in level 7, Semester I-
2023/2024
Difference between CNC and NC Machine:
NC MACHINE CNC MACHINE
CNC stands Computer Numerically Control
NC stands the Numeric control machine.
Machine.
This is not software driven. This is software driven machine.
It can imports CAD file and convert into part
It can not imports CAD files.
programming.
Operation parameter cannot be change. Operation parameter can be change.
It stores in Punch cards Memory. Directly stores in computer memory.
This machine can run for 24 hours
Machine cannot run continuously.
continuously.
Less flexibility or Computational ability. CNC machine having High.
This machine takes less time as compared
Takes more time for executing the program.
to NC machine.
High skill operator requires to operate NC The semi-skilled operators can perform the
machines. operation on a CNC machine.
Less maintenance. High maintenance.
The maintenance cost is less. The maintenance cost is more.
CNC MACHINING in level 7, Semester I- 2023/2024 6
Machining cost is less. Machining cost ismore.
Use of CNC machines
CNC machining comes with several benefits. The most
widely accepted benefits across several industries include the
following:
1. Higher flexibility and repeatability
2. Reduced indirect costs
3. Increased productivity
4. Consistent quantity
5. Reliable operation
6. Reduced non-productive time
7. Higher accuracy
8. Reduced lead time
9. Automatic material handling
Digitally signed
by
NZAYIRAMBAHO
JEAN MARIE
VIANNEY
Date: 2024.02.07
14:11:33 +02'00'
Limitations of NC:
o Relatively high initial cost of equipment.
o Need for part programming.
o Special maintenance requirements.
o More costly breakdowns.
4. Driving System:
o The driving system of a CNC machine consists of amplifier circuits, drive motors and ball
lead screw.
o The MCU feeds the signals (i.e. of position and speed) of each axis to the amplifier circuits.
o The control signals are than augmented (increased) to actuate the drive motors.
o The requirement is that the driving system has to response accurately according to the
programmed instructions
o And the actuated drive motors rotate the ball lead screw to position the machine table.
o Three types of electrical motors are commonly used.
Gang milling:
o Gang milling refers to milling operations which employ two or more cutters—typically of varying size,
shape, or width—on the same machine arbor.
o Each cutter can perform the same cutting operation, or a different one, simultaneously, which produces
more intricate designs and complex parts in shorter production times.
Profile milling:
o refers to milling operations in which the machine tool creates a cut path along a vertical or angled
surface on the workpiece.
o This process employs profile milling equipment and cutting tools which can be either parallel or
perpendicular to the workpiece’s surface.
Gear cutting:
o a milling operation which employs involute gear cutters to produce gear teeth.
o These cutters, a type of formed milling cutters, are available in various shapes and pitch sizes
depending on the number of teeth necessary for the particular gear design.
o A specialized lathe cutter bit can also be employed by this process to produce gear teeth.
Since milling machines support the use of other machine tools besides milling tools, they can be
used for machining processes other than milling, such as drilling, boring, reaming, and tapping.
1. Machine interface
2. Column
3. Knee
4. Saddle
5. Worktable
6. Spindle
7. Arbor
8. Ram
9. Machine tool
•Capable of operating on materials ranging from aluminum and composite board to foam, PCB, and
wood
•Suitable for advertising design, art creating, medical equipment creating, technology research, hobby
4 prototype building, and industrial applications
•Greater functionality than 3-axis machines (A)
•Higher levels of precision and accuracy than 3-axis machines (A)
•More complex machine setup 3-axis machines (D)
•More expensive than 3-axis machines (D)
Collets can be replaced every two to three months if they are used continuously throughout
the day.
oA worn collet will cause your tooling to wander, which affects the quality of the production
and the life of the cutting tool.
1. DNC uses a central control and in an event of computer failure, the complete activities
of the machine shop would come to a standstill.
2. DNC is expensive and its use is practical in areas where high automation is required.
When planning a specialized drawing for CNC machining, there are a few
particular highlights that will have to be included.
These include:
1.Tolerances for particular zones
2. Hole callouts
3.Thread determinations
4.Leave Detailed Notes
Codes are either modal, which means they remain in effect until cancelled
or changed, or non-modal, which means they are effective only in the
current block. As you can see, many of the letter addresses are chosen in
a logical manner (T for tool, S for spindle, F for feed rate, etc.).
Until the 2000s, the V address was very rarely used, because most
lathes that used U and W didn’t have a Y-axis, so they didn’t use V.
Incremental axis corresponding (Green et al 1996 did not even list V in their table of addresses.) That
V
to Y axis is still often the case, although the proliferation of live lathe tooling
and turn-mill machining has made V address usage less rare than it
used to be (Smid2008 shows an example).
Coordinate data for the X-axis. Up to four places after the decimal are
allowed and trailing zeros are not used. Coordinates are modal, so
Absolute or incremental
X there is no need to repeat them in subsequent blocks if they do not
position ofX axis.
change.
G01 X2.250F20.
Absolute or
Coordinate data for the Y-axis.
Y incremental position of
G01 Y2.250 F20.
Y axis
Absolute or
Z incremental position of Coordinate data for the Z-axis.
Z axis
G04: Dwell
To move to the part zero, we might issue a command like this:
o G00 X0 Y0 Z0 Or use G01 if you want to go slower G01 X0 Y0 Z0 F40.
Interpolated motion or an interpolated move, When we specify multiple coordinates on a line, means
more than one axis of the machine is moving at the same time.
o In fact, the controller will move them all at exactly the right speed relative to one another so that the cutter follows
a straight line to the destination and moves at the feed rate.
CNC MACHINING in level 7, Semester I- 2023/2024 172
Linear Motion is Straight Line Motion:
If we specify the same destination, but spread the coordinates over multiple lines, each line is a separate move:
o G00 X0 Y0 (Move to X0 Y0 in one move, keeping Z constant)
o Z0 (Move to Z0 in one move, keeping X and Y constant)
o G00 and G01 are modal, so we only have to specify them when we want to change modes.
Z Axis:
o The concept of interpolated moves raises an interesting issue for the Z axis.
o It’s often a good idea to move the depth-of-cut-axis on its own, rather than as coordinated motion
with other axes(X and Y).
o Whether you’re going to have a problem (collision) as the cutter gets close to the workpiece and
fixturing.
o First moving in X and Y and then moving in Z , it’s much easier to judge whether an accidental collision
is about to take place.
o You’re also much less likely to hit some random object sticking up, like a clamp, if you keep the cutter
high until you’re directly over where you want to start cutting.
X2Y0 I0J-2.0
Plane Designation
The TLO is combined with the active fixture offset on the control so the machine
knows where the tip of the tool is in relation to the part datum.
G43 H1 Z1.
1. CHARACTER : A single alphanumeric character value or the "+" and "-" sign.
2. WORD : A series of characters defining a single function such as a, "X" displacement,
an "F" feedrate, or G and M codes. A letter is the first character of a word for each of the
different commands. There may be a distance and direction defined for a word in a
program. The distance and direction in a word is made up of a value, with a plus (+) or
minus (-) sign. A plus (+) value is recognized if no sign is given in a word.
3. BLOCK : Series of words defining a single instruction. An instruction may consist of a
single linear motion, a circular motion or canned cycle, plus additional information such
as a feedrate or miscellaneous command (M-codes).
4. POSITIVE SIGNS : If the value following an address letter command such as A, B, C,
I, J, K, R, U, V, W, X, Y, Z, is positive, the plus sign need not be programmed in. If it has
a minus value it must be programmed in with a minus (-) sign.
5. LEADING ZERO'S : If the digits proceeding a number are zero, they need not be
programmed in. The control will automatically enter in the leading zero's.
EXAMPLE: G0 for G00 and M1 for M01, Trailing zeros must be programmed: M30 not
M3, G70 not G7.
6. MODAL COMMANDS : Codes that are active for more than the line in which they are
issued are called MODAL commands. Rapid traverse, feedrate moves, and canned
cycles are all examples of modal commands. A NON-MODAL command which once
called, are effective only in the calling block, and are then immediately forgotten by the
CNC MACHINING in level 7, Semester I-
control.
2023/2024
189
Block of Information
CNC information is generally programmed in blocks of five words.
oEach word conforms to the EIA standards and they are written on a
horizontal line.
oIffive complete words are not included in each block, the machine
control unit (MCU) will not recognize the information, therefore the
control unit will not be activated.
1. N001 represents the sequence
number of the operation.
2. G01 represents linear interpolation
3. X12345 will move the table 1.2345
in. in a positive direction along the
X axis.
4. Y06789 will move the table 0.6789
in. along the Y axis.
5. M03 Spindle on CW.
Start-up
Phase 2 –Material Removal
Body
N20 G00 X1 Y1; (Rapid to X1, Y1 from origin point)
End of program
N25 Z0.125;(Rapid down to Z0.125)
N30 G01 Z-0.125 F5; (Feed down to Z-0.125 at 5 ipm)
N35 G01 X2 Y2; (Feed diagonally to X2, Y2)
N40 G00 Z1; (Rapid up to Z1)
N45 X0 Y0; (Rapid to X0, Y0)
5”
2.5”
p4
p2 p3 p5
1”
5”
45°
(4, 4)
p1
p0 (2, 2)
CNC MACHINING in level 7, Semester I-
195
2023/2024
Three Major Phases of a CNC Program
In this case, we will use the upper left corner of the workpiece as our work coordinate system.
o Notice this puts our work in the fourth quadrant.
o All of our X values will be positive and all of our Y values will be negative.
o Our Z axis origin is located at the top surface of the block.
o This will give all our cutting depths negative Z values.
o It has chosen to use the forth quadrant because of the type of work holding are using.
o Our work is being held in a vise that has one fixed jaw and one movable jaw.
o If we locate the origin on something more or less permanent, we won’t have to go through
the as many steps when we tell the machine tool where to put the origin each time.
It is worth noting that the programmer has the
choice of where to locate the origin, but little choice
over the direction of the axes.
o These are established by the physical arrangement
of the machine.
o Now that we are satisfied with the location of our
origin, we need to let the machine know where it is.
o This will be done setting the work coordinate system
offsets.
CNC MACHINING in level 7, Semester I- 2023/2024 201
G54-G59 – Work Coordinate System Offsets
Each machine tool has built into a coordinate system that is defined by the geometry of
the machine.
o The machine “knows” where it is within its own coordinate system by a series of limit switches and
encoders that are located on each of the axes.
o When they are powered up, most machines go through a homing cycle in in which they move each
axis until it hits a limit switch.
o The coordinate system that is built into the machine is called the machine coordinate system.
CAM
CAE
Other CNC programming Software
G-Code editors
Debuggers
Simulators
Verifiers
2. Canned cycles
Most of these parameters control efficiency. For example, the machining center chip-breaking peck
drilling cycle (G73) has a parameter that controls retract amount between pecks.
The larger this value, the more time it will take to machine a hole.
In similar fashion, the deep-hole pecking cycle has a parameter that controls the clearance amount
between pecks.
Also, the turning center multiple repetitive cycle for rough turning and boring (G71) has a parameter
that controls how far the tool will retract (still feeding) between roughing passes.
3. Data entry
A parameter controls whether a value without a decimal point will be taken as a whole number or with
fixed format.
If set to a whole number, a coordinate value of 10 in the inch mode will be taken as 10 inches. In fixed-
format mode, it will be taken as 0.0010 inch.
This can affect program compatibility among machines and operator entries when making sizing
adjustments.
Another parameter sets the maximum size of a wear offset adjustment.
Having this parameter set to 0.02 inch, for example, can help minimize operator entry mistakes.
With the G73 peck drilling retract amount for example, it may be necessary to use a
setting of 0.005 inch for one cutting tool in a program and 0.010 inch for another.
o FANUC CNCs utilize the data setting command (G10) for this purpose.
1:
o Gluing is still a very easy and popular solution for work holding. It can be useful
for both flat and irregularly shaped materials.
o It can potentially offer a higher degree of strength than carpet tape while
eliminating the need for work holding tabs.
o Removing parts from the bed will require a paint scraper or manual peeling.
Glues are particularly useful for prototype machining and plastics.
Pros:
o Multiple pieces can be glued to the table in one
go, which is less work for operators.
o It is an efficient method for creating plastic or
aluminum prototypes.
Cons:
o There is a chance that the workpiece will peel off.
o It is also possible to damage the parts when
taking them off.
CNC MACHINING in level 7, Semester I- 2023/2024 263
Workpiece loading for CNC machining (Cont’s)
Bolting
o Bolts are a great way to hold the workpiece down for machining by using the T-
shape table directly.
o Frankly, adding an aluminum block is even a better idea, because it is easy to
create thread holes wherever needed.
o Thread holes go hand in hand with clamps and allow for better leveling and
stability.
o Items used for bolting materials down include T-nuts, studs and flange nuts. Bolts and nuts
can be particularly useful if a work surface has threaded inserts instead of T-slots.
o Jigs can guide the tool path and vastly improve product quality, but they
are only necessary when absolute stability is needed.
The workpiece is typically slid or dropped into the jig and held in place
with one or two quick clamps.
o Pros: Custom jigs can be tailored for extra large or irregular workpieces,
reducing setup times and guaranteeing stability.
As a CNC machinist, you are requested to machine that stepped shaft from steel of a 250 mm diameter
blank and 600 mm long. The machined shaft must consist of two solid circular segments. The larger
segment of shaft must have a diameter of 60 mm and length of 250 mm; the smaller segment of a 40 mm
diameter and length of 150 mm.
- Absolute programming
- Spindle speed is 750 rev/min
- Feed rate is 225 mm/min
- F0 is rapid feed rate
- X values are radii
Tasks: