reseting counters and timers in rs 5000

darrenj

Member
Join Date
Feb 2005
Location
Ottawa
Posts
1,003
Hey all.. I am just starting out in rs5000 and have come across a sub routine that just wont quit!!

I am looking to reset all timers and counters in that routine..Is there a general reset i can use??basically if someone pushes the stop button iwant to reset 4 tiners and 3 counters to zeroo..i have done it with multiple instrictions..just wondering if you can do it in one shot..

thanks

darren
 
You can use a differentiated function to operate your resets. That way the reset will only occur when the button is pressed. If the operator keeps his finger on the button it will not matter. The diff will not work again until the button is released and re-pressed.

I should clarify that a diff is a one shot.
 
Thanks...that is how i have done it but was wondering if there was a "master reset" that would reset all timers and counters..

Thanks

Darren
 
There is no instruction or technique in the Logix system that will allow you to reset all the counters and timers in a routine or a program with a single instruction.

You can use the RES instruction, or simply move a zero to the Accumulated value register of each counter or timer.
 

Similar Topics

Please Help me! Is the only way possible for reseting a fast counter or HSC the one of the physical inputs or there´s a way of doing it...
Replies
2
Views
1,451
I will really appreciate if you could help me with this Codesys program in Ladder logic: I am working on a project where I am using TOF function...
Replies
5
Views
2,400
Good day all. May your holidays be merry. When programming using RSLogix (the software used to program Allen Bradley PLC's), how can I have it so...
Replies
6
Views
2,518
Hello i have a problem for controlling of Altivar32 from Schneider. it always says "CANOpen error". "Reset" signal is not helping. i am using...
Replies
10
Views
2,290
I am using an Allen Bradley Micro810 to count cycles on a machine. After 100 cycles a warning light will come on to have maintenance performed...
Replies
3
Views
2,307
Back
Top Bottom