PLC pulse command equivalence

Thanks GoForSmoke, but there is no input with this program for the relay contacts of the Photo-electric beam to connect to.