<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Changeable number of inputs</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ca1a2cfa10/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ca1a2cfa10/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ca1a2cfa10/</id><updated>2020-02-27T22:18:19.993000Z</updated><subtitle>Recent posts to Changeable number of inputs</subtitle><entry><title>Changeable number of inputs</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca1a2cfa10/?limit=25#7258" rel="alternate"/><published>2020-02-27T22:18:19.993000Z</published><updated>2020-02-27T22:18:19.993000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com91d20fc6e244371631cb5abcf8cafff66f690364</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;and block is made just as you say it item1 AND item2 AND item3 etc.&lt;br/&gt;
when doing your own functions you can not add them while programming, so do it while defining the FB. you do not have to use all inputs. (you can define the state of them.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changeable number of inputs</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca1a2cfa10/?limit=25#bb9e" rel="alternate"/><published>2020-02-27T22:18:15.562000Z</published><updated>2020-02-27T22:18:15.562000Z</updated><author><name>ert</name><uri>https://forge.codesys.com/u/ert/</uri></author><id>https://forge.codesys.com5d98f3aa9713ed34698ae7b98003fcb5db0fda41</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;shooter hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
In FBD you only can make a  fixed number of inputs as you will have to declare them.&lt;br/&gt;
However you can make inputs and dont use them. you can set them in the declaration to a value, and when not used it will default to it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So how is the "AND" block made? Even if it is a function (and not a function block), it handles multiple inputs as defined by a user.&lt;br/&gt;
I am looking for a similar solution.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changeable number of inputs</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca1a2cfa10/?limit=25#ab2e" rel="alternate"/><published>2020-02-27T22:18:14.002000Z</published><updated>2020-02-27T22:18:14.002000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com22ba50bc66c5aa1360abe4fdde4966b92c65b11d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In FBD you only can make a  fixed number of inputs as you will have to declare them.&lt;br/&gt;
However you can make inputs and dont use them. you can set them in the declaration to a value, and when not used it will default to it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changeable number of inputs</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ca1a2cfa10/?limit=25#1c58" rel="alternate"/><published>2020-02-27T22:18:09.695000Z</published><updated>2020-02-27T22:18:09.695000Z</updated><author><name>ert</name><uri>https://forge.codesys.com/u/ert/</uri></author><id>https://forge.codesys.come7309ab2d72ee4b68fb7bbb531df82f44e9470fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
For AND block one can use variable number of inputs.&lt;br/&gt;
I would like to create a function block with adjustable number of inputs e.g. of INT (or BOOL) type.&lt;br/&gt;
How to handle it inside the block?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>