<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to use __VARINFO within a function block to obtain the origin variable name?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e67cfc3edb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e67cfc3edb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e67cfc3edb/</id><updated>2022-03-15T18:08:11.239000Z</updated><subtitle>Recent posts to How to use __VARINFO within a function block to obtain the origin variable name?</subtitle><entry><title>How to use __VARINFO within a function block to obtain the origin variable name?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e67cfc3edb/?limit=25#e15c" rel="alternate"/><published>2022-03-15T18:08:11.239000Z</published><updated>2022-03-15T18:08:11.239000Z</updated><author><name>crthomas</name><uri>https://forge.codesys.com/u/crthomas/</uri></author><id>https://forge.codesys.com68ed49c37fa70907e2fb6df29db60e16f9d69c54</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey, there is no way to know the symbol name from VARINFO.  The only way that I know that the system has any access to symbolic naming is through the symbol configurator.  But the symbol configurator works more for taking a symbolic name and deriving the VARINFO information from it, not the other way around.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use __VARINFO within a function block to obtain the origin variable name?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e67cfc3edb/?limit=25#27a4" rel="alternate"/><published>2022-03-06T10:55:54.725000Z</published><updated>2022-03-06T10:55:54.725000Z</updated><author><name>surikan</name><uri>https://forge.codesys.com/u/surikan/</uri></author><id>https://forge.codesys.comaea17c915b44c0ec3563790447bc122add983d8a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Kim, did you ever manage to find a solution to this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use __VARINFO within a function block to obtain the origin variable name?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e67cfc3edb/?limit=25#d473" rel="alternate"/><published>2020-02-27T13:53:00.623000Z</published><updated>2020-02-27T13:53:00.623000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.com3edba7f330924366f1ff584b14424f54bb555bff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I know how to use __VARINFO to obtain the symbol name of a variable or object, but I have a problem with it.&lt;br/&gt;
I would like a function block to obtain the symbol name of the variable that was used as input to it.&lt;br/&gt;
Obviously, if I use __VARINFO I will only get the local pin name, not the symbol name of the variable that is actually connected to the pin outside of the block.&lt;/p&gt;
&lt;p&gt;The same problem occurs when I loop through my EtherCAT nodes using pointers and dereferencing.&lt;br/&gt;
Obviously I'm not able to obtain the symbolic name of the node, only the symbolic name of the pointer.&lt;/p&gt;
&lt;p&gt;Suggestions anyone? Or is this a dead end?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>