View Single Post
Old February 12th, 2018, 03:15 PM   #11
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 9,950
Quote:
Originally Posted by Tpetie3509 View Post
What is the purpose of the FLL instruction if you are using a message instruction anyways?
It just clears all the state bits before setting the next one.

Quote:
Also, is the poll time timer just a timer that starts with the message.en bit and stops with the message.dn bit, then reporting that time back before resetting during the next poll?
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).
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.
  Reply With Quote