Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I need to trend and record some variables to a CSV file.
Data storing has to be roughly at every 10 seconds.
Trending and recording can be separate or can use common files.
Is that possible with Codesys?
I found that Trace object can save data to CSV when placed inside a project (and not on Visualization). But is it possible to trigger that from code so that the record is automatic?
Or is there any other (better idea) for saving data to CSV files?
My another concern is SD card wear, as the data is going to be stored every 10 seconds on an SD card.
I would like to minimise the possibility of deteriorating the SD card, so any good practices on that would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to trend and record some variables to a CSV file.
Data storing has to be roughly at every 10 seconds.
Trending and recording can be separate or can use common files.
Is that possible with Codesys?
I found that Trace object can save data to CSV when placed inside a project (and not on Visualization). But is it possible to trigger that from code so that the record is automatic?
Or is there any other (better idea) for saving data to CSV files?
My another concern is SD card wear, as the data is going to be stored every 10 seconds on an SD card.
I would like to minimise the possibility of deteriorating the SD card, so any good practices on that would be appreciated.