In Codesys help, it is said that the location for the archive files is defined via the placeholder $ac_persistence$. I am trying to figure out how to set this placeholder to a different value. For exemple, I would like to save the archive files to a usb stick and set my raspberry pi in read only mode.
Where can I define the value of the placeholder $ac_persistence$.
in your CODESYSControl.cfg file, add an entry like this to the SysFile section
Note that the .1 should be unique for any other placeholder file paths in your .cfg file.
Volatile means that the folder is not created on startup if it doesn't yet exist. This would be important for USB disks, as if they are not plugged in, the runtime will create the folder itself.
View means you can view the folder in Device Editor > Files
Note that the capitalization is important.
Log in to post a comment.