I am new to PLC programming and am now working on my technician’s final project, which is a motor test bench. Among other things, the code must also be able to record data. The data should be stored on a PC mounted at the test bench; if data storage on the PC is too complicated, an SD card would also be acceptable. I have been looking for example code for some time, but unfortunately without success.
I suggest downloading the WAGO Sample Projects for CODESYS, which can be found here:
Included in that package is an example of using the WagoAppDatalogger library to hopefully do just what you need. This library can create a .csv datalog on the PFC200’s SD card.
You could then use the WagoAppFtp library to transfer the file from the PFC200 to the PC via FTP.