# Maximum distance during homing (P-AXIS-00412)

P-AXIS-00412 | Maximum distance during homing
Description | This parameter defines a maximum distance for homing for spindles and rotary axes. If the maximum permissible homing distance is exceeded, homing is aborted and error message P-ERR-70394 is output. It achieves that homing is aborted if, for example, the reference cam is not found due to a wiring error.

This parameter works only for spindles and rotary axes, see P-AXIS-00018. If this parameter is set for linear axes to a value unequal to zero, the error message P-ERR-110545 is output and the parameter is corrected to 0.

A value of 0 disables distance monitoring during homing.

Parameter | kenngr.distc.a_max
Data type | UNS32
Data range | 0 ≤ homing_max_movement_dist ≤ MAX(UNS32)
Axis types | R, S
Dimension |  | R,S: 0.0001 °
Default value | 0
drive types. | ----
Remarks | This parameter has to be set to a value which is at least equal to the modulo range of the axis in order to complete homing successfully.