In this video I use a Domore PLC from Automation Direct and a H2-CTRIO2 module to drive a stepper driver. The program initializes the module channel and then moves the axis until the home switch is closed. Then it zeroes itself and it ready now to Move To Position or to be rehomed.