AB rs logix sequencer question

ktm

Member
Join Date
Oct 2007
Location
NC
Posts
15
In rs logix on an AB SLC 5/01 1k

Using a SQO in a program, and an RTO for the SQO input
and one Start push button and one stop push button
is there a way to denergize the outputs in my SQO when it stops sequencing and then turn the same outputs back on when I continue the sequence by pushing the Start button back in again?

thanks for any tips,


Start___________Stop__________________ Bit file

--I I-----------I I--------------------------( )

Bit Holding

-I I------

Bit file
-I I------------------------------------RTO------

_________________________________________T4:0
_________________________________________1.5 sec
_________________________________________T4:0.DN


-I I----------------------------SQO-------------
__________________________________#N7:0
__________________________________FFFFh
__________________________________O:2.0
__________________________________R6:0
__________________________________7
__________________________________0

T4:0.DN _____________________________________T4:0

-I I-----------------------------------------(RES)---



N7:0 0000 0000 0000 0000
N7:1 0000 0000 0000 0001
N7:2 0000 0000 0000 0001
N7:3 0000 0000 0000 0001
N7:4 0000 0000 0000 0011
N7:5 0000 0000 0000 0011
N7:6 0000 0000 0000 0011
 
Last edited:
Sure, rather than drive your outputs directly from the sequencer, have them set bits in a different word.

Then use this word to drive your outputs (normal state).

Then when you hit your stop button, have it load zeros into the output word.
 
rootboy said:
Sure, rather than drive your outputs directly from the sequencer, have them set bits in a different word.

Then use this word to drive your outputs (normal state).

Then when you hit your stop button, have it load zeros into the output word.

That's what I was thinking but a self proclaimed expert was telling me you can do it with the SQO controlling the outputs.

I used a MV function

Stop Button
-I I----------------------------------MOV
__________________________________source 0
__________________________________Dest. O:2.0


that turns off the outputs when I hit the stop button.

when I press the start button the SQO starts up in the same step of the sequence and the outputs energize correctly in then next step.

He is trying to tell me there is a way to make the outputs
return back on when the start button is pressed.

If there is I don't know,
 
Last edited:
The simple, real world method I most commonly use is the same as suggested by rootboy: To write the SQO destination to internal bits, then use those bits to drive the real world outputs. Then you will have a rung which "maps" each of those internal bits to the real world output addresses. On those rungs, you can put whatever conditions you want in there to de-energize them.

Rarely will you see SQO driving outputs directly on real live machinery.

Now, you can get fancy with word moves and make a copy of the output state, then MOV the copy back into the output word when you return to ON mode...

To me, the more elegant solution is the one provided by rootboy.
 

Similar Topics

Hello guys I have to make a program using a SQI and SQO instruction in order to extend/retract 8 cylinders, one at a time. Each cylinder has 2...
Replies
1
Views
1,854
Hello All, Im alot more experienced with the CLICK PLC - They have a pretty user friendly Sequencer in their ladder logic software - very easy to...
Replies
2
Views
1,160
I am rolling my own sequencer in logix 5000 (v18) and have a few queries. I am using integers to represent my steps. I have an AOI as each step...
Replies
6
Views
2,760
I have a control process that needs to sequence through a number of steps using the same input. Hitting the same pushbutton should "step" the...
Replies
11
Views
16,986
Anyone want to give me some advice? I'm an electronic tech. by trade but have limited experience with PLC's. I know that doesn't make sense but we...
Replies
3
Views
4,975
Back
Top Bottom