Function blocks
In the case of a function block, the instance of the block must be specified and is shown on the top of the block. Double-click on the top of the block to select the instance. You can also double-click elsewhere in the block to change its type.
Boolean inputs and outputs of blocks can be directly linked to contacts and coils. Block inputs and outputs can also be specified using specific data in/out items (see below).
-
-
FunctionA function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. and function blocks cannot be put in column 1 of the grid. This would not make sense because data inputs require a column.
You cannot change a function block after it has been inserted.
When a Function is not connected on the right, then it is ignored (removed at compiling time).
It is the case for Functions only - not for function blocks.
A Function is just part of an expression (same as a contact) and is just intended to provide a result. In case of FFLD, KAS accepts that the output is not connected because it accepts pending "dead" expressions to be removed at compiling time (same as contacts with no coil or FBs after).
-
-
If you want another function block, you first have to select it in the Libraries toolbox before inserting it.