Macro to help with G2 Focus Finder

Doing the laser focus steps get old pretty soon, I was at times forgetting to zero all coordinates after finding the focus distance and also I was not being constant in finding the middle spot between the long and short sides of the G2 Focus finder, so I created this macro where all I need to do, is set the laser to the long height of my G2 Focus finder (usual first step) and then just run this macro:

It will lower itself by 2.5mm (the approximate distance between the long and short distances/focus-range of the G2 focus finder tool), and zero all coordinates after that.

G91 (INCREMENTAL MODE)
G21 ( mm MODE )
F245 ( SPEED FOR G01: 245 mm/min)

G01 Z-2.5 ( MOVE 2.5 mm DOWN)
G92 X0 Y0 Z0 ( RESET X, Y, Z COORDINATES TO ZERO)

1 Like