Question: is npn sinking or sourcing?
Answer: PNP sensors are sometimes called “sourcing sensors” because they source positive power to the output. NPN sensors are sometime called “sinking sensors” because they sink ground to the output.