<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Problem using Parameter Manager</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/a81114ce59/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/a81114ce59/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/a81114ce59/</id><updated>2020-02-27T22:28:30.114000Z</updated><subtitle>Recent posts to Problem using Parameter Manager</subtitle><entry><title>Problem using Parameter Manager</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/a81114ce59/?limit=25#7092" rel="alternate"/><published>2020-02-27T22:28:30.114000Z</published><updated>2020-02-27T22:28:30.114000Z</updated><author><name>tbarham</name><uri>https://forge.codesys.com/u/tbarham/</uri></author><id>https://forge.codesys.com874128585ce0e33c87ab5a3a5cc728b77889ff66</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Well, it looks like I have the global variable problem solved.  Simply by putting a period in front of the global variable name it was accepted as the "base variable".&lt;/p&gt;
&lt;p&gt;But now that I have that set up, I'm not getting any communication of the variables between the two PLCs.  I've set up identical templates and instances in the Parameter Manager section for both PLCs -- with one having all components as "read only" and the other having all components as "write only".  How do I initiate a transfer of data?  I initially guessed that transfer was automatic and happened whenever a variable was changed or maybe requested -- but that doesn't appear to be the case.&lt;/p&gt;
&lt;p&gt;Is this just another case of me missing something really simple?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem using Parameter Manager</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/a81114ce59/?limit=25#b666" rel="alternate"/><published>2020-02-27T22:28:28.532000Z</published><updated>2020-02-27T22:28:28.532000Z</updated><author><name>tbarham</name><uri>https://forge.codesys.com/u/tbarham/</uri></author><id>https://forge.codesys.com3e95b4fa79a1105f523c3924fa2019b2c8d084b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have many variables I need to keep track of, so I decided early on that using structures would be the best way to organize things.  I have several arrays of structures defined as global variables:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nv"&gt;VAR_GLOBAL&lt;/span&gt;
  &lt;span class="nv"&gt;Comp&lt;/span&gt; : &lt;span class="nv"&gt;ARRAY&lt;/span&gt;[&lt;span class="mi"&gt;0&lt;/span&gt;..&lt;span class="nv"&gt;UBound_CompNum&lt;/span&gt;] &lt;span class="nv"&gt;OF&lt;/span&gt; &lt;span class="nv"&gt;struct_Component&lt;/span&gt;&lt;span class="c1"&gt;;         (* Non-retentive component variables *)&lt;/span&gt;
  &lt;span class="nv"&gt;CompR&lt;/span&gt; : &lt;span class="nv"&gt;ARRAY&lt;/span&gt;[&lt;span class="mi"&gt;0&lt;/span&gt;..&lt;span class="nv"&gt;UBound_CompNum&lt;/span&gt;] &lt;span class="nv"&gt;OF&lt;/span&gt; &lt;span class="nv"&gt;struct_Component_Retentive&lt;/span&gt;&lt;span class="c1"&gt;;   (* Retentive component variables *)&lt;/span&gt;
  &lt;span class="nv"&gt;stGlobal&lt;/span&gt; :  &lt;span class="nv"&gt;struct_Component&lt;/span&gt;&lt;span class="c1"&gt;;     (* just for testing *)&lt;/span&gt;
&lt;span class="nv"&gt;END_VAR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Now I want to figure out how to use parameter manager to allow sharing these variables over the CAN network.  I've successfully created a "Template parameter list" based on a structure, and I can even create an "Instance parameter list" using that template -- but only if the "Base Variable" is in a POU.  For example, if I define a structure "stComp" in PLC_PRG, then I can use "PLC_PRG.stComp" as the base variable for a new instance parameter list.  However, if I instead define "stComp" as a Global variable, then I can NOT use "stComp" as the base variable.  What am I doing wrong?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ThisDoesNotWork_2.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=77"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ThisWorks.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=76"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>