automatisme - 2023-05-04

Hi,
Simple question : is there a way to export the alarm data periodicaly on a directory, on the plc (something like a sd_card, or aflash drive mounted in PLC)?
I looked around and can't find anything. I saw about the "CSV export command" available in Codesys but it's not what I'm looking for. We would like to make a daily export of alarms that have occured during the last day.
If anyone has an idea, I would be very gratefull!
Thks!