CNC TRAIN
CNC TRAIN
CNC TRAIN
MILL
USER ADDRESS
Miscellaneous Function (M Codes)
M00 Program Stop
By inserting M00 in a program, the cutting cycle is stopped after the block
containing M00 code. This facility is useful if an inspection check is necessary
during an operation. The cycle is then continued by a cycle start.
Example: M00
M01 Optional Stop
Cycle operation is stopped after a block containing M01 is executed. This
code is only effective when the optional stop switch on the machine control
panel has been pressed.
Example: M01
M02 Program End
M02 halts program execution. The spindle is turned off and the tool moves to
the most positive position on the Z axis.
Example: M02
M03 Spindle Rotation Clockwise
An M03 instruction starts spindle rotation clockwise.
It requires a speed within the range 100 to 3000 RPM
Example: M03 S2200
M04 Spindle Rotation Counter Clockwise
An M04 instruction starts spindle rotation counter clockwise.
It requires a speed within the range 100 to 3000 RPM
Example: M03 S2200
M05 Spindle Stop
M05 commands instruction stop spindle rotation. It is good programming
practice to issue an M05 before a tool change, and at the end of a program.
Example: M05
1. Start-up Program
2. Profile Program
3. End of the Program
1. Start-up Program
O1000
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T1
M03 S1500
G00 X0 Y0 Z5
2. Profile Program: Profile program is based on the given part
drawing.
Explanati
3. End of the Program on:
G91 G28 Z0
G28 X0 Y0
M05
M30
Programming
Examples
Example 01: Programming using linear interpolation
Write a manual part program for Profile Milling Operation for the component
shown
O1001in DWG.
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T1
M03 S1500
G90 G00 x0 Y0 Z5
G01 Z-1 F100
G01 X75 Y0
G01 X75 Y25
G01 X25 Y25
G01 X25 Y75
G01 X0 Y75
G01 X0 Y0
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Example 02: Programming using linear and circular interpolation
Write a manual part program for Profile Milling Operation for the component
shown in DWG.
O1002
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T1
M03 S1500
G90 G00 x0 Y0 Z5
G01 Z-1 F100
G01 X20 Y0
G02 X80 Y0 R30
G01 X100 Y0
G01 X100 Y30
G03 X100 Y70 R20
G01 X100 Y100
G01 X100 Y100
G01 X80 Y100
G02 X20 Y100 R30
G01 X0 Y100
G01 X0 Y0
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Example 03: Programming using linear and circular interpolation
Write a manual part program for Profile Milling Operation for the component
shown in DWG.
O1003
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T1
M03 S1500
G90 G00 X-30 Y-20 Z5
G01 Z-1 F100
G01 X-30 Y20
G02 X-20 Y30 R10
G01 X20 Y30
G03 X30 Y20 R10
G01 X30 Y-20
G01 X20 Y-30
G01 X-20 Y-30
G03 X-30 Y-20 R10
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Example 04: Programming using Sub-Program
Write a manual part program for Profile Milling Operation using Sub-Program
for the component shown in DWG.
Main Sub-
Program
O1004 Program
O2233
G91 G01 Z-1 F100
G90 G01 X-30 Y20
G21 G94 G02 X-20 Y30 R10
G91 G28 Z0 G01 X20 Y30
G28 X0 Y0 G03 X30 Y20 R10
M06 T1 G01 X30 Y-20
G01 X20 Y-30
M03 S1500
G01 X-20 Y-30
G90 G00 X-30 Y-20 G03 X-30 Y-20
Z5 R10
G01 Z0 F100 M99
M98 P52233
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Example 05.1: Programming for mirroring operation
Write a manual part program for Mirroring Operation for the component
shown in DWG
O1003
G21 G94 Sub-
G91 G28 Z0
G28 X0 Y0 Program
O2244
G90 G00 X15
M06 T1
Y15 Z5
M03 S1500
G01 Z-1 F100
M98 P2244
G01 X15 Y25
M70
G01 X25 Y25
M98 P2244
G01 X25 Y15
M80
G01 X15 Y15
M71
G00 Z5
M98 P2244
G00 X0 Y0
M81
M99
M70
M71
M98 P2244
M80
M81
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Example 05.2: Programming for mirroring operation
Write a manual part program for Mirroring Operation for the component
shown
O1004in DWG O2244
G21 G94 G90 G00 X30 Y0
G91 G28 Z0 Z5
G28 X0 Y0 G01 Z-1 F100
M06 T1 G01 X30 Y0
M03 S1500 X30 Y15
M98 P2244 G03 X15 Y30 I0
M70 J15
M98 P2244 G01 X0 Y30
M80 G00 Z5
M71 G00 X0 Y0
M98 P2244 M99
M81
M70
M71
M98 P2244
M80
M81
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Example 6: Programming using Scaling Command
Write a manual part program for Scaling Command for the component shown
O1010 O7777 O8888
G21 G94 G90 G00 X-30 Y- G51 P0.5
G91 G28 Z0 20 Z5 M98 P7777
G28 X0 Y0 G01 Z-1 F100 G00 Z5
M06 T1 G01 X-30 Y20 G50
M03 S1500 G02 X-20 Y30 R10 M99
M98 P7777 G01 X20 Y30
G90 G00 Z5 G03 X30 Y20 R10
M98 P8888 G01 X30 Y-20
G90 G00 Z5 G01 X20 Y-30
G91 G28 Z0 G01 X-20 Y-30
G28 X0 Y0 G03 X-30 Y-20
M05 R10
M30 M99
Example 7: Programming for Profile Milling using ATC option
Write a manual part program for Scaling Command for the component shown
WITH TOOL WITH TOOL
NO.1
O1011 NO.2
G21 G94 M06 T2
G91 G28 Z0 M03 S1200
G28 X0 Y0 G90 G00 X-20 Y0
M06 T1 Z5
M03 S1500 G01 Z-1 F100
G90 G00 X-30 Y-20 Z5 G02 X20 Y0 R10
G01 Z-1 F100 G02 X-20 Y0 R10
G01 X-30 Y20 G00 Z5
G02 X-20 Y30 R10 G91 G28 Z0
G01 X20 Y30 G28 X0 Y0
G03 X30 Y20 R10 M05
G01 X30 Y-20 M30
G01 X20 Y-30
G01 X-20 Y-30
G03 X-30 Y-20 R10
G00 Z5
G91 G28 Z0
G28 X0 Y0
Example 08: Programming for Datum Shift Operation using G54
Write a manual part program for Datum Shift Operation for the component
shown
O1008
G21 G94
G91 G28 Z0
G28 X0 Y0 O5566
M06 T1 G90 G00 Z-1
M03 S1500 F100
G90 G00 X10 Y10 G01 X0 Y10
Z5 G01 X10 Y10
G54 X10 Y10 G01 X10 Y0
M98 P5566 G01 X0 Y0
G00 Z5 G00 Z5
G90 G00 X-30 Y10
G54 X-30 Y10
M98 P5566
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Circular Pocket Milling Cycle
G170 P Q R X Y Z I J K
G171 P S R F B J Circular Pocket
P0 - ROUGHING OPERATION
P1 - FINISHING OPERATION
Q - DEPTH OF CUT FOR EACH PASS
R - REFERENCE POINT
X - POSITION OF TOOL IN X AXIS
Y - POSITION OF TOOL IN Y AXIS
Z - TOTAL DEPTH
I - SIDE FINISHING ALLOWENCE
J - BASE FINISHING ALLOWENCE
K - RADIUS OF THE POCKET
P - CUTTER MOVEMENT IN %, i.e., 50% OF THE CUTTER Dia.
S - ROUHING OPERATION SPINDLE SPEED
R - ROUGHING OPERATION FEED IN Z AXIS
F - ROUGHING OPERATION FEED IN X & Y AXES
B - FINISHING OPERATION SPINDLE SPEED
J - FINISHING OPERATION FEED IN X, Y & Z AXES
Example 8: Programming for Circular Pocket Milling operation
Write a manual part program for Circular Pocket Milling Operation for the
component
O1004 shown
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T1
M03 S1500
G90 G00 X0 Y0 Z5
G170 P0 Q1 R0.5 X0 Y0 Z-
4 I0.1 J0.1 K25
G171 P50 S1200 R60 F100
B1500 J60
G170 P1 Q1 R0.5 X0 Y0 Z-
4 I0 J0 K25
G171 P50 S1200 R60 F100
B1500 J60
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Rectangular Pocket Milling
G172 P Q R X Y Z I J K
G173 I K P S T R F B J Z Rectangular Pocket
P0 - ROUGHING OPERATION
P1- FINISHING OPERATION
Q - DEPTH OF CUT FOR EACH PASS
R - REFERENCE POINT
X - RECTANGULAR POCKET X AXIS LEFT CORNER
Y - RECTANGULAR POCKET Y AXIS LEFT CORNER
Z - TOTAL DEPTH
I - TOTAL LENGTH IN X AXIS
J - TOTAL LENGTH IN Y AXIS
K - CORNER RADIUS OF THE POCKET
I - SIDE FINISHING ALLOWENCE
K - BASE FINISHING ALLOWENCE
P - CUTTER MOVEMENT IN %, i.e., 50% OF THE CUTTER Dia.
S - ROUGHING OPERATION SPINDLE SPEED
T - TOOL NUMBER
R - ROUGHING OPERATION FEED IN Z AXIS
F - ROUGHING OPERATION FEED IN X & Y AXES
B - FINISHING OPERATION SPINDLE SPEED
J - FINISHING OPERATION FEED IN X, Y & Z AXES
Z - SAFETY POSITION
Example 9: Programming for Rectangular Pocket Milling operation
Write a manual part program for Rectangular Pocket Milling Operation for the
component
O1005 shown
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T1
M03 S1500
G90 G00 X0 Y0 Z5
G172 P0 Q1 R0.5 X-25 Y-
17.5 Z-4 I50 J35 K0
G173 P50 S1200 T1 R60
F100 B1500 J60 Z5 I0.1
K0.1
G172 P1 Q1 R0.5 X-25 Y-
17.5 Z-4 I50 J35 K0
G173 P50 S1200 T1 R60
F100 B1500 J60 Z5 I0 K0
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Canned
Cycles
In order to simplify programming, the canned cycle command can execute
the specific operation using one G code, instead of several separated G code
commands in the program. It may be
G73 High speed peck Drilling cycle ,
G81 Continuous drilling cycle (or) Spot drilling cycle,
G83 Peck drilling cycle
In general, etc. cycle consists of six
canned
operations as shown below.
Return to initial point / R point in a canned cycle (G98 / G99)
G98
G_X_Y_Z_R_Q_P_F_K_
G99
Explanation of the parameters
G98 - Return to initial point in a canned cycle
G99 - Return to R point in a canned cycle
The other parameters would be explained in the specific canned cycle.
Function:
G73 High speed peck Drilling cycle
G98
G73 _ X _ Y _ Z _ R _ Q _ P _ F _ K _
G99
Example:
M03 S1200
G90 G00 X10 Y10 Z10
G99 G73 X10 Y10 Z-2 R1 P500 Q1 F80 K1
G80
Example 10: Programming for Drilling operation using G73
Write a manual part program for Drilling Operation for the component shown
O1006
N10 G21 G94
N20 G91 G28 Z0
N30 G28 X0 Y0
N40 M06 T1
N50 M03 S1500
N60 G90 G00 X25 Y25 Z5
N70 G01 Z2 F100
N80 G73 G99 X25 Y25 Z-15 Q1 R0.5 F80 K1
G0 Z5
G80
N90 G73 G99 X-25 Y25 Z-15 Q1 R0.5 F80 K1
G0 Z4
G80
N100 G73 G99 X-25 Y-25 Z-15 Q1 R0.5 F80 K1
G0 Z5
G80
N110 G73 G99 X25 Y-25 Z-15 Q1 R0.5 F80 K1
N120 G00 Z5
N130 G80
N140 G91 G28 Z0
N150 G28 X0 Y0
N160 M05
N170 M30
Example 11: Programming for Drilling Operation on PCD by Using
G73
Write a manual part program for Drilling Operation on PCD Operation for the
component shown
1O1007
N1G21 G94 N23G73 G99X-35 Y0 Z-5 Q1 R0.5 F80
N2G91 G28 Z0 K1
N3G28 X0 Y0 N24G0 Z5
N4M06 T1 N25G80
N5M03 S1500 N26X-24.748 Y-24.748
N6G90 G00 X35 Y0 Z5 N27G73 G99X-24.748 Y-24.748 Z-5
N7G73 G99 X35 Y0 Z-5 Q1 R0.5 F80 K1 Q1 R0.5 F80 K1
N8G0 Z5 N28G0 Z5
N9G80 N29G80
N10X24.748 Y24.748 N30X0 Y-35
N11G73 G99 X24.748 Y24.748 Z-5 Q1 N31G73 G99X0 Y-35 Z-5 Q1 R0.5 F80
R0.5 F80 K1 K1
N12G0 Z5 N32G0 Z5
N13G80 N33G80
N14X0 Y35 N34X24.748 Y-24.748
N15G73 G99 X0 Y35 Z-5 Q1 R0.5 F80 K1 N35G73 G99X24.748 Y-24.748 Z-5 Q1
N16G0 Z5 R0.5 F80 K1
N17G80 N36G00 Z5
N18X-24.748 Y24.748 N37G80
N19G73 G99X-24.748 Y24.748 Z-5 Q1 N38G91 G28 Z0
R0.5 F80 K1 N39G28 X0 Y0
N20G0 Z5 N40M05
N21G80 N41M30
N22X-35 Y0
Example 09: Programming for Drilling operation using Rotation
Command (G68)
Write a manual part program for Drilling Operation using Rotation command
for the component
O1009
G21 G94 G68 R315
G91 G28 Z0 M98 P6677 O6677
G28 X0 Y0 G00 Z5 G73 G99 X35 Y0 Z-5
M06 T1 G69 Q1 R0.5 F80 K1
M03 S1500 G91 G28 Z0 G00 Z5
G90 G00 X35 G28 X0 Y0 G80
Y0 Z5 M05 M99
G68 R0 M30
M98 P6677
G68 R45
M98 P6677
G68 R90
M98 P6677
G68 R135
M98 P6677
G68 R180
M98 P6677
G68 R225
M98 P6677
G68 R270
M98 P6677
G80 canned cycle cancel
G80 is canned cycle cancelled. Meanwhile, the point R and the point Z are all
cancelled.
After Selecting Tool offsets the following window appears. Choose required
tool position and Double Click on it. The following window appears on the
screen. Manually enter TOOL RAD and ACTUAL DIAM.
Then Add Tool To Library. The following window appears and Click OK on CNC
TRAINER
SETTINGS.
Move the Tool in JOG Mode with Appropriate Displacement until tool touches
the edge of the billet as shown below.
Now Select DATUM and then Click X axis on the CNC DISPLAY which will turn
into ZERO indicating the point has been made Zero in X axis.
Lift the Tool away from the billet by using Manual mode equal to the radius of
the cutter in X + direction and Select Datum and Click on X axis on the CNC
DISPLAY which will turn into ZERO indicating the point has been made Zero in
X axis.
Repeat the Procedure for taking the Offset in Y axis also.
For taking Z axis offset, bring the cutter to the surface of the billet by using
JOG Mode. As the cutter touches the billet Select Datum and Click on Z axis
on the CNC DISPLAY which will show Zero.
Offset for all the subsequent tools in Z axis are to be taken based on the
Length of first tool.
Procedur
es:
Select Tool Offsets from Job/Tooling Main
Menu.
Select Tool Type as per the Program and Select Tooling form CNC TRAINER
SETTINGS; choose required tool and Double Click on it. The following window
appears on the screen.
For taking Z axis offset, bring the cutter to the surface of the billet by using
JOG Mode. As the cutter touches the billet lick on Z LENGTH on the CNC
TRAINER SETTING which will show offset value with respect to first tool.
NOTE:
X and Y offsets remains same for
all the tool
DONTS
Never Open Guard Doors While Machine is in
Running
Never Attempt to Bypass Guard Interlock, Safety
Devices etc.
Never Leave Machine Unattended While in Running
Never Adjust Tooling or Coolant While Machine is
Running
Never Use Broken or Worn Tooling
Never Remove any Warning or Instruction Tags
from Machine
Never Operate any Equipment if unusual or
Excessive Noise Vibration Occurs
Never Remove Chips with the Hands
Never Remove or load Work pieces While Machine
is in Motion
Never Allow the Operation or Repair of Equipment
DOS
Always make sure all Tools are Securely Clamped in
Position
Capacity
Chuck Size mm 100
Maximum Turning Diameter mm 32
Maximum Turning Length mm
120
Bed --
Slant Bed 45 deg
No. of Axis -- 2
Swing Over Bed mm
150
Swing Over Cross slide mm 50
Distance between Centers mm
210
from Spindle Face
Spindle
Spindle Motor Capacity HP 1
Programmable Spindle Speed pm 150-3000
Accuracy
Specifications of the XLTURN
Specifications Units
XLTURN
Axis
X -Axis Travel mm
80
Z -Axis Travel mm
180
Rapid rate X / Z axes m/min
1.2m/min
Programmable Feed Rate X / Z axes mm / min 0
-1000
Axis Motor ( X & Z axis ) --
Stepper Motors
Specifications Units
XLTURN
CNC Details
Control -- PC based 2
axis
Continuous path
Machine Dimensions
Height x Length x Depth mm 880 x 575 x
615
Machine Weight kg 150
Lubrication System -- Centralized Lubrication
System
Optional Accessories
CAM Software, Offline Programming Software, Auto Door, Pneumatic Chuck,
Work Bench, Loading / Unloading Arm, Stabilizer, Air Compressor.
Features
Compatible / Upgradable -- FMS / CIM
System
Sample Program build-up for CNC Lathe
using FANUC System
CNC Program can be divided into three parts.
1. Start-up Program
2. Profile Program
3. End of the Program
1. Start-up Program
N10 O1000
N20G21 G98
N30G28 U0 W0
N40M06 T1
N50M03 S1500
N60G00 X32 Z5
Explanation:
N10 O1000 : While writing a program on FANUC controller first line has to b
with
letter O followed by four digit number which specifies the
number.
N20 G21 G98 : G21 -specifies that program is done in metric units.
G98 gives the unit of feed in mm / min.
N30G28 U0 W0: Makes the tool to go to home position.
U & W are secondary movements about x and z axis.
N40 M06 T1: Tool Change with tool position No: 1
N50 M03S1500: Makes the spindle rotation in clockwise with spindle rotates
at1500 RPM
N60 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.
EXAMPLE:01
PART PROGRAM EXPLANATION
N100 G01 Z-1 F80
O1001
N10 G21 G98 --Initial Settings
N20 G28 U0 W0 --Going to home position N110 G01 X-2
N30 M06 T1 --Tool Change Position No. 01
N40 M03 S1500 --Spindle clockwise with 1500 RPM N120 G01 Z5
N50 G00 X33 Z5 --Tool Moving to Tool Entry Point of X33 Z5 at Rapid Traverse.
N60 G01 Z-0.5 F80 --Giving First depth of cut of 0.5 mm at a feed rate of 80 mm / min.
N130 G00 X33
N70 G01 X-2 --Moving the tool towards spindle centre line
N80 G01 Z5 --Retract the tool in Z axis
N90 G00 X33 --Moving the tool to X33 position N150 G01 X-2
N160 G01 Z5
N100 G01 Z-1 F80 --Giving Second depth of cut
N110 G01 X-2 --Moving the tool towards spindle centre line
N120 G01 Z5 --Retract the tool in Z axis N170 G00 X33
N130 G00 X33 --Moving the tool to X33 position
N140 G01 Z-1.5 F80 --Giving Third depth of cut N180 G01 Z-2 F80
N150 G01 X-2 --Moving the tool towards spindle centre line
N160 G01 Z5 --Retract the tool in Z axis
N170 G00 X33 --Moving the tool to X33 position N190 G01 X-2
N180 G01 Z-2 F80 --Giving Fourth depth of cut
N190 G01 X-2 --Moving the tool towards spindle centre line N200 G01 Z5
N200 G01 Z5 --Retract the tool in Z axis
N210 G00 X33 --Moving the tool to X33 position N210 G00 X33
N220 G01 Z-2.5 F80 --Giving Fifth depth of cut
N230 G01 X-2 --Moving the tool towards spindle centre line
N240 G01 Z5 --Retract the tool in Z axis N220 G01 Z-2.5 F80
N250 G00 X33 --Moving the tool to X33 position
N260 G01 Z-3 F80 --Giving Sixth depth of cut N230 G01 X-2
N270 G01 X-2 --Moving the tool towards spindle centre line
N280 G01 Z5 --Retract the tool in Z axis
N240 G01 Z5
N290 G00X33 --Moving the tool to X33 position
PART PROGRAM EXPLANATION
N300 G01 Z-3.5 F80 --Giving Seventh depth of
cut
N310 G01 X-2 -Moving the tool towards spindle
centre line
N320 G01 Z5 --Retract the tool in Z axis
N330 G00 X33 --Moving the tool to X33 position
N340 G01 Z-4 F80 --Giving Eight depth of cut
N350 G01 X-2 --Moving the tool towards
spindle centre line
N360 G01 Z5 --Retract the tool in Z axis
N370 G00 X33 --Moving the tool to X33 position
N380 G28 U0 W0 --Going to home position
N390 M05 --Stop the spindle
N400 M30 --Program stops and rewind
Write a Manual Part Program for Turning Operation for the Component
shown below
EXAMPLE:0
2
O1002
G21 G98------Initial Settings
G28 U0 W0------Going to home position
M06 T1------Tool Change Position No. 01
M03 S1500------Spindle clockwise with 1500 RPM
G00 X32 Z5------Tool Moving to Tool Entry Point of X32 Z5 at Rapid Traverse
G01 X31 F80------Giving First depth of cut of 1 mm at a feed rate of 80 mm / min
G01 Z-25------Moving the tool towards Z-25 mm
G01 X32 -----Retract the tool in X axis
G00 Z5------Moving the tool to Z5 position
G01 X30 F8 ---Giving Second depth of cut of 1 mm at a feed rate of 80mm / min
G01 Z-25------Moving the tool towards Z-25 mm
G01 X32 ------Retract the tool in X axis
G00 Z5 ------Moving the tool to Z5 position
G01 X29 F80 ------Giving Third depth of cut of 1 mm at a feed rate of 80 mm / min
G01 Z-25 ------Moving the tool towards Z-25 mm
G01 X32 ------Retract the tool in X axis
G00 Z5 ------Moving the tool to Z5 position
G01 X28 F80 ------Giving Fourth depth of cut of 1 mm at a feed rate of 80mm / min
G01 Z-25 ------Moving the tool towards Z-25 mm
G01 X32 ------Retract the tool in X axis
G00 Z5 ------Moving the tool to Z5 position
G28 U0 W0 ------Going to home position
M05 ------Stop the spindle
M30 ------Program stop and rewind
Write a Manual Part Program for Linear and Circular profile for the
Component
shown
EXAMPLE:0
3
O1003
Format
G92XZF
Where,
X-Minor Diameter, mm
Z-Thread Length, mm
F-Pitch of the Thread, mm
Write a Manual Part Program for Threading Operation for the
Component shown
EXAMPLE:11
Majo
r
O1011
G21 G98------Initial Settings
G28 U0 W0------Going to home position
M06 T1------Tool Change Position No. 01
M03 S1500------Spindle clockwise with 1500 RPM
G00 X32.5 Z5------Tool Moving to Tool Entry Point of X32.5 Z5 at Rapid
Traverse
G92 X31.9 Z-14 F1------Calling G92 Cycle and defining First Depth of Cut
X31.8
X31.7
X31.6
X31.5
X31.4
X31.3
X31.2
X31.1
X31
X30.9
X30.8
X30.774
X30.774
G28 U0 W0
M05
M30
Multiple Threading Cycle(G76)
Description:
Thread cutting cycle can be commanded
by the G76 command as shown in the
figure. This cycle also requires two
blocks are needed to specify the all
parameters.
Format:
G76P (m) (r)(a)Q (dmin)R (d)
G76XZP (k)Q (d)F
m-No. of repeats for finishing
operation
r-Chamfering amount
a-Tool angle, degree
Q-Minimum Cutting Depth, (in
Micron)
R-Finishing Allowance, (in mm)
X- Minor Diameter, mm
Z-Thread Length, mm
P (k)-Thread Height, (in Micron)
Q (d)-Depth of cut for first pass(in
Micron)
F-Pitch of the thread, mm
Write a Manual Part Program for Multiple Threading
Operation for the Component shown
EXAMPLE:10
Majo
r
O1010 Format:
G21 G98------Initial Settings G76P (m) (r)(a)Q (dmin)R (d)
G28 U0 W0------Going to home G76XZP (k)Q (d)F
position m-No. of repeats for finishing
M06 T1------Tool Change Position operation
No. 01 r-Chamfering amount
M03 S1500------Spindle clockwise a-Tool angle, degree
with 1500 RPM Q-Minimum Cutting Depth, (in
G00 X32.5 Z5------Tool Moving to Micron)
Tool Entry Point X32.5 Z5 at Rapid R-Finishing Allowance, (in mm)
Traverse X-Minor Diameter, mm
G76 P040060 Q50 R0.01 Z-Thread Length, mm
------CallingG76 Cycle and defining P (k)-Thread Height, (in Micron)
cycle parameters Q (d)-Depth of cut for first
G76 X30.774 Z-14 P613 Q100 pass(in Micron)
F1 F-Pitch of the thread, mm
G28 U0 W0
M05
M30
Drilling
Description: Cycle:G74
This cycle is designated for deep hole drilling, the drill entering the work
piece by a predetermined amount then backing off by another set amount to
provide breaking and allowing swarf to clear the drill flutes. This cycle is
commanded by two distinct lines of parameters.
Format:
G74R (e)
G74XZQ (k)F
R (e)-Return
Amount,mm
X-Always Zero, mm
Z-Drilling Depth,
mm
Q-Depth of Cut
in Z axis (in Micron)
F-Feed Rate, mm
Write a Manual Part Program for Drilling Operation for the
EXAMPLE:13 Component shown
O1013
G21 G98------Initial Settings
G28 U0 W0------Going to home position
M06 T1------Tool Change Position No. 01
M03 S1500------Spindle clockwise with 1500 RPM
G00 X0 Z5------Tool Moving to Tool Entry Point of X0 Z5 at Rapid Traverse
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-5 Q500 F100
G28 U0 W0
M06T2------Tool Change Position No. 02
M03 S1200
G00 X0 Z5
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-24 Q500 F80
G28 U0 W0
M06 T3------Tool Change Position No. 03
M03 S1000
G00 X0 Z5
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-24 Q500 F60
G28 U0 W0
M05
M30
Programming for Boring
Operation(ID)
Write a Manual Part Program for Boring Operation for the
EXAMPLE:14 Component shown
O1014
G21 G98------Initial Settings
G28 U0 W0------Going to home position
M06 T1------Tool Change Position No. 01
M03 S1500------Spindle clockwise with 1500 RPM
G00 X0 Z5------Tool Moving to Tool Entry Point of X0 Z5 at Rapid Traverse
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-5 Q500 F100
G28 U0 W0
M06 T2------Tool Change Position No. 02
M03 S1200
G00 X0 Z5
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-24 Q500 F80
G28 U0 W0
M06 T3------Tool Change Position No. 03
M03 S1000
G00 X0 Z5
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-24 Q500 F60
G28 U0 W0
M06 T4------Tool Change Position No. 04
M03 S1200
G00 X12 Z5
G71 U0.5 R1------Calling G71 Cycle and defining
parameters
G71 P1 Q2 U-0.1 W0.1 F80
N1 G01 X26 F80
G01 Z0
G02 X22 Z-4 R4
G01 Z-14
G01 X16 Z-20
N2 G01 X12
G70 P1 Q2 S1400 F60
G28 U0 W0
M05
M30
Programming for Internal threading operation
Write a Manual Part Program for Internal threading operation for the
EXAMPLE:15 Component shown
O1015
G21 G98------Initial Settings
G28 U0 W0------Going to home position
M06 T1------Tool Change Position No. 01
M03 S1500------Spindle clockwise with 1500 RPM
G00 X0 Z5------Tool Moving to Tool Entry Point of X0 Z5 at Rapid Traverse
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-5 Q500 F100
G28 U0 W0
M06 T2------Tool Change Position No. 02
M03 S1200
G00 X0 Z5
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-30 Q500 F80
G28 U0 W0
M06 T3------Tool Change Position No. 03
M03 S1000
G00 X0 Z5
G74 R1------Calling G74 Cycle and defining parameters
G74 X0 Z-30Q500 F60
G28 U0 W0
M06 T4------Tool Change Position No. 04
M03 S1200
G00 X12 Z5
G90 X13 Z-24 F80------Calling G90 Cycle and defining parameters
X14
X15
X16
X17 Z-18
X18
X19
X20
X21
X22
X23
X24
X24.162
G28 U0 W0
M06 T1
M03 S400
G00 X24 Z5
G76 P040060 Q50 R0.01
G76 X26 Z-14 P919 Q100 F1.5
G28 U0 W0
M05
M30
Exercises
No.1
Exercises
No.1
Exercises
No.1
Exercises
No.2
Exercises
No.3
Exercises
No.3
Exercises
No.1
Exercises
No.1
Exercises
No.1
Exercises
No.3
DOSAND DONTS FOR CNC MACHINES
DONTS
Never Open Guard Doors While Machine is in running.
Never Attempt to Bypass Guard Interlock, Safety Devices etc.
Never Leave Machine Unattended While in Running.
Never Adjust Tooling or Coolant While Machine is running.
Never Use Broken or Worn Tooling.
Never Remove any Warning or Instruction Tags from Machine.
Never operate any Equipment if unusual or Excessive Noise
Vibration Occurs.
Never Remove Chips with the Hands.
Never Remove or load Work pieces While Machine is in Motion.
Never Allow the Operation or Repair of Equipment by Untrained
Personnel.
Never Leave Tools or other items on the Machine.
Never Touch Electrical Equipment When Hands are Wet.
DOSAND DONTS FOR CNC MACHINES
DOS