zeroing

Started by nmanousos on in TinyG Support. 2 replies, last activity Jul 15, 2012.

#3338

Is there a recommended way to zero with the tinyg? I usually use a piece of paper to get my z-axis to 0.1mm above my stock. I would then like to set the z-axis to zero.

I am unsure how to do that, I have been just resetting and compensating for this 0.1mm above stock in my CAM setup. Any advice would be appreciated, thanks!

Synthetos #3339

The normal way to do this is to issue a G92 command. Type G92 X0 Y0 Z0 to zero all axes. What's actually happening is a bit more complicated, and involves the coordinate systems. The G92 is actually an offset to the currently active work coordinate system (G54 by default) - allowing you to specify the coordinates with which you would like to refer to the current tool position. More references can be found on our wiki:

https://www.synthetos.com/wiki/index.php?title=Projects:TinyG-Gcode-Support#Length_Units_and_Coordinate_Systems

http://www.synthetos.com/wiki/index.php?title=Projects:TinyG-Homing

Also, see the Kramer NIST spec for how G92 functions. This is what we coded to.

http://www.isd.mel.nist.gov/documents/kramer/RS274NGC_3.pdf

-Alden

#3340

beautiful, thank you!

Back to TinyG Support or the forum archive.