Modify post processing script to move spindle start, sync coordinate axes and not go "home" at the end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using the very open source 3018 pro cnc that can be found in many places for under $200, which doesn't seem to have a machine in the fusion library. And I use the generic grbl (although testing the haas generic also produces the same result) which produces the following 3 features that I would like to change.
1) the very first thing the machine does is start the spindle. This is even before starting to move to the proper location for the first operation. I find this to be dangerous because if the machine is left in a state where moving will hit something, instead of just the bit being damaged, the stock could be damaged too. a better option to me is to change the spindle start to right before the first feed for a cut.
2) the coordinated axes are different - there is the machine home position (using candle grbl program) and then the "home" position that fusion creates somehow. In my case, the start reference point for the stock (a premade enclosure I am just making cutouts and drill holes in) is x-68 and y+120 away from where the home on the part is. this means that after the final milling operation, the head moves all the way to a "neutral corner" and the spindle is still on again, although in this case the motion is more annoying than dangerous. making the machine and reference coordinate systems the same would just move the spindle right where it started from.
3) the last command is to go "home", which for tooled cnc machines, etc, this is the norm, but for these generic very open source 3018 walmart machines, there are no tool holders, and it can just stop at any point and be done, so it doesn't need the additional travel of going to home then back to a start point.
maybe i am asking too much, but changing the spindle start seems like a prudent option, the other two are a matter of preference.
my current method is to make the changes by hand editing the gcode, but being able to customize the post processor would be nice, in that if I forget to make the changes, it might be an unexpected operation that catching me off guard.
i looked for any of these options in the setup for the cam operations, but it doesn't look like any of these options exist - most likely since the 3018 machine is not in the fusion library.
any hints as to how to make some changes would be appreciated.
thanks