<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Online - Datei in Steuerung schreiben - per CMD</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/</id><updated>2020-02-28T09:53:10.265000Z</updated><subtitle>Recent posts to Online - Datei in Steuerung schreiben - per CMD</subtitle><entry><title>Online - Datei in Steuerung schreiben - per CMD</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/?limit=25#5817" rel="alternate"/><published>2020-02-28T09:53:10.265000Z</published><updated>2020-02-28T09:53:10.265000Z</updated><author><name>Oberchefe</name><uri>https://forge.codesys.com/u/oberchefe/</uri></author><id>https://forge.codesys.com077296ebc193c31b5e23549b98327a4d51b645f8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;F1 ist Dein Freund:&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: F1.gif" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=617"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Online - Datei in Steuerung schreiben - per CMD</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/?limit=25#3642" rel="alternate"/><published>2020-02-28T09:53:07.741000Z</published><updated>2020-02-28T09:53:07.741000Z</updated><author><name>gravieren</name><uri>https://forge.codesys.com/u/gravieren/</uri></author><id>https://forge.codesys.com0b09ff8c415a113b0d1ab81e5561e2ee87078e75</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Erkläre doch mal, wie du das mit der CMD-Datei machst  ?&lt;/p&gt;
&lt;p&gt;Gruß Karl&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Online - Datei in Steuerung schreiben - per CMD</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/?limit=25#1866" rel="alternate"/><published>2020-02-28T09:53:00.666000Z</published><updated>2020-02-28T09:53:00.666000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come0f66ea1e5fdaa98660287684460cdc4c3d45eb8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Pi@no&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;gravieren hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi&lt;br/&gt;
Ist es dir egal, wie die Datei auf die Steuerung kommt  ?&lt;br/&gt;
Gruß Karl&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hallo Karl,&lt;/p&gt;
&lt;p&gt;ich hätte den FTP-Zugriff auch per Dos-Skript realisieren können, aber dann hätte ich unerwünschterweise zwei Handlings!&lt;/p&gt;
&lt;p&gt;ich will folgende Vorgänge per Aufruf einer cmd-Datei automatisiert ablaufen lassen. D.h.: &lt;br/&gt;
1. -&amp;gt; Datei -&amp;gt; Projekt öffnen&lt;br/&gt;
2. -&amp;gt; Projekt -&amp;gt; Alles übersetzen&lt;br/&gt;
3. -&amp;gt; Online -&amp;gt; Einloggen&lt;br/&gt;
4. -&amp;gt; Online -&amp;gt; Datei in Steuerung schreiben&lt;br/&gt;
5. -&amp;gt; Online -&amp;gt; Ausloggen&lt;br/&gt;
6. -&amp;gt; Datei -&amp;gt; Projekt schliessen&lt;/p&gt;
&lt;p&gt;Alle oben genannten Punkte funktionieren, bis auf 4.&lt;/p&gt;
&lt;p&gt;Gruß&lt;br/&gt;
Pi@no&lt;/p&gt;
&lt;p&gt;Hier mal ein Auszug aus meiner cmd-Datei:&lt;/p&gt;
&lt;p&gt;query off ok&lt;br/&gt;
onerror break&lt;br/&gt;
replace yesall&lt;br/&gt;
file open "C:\Projekt\cmc.pro"&lt;br/&gt;
delay 3000&lt;br/&gt;
project import "C:\Projekt\cmc.exp"&lt;br/&gt;
delay 3000&lt;br/&gt;
project compile&lt;br/&gt;
delay 1000&lt;br/&gt;
replace yesall&lt;br/&gt;
online login&lt;br/&gt;
query off ok&lt;br/&gt;
replace yesall&lt;br/&gt;
query off ok&lt;br/&gt;
online run&lt;br/&gt;
online bootproject&lt;br/&gt;
online stop&lt;br/&gt;
query off ok&lt;br/&gt;
replace yesall&lt;br/&gt;
file save "C:\Projekt\cmc.pro"&lt;br/&gt;
file close&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Online - Datei in Steuerung schreiben - per CMD</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/?limit=25#21d9" rel="alternate"/><published>2020-02-28T09:52:58.131000Z</published><updated>2020-02-28T09:52:58.131000Z</updated><author><name>gravieren</name><uri>https://forge.codesys.com/u/gravieren/</uri></author><id>https://forge.codesys.com3e52db7af757372153fcb49c30e68a4586e00a4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Ist es dir egal, wie die Datei auf die Steuerung kommt  ?&lt;/p&gt;
&lt;p&gt;Falls ja,  --&amp;gt; mach es mit dem FTP.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://www.magnia.de/index.php?option=com_content&amp;amp;view=article&amp;amp;id=60:ftp-handling&amp;amp;catid=35:codesys&amp;amp;Itemid=44" rel="nofollow"&gt;http://www.magnia.de/index.php?option=c ... &amp;amp;Itemid=44&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Gruß Karl&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Online - Datei in Steuerung schreiben - per CMD</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/21cc53d71c/?limit=25#2d35" rel="alternate"/><published>2020-02-28T09:52:51.295000Z</published><updated>2020-02-28T09:52:51.295000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comf7507082395801447870542484c9051d46f1db55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Pi@no&lt;/p&gt;
&lt;p&gt;Hallo, bin neu hier! Ich grüße Euch!&lt;/p&gt;
&lt;p&gt;Meine Equipment: &lt;br/&gt;
- WAGO 750-841&lt;br/&gt;
- CoDeSys v2.3.9.25 (Build Nov. 12.2010)&lt;/p&gt;
&lt;p&gt;Und hiermal gleich mein erstes Problem: &lt;/p&gt;
&lt;p&gt;Ich versuche per CMD-File über die Komandozeile eine Datei in den Controller zu schreiben. &lt;/p&gt;
&lt;p&gt;Leider habe ich für den Menue-Punkt Online -&amp;gt; "Datei in Steuerung schreiben" keinen gültigen CMD-Befehl gefunden.&lt;/p&gt;
&lt;p&gt;Wer könnte mir hier weiterhelfen?&lt;/p&gt;
&lt;p&gt;Gruß&lt;br/&gt;
Pi@no&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>