Automatic Coffee Vending Machine using PLC Ladder Logic : Design a PLC program to get a cup of coffee by…