<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to _ Fehler</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2a4c426166/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2a4c426166/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/2a4c426166/</id><updated>2020-02-28T04:01:42.558000Z</updated><subtitle>Recent posts to _ Fehler</subtitle><entry><title>_ Fehler</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2a4c426166/?limit=25#95de" rel="alternate"/><published>2020-02-28T04:01:42.558000Z</published><updated>2020-02-28T04:01:42.558000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comad84599bc390d0b88cf6b9477e6acb5536ed50eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;hast du denn deinen Befehl in /etc/CODESYSControl.cfg&lt;br/&gt;
hinzugefügt in der Section &lt;span&gt;[SysProcess]&lt;/span&gt; ?&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>_ Fehler</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2a4c426166/?limit=25#eb91" rel="alternate"/><published>2020-02-28T04:01:36.963000Z</published><updated>2020-02-28T04:01:36.963000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com195225b10635e023dfa817570355ac5ee70102e5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; sp3x&lt;/p&gt;
&lt;p&gt;Mitlerweile hab ich zumindest rausgefunden was in pResult steht. Laut CmpErrors.library steht der Fehler 25 (16#19)&lt;br/&gt;
für:&lt;br/&gt;
ERR_NO_ACCESS_RIGHTS UDINT   16#19 No access rights FOR THIS operation &lt;/p&gt;
&lt;p&gt;Hilft mir leider nicht weiter weil die Anwendung unter Linux die richtigen Rechte gesetzt bekommen hat.&lt;br/&gt;
Die Anwendung ist also definitiv ausführbar.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>_ Fehler</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2a4c426166/?limit=25#8017" rel="alternate"/><published>2020-02-28T04:01:34.940000Z</published><updated>2020-02-28T04:01:34.940000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com604eb622eefb9e9e722717efc7caa04e05932c4b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; sp3x&lt;/p&gt;
&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;ich versuche aktuell mit Hilfe des Kommandos "_" eine Anwendung unter Linux zu starten&lt;br/&gt;
welche mir dann in eine Datei die Ausgabe schreibt.&lt;/p&gt;
&lt;p&gt;Leider wird das Script nicht ausgeführt. Ich habe jetzt auch keinen Ansatz gefunden wo ich nachsehen könnte was da falsch läuft.&lt;br/&gt;
Evtl. kann mir jmd. helfen?&lt;/p&gt;
&lt;p&gt;Folgender Code wird alle 3000ms über einen Task gestartet:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;cmd&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'/usr/bin/testscript'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;pCmd&lt;/span&gt; &lt;span class="k"&gt;REF&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;cmd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;pResult&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ADR&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;result&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pCmd&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pResult&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Im Anhang mal ein Bild zur Laufzeit.&lt;/p&gt;
&lt;p&gt;P.S: Irgendwie rationalisiert er mir den Funktionsnamen im Code und Threadtitle weg deshalb hier nochmal Sys,Process,Execute,Command (siehe Anhang)&lt;/p&gt;
&lt;p&gt;Grüsse Marcel&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: screenshot.PNG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1025"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>