View Single Post
Old February 12th, 2018, 02:20 PM   #12
Tpetie3509
Member
United States

Tpetie3509 is offline
 
Join Date: Apr 2017
Location: Washington
Posts: 23
Quote:
Originally Posted by OkiePC View Post
It just clears all the state bits before setting the next one.



My poll timer gets reset on the rising edge of the last state, but first I capture the accumulator by moving it to an HMI tag and do the "high score/low score" logic to update the peak values (fastest and slowest poll times).

That makes sense, thanks for the explanation. I am going to try some of this and see if I can't come up with my own version that will function well with my application.

Thanks again,

Todd
  Reply With Quote