Hi all
Yesterday I figured out how to set G54 - G59 on the machine, and I now have to make the post put out the work offsets from Mastercam. As I want the setup with the 4th axis to run G59.
The post need some editing, but this I have no idea how to do smart. I have not worked with offsets on this machine before, and my experience with post processor editing is limited- but it is getting better.
I want the post to put out the offset at every tool change.
The code is this now for the first tool.
psof$ # Start of file for non-zero tool number
n$, "G17"*, t$, [ if t$ > mach, "M66", else, "M6" ], ss$*, e$
n$, sgwcs,e$
n$, *b$, "F1000", ss$, *spdlon, e$
if coolant$ <> 0, n$, smcool,e$
I used the sgwcs from Work coordinate system G code string select in the post, but it only puts out G53.
Du I have to change something in mastercam to make it work, or do I have to make some code? and if code needed, how to set it up?
I will try not to post threads every second day in here, but have searched the net and I couldn't find anything useful info.
Cheers, Daniel