Hello Guest it is March 29, 2024, 02:52:46 AM

Author Topic: Quick bit of gcoding help please  (Read 8072 times)

0 Members and 1 Guest are viewing this topic.

Quick bit of gcoding help please
« on: March 07, 2013, 09:36:40 AM »
so i used the wizard to drill a load of holes

heres the main part of the code -

G73 X5 Y40 Z-7 Q1 R7 F76

so its drilling a hole, coming up 7mm, going to the next hole and drilling etc...

but i have to come up 7mm to clear a screw i n the jig and when it comes back down its g1'ing form 7mm high. so takes ages to come down.

is there a way to edit the coding so it does like g00 z1 then g1 the rest of the way down???

thanks
Re: Quick bit of gcoding help please
« Reply #1 on: March 07, 2013, 10:03:25 AM »
you'll have to edit the gcode yourself. unless they have better ideas here.
but.............

g0 z7
x5 y40
G73 G1 F? X5 Y40 Z-7 Q1 R7

somthing like that. just move to pass the screw.
Kenneth
Re: Quick bit of gcoding help please
« Reply #2 on: March 07, 2013, 10:53:33 AM »
but if the code is like this

G73 X5 Y40 Z-7 Q1 R7 F76
x20 y50
x50 y65
and so on

im guess theres no quick was of doing it?
Re: Quick bit of gcoding help please
« Reply #3 on: March 07, 2013, 10:59:09 AM »
i know of no way except to edit the code yourself.
let's hope one of these good people know something.
Kenneth
Re: Quick bit of gcoding help please
« Reply #4 on: March 07, 2013, 11:56:22 AM »
Hi Andy
this should do the job.

G98
G0 Z7
X5 Y40
G73 X5 Y40 Z-7 Q1 R1 F76

Alex

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Quick bit of gcoding help please
« Reply #5 on: March 07, 2013, 12:16:26 PM »
IF there is just a single area where the clearance needs to be 7mm then change the code ONLY in that area to clear. The rest can be much closer.

G0 X0Y0 Z1
G73 X5 Y40 Z-7 Q1 R1 F76
X1
Y1
X2
Y2
X3 Y3  R7
X4 Y4
X5 Y5 R1
X6 Y6
G80
Re: Quick bit of gcoding help please
« Reply #6 on: March 07, 2013, 02:41:27 PM »
im drill 144 holes in one bit of work and each holes the drill bit needs to come up 7mm to avoid a screw.

so whats the best way?

the actual code

(Code by Newfangled Wizard, 26/10/2012)
(Program Posted for Aluminum )
G0 G49 G40.1 G17
G80 G50 G90 G98 
G21 (mm)
(***** Drill Hole Positions *****)
M6 T2
M03 S3200
M9
G00 G43 H2 Z7
G81 X5 Y5 Z-0.5 R7 F200
 X15 Y5
 X25 Y5
 X35 Y5
 X45 Y5
 X55 Y5
 X65 Y5
 X75 Y5
 X85 Y5
 X95 Y5
 X105 Y5
 X115 Y5
G80
(***** Drill Hole Positions *****)
G00  Z7
G81 X5 Y15 Z-0.5 R7 F200
 X15 Y15
 X25 Y15
 X35 Y15
 X45 Y15
 X55 Y15
 X65 Y15
 X75 Y15
 X85 Y15
 X95 Y15
 X105 Y15
 X115 Y15
G80
(***** Drill Hole Positions *****)
G00  Z7
G81 X5 Y30 Z-0.5 R7 F200
 X15 Y30
 X25 Y30
 X35 Y30
 X45 Y30
 X55 Y30
 X65 Y30
 X75 Y30
 X85 Y30
 X95 Y30
 X105 Y30
 X115 Y30
G80
(***** Drill Hole Positions *****)
G00  Z7
G81 X5 Y40 Z-0.5 R7 F200
 X15 Y40
 X25 Y40
 X35 Y40
 X45 Y40
 X55 Y40
 X65 Y40
 X75 Y40
 X85 Y40
 X95 Y40
 X105 Y40
 X115 Y40
G80
(***** Drill Hole Positions *****)
G00  Z7
G81 X5 Y55 Z-0.5 R7 F200
 X15 Y55
 X25 Y55
 X35 Y55
 X45 Y55
 X55 Y55
 X65 Y55
 X75 Y55
 X85 Y55
 X95 Y55
 X105 Y55
 X115 Y55
G80
(***** Drill Hole Positions *****)
G00  Z7
G81 X5 Y65 Z-0.5 R7 F200
 X15 Y65
 X25 Y65
 X35 Y65
 X45 Y65
 X55 Y65
 X65 Y65
 X75 Y65
 X85 Y65
 X95 Y65
 X105 Y65
 X115 Y65
G80

(Code by Newfangled Wizard, 30/01/2013)
(Program Posted for Aluminum )
G0 G49 G40.1 G17
G80 G50 G90 G98 
G21 (mm)
(***** Drill Hole Positions *****)
M6 T3
M03 S3200
M8 (Flood On)
G00 G43 H3 Z7
G73 X5 Y40 Z-7 Q1 R7 F76
 X15 Y40
 X25 Y40
 X35 Y40
 X45 Y40
 X55 Y40
 X65 Y40
 X75 Y40
 X85 Y40
 X95 Y40
 X105 Y40
 X115 Y40
G80
(***** Drill Hole Positions *****)
G00  Z7
G73 X5 Y30 Z-7 Q1 R7 F76
 X15 Y30
 X25 Y30
 X35 Y30
 X45 Y30
 X55 Y30
 X65 Y30
 X75 Y30
 X85 Y30
 X95 Y30
 X105 Y30
 X115 Y30
G80
(***** Drill Hole Positions *****)
G00  Z7
G73 X5 Y15 Z-7 Q1 R7 F76
 X15 Y15
 X25 Y15
 X35 Y15
 X45 Y15
 X55 Y15
 X65 Y15
 X75 Y15
 X85 Y15
 X95 Y15
 X105 Y15
 X115 Y15
G80
(***** Drill Hole Positions *****)
G00  Z7
G73 X5 Y5 Z-7 Q1 R7 F76
 X15 Y5
 X25 Y5
 X35 Y5
 X45 Y5
 X55 Y5
 X65 Y5
 X75 Y5
 X85 Y5
 X95 Y5
 X105 Y5
 X115 Y5
G80
(***** Drill Hole Positions *****)
G00  Z7
G73 X5 Y55 Z-7 Q1 R7 F76
X15 Y55
 X25 Y55
 X35 Y55
 X45 Y55
 X55 Y55
 X65 Y55
 X75 Y55
 X85 Y55
 X95 Y55
 X105 Y55
 X115 Y55
G80
(***** Drill Hole Positions *****)
G00  Z7
G73 X5 Y65 Z-7 Q1 R7 F76
 X15 Y65
 X25 Y65
 X35 Y65
 X45 Y65
 X55 Y65
 X65 Y65
 X75 Y65
 X85 Y65
 X95 Y65
 X105 Y65
 X115 Y65
G80
M5
m09
Re: Quick bit of gcoding help please
« Reply #7 on: March 07, 2013, 02:47:57 PM »
use G98 as Alex said or do as i said.
either way, you'll need to edit the gcode unless you can edit the
post processor.
Kenneth
Re: Quick bit of gcoding help please
« Reply #8 on: March 07, 2013, 02:51:12 PM »
i cant edit myself not a problem, but what does the g98 code do. i dont get alexs code
Re: Quick bit of gcoding help please
« Reply #9 on: March 07, 2013, 02:55:26 PM »
G98 = return to initial Z level in canned cycle
Kenneth