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 01-17-2009, 10:50 PM
 
Join Date: Jan 2009
Location: With Out A Country
Posts: 6
Maile Richie is on a distinguished road
Question G-Code "Bible"

Hello!



I'm in the process of training some new people to run a Shop Sabre & Frog Mill and even though I've been working with G-code for years I'm looking to expand my knowledge in the language and also looking to try and create a GOOD hand book for my trainee's and was looking for some help. There are so many different "G-CODE Dictionaries" I was wondering if someone could point me in the direction of the most comprehensive compilation of G-Code commands.

Thanks so Much!!
Reply With Quote

  #2  
Old 01-17-2009, 11:01 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

Might help?


http://www.isd.mel.nist.gov/personne...4NGC_3TOC.html

http://www.isd.mel.nist.gov/personne...a.html#1002603
__________________
Free DXF Files - Vectorink.com - myDXF.blogspot.com
Reply With Quote

  #3   Ban this user!
Old 01-18-2009, 08:47 AM
 
Join Date: Sep 2006
Location: USA
Posts: 56
pdoherty is on a distinguished road

I would call Peter Smid's 'CNC Programming Handbook' the Bible.

http://www.amazon.com/Programming-Handbook-Third-Peter-Smid/dp/0831133473/ http://www.amazon.com/Programming-Handbook-Third-Peter-Smid/dp/0831133473/

Paul
Reply With Quote

  #4   Ban this user!
Old 01-18-2009, 09:55 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

I would also make sure your students are fully aware that G code isn't set in stone either. Although for the most part, there is a broad and comman usage of much of the code (for ex: I've never seen "G0" to mean anything else but RAPID), simply following the EIA standard or the ISO standard means little in reality.

Comprehensive list? Only thing that would be close is from G0 - G99. Beyond that, it really becomes free game. Even with that, there are control builders and MTBs that change the code within that range to mean or do something different.

The only "for sure" list of codes for any specific machine is the MTBs programming book and g code list. Be sure to teach them to always reference this prior to programming/operating the machine.
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #5   Ban this user!
Old 01-18-2009, 10:04 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by psychomill View Post
I would also make sure your students are fully aware that G code isn't set in stone either.....

.......Comprehensive list? Only thing that would be close is from G0 - G99. Beyond that, it really becomes free game.....
This is so correct and frustrating. Work from the different G-Code Dictionaries you mention and compile your own list of the differences.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-18-2009, 06:41 PM
 
Join Date: Jan 2009
Location: With Out A Country
Posts: 6
Maile Richie is on a distinguished road

Thank you very much for your help and direction. It was nice to get the reminder that G-code is what you make of it. It really is just an outline to get you started from there it is all up to each one of us to make it into what we need for the job that is at hand. Any other pointers would be greatly appreciated. I'll take all the help I can get!!!

Thanks Again!
Reply With Quote

  #7   Ban this user!
Old 01-18-2009, 06:50 PM
Shotout's Avatar  
Join Date: Jun 2006
Location: USA
Age: 38
Posts: 443
Shotout is on a distinguished road

For your trainees I'd stick to a list of codes that are machine specific that are commonly used in the programs you run.

What I've done to train operators that have basic skills is to take a program that runs on one of our Fanuc machines and add comments to all the lines. I took the same program and converted it to run on the OSP controls and commented it. I included at the begining a very basic glossary of all the terms used in the comments; Reference Planes, Work Offset Coordinates, G81 and it's addresses defined, G84 and it's addresses etc, very basic but every commented term can be looked up in a glossary. With the working definitions and the commented programs they can define each line they are reading. I stayed basic with it, four pages of programming for two controls and two pages of glossary, but it allows them to read ahead and proof a setup with established programs. If they want to go further than that then tech school or as pdoherty said Peter Smid writes some pretty good books.

As far as what psychomil said take a look at the example below.
OSP P200M(ill) control
G98 = Spindle Oil Mist for near dry machining
G71 = Set Reference plane return when M53 is read in a canned cycle. Similar to Fanuc G98
G54 - G59 =Tool comp x;y;z;4th axis;5th;6th so instead of a G43 you use a G56.
G15Hnnn (001-999) = Select Work coordinates system, 1000 standard (eat your heart out Fanuc!)
__________________
Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
Mark Twain
Reply With Quote

  #8   Ban this user!
Old 01-22-2009, 08:18 AM
 
Join Date: Jan 2009
Location: With Out A Country
Posts: 6
Maile Richie is on a distinguished road
Smile Good Advice

Thanks. That is a great Idea. That way I don't overwhelm them with information that isn't nessasary at this time for them. And you are right if they want to know more they will either let me know or start doing their own homework to find more out.

Thanks Again!
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!- "Warco GH Univ" V "Chester Lux Mill" JQ_Quint Benchtop Machines 37 01-22-2009 10:59 AM
Newbie- Post adds "A0." code and machine stops lookingforhelp1 Fanuc 10 08-29-2008 12:58 PM
Newbie- Post adds "A0." code and machine stops lookingforhelp1 Post Processors for MC 2 08-29-2008 12:14 AM
When I hit "Cut Auto" the code generates seanreit BobCad-Cam 0 11-27-2007 07:05 PM
"tool slot number too large" code dave6 Mach Mill 1 10-10-2006 05:57 PM




All times are GMT -5. The time now is 12:10 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