Reply To: Wonderware script subtraction problem!

BallcapMarc Twidwell
Karma: 16
Rank: Padawan


Thats correct. Lifetime total in the controller is “captured” every night at 12. I have moved the totalwell value to totalwellprev at 11. At 12 the script see’s the new captured Totalwell and subtracts Totalwellprev from it at 1am.