Industry Online Support
Technical Forum
10/6/2009 2:53 PM | |
Joined: 10/7/2005 Last visit: 9/27/2023 Posts: 2988 Rating:
|
Hello azu jolly good question indeed and there are a few reasons for it that I can think of: 1.) "Simple" things like BO_W (Bool to Word) do NOT rely onan FC or FBwhen dragged into a CFC chart but instead are part of the CFC "elements" (compareable to inbuilt LAD/FBD elements likeWord shifts, Integer comparators etc.). When CFC is compiled it will simply createthe correct STL code for it (via SCL), hence you can't find a similar "element" directly in the LAD/FBD/STL Editor or Block library. 2.) CFC needs "nonsense" blocks like Bool to Word to allow you to marshall things somewhat elegantly. As these "Blocks"will compile into STL (with a fair amount of surplus code in them),you are actually better off (and more efficient) to do it directly in STL(or LAD/FBD if you must). That's my take on it anyhow and I hope it helps, but perhaps others have more reasons or explanations. |
Cheers |
|
Follow us on