Hello,
I’m using a PLCnext controller (AXC F 2152, firmware 2025.0) and would like to log a REAL variable periodically (e.g. every 30 seconds), including a timestamp for each sample.
I’ve seen the [RSC_Datalogger_PLM_4] function block and documentation, and it looks like it can record values to a database and export to CSV.
My goals:
Log a single REAL
- variable from a running process
- Add timestamp for each sample (in ISO 8601 format or similar)
- Export the result as CSV
- Open the CSV later in Excel
- Questions:
Is this possible usingRSC_DL_Profrom theRSC_Datalogger_PLM_4library? - What sampling configuration or
strSinkPropertiesshould be used for this? - Is there a simple example for this use case?
- If possible, I would appreciate a short example of how to configure:
iFunction,udtSessionConfiguration,arrVariables - how to trigger periodic logging
- and how to export the result (e.g.,
strExportFileName,iExportFormat)
Thank you!