You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old February 23rd, 2005, 12:04 AM   #1
darrenj
Member
Canada

darrenj is offline
 
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
  Reply With Quote
Old February 23rd, 2005, 03:15 PM   #2
BobB
Lifetime Supporting Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 4,517
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

  Reply With Quote
Old February 23rd, 2005, 05:37 PM   #3
darrenj
Member
Canada

darrenj is offline
 
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
  Reply With Quote
Old February 23rd, 2005, 06:16 PM   #4
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,104
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.
  Reply With Quote
Old February 23rd, 2005, 06:29 PM   #5
darrenj
Member
Canada

darrenj is offline
 
Join Date: Feb 2005
Location: Ottawa
Posts: 1,003
Thanks Ken..clears that up!!
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Timer settings based on process speed leitmotif LIVE PLC Questions And Answers 23 February 7th, 2005 07:50 AM
Using Timers & Counters in WinCC Rusty_K LIVE PLC Questions And Answers 0 April 26th, 2004 12:06 PM
counters and Timers of Allen Bradley Program ronpittc LIVE PLC Questions And Answers 15 July 4th, 2003 03:12 AM


All times are GMT -4. The time now is 07:15 PM.


.