PNP Sensor Hookup

And I'm still not 100% certain about that "voltage sensor", whats the VCC terminal connected to?