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?
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.
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×tamp 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.
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!