![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| |||
| |||
| I think the correct answer is, it depends...... Most machine controllers don't care about the line numbers most of the time. Some older controllers might care all of the time. There are certain times that most all controllers care about the order. For instance in the G7x series of lathe canned cycles, N block/line numbers must be included, they must follow a certain order and most of all, must be unique, not duplicated anywhere else in the program. John |
|
#3
| |||
| |||
|
|
#4
| |||
| |||
|
I think the M98 call needs the program number not a line number; it is an external call. M97 is an internal call to a line number in the same program. The letter used to label the program number or line number is different for different machines but I think the M98 calling outside the program and M97 within the program is universal.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#5
| |||
| |||
| You could put them in if you wanted to. What Geof said is right, the line numbers that you asked about are irrelevant to use of the M98 sub-program call. For the line with the M98 you could have any or no line number on it. But you must give it a valid program number for the subroutine. Be careful with M97, if its a subroutine call on your machine it DOES have to reference a valid line number. On my Milltronics VMC however M97 is pocket clear!! (so much for standardized G-code) As a friend of mine says, "The great thing about standards, is that there are so many of them to choose from." John |
| Sponsored Links |
|
#6
| |||
| |||
|
I sometimes wish I had a pet ghost I could commission to haunt the people who screwed up the original concept of standardized G codes. Excuse the minor hijack it is one of my (many) pet peeves.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#7
| ||||
| ||||
| you dont really need line numbers, the only time you need them is if you have a problem in your prog and need to search for it, all line numbers does is take up memory. we run 2 to 3 megs programs in our Hurcos with no line numbers, the operators hate line numbers. the Ultimax only needs line numbers when you are using Hurco's programming system not in ISNC mode
__________________ If you can ENVISION it I can make it |
|
#8
| |||
| |||
| We only use N numbers at the beginning of each tool work within the program so its easy to call this line up if you need to make changes within that portion of the program or re-run a particular tool; N1(drill work) code code ect,,, N2(tap) code code ect,,, N3(endmill work) code code ect. This also makes the program easy to follow for editting and proving |
|
#9
| ||||
| ||||
| They use "P" instead of "R" for Arcs. This can be changed in the Windows 98 Controllers but I have heard that it is a PITA. There Drilling Canned Cycles have Too many Options that do not apply to 90% of what needs to be done. I have to say that the Fanuc and Yasnac MX Series are two of the best though out Controls, IMPO. Sorry for the Hijack but this is annoying pet peeve that I have had for many years.
__________________ 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 |
|
#10
| |||
| |||
|
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tool Numbers | Mike Mattera | EdgeCam | 10 | 02-04-2008 10:18 AM |
| Line numbers Fanuc OMD | Gncc50 | Fanuc | 1 | 08-22-2007 01:30 PM |
| How to get rid of line numbers in NC code | mcoughlin | CamWorks | 1 | 04-16-2007 10:30 PM |
| G-Code Line Numbers? | Imagineering | G-Code Programing | 3 | 08-17-2005 07:26 AM |
| How do I engrave numbers... | slp_prlzys | DIY-CNC Router Table Machines | 7 | 10-15-2004 02:35 PM |