Preventing an input being pressed more then once during a cycle

monkeyhead123

Member
Join Date
May 2007
Location
Cardiff, Uk
Posts
7
Hi there,
I have created a ladder that simulates a traffic light system with a pedestrain request button.
My sequence is as follows:
A "reset" button is initally pressed to set the pedestrain light to red and the traffic light to green.
When the pedestrain button is pressed, the sequence of the traffic light begins and runs through until its back at its inital starting state.

However the problem with my ladder is that when the pedestrain button is already pressed and the sequence is running, if its pressed again during the cycle it messes up the cycle!

I'm not asking for a solution here, but more a push in the right direction. I havent the slightest clue on how I would go about preventing that from happening. I'm sure its probably not majorly differcult?

Any ideas and advice would be gratefully appreciated,
Regards,
Matt
 
Upon the initial pressing of the pedestrian button, set a bit called "sequence in progress". Use this bit to inhibit any subsequent pressing(s) of the pedestrian button...

Of course, you also need to implement a "sequence complete" bit to drop out the "sequence in progress" bit.

Welcome to control engineering.
 
Last edited:
Jimmie_Ohio said:
Upon the initial pressing of the pedestrian button, set a bit called "sequence in progress". Use this bit to inhibit any subsequent pressing(s) of the pedestrian button...

Of course, you also need to implement a "sequence complete" bit to drop out the "sequence in progress" bit.

Welcome to control engineering.
Thanks for the quick reply. :)
I understand what you are saying with the "bits". But I'm puzzled on how I would go about creating the "in progress bit" that would subsequent the pressing(s) of the pedestrain button.
Many thanks for the help so far,

Matt
 
Either use a set of latch/unlatch coils, or just seal the circuit in. Basically, the actual input will only be used in that one spot in the program. As was mentioned, the trick is to create a bit that lets you know when the sequence is complete so the in progress bit can be reset. That will come from your ladder, BTW, not the reset button you mentioned in the first post.

-jeff
 
If it were amotor starter (three wire circuit)......

You might also think of your 'sequence request to start' button as a START button, and the 'sequence restart-holdout' as the actual motor starter coil. The 'sequence complete' (normally closed) would be the STOP function.
 

Similar Topics

So you have an object on an HMI that will become a number inputted from a numeric pad, which is automatically launched on the HMI, when you touch...
Replies
12
Views
3,278
Hi guys, Not an automation issue I am facing. I have a Factorytalkview se ver 10 installed on an HMI running win7. When I activate desklock, my...
Replies
2
Views
1,754
I am doing a system where I have to control a heater on a mold. I will use a PID lood with a PWM output to a SSR to control the heater. The...
Replies
15
Views
4,414
I went on a service call yesterday for a Micrologix 1500. An output wasn't activating and they wanted to know what was hanging it up. It was a...
Replies
10
Views
2,808
Hello, I have an ML1100. I am using the MSG instruction to send email alarms. I do not have an ACK facility (no HMI, and not using the...
Replies
24
Views
4,299
Back
Top Bottom