MAX_2D_ARRAY block
Short summary
Name |
|
→POU type |
|
Category |
|
Conform to →IEC-standard |
not defined in IEC-standard |
Graphical interface |
, , |
Available since |
|
Functionality
The block returns the largest of all values of an array with 2 dimensions entered at input A
. Only the first M
rows and N
columns are considered. The array must contain at least M
rows and N
columns.
Inputs, return value
|
Identifier |
Description |
|
---|---|---|---|
In-outs |
|
|
variable-length array |
Inputs: |
|
|
number of rows to consider |
|
|
number of columns to consider |
|
Return value: |
– |
|
|
|
Identifier |
Description |
|
---|---|---|---|
In-outs |
|
|
variable-length array |
Inputs: |
|
|
number of rows to consider |
|
|
number of columns to consider |
|
Return value: |
– |
|
|
|
Identifier |
Description |
|
---|---|---|---|
In-outs |
|
|
variable-length array |
Inputs: |
|
|
number of rows to consider |
|
|
number of columns to consider |
|
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 array for A
contains at least M
rows and N
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
|
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.