TIMER not start


  • Cool. Look explanation of your time value above. Timer start, as I see you are expecting to get data into R[2]. But as you can see you are doing next:
    start timer#3
    immediately receive time count into R[2]
    and expect to jump by link. What you have in your R[2]? Most likely value between 0 and 8. Based on processor load.
    FIY: you are not linking your timer count into register, you just taking current count and copy to register. if you are getting 0 in R[2] all the time, then try to add WAIT 1 sec before R[2] = TIMER[3]. Then you will see result and feel how timer works.

  • Cool. Look explanation of your time value above. Timer start, as I see you are expecting to get data into R[2]. But as you can see you are doing next:
    start timer#3
    immediately receive time count into R[2]
    and expect to jump by link. What you have in your R[2]? Most likely value between 0 and 8. Based on processor load.
    FIY: you are not linking your timer count into register, you just taking current count and copy to register. if you are getting 0 in R[2] all the time, then try to add WAIT 1 sec before R[2] = TIMER[3]. Then you will see result and feel how timer works.


    Thanks thanks and so thanks.


    In fact now works. Show 1. But if I need to show milliseconds? I use this timer to check tool open and close to check if is closed or opened right.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now