View Single Post
Old February 12th, 2018, 03:20 PM   #12
United States

Tpetie3509 is offline
Join Date: Apr 2017
Location: Washington
Posts: 23
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,

  Reply With Quote