SEL_2D_ARRAY block
Short summary
Name |
|
→POU type |
|
Category |
|
Conform to →IEC-standard |
not defined in IEC-standard |
Graphical interface |
Detail on the displayed interface: Due to the setting |
Available since |
version 3.2.4 (for library |
Functionality
As the SEL
block: The block makes a binary selection. In contrast to that block, SEL_2D_ARRAY
allows the connection with 2 dimensional arrays.
Inputs, return value
|
Identifier |
Description |
|
---|---|---|---|
Inputs: |
|
|
selector |
In-outs |
|
|
1st value |
|
|
2nd value |
|
Return value: |
– |
|
|
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Internal error diagnostic for block
The block checks whether the size of the arrays for IN0
, IN1
and for the return value amounts to the same rows and the columns. If this is not the case, the output ENO
of the block is set to value FALSE
(or an equivalent).
Example for usage within ST-editor
See "SEL block" for a basic example of the functionality.
When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.