Homing method 2: Positive limit switch and index pulse