smartrelay Questions - Controls Overloadmost recent 30 from http://controlsoverload.com2010-09-06T10:39:39Zhttp://controlsoverload.com/feeds/tag/smartrelayhttp://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://controlsoverload.com/questions/203/idec-smartrelay-and-loop-detection-logicIDEC SmartRelay and Loop Detection LogicRoboto2010-01-21T21:21:42Z2010-08-23T22:23:00Z
<p>This is my first time programming a PLC or Smart Relay and normally I am an embedded systems programmer.</p>
<p>I am trying to build the circuit using WindLGC to determine direction. I have six photobeams.</p>
<p>If Photobeam 1 is ON, then I open the gate and start a timer. If photobeam 2 is ON, photobeam 1 is OFF, then I reset timer for closing since I know that someone is coming through. However, the difficulty is for back-outs. If photobeam 1 is off, photobeam 2 is on, then photobeam 1 is on and then off, then I close the gate (as long as no one is on safety beam). The problem is determining direction using the circuit. How do I do this? </p>
<p>Do I use a counter to increment and decrement ? Should I rely on the timer so that when it hits the timer it closes rather than immediately on back-out? It seems it should be closed immediately on back-out.</p>
<p>I know how to do this in code, but circuits are new to me. The logic on paper makes sense but designing the circuit in the program is a little difficult. </p>
<p>Any help anyone can provide would be really appreciated.</p>