
09-21-2010, 03:57 PM
|
| | | Join Date: Aug 2008 Location: USA
Posts: 5
| |
Subroutines in large files | | Gentlepeople,
New to posting in this forum, -Hello-.
I've been having some issues with Mastercam regarding program semantics. I am working in a manufacturing setting that uses Mastercam to produce programs for Fadal 3 axis CNC mills. We are using X3, and have a custom post processor (who doesn't..). Between company growing pains and oldschool programing styles being layed to rest, we are updating many of our production files with visions of grandure and 1 click NC file creation. Which means getting masive files that spit out multiple programs to have all of the correct information assiciated in those toolpaths.
My issues in order of importance:
A. These files contain many toolpath transforms for multiple position fixtureing and I would like to use a single transform to group pertinent toolpaths together into a discrete "program" that I would issue a program number and NC file name through. When posted the NCI file spits out subroutine numbers sequentially that eventually become my L numbers (L100-L101 etc) through the post. I am trying to figure out how to get either Mastercam to restart the sequence for each finished transform group or get the post to recognize that it needs to resequence the subroutine numbers for any given NCI. Without this the sequence numbers for the last programs posted end up being way more digits than the machine controlers can handle.
B. Is there any logic on how Mastercam applies the program number given to a toolpath group? I can post 1 transform operation in its own toolpath group with a discrete program number and it will spit out either nothing (0) or a random number from one of the transformed toopaths but never the number I've applied to that toopath group. Why?
Sorry this got so long. I appreciate any and all of your feedback. |