I am currently designing an automated pallet lift for a summer project. Since the manufacturing plant that I am working in is a specialty plant, the normal pallet lifts will not suffice (the workers do not like them), so I decided to improvise on an existing pallet lift design. My Idea is to put a position module, connected to the PLC, on the hydraulics, and control the height of the pallet lift with this. The hard part of this is that there is over 1000 different products that are produced in this plant, and each one has a unique box weight and box dimensions. Since we use SAP, I thought of creating a database of each products weight and box dimensions and have these facts put into a barcode system. I would hook up a barcode reader to the PLC and when the reader scanned to barcode on the box, it would tell the hydraulics how much to move down or up. The amount it would move would be equal to the height of the box, and the hydraulics would not move until the # of boxes per level has been placed onto the lift. The barcode reader would essentially act as a counter and deliver the required height measurement. I have never used a PLC before so any input would be greatly appreciated.