How can I reset a bit?

mmarinr

Member
Join Date
Nov 2007
Location
Land of the free
Posts
55
That's right... I want to know how to reset a bit.

I feel kinda embarrased to ask this one, but I can't find the way to do it simple.

This is the situation:

I want to turn ON an output (pump) from a Touch-Screen HMI. I did all the programming into the HMI software and also on the RSLogix for the PLC, using a toggle button B1.

Everything is working fine, I push the button (B1) and the pump turns on, then I push it (B1) again and it goes off.

If I press the EMERGENCY STOP button the pump goes off, BUT when I release the E-STOP and RESET the machine, the pump goes back on without pressing B1 button.
______________________________________________________________

Now the thing is that the HMI turns a bit ON when you push B1. And it goes OFF when you press it again. But if the E-STOP comes on, while the bit is ON, it doesn't turn the bit OFF.

So I need to know a way to reset that bit whenever the E-STOP or RESET button are press.


I know this must be the easiest thing in the world but I'm burnout right now! LOL

Have a great weekend people!

seq.PNG
 
Last edited:
Not sure what type of PLC or HMI you are using, but in an Allen-Bradley (and I expect others) you would just unlatch the B1 bit when the estop is hit. Assuming you have an estop trip input

E-Stop ......B1
-] [--------(U)-

I expect the only reason your pump stops is the estop drops out the control circuit.

Wally
 
Use the HMI bit to drive a one-shot.

Put an XIC of this one-shot in parallel with a PUMP XIC.

Between the parallel combination and the pump OTE insert an E-STOP XIO.

Now if the E-stop is activated the pump drops out and will not reenergize 'til E-stop AND HMI one-shot are true. Standard seal-in circuit.

Does the HMI have a momentary pushbutton capability? If so, that would work too.

Regarding latches: A-B (and others) caution against using latches on output image table bits.
 
immaginexou.png


In the image attached, I used the (U) instruction ( means bit unlatch).
In my example, the bit to unlatch will be the bit tag call B1. In your case, you must identify the correct address or tag name used in HMI to toogle the bit by means of B1 push button.

PS: I supposed that in normal condition (No emergency), the emergency input is ON, so I used the NC contact.
 

Similar Topics

Hi Guys, I'm having a weird problem that I don't understand. The problem is that a bit needs to be transferred via DP/DP coupler with a sensor...
Replies
28
Views
5,932
Hello Everyone!!! Dear Experts:beerchug:, I am new to Siemens WinCC:huh::confused:. I have created one Internal Tag 100_XV_01 (Unsigned...
Replies
5
Views
10,558
I'm starting to learn some basic ladder logic. I'm on an AB Micrologix 1000 PLC. I'm wondering if the OTU instruction will work on an entire...
Replies
3
Views
2,123
Hey everybody, I need help again. I'm designing a production display monitor with a red lion ProducTVity station. I'm displaying some counters...
Replies
2
Views
2,623
Hi all, It is a Siemens question again :) I want to turn a bit ON in Ladder logic to be used as trigger to run a VB script. Then VB code will...
Replies
11
Views
5,118
Back
Top Bottom