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 11-21-2004, 10:00 PM
NeoMoses's Avatar  
Join Date: Apr 2003
Location: Prolly' in the Shop :)
Posts: 326
NeoMoses is on a distinguished road
G12/G13 Circular pocket help needed

I want to use the G12/13 circular pocketing in Mach2, but I can't find any good documentation on the arguments. Can anyone give me a hand?
__________________
My name is Electric Nachos. Sorry to impose, but I am the ocean.
http://www.bryanpryor.com

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 01-08-2005, 05:52 PM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road

I'm not familar with the Mach2 mill. The Haas mill uses G12/G13 for c'bores The syntax being G13 I(radius value) F(feed rate) [L (number times)]

G13 is counter clock wise - climb cut
G12 is clock wise - conventional cut

If the codes have a syntax for circular pockets. There should be a variable/G word for step over or for tool radius.

The Fadal control uses an L subprogram instead of G12/G13. And variables R0 and R1 for c'bores L9400 ccw and L9500 for cw. R0+(feed rate value) R1+(diameter) The L9800 ccw would be the pocket routine were R0+(feed rate) R1+(tool radius) R2+(diameter)

Write a sample program using G13 I.5 F2. D(tool dia offset being used) and see if that does a 1.00 id c'bore. If that doesn't work try a J or an R or an X until you find the correct G word for the radius. If the word is for a dia it will of course cut 2x as big.

If the G13 I F D format works just using it as a c'bore command you can use it to do pockets too.

G1 Z-.125 F2.
G13 I.25 F2. D01 (first cut)
G13 I.375 F2.5 (first step)
G13 I.5 F5. (last step)
G13 I.5 F23. L2 (finish spring passes)
G0 Z0.1

I'm not saying that it must be done just that way. Just an expample of how it could be done. (The feed and speeds, of course, need to be calculated for the materal, tool size, and finish.)

I hope this was useful. (I didn't see any other replies.)
__________________
Safety - Quality - Production.
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 02-27-2007, 12:30 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,395
tobyaxis is on a distinguished road

This isn't a Mach 3 Manual but it might help you to understand the Concept of Spiral, Helical, and Circular Interpolation.

Go to this website and download the Yasnac MX1 Operators Manual.

http://www.yaskawa.com/site/Support....ucts%20Defined
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-27-2007, 01:30 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 976
psychomill is on a distinguished road

Both Toby and Paul covered a good part of the answer but to add to them...

I as well don't use Mach software but keep this in mind. It also depends on the coding that Mach is similar to and borrows from. As Paul states, using G12/13 would work that way... however, provided that your control actually has G12/13 as valid G codes. For example, the codes work on in that manner on Haas and Yasnac controls. But, it doesn't work on FANUC controls (unless added by the machine builder). You either need a ladder program or a macro program to use it. There are many examples of G12/13 programs written as macro sub calls for FANUC. The common code usage is G112 and G113 though (in many cases... not always).

Here's an example of a "G12" custom macro... by Mike Lynch I believe. This is just one version. There are many. You can (again, not sure on Mach) set up this program to use a "custom G code" by setting parameters for it (like using G112 or G113 instead of G65).

__________________
It's just a part..... cutter still goes round and round....
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 02-27-2007, 07:31 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

In Mach3, G12/G13 are not circular pockets, but just plain circles.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 02-27-2007, 03:06 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,395
tobyaxis is on a distinguished road

Originally Posted by ger21 View Post
In Mach3, G12/G13 are not circular pockets, but just plain circles.
G2/G3 can do that, why is Mach 3 using G12/G13???
This is why I tell people that most CNC Controls are different to a degree.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 02-27-2007, 03:10 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

It's a simple circle with center and radius. Sort of a "canned" circle. G2 and G3 work fine as well.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 02-27-2007, 03:18 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,395
tobyaxis is on a distinguished road

Originally Posted by ger21 View Post
It's a simple circle with center and radius. Sort of a "canned" circle. G2 and G3 work fine as well.
Can it do this??
Attached Thumbnails
Click image for larger version

Name:	g12-g13.JPG‎
Views:	438
Size:	31.5 KB
ID:	32609   Click image for larger version

Name:	g12-g13-2.JPG‎
Views:	429
Size:	85.7 KB
ID:	32610   Click image for larger version

Name:	g12-g13-3.JPG‎
Views:	302
Size:	85.9 KB
ID:	32611   Click image for larger version

Name:	g12-g13-4.JPG‎
Views:	278
Size:	81.8 KB
ID:	32612  

__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 09-27-2011, 03:53 PM
 
Join Date: Sep 2011
Location: USA
Posts: 50
texaspyro is on a distinguished road

Originally Posted by psychomill View Post
But, it doesn't work on FANUC controls (unless added by the machine builder).
Reviving a thread from the dead...

Many Fanuc machines do have a circle command. They Use G12.2 and G13.2

Their lead-in and lead-out cuts are a bit different. Fanuc leads in with a 45 degree linear cut then does a quarter-circle arc to the edge of the main circle (abd thre reverse on the way out) Most other machines do a full 180 degree lead-in/lead-out arc. Mach3 just does a horizontal linear cut to the edge.

Fanuc and Mitsubishi the only machines that I have seen that that support circle operations (not to be confused with G02/G03 arcs) in planes other than the G17 XY plane.
Tweet this Post!Share on Facebook
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
What's needed for complete setup? LeeWay Gecko Drives 1 03-09-2005 09:38 AM
problem with a simple pocket corpse OneCNC 9 12-01-2004 01:50 AM




All times are GMT -5. The time now is 09:19 PM.





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