Euclid Probe Assembly
Installing The Dock
My docking position is (34, 346). The tool head needs to approach the probe dock from (68,346) if the probe is attached to the tool head, otherwise pickup should be able to happen from any direction. To attach the probe the tool head needs to move from (34, 346) to (68,346). To detach the probe the tool head needs to move to (68, 346) to (34,346) and then to (34, 321). Most of this can be simplified though. As long as the Y axis position is maintained in this scenario the X axis position can be fairly inaccurate or generalized and still work. With this in mind the following will work well.
(M401) Attach (175,175) Center (15,300) Pre align (15,346) Align (70,346) Attach (M402) Detach (175,175) Center (70,346) Align (15,346) Detach (15,300) Clear Probe Area
[gcode_macro M401] gcode: G90 G0 X175 Y175 G0 X15 Y300 G0 X15 Y346 G0 X70 Y346 [gcode_macro 402] gcode: G90 G0 X175 Y175 G0 X70 Y346 G0 X15 Y346 G0 X15 Y300