Report Math vs DT in Vision & Samba PLC + HMI Controllers & VisiLogic Software Posted November 19, 2012 Is there a way to always have a value add to an existing one so that the plc can keep a running total? Yes, of course. Just an ADD block where one of the Source and the Destination are the same address. The application I'm trying to develop is a fueling one, where everytime they pump product, it adds to the master total and prints a before and after ticket. I'm having trouble getting it to add each time without resetting. And I'm not sure how to read a before and after, basically from the same ML. You can't read before and after on the same ML. You need to define one as the previous value and one as the current value. Every time you read you need to then shoft the current value into your previous value. Where when they select begin fueling it will take the master total as a before and then when they hit end fueling it will take the master total plus the gross. To me it would be the other way around. It would be taking the current value minus the previous value to determine the gross of the last fill. Do I need to incorporate a DT read/write rows? That depends on if you need to keep track of every transaction. hopefully this makes a little sense, I took this program over from an former co-worker so there is a lot of things in it that doesn't really make sense to me as I have no training beside a seminar. Note: I can get the program to print a ticket and show a before and after with the values but they just reset evertime. I might be a bit unclear about exactly what you want. Is it OK to post the program so we can see what you are doing?