<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to GPIO update at startup</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3f4b3cdbdf/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3f4b3cdbdf/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/3f4b3cdbdf/</id><updated>2020-02-27T16:21:03.399000Z</updated><subtitle>Recent posts to GPIO update at startup</subtitle><entry><title>GPIO update at startup</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3f4b3cdbdf/?limit=25#dd61" rel="alternate"/><published>2020-02-27T16:21:03.399000Z</published><updated>2020-02-27T16:21:03.399000Z</updated><author><name>o5i</name><uri>https://forge.codesys.com/u/o5i/</uri></author><id>https://forge.codesys.comd842a16d4e2b18792a3cd8d7dd3a525017d2d79f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I added a Timer of 5ms, now it seems to work, but its a dirty workaround, i dont want to leave it this way..&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GPIO update at startup</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3f4b3cdbdf/?limit=25#10d6" rel="alternate"/><published>2020-02-27T16:21:02.486000Z</published><updated>2020-02-27T16:21:02.486000Z</updated><author><name>o5i</name><uri>https://forge.codesys.com/u/o5i/</uri></author><id>https://forge.codesys.com14df4f16f34722191efdeef6235636e770364bcb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, i did some tests whitout results.. If i boot up the pi nothing happens until i start the runtime.. It seems that the default values in the runtime are low... I wanted to change them in the GPIO configuration tab but i cant change them.. Now i dont know how to fix this.. If i put the variable to high the runtime should write them to high at startup but it doesent write the variable... I think its a problem of the runtime...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GPIO update at startup</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3f4b3cdbdf/?limit=25#7d40" rel="alternate"/><published>2020-02-27T16:21:00.119000Z</published><updated>2020-02-27T16:21:00.119000Z</updated><author><name>o5i</name><uri>https://forge.codesys.com/u/o5i/</uri></author><id>https://forge.codesys.com36c181d5757ae6e678b002b1ba5378ffc35c61a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;First of all, i have a relay Board connected to the gpio pins of the pi. The Relayboars is activelow because of that i have to set the gpio to high at startup. I have done this by negating the variable i use... &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;%QX0.5:=NOT OUT_DOSE_1_ON;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;But it seems that it doesent work. I have to switch the variable to on and than back to off... &lt;br/&gt;
In the IO config of the GPIO shows me that the output of the pin is high but the input is low.. After switching they are equal state.. &lt;br/&gt;
It seems that the IO doesent update whitout interaction...&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Neue Bitmap (2).jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2272"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Neue Bitmap.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2271"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>