# How to latch indicator with momentary input signal

**URL:** <https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454>\
**Category:** Ignition\
**Tags:** ignition81, vision, scripting\
**Created:** [December 27, 2021, 7:50am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454 "2021-12-27T07:50:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![indi](https://avatars.discourse-cdn.com/v4/letter/i/f475e1/32.png) [@indi](https://forum.inductiveautomation.com/u/indi)\
**Post date:** [December 27, 2021, 7:50am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/1 "2021-12-27T07:50:36Z")

</div>

Hi all, I’m new with ignition scada.  
is it possible and how to make an latching/set indicator with momentary input signal? The indicator will be unlatch/reset until reset button is pressed and remain latching/set when momentary signal is still true. thank you for the answers 😀

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 27, 2021, 8:57am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/2 "2021-12-27T08:57:08Z")

</div>

You create the latching logic in the PLC the same as you would for a START / STOP latching circuit that uses pushbuttons.

---

<div class="post-metadata">

**Author:** ![indi](https://avatars.discourse-cdn.com/v4/letter/i/f475e1/32.png) [@indi](https://forum.inductiveautomation.com/u/indi)\
**Post date:** [December 28, 2021, 12:51am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/3 "2021-12-28T00:51:48Z")

</div>

If i dont make an latching logic in plc, is it possible if only use ignition scada in vision module?

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [December 28, 2021, 1:49am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/4 "2021-12-28T01:49:18Z")

</div>

Why not use toggle?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [December 28, 2021, 1:52am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/5 "2021-12-28T01:52:25Z")

</div>

Yes, the concept is the same. There are multiple ways to accomplish this.

**Caution**  
Obligatory, don’t use momentary push buttons from the scada for control, this should definitely be done in the PLC, especially if there is any safety concern at all

**Gateway Scoped**

You could use a tag change script on the momentary signal. When it changes to true, write to another tag. You would need an additional tag to reset the maintained signal.

**Window Scoped**

Create a custom property somewhere, say the root container. Then on a momentary button, in the action performed you can set the custom property.

There are any number of other ways.

---

<div class="post-metadata">

**Author:** ![indi](https://avatars.discourse-cdn.com/v4/letter/i/f475e1/32.png) [@indi](https://forum.inductiveautomation.com/u/indi)\
**Post date:** [December 28, 2021, 2:23am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/6 "2021-12-28T02:23:44Z")

</div>

Thank you very much for the replies. It help a lots :D. Problem solved 😄

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 28, 2021, 9:23am UTC](https://forum.inductiveautomation.com/t/how-to-latch-indicator-with-momentary-input-signal/54454/7 "2021-12-28T09:23:09Z")

</div>

Please click the ‘Solved’ link below the answer that helped so that the question is marked solved. (I’ll delete this post later.)
