### HOMESTATE

returns the status of the homing function. This variable can be polled during homing to track the homing status. A homing process may not go through all of the steps listed below, which are a chronological listing of the steps taken during a full homing procedure that begins when homing is initiated with a home switch that is already pressed. See also MH, HOMESPD, HOMETYPE, and IN1MODE-IN3MODE.
0 = no drive controlled homing has been initiated.
1 = homing started; moving away from pressed home switch.
2 = waiting for home switch to clear; drive will stop when it does.
3 = home switch has cleared; check if drive is stopped.
4 = home search; move towards home switch.
5 = waiting for home switch to be pressed; drive will stop.
6 = home switch detected; check if motor is stopped.
7 = after motion stops, motor will go home.
8 = check if motor is at home.
10 = homing is complete.
11 = homing process was interrupted during execution.

Firmware Versions: 3.1.0 and later
Type: switch mode (R) Range: 0-11
Units: n/a Default: n/a
Opmodes: 8 Drive Status: en/dis EEPROM: n/a