# Can you use M08 with centroid?

**URL:** <https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731>\
**Category:** General Chat\
**Created:** [November 6, 2026, 3:30pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731 "2026-11-06T15:30:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkyScraperGuitars](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/skyscraperguitars/32/3492_2.png) [@SkyScraperGuitars](https://forum.avidcnc.com/u/SkyScraperGuitars)\
**Post date:** [November 6, 2026, 3:30pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/1 "2026-11-06T15:30:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Eric](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/eric/32/3220_2.png) [@Eric](https://forum.avidcnc.com/u/Eric)\
**Post date:** [November 6, 2026, 3:44pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/2 "2026-11-06T15:44:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SkyScraperGuitars](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/skyscraperguitars/32/3492_2.png) [@SkyScraperGuitars](https://forum.avidcnc.com/u/SkyScraperGuitars)\
**Post date:** [November 6, 2026, 3:53pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/3 "2026-11-06T15:53:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Eric](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/eric/32/3220_2.png) [@Eric](https://forum.avidcnc.com/u/Eric)\
**Post date:** [November 6, 2026, 6:38pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/4 "2026-11-06T18:38:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SkyScraperGuitars](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/skyscraperguitars/32/3492_2.png) [@SkyScraperGuitars](https://forum.avidcnc.com/u/SkyScraperGuitars)\
**Post date:** [November 13, 2026, 5:23am UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/5 "2026-11-13T05:23:54Z")

</div>

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.

 ![IMG_9102](https://canada1.discourse-cdn.com/flex027/uploads/avidcnc/original/2X/d/d90f99f9d0cd63ca6adb880b72a17948663ad758.jpeg)

---

<div class="post-metadata">

**Author:** ![Eric](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/eric/32/3220_2.png) [@Eric](https://forum.avidcnc.com/u/Eric)\
**Post date:** [November 13, 2026, 2:34pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/6 "2026-11-13T14:34:50Z")

</div>

Outputs 3/4 are relays 1/2 respectively

> **[Schematics - EX Controller Technical Manual](https://www.avidcnc.com/support/instructions/electronics/ex/manual/stepper/24.1/schematics/?srsltid=AYCX9vIM6g7RhepjWqL9XEhIedNzMEsAOk6xkCVJn16iymSycbNPnYmB)**

---

<div class="post-metadata">

**Author:** ![SkyScraperGuitars](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/skyscraperguitars/32/3492_2.png) [@SkyScraperGuitars](https://forum.avidcnc.com/u/SkyScraperGuitars)\
**Post date:** [November 13, 2026, 4:00pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/7 "2026-11-13T16:00:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nathantaylor](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@nathantaylor](https://forum.avidcnc.com/u/nathantaylor)\
**Post date:** [November 16, 2026, 5:57pm UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/8 "2026-11-16T17:57:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SkyScraperGuitars](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/skyscraperguitars/32/3492_2.png) [@SkyScraperGuitars](https://forum.avidcnc.com/u/SkyScraperGuitars)\
**Post date:** [November 17, 2026, 2:52am UTC](https://forum.avidcnc.com/t/can-you-use-m08-with-centroid/6731/9 "2026-11-17T02:52:10Z")

</div>

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.
