[Home]FanucRoughingCycleExamples

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

%O1000

(SAMPLES OF FANUC ROUGHING CYCLE WITH 2 BLOCK STYLE G71 VS CORRESPONDING LINE BY LINE CODE)
(AMOUNT OF LINE BY LINE CODE AT .250 DEPTH OF CUT VS .100 DEPTH OF CUT)
(ALSO EXAMPLES OF CHANGING STARTING POINT AT ORIGINAL .250 DEPTH OF CUT -- IF LARGER STOCK WOULD BE USED WITH G71 VS LINE BY LINE)
(SINGLE WORD CHANGE ON G71)
(USE OF G71 IS NOT A MEMORY SAVINGS ISSUE)
(DIFFERENCE IN G71 VS LINE BY LINE CODE IS EDIT SPEED ON THE CONTROL FOR THE OPERATOR)
(G71 ALLOWS EASY CUTTING OF SOFT JAWS, ROUGHING OF MATERIAL WITHOUT EXISTING PROGRAMS AS WELL)
(*** NOTE: R CHANGES IN G71 CYCLES ARE DUE TO AN ERROR IN THE POST PROCESSOR I JUST DISCOVERED WHILE CHECKING THESE SAMPLES ***)
(*** OUR POST PROCESSOR MAKES R==U ON LINE BY LINE CODE, SO R WAS MATCHED TO DEPTH OF CUT TO MAKE THE LINE BY LINE CODE MOVES MATCH EXACTLY ***)

(FIRST LINE OF G71: U: DEPTH OF CUT, R: RETRACT IN X+Z AT END OF DEPTH PASS)
(SECOND LINE OF G71: P: START OF CONTOUR BLOCK, Q: END OF CONTOUR BLOCK, U: STOCK IN X, DIAMETER IN OUR CASE, W: STOCK IN Z, F: FEEDRATE)

G50 S2500

( CNMG 432 OD ROUGH, KC9240 )
( .250 DOC )
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- CANNED )

N1
G0 T1212
G96 S550 M3
G0 Z.1
X7. M8
G71 U.25 R.25
G71 P9 Q13 U.04 W.02 F.015
N9 G0 X2.
N10 G1 Z-1.0183
N11 X3.9634 Z-2.
N12 X6.
N13 Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M1

( CNMG 432 OD ROUGH, KC9240, )
( .250 DOC -- LINE BY LINE)
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- LINE BY LINE )

N2
G0 T1212
G96 S550 M3
G0 Z.1
X6.5 M8
G1 Z-3.1313 F.015
G0 X7. Z-2.8813
Z.1
X6.
G1 Z-1.98
G0 X6.5 Z-1.73
Z.1
X5.5
G1 Z-1.98
G0 X6. Z-1.73
Z.1
X5.
G1 Z-1.98
G0 X5.5 Z-1.73
Z.1
X4.5
G1 Z-1.98
G0 X5. Z-1.73
Z.1
X4.
G1 Z-1.98
G0 X4.5 Z-1.73
Z.1
X3.5
G1 Z-1.74
G0 X4. Z-1.49
Z.1
X3.
G1 Z-1.49
G0 X3.5 Z-1.24
Z.1
X2.5
G1 Z-1.24
G0 X3. Z-.99
Z.1
X2.04
G1 Z-1.01
G0 X2.5 Z-.78
Z.0688
X2.04
G1 Z-1.01
X3.98 Z-1.98
X6.04
Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M1

( CNMG 432 OD ROUGH, KC9240 )
( .100 DOC )
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- CANNED )

N3
G0 T1212
G96 S550 M3
G0 Z.1
X7. M8
G71 U.1 R.1 (U CHANGED FOR NEW DEPTH OF CUT)
G71 P9 Q13 U.04 W.02 F.015
N9 G0 X2.
N10 G1 Z-1.0183
N11 X3.9634 Z-2.
N12 X6.
N13 Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M1


( CNMG 432 OD ROUGH, KC9240, )
( .100 DOC -- LINE BY LINE)
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- LINE BY LINE )

N4
G0 T1212
G96 S550 M3
G0 Z.1
X6.8 M8
G1 Z-3.1313 F.015
G0 X7. Z-3.0313
Z.1
X6.6
G1 Z-3.1313
G0 X6.8 Z-3.0313
Z.1
X6.4
G1 Z-3.1313
G0 X6.6 Z-3.0313
Z.1
X6.2
G1 Z-3.1313
G0 X6.4 Z-3.0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N13 Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M1

( CNMG 432 OD ROUGH, KC9240, )
( .250 DOC WITH X9. STARTING POINT -- LINE BY LINE CODE)
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- LINE BY LINE )

N6
G0 T1212
G96 S550 M3
G0 Z.1
X8.5 M8
G1 Z-3.1313 F.015
G0 X9. Z-2.8813
Z.1
X8.
G1 Z-3.1313
G0 X8.5 Z-2.8813
Z.1
X7.5
G1 Z-3.1313
G0 X8. Z-2.8813
Z.1
X7.
G1 Z-3.1313
G0 X7.5 Z-2.8813
Z.1
X6.5
G1 Z-3.1313
G0 X7. Z-2.8813
Z.1
X6.
G1 Z-1.98
G0 X6.5 Z-1.73
Z.1
X5.5
G1 Z-1.98
G0 X6. Z-1.73
Z.1
X5.
G1 Z-1.98
G0 X5.5 Z-1.73
Z.1
X4.5
G1 Z-1.98
G0 X5. Z-1.73
Z.1
X4.
G1 Z-1.98
G0 X4.5 Z-1.73
Z.1
X3.5
G1 Z-1.74
G0 X4. Z-1.49
Z.1
X3.
G1 Z-1.49
G0 X3.5 Z-1.24
Z.1
X2.5
G1 Z-1.24
G0 X3. Z-.99
Z.1
X2.04
G1 Z-1.01
G0 X2.5 Z-.78
Z.0688
X2.04
G1 Z-1.01
X3.98 Z-1.98
X6.04
Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M1

( CNMG 432 OD ROUGH, KC9240 )
( .250 DOC WITH ARC IN CONTOUR -- CANNED)
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- CANNED )

N7
G0 T1212
G96 S550 M3
G0 Z.1
X7. M8
G71 U.25 R.25
G71 P9 Q13 U.04 W.02 F.015
N9 G0 X2.
N10 G1 Z-1.0313
N11 G2 X3.9375 Z-2. I.9688 K0
N12 G1 X6.
N13 Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M1

( CNMG 432 OD ROUGH, KC9240, )
( .250 DOC WITH ARC IN CONTOUR -- LINE BY LINE)
( ROUGH OD LEAVES .02 PER SIDE AND .02 IN Z -- LINE BY LINE )

N8
G0 T1212
G96 S550 M3
G0 Z.1
X6.5 M8
G1 Z-3.1313 F.015
G0 X7. Z-2.8813
Z.1
X6.
G1 Z-1.98
G0 X6.5 Z-1.73
Z.1
X5.5
G1 Z-1.98
G0 X6. Z-1.73
Z.1
X5.
G1 Z-1.98
G0 X5.5 Z-1.73
Z.1
X4.5
G1 Z-1.98
G0 X5. Z-1.73
Z.1
X4.
G1 Z-1.98
G0 X4.5 Z-1.73
Z.1
X3.5
G1 Z-1.9544
G0 X4. Z-1.7044
Z.1
X3.
G1 Z-1.8561
G0 X3.5 Z-1.6061
Z.1
X2.5
G1 Z-1.6505
G0 X3. Z-1.4005
Z.1
X2.04
G1 Z-1.0313
G0 X2.5 Z-.8013
Z.0688
X2.04
G1 Z-1.0313
G2 X3.9375 Z-1.98 I.9488 K0
G1 X6.04
Z-3.1313
G0 Z.1
M9
G0 G28 U0
G0 G28 W0
M30
%

%
O1000 (NEW PROGRAM NUMBER DUE TO n LINES CONFLICTING WITH PREVIOUS CODE ONLY)
(FACE CONTOUR ROUGHED BY G72 AND THEN LINE BY LINE)
(THERE ARE ONLY RARE CASES THIS WOULD SEE ACTUAL USE, G72 IS MOSTLY USED FOR FACE STOCK REMOVAL)
(OUR INSERTS NOTCH MOST ON CONTACT WITH THE MATERIAL, LESS PASSES UP THAN IN CAN MAKE INSERTS LAST LONGER)

G50 S2500

( CNMG 432 ID ROUGH, KC9240 )
( .100 DEPTH OF CUT IN Z FOR FACE CONTOUR -- CANNED )
( ROUGH FACE COUNTERBORE LEAVES .02 PER SIDE AND .02 IN Z -- CANNED )

N1
G0 T0707
G96 S550 M3
G0 Z.1
X1.8 M8
G72 W.1 R.1
G72 P8 Q10 U-.04 W.02 F.015
N8 G0 Z-.5
N9 G1 X4.
N10 Z.1
M9
G0 G28 U0
G0 G28 W0
M1

( CNMG 432 ID ROUGH, KC9240, )
( .100 DEPTH OF CUT IN Z FOR FACE CONTOUR -- LINE BY LINE )
( ROUGH FACE COUNTERBORE .02 PER SIDE AND .02 IN Z -- LINE BY LINE )

N2
G0 T0707
G96 S550 M3
G0 Z.1
X1.8 M8
Z0
G1 X3.96 F.015
G0 X3.76 Z.1
X1.8
Z-.1
G1 X3.96
G0 X3.76 Z0
X1.8
Z-.2
G1 X3.96
G0 X3.76 Z-.1
X1.8
Z-.3
G1 X3.96
G0 X3.76 Z-.2
X1.8
Z-.4
G1 X3.96
G0 X3.76 Z-.3
X1.8
Z-.48
G1 X3.96
G0 X3.8 Z-.4
X1.8625
Z-.48
G1 X3.96
Z.1
M9
G0 G28 U0
G0 G28 W0
M30
%

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited June 6, 2010 3:18 pm by Morfic (diff)
Search:
Published under a Creative Commons License