# Router switching

**URL:** <https://forum.sienci.com/t/router-switching/7006>\
**Category:** ❓ Question\
**Created:** [October 16, 2022, 12:48pm UTC](https://forum.sienci.com/t/router-switching/7006 "2022-10-16T12:48:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimbaker](https://forum.sienci.com/letter_avatar_proxy/v4/letter/j/97f17d/32.png) [@Jimbaker](https://forum.sienci.com/u/Jimbaker)\
**Post date:** [October 16, 2022, 12:48pm UTC](https://forum.sienci.com/t/router-switching/7006/1 "2022-10-16T12:48:18Z")

</div>

Is it possible to start and stop the Makita router thru a relay controlled by the longboard?

---

<div class="post-metadata">

**Author:** ![\_Michael](https://forum.sienci.com/user_avatar/forum.sienci.com/_michael/32/2962_2.png) [@\_Michael](https://forum.sienci.com/u/_Michael)\
**Post date:** [October 16, 2022, 1:28pm UTC](https://forum.sienci.com/t/router-switching/7006/2 "2022-10-16T13:28:57Z")

</div>

@Jimbaker Yes it is! I have the digital loggers IOT relay from [here](https://dlidirect.com/products/iot-power-relay). You can connect it to the coolant control on the control box then turn the router on with M8 and off with M9. I modified the grbl mm post processor in V-Carve to automatically put M8 at the end of the “start” code and at the beginning of the “end” code.

It has 4 outputs. One is always on, two turn on with coolant on, and one turns off with coolant on. I run my vacuum and the router from from the two normally off and on with coolant. I use the always on for my raspberry pi that runs my camera. I haven’t found a use for the normally on, off with coolant on, one yet.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [October 16, 2022, 2:23pm UTC](https://forum.sienci.com/t/router-switching/7006/3 "2022-10-16T14:23:16Z")

</div>

@Jimbaker Take a look here

> [@IOT Relay Setup for LongMill](https://forum.sienci.com/t/iot-relay-setup-for-longmill/3585):
>
> If you wish to have your router turn on and off at the response of different g-code, you can use an IOT relay. To control the IOT relay, the g-code can be activated with pre-programmed buttons (“macros” or “events”) or manually added into the g-code file. The instructions on how to wire up and add g-code for the IOT relay are found below.

---

<div class="post-metadata">

**Author:** ![Jimbaker](https://forum.sienci.com/letter_avatar_proxy/v4/letter/j/97f17d/32.png) [@Jimbaker](https://forum.sienci.com/u/Jimbaker)\
**Post date:** [October 16, 2022, 11:24pm UTC](https://forum.sienci.com/t/router-switching/7006/4 "2022-10-16T23:24:09Z")

</div>

I ordered it tonight…

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [October 17, 2022, 12:39pm UTC](https://forum.sienci.com/t/router-switching/7006/5 "2022-10-17T12:39:54Z")

</div>

As the original question has been addressed, I’m closing this topic. If anyone else has a similar concern, feel free to start a new topic, which will ensure that it is addressed promptly.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [October 17, 2022, 12:40pm UTC](https://forum.sienci.com/t/router-switching/7006/6 "2022-10-17T12:40:15Z")

</div>


