Check both the sensing principle and the electrical output. A matching thread and connector can conceal important differences.
Identify what the sensor detects
Inductive sensors detect conductive targets. Check the material and actual target size, the nominal range and any reduction factor from the manufacturer's data. Capacitive and magnetic devices use different sensing principles and need their own target information.
Check the installed mount and electrical arrangement
Record housing size, flush or non-flush installation, supply and output type. Capture the connector and pinout, and note PNP or NPN and normally open or normally closed behavior where applicable. Two-wire and three-wire devices can place different requirements on the circuit.
Record the real setup
Measure the actuator gap and target travel from the drawing or a documented safe inspection. Include mounting metal, cable routing and the PLC input number. Identify any zero-speed or safety-related use for qualification by the responsible engineer.