Min/Max

This function block saves the minimum and maximum value of the input signal. If the input „Freeze" is high, the current minimum and maximum value is frozen. If the input "Reset" is high, the current value of „Input" is defined as the base for further minimum and maximum determination.

Signals

Name I/O Type(s) Function
Input I WORD, LONG, FLOAT Input signal
Reset I BIT Reset
Freeze I BIT Freezing
Max O WORD, LONG, FLOAT Maximum
Min O WORD, LONG, FLOAT Minimum

Comments

This function block is data type independent. The data type will be assigned by connecting the input signal. If there are already connections on the output with other data types, these connections will be deleted.