Hi all,
I am working on a project in Tia Portal v17, and I have a function block that is responsible for data logging. This data log begins once a certain switch is flipped in the system, and then records an entry every time the boolean state of a system failsafe changes.
Currently I have the log set to record 10 entries - that is, once 10 different failsafe state changes are detected/logged, the log will not record any more entries. However, I want the log to overwrite itself after this 10th entry, so that the 11th failsafe change will be at the top of the log, and the next 9 will fill in below it, etc. But I want it to be uninterrupted and on the same file without opening/closing the file or making a new file. Currently this data log does not have a close condition, it is open perpetually after it is created/opened. Does anyone know how I could loop the logging of data onto this data log? Thanks
I am working on a project in Tia Portal v17, and I have a function block that is responsible for data logging. This data log begins once a certain switch is flipped in the system, and then records an entry every time the boolean state of a system failsafe changes.
Currently I have the log set to record 10 entries - that is, once 10 different failsafe state changes are detected/logged, the log will not record any more entries. However, I want the log to overwrite itself after this 10th entry, so that the 11th failsafe change will be at the top of the log, and the next 9 will fill in below it, etc. But I want it to be uninterrupted and on the same file without opening/closing the file or making a new file. Currently this data log does not have a close condition, it is open perpetually after it is created/opened. Does anyone know how I could loop the logging of data onto this data log? Thanks