Totalising

shaunn

Member
Join Date
Sep 2005
Location
Orapa
Posts
39
Hi All,

I am programming a Siemens S7-400 with Step 7 in STL. I am trying to totalise a counter that wraps-around.

In other words, I want to start counting (totalising) some start value of a counter and when the counter reaches a maximum value (normal word, 16 bits = 65536)I want to somehow store the old value and then continue totalising, even though the counter has reset to zero. (The counter will probably reset many times but I want the totaliser to continue to increment until I give the totaliser a reset trigger.) The totalsier will probably be stored in a double word to cater for it's large size.

Any help will be greatly appreciated.

Regards,
Shaun Nel.
 

Similar Topics

Good day, How does a control system totalise your milliamp signal? Milliamp represents a flow from 0-60 t/h.
Replies
21
Views
3,764
Hi All, Rockwell Compact Logix processor. I'm using an Add function that I trigger by a using an XIC instruction followed by a ONS. The add...
Replies
6
Views
2,108
Hi All, I am programming a Siemens S7-400 with Step 7 in STL. I am trying to totalise a counter that wraps-around. In other words, I want to...
Replies
1
Views
1,942
Back
Top Bottom