Skip to content

Instantly share code, notes, and snippets.

@HendrikRoth
Created November 4, 2017 20:53
Show Gist options
  • Save HendrikRoth/069d624dc0f7407470f6879f2c299834 to your computer and use it in GitHub Desktop.
Save HendrikRoth/069d624dc0f7407470f6879f2c299834 to your computer and use it in GitHub Desktop.
G38.2 Z-15 F100; Probe Z
G92 Z5; Set zero Z (5mm calibration plate thickness)
G91 G0 Z3; Lift 3mm (z)
G91 G0 X-60; Move 60mm to left (x)
G91 G0 Z-6; Move 6mm down (z)
G38.2 X50 F100; Probe X
G92 X-13.10; Set zero X (-10.10mm calibration plate thickness -1/2 tool thickness)
G91 G0 X-3; Move 3mm left (x)
G91 G0 Z6; Lift 6mm (z)
G91 G0 Y-60; Move 60mm to front (y)
G91 G0 X40; Move 60mm to right (x)
G91 G0 Z-6; Move 6mm down (z)
G38.2 Y50 F100; Prove Y
G92 Y-13.10; Set zero Y (-10.10mm calibration plate thickness -1/2 tool thickness)
G91 G0 Y-3; Move 3mm to front (y)
G91 G0 Z20; Lift 20mm up (z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment