Basic of CNC Machine For Mechanical Engineer
Basic of CNC Machine For Mechanical Engineer
Practice
NC CNC DNC ANC FMS CAD
CAM CIM
Conventional Machining
Component
Drawing
Process
Planning
Operator
Machine
Product
Advance Machining
Component
Drawing
Process
Planning
Programmer
Product Machine
CNC LATHE (FANUC)
Parts Made by Advanced Machining
Processes
(a)
(b)
1. Start-up Program
2. Profile Program
3. End of the Program
1. Start-up Program
O1000
G21 G98
G28 U0 W0
M06 T1
M03 S1500
G00 X32 Z5
Explanation:
O1000:- While writing a program on FANUC controller first line has to
be started with letter “O” followed by four digit number which specifies the
program number.
G28 U0 W0:- Makes the tool to go to home position. U & W are secondary
movements about x and z axis.
M03 S1500:- Makes the spindle rotation in clockwise with spindle rotates at 1500
RPM
G00 X32 Z5:- G00 gives rapid position of the tool to a point X32 Z5. This is
just above the billet. This point is called as the Tool entry Point.
2. Profile Program:
G28 U0 W0
M05
M30
M62-Output 1 On
M63-Output 2 On
M64-Output 1 Off
M65-Output 2 Off
M66-Wait input 1 On
M67-Wait input 2 On
M76-Wait input 1 Off
M77-Wait input 2 Off
M98-Sub-program Call
M99-Sub-program Exit
G-Codes
G00 Rapid Motion Positioning
G01 Linear Interpolation Motion
G02 CW Circular Interpolation Motion / G03 CCW
Circular Interpolation Motion
G04 Dwell
G10 Set Offsets
G17 XY Plane, G18 ZX Plane and G19 YZ Plane
G18 ZX Plane Selection
G18 ZX Plane Selection
G20 Select Inches / G21 Select Metric
G-Codes
G28 Return To Machine Zero, set optional G29
Reference point
G40 Tool Nose Compensation Cancel
G41 Tool Nose Compensation Left / G42 TNC Right
G70 Finishing Cycle
G71 O.D./I.D. Stock Removal Cycle
G72 End Face Stock Removal Cycle
G73 Irregular Path Stock Removal Cycle
G74 End Face Grooving Cycle, Peck Drilling
G75 O.D./I.D. Grooving Cycle
G76 Threading Cycle, Multiple Pass
G-Codes
G90 O.D./I.D. Turning Cycle
G92 Threading Cycle
G94 End Facing Cycle
G95 Live Tooling Rigid Tap (Face)
G96 Constant Surface Speed ON
G97 Constant Surface Speed OFF
G98 Feed Per Minute
G99 Feed Per Revolution
G00: Fast Traverse
G01: Linear Traverse
G02 CW Circular Interpolation Motion / G03 CCW
Circular Interpolation Motion
Work Part Zero Procedure
CHUCK
WORKPIECE
TOOL
Facing Cycle (G94)
G94 X Z F
G90 X Z F