Hello,
I run a CNC mill. I would like to be able to post an nc file that could cut the same part multiple times and for different size blanks, without having to recam a file for each blank of material. We end up with a lot of scrap material that can still be used, but they are all different sizes. Ideally, the operator would start the file and be asked the "x" and "y" sizes of the blank, then the file would cut the appropriate amount of parts to fit the blank size. My idea is to cam the single part, then paste that code into this other file with all the variables and "IF {?!?!} THEN M81L32" statements to be able to achieve this. This seems faster to me than an operator having to stop and start his file (that he did not create and is only slightly familiar with) or using fixture offset or moving the blank or having to cam a different file for each blank. I do realize this might be a little ... over the top, especially since I could just change the transform numbers in MasterCAM and repost pretty quickly. Advice, comments, concerns, my rambling make sense?
I have a file set up that is close, but it keeps adding the transform distance again to itself hence doubling the necessary distance each column or row cut. Getting tired of "X axis out of bounds", :)
I'm using lots of variables for counting parts in the x and y direction and G92 X0 Y 48 to keep resetting my part location. My machine does not understand G92.1 :(
It just seems like there should be an easier way than 50 some lines of code for this, but I've only been doing this 3 years and still see that I could learn loads more.
Thank you,
Geremy
I run a CNC mill. I would like to be able to post an nc file that could cut the same part multiple times and for different size blanks, without having to recam a file for each blank of material. We end up with a lot of scrap material that can still be used, but they are all different sizes. Ideally, the operator would start the file and be asked the "x" and "y" sizes of the blank, then the file would cut the appropriate amount of parts to fit the blank size. My idea is to cam the single part, then paste that code into this other file with all the variables and "IF {?!?!} THEN M81L32" statements to be able to achieve this. This seems faster to me than an operator having to stop and start his file (that he did not create and is only slightly familiar with) or using fixture offset or moving the blank or having to cam a different file for each blank. I do realize this might be a little ... over the top, especially since I could just change the transform numbers in MasterCAM and repost pretty quickly. Advice, comments, concerns, my rambling make sense?
I have a file set up that is close, but it keeps adding the transform distance again to itself hence doubling the necessary distance each column or row cut. Getting tired of "X axis out of bounds", :)
I'm using lots of variables for counting parts in the x and y direction and G92 X0 Y 48 to keep resetting my part location. My machine does not understand G92.1 :(
It just seems like there should be an easier way than 50 some lines of code for this, but I've only been doing this 3 years and still see that I could learn loads more.
Thank you,
Geremy