Return to Zero

Discussion about the arduino based g-code interpreter, grbl
Post Reply
Bompa
Posts: 8
Joined: Wed May 06, 2015 9:05 pm

Return to Zero

Post by Bompa » Mon May 25, 2015 5:29 pm

Its Working!! But... when I choose Return To Zero, it immediately starts pulling up my Z-axis, until it reaches top-position and then I have to tap reset and thus canceling the return routine.
Where do I tell GRBL how high my Z-axis can go?

Bompa
Posts: 8
Joined: Wed May 06, 2015 9:05 pm

Re: Return to Zero

Post by Bompa » Mon May 25, 2015 5:34 pm

By the way, my Initial zero point for the Z-axis lies down, and yet it runs up!
I use the Univeral Gcode Sender (Version 1.0.7)

WillAdams
Posts: 8628
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: Return to Zero

Post by WillAdams » Mon May 25, 2015 5:51 pm

Please dump your settings and post them here.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

Bompa
Posts: 8
Joined: Wed May 06, 2015 9:05 pm

Re: Return to Zero

Post by Bompa » Mon May 25, 2015 5:55 pm

My GRBL settings (so far) are:

Code: Select all

$0=35.000 (x, step/mm)
$1=35.000 (y, step/mm)
$2=250.000 (z, step/mm)
$3=30 (step pulse, usec)
$4=170.000 (default feed, mm/min)
$5=700.000 (default seek, mm/min)
$6=0 (step port invert mask, int:00000000)
$7=0 (step idle delay, msec)
$8=9.800 (acceleration, mm/sec^2)
$9=0.050 (junction deviation, mm)
$10=0.000 (arc, mm/segment)
$11=25 (n-arc correction, int)
$12=3 (n-decimals, int)
$13=0 (report inches, bool)
$14=1 (auto start, bool)
$15=0 (invert step enable, bool)
$16=0 (hard limits, bool)
$17=0 (homing cycle, bool)
$18=0 (homing dir invert mask, int:00000000)
$19=25.000 (homing feed, mm/min)
$20=250.000 (homing seek, mm/min)
$21=100 (homing debounce, msec)
$22=1.000 (homing pull-off, mm)

WillAdams
Posts: 8628
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: Return to Zero

Post by WillAdams » Mon May 25, 2015 6:06 pm

ShapeOko 1 or 2?

I’d try a different comm / control program, or check the docs on UGS, may be that you’re telling it to perform a homing cycle as opposed to return to the origin.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

Bompa
Posts: 8
Joined: Wed May 06, 2015 9:05 pm

Re: Return to Zero

Post by Bompa » Mon May 25, 2015 8:50 pm

Aparrantly that was a solution, I installed the Zapmaker controller, now it seems ok, only, the zapmaker misses a pauze option.

bengtec
Posts: 46
Joined: Mon Dec 29, 2014 2:09 pm
Location: Wiltshire, UK

Re: Return to Zero

Post by bengtec » Tue May 26, 2015 6:05 am

i've found UGS (if thats what you are using) can be a bit weird, when you set zero, it doesn't always seem to register and runs to different coordinates, i resorted to closing then opening the connection then clicking set zero which worked every time
Ben
Stock SO2 #7722, Dremel 3000, Arduino Uno, G-shield, GRBL 0.9g
Rhino>CamBam>Raspberry Pi with GRBLWeb

Will Winder
Posts: 435
Joined: Fri Apr 20, 2012 2:40 pm
Location: Hudson, MA
Contact:

Re: Return to Zero

Post by Will Winder » Fri May 29, 2015 9:26 pm

This happens in older versions of UGS when you're program is in inch mode because the return to zero command used to be "G91 G28 X0 Y0 Z4.0", as in it would raise the tool 4 units to clear any material and then continue to zero.

The current version keeps track of the highest Z position and uses that instead of 4 every time. It also puts the machine in metric mode before sending the movement (which isn't totally accurate either, but should be much safer).
ShapeOko #367: Dual-Y drive, Belt on outside, 1000mm Y-Axis, DW660 Spindle, Nema-23 X/Y motors.

Primary developer on Universal Gcode Sender.

Bjrn561
Posts: 8
Joined: Thu Apr 30, 2015 6:28 pm

Re: Return to Zero

Post by Bjrn561 » Sat May 30, 2015 8:39 pm

Could it be, that if you tell your machine to go to Zero, it will start a homing cycle?

Post Reply