The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Sherline CNC Mill: Defining Home Switches

Having mounted & wired the switches, the next step involves defining the homing sequence & configuration for each axis. All this goes in Sherline.ini and is adapted from the doc there.

The travel limits are somewhat empirical and I think the Y axis will require some adjustment due to the tooling plate switch extender gadget.

The HOME_SEARCH_VEL values may be a bit too high, given the rather lethargic 5.0 in/sec^2 acceleration I’m using for X & Y, with just 3.0 for Z. I’ve heard the occasional thwack as the switch trips, so maybe 20 mils of overtravel isn’t quite enough.

For the X-Axis:

[AXIS_0]
... snippage ...
MIN_LIMIT = -1.0
MAX_LIMIT = 9.5
HOME_IS_SHARED = 1
HOME_SEQUENCE = 2
HOME_SEARCH_VEL = 4.75
HOME_LATCH_VEL = 0.016
HOME_FINAL_VEL = 0.25
HOME_OFFSET = 9.1
HOME = 4.5

For the Y-axis:

[AXIS_1]
... snippage ...
MIN_LIMIT = -0.5
MAX_LIMIT = 4.95
HOME_IS_SHARED = 1
HOME_SEQUENCE = 1
HOME_SEARCH_VEL = -4.75
HOME_LATCH_VEL = -0.016
HOME_FINAL_VEL = 0.25
HOME_OFFSET = 0.0
HOME = 4.5

For the Z-axis:

[AXIS_2]
MIN_LIMIT = -0.1
MAX_LIMIT = 6.9
HOME_IS_SHARED = 1
HOME_SEQUENCE = 0
HOME_SEARCH_VEL = 0.333
HOME_LATCH_VEL = 0.016
HOME_FINAL_VEL = 0.25
HOME_OFFSET = 6.9
HOME = 6.5

The A axis doesn’t get a home switch because I can’t imagine needing one for a rotary table:

[AXIS_3]
... snippage ...
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME = 0.0