PLC program to implement totalizer for flow meter. The flow meter has 4-20mA output that represents 0 to 100 liters/hour…