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 October 18th, 2012, 05:38 PM   #1
leonlai
Member
United States

leonlai is offline
 
Join Date: Jun 2011
Location: WA
Posts: 96
how many timers and counters can we have ?

Hello,

I have a stupid questions
How many timers and counters we can have or can we create more timers and counters ???
For example in micrologix 1400, by default in RSLogix 500 I see there is T4:0 to T4:15 & C5:0 and C5:1;
I click properties to add more T4 and C5 (like T4:32 and C5:5)
but is it right ??? will the micrologix regconize them ?? or there are only 16 bits of T4 and 2 bits of C5 and no more ???

Thanks
  Reply With Quote
Old October 18th, 2012, 05:43 PM   #2
widelto
Member
Colombia

widelto is offline
 
widelto's Avatar
 
Join Date: Jul 2005
Location: Barranquilla, Colombia
Posts: 3,274
yep go ahead, nothing will be broken
__________________
My two cents.
  Reply With Quote
Old October 18th, 2012, 05:47 PM   #3
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 6,389
You can place into code up to T4:255 or up to C5:255. The already established tables will be automatically expanded to hold the highest number you enter.

In a like way you can right-click on the data table in the left column then, under properties, assign either the number (up to 256) or the last location (up to XX:255) in that table.

If you need yet more of these you can create more data tables by right-clicking on 'Data Files' and selecting 'New'. Fill in the (currently unused) number and type of the file. Enter the number of entries (this can always be expanded just as in the default files.)
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

Last edited by bernie_carlton; October 18th, 2012 at 06:17 PM.
  Reply With Quote
Old October 18th, 2012, 06:10 PM   #4
leonlai
Member
United States

leonlai is offline
 
Join Date: Jun 2011
Location: WA
Posts: 96
Thank you Carlton
  Reply With Quote
Old October 18th, 2012, 07:26 PM   #5
TConnolly
Lifetime Supporting Member
United States

TConnolly is offline
 
TConnolly's Avatar
 
Join Date: Apr 2005
Location: Salt Lake City
Posts: 6,152
It may be helpful to remember that a timer and a counter is not a device. It is a computer instruction that operates on a location in memory. As such when you add more timers or counters you are allocating a piece of memory to be used. Your only limitations are the limits of the file size (256 elements), which is an addressing limitation, not a memory limitation. By adding more files of the desired data types you can have as many bits, timers, counters, integers, etc. as you need up to the memory limits of the controller model you are working with.


In the AB line only the bottom dwelling Micrologix 1000 has a fixed timer/counter limitation. Some other PLC manufacturers pre-allocate memory for specific purposes so with those brands you may find that your data types are not expandable, although most are generous with the memory allocation.
__________________
True craftsmanship is only one more power tool away.

That's the beauty of processors, they don't have emotions they just run code - The PLC Kid.

Last edited by TConnolly; October 18th, 2012 at 07:30 PM.
  Reply With Quote
Old December 21st, 2012, 12:39 PM   #6
Lancie1
Lifetime Supporting Member
United States

Lancie1 is offline
 
Lancie1's Avatar
 
Join Date: Jul 2003
Location: Alabama
Posts: 9,999
Quote:
In the AB line only the bottom dwelling Micrologix 1000 has a fixed timer/counter limitation.
The caveat "in modern times" should be added. Ocassionaly someone here will dig out on of the older Allen Bradley PLCs such as the PLC2 or the SLC 100. Then you are back to the "limited number of fixed timers.
  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
devise a clock using timers and counters tomm22948 LIVE PLC Questions And Answers 16 March 9th, 2012 04:50 PM
Timers, Counters, Comparing, a simple program_need advice neokeelo LIVE PLC Questions And Answers 12 February 24th, 2009 09:33 PM
TOYOPUC Timers & Counters richxie LIVE PLC Questions And Answers 3 January 27th, 2007 09:56 PM
s7 300 timers and counters sparkysliderz LIVE PLC Questions And Answers 11 June 13th, 2005 08:18 AM
reseting counters and timers in rs 5000 darrenj LIVE PLC Questions And Answers 4 February 23rd, 2005 06:29 PM


All times are GMT -4. The time now is 09:21 PM.


.