I have two IOT relays wired to control both the spindle and dust collection for my cnc. I'm using the M8 coolant output on the brain to activate the vacuum relay. Both these relays works great, but the vac turns on then quickly back off. I think problem is Fusion 360 inserts a M9 'coolant off' at the start of the .nc code, so the vacuum turns off before milling starts. I have flood coolant enabled in the tool library for the end mill. I attached the PP and a sample .nc code.
I would like the coolant to turn on with the tool at the beginning, and off at the end of the code.
How do I modify the post processor to allow coolant control? Can I make the default be 'On'?
X carve cnc, Easel post processor, Fusion 360 CAM,
Solved! Go to Solution.
Solved by ivan.stanojevic. Go to Solution.
Hi,
I've generated the code with your post and I did get the M8 as you can see on the attached screenshot.
If you want to exclude M9 at the beginning, search for this code in your post:
if (insertToolCall) { retracted = true; onCommand(COMMAND_COOLANT_OFF);
and change it to:
if (insertToolCall) { retracted = true; //onCommand(COMMAND_COOLANT_OFF);
Ivan Stanojevic