# Using ControlLogix to track spiked values, would like reset when ignition stores with Historian

**URL:** <https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529>\
**Category:** Ignition\
**Created:** [August 12, 2024, 3:57pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529 "2024-08-12T15:57:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aaron\_Hoffman](https://forum.inductiveautomation.com/u/Aaron_Hoffman)\
**Post date:** [August 12, 2024, 3:57pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/1 "2024-08-12T15:57:52Z")

</div>

I have a lot of values that I would like to capture a "true-r" minimum and maximum value than would be ideal for ignition. I use greater than and less than instructions to accomplish this.

However, I would like these minimum and maximums reset when ignition reads the data for the Historian. Is there a way to toggle a reset bit in my PLC when these other tag values are read/stored?

Any thoughts?

---

<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:** [August 12, 2024, 4:09pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/2 "2024-08-12T16:09:23Z")

</div>

Not directly with the Tag Historian.

Do you have the SQL Bridge module?

---

<div class="post-metadata">

**Author:** ![Aaron\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aaron\_Hoffman](https://forum.inductiveautomation.com/u/Aaron_Hoffman)\
**Post date:** [August 12, 2024, 4:10pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/3 "2024-08-12T16:10:07Z")

</div>

Yes

---

<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:** [August 12, 2024, 4:13pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/4 "2024-08-12T16:13:32Z")

</div>

You can set up a handshake with a Transaction group such that once the PLC has collected all of the data it sets a trigger tag, then once the transaction group has collected the data it can reset the trigger.

In the PLC on the falling edge of the trigger you can reset the min and max.

This type of thing can also be accomplished with scripting in a gateway tag change event.

---

<div class="post-metadata">

**Author:** ![Aaron\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aaron\_Hoffman](https://forum.inductiveautomation.com/u/Aaron_Hoffman)\
**Post date:** [August 12, 2024, 4:15pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/5 "2024-08-12T16:15:49Z")

</div>

Thank you sir! I am a novice, so I will dig into those items

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 12, 2024, 4:46pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/6 "2024-08-12T16:46:32Z")

</div>

Be aware that a new min or max that happens to occur during the handshake round trip will be lost.

If you care, have the PLC move the min&max&timestamp into a separate structure, then reset, in **one rung**. Have an Ignition transaction group trigger off the changed timestamp, and use OPC read mode to gather the min/max.

---

<div class="post-metadata">

**Author:** ![Aaron\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aaron\_Hoffman](https://forum.inductiveautomation.com/u/Aaron_Hoffman)\
**Post date:** [August 12, 2024, 5:16pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/7 "2024-08-12T17:16:46Z")

</div>

Thank you! I will take that under advisement

---

<div class="post-metadata">

**Author:** ![Aaron\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aaron\_Hoffman](https://forum.inductiveautomation.com/u/Aaron_Hoffman)\
**Post date:** [August 12, 2024, 11:41pm UTC](https://forum.inductiveautomation.com/t/using-controllogix-to-track-spiked-values-would-like-reset-when-ignition-stores-with-historian/94529/8 "2024-08-12T23:41:03Z")

</div>

Historian was definitely the wrong path. I realize now it isn't to difficult with the transaction blocks/triggers/handshakes. I decided not to worry about situations where the min/max occurs in the moments during handshakes. My resolution substantially improved, so it didn't feel worth the additional overhead in my PLC 😀. Thanks for the help!
