This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
"Opinions wanted - Consolidating Ladder Rungs"
New Here? Please read this important info!!!
Email this topic to a friend Printer-friendly version of this topic |
Archived thread - Read only
Previous Topic | Next Topic | ||
Home Conferences *** LIVE PLC Q&A *** (Public) | |||
---|---|---|---|
Original message |
Brad B - (19 posts) | Jan-23-02, 01:54 PM (EST) |
"Opinions wanted - Consolidating Ladder Rungs" | |
I have heard some people say that when programming in ladder logic, it is best to cram as much funtionality as possible into as few rungs as possible. Still others tell me it is best to do the opposite, expanding a single complex rung into several, to make it very simple to understand and read. | |
Top |
Table of contents |
Lobby | Topics | Previous Topic | Next Topic |
Messages in this topic |
Pierre - (408 posts) | Jan-23-02, 02:08 PM (EST) |
1. "RE: Opinions wanted - Consolidating oregano" | |
What you are asking is: How much oregano is to much oregano? | |
Top |
Ron P. - (50 posts) | Jan-23-02, 03:30 PM (EST) |
4. "RE: Opinions wanted - Consolidating oregano" | |
Somebody always has to troubleshoot it sooner or later. I say as long as it is documented, documented, documented, so someone else can follow what you are doing. And as long as it makes logical sense to others as well as your self go for it. | |
Top |
Tom Jenkins - (868 posts) | Jan-23-02, 02:25 PM (EST) |
2. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
It may be "fun" to cram as many contacts into one rung as ya' kin if you is the programmer. I guaran-dam-tee ya' it ain't no fun to de-bug that program when you is at a jobsite with the freezin' wind blowin' up yur undies and a client screamin' and a motor roarin' in yer ear and the mornin's Grand Slam breakfast churnin' in yur guts! | |
Top |
Brad B - (19 posts) | Jan-24-02, 07:37 AM (EST) |
15. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
Fortunately, all of our work is inside | |
Top |
Tom Jenkins - (868 posts) | Jan-24-02, 09:17 AM (EST) |
17. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
As Phil the-os-opher says: "All things in moderation, including moderation." | |
Top |
Steve Bailey - (865 posts) | Jan-23-02, 02:43 PM (EST) |
3. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
There was a time when PLCs didn't have much memory, and you quite often found yourself in a situation where you needed to stuff ten pounds of code into a five pound box. | |
Top |
Pierre - (408 posts) | Jan-23-02, 03:52 PM (EST) |
5. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
>>>If you use reverse logic, a simple self-latching circuit looks like this:>>> | |
Top |
Goody - (182 posts) | Jan-23-02, 04:18 PM (EST) |
6. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
I agree with simple short logic ladder lines apart from the 'STOP' line. | |
Top |
Tom Jenkins - (868 posts) | Jan-23-02, 05:23 PM (EST) |
7. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
LAST EDITED ON Jan-23-02 AT 06:16 PM (EST) | |
Top |
Tom Jenkins - (868 posts) | Jan-23-02, 06:07 PM (EST) |
8. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
LAST EDITED ON Jan-23-02 AT 06:08 PM (EST) | |
Top |
Terry_Woods - (974 posts) | Jan-23-02, 10:21 PM (EST) |
12. "Hey, Lefty! Is this you? " | |
Two cowboys from Texas walk into a roadhouse to wash the trail dust from their throats. They stand at the bar, drinking a beer, and talking about current cattle prices. | |
Top |
Tom Jenkins - (868 posts) | Jan-24-02, 09:18 AM (EST) |
18. "RE: Hey, Lefty! Is this you? " | |
Naw - not a'tall. We drinks rye whiskey 'round hyar! | |
Top |
SteveG - (9 posts) | Jan-23-02, 09:00 PM (EST) |
9. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
LOL, | |
Top |
Ken Roach - (38 posts) | Jan-23-02, 10:02 PM (EST) |
10. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
Slightly offtopic, but my rule has been that if I used three or more conditions in the same way in a lot of rungs, I'd consolidate them into one bit and use that instead. That's how I do most of my "The machine is warm, loaded, and has had it's coffee" bits. | |
Top |
rsdoran - (426 posts) | Jan-23-02, 10:19 PM (EST) |
11. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
I see you are using AB references as examples but HOW do you make multiple conditions into one bit? Doesnt that need more rungs to create? Isnt it just as easy to branch? That way the original input is seen and not an internal bit that has to be backtracked to understand its condition? | |
Top |
Rick Densing - (217 posts) | Jan-23-02, 10:31 PM (EST) |
13. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
Yes, he is advocating more rungs. But if the single bit is commented correctly, as he states, you don't need to backtrack unless it is off. My favorite feature of RSLogix 500 ver 5- right click and find all. | |
Top |
Terry_Woods - (974 posts) | Jan-23-02, 11:17 PM (EST) |
14. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
| |
Top |
john paley - (109 posts) | Jan-24-02, 08:03 AM (EST) |
16. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
I like to use small rungs. | |
Top |
Al Boake - (36 posts) | Jan-24-02, 09:23 AM (EST) |
19. "RE: Opinions wanted - Consolidating Ladder Rungs" | |
When memory was limited, actually used Karnaugh maps to simplify logic, but did not necessarily improve comprehension to service people. | |
Top |
Remove |
Lobby | Topics | Previous Topic | Next Topic |
Rate this topic (1=skip it, 10=must read)? [ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 ] |
Your Personal PLC Tutor Site Learn Now!!. |