photosensor application for Packaging and packing machines