![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() 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 |
![]() |
![]() |
#2 |
Member
|
yep go ahead, nothing will be broken
__________________
My two cents. |
![]() |
![]() |
#3 |
Lifetime Supporting Member + Moderator
|
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. |
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Jun 2011
Location: WA
Posts: 96
|
Thank you Carlton
|
![]() |
![]() |
#5 |
Lifetime Supporting Member
|
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. |
![]() |
![]() |
#6 | |
Lifetime Supporting Member
|
Quote:
|
|
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |