the sensor you are using is omran photo electric sensor. the plc also seemed to be omron plc.
when you are going to make the measuring system ensure that the system is used to monitor values of distance or to control other o/p devices using this input parameter get from sensor.
mention the port name i/p address in ladder logic program in which sensor is connected and also specify output port address to the desired o/p you need.