Post Processor Information
I'm trying to write a Mach-Turn lathe postprocessor for Sprutcam 2007. I have the Chapter 3 document on the postprocessor but it is missing details on a number of global parameters. Is there any other documentation that might help? I've tried inferring details for some of the missing parameters from existing posts but their lack of comments and sometimes conflicting usage make it frustrating. Terry
Last edited by mayhugh1; 01-04-2008 at 03:26 AM.
Terry, I don't have any further information other than what is supplied by Sprut. I have attached a sample (Fanuc) lathe postprocessor that I have been working on.
I haven't used it in anger, but it simulates ok in my offline simulator. I'm not sure how similar this is to the Mach3 controller, but hopefully it will give you something to make a start with.
I work mostly in metric units, so you may have to change the registers to output in 3:4 format for imperial units. I think it also outputs a G21 at the beginning so you will need to alter that to G20 or whatever the Mach3 uses for imperial units.
I hope this helps.
Thanks alot. I think I'm going to scrap the one that I had started and begin working with yours. I was having alot of trouble coding for threading, but it looks like yours already supports both G32 and G76 which is what I was trying to do. - Terry