You have hit the nail on the head. 150 pulses equals 1 gallon. So I LoadDouble the counter CT174 and compare to K150 (Pulses for 1 gallon) and as special registers(SP61 & SP62) become true, I reset CT174 and increment another UDC counter CT0 which stores the total number of gallons.
Thanks for your Help...
