<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Comments that don't go as "help" for next variable?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484e9d28aa/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484e9d28aa/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/484e9d28aa/</id><updated>2020-02-27T13:47:52.810000Z</updated><subtitle>Recent posts to Comments that don't go as "help" for next variable?</subtitle><entry><title>Comments that don't go as "help" for next variable?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/484e9d28aa/?limit=25#f415" rel="alternate"/><published>2020-02-27T13:47:52.810000Z</published><updated>2020-02-27T13:47:52.810000Z</updated><author><name>sammeli42</name><uri>https://forge.codesys.com/u/sammeli42/</uri></author><id>https://forge.codesys.comfdfabc882f2db1e21992b9720ef581f58f92f63b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I'm new to this forum and quite new to CoDeSys&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;        &lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nv"&gt;variable&lt;/span&gt; &lt;span class="nv"&gt;name&lt;/span&gt;, &lt;span class="nv"&gt;that&lt;/span&gt; &lt;span class="nv"&gt;changes&lt;/span&gt; &lt;span class="nv"&gt;according&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;checkbox&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
   &lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="nv"&gt;i1&lt;/span&gt; : &lt;span class="nv"&gt;REFERENCE&lt;/span&gt; &lt;span class="nv"&gt;TO&lt;/span&gt; &lt;span class="nv"&gt;BOOL&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;g_I&lt;/span&gt;[&lt;span class="mi"&gt;1&lt;/span&gt;]&lt;span class="c1"&gt;;&lt;/span&gt;
   &lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nv"&gt;inside&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;name&lt;/span&gt; &lt;span class="nv"&gt;of&lt;/span&gt; &lt;span class="nv"&gt;variable&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nv"&gt;checkbox1&lt;/span&gt;
   &lt;span class="nv"&gt;g_txtI1&lt;/span&gt; : &lt;span class="nv"&gt;WSTRING&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Checkbox1 name&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I don't want for the first two comment likes to go as "help" for g_txtI1.&lt;/p&gt;
&lt;p&gt;I'm trying to create a template project for simple binary logic testing with HMI.&lt;br/&gt;
I've created a HMI (8 input checkboxes, 8 "sensors" that can be switched on/off, 8 outputs) + 2 start/stop buttons and i'm trying to make it as easy as possible &lt;br/&gt;
to set the names shown in HMI for the inputs,sensors and outputs and using wanted variable name in the code (thus the REFERENCE TO BOOL).&lt;/p&gt;
&lt;p&gt;If I can stop extra comments going to next "help" of variable that would help. Or if someone knows better way for doing a nice template project, I'd like to know?&lt;/p&gt;
&lt;p&gt;Also I didn't find anyway to set Checkbox's text with variable I created MyCheckbox with checkbox and box where I can change text with variable...&lt;/p&gt;
&lt;p&gt;Janne&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: hmi_template.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=330"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>