For an OPC tag that is set up as an Integer type with history enabled, what is best practice if you need to log what I would call a "related value" along with that data? IE for each record for this integer tag in history, I would like to also utilize the stringvalue in that record to log a string (in this case the value of a memory tag). I was expecting to see some way to use a Custom Property, but I don't see a binding available. Utilize the Value Changed scripting in some way? I can figure it out if it has to be a parallel table of some kind, but natively in each record utilizing stringvalue makes the most sense to me. Thanks!
You would need to bypass the Tag History, and instead use a Transaction Group or Scripted Transaction to store all of the related data in a Wide Table format.
The Tag Historian is not capable of this task.
2 Likes