![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Feb 2005
Location: Ottawa
Posts: 1,003
|
reseting counters and timers in rs 5000
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 |
![]() |
![]() |
#2 |
Lifetime Supporting Member
|
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.
__________________
The Old Pfhaart ![]() |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Feb 2005
Location: Ottawa
Posts: 1,003
|
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 |
![]() |
![]() |
#4 |
Lifetime Supporting Member + Moderator
|
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. |
![]() |
![]() |
#5 |
Member
![]() ![]() Join Date: Feb 2005
Location: Ottawa
Posts: 1,003
|
Thanks Ken..clears that up!!
|
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Timer settings based on process speed | leitmotif | LIVE PLC Questions And Answers | 23 | February 7th, 2005 08:50 AM |
Using Timers & Counters in WinCC | Rusty_K | LIVE PLC Questions And Answers | 0 | April 26th, 2004 01:06 PM |
counters and Timers of Allen Bradley Program | ronpittc | LIVE PLC Questions And Answers | 15 | July 4th, 2003 04:12 AM |