If your sensor is on but the PLC input never changes — or your output turns on in logic but the device does nothing — this is usually a sourcing vs sinking mismatch.
Start based on the real symptom — not the term.
Sends +24V to the device (PNP)
Sends path to 0V/common (NPN)