I would start with the basics. Do you know how to wire a sensor to a PLC input to even get a reading from it?