<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Placeholder concept and Programmability</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cf0a3dfc8b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cf0a3dfc8b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cf0a3dfc8b/</id><updated>2020-02-27T19:09:08.673000Z</updated><subtitle>Recent posts to Placeholder concept and Programmability</subtitle><entry><title>Placeholder concept and Programmability</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cf0a3dfc8b/?limit=25#fa17" rel="alternate"/><published>2020-02-27T19:09:08.673000Z</published><updated>2020-02-27T19:09:08.673000Z</updated><author><name>anverheul</name><uri>https://forge.codesys.com/u/anverheul/</uri></author><id>https://forge.codesys.comfc7afff1375410be4ab269a4296b932f859cae09</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;This is a good suggestion indeed!&lt;/p&gt;
&lt;p&gt;Thanks very much.&lt;/p&gt;
&lt;p&gt;Arie N. Verheul&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Placeholder concept and Programmability</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cf0a3dfc8b/?limit=25#3aa3" rel="alternate"/><published>2020-02-27T19:09:07.489000Z</published><updated>2020-02-27T19:09:07.489000Z</updated><author><name>Michael Pfob</name><uri>https://forge.codesys.com/u/michael-pfob/</uri></author><id>https://forge.codesys.comd251460cb084fdf3c598251258a44f652e16c5fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello anverheul,&lt;/p&gt;
&lt;p&gt;this seems to be a bug in the CoDeSys manual. There are some things to configure that will not be replaced by the placeholder concept. &lt;/p&gt;
&lt;p&gt;One of these configurations is the name of the object for programmability. Another configuration is the path to the bitmap in a bitmap object for example.&lt;/p&gt;
&lt;p&gt;So, it is not possible to use a placeholder as the object name for programmability.&lt;/p&gt;
&lt;p&gt;A workaround could be to define your own user defined type that contains only these configurationoptions that you really want to configure. Then define a array of these structures, and configure the elements with the members of your own type and use placeholders for indices in the array.&lt;/p&gt;
&lt;p&gt;I hope that helps you solve your problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Placeholder concept and Programmability</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cf0a3dfc8b/?limit=25#a8c6" rel="alternate"/><published>2020-02-27T19:09:06.290000Z</published><updated>2020-02-27T19:09:06.290000Z</updated><author><name>anverheul</name><uri>https://forge.codesys.com/u/anverheul/</uri></author><id>https://forge.codesys.com7778266ac5f9b524beee3b8b3e9f0138729fbd16</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to use the placeholder concept in combination with programmability. &lt;/p&gt;
&lt;p&gt;Background info:&lt;/p&gt;
&lt;p&gt;===========&lt;/p&gt;
&lt;p&gt;About placeholder concept (from manual): At each location in the configuration dialog at which variables or text are entered, a placeholder can be set in place of the respective variable or text. &lt;/p&gt;
&lt;p&gt;About programmability: this generates variables of type VisualObjectType that can be used to configure visualisation elements.&lt;/p&gt;
&lt;p&gt;Environment:&lt;/p&gt;
&lt;p&gt;=========&lt;/p&gt;
&lt;p&gt;I'm using CoDeSys 2.3.3.6 in combination with Advantech WinCE based IPCs.&lt;/p&gt;
&lt;p&gt;Issue/Question:&lt;/p&gt;
&lt;p&gt;==========&lt;/p&gt;
&lt;p&gt;It seems that it's not possible to specify an placeholder like $TEST$ as the object name for programmability. &lt;/p&gt;
&lt;p&gt;Doing this causes compiler errors, and also it's not possible to specify the placeholder replacements.&lt;/p&gt;
&lt;p&gt;What am I doing wrong? Manual says that placeholders can be used anywhere in the configuration dialog. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Arie N. Verheul&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>