Wiring a single NPN sensor.

 

Wiring multiple NPN sensors in series.