<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Access to variables on remote codesys devices.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5979fe71ab/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5979fe71ab/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/5979fe71ab/</id><updated>2020-06-22T05:55:20.822000Z</updated><subtitle>Recent posts to Access to variables on remote codesys devices.</subtitle><entry><title>Access to variables on remote codesys devices.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5979fe71ab/?limit=25#5282" rel="alternate"/><published>2020-06-22T05:55:20.822000Z</published><updated>2020-06-22T05:55:20.822000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.comdba41adf08b13d07f9c30a8e1fbeb0b4155c613a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Suppose i have 5 same codesys devices. all devices have same applications, same variable delcaration...&lt;/p&gt;
&lt;p&gt;From device 1, i would like to access variables in device 3 with IEC code.&lt;/p&gt;
&lt;p&gt;Is there  a simple way to access remote variables such as "device3.GVL.xTest"?&lt;/p&gt;
&lt;p&gt;Another problem is, there could be more than 5 devices, all of the remote device configurations are done by my customer who does not use Codesys Development System. for this reason, i need to configure remote connections dynamically with IEC code.&lt;/p&gt;
&lt;p&gt;for example, &lt;/p&gt;
&lt;p&gt;//add connection&lt;br/&gt;
somelibrary. addConnection ('192.168.0.10', 'Device3');&lt;/p&gt;
&lt;p&gt;// now i can access to remote vairables.&lt;br/&gt;
Device3.GVL.xTest:=True;&lt;/p&gt;
&lt;p&gt;Any ideas would be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>