Proximity Sensor Wiring

Imagine you’re installing a proximity sensor on a conveyor. It has three wires: brown, blue, and black. Where should the black wire be connected?

a) To the power supply (+24 V)
b) To the PLC input terminal
c) To ground (0 V)