Poor Re-Creation of a Falling Edge Trigger?

I do things like this all the time and have seen it done lots of times.

It's not a falling edge trigger, it's a rising edge trigger, true for one scan.
 
But it triggers when SYSTEM.on, turns off, not when it turns on.


RS 5000, has One Shot (ONS), Rising Edge (OSR), and Falling Edge (OSF) Instructions
 
Last edited:
Your image description says it is latched when system.on goes true, and you are using a normally open contact.
 
But it triggers when SYSTEM.on, turns off, not when it turns on.
Perhaps. If SYSTEM.ON is already true when RPTActive goes true, nothing happens until SYSTEM.ON goes false. But if SYSTEM.ON is false when RPTActive goes true, all of the tags are initialized and RPTActive is turned off. By looking at rung 19 alone, you can't be sure which of the two tags triggers the action.
 
I guess I assumed everyone knew what I meant by, "RptActive is Latched when SYSTEM.On goes true" :confused: Which would mean that SYSTEM.On would have to be true before RptActive is true.
 
From your pic I assume there is another rung somewhere with SYSTEM.On on a normally open contact driving RPTActive on a latching coil. In that case the given rung would work as a falling edge trigger; when SYSTEM.On goes false it would execute the MOV logic for one scan. I don't really see a problem with this. Perhaps using a one shot instruction would be more clear but this logic is fairly self explanatory as long as the other rung is somewhere close by. I've seen much, much worse.
 
The "benefit" of this method is that it could conceivably scan the rung in two successive scans, depending on how the two bits are controlled. With a true oneshot you would need an off-state scan to allow a retrigger. Might be good, might be bad. That is application specific.

This probably wasn't a consideration but this also makes the rung more platform transportable. Oneshot implementations are not the same across all plcs.

Keith
 

Similar Topics

Hey guys! I'm a newbie in the control area, so I'm gonna drop some thoughts here... We want to control the opening of big silos (about 1900...
Replies
6
Views
1,487
Hi! We are currently updating our Intouch 2012 (v10.5 and v10.6) and Intouch 2014 (v11.1) to Intouch 2017 (v17.3). We were using workstations as...
Replies
10
Views
4,346
http://www.designworldonline.com/cant-control-way-poor-mechanical-design/#comment-128125 I think the article lost focus a little when talking...
Replies
4
Views
1,913
Ran across this code today in RSLogix5000. First Rung - Isn't this just a straight file copy? Second Rung - Isn't this just populating an Array...
Replies
4
Views
2,306
I work at a plant that uses 4 vertical turbine pumps to supply non-potable water around our plant. Every 2 days the lead pump alternates. There...
Replies
16
Views
4,441
Back
Top Bottom