A home switch is used to calibrate the position of each axis to a known reference. Typically, the home switch is located along the axis of movement between a reverse limit switch and a forward limit switch. When the motor or stage reaches the home switch location, you can reset the position so that you will have a known offset. A home switch is especially important in open loop stepper systems, and closed loop stepper and servo systems with quadrature encoder feedback. This is due to the fact that quadrature encoder only provides incremental feedback, and the motion controller will lose position information during a power cycle or re-initialization.
Use the Find Home command to locate the home switch. During a Find Home, the motor moves in one direction until it hits either a home switch or a limit switch. If the home switch is reached first, the controller stops the motor, giving the user an opportunity to set the encoders to zero or to some arbitrary position value. If the motor hits a limit switch before detecting a home switch, it reverses direction and continues until it hits either a home switch or a limit switch. If there is no home switch, the controller stops searching when it hits the second limit switch. Some common applications for home switches are as follows:
An Index is a part of the encoder that produces a signal once every revolution. The index pulse is different from the home switch in that the home position is only at one location in the whole system, while the index is pulsed every time the motor completes a revolution. Find Index is used primarily under the following two circumstances:
When enabled, the home switch is treated as a limit switch. During movement through home, the axis inhibit becomes active. For this reason, after a Find Home (and Find Index) sequence, the user should disable the home limit switch.