Hello Guest it is March 28, 2024, 06:26:13 PM

Author Topic: Control Plunge rate & Retract rate  (Read 9359 times)

0 Members and 1 Guest are viewing this topic.

Control Plunge rate & Retract rate
« on: January 14, 2009, 04:16:48 PM »
Hello!
When I design a drill patern in my Cam program the G code that generate is with a general Feed-rate.
In program the  Plunge rate & Retract rate fields are inactive.
also it does not include the tool feed-rate preferences.
the code  that generates is something like that:

Any idea how to control the Plunge rate & Retract rate? ??? ??? ???
Lets say
Plunge rate 200
Retract rate 600



(PROGRAM NAME - 5X5 holes 2mm per 10mm )
(DATE=DD-MM-YY -  14-01-09  TIME=HH:MM -  23:05 )
N100 G17 G21 G90 G40 G80 G64 G49 G0 M05
N102 G8 P1
N104 G90 M05 Z0
N106 G52 X0. Y0. Z0.
N108 T12 M06
(  2. DRILL )
( TOOL - 12  DIA. OFF. - 0  LEN. - 0  DIA. - 2. )
N110 G54 G0 X-105.183 Y-23.882
N112 S0 M3
N114 G43 H0 Z60.
N116 Z5.
N118 G17 G99 G82 Z-6. R5. P300. F4000.
N120 Y-13.882
N122 Y-3.882
N124 Y6.118
N126 Y16.118
N128 X-95.183 Y-23.882
N130 Y-13.882
N132 Y-3.882
N134 Y6.118
N136 Y16.118
N138 X-85.183 Y-23.882
N140 Y-13.882
N142 Y-3.882
N144 Y6.118
N146 Y16.118
N148 X-75.183 Y-23.882
N150 Y-13.882
N152 Y-3.882
N154 Y6.118
N156 Y16.118
N158 X-65.183 Y-23.882
N160 Y-13.882
N162 Y-3.882
N164 Y6.118
N166 Y16.118
N168 G80
N170 Z60.
N172 G90 G49 M05 Z0
N174 G53 X0. Y0.
N176 G52 X0. Y0. Z0.
N178 G8 P0
N180 G17
N182 M30

thanks a lot
George
« Last Edit: January 14, 2009, 04:19:35 PM by GEORGETOUBALIS »

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Control Plunge rate & Retract rate
« Reply #1 on: January 14, 2009, 05:17:33 PM »
GEORGE,
How about trying one of the wizards available in MACH and just compare the Gcode.
Good learning and may be interesting.
Lazy answer on my part but will be more fun for you,
RICH

vmax549

*
Re: Control Plunge rate & Retract rate
« Reply #2 on: January 14, 2009, 07:18:58 PM »
HIYA George , The the plunge rate is set by your cam program. Probably under the tool setup section . THe retract rate is controlled by MACH when using a canned drill cycle and is not normally changeable. THe option to this is to program the actutal drill cycle as a sub program then you can have independat plunge and retract feeds.

Hope that helps, (;-) TP
Re: Control Plunge rate & Retract rate
« Reply #3 on: January 14, 2009, 07:56:33 PM »
GEORGE,
How about trying one of the wizards available in MACH and just compare the Gcode.
Good learning and may be interesting.
Lazy answer on my part but will be more fun for you,
RICH

I just try it nothing new..! ???
thanx Rich!
Re: Control Plunge rate & Retract rate
« Reply #4 on: January 14, 2009, 07:58:14 PM »
HIYA George , The the plunge rate is set by your cam program. Probably under the tool setup section . THe retract rate is controlled by MACH when using a canned drill cycle and is not normally changeable. THe option to this is to program the actutal drill cycle as a sub program then you can have independat plunge and retract feeds.

Hope that helps, (;-) TP

Yes... but how I can do that?
Re: Control Plunge rate & Retract rate
« Reply #5 on: August 24, 2018, 07:01:19 AM »

                   


O5124
N10   M06 T04 ;
N20   G90 G80 G17 G00 G54 X0 Y0 ;
N30   G43 Z100 H4 ;
N40   M03 S1500 ;
N50   M07 ;
N60   G99 G82 X20 Y20 Z-10 R5  P1000 F120  ;
N70   X50 Y20 ;
N80   G98 G80 G00 Z100 ;
N90   M05 M09 M30 ;
                                                                       More examples..........!!!!
DESCRIPTION OF PROGRAM


N10- Tool change command , select tool no. 4
N20- Absolute co-ordinate command , cancel canned cycle command , selection of  XY plane, rapid command, work coordinate for tool positioning at  X0 and Y0.
N30- Tool height offset compensation command , where tool is 100 along Z axis , tool hight code H4.
N40- Spindle on clockwise , speed is 1500 rpm .
N50- Coolant ON .
N60- Return to R-plane in canned cycle , counter drilling command ,first drilling position is X20 and Y20 Depth of drilling is 10 , R- plane distance is 5 ,dwell time is 1 sec ,   feed rate is 120.
N70- Second drill position where X 50 and Y20 and drilling depth is 10.
N80-Tool return initial position , cancel canned cycle , rapid command , where tool along Z axis is 100 .
N90-Spindle off , coolant off, Main program end .

more details with diagram visit - http://www.hdknowledge.com/2018/08/how-do-i-program-with-fanuc-g82-counter-boring-drilling-cycle.html