Maximum
![](assets/images/3/180px-FB_Maximum_Symbol-6d84e883.png)
This function block searches for the largest value of the input vector INP and sets this value to the output OUT.
Parameters
![](assets/images/1/240px-FB_Maximum_Dialog_EN-c9fb4cf1.png)
The parameter dialog can be used to select a data type.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
INP | I | BYTE, UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE | Input vector |
OUT | O | BYTE, UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE | Output value |
Comments
If no connection exists, another data type can be assigned by creating a new connection.
If the data type is changed by the parameter dialog, all invalid connections will be deleted.
The data type BYTE is used as unsigned.