<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/</id><updated>2020-02-28T03:25:25.935000Z</updated><subtitle>Recent posts to Raspberry sudo poweroff über Visu</subtitle><entry><title>Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/?limit=25#957b" rel="alternate"/><published>2020-02-28T03:25:25.935000Z</published><updated>2020-02-28T03:25:25.935000Z</updated><author><name>B@llou</name><uri>https://forge.codesys.com/u/b-llou/</uri></author><id>https://forge.codesys.com2c3dcf394414d214d3e00dd6418aa19c148f0abb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Edwin,&lt;/p&gt;
&lt;p&gt;ok, nachdem ich verstanden habe, dass es sich um das Beispiel Projekt "_.project" handelt.&lt;br/&gt;
Dadurch konnte ich dann auch deiner Hilfestellung folgen.&lt;/p&gt;
&lt;p&gt;Vielen dank nun funktioniert das auch.&lt;/p&gt;
&lt;p&gt;Gruß&lt;br/&gt;
Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/?limit=25#eff5" rel="alternate"/><published>2020-02-28T03:25:23.951000Z</published><updated>2020-02-28T03:25:23.951000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comabbe91cadea22b24fd05cc117c43c32c7d08cd3a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
was klappt denn nicht?&lt;br/&gt;
Details?&lt;/p&gt;
&lt;p&gt;du musst Projekt aktualisieren also rechtsclick auf den PI (im Gerätebaum) und -&amp;gt; aktualisieren&lt;br/&gt;
aktuellen compiler und Visuprofil einstellen. ( diese Schritte sind für alle Beispiele die mit alten  Versionen&lt;br/&gt;
erstellt wurden notwendig)&lt;/p&gt;
&lt;p&gt;dann&lt;br/&gt;
1.  shutdown als Befehl freigeben in /etc/CODESYSControl_Usr.cfg&lt;br/&gt;
(das ist so als default...)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;[SysProcess]&lt;/span&gt;&lt;/span&gt;Command.0=shutdown&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;in diesem Beispiel:&lt;br/&gt;
&lt;strong&gt;shutdown -h now &lt;/strong&gt;&lt;br/&gt;
als Befehl verwenden...&lt;br/&gt;
also oben in der Deklaration:&lt;br/&gt;
&lt;strong&gt;command1 : STRING := 'shutdown -h now';&lt;/strong&gt;&lt;br/&gt;
wenn du dann in der Visu auf den Button drückst... macht der PI einen shutdown.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/?limit=25#93ca" rel="alternate"/><published>2020-02-28T03:25:18.457000Z</published><updated>2020-02-28T03:25:18.457000Z</updated><author><name>B@llou</name><uri>https://forge.codesys.com/u/b-llou/</uri></author><id>https://forge.codesys.coma3f20cf315962ab41f099b08a51c393aed886885</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Kann mir vielleicht irgendjemand mit ein paar Details für Anfänger weiterhelfen?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/?limit=25#0f94" rel="alternate"/><published>2020-02-28T03:25:16.511000Z</published><updated>2020-02-28T03:25:16.511000Z</updated><author><name>B@llou</name><uri>https://forge.codesys.com/u/b-llou/</uri></author><id>https://forge.codesys.comd8c800580abf0360f6aa681647dfda830632ff68</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Edwin,&lt;/p&gt;
&lt;p&gt;bei meiner Suche bin ich auch immer wieder auf die Seite gestoßen aber ich scheine irgendwie zu doof zu sein um damit mein Problem lösen zu können.&lt;br/&gt;
Ich steige da quasi null durch.   &lt;/p&gt;
&lt;p&gt;Gruß&lt;br/&gt;
Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/?limit=25#562c" rel="alternate"/><published>2020-02-28T03:25:10.826000Z</published><updated>2020-02-28T03:25:10.826000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comb861959b1dd8e8fae1704fdec07cdc96355e83ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;schau mal hier im Forum:&lt;br/&gt;
&lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=6247&amp;amp;p=12711&amp;amp;lan=en" rel="nofollow"&gt;https://forum.codesys.com/viewtopic.php ... 247#p12711&lt;/a&gt;&lt;br/&gt;
damit kannst auf diese Art könntest du auch einen shutdown oder reboot aufrufen.&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry sudo poweroff über Visu</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/c243e6ba75/?limit=25#9b2f" rel="alternate"/><published>2020-02-28T03:25:08.879000Z</published><updated>2020-02-28T03:25:08.879000Z</updated><author><name>B@llou</name><uri>https://forge.codesys.com/u/b-llou/</uri></author><id>https://forge.codesys.com899cc707592b39459b6cb63f57acf42442ee8f20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;ich bin gerade ganz neu im Thema Codesys Programmierung und habe mir dazu meinen Raspberry geschnappt um mal ein wenig für mein Projekt auszuprobieren.&lt;br/&gt;
Ich will den Raspberry nun nicht immer "hart" ausschalten in dem ich der Steuerung einfach den Saft wegnehme. Dazu will ich in meiner Visu einen Button haben, womit ich den Raspberry sauber herunter fahren kann.&lt;br/&gt;
Ich hab auch schon gelesen, dass dieses funktionieren soll, leider hapert es noch immer an einem detaillierten Beschreibung für die Umsetzung.&lt;br/&gt;
Kann mir da jemand eine Hilfestellung geben?&lt;/p&gt;
&lt;p&gt;Danke&lt;/p&gt;
&lt;p&gt;Gruß&lt;br/&gt;
Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>