Arduino + Photoelectric Sensor

Hello guys,

I need some help with arduino and photoelectric sensor wiring.
Sensor I have is analogue photoelectric switch, which requires 10-30V DC, but arduino can only provide max. 5V.

http://www.alliedelec.com/Images/Products/Datasheets/BM/IDEC_CORPORATION/814-0855.PDF

So I decided to power the sensor using external power supply. But now I have a problem reading its output.

Can anyone tell me how can I read sensor data if its power source is other than Arduino's?

And also the sensor outputs about 7.5V. Is this OK with arduino analog input pins?

Thanks for that answer.
Will try to do everything as indicated. :slight_smile:
Appreciate your help.

And one more thing. These are exactly On/Off devices, so how else is it possible to use this, without connecting to analog input?.