I'm using a FIFO log to store data from the last 100 items. The FIFO log is being filled with a UDT that has multiple elements, (i.e. TagHistory[0].Height, TagHistory[0].Width....etc.). Is there a way to clear all the data in each UDT in the entire FIFO log (TagHistory[0] - TagHistory[100]) without having to use 100 separate instructions? There is a condition I need to meet where it would be necessary to clear the entire FIFO, essentially deleting all the item history data and starting from scratch. I was looking into using a FLL instruction but I don't have access to the PLC at the moment, so I can't test it.
Here is a link to a similar topic,
Thanks for any help