Can you use M08 with centroid?

On the older controllers I used the M08 command to turn the relay for my vac table on and off. With Centroid, the relay controls appear to be accessible thru the settings wizard and would apply to every program that is run. I have several parts that I hold with fixtures and they do not require the vacuum relay to engage. Wondering if I can control these thru a g-code command instead of the global wizard setting…? If so, I’ll add some code to the fusion post-processor so I can have a checkbox for the vac table.

You can, but you’d need to set that output in the advanced side of the wizard and set that output to “Flood Coolant” for M8 to work. M9 would turn it off.

Thanks Eric! I’ll do some research on using the advanced controls. If centroid lets you define any M code for the relays, I’ll use M11 and M12 so I don’t accidentally trigger the table with a bad tool setup calling for mist/flood.

You can create your own M codes, but that’s slightly more involved. If you stick to the built in M codes all you need to do is configure an output, that’s a lot easier.

Eric -

I poked around in the advanced settings. Can you tell me which pin relay 1 and 2 use? I set pin 1 to flood and couldn’t get the vac to fire by using the M08 command. I did do a full power down after I changed the settings as the instructions dictated. I also tried the “vacuum table” setting to see if it would work with M27/M28… Again, that was configured to use pin1 and it didn’t seem to work.

Outputs 3/4 are relays 1/2 respectively

Thank you. I’ll make that adjustment and give it another shot.

After you remap it to output 3, test M08/M09 from MDI and watch the output LED on the diagnostics page. If the LED changes but the relay doesn’t click or the vac doesn’t pull in, the G-code side is working and the issue is downstream (relay wiring/contactor). If the LED never changes, recheck that the wizard output is saved and assigned to Flood Coolant, then restart.

I wound up using the Vacuum Table label for the output and M07 works to turn it on. M09 turns it off. Not sure if this is expected or not, but the “relay 1” switch in the upper right corner of the main screen no longer works. The “Relay 2” switch does work, but I don’t have anything for it to control… I would like to have the vacuum pump on when I use the touch plate to set the Z height. If I turn it on with an MDI command, it turns off when I escape to the main menu… I’m sure there’s a way to force it on, but I haven’t discovered it yet.