Posted 31 May 2019 To those who don't know the GX Works2 compiler treats any function block referenced used in your code as a place to copy the entire set of code data into your program. Function block calls are not handled like pointers even though the should be. [You'll consume all your pointer space by thinking function blocks are great.] Share this post Link to post Share on other sites
Posted 4 Jun 2019 It only uses the entire set of code when Macro code is not set. You can read more about this in the manual GX Works 2 Structured projects 4.3.2 Setting properties of functions and function blocks Share this post Link to post Share on other sites