<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Determination of User defined instances of function by a POU</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b0fab641a6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b0fab641a6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b0fab641a6/</id><updated>2020-02-27T14:12:04.067000Z</updated><subtitle>Recent posts to Determination of User defined instances of function by a POU</subtitle><entry><title>Determination of User defined instances of function by a POU</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b0fab641a6/?limit=25#0226" rel="alternate"/><published>2020-02-27T14:12:04.067000Z</published><updated>2020-02-27T14:12:04.067000Z</updated><author><name>rahulnshinde</name><uri>https://forge.codesys.com/u/rahulnshinde/</uri></author><id>https://forge.codesys.comb2b877c2c24a839e9e6e658e95e6d7d3e214e81f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Anyone guys?&lt;br/&gt;
I would appreciate some help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Determination of User defined instances of function by a POU</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b0fab641a6/?limit=25#99ea" rel="alternate"/><published>2020-02-27T14:12:03.061000Z</published><updated>2020-02-27T14:12:03.061000Z</updated><author><name>rahulnshinde</name><uri>https://forge.codesys.com/u/rahulnshinde/</uri></author><id>https://forge.codesys.com66eac396d66b98f90f173e4a44a667f79978ee54</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Consider an example where &amp;lt;inst1&amp;gt;, &amp;lt;inst2&amp;gt;, .....&amp;lt;instn&amp;gt; are declared instances of function block FUB&amp;lt;/instn&amp;gt;&amp;lt;/inst2&amp;gt;&amp;lt;/inst1&amp;gt;&lt;/p&gt;
&lt;p&gt;FUNCTION_BLOCK FUB&lt;br/&gt;
{&lt;br/&gt;
.......&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;VAR GLOBAL&lt;br/&gt;
inst1, inst2, inst3 : FUB&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;p&gt;Is it possible that a POU executing under PLC_PRG (main task) can detect and deliver all the names (STRING) of instances of Type "FUB" ?&lt;br/&gt;
Is there some method like __isinstance() or anything similar?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Rahul.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>