Single button Start Stop latching logic

once.JPG
sir, can you explain.. how the exor gate formula you have applied here is working in the second rung
 
sir, can you explain.. how the exor gate formula you have applied here is working in the second rung

There are thousands of posts for this function. Some will work with some Plcs but not all. This logic relies on the scan cycle of the PLC. It would not work with hard wiring.
Most of us on this site have always cryptically answered this question

About 100% of these are student related. You need to do the effort
This is a favorite training question of mine too

Sorry mate

Work it out
 
(Old thread alert)


He is refering to using the .ACC/0 bit of a counter. When the value of the ACC is odd bit .ACC/0 is set. When it is even the bit is clear. Its a simple way to make a retentive flip flop. (Counter never needs to be reset, ignore preset and .dn bits)

If you look at the accumulator value in binary
0 = 000
1 = 001
2 = 010
3 = 011
4 = 100
5 = 101
6 = 110
notice how each time the counter upcounts the least significant digit changes state.

So by programming a button to a counter and using

Counter.ACC/0 Output
-------] [----------------------( )


you can have a simple retentive flip flop. If your flip flop should not be retentive then use the Oneshot and XOR logic posted earlier.
 

Similar Topics

Hello everyone, been awhile since I've posted..... As the title suggests, using Crimson 3.1 software (Red Lion) I cant seem to figure out if its...
Replies
4
Views
1,713
Hi, So I have one push button(non-latch momentary) and would like use it to trigger two function sequences with the short press for primary...
Replies
3
Views
2,005
I've used the simple momentary switch toggle logic for a few decades now. Now I need to find logic that allows the toggling to latch/unlatch a...
Replies
26
Views
9,865
I'm a beginner in PLC education, struck with a problem. Anyone can please help. The problem is: I have a single push button. When I press &...
Replies
30
Views
15,207
Hello, I have a SLC5/05 and am having problems writing code for a pushbutton (momentary) to start and stop a process. The problem is this... Due...
Replies
20
Views
16,010
Back
Top Bottom