Author |
Message |
jbarrio
|
PostPosted: Wed Nov 28, 2018 6:23 pm |
|
Joined: Tue Sep 12, 2017 9:37 am Posts: 77
|
Hello: I am doing a program that to have persistent variables I am using the formula manager. That is achieved and it works well. Now what I want to know if there is the possibility of saving the file in the plc in the place where I want instead of in the path / var / opt / codesys / Plclogic, since I would like to try to save in a plc, and put the computer in read-only mode to try to avoid corrupting the sd if there is a voltage failure.
I'm using the recipemancommands library to save RecipeManCommands.ReadAndSaveRecipe to reset RecipeManCommands.LoadAndWriteRecipe
Thanks for your help.
|
|
Top |
|
 |
Edwin Schwellinger
|
PostPosted: Wed Dec 05, 2018 7:41 pm |
|
Joined: Mon Sep 05, 2005 9:42 am Posts: 3151
|
Hi, you need to change the /etc/CODESYSControl.cfg
[SysFile] FilePath.1=/etc/, 3S.dat FilePath.2=/media/sd/, *.txtrecipe PlaceholderFilePath.1=/media/sd, $SDCard$ . . .
BR Edwin
|
|
Top |
|
 |
jbarrio
|
PostPosted: Tue Dec 11, 2018 11:48 am |
|
Joined: Tue Sep 12, 2017 9:37 am Posts: 77
|
hello and thanks:
Is it possible to save the license file and the program on a pendrive?
My intention is to leave the sd in read only and in case of corruption the pendrive will not damage the sd,
Is this possible?
|
|
Top |
|
 |