<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/</id><updated>2020-02-28T07:02:48.160000Z</updated><subtitle>Recent posts to Enum in String umwandeln</subtitle><entry><title>Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/?limit=25#0c70" rel="alternate"/><published>2020-02-28T07:02:48.160000Z</published><updated>2020-02-28T07:02:48.160000Z</updated><author><name>gravieren</name><uri>https://forge.codesys.com/u/gravieren/</uri></author><id>https://forge.codesys.com98c8d85a20f89ebee180bfe2039bb10c0fa09a4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;Ich dachte, man könnte sich die Arbeit sparen, da Sie ja schon irgendwie als string im Quellcode sind!&lt;br/&gt;
Da sind "strings" im Quellcode   ?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Wo ?&lt;br/&gt;
Habe ich was übersehen ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/?limit=25#2d49" rel="alternate"/><published>2020-02-28T07:02:45.915000Z</published><updated>2020-02-28T07:02:45.915000Z</updated><author><name>Schiffer</name><uri>https://forge.codesys.com/u/schiffer/</uri></author><id>https://forge.codesys.com50c15f84bb1ffbb427dad37b1700f5e58efa5bef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ja das geht natürlich!&lt;/p&gt;
&lt;p&gt;Ich dachte, man könnte sich die Arbeit sparen, da Sie ja schon irgendwie als string im Quellcode sind!&lt;/p&gt;
&lt;p&gt;Es müsste so etwas wie enum_to_string geben!&lt;/p&gt;
&lt;p&gt;Trotzdem Vielen Dank für Deine Hilfe!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/?limit=25#3041" rel="alternate"/><published>2020-02-28T07:02:39.576000Z</published><updated>2020-02-28T07:02:39.576000Z</updated><author><name>gravieren</name><uri>https://forge.codesys.com/u/gravieren/</uri></author><id>https://forge.codesys.com41c25d36102921b75f05049847a8a31bf6044c32</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Du kannst auch eine Datei mit 200 Texten erzeugen.&lt;/p&gt;
&lt;p&gt;Bei Fehler 105 liest du den Eintrag 105 und zeigst ihn an.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/?limit=25#096a" rel="alternate"/><published>2020-02-28T07:02:37.359000Z</published><updated>2020-02-28T07:02:37.359000Z</updated><author><name>Schiffer</name><uri>https://forge.codesys.com/u/schiffer/</uri></author><id>https://forge.codesys.comb347ef2d975f49a4f3936001443cd8e6c0dbb871</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hm,&lt;/p&gt;
&lt;p&gt;Das wäre aber blöd!  Das Enum ist eine Fehlerliste aus ca 100 Einträgen!  Es geht eigentlich um die Stepper_02.lib von Wago!  &lt;/p&gt;
&lt;p&gt;Vielleicht noch eine Idee?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/?limit=25#e07c" rel="alternate"/><published>2020-02-28T07:02:31.036000Z</published><updated>2020-02-28T07:02:31.036000Z</updated><author><name>gravieren</name><uri>https://forge.codesys.com/u/gravieren/</uri></author><id>https://forge.codesys.com05576b2eac4361ef14773bba438aed08955f8821</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Ich denke, eine switch mit einer concat, indem die eine zweiten String &lt;br/&gt;
zuweist wäre unausweichlich  ?.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Enum in String umwandeln</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b30bcd9c6e/?limit=25#cf84" rel="alternate"/><published>2020-02-28T07:02:28.665000Z</published><updated>2020-02-28T07:02:28.665000Z</updated><author><name>Schiffer</name><uri>https://forge.codesys.com/u/schiffer/</uri></author><id>https://forge.codesys.com14bec7431244266df91de5ddc2af154e478486fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;ich hänge an einem kleinen Problem und benötige Eure Hilfe!&lt;/p&gt;
&lt;p&gt;Ich benötige den Enum Teil gewandelt als string, um Ihn mit an einen Text mit concat anzuhängen und als Fehlermeldung zu Visualisieren!&lt;/p&gt;
&lt;p&gt;Beispiel:&lt;br/&gt;
Enum:&lt;br/&gt;
Type Farbe:&lt;br/&gt;
     ( rot:=1, gelb:=2, gruen:=3)&lt;br/&gt;
end_Type&lt;/p&gt;
&lt;p&gt;Programm:&lt;br/&gt;
i:=3;&lt;br/&gt;
stAusgabe:=concat('Die Ampel ist: ',????????);&lt;/p&gt;
&lt;p&gt;Als Ausgabe würde ich mir jetzt : 'Die Ampel ist :gruen'  wünschen&lt;/p&gt;
&lt;p&gt;Habt Ihr eine Idee?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>