Modified FANUC post-processor for 4th axis cnc outputting rotation b-code that is offset from the rest of the toolpath when origin is placed at the top of the stock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to get a modified FANUC post-processor working with my machine's 4th axis rotary.
Placing the origin at the center of the rotation works fine, but placing the origin anywhere else causes the rotation to occur around the axis of that work origin, and the rest of the toolpath to generate normally.
I've prepared an example to illustrate with a simple slot of a cylinder:
Here the origin is set to the center of the object, with the corresponding gcode attached. Visualized, it looks like this:
Now for setting the origin where it actually needs to be, at the top of the object:
The corresponding gcode is attached. Visualized, it looks like this:
When run, the bit hovers over the piece except for at the very ends, where it plunges deeply into the material.
I would appreciate any help on this.