recipe in a pendrive

jbarrio
2018-11-28
2018-12-11
  • jbarrio - 2018-11-28

    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.

     
  • eschwellinger

    eschwellinger - 2018-12-05

    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

     
  • jbarrio - 2018-12-11

    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?

     

Log in to post a comment.