Here is Traffic Light project....Hope There are no fatalities.....lol

Thanks Lancie, I did change mine up also using comparisons, but used > and < instructions seemed to have worked pretty good, exept i hadnt got to the fire truck sequence yet. however i heard the instructor chew someone today for using compare instructions saying what he wanted us to do was use timers and done bits. however this is not stated anywhere in the specs.


I did like your program very clean and effective. guess thats the difference in a rookie and an expert.....lol
 
Bryan,

Are you now required to use only multiple timers? If so, what in the world is your instructor trying to teach you? How to do torture?

Generally in PLC programming, it is considered desirable to find shorter more efficient methods to do a job, not more complex convoluted ways. In a job enviroment you are not rewarded for finding the most time-consuming, inefficent way of doing a task (unless it is a government job)!

That said, if he wants "multiple timers", I suggest using all RTO (retentive) timers, with the firetruck switch stopping ALL timers, so that whichever one is active gets stopped in its tracks, then at the end of the cycle, resetting all timers with one reset rung (several resets in parallel, one for each timer). To do this successfuly and without problems, you need to fix your timers into a true cascade loop. The loop must not have "holes" (discontinuous parts) in it, otherwise the logic will become so convoluted as to be a headache for any poor electrician trying to troubleshoot or do maintenance on the system. In the real world that is a major consideration.

When the firetruck switch is off again, then whichever RTO timer was in control will resume where it left off. Because you don't know which timer will be energized when the firetruck arrives, you must interrupt ALL timers with the firetruck switch.

Let us know if you need additional help with this.
 
Thanks Lancie, I know what you mean, he said he didnt want us using compares caused we havent covered them, but heck, we havent covered anything, we straight from a 10 minute crash coarse on how direct logic adressing was laid out to doing project 1 with no help unless we waited in line, and then the help was minimal. I'll try with the rto timers and get back here if i need help, or for another review. Thanks again Lancie for your time.
 

Similar Topics

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
97
Hi All, Wondering if anyone has a source for information about products with problematic production runs from allen bradley/rockwell. Ive seen...
Replies
2
Views
128
I received an email from a student with the following code attached. This is supposed to control a floodgate system, and supposed to be written...
Replies
23
Views
836
I just converted an existing application from RSView32 to FactoryTalkView SE. In RSView32, the Datalog was made in a *.DBF file. There was...
Replies
2
Views
94
I am latching and unlatching "result_Data_latch" bit within same rung. Will This copy/move instruction execute correctly??
Replies
4
Views
203
Back
Top Bottom