# Auto start/stop

**URL:** <https://community.inventables.com/t/auto-start-stop/20442>\
**Category:** X-Carve\
**Created:** [February 22, 2016, 1:55pm UTC](https://community.inventables.com/t/auto-start-stop/20442 "2016-02-22T13:55:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobMarinoff](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/bobmarinoff/32/73454_2.png) [@BobMarinoff](https://community.inventables.com/u/BobMarinoff)\
**Post date:** [February 22, 2016, 1:55pm UTC](https://community.inventables.com/t/auto-start-stop/20442/1 "2016-02-22T13:55:12Z")

</div>

using a x controler is their any info on setting up the auto start/stop function

---

<div class="post-metadata">

**Author:** ![JeremyJohnstone](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/jeremyjohnstone/32/32277_2.png) [@JeremyJohnstone](https://community.inventables.com/u/JeremyJohnstone)\
**Post date:** [February 23, 2016, 6:44pm UTC](https://community.inventables.com/t/auto-start-stop/20442/2 "2016-02-23T18:44:03Z")

</div>

Are you using a DC or AC powered spindle?  
An AC spindle most likely be a palm / trim router such as the DWP611.

---

<div class="post-metadata">

**Author:** ![BobMarinoff](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/bobmarinoff/32/73454_2.png) [@BobMarinoff](https://community.inventables.com/u/BobMarinoff)\
**Post date:** [February 23, 2016, 7:21pm UTC](https://community.inventables.com/t/auto-start-stop/20442/3 "2016-02-23T19:21:11Z")

</div>

I am using a 611 with a IoT relay

---

<div class="post-metadata">

**Author:** ![AllenMassey](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/allenmassey/32/84441_2.png) [@AllenMassey](https://community.inventables.com/u/AllenMassey)\
**Post date:** [February 23, 2016, 7:58pm UTC](https://community.inventables.com/t/auto-start-stop/20442/4 "2016-02-23T19:58:55Z")

</div>

The X-Controller provides a 5 volt signal when the gcode turns the spindle on and drops the 5V when the spindle off command is received.

You can use that 5V to control a 110V relay.

---

<div class="post-metadata">

**Author:** ![BobMarinoff](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/bobmarinoff/32/73454_2.png) [@BobMarinoff](https://community.inventables.com/u/BobMarinoff)\
**Post date:** [February 24, 2016, 2:53pm UTC](https://community.inventables.com/t/auto-start-stop/20442/5 "2016-02-24T14:53:10Z")

</div>

Thanks for the info I found that I was leaving the 611 in man: as soon as I changed it it ok

---

<div class="post-metadata">

**Author:** ![ChrisFehringer](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/chrisfehringer/32/60559_2.png) [@ChrisFehringer](https://community.inventables.com/u/ChrisFehringer)\
**Post date:** [August 15, 2019, 10:02pm UTC](https://community.inventables.com/t/auto-start-stop/20442/6 "2019-08-15T22:02:27Z")

</div>

Which G-Code is for the auto on/off for the spindle? Was using the Xcarve with lightburn and the J-Tech Laser, and had to change some codes for the Jtech to work and now I am switched back to easel to carve and now when trying to carve, the auto on/off does not work.

Current G-Codes:

$0=10  
$1=255  
$2=0  
$3=1  
$4=0  
$5=0  
$6=0  
$10=115  
$11=0.020  
$12=0.002  
$13=0  
$20=0  
$21=0  
$22=1  
$23=3  
$24=25.000  
$25=750.000  
$26=250  
$27=1.000  
$30=1  
$31=0  
$32=1  
$100=40.000  
$101=40.000  
$102=188.976  
$110=4000.000  
$111=4000.000  
$112=500.000  
$120=500.000  
$121=500.000  
$122=50.000  
$130=790.000  
$131=790.000  
$132=100.000  
$0=10  
$1=255  
$2=0  
$3=1  
$4=0  
$5=0  
$6=0  
$10=115  
$11=0.020  
$12=0.002  
$13=0  
$20=0  
$21=0  
$22=1  
$23=3  
$24=25.000  
$25=750.000  
$26=250  
$27=1.000  
$30=1  
$31=0  
$32=1  
$100=40.000  
$101=40.000  
$102=188.976  
$110=4000.000  
$111=4000.000  
$112=500.000  
$120=500.000  
$121=500.000  
$122=50.000  
$130=790.000  
$131=790.000  
$132=100.000

---

<div class="post-metadata">

**Author:** ![PhilStevens](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@PhilStevens](https://community.inventables.com/u/PhilStevens)\
**Post date:** [August 15, 2019, 10:35pm UTC](https://community.inventables.com/t/auto-start-stop/20442/7 "2019-08-15T22:35:14Z")

</div>

Change $32value to 0

$32=0 in console
