Problem programming a conveyor to stop near a proximity sensor

You need to give it try yourself first.