PLC program for Automatic Empty Bottle detection to detect and remove the empty bottle left on the conveyor. Automatic bottle-filling…