SlideShare a Scribd company logo
1 of 69
CNC TURNINGCNC TURNING
(FANUC SYSTEM)(FANUC SYSTEM)
 INTRODUCTIONINTRODUCTION
 FUNDAMENTAL PRINCIPLESFUNDAMENTAL PRINCIPLES
 INSTRUCTIONINSTRUCTION
1. INTRODUCTION1. INTRODUCTION
 Ways of TurningWays of Turning
 Parts of CNC MachineParts of CNC Machine
 Working Methods of CNCWorking Methods of CNC
Ways of TurningWays of Turning
 Conventional or TraditionalConventional or Traditional
 Numerical Control (NC)Numerical Control (NC)
 Computer Numerical Control (CNC)Computer Numerical Control (CNC)
Difficulties with Conventional SystemDifficulties with Conventional System
 Complex shapes are difficult to machineComplex shapes are difficult to machine
 Depends on the human skillDepends on the human skill
 Frequent & repeated measurements are requiredFrequent & repeated measurements are required
 Difficult to achieve consistency in product qualityDifficult to achieve consistency in product quality
 High Changeover TimeHigh Changeover Time
 Less productive hoursLess productive hours
 More scrap is generatedMore scrap is generated
Current Market DemandCurrent Market Demand
 High quality productsHigh quality products
 atat  Lowest costLowest cost
 inin  Minimum timeMinimum time
 withwith  wide range of varietywide range of variety
Answer to the above is NC System
Parts of NC/CNC MachineParts of NC/CNC Machine
 Programming UnitProgramming Unit
 Machine Control UnitMachine Control Unit
 Machine Tool UnitMachine Tool Unit
NCNC
CNCCNC
Programming UnitProgramming Unit
 ProgrammerProgrammer
 Computer systemComputer system
 User Interface deviceUser Interface device
 Data Storage and Transfer facilityData Storage and Transfer facility
Machine Control UnitMachine Control Unit
 Tape ReaderTape Reader
 Data BufferData Buffer
 Signal Output Channels to Machine ToolSignal Output Channels to Machine Tool
 Feedback channels from the Machine ToolFeedback channels from the Machine Tool
Machine ToolMachine Tool
 StructureStructure
 Extra RigidExtra Rigid
 Easy chip disposal System, eg: Use of Slant BedEasy chip disposal System, eg: Use of Slant Bed
 Thermal ResistantThermal Resistant
 DrivesDrives
 AC Induction motorsAC Induction motors
 DC motorsDC motors
Machine ToolMachine Tool
 Actuation SystemActuation System
 Stepper motor/servomotorStepper motor/servomotor
 Ball Screw & nut with support bearingBall Screw & nut with support bearing
 Feed back devices on closed loop systemFeed back devices on closed loop system
 Linear BearingLinear Bearing
 Tool & Work handling DevicesTool & Work handling Devices
 Automatic Tool Changers (ATCs)Automatic Tool Changers (ATCs)
 Turret HeadTurret Head
 Automatic Pallet ChangersAutomatic Pallet Changers
 Hydraulic/Pneumatic Tool/Work Clamping SystemHydraulic/Pneumatic Tool/Work Clamping System
2. Fundamental Principles2. Fundamental Principles
 Coordinate SystemCoordinate System
 Longitudinal MotionLongitudinal Motion
 Transverse MotionTransverse Motion
 Dimensioning SystemDimensioning System
 AbsoluteAbsolute
 IncrementalIncremental
 MixedMixed
 Reference SystemReference System
 Machine ReferenceMachine Reference
 Work ReferenceWork Reference
Instruction or programInstruction or program
 IntroductionIntroduction
N 10N 10 G 00G 00 X 50.0X 50.0 Z 25.0 ;Z 25.0 ; Block
Block No. Words End of Block
G 00
Address
Data
Layout of a CNC ProgramLayout of a CNC Program
[BILLET X 25.0 Z 60.0; [Size of raw Material[BILLET X 25.0 Z 60.0; [Size of raw Material
G99 G21 S500 M13;G99 G21 S500 M13; [ Setting Cutting Condition[ Setting Cutting Condition
G28 U0 W0;G28 U0 W0; [ Ref. Point Return[ Ref. Point Return
M06 T0101;M06 T0101; [ Tool Call[ Tool Call
G00 X 25.0 Z 2.0;G00 X 25.0 Z 2.0; [Positioning[Positioning
………… [ Path Definition[ Path Definition
………… or Cycle Utilityor Cycle Utility
or Subroutine Utilityor Subroutine Utility
G28 U 0 W0;G28 U 0 W0; [ Return to Ref. Point[ Return to Ref. Point
M30;M30; [ End of Program[ End of Program
Header
Body
End
Linear Path FunctionLinear Path Function
 G00G00  Rapid Linear MovementRapid Linear Movement
 G01G01  Linear Movement withLinear Movement with
Programmed Feed RateProgrammed Feed Rate
Writing FormatWriting Format
G00G00 X 50.0 Z2.0;X 50.0 Z2.0;
G01 X 50.0 Z2.0 F0.1;G01 X 50.0 Z2.0 F0.1;
Example ProgramExample Program
[BILLET X55.0 Z40.0;[BILLET X55.0 Z40.0;
G99 G21 G40;G99 G21 G40;
S1000 M13;S1000 M13;
M06 T0101;M06 T0101;
G00 X55.0 Z2.0;G00 X55.0 Z2.0;
G01 X55.0 Z0.0 F0.2;G01 X55.0 Z0.0 F0.2;
G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1;
G00 X 55.0 Z2.0;G00 X 55.0 Z2.0;
G00 X20.0;G00 X20.0;
G01 X20.0 Z-10.0 F0.1;G01 X20.0 Z-10.0 F0.1;
G01 X40.0 Z-10.0;G01 X40.0 Z-10.0;
G01 X40.0 Z-25.0;G01 X40.0 Z-25.0;
G01 X50.0 Z-25.0;G01 X50.0 Z-25.0;
G01 X50.0 Z-35.0;G01 X50.0 Z-35.0;
G01 X55.0 Z-35.0;G01 X55.0 Z-35.0;
G00 X55.0 Z2.0;G00 X55.0 Z2.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
0,0
Circular Path FunctionCircular Path Function
 G02G02  Circular Movement Clockwise (CW)Circular Movement Clockwise (CW)
 G03G03  Circular Movement Counter ClockCircular Movement Counter Clock
Wise (CCW)Wise (CCW)
G03 X 25.0 Z-10.0 R5.0 F0.1;G03 X 25.0 Z-10.0 R5.0 F0.1;
Writing FormatWriting Format
G02 X 25.0 Z-10.0 R5.0 F0.1;G02 X 25.0 Z-10.0 R5.0 F0.1;
Example ProgramExample Program
[BILLET X55.0 Z40.0;[BILLET X55.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
M06 T0101;M06 T0101;
G00 X38.0 Z2.0;G00 X38.0 Z2.0;
G01 X38.0 Z0.0 F0.2;G01 X38.0 Z0.0 F0.2;
G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1;
G00 X 38.0 Z2.0;G00 X 38.0 Z2.0;
G00 X10.0;G00 X10.0;
G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1;
G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0;
G01 X18.0 Z-19.0;G01 X18.0 Z-19.0;
G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0;
G01 X24.0 Z-30.0;G01 X24.0 Z-30.0;
G01 X38.0 Z-30.0;G01 X38.0 Z-30.0;
G00 X38.0 Z2.0;G00 X38.0 Z2.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Example ProgramExample Program
G00 X55.0 Z2.0;G00 X55.0 Z2.0;
G01 X55.0 Z0.0 F0.2;G01 X55.0 Z0.0 F0.2;
G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1;
G00 X 55.0 Z2.0;G00 X 55.0 Z2.0;
G00 X20.0;G00 X20.0;
G01 X20.0 Z-10.0 F0.1;G01 X20.0 Z-10.0 F0.1;
G01 X40.0 Z-10.0;G01 X40.0 Z-10.0;
G01 X40.0 Z-25.0;G01 X40.0 Z-25.0;
G01 X50.0 Z-25.0;G01 X50.0 Z-25.0;
G01 X50.0 Z-35.0;G01 X50.0 Z-35.0;
G01 X55.0;G01 X55.0;
G00 X55.0 Z2.0;G00 X55.0 Z2.0;
(56.0, 2.0)(56.0, 2.0)
(0, 0)(0, 0)
(56.0, 0.0)(56.0, 0.0)
(20.0, 2.0)(20.0, 2.0)
(20.0, -10)(20.0, -10)
(40.0, -10)(40.0, -10)
(40.0, -25.0)(40.0, -25.0)
(50.0, -25.0)(50.0, -25.0)
(50.0, -35.0)(50.0, -35.0)
(56.0, -35.0)(56.0, -35.0)
Various Important AddressesVarious Important Addresses
 O: Used to represent program numberO: Used to represent program number
 N: Used to represent Block NumberN: Used to represent Block Number
 G: Are known as preparatory codes, used to prepare the machineG: Are known as preparatory codes, used to prepare the machine
for a particular function.for a particular function.
 X, Y, Z : Represents Absolute coordinatesX, Y, Z : Represents Absolute coordinates
 U, V, W: Represents Incremental coordinatesU, V, W: Represents Incremental coordinates
 I, J, K: Specifies coordinate of centre of arcI, J, K: Specifies coordinate of centre of arc
 R: Represents radius of arcR: Represents radius of arc
 S: Represents Spindle SpeedS: Represents Spindle Speed
 T: Specifies Tool NumberT: Specifies Tool Number
 M: Miscellaneous FunctionsM: Miscellaneous Functions
 P, Q: Used to represent start & end block number in a subroutineP, Q: Used to represent start & end block number in a subroutine
cycle.cycle.
 F: Represents FeedF: Represents Feed
G71 (Turning Cycle)G71 (Turning Cycle)
Writing Format
G71 U1.0 R1.0;
G71 P10 Q20 U0.5 W 0.5 F0.25;
N10 G00 X…..;
…….
…….
…….
N20 ……..;
G70 P10 Q20 F0.15;
1st
Line of G71:
U – Specifies the depth of cut in each pass
R – Retract amount after every pass
2nd
Line of G71:
P – Specifies the start block number
Q – Specifies the end block number
U – Specifies the finishing allowance in X
W – Specifies the finishing allowance in Z
G70 – Finishing Pass
Example ProgramExample Program
……
N10 G00 X38.0 Z2.0;
N20 G71 U1.5 R0.5;
N30 G71 P40 Q130 U0.5 W0.2 F0.35;
N40 G01 X16.0;
N50 G01 Z0.5;
N60 G01 X20.0 Z 1.5;
N70 G01 Z-30.0;
N80 G01 X 23.0;
N90 G03 X25.0 Z-24.0 R1.0;
N100 G01 X30.0 Z-65.0;
N110 G01 Z-75.0;
N120 G02 X36.0 Z-77.0 R3.0;
N130 G01 X38.5;
N140 G70 P40 Q 130;
….
Example ProgramExample Program
[BILLET X38.0 Z40.0;[BILLET X38.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
M06 T0101;M06 T0101;
G00 X39.0 Z2.0;G00 X39.0 Z2.0;
G01 X38.0 Z0.0 F0.2;G01 X38.0 Z0.0 F0.2;
G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1;
G00 X 38.0 Z2.0;G00 X 38.0 Z2.0;
G71 U1.0 R0.5;G71 U1.0 R0.5;
G71 P10 Q20 U0.5 W0.1 F0.35;G71 P10 Q20 U0.5 W0.1 F0.35;
N10N10 G00 X10.0;G00 X10.0;
G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1;
G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0;
G01 X18.0 Z-19.0;G01 X18.0 Z-19.0;
G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0;
G01 X24.0 Z-30.0;G01 X24.0 Z-30.0;
N20N20 G01 X39.0 Z-30.0;G01 X39.0 Z-30.0;
G70 P10 Q20;G70 P10 Q20;
G00 X39.0 Z2.0;G00 X39.0 Z2.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Types of InstructionsTypes of Instructions
1. Movement Instruction
• G00, G01, G02, G03
2. Machine Instruction
• M00, M02, M03, M04, M05, M06, M08, M09, M30
3. Tool Instruction
• T0101
4. Technological Instruction
• Cutting Speed
• Spindle Speed
• Feed
5. Dimensional Instruction
• Metric
• Inch
G- CodesG- Codes
 G28: Return to Machine Reference PointG28: Return to Machine Reference Point
Writing Format: G28 U0 W0;Writing Format: G28 U0 W0;
 G20: Programming in InchesG20: Programming in Inches
 G21: Programming in Metric (mm)G21: Programming in Metric (mm)
M-CodesM-Codes
 M00: Program Stop, starts again when cycle start is pressedM00: Program Stop, starts again when cycle start is pressed
 M01: Optional StopM01: Optional Stop
 M02: Program ResetM02: Program Reset
 M30: Program Reset & RewindM30: Program Reset & Rewind
 M03: Spindle Start in Clockwise DirectionM03: Spindle Start in Clockwise Direction
 M04: Spindle Start in Anti Clockwise DirectionM04: Spindle Start in Anti Clockwise Direction
 M05: Spindle StopM05: Spindle Stop
 M06: Command Tool ChangeM06: Command Tool Change
 M07/M08: Coolant ONM07/M08: Coolant ON
 M09: Coolant OFFM09: Coolant OFF
 M10: Chuck OpenM10: Chuck Open
 M11: Chuck CloseM11: Chuck Close
 M13: Spindle ON (CW) & Coolant onM13: Spindle ON (CW) & Coolant on
 M14: Spindle ON (CCW) & Coolant onM14: Spindle ON (CCW) & Coolant on
 M25: Tailstock Quill ExtendM25: Tailstock Quill Extend
 M26: Tailstock Quill RetractM26: Tailstock Quill Retract
 M98: Subprogram CallM98: Subprogram Call
 M99: Return to Main ProgramM99: Return to Main Program
G72 (Facing Cycle)G72 (Facing Cycle)
Writing Format
G72 W1.0 R1.0;
G72 P10 Q20 U0.5 W 0.5 F0.25;
N10 G00 X…..;
…….
…….
N20 ……..;
G70 P10 Q20 F0.15;
1st
Line of G72:
W – Specifies the depth of cut in each pass
(in Z Direction)
R – Retract amount after every pass
2nd
Line of G71:
P – Specifies the start block number
Q – Specifies the end block number
U – Specifies the finishing allowance in X
W – Specifies the finishing allowance in Z
G70 – Finishing Pass
Example ProgramExample Program
[BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
M06 T0101;M06 T0101;
G00 X29.0 Z2.0;G00 X29.0 Z2.0;
G72 W0.5 R0.5;G72 W0.5 R0.5;
G72 P40 Q50 U0.5 W0.1 F0.35;G72 P40 Q50 U0.5 W0.1 F0.35;
N40N40 G00 Z-33.0;G00 Z-33.0;
G01 X25.0 Z-33.0;G01 X25.0 Z-33.0;
G01 X25.0 Z-23.0;G01 X25.0 Z-23.0;
G01 X22.0 Z-23.0;G01 X22.0 Z-23.0;
G01 X16.0 Z-8.0;G01 X16.0 Z-8.0;
G01 X14.0 Z-8.0;G01 X14.0 Z-8.0;
G03 X8.0 Z-5.0 R3.0;G03 X8.0 Z-5.0 R3.0;
G01 X8.0 Z-2.0;G01 X8.0 Z-2.0;
G01 X4.0 Z0.0;G01 X4.0 Z0.0;
N50N50 G01 X0.0 Z0.0;G01 X0.0 Z0.0;
G70 P40 Q50 F0.15;G70 P40 Q50 F0.15;
G00 X29.0 Z2.0;G00 X29.0 Z2.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Tool OffsetTool Offset
The Distance traveled by the tool cutting edge from the machineThe Distance traveled by the tool cutting edge from the machine
reference point to the work reference point in a particular axis isreference point to the work reference point in a particular axis is
termed as “Tool Offset”. For turning tool offset is measured intermed as “Tool Offset”. For turning tool offset is measured in
both the directions i.e. ‘X’ & ‘Z’.both the directions i.e. ‘X’ & ‘Z’.
Modal & Non Modal G-CodesModal & Non Modal G-Codes
 The G-Codes whose effect continue in theThe G-Codes whose effect continue in the
program once specified until it is cancelled orprogram once specified until it is cancelled or
overridden by another code are known asoverridden by another code are known as
“MODAL”. Eg: G00, G01, G02, G03 etc.“MODAL”. Eg: G00, G01, G02, G03 etc.
 The G-Codes whose effect only in the block whereThe G-Codes whose effect only in the block where
it is defined are known as Non-Modal Codes. Eg:it is defined are known as Non-Modal Codes. Eg:
G04G04
Groups of G-Codes
Group ‘0’ : G04, G10, G27, G28, G29, G30, G31
G50, G65, G72, G73, G74, G75, G76
Group ‘1’ : G00, G01, G02, G03, G90, G92, G94
Group ‘2’ : G66, G67, G96, G97
Group ‘4’ : G70, G71
Group ‘6’ : G20, G21
Group ‘7’ : G40, G41, G42
Group ’11’ : G98, G99
 The G-Codes are grouped under various groups.The G-Codes are grouped under various groups.
Each group contains similar kind of codes and theirEach group contains similar kind of codes and their
effect can only be overcome/nullified by the use ofeffect can only be overcome/nullified by the use of
another code of same group.another code of same group.
Centre Drilling Cycle (G81)Centre Drilling Cycle (G81)
[BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G28 U0 W0;G28 U0 W0;
M06 T0202;M06 T0202;
G00 X0.0 Z2.0;G00 X0.0 Z2.0;
G81 Z-5 F0.1;G81 Z-5 F0.1;
G28 U0 W0;G28 U0 W0;
M30;M30;
Peck Drilling Cycle (G74)Peck Drilling Cycle (G74)
[BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G28 U0 W0;G28 U0 W0;
M06 T0303;M06 T0303;
G00 X0.0 Z2.0;G00 X0.0 Z2.0;
G74 R10.0;G74 R10.0;
G74 Z-68.0 Q20000 F0.05;G74 Z-68.0 Q20000 F0.05;
G28 U0 W0;G28 U0 W0;
M30;M30;
R = Retraction amount after every depth
Z = Depth of Cut
Q = Peck Increment (in micron)
F = Feed Rate
Different Modes of MachiningDifferent Modes of Machining
 Reference Mode or Home ModeReference Mode or Home Mode
Tasks: Returns the turret to the machine reference/home pointTasks: Returns the turret to the machine reference/home point
 Manual or Jog ModeManual or Jog Mode
Continuous JogContinuous Jog
Incremental JogIncremental Jog
Hand wheel JogHand wheel Jog
Tasks: Move the Axes, Start & stop spindle rotation at aTasks: Move the Axes, Start & stop spindle rotation at a
predefined speed, Coolant On & Off, Turret indexing inpredefined speed, Coolant On & Off, Turret indexing in
machine defined default direction one station on push ofmachine defined default direction one station on push of
button.button.
Different Modes of MachiningDifferent Modes of Machining
 Manual Data Input (MDI) ModeManual Data Input (MDI) Mode
Tasks: Single or few line simple program can beTasks: Single or few line simple program can be
written temporarily and executed only once. Afterwritten temporarily and executed only once. After
executing the written lines of program are deleted fromexecuting the written lines of program are deleted from
the machine memory.the machine memory.
 Auto ModeAuto Mode
Continuous AutoContinuous Auto
Runs the complete program from beginning to the endRuns the complete program from beginning to the end
once the cycle start button is pressed.once the cycle start button is pressed.
Single AutoSingle Auto
Runs the program block by block i.e. only one block ofRuns the program block by block i.e. only one block of
the program is executed by pressing the cycle startthe program is executed by pressing the cycle start
button once.button once.
Feed (Method Selection)Feed (Method Selection)
1.1. mm/minutemm/minute
2.2. mm/revolutionmm/revolution
During Lathe working the feed of the tool can be defined by twoDuring Lathe working the feed of the tool can be defined by two
different Methods.different Methods.
While programming on CNC Machine the feed methods can beWhile programming on CNC Machine the feed methods can be
selected by:selected by:
1.1. mm/minutemm/minute :: G98G98
2.2. mm/revolutionmm/revolution :: G99G99
Step Boring Cycle (G90)Step Boring Cycle (G90)
[BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G28 U0 W0;G28 U0 W0;
M06 T0404;M06 T0404;
G00 X12.0 Z2.0;G00 X12.0 Z2.0;
G90 X14.0 Z-30.0 F0.1;G90 X14.0 Z-30.0 F0.1;
X16.0;X16.0;
X18.0;X18.0;
X19.0;X19.0;
X21.0 Z-20;X21.0 Z-20;
X23;X23;
X24.0;X24.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Grooving Cycle (G81)Grooving Cycle (G81)
[BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G28 U0 W0;G28 U0 W0;
M06 T0505;M06 T0505;
G00 X52.0 Z2.0;G00 X52.0 Z2.0;
G01 Z-15.0 F0.3;G01 Z-15.0 F0.3;
G81 X30.0 F0.02;G81 X30.0 F0.02;
G01 Z-30.0;G01 Z-30.0;
G81 X20.0;G81 X20.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Profile Boring Cycle (G71)Profile Boring Cycle (G71)
[BILLET X40.0 Z40.0;[BILLET X40.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G28 U0 W0;G28 U0 W0;
M06 T0404;M06 T0404;
G00 X15.0 Z2.0;G00 X15.0 Z2.0;
G71 U0.5 R0.5;G71 U0.5 R0.5;
G71 P25 Q45 U-0.5 W0.1 F0.2G71 P25 Q45 U-0.5 W0.1 F0.2
N25 G01 X35.0;N25 G01 X35.0;
G01 X35.0 Z-10.0;G01 X35.0 Z-10.0;
G01 X30.0 Z-10.0;G01 X30.0 Z-10.0;
G02 X18.0 Z-16.0 R6.0;G02 X18.0 Z-16.0 R6.0;
G01 Z-30.0;G01 Z-30.0;
N45 G01 X15.0;N45 G01 X15.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Pattern Repeating Cycle (G73)Pattern Repeating Cycle (G73)
[BILLET X55.0 Z50.0;[BILLET X55.0 Z50.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G28 U0 W0;G28 U0 W0;
M06 T0101;M06 T0101;
G00 X56.0 Z4.0;G00 X56.0 Z4.0;
G73 U4 W3 R10;G73 U4 W3 R10;
G73 P10 Q20 U0.5 W0.5 F0.1G73 P10 Q20 U0.5 W0.5 F0.1
N10N10 G00 X15.0;G00 X15.0;
G01 X15.0 Z0.0;G01 X15.0 Z0.0;
G01 X15.0 Z-20.0;G01 X15.0 Z-20.0;
G01 X25.0 Z-20.0;G01 X25.0 Z-20.0;
G03 X35.0 Z-25.0 R5;G03 X35.0 Z-25.0 R5;
G01 X40.0 Z-25.0;G01 X40.0 Z-25.0;
G01 X40.0 Z-40.0;G01 X40.0 Z-40.0;
N20N20 X50.0 Z-40.0;X50.0 Z-40.0;
G70 P10 Q20;G70 P10 Q20;
G28 U0 W0;G28 U0 W0;
M30;M30;
G73 1ST
Line:
U : Specifies Roughing Material on X-Axis (in Radius)
W: Specifies Roughing Material in Z-Axis
R: Number of Passes.
G73 2nd Line:
U : Specifies Finishing Allowance on X-Axis
W: Specifies Finishing Allowance on Z-Axis
P & Q: Start & End Block Number Respectively
Use of G96, G97 & G50Use of G96, G97 & G50
While Programming for CNC TurningWhile Programming for CNC Turning
(Fanuc)(Fanuc)
 Meaning of G96, G97 & G50Meaning of G96, G97 & G50
 SignificanceSignificance
 Writing FormatWriting Format
 When to useWhen to use
MeaningMeaning
 G96: Specifies constant cutting speed (m/min)G96: Specifies constant cutting speed (m/min)
 G97: Specifies constant spindle RPMG97: Specifies constant spindle RPM
 G50: Limits the maximum Spindle SpeedG50: Limits the maximum Spindle Speed
Cutting Speed & RPMCutting Speed & RPM
 Cutting Speed: It is defined as the speed with which theCutting Speed: It is defined as the speed with which the
periphery of workpiece passes over the cutting edge ofperiphery of workpiece passes over the cutting edge of
the tool. Its unit is m/min. It depends on followingthe tool. Its unit is m/min. It depends on following
quantities:quantities:
 Material of WorkpieceMaterial of Workpiece
 Material of cutting toolMaterial of cutting tool
 RPM: It is the speed with which the spindle is rotating.RPM: It is the speed with which the spindle is rotating.
Its unit is revolutions per minute.Its unit is revolutions per minute.
 The Cutting Speed & RPM are related by the followingThe Cutting Speed & RPM are related by the following
formula:formula:
V =V = ππDN/1000,DN/1000,
where V is Cutting Speed, D is Diameter of Job, Nwhere V is Cutting Speed, D is Diameter of Job, N
is RPM.is RPM.
SignificanceSignificance
 G96 enables the machine to vary the spindle RPM withG96 enables the machine to vary the spindle RPM with
varying diameter which results in:varying diameter which results in:
 Good Surface FinishGood Surface Finish
 Reduced cycle timeReduced cycle time
 Improved tool lifeImproved tool life
 G50: Must be used with G96 to limit the maximumG50: Must be used with G96 to limit the maximum
spindle speed to prevent the extreme cases.spindle speed to prevent the extreme cases.
 G97 enables the machine to work with constant RPM:G97 enables the machine to work with constant RPM:
 In some cases it is desired to have constant RPMIn some cases it is desired to have constant RPM
Writing FormatWriting Format
 Constant Cutting SpeedConstant Cutting Speed
 G50G50 S4000S4000; (here; (here SS represent Limit for maximum spindlerepresent Limit for maximum spindle
speed)speed)
 G96G96 S100S100 M03; (hereM03; (here SS represents the Cutting Speed definedrepresents the Cutting Speed defined
in m/min)in m/min)
 Constant Spindle SpeedConstant Spindle Speed
 G97G97 S2500S2500 M03; (hereM03; (here SS represents constant Spindle Speed)represents constant Spindle Speed)
When to useWhen to use
 G96G96
 Turning & FacingTurning & Facing
 BoringBoring
 GroovingGrooving
 PartingParting
 G97G97
 ThreadingThreading
 DrillingDrilling
Facing Cycle (G94)Facing Cycle (G94)
[BILLET X40.0 Z15.0;[BILLET X40.0 Z15.0;
G99 G21 G40;G99 G21 G40;
G28 U0 W0;G28 U0 W0;
G50 S2500;G50 S2500;
G96 S200 M03;G96 S200 M03;
M06 T0101;M06 T0101;
G00 X41.0 Z1.0;G00 X41.0 Z1.0;
G94 X-1.0 Z0.0 F0.1;G94 X-1.0 Z0.0 F0.1;
X15.0 Z-1.0;X15.0 Z-1.0;
Z-2.0;Z-2.0;
Z-3.0;Z-3.0;
X25.0 Z-4.0;X25.0 Z-4.0;
Z-5.0;Z-5.0;
Z-6;Z-6;
G28 U0 W0;G28 U0 W0;
G97;G97;
M30;M30;
Grooving Cycle (G75)Grooving Cycle (G75)
[BILLET X25.0 Z60.0;[BILLET X25.0 Z60.0;
G99 G21 G40 S500 M13;G99 G21 G40 S500 M13;
G28 U0 W0;G28 U0 W0;
G50 S2500;G50 S2500;
M06 T0505;M06 T0505;
G00 X27.0 Z1.0;G00 X27.0 Z1.0;
G01 Z-10.0 F0.2;G01 Z-10.0 F0.2;
G75G75 R1.0R1.0;;
G75 X20.0G75 X20.0 Z-40.0Z-40.0 P2000P2000 Q15000Q15000 F0.02;F0.02;
G28 U0 W0;G28 U0 W0;
M30;M30;
P: Depth of Cut in X-AxisP: Depth of Cut in X-Axis
Q: Distance Between two consecutive groove in Z-axisQ: Distance Between two consecutive groove in Z-axis
R: Retraction after each depth of cutR: Retraction after each depth of cut
Z: Total distance in Z-axis for groovingZ: Total distance in Z-axis for grooving
ThreadingThreading
Crest
Root
ThreadingThreading
Calculation for Thread Height:
h = 0.61343 x pitch
Core Diameter, d = D – 2x h
Requirements for ThreadingRequirements for Threading
 Select Proper Cutting Tool: Angle & Shape ofSelect Proper Cutting Tool: Angle & Shape of
cutting tool should be same as that of the cross-cutting tool should be same as that of the cross-
section of thread.section of thread.
 Make Chamfer prior to threading: At the start ofMake Chamfer prior to threading: At the start of
thread.thread.
 Make Groove prior to threading: At the end ofMake Groove prior to threading: At the end of
thread.thread.
Threading Cycle (G92)Threading Cycle (G92)
[BILLET X25.0 Z45.0;[BILLET X25.0 Z45.0;
G99 G21 G40;G99 G21 G40;
S500 M13;S500 M13;
G28 U0 W0;G28 U0 W0;
M06 T0606;M06 T0606;
G00 X16.0 Z2.0;G00 X16.0 Z2.0;
G92 X15.4 Z-32.0 F2.0;G92 X15.4 Z-32.0 F2.0;
X15.1;X15.1;
X14.8;X14.8;
X14.5;X14.5;
X14.2;X14.2;
X13.9;X13.9;
X13.6;X13.6;
X13.546;X13.546;
G28 U0 W0;G28 U0 W0;
M30;M30;
Threading Cycle (G76)Threading Cycle (G76)
[BILLET X50.0 Z60.0;[BILLET X50.0 Z60.0;
G99 G21 G40;G99 G21 G40;
S500 M13;S500 M13;
G28 U0 W0;G28 U0 W0;
M06 T0101;M06 T0101;
G00 X51.0 Z2.0;G00 X51.0 Z2.0;
G71 U1.5 R0.5;G71 U1.5 R0.5;
G71 P10 Q20 U0.5 W0.5 F0.15;G71 P10 Q20 U0.5 W0.5 F0.15;
N10 G01 X20.0 ;N10 G01 X20.0 ;
G01 X24.0 Z-2.0;G01 X24.0 Z-2.0;
N20 X24.0 Z-42.0;N20 X24.0 Z-42.0;
G70 P10 Q20;G70 P10 Q20;
G28 U0 W0;G28 U0 W0;
M06 T0606;M06 T0606;
G00 X24.5 Z2.0;G00 X24.5 Z2.0;
G76 P031560 Q50 R0.15;G76 P031560 Q50 R0.15;
G76 X20.319 Z-38.0 P1840 Q150 F3.0;G76 X20.319 Z-38.0 P1840 Q150 F3.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
1ST
Line of G76:
Pxxyyzz:
xx: No. finishing Passes
yy: Chamfering amount at the end of thread
zz: Angle of tool tip (in deg)
Q….: Minimum depth of cut in each pass (in micron)
R….: Finishing allowance (in mm)
2nd
Line of G76:
X…..: Core diameter of thread (mm)
Z….: Length of thread (mm)
P….: Height of thread (in micron)
Q…..: Depth of cut in first pass (in micron)
F….. : Pitch of thread (in mm)
Sub Program (M98 & M99)Sub Program (M98 & M99)
 It is a program that is written once and can beIt is a program that is written once and can be
called as many times as it is desired in any othercalled as many times as it is desired in any other
main/sub program.main/sub program.
 Auxiliary functions used:Auxiliary functions used:
 M98: Jump to sub programM98: Jump to sub program
 M99: Return to main program/End of subprogramM99: Return to main program/End of subprogram
 PP24002400 – Name of Sub program– Name of Sub program
Sub Program (M98 & M99)Sub Program (M98 & M99)
 Operating Limits or rules:Operating Limits or rules:
 The name of a sub program can be maximum of 4The name of a sub program can be maximum of 4
digit number (only numeric names can be sensed)digit number (only numeric names can be sensed)
 Sub program should not be written within the mainSub program should not be written within the main
programprogram
 Sub program should not carry headers like [BILLETSub program should not carry headers like [BILLET
 The name & number of subprogram need to same.The name & number of subprogram need to same.
 The subprogram should not contain “M30” at theThe subprogram should not contain “M30” at the
end.end.
 One subprogram can be called in other subprogram.One subprogram can be called in other subprogram.
Sub Program ExampleSub Program Example
[BILLET X40.0 Z100.0;[BILLET X40.0 Z100.0;
G99 G21 G40;G99 G21 G40;
M03 S2000;M03 S2000;
G28 U0 W0;G28 U0 W0;
M06 T0101; TURNING TOOL]M06 T0101; TURNING TOOL]
G00 X42.0 Z0.0;G00 X42.0 Z0.0;
G01 X-1.0 F0.1;G01 X-1.0 F0.1;
G00 X40.0 Z2.0;G00 X40.0 Z2.0;
G01 Z-70.0 F0.1;G01 Z-70.0 F0.1;
G28 U0 W0;G28 U0 W0;
M06 T0404; [GROOVING TOOL]M06 T0404; [GROOVING TOOL]
G00 X42.0 Z-10.0;G00 X42.0 Z-10.0;
M98 P100;M98 P100;
G00 Z-25.0;G00 Z-25.0;
M98 P100;M98 P100;
G00 Z-40.0;G00 Z-40.0;
M98 P100;M98 P100;
G00 Z-55.0;G00 Z-55.0;
M98 P100;M98 P100;
G28 U0 W0;G28 U0 W0;
M30;M30;
O100;O100;
G81 U-8.0 F0.1;G81 U-8.0 F0.1;
G01 W-4;G01 W-4;
G81 U-8.0;G81 U-8.0;
M99;M99;
Sub Program
Tool Nose RadiusTool Nose Radius
Compensation (TNRC)Compensation (TNRC)
G41/G42/G40G41/G42/G40
ImportanceImportance
Programmed Path
Actual Path Generated
(Material Left on Tool Path)
Specifying TNRCSpecifying TNRC
 Decide the Direction of TNRCDecide the Direction of TNRC
 G41 (Left)/G42 (Right)G41 (Left)/G42 (Right) : Program: Program
 Decide the Amount of TNRCDecide the Amount of TNRC
 Value of Tool Nose RadiusValue of Tool Nose Radius : Tool Offset Page: Tool Offset Page
 Decide the Imaginary Tool Nose Position (Tool Type)Decide the Imaginary Tool Nose Position (Tool Type)
:: Tool Offset PageTool Offset Page
 Cancel the TNRC (G40)Cancel the TNRC (G40) : Program: Program
Direction of TNRCDirection of TNRC
G42 (RIGHT)
G41 (LEFT)
Amount of TNRCAmount of TNRC
Radius of Tool Nose
Imaginary Tool Nose PositionImaginary Tool Nose Position
4
5
62
7
3 8
1
Tool Types based on Imaginary TNR PositionTool Types based on Imaginary TNR Position
Tool Types based on Imaginary TNR PositionTool Types based on Imaginary TNR Position
How to specify in a programHow to specify in a program
WITHOUT TNRC
[BILLET X38.0 Z40.0;[BILLET X38.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G00 X 38.0 Z2.0;G00 X 38.0 Z2.0;
G71 U1.0 R0.5;G71 U1.0 R0.5;
G71 P10 Q20 U0.5 W0.1 F0.35;G71 P10 Q20 U0.5 W0.1 F0.35;
N10N10 G00 X10.0;G00 X10.0;
G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1;
G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0;
G01 X18.0 Z-19.0;G01 X18.0 Z-19.0;
G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0;
G01 X24.0 Z-30.0;G01 X24.0 Z-30.0;
N20N20 G01 X39.0 Z-30.0;G01 X39.0 Z-30.0;
G70 P10 Q20;G70 P10 Q20;
G00 X39.0 Z2.0;G00 X39.0 Z2.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
WITH TNRC
[BILLET X38.0 Z40.0;[BILLET X38.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G00 X 38.0 Z2.0;G00 X 38.0 Z2.0;
G71 U1.0 R0.5;G71 U1.0 R0.5;
G71 P10 Q20 U0.5 W0.1 F0.35;G71 P10 Q20 U0.5 W0.1 F0.35;
N10N10 G00G00 G42G42 X10.0;X10.0;
G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1;
G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0;
G01 X18.0 Z-19.0;G01 X18.0 Z-19.0;
G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0;
G01 X24.0 Z-30.0;G01 X24.0 Z-30.0;
N20N20 G01G01 G40G40 X39.0 Z-30.0;X39.0 Z-30.0;
G70 P10 Q20;G70 P10 Q20;
G00 X39.0 Z2.0;G00 X39.0 Z2.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
How to specify in machineHow to specify in machine
 Go to Tool Offset PageGo to Tool Offset Page
 Choose the Offset Number for the given toolChoose the Offset Number for the given tool
SlSl X-offsetX-offset Z-offsetZ-offset RR TT
11 ……………….... ……………….... 0.80.8 33
 In R-Column specify the tool nose radiusIn R-Column specify the tool nose radius
 In T-Column specify the Tool Type which ever is applicable from 1toIn T-Column specify the Tool Type which ever is applicable from 1to
8 No.8 No.
G90 (Turning Cycle)G90 (Turning Cycle)
[BILLET X45.0 Z40.0;[BILLET X45.0 Z40.0;
G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13;
G00 X 46.0 Z2.0;G00 X 46.0 Z2.0;
G01 X35.0 Z0.0 F0.1;G01 X35.0 Z0.0 F0.1;
G90 X45.0 Z-30.0 R-1.0 F0.1;G90 X45.0 Z-30.0 R-1.0 F0.1;
G90 R-2.0;G90 R-2.0;
G90 R-3.0;G90 R-3.0;
G90 R-4.0;G90 R-4.0;
G90 R-5.0;G90 R-5.0;
G28 U0 W0;G28 U0 W0;
M30;M30;
Important G- CodesImportant G- Codes
G00G00 Rapid Linear MovementRapid Linear Movement G00 X…. Z….G00 X…. Z…. Used for airUsed for air
movements onlymovements only
G01G01 Linear Interpolation withLinear Interpolation with
Program defined feedProgram defined feed
G01 X …. Z …. F….G01 X …. Z …. F…. Used for metalUsed for metal
cuttingcutting
G02G02 Circular InterpolationCircular Interpolation
Clock Wise (CW) DirectionClock Wise (CW) Direction
G02 X… Z... R… F…G02 X… Z... R… F… Used for metalUsed for metal
cuttingcutting
G03G03 Circular InterpolationCircular Interpolation
Counter Clock WiseCounter Clock Wise
(CCW) Direction(CCW) Direction
G03 X… Z... R… F…G03 X… Z... R… F… Used for metalUsed for metal
cuttingcutting

More Related Content

What's hot

Chapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centersChapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centersRAHUL THAKER
 
CNC part programming
CNC part programmingCNC part programming
CNC part programmingjntuhcej
 
Cnc lathe ppt
Cnc lathe pptCnc lathe ppt
Cnc lathe ppt99759067
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)Sudip Phuyal
 
CNC Milling
CNC MillingCNC Milling
CNC Millingendika55
 
Introduction to cnc machines (1)
Introduction to cnc machines (1)Introduction to cnc machines (1)
Introduction to cnc machines (1)someshking
 
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHVed Prakash
 
Chapter 4 cnc part programming
Chapter 4 cnc part programmingChapter 4 cnc part programming
Chapter 4 cnc part programmingRAHUL THAKER
 
Canned cycle
Canned cycleCanned cycle
Canned cycleaman1312
 
Location and locating devices used in jigs and fixtures
Location and locating devices used in jigs and fixturesLocation and locating devices used in jigs and fixtures
Location and locating devices used in jigs and fixturesAmruta Rane
 
CNC FUNDAMENTALS.ppt
CNC FUNDAMENTALS.pptCNC FUNDAMENTALS.ppt
CNC FUNDAMENTALS.pptSimbaKhan2
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unitpalanivendhan
 
CNC Machines
CNC MachinesCNC Machines
CNC Machinespratik207
 
Cnc milling programs
Cnc milling programsCnc milling programs
Cnc milling programsmoniraghu
 

What's hot (20)

Chapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centersChapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centers
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
Cnc lathe ppt
Cnc lathe pptCnc lathe ppt
Cnc lathe ppt
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
 
Introduction to cnc machines (1)
Introduction to cnc machines (1)Introduction to cnc machines (1)
Introduction to cnc machines (1)
 
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
 
Chapter 4 cnc part programming
Chapter 4 cnc part programmingChapter 4 cnc part programming
Chapter 4 cnc part programming
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
 
CNC Programming
CNC Programming CNC Programming
CNC Programming
 
Location and locating devices used in jigs and fixtures
Location and locating devices used in jigs and fixturesLocation and locating devices used in jigs and fixtures
Location and locating devices used in jigs and fixtures
 
Turning
TurningTurning
Turning
 
part programming (cnc)
part programming (cnc)part programming (cnc)
part programming (cnc)
 
Apt programming
Apt programmingApt programming
Apt programming
 
CNC FUNDAMENTALS.ppt
CNC FUNDAMENTALS.pptCNC FUNDAMENTALS.ppt
CNC FUNDAMENTALS.ppt
 
Cnc part programming 4 unit
Cnc part programming 4 unitCnc part programming 4 unit
Cnc part programming 4 unit
 
CNC MACHINE
CNC MACHINECNC MACHINE
CNC MACHINE
 
4 tooling in cnc
4 tooling in cnc4 tooling in cnc
4 tooling in cnc
 
CNC Machines
CNC MachinesCNC Machines
CNC Machines
 
Cnc milling programs
Cnc milling programsCnc milling programs
Cnc milling programs
 

Similar to Cnc turning(Fanuc system)

Similar to Cnc turning(Fanuc system) (20)

CNC
CNCCNC
CNC
 
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptxCAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
CAD-CAM-Module-4-Subtractive-Manufacturing-1-print.pptx
 
Cnc training (sahil gupta 9068557926)
Cnc training (sahil gupta   9068557926)Cnc training (sahil gupta   9068557926)
Cnc training (sahil gupta 9068557926)
 
Cnc lathe
Cnc latheCnc lathe
Cnc lathe
 
CNC
CNCCNC
CNC
 
CNC_MILLING.ppt
CNC_MILLING.pptCNC_MILLING.ppt
CNC_MILLING.ppt
 
5 g-code
5   g-code5   g-code
5 g-code
 
15 me404l manual - ex 1 to 4
15 me404l   manual - ex 1 to 415 me404l   manual - ex 1 to 4
15 me404l manual - ex 1 to 4
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
Harmonic drive hpn gearhead brochure
Harmonic drive hpn gearhead brochureHarmonic drive hpn gearhead brochure
Harmonic drive hpn gearhead brochure
 
cadcampart11.ppt
cadcampart11.pptcadcampart11.ppt
cadcampart11.ppt
 
drawing.pptx
drawing.pptxdrawing.pptx
drawing.pptx
 
4 basic cnc programming milling
4 basic cnc programming milling4 basic cnc programming milling
4 basic cnc programming milling
 
Harmonic hpn gearhead_catalog
Harmonic hpn gearhead_catalogHarmonic hpn gearhead_catalog
Harmonic hpn gearhead_catalog
 
Lecture 25.pdf
Lecture 25.pdfLecture 25.pdf
Lecture 25.pdf
 
Computer Numerical Control (CNC) & Manufacturing Automation
Computer Numerical Control (CNC) & Manufacturing AutomationComputer Numerical Control (CNC) & Manufacturing Automation
Computer Numerical Control (CNC) & Manufacturing Automation
 
CNC Turning.ppt
CNC Turning.pptCNC Turning.ppt
CNC Turning.ppt
 
CNC-LATHE MPP1.ppt
CNC-LATHE MPP1.pptCNC-LATHE MPP1.ppt
CNC-LATHE MPP1.ppt
 
Mach4 mill-g code-manual
Mach4 mill-g code-manualMach4 mill-g code-manual
Mach4 mill-g code-manual
 
Kawasaki_K-Series.pdf
Kawasaki_K-Series.pdfKawasaki_K-Series.pdf
Kawasaki_K-Series.pdf
 

Recently uploaded

Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 

Recently uploaded (20)

🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 

Cnc turning(Fanuc system)

  • 1. CNC TURNINGCNC TURNING (FANUC SYSTEM)(FANUC SYSTEM)
  • 2.  INTRODUCTIONINTRODUCTION  FUNDAMENTAL PRINCIPLESFUNDAMENTAL PRINCIPLES  INSTRUCTIONINSTRUCTION
  • 3. 1. INTRODUCTION1. INTRODUCTION  Ways of TurningWays of Turning  Parts of CNC MachineParts of CNC Machine  Working Methods of CNCWorking Methods of CNC
  • 4. Ways of TurningWays of Turning  Conventional or TraditionalConventional or Traditional  Numerical Control (NC)Numerical Control (NC)  Computer Numerical Control (CNC)Computer Numerical Control (CNC)
  • 5. Difficulties with Conventional SystemDifficulties with Conventional System  Complex shapes are difficult to machineComplex shapes are difficult to machine  Depends on the human skillDepends on the human skill  Frequent & repeated measurements are requiredFrequent & repeated measurements are required  Difficult to achieve consistency in product qualityDifficult to achieve consistency in product quality  High Changeover TimeHigh Changeover Time  Less productive hoursLess productive hours  More scrap is generatedMore scrap is generated
  • 6. Current Market DemandCurrent Market Demand  High quality productsHigh quality products  atat  Lowest costLowest cost  inin  Minimum timeMinimum time  withwith  wide range of varietywide range of variety Answer to the above is NC System
  • 7. Parts of NC/CNC MachineParts of NC/CNC Machine  Programming UnitProgramming Unit  Machine Control UnitMachine Control Unit  Machine Tool UnitMachine Tool Unit NCNC CNCCNC
  • 8. Programming UnitProgramming Unit  ProgrammerProgrammer  Computer systemComputer system  User Interface deviceUser Interface device  Data Storage and Transfer facilityData Storage and Transfer facility
  • 9. Machine Control UnitMachine Control Unit  Tape ReaderTape Reader  Data BufferData Buffer  Signal Output Channels to Machine ToolSignal Output Channels to Machine Tool  Feedback channels from the Machine ToolFeedback channels from the Machine Tool
  • 10. Machine ToolMachine Tool  StructureStructure  Extra RigidExtra Rigid  Easy chip disposal System, eg: Use of Slant BedEasy chip disposal System, eg: Use of Slant Bed  Thermal ResistantThermal Resistant  DrivesDrives  AC Induction motorsAC Induction motors  DC motorsDC motors
  • 11. Machine ToolMachine Tool  Actuation SystemActuation System  Stepper motor/servomotorStepper motor/servomotor  Ball Screw & nut with support bearingBall Screw & nut with support bearing  Feed back devices on closed loop systemFeed back devices on closed loop system  Linear BearingLinear Bearing  Tool & Work handling DevicesTool & Work handling Devices  Automatic Tool Changers (ATCs)Automatic Tool Changers (ATCs)  Turret HeadTurret Head  Automatic Pallet ChangersAutomatic Pallet Changers  Hydraulic/Pneumatic Tool/Work Clamping SystemHydraulic/Pneumatic Tool/Work Clamping System
  • 12. 2. Fundamental Principles2. Fundamental Principles  Coordinate SystemCoordinate System  Longitudinal MotionLongitudinal Motion  Transverse MotionTransverse Motion  Dimensioning SystemDimensioning System  AbsoluteAbsolute  IncrementalIncremental  MixedMixed  Reference SystemReference System  Machine ReferenceMachine Reference  Work ReferenceWork Reference
  • 13. Instruction or programInstruction or program  IntroductionIntroduction N 10N 10 G 00G 00 X 50.0X 50.0 Z 25.0 ;Z 25.0 ; Block Block No. Words End of Block G 00 Address Data
  • 14. Layout of a CNC ProgramLayout of a CNC Program [BILLET X 25.0 Z 60.0; [Size of raw Material[BILLET X 25.0 Z 60.0; [Size of raw Material G99 G21 S500 M13;G99 G21 S500 M13; [ Setting Cutting Condition[ Setting Cutting Condition G28 U0 W0;G28 U0 W0; [ Ref. Point Return[ Ref. Point Return M06 T0101;M06 T0101; [ Tool Call[ Tool Call G00 X 25.0 Z 2.0;G00 X 25.0 Z 2.0; [Positioning[Positioning ………… [ Path Definition[ Path Definition ………… or Cycle Utilityor Cycle Utility or Subroutine Utilityor Subroutine Utility G28 U 0 W0;G28 U 0 W0; [ Return to Ref. Point[ Return to Ref. Point M30;M30; [ End of Program[ End of Program Header Body End
  • 15. Linear Path FunctionLinear Path Function  G00G00  Rapid Linear MovementRapid Linear Movement  G01G01  Linear Movement withLinear Movement with Programmed Feed RateProgrammed Feed Rate Writing FormatWriting Format G00G00 X 50.0 Z2.0;X 50.0 Z2.0; G01 X 50.0 Z2.0 F0.1;G01 X 50.0 Z2.0 F0.1;
  • 16. Example ProgramExample Program [BILLET X55.0 Z40.0;[BILLET X55.0 Z40.0; G99 G21 G40;G99 G21 G40; S1000 M13;S1000 M13; M06 T0101;M06 T0101; G00 X55.0 Z2.0;G00 X55.0 Z2.0; G01 X55.0 Z0.0 F0.2;G01 X55.0 Z0.0 F0.2; G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1; G00 X 55.0 Z2.0;G00 X 55.0 Z2.0; G00 X20.0;G00 X20.0; G01 X20.0 Z-10.0 F0.1;G01 X20.0 Z-10.0 F0.1; G01 X40.0 Z-10.0;G01 X40.0 Z-10.0; G01 X40.0 Z-25.0;G01 X40.0 Z-25.0; G01 X50.0 Z-25.0;G01 X50.0 Z-25.0; G01 X50.0 Z-35.0;G01 X50.0 Z-35.0; G01 X55.0 Z-35.0;G01 X55.0 Z-35.0; G00 X55.0 Z2.0;G00 X55.0 Z2.0; G28 U0 W0;G28 U0 W0; M30;M30; 0,0
  • 17. Circular Path FunctionCircular Path Function  G02G02  Circular Movement Clockwise (CW)Circular Movement Clockwise (CW)  G03G03  Circular Movement Counter ClockCircular Movement Counter Clock Wise (CCW)Wise (CCW) G03 X 25.0 Z-10.0 R5.0 F0.1;G03 X 25.0 Z-10.0 R5.0 F0.1; Writing FormatWriting Format G02 X 25.0 Z-10.0 R5.0 F0.1;G02 X 25.0 Z-10.0 R5.0 F0.1;
  • 18. Example ProgramExample Program [BILLET X55.0 Z40.0;[BILLET X55.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; M06 T0101;M06 T0101; G00 X38.0 Z2.0;G00 X38.0 Z2.0; G01 X38.0 Z0.0 F0.2;G01 X38.0 Z0.0 F0.2; G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1; G00 X 38.0 Z2.0;G00 X 38.0 Z2.0; G00 X10.0;G00 X10.0; G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1; G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0; G01 X18.0 Z-19.0;G01 X18.0 Z-19.0; G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0; G01 X24.0 Z-30.0;G01 X24.0 Z-30.0; G01 X38.0 Z-30.0;G01 X38.0 Z-30.0; G00 X38.0 Z2.0;G00 X38.0 Z2.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 19. Example ProgramExample Program G00 X55.0 Z2.0;G00 X55.0 Z2.0; G01 X55.0 Z0.0 F0.2;G01 X55.0 Z0.0 F0.2; G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1; G00 X 55.0 Z2.0;G00 X 55.0 Z2.0; G00 X20.0;G00 X20.0; G01 X20.0 Z-10.0 F0.1;G01 X20.0 Z-10.0 F0.1; G01 X40.0 Z-10.0;G01 X40.0 Z-10.0; G01 X40.0 Z-25.0;G01 X40.0 Z-25.0; G01 X50.0 Z-25.0;G01 X50.0 Z-25.0; G01 X50.0 Z-35.0;G01 X50.0 Z-35.0; G01 X55.0;G01 X55.0; G00 X55.0 Z2.0;G00 X55.0 Z2.0; (56.0, 2.0)(56.0, 2.0) (0, 0)(0, 0) (56.0, 0.0)(56.0, 0.0) (20.0, 2.0)(20.0, 2.0) (20.0, -10)(20.0, -10) (40.0, -10)(40.0, -10) (40.0, -25.0)(40.0, -25.0) (50.0, -25.0)(50.0, -25.0) (50.0, -35.0)(50.0, -35.0) (56.0, -35.0)(56.0, -35.0)
  • 20. Various Important AddressesVarious Important Addresses  O: Used to represent program numberO: Used to represent program number  N: Used to represent Block NumberN: Used to represent Block Number  G: Are known as preparatory codes, used to prepare the machineG: Are known as preparatory codes, used to prepare the machine for a particular function.for a particular function.  X, Y, Z : Represents Absolute coordinatesX, Y, Z : Represents Absolute coordinates  U, V, W: Represents Incremental coordinatesU, V, W: Represents Incremental coordinates  I, J, K: Specifies coordinate of centre of arcI, J, K: Specifies coordinate of centre of arc  R: Represents radius of arcR: Represents radius of arc  S: Represents Spindle SpeedS: Represents Spindle Speed  T: Specifies Tool NumberT: Specifies Tool Number  M: Miscellaneous FunctionsM: Miscellaneous Functions  P, Q: Used to represent start & end block number in a subroutineP, Q: Used to represent start & end block number in a subroutine cycle.cycle.  F: Represents FeedF: Represents Feed
  • 21. G71 (Turning Cycle)G71 (Turning Cycle) Writing Format G71 U1.0 R1.0; G71 P10 Q20 U0.5 W 0.5 F0.25; N10 G00 X…..; ……. ……. ……. N20 ……..; G70 P10 Q20 F0.15; 1st Line of G71: U – Specifies the depth of cut in each pass R – Retract amount after every pass 2nd Line of G71: P – Specifies the start block number Q – Specifies the end block number U – Specifies the finishing allowance in X W – Specifies the finishing allowance in Z G70 – Finishing Pass
  • 22. Example ProgramExample Program …… N10 G00 X38.0 Z2.0; N20 G71 U1.5 R0.5; N30 G71 P40 Q130 U0.5 W0.2 F0.35; N40 G01 X16.0; N50 G01 Z0.5; N60 G01 X20.0 Z 1.5; N70 G01 Z-30.0; N80 G01 X 23.0; N90 G03 X25.0 Z-24.0 R1.0; N100 G01 X30.0 Z-65.0; N110 G01 Z-75.0; N120 G02 X36.0 Z-77.0 R3.0; N130 G01 X38.5; N140 G70 P40 Q 130; ….
  • 23. Example ProgramExample Program [BILLET X38.0 Z40.0;[BILLET X38.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; M06 T0101;M06 T0101; G00 X39.0 Z2.0;G00 X39.0 Z2.0; G01 X38.0 Z0.0 F0.2;G01 X38.0 Z0.0 F0.2; G01 X -1.0 Z0.0 F0.1;G01 X -1.0 Z0.0 F0.1; G00 X 38.0 Z2.0;G00 X 38.0 Z2.0; G71 U1.0 R0.5;G71 U1.0 R0.5; G71 P10 Q20 U0.5 W0.1 F0.35;G71 P10 Q20 U0.5 W0.1 F0.35; N10N10 G00 X10.0;G00 X10.0; G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1; G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0; G01 X18.0 Z-19.0;G01 X18.0 Z-19.0; G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0; G01 X24.0 Z-30.0;G01 X24.0 Z-30.0; N20N20 G01 X39.0 Z-30.0;G01 X39.0 Z-30.0; G70 P10 Q20;G70 P10 Q20; G00 X39.0 Z2.0;G00 X39.0 Z2.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 24. Types of InstructionsTypes of Instructions 1. Movement Instruction • G00, G01, G02, G03 2. Machine Instruction • M00, M02, M03, M04, M05, M06, M08, M09, M30 3. Tool Instruction • T0101 4. Technological Instruction • Cutting Speed • Spindle Speed • Feed 5. Dimensional Instruction • Metric • Inch
  • 25. G- CodesG- Codes  G28: Return to Machine Reference PointG28: Return to Machine Reference Point Writing Format: G28 U0 W0;Writing Format: G28 U0 W0;  G20: Programming in InchesG20: Programming in Inches  G21: Programming in Metric (mm)G21: Programming in Metric (mm)
  • 26. M-CodesM-Codes  M00: Program Stop, starts again when cycle start is pressedM00: Program Stop, starts again when cycle start is pressed  M01: Optional StopM01: Optional Stop  M02: Program ResetM02: Program Reset  M30: Program Reset & RewindM30: Program Reset & Rewind  M03: Spindle Start in Clockwise DirectionM03: Spindle Start in Clockwise Direction  M04: Spindle Start in Anti Clockwise DirectionM04: Spindle Start in Anti Clockwise Direction  M05: Spindle StopM05: Spindle Stop  M06: Command Tool ChangeM06: Command Tool Change  M07/M08: Coolant ONM07/M08: Coolant ON  M09: Coolant OFFM09: Coolant OFF  M10: Chuck OpenM10: Chuck Open  M11: Chuck CloseM11: Chuck Close  M13: Spindle ON (CW) & Coolant onM13: Spindle ON (CW) & Coolant on  M14: Spindle ON (CCW) & Coolant onM14: Spindle ON (CCW) & Coolant on  M25: Tailstock Quill ExtendM25: Tailstock Quill Extend  M26: Tailstock Quill RetractM26: Tailstock Quill Retract  M98: Subprogram CallM98: Subprogram Call  M99: Return to Main ProgramM99: Return to Main Program
  • 27. G72 (Facing Cycle)G72 (Facing Cycle) Writing Format G72 W1.0 R1.0; G72 P10 Q20 U0.5 W 0.5 F0.25; N10 G00 X…..; ……. ……. N20 ……..; G70 P10 Q20 F0.15; 1st Line of G72: W – Specifies the depth of cut in each pass (in Z Direction) R – Retract amount after every pass 2nd Line of G71: P – Specifies the start block number Q – Specifies the end block number U – Specifies the finishing allowance in X W – Specifies the finishing allowance in Z G70 – Finishing Pass
  • 28. Example ProgramExample Program [BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; M06 T0101;M06 T0101; G00 X29.0 Z2.0;G00 X29.0 Z2.0; G72 W0.5 R0.5;G72 W0.5 R0.5; G72 P40 Q50 U0.5 W0.1 F0.35;G72 P40 Q50 U0.5 W0.1 F0.35; N40N40 G00 Z-33.0;G00 Z-33.0; G01 X25.0 Z-33.0;G01 X25.0 Z-33.0; G01 X25.0 Z-23.0;G01 X25.0 Z-23.0; G01 X22.0 Z-23.0;G01 X22.0 Z-23.0; G01 X16.0 Z-8.0;G01 X16.0 Z-8.0; G01 X14.0 Z-8.0;G01 X14.0 Z-8.0; G03 X8.0 Z-5.0 R3.0;G03 X8.0 Z-5.0 R3.0; G01 X8.0 Z-2.0;G01 X8.0 Z-2.0; G01 X4.0 Z0.0;G01 X4.0 Z0.0; N50N50 G01 X0.0 Z0.0;G01 X0.0 Z0.0; G70 P40 Q50 F0.15;G70 P40 Q50 F0.15; G00 X29.0 Z2.0;G00 X29.0 Z2.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 29. Tool OffsetTool Offset The Distance traveled by the tool cutting edge from the machineThe Distance traveled by the tool cutting edge from the machine reference point to the work reference point in a particular axis isreference point to the work reference point in a particular axis is termed as “Tool Offset”. For turning tool offset is measured intermed as “Tool Offset”. For turning tool offset is measured in both the directions i.e. ‘X’ & ‘Z’.both the directions i.e. ‘X’ & ‘Z’.
  • 30. Modal & Non Modal G-CodesModal & Non Modal G-Codes  The G-Codes whose effect continue in theThe G-Codes whose effect continue in the program once specified until it is cancelled orprogram once specified until it is cancelled or overridden by another code are known asoverridden by another code are known as “MODAL”. Eg: G00, G01, G02, G03 etc.“MODAL”. Eg: G00, G01, G02, G03 etc.  The G-Codes whose effect only in the block whereThe G-Codes whose effect only in the block where it is defined are known as Non-Modal Codes. Eg:it is defined are known as Non-Modal Codes. Eg: G04G04
  • 31. Groups of G-Codes Group ‘0’ : G04, G10, G27, G28, G29, G30, G31 G50, G65, G72, G73, G74, G75, G76 Group ‘1’ : G00, G01, G02, G03, G90, G92, G94 Group ‘2’ : G66, G67, G96, G97 Group ‘4’ : G70, G71 Group ‘6’ : G20, G21 Group ‘7’ : G40, G41, G42 Group ’11’ : G98, G99  The G-Codes are grouped under various groups.The G-Codes are grouped under various groups. Each group contains similar kind of codes and theirEach group contains similar kind of codes and their effect can only be overcome/nullified by the use ofeffect can only be overcome/nullified by the use of another code of same group.another code of same group.
  • 32. Centre Drilling Cycle (G81)Centre Drilling Cycle (G81) [BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G28 U0 W0;G28 U0 W0; M06 T0202;M06 T0202; G00 X0.0 Z2.0;G00 X0.0 Z2.0; G81 Z-5 F0.1;G81 Z-5 F0.1; G28 U0 W0;G28 U0 W0; M30;M30;
  • 33. Peck Drilling Cycle (G74)Peck Drilling Cycle (G74) [BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G28 U0 W0;G28 U0 W0; M06 T0303;M06 T0303; G00 X0.0 Z2.0;G00 X0.0 Z2.0; G74 R10.0;G74 R10.0; G74 Z-68.0 Q20000 F0.05;G74 Z-68.0 Q20000 F0.05; G28 U0 W0;G28 U0 W0; M30;M30; R = Retraction amount after every depth Z = Depth of Cut Q = Peck Increment (in micron) F = Feed Rate
  • 34. Different Modes of MachiningDifferent Modes of Machining  Reference Mode or Home ModeReference Mode or Home Mode Tasks: Returns the turret to the machine reference/home pointTasks: Returns the turret to the machine reference/home point  Manual or Jog ModeManual or Jog Mode Continuous JogContinuous Jog Incremental JogIncremental Jog Hand wheel JogHand wheel Jog Tasks: Move the Axes, Start & stop spindle rotation at aTasks: Move the Axes, Start & stop spindle rotation at a predefined speed, Coolant On & Off, Turret indexing inpredefined speed, Coolant On & Off, Turret indexing in machine defined default direction one station on push ofmachine defined default direction one station on push of button.button.
  • 35. Different Modes of MachiningDifferent Modes of Machining  Manual Data Input (MDI) ModeManual Data Input (MDI) Mode Tasks: Single or few line simple program can beTasks: Single or few line simple program can be written temporarily and executed only once. Afterwritten temporarily and executed only once. After executing the written lines of program are deleted fromexecuting the written lines of program are deleted from the machine memory.the machine memory.  Auto ModeAuto Mode Continuous AutoContinuous Auto Runs the complete program from beginning to the endRuns the complete program from beginning to the end once the cycle start button is pressed.once the cycle start button is pressed. Single AutoSingle Auto Runs the program block by block i.e. only one block ofRuns the program block by block i.e. only one block of the program is executed by pressing the cycle startthe program is executed by pressing the cycle start button once.button once.
  • 36. Feed (Method Selection)Feed (Method Selection) 1.1. mm/minutemm/minute 2.2. mm/revolutionmm/revolution During Lathe working the feed of the tool can be defined by twoDuring Lathe working the feed of the tool can be defined by two different Methods.different Methods. While programming on CNC Machine the feed methods can beWhile programming on CNC Machine the feed methods can be selected by:selected by: 1.1. mm/minutemm/minute :: G98G98 2.2. mm/revolutionmm/revolution :: G99G99
  • 37. Step Boring Cycle (G90)Step Boring Cycle (G90) [BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G28 U0 W0;G28 U0 W0; M06 T0404;M06 T0404; G00 X12.0 Z2.0;G00 X12.0 Z2.0; G90 X14.0 Z-30.0 F0.1;G90 X14.0 Z-30.0 F0.1; X16.0;X16.0; X18.0;X18.0; X19.0;X19.0; X21.0 Z-20;X21.0 Z-20; X23;X23; X24.0;X24.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 38. Grooving Cycle (G81)Grooving Cycle (G81) [BILLET X28.0 Z40.0;[BILLET X28.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G28 U0 W0;G28 U0 W0; M06 T0505;M06 T0505; G00 X52.0 Z2.0;G00 X52.0 Z2.0; G01 Z-15.0 F0.3;G01 Z-15.0 F0.3; G81 X30.0 F0.02;G81 X30.0 F0.02; G01 Z-30.0;G01 Z-30.0; G81 X20.0;G81 X20.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 39. Profile Boring Cycle (G71)Profile Boring Cycle (G71) [BILLET X40.0 Z40.0;[BILLET X40.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G28 U0 W0;G28 U0 W0; M06 T0404;M06 T0404; G00 X15.0 Z2.0;G00 X15.0 Z2.0; G71 U0.5 R0.5;G71 U0.5 R0.5; G71 P25 Q45 U-0.5 W0.1 F0.2G71 P25 Q45 U-0.5 W0.1 F0.2 N25 G01 X35.0;N25 G01 X35.0; G01 X35.0 Z-10.0;G01 X35.0 Z-10.0; G01 X30.0 Z-10.0;G01 X30.0 Z-10.0; G02 X18.0 Z-16.0 R6.0;G02 X18.0 Z-16.0 R6.0; G01 Z-30.0;G01 Z-30.0; N45 G01 X15.0;N45 G01 X15.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 40. Pattern Repeating Cycle (G73)Pattern Repeating Cycle (G73) [BILLET X55.0 Z50.0;[BILLET X55.0 Z50.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G28 U0 W0;G28 U0 W0; M06 T0101;M06 T0101; G00 X56.0 Z4.0;G00 X56.0 Z4.0; G73 U4 W3 R10;G73 U4 W3 R10; G73 P10 Q20 U0.5 W0.5 F0.1G73 P10 Q20 U0.5 W0.5 F0.1 N10N10 G00 X15.0;G00 X15.0; G01 X15.0 Z0.0;G01 X15.0 Z0.0; G01 X15.0 Z-20.0;G01 X15.0 Z-20.0; G01 X25.0 Z-20.0;G01 X25.0 Z-20.0; G03 X35.0 Z-25.0 R5;G03 X35.0 Z-25.0 R5; G01 X40.0 Z-25.0;G01 X40.0 Z-25.0; G01 X40.0 Z-40.0;G01 X40.0 Z-40.0; N20N20 X50.0 Z-40.0;X50.0 Z-40.0; G70 P10 Q20;G70 P10 Q20; G28 U0 W0;G28 U0 W0; M30;M30; G73 1ST Line: U : Specifies Roughing Material on X-Axis (in Radius) W: Specifies Roughing Material in Z-Axis R: Number of Passes. G73 2nd Line: U : Specifies Finishing Allowance on X-Axis W: Specifies Finishing Allowance on Z-Axis P & Q: Start & End Block Number Respectively
  • 41. Use of G96, G97 & G50Use of G96, G97 & G50 While Programming for CNC TurningWhile Programming for CNC Turning (Fanuc)(Fanuc)
  • 42.  Meaning of G96, G97 & G50Meaning of G96, G97 & G50  SignificanceSignificance  Writing FormatWriting Format  When to useWhen to use
  • 43. MeaningMeaning  G96: Specifies constant cutting speed (m/min)G96: Specifies constant cutting speed (m/min)  G97: Specifies constant spindle RPMG97: Specifies constant spindle RPM  G50: Limits the maximum Spindle SpeedG50: Limits the maximum Spindle Speed
  • 44. Cutting Speed & RPMCutting Speed & RPM  Cutting Speed: It is defined as the speed with which theCutting Speed: It is defined as the speed with which the periphery of workpiece passes over the cutting edge ofperiphery of workpiece passes over the cutting edge of the tool. Its unit is m/min. It depends on followingthe tool. Its unit is m/min. It depends on following quantities:quantities:  Material of WorkpieceMaterial of Workpiece  Material of cutting toolMaterial of cutting tool  RPM: It is the speed with which the spindle is rotating.RPM: It is the speed with which the spindle is rotating. Its unit is revolutions per minute.Its unit is revolutions per minute.  The Cutting Speed & RPM are related by the followingThe Cutting Speed & RPM are related by the following formula:formula: V =V = ππDN/1000,DN/1000, where V is Cutting Speed, D is Diameter of Job, Nwhere V is Cutting Speed, D is Diameter of Job, N is RPM.is RPM.
  • 45. SignificanceSignificance  G96 enables the machine to vary the spindle RPM withG96 enables the machine to vary the spindle RPM with varying diameter which results in:varying diameter which results in:  Good Surface FinishGood Surface Finish  Reduced cycle timeReduced cycle time  Improved tool lifeImproved tool life  G50: Must be used with G96 to limit the maximumG50: Must be used with G96 to limit the maximum spindle speed to prevent the extreme cases.spindle speed to prevent the extreme cases.  G97 enables the machine to work with constant RPM:G97 enables the machine to work with constant RPM:  In some cases it is desired to have constant RPMIn some cases it is desired to have constant RPM
  • 46. Writing FormatWriting Format  Constant Cutting SpeedConstant Cutting Speed  G50G50 S4000S4000; (here; (here SS represent Limit for maximum spindlerepresent Limit for maximum spindle speed)speed)  G96G96 S100S100 M03; (hereM03; (here SS represents the Cutting Speed definedrepresents the Cutting Speed defined in m/min)in m/min)  Constant Spindle SpeedConstant Spindle Speed  G97G97 S2500S2500 M03; (hereM03; (here SS represents constant Spindle Speed)represents constant Spindle Speed)
  • 47. When to useWhen to use  G96G96  Turning & FacingTurning & Facing  BoringBoring  GroovingGrooving  PartingParting  G97G97  ThreadingThreading  DrillingDrilling
  • 48. Facing Cycle (G94)Facing Cycle (G94) [BILLET X40.0 Z15.0;[BILLET X40.0 Z15.0; G99 G21 G40;G99 G21 G40; G28 U0 W0;G28 U0 W0; G50 S2500;G50 S2500; G96 S200 M03;G96 S200 M03; M06 T0101;M06 T0101; G00 X41.0 Z1.0;G00 X41.0 Z1.0; G94 X-1.0 Z0.0 F0.1;G94 X-1.0 Z0.0 F0.1; X15.0 Z-1.0;X15.0 Z-1.0; Z-2.0;Z-2.0; Z-3.0;Z-3.0; X25.0 Z-4.0;X25.0 Z-4.0; Z-5.0;Z-5.0; Z-6;Z-6; G28 U0 W0;G28 U0 W0; G97;G97; M30;M30;
  • 49. Grooving Cycle (G75)Grooving Cycle (G75) [BILLET X25.0 Z60.0;[BILLET X25.0 Z60.0; G99 G21 G40 S500 M13;G99 G21 G40 S500 M13; G28 U0 W0;G28 U0 W0; G50 S2500;G50 S2500; M06 T0505;M06 T0505; G00 X27.0 Z1.0;G00 X27.0 Z1.0; G01 Z-10.0 F0.2;G01 Z-10.0 F0.2; G75G75 R1.0R1.0;; G75 X20.0G75 X20.0 Z-40.0Z-40.0 P2000P2000 Q15000Q15000 F0.02;F0.02; G28 U0 W0;G28 U0 W0; M30;M30; P: Depth of Cut in X-AxisP: Depth of Cut in X-Axis Q: Distance Between two consecutive groove in Z-axisQ: Distance Between two consecutive groove in Z-axis R: Retraction after each depth of cutR: Retraction after each depth of cut Z: Total distance in Z-axis for groovingZ: Total distance in Z-axis for grooving
  • 51. ThreadingThreading Calculation for Thread Height: h = 0.61343 x pitch Core Diameter, d = D – 2x h
  • 52. Requirements for ThreadingRequirements for Threading  Select Proper Cutting Tool: Angle & Shape ofSelect Proper Cutting Tool: Angle & Shape of cutting tool should be same as that of the cross-cutting tool should be same as that of the cross- section of thread.section of thread.  Make Chamfer prior to threading: At the start ofMake Chamfer prior to threading: At the start of thread.thread.  Make Groove prior to threading: At the end ofMake Groove prior to threading: At the end of thread.thread.
  • 53. Threading Cycle (G92)Threading Cycle (G92) [BILLET X25.0 Z45.0;[BILLET X25.0 Z45.0; G99 G21 G40;G99 G21 G40; S500 M13;S500 M13; G28 U0 W0;G28 U0 W0; M06 T0606;M06 T0606; G00 X16.0 Z2.0;G00 X16.0 Z2.0; G92 X15.4 Z-32.0 F2.0;G92 X15.4 Z-32.0 F2.0; X15.1;X15.1; X14.8;X14.8; X14.5;X14.5; X14.2;X14.2; X13.9;X13.9; X13.6;X13.6; X13.546;X13.546; G28 U0 W0;G28 U0 W0; M30;M30;
  • 54. Threading Cycle (G76)Threading Cycle (G76) [BILLET X50.0 Z60.0;[BILLET X50.0 Z60.0; G99 G21 G40;G99 G21 G40; S500 M13;S500 M13; G28 U0 W0;G28 U0 W0; M06 T0101;M06 T0101; G00 X51.0 Z2.0;G00 X51.0 Z2.0; G71 U1.5 R0.5;G71 U1.5 R0.5; G71 P10 Q20 U0.5 W0.5 F0.15;G71 P10 Q20 U0.5 W0.5 F0.15; N10 G01 X20.0 ;N10 G01 X20.0 ; G01 X24.0 Z-2.0;G01 X24.0 Z-2.0; N20 X24.0 Z-42.0;N20 X24.0 Z-42.0; G70 P10 Q20;G70 P10 Q20; G28 U0 W0;G28 U0 W0; M06 T0606;M06 T0606; G00 X24.5 Z2.0;G00 X24.5 Z2.0; G76 P031560 Q50 R0.15;G76 P031560 Q50 R0.15; G76 X20.319 Z-38.0 P1840 Q150 F3.0;G76 X20.319 Z-38.0 P1840 Q150 F3.0; G28 U0 W0;G28 U0 W0; M30;M30; 1ST Line of G76: Pxxyyzz: xx: No. finishing Passes yy: Chamfering amount at the end of thread zz: Angle of tool tip (in deg) Q….: Minimum depth of cut in each pass (in micron) R….: Finishing allowance (in mm) 2nd Line of G76: X…..: Core diameter of thread (mm) Z….: Length of thread (mm) P….: Height of thread (in micron) Q…..: Depth of cut in first pass (in micron) F….. : Pitch of thread (in mm)
  • 55. Sub Program (M98 & M99)Sub Program (M98 & M99)  It is a program that is written once and can beIt is a program that is written once and can be called as many times as it is desired in any othercalled as many times as it is desired in any other main/sub program.main/sub program.  Auxiliary functions used:Auxiliary functions used:  M98: Jump to sub programM98: Jump to sub program  M99: Return to main program/End of subprogramM99: Return to main program/End of subprogram  PP24002400 – Name of Sub program– Name of Sub program
  • 56. Sub Program (M98 & M99)Sub Program (M98 & M99)  Operating Limits or rules:Operating Limits or rules:  The name of a sub program can be maximum of 4The name of a sub program can be maximum of 4 digit number (only numeric names can be sensed)digit number (only numeric names can be sensed)  Sub program should not be written within the mainSub program should not be written within the main programprogram  Sub program should not carry headers like [BILLETSub program should not carry headers like [BILLET  The name & number of subprogram need to same.The name & number of subprogram need to same.  The subprogram should not contain “M30” at theThe subprogram should not contain “M30” at the end.end.  One subprogram can be called in other subprogram.One subprogram can be called in other subprogram.
  • 57. Sub Program ExampleSub Program Example [BILLET X40.0 Z100.0;[BILLET X40.0 Z100.0; G99 G21 G40;G99 G21 G40; M03 S2000;M03 S2000; G28 U0 W0;G28 U0 W0; M06 T0101; TURNING TOOL]M06 T0101; TURNING TOOL] G00 X42.0 Z0.0;G00 X42.0 Z0.0; G01 X-1.0 F0.1;G01 X-1.0 F0.1; G00 X40.0 Z2.0;G00 X40.0 Z2.0; G01 Z-70.0 F0.1;G01 Z-70.0 F0.1; G28 U0 W0;G28 U0 W0; M06 T0404; [GROOVING TOOL]M06 T0404; [GROOVING TOOL] G00 X42.0 Z-10.0;G00 X42.0 Z-10.0; M98 P100;M98 P100; G00 Z-25.0;G00 Z-25.0; M98 P100;M98 P100; G00 Z-40.0;G00 Z-40.0; M98 P100;M98 P100; G00 Z-55.0;G00 Z-55.0; M98 P100;M98 P100; G28 U0 W0;G28 U0 W0; M30;M30; O100;O100; G81 U-8.0 F0.1;G81 U-8.0 F0.1; G01 W-4;G01 W-4; G81 U-8.0;G81 U-8.0; M99;M99; Sub Program
  • 58. Tool Nose RadiusTool Nose Radius Compensation (TNRC)Compensation (TNRC) G41/G42/G40G41/G42/G40
  • 59. ImportanceImportance Programmed Path Actual Path Generated (Material Left on Tool Path)
  • 60. Specifying TNRCSpecifying TNRC  Decide the Direction of TNRCDecide the Direction of TNRC  G41 (Left)/G42 (Right)G41 (Left)/G42 (Right) : Program: Program  Decide the Amount of TNRCDecide the Amount of TNRC  Value of Tool Nose RadiusValue of Tool Nose Radius : Tool Offset Page: Tool Offset Page  Decide the Imaginary Tool Nose Position (Tool Type)Decide the Imaginary Tool Nose Position (Tool Type) :: Tool Offset PageTool Offset Page  Cancel the TNRC (G40)Cancel the TNRC (G40) : Program: Program
  • 61. Direction of TNRCDirection of TNRC G42 (RIGHT) G41 (LEFT)
  • 62. Amount of TNRCAmount of TNRC Radius of Tool Nose
  • 63. Imaginary Tool Nose PositionImaginary Tool Nose Position 4 5 62 7 3 8 1
  • 64. Tool Types based on Imaginary TNR PositionTool Types based on Imaginary TNR Position
  • 65. Tool Types based on Imaginary TNR PositionTool Types based on Imaginary TNR Position
  • 66. How to specify in a programHow to specify in a program WITHOUT TNRC [BILLET X38.0 Z40.0;[BILLET X38.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G00 X 38.0 Z2.0;G00 X 38.0 Z2.0; G71 U1.0 R0.5;G71 U1.0 R0.5; G71 P10 Q20 U0.5 W0.1 F0.35;G71 P10 Q20 U0.5 W0.1 F0.35; N10N10 G00 X10.0;G00 X10.0; G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1; G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0; G01 X18.0 Z-19.0;G01 X18.0 Z-19.0; G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0; G01 X24.0 Z-30.0;G01 X24.0 Z-30.0; N20N20 G01 X39.0 Z-30.0;G01 X39.0 Z-30.0; G70 P10 Q20;G70 P10 Q20; G00 X39.0 Z2.0;G00 X39.0 Z2.0; G28 U0 W0;G28 U0 W0; M30;M30; WITH TNRC [BILLET X38.0 Z40.0;[BILLET X38.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G00 X 38.0 Z2.0;G00 X 38.0 Z2.0; G71 U1.0 R0.5;G71 U1.0 R0.5; G71 P10 Q20 U0.5 W0.1 F0.35;G71 P10 Q20 U0.5 W0.1 F0.35; N10N10 G00G00 G42G42 X10.0;X10.0; G01 X10.0 Z-10.0 F0.1;G01 X10.0 Z-10.0 F0.1; G02 X18.0 Z-14.0 R4.0;G02 X18.0 Z-14.0 R4.0; G01 X18.0 Z-19.0;G01 X18.0 Z-19.0; G03 X24.0 Z-22.0 R3.0;G03 X24.0 Z-22.0 R3.0; G01 X24.0 Z-30.0;G01 X24.0 Z-30.0; N20N20 G01G01 G40G40 X39.0 Z-30.0;X39.0 Z-30.0; G70 P10 Q20;G70 P10 Q20; G00 X39.0 Z2.0;G00 X39.0 Z2.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 67. How to specify in machineHow to specify in machine  Go to Tool Offset PageGo to Tool Offset Page  Choose the Offset Number for the given toolChoose the Offset Number for the given tool SlSl X-offsetX-offset Z-offsetZ-offset RR TT 11 ……………….... ……………….... 0.80.8 33  In R-Column specify the tool nose radiusIn R-Column specify the tool nose radius  In T-Column specify the Tool Type which ever is applicable from 1toIn T-Column specify the Tool Type which ever is applicable from 1to 8 No.8 No.
  • 68. G90 (Turning Cycle)G90 (Turning Cycle) [BILLET X45.0 Z40.0;[BILLET X45.0 Z40.0; G99 G21 G40 S1000 M13;G99 G21 G40 S1000 M13; G00 X 46.0 Z2.0;G00 X 46.0 Z2.0; G01 X35.0 Z0.0 F0.1;G01 X35.0 Z0.0 F0.1; G90 X45.0 Z-30.0 R-1.0 F0.1;G90 X45.0 Z-30.0 R-1.0 F0.1; G90 R-2.0;G90 R-2.0; G90 R-3.0;G90 R-3.0; G90 R-4.0;G90 R-4.0; G90 R-5.0;G90 R-5.0; G28 U0 W0;G28 U0 W0; M30;M30;
  • 69. Important G- CodesImportant G- Codes G00G00 Rapid Linear MovementRapid Linear Movement G00 X…. Z….G00 X…. Z…. Used for airUsed for air movements onlymovements only G01G01 Linear Interpolation withLinear Interpolation with Program defined feedProgram defined feed G01 X …. Z …. F….G01 X …. Z …. F…. Used for metalUsed for metal cuttingcutting G02G02 Circular InterpolationCircular Interpolation Clock Wise (CW) DirectionClock Wise (CW) Direction G02 X… Z... R… F…G02 X… Z... R… F… Used for metalUsed for metal cuttingcutting G03G03 Circular InterpolationCircular Interpolation Counter Clock WiseCounter Clock Wise (CCW) Direction(CCW) Direction G03 X… Z... R… F…G03 X… Z... R… F… Used for metalUsed for metal cuttingcutting