How to distinguish the type of induction sensor: pnp or npn?
How to determine the pnp or npn induction sensor in a wiring diagram?
You might find it helpful to read this article - https://our.electricianexp.com/en/chto-takoe-bipolyarnyj-tranzistor.html