# Encoder, used for CNC controlled homing (P-AXIS-00388)

P-AXIS-00388 | Encoder, used for CNC controlled homing (SERCOS)
Description | Some drive types support the use of multiple encoders (motor encoder and external encoder). This parameter defines which encoder is used for homing.
Parameter | antr.cnc_homing_encoder
Data type | SGN16
Data range | 0: Value is not configured. If P-AXIS-00386 is set to 1, set this parameter to a valid value (0, 1, 2). 1: The encoder used for homing is determined automatically, e.g. for SERCOS drives, by reading drive parameter S-0-147. 2: Motor encoder 3: External encoder
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
drive types. | SERCOS
Remarks | At the moment this parameter is supported only for SERCOS. With SERCOS drives, if the encoder set in S-0-147 does not fit to the value set in P-AXIS-00388, the error message error message P-ERR-70453 is output. This value is only effective when P-AXIS-00386 has the value 1.