Originally Posted by
metalmayhem
blew a spindle drive last week which was a drag but I had a spare on hand . Must have been from vibration because it will work temporarily if I smack it , I can see a spark from inside when it does kick on . I'll have to do a search and re-solder by the looks of it .
I'm going to be setting up rotaries soon enough and I'm doing some preparation ahead of time . I've attached some recently modified code that I saved from a haas production program that I did a few years ago .
It makes it so a guy can rotate the part across the x in a 3 axis cam program , and create toolpaths based on the position of the model and not have to take into account fixturing or what not . Ultimately it's program butchery but it makes a much leaner program especially for multiple parts . Each rotation is calculated in sub #7777 to g52 shift yz zero . It means that 1 work zero is needed typically starting at a0.
For the most part the program should be self explanatory , and the sub routines are for test purposes and are to be filled in with the proper code when the time comes . The g52 on the x is in a case where multiple parts are being made . I'm sure there are many arguments for or against this type of programming and I honestly don't care , I'm just posting this in case someone can use it . Keep in mind that this is a mod from a program that I've used many times , everything seems to jive but it hasn't been run in real time , so bare that in mind . Also keep in mind that proper z clearances need to be added in order not to crash on a rotation