cnc examples(1) - copy
Post on 07-Jul-2018
220 Views
Preview:
TRANSCRIPT
-
8/19/2019 CNC Examples(1) - Copy
1/3
O 3333 (Program Number)
N01 G28 U0 W0 G28 - Reference & Home Position
N02 T0101 T0101 - 01- Tool Offset, 01-Tool Number
N03 G50 S2000 G50 S - Spindle Speed in RPM
N04 G96 S40 G96 - Cutting Speed
N05 M04 M04 - Spindle Anticlockwise
N06 G00 X27 Z2
N07 G71 U1 R1 G71 - Righting Cycle, U – approach, R – Reliving
N08 G71 P9 Q15 W.5 U.5 F.1 U, W - Finishing Allowance
N09 G01 X0 Z0
N10 G03 X10 Z-5 R5 G03 - Anticlockwise Interpolation, R - Radius
N11 G01 X10 Z-10
N12 G01 X16 Z-20N13 G01 X16 Z-25
N14 G02 X25 Z-29.5 R4.5 G02 - Clockwise Interpolation
N15 G01 X25 Z-30
N16 G70 P9 Q15 G70 - Finishing Cycle
N17 G28 U0 W0
N18 M05 M05 - Spindle Stop
N19 M02 M02 - Program End
TURNING
X
- z
(X0, Z0)
Tool
-
8/19/2019 CNC Examples(1) - Copy
2/3
MILLING
-
8/19/2019 CNC Examples(1) - Copy
3/3
Line no CNC Code Explanation
O 1234 Program number. N01 G28 G91 G00 Z0 Return to reference position;
Incremental programming;Cutter touching the work-piece(Z=0).
N02 G28 G91 G00 X0 Y0 Return to reference position;Incremental programming;Machine zero.
N03 M06 T0101 Tool change;Select tool.
N04 G90 M03 S2000 Absolute programming;Main spindle ON clockwise;Maximum spindle speed 2000 r.p.m.
N05 G00 X0 Y0 Z5 Positioning to datum point (0,0,5) N06 G01 X0 Y0 Z-1 F50 Linear interpolation;
Tool moves to a depth of 1mm into thework piece with a feed of 50 mm/rev.
N07 G01 X-40 Y0 Linear interpolation from point (0,0,-1) to(40,0,-1)
N08 G01 X-60 Y-20 Linear interpolation from point (40,0,-1) to(60,20,-1)
N09 G01 X-60 Y-30 Linear interpolation from point (60,20,-1)to (60,30,-1)
N010 G01 X-40 Y-40 Linear interpolation from point (60,30,-1)to (40,40,-1)
N011 G01 X-40 Y-50 Linear interpolation from point (40,40,-1)to (40,50,-1)
N012 G01 X-25 Y-50 Linear interpolation from point (40,50,-1)to (25,50,-1)
N013 G01 X0 Y-25 Linear interpolation from point (25,50,-1)to (0,25,-1)
N014 G01 X0 Y0 Linear interpolation from point (0,25,-1) to(0,0,-1)
N015 G01 X0 Y0 Z5 Linear interpolation from point (0,0,-1) to(0,0,5)
N016 M05 Main spindle OFF
N017 G28 G91 Z0 Return to reference position;Incremental programming;Tool returns to work piece surface.
N018 G28 G91 X0 Y0 Return to reference position. N019 M02 Program end.
top related