<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Get function block size</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/</id><updated>2020-02-27T13:52:29.150000Z</updated><subtitle>Recent posts to Get function block size</subtitle><entry><title>Get function block size</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/?limit=25#3e1c" rel="alternate"/><published>2020-02-27T13:52:29.150000Z</published><updated>2020-02-27T13:52:29.150000Z</updated><author><name>singleton</name><uri>https://forge.codesys.com/u/singleton/</uri></author><id>https://forge.codesys.com45ee6c009b5335cd78f57273ef624fe2adfbb9ec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
why not just using ```&lt;/p&gt;
&lt;p&gt;SIZEOF(...)&lt;/p&gt;
&lt;p&gt;```?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get function block size</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/?limit=25#ca92" rel="alternate"/><published>2020-02-27T13:52:28.973000Z</published><updated>2020-02-27T13:52:28.973000Z</updated><author><name>ert</name><uri>https://forge.codesys.com/u/ert/</uri></author><id>https://forge.codesys.comc048385ebae1c8635af8872b420d47a78b9425da</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;scott_cunningham hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Way I know:  Create an array of your function block - at least two elements.  Define 2 pointers (“POINTER TO MyFb”).  Set first pointer to ADR(FbInst&lt;span&gt;[0]&lt;/span&gt;) and second pointer = ADR(FbInst&lt;span&gt;[1]&lt;/span&gt;]).  The difference will be the byte size.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Great, this will be enough for me!&lt;br/&gt;
Thank you for the idea.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get function block size</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/?limit=25#7dc7" rel="alternate"/><published>2020-02-27T13:52:28.785000Z</published><updated>2020-02-27T13:52:28.785000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com28ce68f122b406e39055bb59ce130bfa5d47799d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;Way I know:  Create an array of your function block - at least two elements.  Define 2 pointers (“POINTER TO MyFb”).  Set first pointer to ADR(FbInst&lt;span&gt;[0]&lt;/span&gt;) and second pointer = ADR(FbInst&lt;span&gt;[1]&lt;/span&gt;]).  The difference will be the byte size.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Get function block size</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b2c74999ae/?limit=25#d84b" rel="alternate"/><published>2020-02-27T13:52:28.246000Z</published><updated>2020-02-27T13:52:28.246000Z</updated><author><name>ert</name><uri>https://forge.codesys.com/u/ert/</uri></author><id>https://forge.codesys.com54d2fd69613a1526678d7ee6ec4bf7249aacfc5f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there any way to get the memory size occupied by a particular function block or a structure of data in Codesys?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>