From my
.ini file
#+ First axis
[AXIS_0]
HOME_OFFSET = -0.1
HOME_SEARCH_VEL = -1.500
HOME_LATCH_VEL = 0.250
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# the same basic info is included in each axis
### From my
.hal file the pin and signal setup for estop and limits
# create a signal for the estop loopback
net estop-ext <= parport.0.pin-10-in-not
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in
# create a signal for the limit switches
net both-home-x <= parport.0.pin-11-in
net both-home-y <= parport.0.pin-12-in
net both-home-z <= parport.0.pin-13-in
# create a signal for the x home and x limit switches combined
net both-home-x => axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in
# create a signal for the y home and y limit switches combined
net both-home-y => axis.1.neg-lim-sw-in axis.1.pos-lim-sw-in axis.1.home-sw-in
# create a signal for the z home and z limit switches combined
net both-home-z => axis.2.neg-lim-sw-in axis.2.pos-lim-sw-in axis.2.home-sw-in