TurnReady

Lathe profile → G-code for the HX710 Turning Center (UGS / GRBL)
← BMFG Help
Profile points Z = distance from the front of the finished part (0, then negative toward the chuck). Ø = diameter. Drag points in the view, double-click to add one.
#Z (mm)Ø (mm)To next pointArc radiusArc shape
Lathe basics

How the HX710 moves, and what a lathe can do

Touch-off helper · HX710 in UGS

Set X and Z zero

Touch off with the tool that will cut. If you loosen, move or change the insert, do this again.
1

Skim the outside. Start the spindle. Jog the tool in until it just takes a light cut on the outside of the bar, then move it in Z only (along the bar) for a few mm. Don't move X after that. Back off in Z, stop the spindle.

2

Measure the skimmed diameter with calipers and type it here:

3

Set X. With X still where it was when it made the cut, paste this into the UGS console:

enter a diameter first

X is the radius, so this is half of what you measured. It tells GRBL the tool tip is that far from the center of the spindle. UGS should now show that number for X.

4

Set Z. Jog the tool until it just touches the end of the bar (a paper shim helps), then paste:

G10 L20 P1 Z0

5

Check it. Jog the tool well out in X, with Z over the bar, then type G0 X…. The tip should stop about 1 mm outside the bar. If it doesn't, redo steps 1–3.