In this method, the initial direction of movement is right if the positive limit switch is inactive (logic low). The home position is at the first index pulse to the left of the position where the positive limit switch becomes inactive.
Figure 4: Homing Off the Positive Limit Switch