CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-08-2009, 12:15 AM
 
Join Date: Dec 2005
Location: US
Posts: 42
Sam A is on a distinguished road
Peck Drill Cycle G83

I have a Practical CNC with a WinCNC controller. I use BobCad for creating g-code files.

I am adding a Peck Drill Cycle to my machining tools.

Simple questions;

1. Do I have to have G83 on each line of code?

2. How do I set the Rapid movement Z in the code?

Thanks

Sam
Reply With Quote

  #2   Ban this user!
Old 04-08-2009, 01:28 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road

Originally Posted by Sam A View Post
I have a Practical CNC with a WinCNC controller. I use BobCad for creating g-code files.

I am adding a Peck Drill Cycle to my machining tools.

Simple questions;

1. Do I have to have G83 on each line of code?

2. How do I set the Rapid movement Z in the code?

Thanks

Sam

Hi Sam, G83 is a canned cycle designed to make it easier to drill multiple holes. While I don't have either of the mentioned programs, here is how it works on Mach3 and Deskcnc.

1. No. the code looks like this,
G83 x0 y0 z-1 r.1 q .050
x1 y1
x0 y2
x4
y4
G00 z2 (to clear the tool and cancel the G81)
X0 Y0
The second line and the rest just have x and y coordinates.
The tool does the following. It will rapid to the X0 Y0 Z.1 position, then it will drill in increments of .050 (the Q value) retracting to .1 above the surface (the R value) until it gets to -1(the Z value).
All of the retracts and the return to drilling are done at the machines rapid speed. The cycle stops the return rapid just short of the last depth, then goes to the feed rate to drill the next increment. It makes coding this much easier than hand coding it. It is also cool to watch.

Be careful about setting R to 0 as it will rapid right to the surface of the part, depending on where your Z0 is set. IIRC

You may have to add code to clear obstacles, so in my example above you might put in a G00 Z4, then on the next line a X0 Y0 to get around something and put the tool above the hole before starting the g83.

It will then move to all the other X,Y values untill the G83 is cancelled by another G-code such as G00. You can even have just the X value or the Y value on a line and it is still valid.

I would try some air cutting the first time to make sure it will work with your program and that I have not left out anything.

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Reply With Quote

  #3   Ban this user!
Old 04-08-2009, 07:04 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

A very important step is your first Z move before your G83 line entering into canned cycle mode. This sets and will be your initial plane. If your first move before the G83 line is G0Z3. This is the distance that the tool will retract above the part before moving to the next X,Y location. This can be specified by using a G98 in the G83 line of code. Most machines by default use G98. However if the 3” clearance from hole to hole is not needed then you can put a G99 which will use the R value as your clearance plane from hole to hole. In TotallyRC’s example it would be .1”

Stevo
Reply With Quote

  #4   Ban this user!
Old 04-22-2009, 11:22 AM
 
Join Date: Apr 2009
Location: USA
Posts: 18
Rich Kay is on a distinguished road

Originally Posted by stevo1 View Post
A very important step is your first Z move before your G83 line entering into canned cycle mode. This sets and will be your initial plane. If your first move before the G83 line is G0Z3. This is the distance that the tool will retract above the part before moving to the next X,Y location. This can be specified by using a G98 in the G83 line of code. Most machines by default use G98. However if the 3” clearance from hole to hole is not needed then you can put a G99 which will use the R value as your clearance plane from hole to hole. In TotallyRC’s example it would be .1”

Stevo
Great comment! I am avid user of structuring rapid movements well above the surface of machining. I always add a G98 Z4 (by default) to all my programs ensure I don't rapid tools into hold down straps, clamps, or higher than Z0 machined fits... it's awesome insurance... IMO the G99 is extremely risky, (at least for what my machining consists of)
Reply With Quote

  #5   Ban this user!
Old 04-22-2009, 12:45 PM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

Hi sam A

Stevo1 has the best & correct way to do it you also need to cancel with a G80 at the end of the canned cycle

G90G17
S2850M3
G43Z2.H1
G83G98X0Y0Z-.250R.1Q.030F12
G80G0Z2.
M9
M5
M30

As Stevo1 has said if your tool is clear of the part & you don't have to clear anything then you can use a G99 were the G98 is This piece of Gcode is just a small sample of what you need to do for a canned cycle the beginning of the Gcode sample is not complete
__________________
Mactec54
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-17-2012, 04:32 PM
 
Join Date: Feb 2012
Location: United States
Posts: 4
menkay is on a distinguished road

I have a peck drilling problem (G83) while operating my Cincinnati Milacron Sabre 750 with 2100 Acrimatic controller;
Below are the lines of codes I ran on the VMC, the G83 code went rapid to the clearance plane, then stopped there. It did not go further to drill the programmed hole.
:100 T15 M6; HSS-Cobalt I (0.272inch diameter drill, 135o point angle)

N10: G0 z1.0 M08

N20: G83 X3 Y0.3189 R0Z-1.6563 K0.125 J11 F0.7 S350 M03 W1

Please any help regarding this will be appreciated.
Reply With Quote

  #7   Ban this user!
Old 02-18-2012, 05:56 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by menkay View Post
I have a peck drilling problem (G83) while operating my Cincinnati Milacron Sabre 750 with 2100 Acrimatic controller;
Below are the lines of codes I ran on the VMC, the G83 code went rapid to the clearance plane, then stopped there. It did not go further to drill the programmed hole.
:100 T15 M6; HSS-Cobalt I (0.272inch diameter drill, 135o point angle)

N10: G0 z1.0 M08

N20: G83 X3 Y0.3189 R0Z-1.6563 K0.125 J11 F0.7 S350 M03 W1

Please any help regarding this will be appreciated.
Basically, the block looks OK, except for the Spindle Speed and Start, I'm unsure if they're allowed in the canned cycle block. I would put them on a separate block after the tool change.

What value do you have for the Gauge Height Parameter?

Regards,

Bill
Reply With Quote

  #8   Ban this user!
Old 02-18-2012, 10:35 PM
 
Join Date: May 2008
Location: usa
Posts: 158
dwood is on a distinguished road

Originally Posted by Sam A View Post
I have a Practical CNC with a WinCNC controller. I use BobCad for creating g-code files.

I am adding a Peck Drill Cycle to my machining tools.

Simple questions;

1. Do I have to have G83 on each line of code?

2. How do I set the Rapid movement Z in the code?

Thanks

Sam
Sam
if you will post this in the bobcad forum,under bobcad-cam, i will help you
along with others, i use wincnc everyday, your post may need some adjusting
and will need to know how your router is setup
DW
Reply With Quote

  #9   Ban this user!
Old 02-19-2012, 02:12 AM
 
Join Date: Feb 2012
Location: United States
Posts: 4
menkay is on a distinguished road

Originally Posted by angelw View Post
Basically, the block looks OK, except for the Spindle Speed and Start, I'm unsure if they're allowed in the canned cycle block. I would put them on a separate block after the tool change.

What value do you have for the Gauge Height Parameter?

Regards,

Bill
Thank you Bill for responding to my question,
I just tried it exactly the way you suggested and I still experienced the same problem. My Gauge Height Parameter I used a 6 inches aluminum block to set the surface length offset using TRAM, that was basically my reference point (ie 6 inches) before I then used a drill bit to set the Tool Length Offset from the 6" reference position. All codes worked perfect apart from the G83 'peck drilling' code....please any further suggestion or help will surely be appreciated
Reply With Quote

  #10   Ban this user!
Old 02-19-2012, 03:11 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by menkay View Post
Thank you Bill for responding to my question,
I just tried it exactly the way you suggested and I still experienced the same problem. My Gauge Height Parameter I used a 6 inches aluminum block to set the surface length offset using TRAM, that was basically my reference point (ie 6 inches) before I then used a drill bit to set the Tool Length Offset from the 6" reference position. All codes worked perfect apart from the G83 'peck drilling' code....please any further suggestion or help will surely be appreciated
I'm not sure if we're talking about the same Gauge Height Parameter. The Gauge Height Parameter for drill cycles is the distance above the R plane that the tool returns to at the end of the drilling operation. This position is R+Gauge Height Parameter setting+ W (if used - its optional)

Has the G83 cycle ever worked? Does the G82 cycle work?

Regards,

Bill
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-19-2012, 04:14 AM
 
Join Date: Feb 2012
Location: United States
Posts: 4
menkay is on a distinguished road

Originally Posted by angelw View Post
I'm not sure if we're talking about the same Gauge Height Parameter. The Gauge Height Parameter for drill cycles is the distance above the R plane that the tool returns to at the end of the drilling operation. This position is R+Gauge Height Parameter setting+ W (if used - its optional)

Has the G83 cycle ever worked? Does the G82 cycle work?

Regards,

Bill
In that case, the Gauge Height Parameter is W1 in the line of G83 code;
The G83 has always worked and G82 works very well...That's why I know what what could be wrong with the code or if there's anything extra I should do that I haven't done.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Peck Drill cycle generated by post?? nelZ BobCad-Cam 7 12-11-2008 10:09 PM
G99/G98 in peck drilling cycle inflateable EdgeCam 4 10-24-2008 07:21 AM
To Peck drill or not to peck dril..... Crashmaster General Metalwork Discussion 20 08-23-2008 11:33 AM
peck tapping cycle jdsmith0524 General Metal Working Machines 9 12-16-2006 10:36 PM
G83 peck Drill cycle Vaughan G-Code Programing 24 03-19-2004 11:11 AM




All times are GMT -5. The time now is 12:15 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361