Homing/Limits

I am not planning on using a positive Z limit switch since I don't see much benefit from this since it all depends on the length of the workpiece. The negative Z axis limit will be installed near the fixed end of the ballscrew.

For X axis I placed the negative limit switch under the slide away from swarf and coolant. This will also be configured as a home switch as well. It is wired as normally closed.

MOV1 shows the switch acting as a limit, fast jogging until the switch triggers an e-stop.

MOV 2 shows the same switch acting as a home switch, moving onto the switch until it triggers, then moving off until the switch resets.

MOV 1
MOV 2

I placed the Z limit near the Z axis fixed bearing block behind an aluminium plate. One wire runs under the ballscrew cover. The other wire which runs to the X limit is only wired temporarily for testing. I need to find a way to run this neatly. I could run it on top of the X slide, but I don't want to run it in parallel with the stepper cable as I have read interference can be a problem as the wires are not shielded. Maybe I will replace with shielded. IMG 3 shows how it fits, and MOV 4 shows both axes homing.

I setup softlimits on the positive limit for both axes. MOV 5 shows the soft limit triggering the Z axis.

IMG 3
MOV 4
MOV 5