Using Sequencers

jasonc

Member
Join Date
Nov 2007
Location
BC
Posts
7
I have an application that is controlling traffic lights using sequencers and a timer. Problem is, I don't want the timer to start timing and the sequencers going through their steps until a crosswalk sign is pressed or a crossing car activates a sensor. In otherwords, I want some outputs to be energized before the sequencer ever starts. What's the best way to do this?

Here is the ladder logic:

traffic_sqo2.jpg
 
Yes!!!

Thank-you very much for your help, much appreciated.

Curious though, I tried a similiar thing not by using MOV but energizing the outputs directly (OTE) but once the sequencer started, the outputs went all wonky (not following the outputs as layed out in the sequencer file). Doesn't seem to be this problem using MOV. I am using the LogixPro PLC simulator BTW.
 
OTEs can't be used because when the PLC scans an OTE rung and the inputs are false, it sets the output to 0. When your SQO rung was scanned, the output may be turned back on. The vice versa is true also, if an OTE turns an output on, the SQO could turn it back off within the same scan. The result is what you witnessed, outputs are turning on and off in a rapid-fire manner.

The MOV only works in this situation since it is only executed when the SQO is not executed and vice versa. If the MOV and the SQO were both executed in the same scan, you would see the same results as described above.
 

Similar Topics

I am trying to program the traffic control simulation on logixpro using sequencers. I have done the previous simulations with the stop light but i...
Replies
1
Views
1,787
I have a project to automate four generator sets. The system will monitor and store the load demand of the factory. Once there's Power outage, the...
Replies
0
Views
43
Adding ethernet equipment to an existing panel that has none. We have some solid ethernet cables coming from other remote cabinets that I plan to...
Replies
3
Views
104
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
204
Hi, I'm trying to use the IO Device Library (Product Versions) which is configured to work with the 1756-EN4TR & 1756-EN2TR but my system uses...
Replies
0
Views
52
Back
Top Bottom