![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello Ive been editing a post to custom fit our needs here and have been able to figure out everything we need except one. I would like at each new toolchange/operation for the line number to be a multiple of 10, n10, n20, n30 etc. ive already changed the post to print n10 on the first tool, however the tools after that one handled by the 2nd part of the post is over my head. can anyone help with this? using x5 on a Haas vf 4axis machine thank you |
|
#2
| ||||
| ||||
| I know nothing about Mastercam or its post processors. One suggestion though: could you live with the Tool number transformed into a line number? I'm thinking maybe you can figure out how to grab the tool number and prepend an 'N' onto it. This won't give you a multiple of 10 as you were thinking, but it may also be handy to search through a program based on what tool you were thinking of calling up. Another fellow showed me a trick with a post processor in another program: turn line numbering on, and then forbid line numbering for lines beginning with all letters of the alphabet except 'T'. This works well enough for searching through a program by just looking for any instance of 'N'. This gives unique line numbers that are not in any predictable sequence except that they are increasing.
__________________ First you get good, then you get fast. Then grouchiness sets in. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
| AFTER SAVING A COPY OF YOUR ORIGINAL POST! What you can do is go through your post and delete all occurrences of n$, EXCEPT for the actual toolchange line. Then add "0", immediately after the n$, on the tool change line. This effectively gives you the result you want.
__________________ ObrienDave. MasterCam since V6. Gcode since 1983. Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow. |
![]() |
| 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 |
| Newbie- no line numbers | weirdharold | UG NX | 6 | 01-22-2009 09:42 AM |
| Line numbers | Eritex Inc. | Mastercam | 6 | 12-12-2008 09:35 PM |
| Line numbers | batmill | G-Code Programing | 11 | 09-16-2007 03:25 AM |
| 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 |