This isn't a major issue, but I would like to be able to activate/deactivate coolant automatically in code without having to either manually turn it on/off at the controller each time or having to manually enter M7 or M9 respectively at each point in the gcode.
I've attached a snippet post of something I was working on. I'm trying to get AIR (M7) to automatically write during post.
I've looked at the post configuration but don't understand it near enough. I can read the syntax but no clue how to read it out of context and how I would fix this.
I've also attached the post processor I use.
Solved! Go to Solution.
Solved by gaurav.firake. Go to Solution.
Hi @Anonymous
Thanks for posting! While I would recommend reaching out on the HSM Post Processor Forum for assistance with post customizations, I did want to point out that you can disable coolant for certain operations in Fusion 360.
The coolant type selection field is in the "Tool" tab for all toolpaths as shown below:
I hope this helps!
Hi @Anonymous ,
Thank you for posting!
You will get the coolant codes output in NC codes after adding the line "setCoolant(tool.coolant);" at end of the function onSection{} within the post. Please refer the image below:
I hope this helps!
Appreciate the help and especially the visual lol. My code was a little bit different so helped to be able to see the image of the code segments.
I added in the line you recommended and it did indeed add my M7 and M9 codes.
Can't find what you're looking for? Ask the community or share your knowledge.