<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3b90bda4a1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3b90bda4a1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3b90bda4a1/</id><updated>2023-08-22T14:12:01.333000Z</updated><subtitle>Recent posts to After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working</subtitle><entry><title>After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3b90bda4a1/?limit=50#8ceb" rel="alternate"/><published>2023-08-22T14:12:01.333000Z</published><updated>2023-08-22T14:12:01.333000Z</updated><author><name>rossanoparis</name><uri>https://forge.codesys.com/u/rossanoparis/</uri></author><id>https://forge.codesys.com7a749c682e0c04724db95051a298fa50b2cedc27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For those who will step on this thread.&lt;/p&gt;
&lt;p&gt;Everything is fine, I had only to increase by 1 my place holders number.&lt;br/&gt;
For sure the system is occupying the number 1 without being declared ...&lt;br/&gt;
Below the modification I made to get my code working.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysFile]&lt;/span&gt;&lt;br/&gt;
PlaceholderFilePath.2=/home/pi/hpca/bin, $hpcabin$&lt;br/&gt;
PlaceholderFilePath.3=/home/pi/hpca/cfg, $hpcacfg$&lt;br/&gt;
PlaceholderFilePath.4=/home/pi/hpca/logs, $hpcalogs$&lt;br/&gt;
PlaceholderFilePath.5=/home/pi/hpca/resources, $hpcares$&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3b90bda4a1/?limit=50#843b" rel="alternate"/><published>2023-08-22T12:42:17.332000Z</published><updated>2023-08-22T12:42:17.332000Z</updated><author><name>rossanoparis</name><uri>https://forge.codesys.com/u/rossanoparis/</uri></author><id>https://forge.codesys.com7176dda7c00b17516720be0aa0b3533593dd5564</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello at all.&lt;/p&gt;
&lt;p&gt;After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working.&lt;br/&gt;
I'm not able to read or write files from the PLC application.&lt;br/&gt;
Before this upgrade all worked fine.&lt;/p&gt;
&lt;p&gt;I've read this thread &lt;span&gt;[ &lt;a href="https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/"&gt;&lt;/a&gt;&lt;a href="https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/"&gt;https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/&lt;/a&gt; ]&lt;/span&gt;&lt;br/&gt;
Despite I followed that indications I couldn't get my code working again.&lt;br/&gt;
Perhaps I'm missing something or I didn't understand how to use placeholders at all.&lt;br/&gt;
Is there a different syntax to use for "SysFileOpen" in order to use placeholders?&lt;/p&gt;
&lt;p&gt;Thanks in advance for your help.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Information&lt;br/&gt;
Compiler: CODESYS V3.5 SP19 Patch 2&lt;br/&gt;
Runtime: codesyscontrol 4.9.0&lt;br/&gt;
HW: KUNBUS RevPi Connect S&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Below the paths I want to access&lt;br/&gt;
(The entire CODESYSControl_User.cfg file is attached)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysFile]&lt;/span&gt;&lt;br/&gt;
PlaceholderFilePath.1=/home/pi/hpca/bin, $hpcabin$&lt;br/&gt;
PlaceholderFilePath.2=/home/pi/hpca/cfg, $hpcacfg$&lt;br/&gt;
PlaceholderFilePath.3=/home/pi/hpca/logs, $hpcalogs$&lt;br/&gt;
PlaceholderFilePath.4=/home/pi/hpca/resources, $hpcares$&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>