CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Dec 13, 2018 4:48 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: recipe in a pendrive
PostPosted: Wed Nov 28, 2018 6:23 pm 
Offline

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
   
 Post subject: Re: recipe in a pendrive
PostPosted: Wed Dec 05, 2018 7:41 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3015
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
   
 Post subject: Re: recipe in a pendrive
PostPosted: Tue Dec 11, 2018 11:48 am 
Offline

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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited