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$.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
π
2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
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$.
Thank you.
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.