This is a PLC Ladder Logic to calculate the flow rate and also count the total flow or totalizer. Flow…