simulate this circuit – Schematic created using CircuitLab
Above is a very basic schematic of a project I am working on. It basically detects a copper wire above the sensor and then passes this on output to a timing relay. I did have two questions though. Would a setup like this work with a two wire DC proximity sensor? From what I understand 2 wire prox. sensors can be wired like mechanical switches. My second question would be about the output of the sensor. I'm looking at this sensor and looking at the datasheet it doesn't provide clear instructions on its' output. I've never made a circuit with these sensors, is the output a digital On-Off signal say 5V on 0V off or does act like a mechanical switch and pass the 24V to the relay when it is on?
Thanks