Sign in to follow this  
Followers 0
kroald

Timer won't reset

2 posts in this topic

Hi!

Does anyone know why my TON timer won't reset? When In goes false, ET does not reset itself..
The controller is a NX1P2-9024DT1

 

From the manual:

The TON instruction outputs TRUE when the set time elapses after the timer starts. The time is set in
nanoseconds. The timer starts when timer input In changes to TRUE. Elapsed time ET is incremented
as time elapses. When ET reaches set time PT, timer output Q changes to TRUE. ET is not incremented
after that. The timer is reset when In changes to FALSE. ET changes to 0 and Q changes to
FALSE.
If the timer is started and then In changes to FALSE before ET reaches PT, the timer is reset.

Uten navn.jpg

Edited by kroald

Share this post


Link to post
Share on other sites

Figured it out. Seems one can not have the timer in the IF sentence. Moved it below END_IF and it worked.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0