# Githubs UGS

**URL:** <https://community.inventables.com/t/githubs-ugs/11782>\
**Category:** Troubleshooting\
**Created:** [August 11, 2015, 2:24pm UTC](https://community.inventables.com/t/githubs-ugs/11782 "2015-08-11T14:24:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 2:24pm UTC](https://community.inventables.com/t/githubs-ugs/11782/1 "2015-08-11T14:24:25Z")

</div>

I’m trying to connect to my X-Carve using UGS with VCarve pro. I can’t get UGS to operate my machine and I have done something wrong as now I cant get Easel to work either. Any ideas?

---

<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:** [August 11, 2015, 2:37pm UTC](https://community.inventables.com/t/githubs-ugs/11782/2 "2015-08-11T14:37:25Z")

</div>

Getting the computer talking to the Arduino can be a real challenge sometimes.

If you have not loaded the ArduinoUno drivers you need to do that first. Just be sure you do not try to load the “Blink” test application to the Arduino (if you do it will overwrite the GRBL software that is already installed)

[https://www.arduino.cc/en/guide/windows](https://www.arduino.cc/en/guide/windows)

I assume you are running Windows if not let me know.

---

<div class="post-metadata">

**Author:** ![BadWolf](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/badwolf/32/44165_2.png) [@BadWolf](https://community.inventables.com/u/BadWolf)\
**Post date:** [August 11, 2015, 2:39pm UTC](https://community.inventables.com/t/githubs-ugs/11782/3 "2015-08-11T14:39:02Z")

</div>

to clarify, you arent able to get UGS to open or you cant get it to connect?

have you had easel working before? if not you may need to run the easel set up  
also make sure you have downloaded and installed the arduino drivers

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 3:06pm UTC](https://community.inventables.com/t/githubs-ugs/11782/4 "2015-08-11T15:06:08Z")

</div>

Yes I have had my X-carve for 2 months now and everything was working just fine till I tired to use this UGS. @AllenMassey Yew I am using Win 8.1 @BadWolf I can get UGS open just no functions to the X-Carve. Is there a way I can reset everything and start over with trying to get UGS loaded and set up correctly?

---

<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:** [August 11, 2015, 3:14pm UTC](https://community.inventables.com/t/githubs-ugs/11782/5 "2015-08-11T15:14:54Z")

</div>

Are you saying UGS will open (i.e. connect to the Arduino) but then the X-Carve is not responding to any commands UGS sends?

---

<div class="post-metadata">

**Author:** ![BadWolf](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/badwolf/32/44165_2.png) [@BadWolf](https://community.inventables.com/u/BadWolf)\
**Post date:** [August 11, 2015, 3:26pm UTC](https://community.inventables.com/t/githubs-ugs/11782/6 "2015-08-11T15:26:17Z")

</div>

what version of UGS are you using?

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 3:34pm UTC](https://community.inventables.com/t/githubs-ugs/11782/7 "2015-08-11T15:34:14Z")

</div>

I think it is connecting, I dont hear the motors unlock when I hit connect. I have version 1.0.7

---

<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:** [August 11, 2015, 3:47pm UTC](https://community.inventables.com/t/githubs-ugs/11782/8 "2015-08-11T15:47:17Z")

</div>

When you click the “Open” button if it does not connect you will see an error message. So I assume you are connecting.

On the Command tab in UGS enter $$ and enter

This should cause the Grbl to send it’s configuration settings back to UGS. So you will know for sure that UGS is communicating correctly if the settings show up in the UGS Console area.

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 4:31pm UTC](https://community.inventables.com/t/githubs-ugs/11782/9 "2015-08-11T16:31:42Z")

</div>

Ok when I type $$ this is what I get.

\*\*\*\* Connected to COM5 @ 115200 baud \*\*\*\*

Grbl 0.9i [‘$’ for help]  
[‘$H’|‘$X’ to unlock]

> > > $$  
> > > $0=10 (step pulse, usec)  
> > > $1=0 (step idle delay, msec)  
> > > $2=0 (step port invert mask:00000000)  
> > > $3=3 (dir port invert mask:00000011)  
> > > $4=0 (step enable invert, bool)  
> > > $5=0 (limit pins invert, bool)  
> > > $6=0 (probe pin invert, bool)  
> > > $10=3 (status report mask:00000011)  
> > > $11=0.050 (junction deviation, mm)  
> > > $12=0.002 (arc tolerance, mm)  
> > > $13=0 (report inches, bool)  
> > > $20=0 (soft limits, bool)  
> > > $21=0 (hard limits, bool)  
> > > $22=1 (homing cycle, bool)  
> > > $23=3 (homing dir invert mask:00000011)  
> > > $24=25.000 (homing feed, mm/min)  
> > > $25=750.000 (homing seek, mm/min)  
> > > $26=250 (homing debounce, msec)  
> > > $27=1.000 (homing pull-off, mm)  
> > > $100=40.000 (x, step/mm)  
> > > $101=40.000 (y, step/mm)  
> > > $102=188.976 (z, step/mm)  
> > > $110=8000.000 (x max rate, mm/min)  
> > > $111=8000.000 (y max rate, mm/min)  
> > > $112=500.000 (z max rate, mm/min)  
> > > $120=500.000 (x accel, mm/sec^2)  
> > > $121=500.000 (y accel, mm/sec^2)  
> > > $122=50.000 (z accel, mm/sec^2)  
> > > $130=790.000 (x max travel, mm)  
> > > $131=790.000 (y max travel, mm)  
> > > $132=100.000 (z max travel, mm)  
> > > ok

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 4:32pm UTC](https://community.inventables.com/t/githubs-ugs/11782/10 "2015-08-11T16:32:56Z")

</div>

And under machine status I have a red bar that says active state - alarm

---

<div class="post-metadata">

**Author:** ![JkWestphal](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/jkwestphal/32/53751_2.png) [@JkWestphal](https://community.inventables.com/u/JkWestphal)\
**Post date:** [August 11, 2015, 4:44pm UTC](https://community.inventables.com/t/githubs-ugs/11782/11 "2015-08-11T16:44:10Z")

</div>

under the machine control tab , look for the $X button that should unlock your machine and release the alarm lock.

---

<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:** [August 11, 2015, 4:45pm UTC](https://community.inventables.com/t/githubs-ugs/11782/12 "2015-08-11T16:45:11Z")

</div>

The $X command should allow you to control the motors again.

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 4:56pm UTC](https://community.inventables.com/t/githubs-ugs/11782/13 "2015-08-11T16:56:17Z")

</div>

HAHA yay! Boy do I feel dumb lol. It seems to be working now. Thanks a ton guys!

---

<div class="post-metadata">

**Author:** ![JkWestphal](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/jkwestphal/32/53751_2.png) [@JkWestphal](https://community.inventables.com/u/JkWestphal)\
**Post date:** [August 11, 2015, 5:01pm UTC](https://community.inventables.com/t/githubs-ugs/11782/14 "2015-08-11T17:01:43Z")

</div>

We come into this world knowing how to do four things

Eat  
Sleep  
Scream  
And Excrete

Every expert was once a beginner.

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 5:11pm UTC](https://community.inventables.com/t/githubs-ugs/11782/15 "2015-08-11T17:11:22Z")

</div>

Lol very true. Well I’m the highest level of beginner you can be.

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [August 11, 2015, 5:13pm UTC](https://community.inventables.com/t/githubs-ugs/11782/16 "2015-08-11T17:13:18Z")

</div>

@SeanWaltz

Unless you intentionally changed $1 it should be set to 255.

> Every time your steppers complete a motion and come to a stop, Grbl will delay disabling the steppers by this value. OR, you can always keep your axes enabled (powered so as to hold position) by setting this value to the maximum 255 milliseconds. Again, just to repeat, you can keep all axes always enabled by setting $1=255 .

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 5:16pm UTC](https://community.inventables.com/t/githubs-ugs/11782/17 "2015-08-11T17:16:52Z")

</div>

@LarryM. Ok no I didnt change anything I dont know how. Lol

---

<div class="post-metadata">

**Author:** ![SeanWaltz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SeanWaltz](https://community.inventables.com/u/SeanWaltz)\
**Post date:** [August 11, 2015, 5:18pm UTC](https://community.inventables.com/t/githubs-ugs/11782/18 "2015-08-11T17:18:27Z")

</div>

Here is what I have now. Look right?

> > > $1=255  
> > > ok  
> > > $$  
> > > $0=10 (step pulse, usec)  
> > > $1=255 (step idle delay, msec)  
> > > $2=0 (step port invert mask:00000000)  
> > > $3=3 (dir port invert mask:00000011)  
> > > $4=0 (step enable invert, bool)  
> > > $5=0 (limit pins invert, bool)  
> > > $6=0 (probe pin invert, bool)  
> > > $10=3 (status report mask:00000011)  
> > > $11=0.050 (junction deviation, mm)  
> > > $12=0.002 (arc tolerance, mm)  
> > > $13=0 (report inches, bool)  
> > > $20=0 (soft limits, bool)  
> > > $21=0 (hard limits, bool)  
> > > $22=1 (homing cycle, bool)  
> > > $23=3 (homing dir invert mask:00000011)  
> > > $24=25.000 (homing feed, mm/min)  
> > > $25=750.000 (homing seek, mm/min)  
> > > $26=250 (homing debounce, msec)  
> > > $27=1.000 (homing pull-off, mm)  
> > > $100=40.000 (x, step/mm)  
> > > $101=40.000 (y, step/mm)  
> > > $102=188.976 (z, step/mm)  
> > > $110=8000.000 (x max rate, mm/min)  
> > > $111=8000.000 (y max rate, mm/min)  
> > > $112=500.000 (z max rate, mm/min)  
> > > $120=500.000 (x accel, mm/sec^2)  
> > > $121=500.000 (y accel, mm/sec^2)  
> > > $122=50.000 (z accel, mm/sec^2)  
> > > $130=790.000 (x max travel, mm)  
> > > $131=790.000 (y max travel, mm)  
> > > $132=100.000 (z max travel, mm)  
> > > ok

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [August 11, 2015, 5:20pm UTC](https://community.inventables.com/t/githubs-ugs/11782/19 "2015-08-11T17:20:31Z")

</div>

Looks good. Have fun.

---

<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:** [August 11, 2015, 5:24pm UTC](https://community.inventables.com/t/githubs-ugs/11782/20 "2015-08-11T17:24:22Z")

</div>

It looks like you have homing enabled $22 = 1 With homing enabled the Grbl will enter ALARM mode every time you power up the Arduino since it does not know where the spindle is. Grbl is expecting you to home the machine before doing anything else $H.

If you do not have the homing switches installed you should disable homing. $22=0

[Next page](https://community.inventables.com/t/githubs-ugs/11782.md?page=2)
