<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How can I make symbols in Global Variable?</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4ff2ab022a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4ff2ab022a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4ff2ab022a/</id><updated>2020-02-27T22:44:42.556000Z</updated><subtitle>Recent posts to How can I make symbols in Global Variable?</subtitle><entry><title>How can I make symbols in Global Variable?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4ff2ab022a/?limit=25#48c2" rel="alternate"/><published>2020-02-27T22:44:42.556000Z</published><updated>2020-02-27T22:44:42.556000Z</updated><author><name>Jonascox</name><uri>https://forge.codesys.com/u/jonascox/</uri></author><id>https://forge.codesys.com7a33f86a397d78be2c2a981e29b7ae0e9b5dfa49</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm not sure what you mean by symbols. If by symbols you mean variables to use in your program, the syntaxes are as follows:&lt;/p&gt;
&lt;p&gt;VAR_GLOBAL&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;MyVar_Bool&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;BOOL&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyVar_Byte&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyVar_Word&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;WORD&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyVar_DWord&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;DWORD&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyVar_DInt&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;DINT&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;MyMem_Bool&lt;/span&gt;     &lt;span class="n"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MX0&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BOOL&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyMem_Byte&lt;/span&gt;     &lt;span class="n"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MB0&lt;/span&gt;    &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BYTE&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyMem_Word&lt;/span&gt;        &lt;span class="n"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MW0&lt;/span&gt;   &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;WORD&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyMem_DWord&lt;/span&gt;      &lt;span class="n"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MD0&lt;/span&gt;    &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;DWORD&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;MyMem_DInt&lt;/span&gt;     &lt;span class="n"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;MD1&lt;/span&gt;    &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;DINT&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;END_VAR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I make symbols in Global Variable?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4ff2ab022a/?limit=25#bc34" rel="alternate"/><published>2020-02-27T22:44:40.976000Z</published><updated>2020-02-27T22:44:40.976000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com3f5271a600a8195ad2170a20e74f5aabc06995ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;export the global var.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How can I make symbols in Global Variable?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4ff2ab022a/?limit=25#286e" rel="alternate"/><published>2020-02-27T22:44:36.564000Z</published><updated>2020-02-27T22:44:36.564000Z</updated><author><name>MONITOUCH</name><uri>https://forge.codesys.com/u/monitouch/</uri></author><id>https://forge.codesys.com25b9c965c5aef0b928f235bcd4822f92bd17ead4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How can I make symbols in Global Variable?&lt;/p&gt;
&lt;p&gt;I am able to create "SYM_XML" file with the main project file &lt;br/&gt;
(CoDeSys V2.3.9.13 and select PLC model Wago 750-841(FW12...))&lt;/p&gt;
&lt;p&gt;I just need to create some symbols in "SYM_XML" file. &lt;br/&gt;
But I am a beginner of using CoDeSys and struggling to understand the software.&lt;/p&gt;
&lt;p&gt;If you someone have a sample program or sample "SYM_XML" with BOOL, INT, DINT or something,&lt;br/&gt;
would you mind to share?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>