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

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?

Not directly with the Tag Historian.

Do you have the SQL Bridge module?

Yes

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.

1 Like

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

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.

2 Likes

Thank you! I will take that under advisement

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 :grinning:. Thanks for the help!