Githubs UGS

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?

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

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

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

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?

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?

what version of UGS are you using?

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

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.

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

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

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

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

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

1 Like

We come into this world knowing how to do four things

Eat
Sleep
Scream
And Excrete

Every expert was once a beginner.

1 Like

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

@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 .

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

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

Looks good. Have fun.

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