Logging Data Variables on a PFC 200 SD Card as CSV file

I like to log some variables like temperature in a csv file on my PFC 200 SD card. How would a simple programm look like in ST?

Hi,

check WagoAppDatalogger library. There is also an example available.

Where can I find the example?

There is also WAGO Visualization Datalogger | WAGO Download Center
which you can use to present charts based on csv files from WagoAppDatalogger in the controller

You could also use Kurt’s example How to log data to CSV on CC100 SD Card