Don’t know exactly how to word my question, but would it be possible to setup a historical tag as more of a measurement count based series instead of a time based series?
For example, I’m logging cycle time for every part that is run. I don’t really care WHEN the cycle was ran, just that it was the cycle time of the 8th part. Graphing based on time makes it look funky when line takes breaks or doesn’t run for several days.
Second, I break that cycle time up into steps such as weld time, clamping time, table rotation time, operator load time, etc… that I need to keep together. So I need to store that the 5th cycle, weld time was 21 seconds, clamping time was 42 seconds, etc… whatever.
Third, I name the steps in PLC that I would like to log to make it more automated when setting up on new cells. Operation 320 may have a pierce step that I need to log in addition to welding etc…
From the options given by tag historian, I’m just going to venture to assume best bet would be transaction groups for this type of data, but just curious if there might be a simpler way to set it up with tag historian I might be missing.
Added bonus question: In my AOI instruction that I’m setting up an array of a UDT called Steps. I may not use all 20 steps. Step consists of Name, Time.
Example. Step.Name = “Operator Load”, Step.Time = 21 seconds.
In my database I basically want my columns to be my step names names, and each row to be a single part broken down into times. Would there be an automated way to setup the transaction groups for each instance of the AOI I setup? I’m not sure how to set the column name equal to a string tag in general.