<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Reading values from CF card file</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f62058b37f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f62058b37f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f62058b37f/</id><updated>2020-02-27T20:35:15.439000Z</updated><subtitle>Recent posts to Reading values from CF card file</subtitle><entry><title>Reading values from CF card file</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f62058b37f/?limit=25#fa7f" rel="alternate"/><published>2020-02-27T20:35:15.439000Z</published><updated>2020-02-27T20:35:15.439000Z</updated><author><name>David-m</name><uri>https://forge.codesys.com/u/david-m/</uri></author><id>https://forge.codesys.com1269aff56586309e028d7f112215a14a00172e12</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Our machine is set up using persistent-retain variables which are entered into the PLC during start-up.&lt;br/&gt;
We are very worried about losing them after a hardware or software fault.&lt;/p&gt;
&lt;p&gt;So we go into 'PLC-Browser' and 'SaveRetain' to a CF-card file.&lt;br/&gt;
We can then read the file from PLC to PC using 'Read File from PLC', or write it back using 'Write file to PLC' and refresh variables using 'RestoreRetain'.&lt;br/&gt;
All of this works very well!&lt;br/&gt;
But it would  be nice to be able to read the values of the file into our machine database.&lt;br/&gt;
But we do not know how to read the persistent-variable values out of the file.&lt;br/&gt;
Can anybody help ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>