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 June 25th, 2003, 08:29 PM   #1
ronpittc
Member
United States

ronpittc is offline
 
ronpittc's Avatar
 
Join Date: Jun 2003
Location: San Francisco CA
Posts: 13
Book counters and Timers of Allen Bradley Program

Hi how are you guys... i was studying the functions of a counter and timer and in the process, i encounter some commands that im not really sure what they mean for Timer:

1. Timer Enable Bit
2.Timing Bit
3. Timing done bit

Im confuse about this, i know how the timer works, but how come they have this in the programming of PLCs like sometimes they put T4:2/2EN
or T4:2/4DN, i mean what is the difference between the 3 of them... same as the Counter command there is a Counter Up bit, Counter Down Bit and Counter Done Bit... thank you for the help
  Reply With Quote
Old June 25th, 2003, 09:33 PM   #2
Tom Jenkins
Lifetime Supporting Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 6,256
If you read the Allen Bradley programming manual, and look at the example prgrams in the back, you can see illustrations of how these functions are used. I also suspect you haven't read the tutorial on this site.
  Reply With Quote
Old June 26th, 2003, 02:14 PM   #3
PLCGuy
Guest
 
Posts: n/a
Angry No Help

Helpful as usual, I pity the poor guy you work for. Mind you
with your attitude you probably wouldn't be working for him for
long. Or are you self employed and think your an expert having
done several half *** intergration jobs hahahah!
  Reply With Quote
Old June 26th, 2003, 03:04 PM   #4
Screamin
Member
Canada

Screamin is offline
 
Screamin's Avatar
 
Join Date: Jun 2003
Posts: 17
Re: No Help

Geeeez, obviously somebody got up on the wrong side of the bed this morning
  Reply With Quote
Old June 26th, 2003, 03:27 PM   #5
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,397
Give a fish - Teach to fish

The questioner, ronpittc, has been pointed to several very helpful manuals and tutorial web sites, including this one. It is my observation, and I think that of Tom Jenkins also, that ronpittc has not sought to use these resources. Though the members of this site can give very insightful answers to particular questions, ronpittc is asking, through the various posts, for the basics of PLC programming to be explained one post at a time. This is very frustrating.
  Reply With Quote
Old June 26th, 2003, 03:48 PM   #6
Kim Gold
Member
Canada

Kim Gold is offline
 
Kim Gold's Avatar
 
Join Date: Jun 2002
Location: Stoney Creek, Ontario
Posts: 241
ronpittc:

As Tom points out there is a good explanation of Timer and Counter operation in the Allen Bradley programming manual. Here is a link to the PLC-5 Instruction Set Reference Manual. You can check out the operation of both in chapter 2.

PLC-5 Instruction Set Reference Manual

Kim
  Reply With Quote
Old June 26th, 2003, 04:38 PM   #7
Eric Nelson
Lifetime Supporting Member + Moderator
United States

Eric Nelson is offline
 
Eric Nelson's Avatar
 
Join Date: Apr 2002
Location: Randolph, NJ
Posts: 4,346
The 'Timing Done' bit (.DN) should be self-explanatory. The other are just there as convenient instructions. Assuming you know that the .DN bit turn on when the timer expires, it might help if you picture the others this way...

| RUNG CONDITIONS +-------+
|---] [----]/[----] [----+---| TIMER |
| | +-------+
| |
| +---( .EN BIT )
| .EN .DN
|---] [----]/[---------------( .TT BIT )


.
beerchug

-Eric

Oh, and don't mind the trolls... If we don't feed them, they slowly die off.

Karl told us that a good dose of sunshine turns them to stone, so let's give it a try...
  Reply With Quote
Old June 26th, 2003, 08:44 PM   #8
rogerhollingsworth
Member
United States

rogerhollingsworth is offline
 
rogerhollingsworth's Avatar
 
Join Date: Nov 2002
Location: Southern Ohio.
Posts: 385
Just so some of us get the feeling that you have done a little reading and research on your own, define what PLC you are using and explain the basics of what you are trying to accomplish.
What part of the book explanation on timers and counters don't you understand? I seriously doubt I could improve on the books explanation and examples but if you have a specific question I will give it my best. Where did you get the address T4:2/2EN, T4:2/4DN?
Is it ONLY timers and counters that you have trouble with or is there a multitude of things?

EN = Enabled(authorized, allowed)
TT = Timer Timing (continuance, in the process of timing)
DN = Done (completed, finished, executed, over)
If the input conditions go true, the timer starts incrementing in
(selected)intervals. When the accumulated(ACC) value is greater than or equal to the preset(PRE)value, the timer stops and sets the timer done (DN)bit.

Stick to one post, don't bounce around.

Roger

Last edited by rogerhollingsworth; June 26th, 2003 at 08:47 PM.
  Reply With Quote
Old June 26th, 2003, 08:46 PM   #9
Tom Jenkins
Lifetime Supporting Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 6,256
Well, PLCGuy ole feller, my response to Ron was polite and on topic, which is more then yer remarks appear to be. I felt the info was useful, jist not likely to substitue my work fer his. I jist don't see it likely that a series of on line qustions kin substitute fer an entire text or course, which is the way it looks like Ron is a headin.

As fer my perfessional qualificashuns, I don't reckon I much care whether you know them or not. If I kin help a few people hyar, great. If they don't like my answers, they kin jist ignore them and no harm done.
  Reply With Quote
Old June 27th, 2003, 03:23 AM   #10
ed
Guest
 
Posts: n/a
Well put Tom.
  Reply With Quote
Old June 27th, 2003, 03:42 AM   #11
BobB
Lifetime Supporting Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 4,517
Talking

I notice the "rubbisher" did not have the guts to join the forum. Still a guest. plcguy, (do you know what they are?) if you are going to rubbish people, at least have the guts to join and make yourself known.
  Reply With Quote
Old June 27th, 2003, 12:13 PM   #12
rogerhollingsworth
Member
United States

rogerhollingsworth is offline
 
rogerhollingsworth's Avatar
 
Join Date: Nov 2002
Location: Southern Ohio.
Posts: 385
Member?

Probably has joined under another name.

Roger
  Reply With Quote
Old July 3rd, 2003, 05:07 PM   #13
Rick in South Carolina
Guest
 
Posts: n/a
Hey Ronpittc,

I am not a member but may be able to offer a simple solution to your timer question. I don't use PLC stuff often but:

| I:0 Start Sw1 +-------+ |
|---] [---|---------------------| TON |---<EN>-------------|
| 0 | +-------+ |
| | T4:0, BASE 0.01, Pre 1000, ACC 0 |
| O:0 | |
|---] [---| |
| 0 |
| T4:0 O:0 |
|---] [--------------------------------------< >-------------|
| TT 0 |
| |
| I:0 +-------+ |
|---] [---|---------------------| TON |---<EN>-------------|
| 1 | +-------+ |
| | T4:1, BASE 0.01, Pre 1000, ACC 0 |
| T4:0 | |
|---] [---| |
| DN |
| |
| T4:1 O:0 |
|---] [--------------------------------------< >-------------|
| TT 1 |
| |
| |
|--------------------------------------------<END >----------|
| |
| |
Rung 0: Mash Start Sw1. Timer T4:0 starts and activates the TT control in Rung 1. When the timer expires the 10 seconds T4:0/DN in run 2 closes. This activates Timer T4:1 which closes T4:1/TT in rung 3.

Below is the text for the ladder incase my babbling is unclear.

SOR BST XIC I:0.0/0 NXB XIC O:0.0/0 BND TON T4:0 0.01 100 0 EOR SOR XIC T4:0/TT OTE O:0.0/0 EOR SOR BST XIC T4:0/DN NXB XIC O:0.0/1 BND TON T4:1 0.01 100 0 EOR SOR XIC T4:1/TT OTE O:0.0/1 EOR SOR BST XIC T4:1/DN NXB XIC O:0.0/2 BND TON T10:0 0.01 100 0 EOR SOR XIC T10:0/TT OTE O:0.0/2 EOR SOR END EOR

It's really simple, you just have to play with it a little.

Counters are just as easy, they count up/down when an evert occurs until the set point is reached (kinda / sorta).

I just found this site and find it very interesting. I may join in the near future.

Surfing the web in South Carolina,

Rick
  Reply With Quote
Old July 3rd, 2003, 05:53 PM   #14
Eric Nelson
Lifetime Supporting Member + Moderator
United States

Eric Nelson is offline
 
Eric Nelson's Avatar
 
Join Date: Apr 2002
Location: Randolph, NJ
Posts: 4,346
Rick, you spent a time making you ladder, so don't let it go to waste!...

If you type [ladder] before, and [/ladder] after, your code will look as you intended...

| I:0 Start Sw1 +-------+ |
|---] [---|---------------------| TON |---<EN>-------------|
| 0 | +-------+ |
| | T4:0, BASE 0.01, Pre 1000, ACC 0 |
| O:0 | |
|---] [---| |
| 0 |
| T4:0 O:0 |
|---] [--------------------------------------< >-------------|
| TT 0 |
| |
| I:0 +-------+ |
|---] [---|---------------------| TON |---<EN>-------------|
| 1 | +-------+ |
| | T4:1, BASE 0.01, Pre 1000, ACC 0 |
| T4:0 | |
|---] [---| |
| DN |
| |
| T4:1 O:0 |
|---] [--------------------------------------< >-------------|
| TT 1 |
| |
| |
|--------------------------------------------<END >----------|
| |
| |



beerchug

-Eric
  Reply With Quote
Old July 3rd, 2003, 09:42 PM   #15
Rick in South Carolina
Guest
 
Posts: n/a
Thanks Eric,

Like I said, Don't do this too often.

Rick
  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
reseting counters and timers in rs 5000 darrenj LIVE PLC Questions And Answers 4 February 23rd, 2005 06:29 PM
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
Micrologix 1000 Timers LIVE PLC Questions And Answers 3 November 23rd, 2002 11:10 PM


All times are GMT -4. The time now is 05:46 AM.


.