Reply To: Wonderware script subtraction problem!

#3711
BallcapMarc Twidwell
Participant
Karma: 16
Rank: Padawan

Sean,

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.