How to saving Data of memory variable to sd card
I have the ac500 PM583 its use for control the pressure plant system. i need the historical data in the programm, its posible saving data to the sd card while plc running?
Kindly help solving the issue.
Voted best answer
The simple way is to use a Funktion Block called SD_Write that write the values to the SD card in a *.txt file. You have to take into account that the writing to the card takes some time. Depending on the file size up to several second, but it will not influence the plc.
Or you could use the CAA library where you can make any file usually csv files.
I've attached PDF on SD_Write and CAA File_Open and a project that explain the CAA lib(https://dl.dropboxusercontent.com/u/8...) you can get in our dropbox.
You can find more info in Codesys Help on the FB's.