

If the Handshake is "1", or any non-zero value, you have to first write "0", then transition back to "1", or any non-zero value to unlatch. If the Handshake is "0", to unlatch you simply have to write "1", or any non-zero value. The difference with this type of reset is that the Handshake control tag can be any value before an unlatch is required. When unlatching, the Handshake control tag must be seen to change from a "Zero to Non-zero" value. Using "Latch reset type:" = " Zero to Non-zero transition":Īgain, once the latched button is pressed, the state 1 value is written to the Value control tag. You must also programatically reset the Handshake control tag back to "0" to prevent continuous unlatching. This resets the button back to the unlatched state 0 and writes the state 0 value to the Value control tag. Once your logic requires the Value control tag to be unlatched, i.e your button unlatched, you programatically write a "Non-zero Value" to the Handshake control tag, usually a "1". When a latched button is pressed, it changes from state 0 to state 1 and writes the state 1 value to the Value control tag. Using "Latch reset type:" = " Non-zero Value": Yours is set to the default "Non-zero value". This can be "Non-zero Value" or "Zero to Non-zero transition". To determine how the Handshake control tag unlatches the button, under the "General" tab you select which type of reset, or unlatch, you require for the latched button. the Value control tag, you must use the Handshake control tag to do so. When you want to unlatch the button, i.e. When you press a latched button it changes from the unlatched state 0 to latched state 1 and writes the state 1 value, default = 1, to the Value control tag.

I'll explain how the Handshake control works for a latched button.

You have assigned the same tag, " HMI_Test_2\FT_Greifer", to both the Value and Handshake control tags. But, you MUST create a separate Handshake control tag. Ok, OG got there before me but that's what I was wondering as well, you had no Handshake control tag assigned.Īs OG mentioned, you MUST use the Handshake to unlatch the button back to state 0. (Because of the Handshake I think) How can I use them without that they reset themselves?Īs information: I took latched push buttons so it should work. But if I set them they reset themselves after some seconds.
