Posted 26 Jun 2015 Hi All, I'm a new AB programmer but I have experience in programming with Siemens. I want to use Add-on instruction in AB same as Function Block in Siemens, so that some inputs is not mandatory to write something and in this case it take their defined values. In AB, I found Add-on same as FB except that if you put it as required, so you should assign something to it and if not put it as required, you couldn't assign anything. Is there any way to have both together? Thanks Share this post Link to post Share on other sites
Posted 28 Jun 2015 For inputs, put them as "required". If you don't need that particular input/output, you can just put a "1" or a "0" in the required place: As for outputs, you have two options that i can think of off the top of my head: Leave them as not required. If they are required, then copy the output to the relevant tag on the next rung: Or, leave them as required, and just create a dummy tag that you can assign to the AOI where it's not required: Hope that helps! Share this post Link to post Share on other sites