Here is the manual for your photoelectric switch model:

http://www.thencc.com/LS/Instruction/51217_ManualEnFr.pdf