Type
| Function |
Description
| Determines the minimum value of the operands connected to the inputs. |
Notes
|
- The output data type must be equal or greater than the input data types.
- The function is an overloaded function. It can operate on various input data types.
- Further inputs can be added.
|
Parameters
| Inputs
IN1
Data type: | ANY_ELEMENTARY |
Description: | First input value. |
IN2
Data type: | ANY_ELEMENTARY |
Description: | Second input value. |
Output
OUT
Data type: | ANY_ELEMENTARY |
Description: | Output value. |
|
Error behavior | Error behavior
The following table shows the errors which may occur while executing the function and the value returned by the function in the corresponding error case.
Error case | Output value |
Any input = NaN | IN1 value |
Any input = Inf+ | IN1 value |
Any input = Inf- | IN1 value |
Resulted string too short | Empty string |
Note
String comparison: In case of a string error, the function returns the empty string ''. Furthermore, the controller runtime logs the error in its error catalog and a corresponding error message is shown in the Error List. |
Note
Controller stop on string error: The controller can be automatically stopped when a string error occurs. This allows you to locate the error in your project. To enable the automatic stop of the controller in case of a string error, activate the button in the Cockpit toolbar of the controller. |
|
Additional information
| EN/ENO behavior
The POU is only executed if TRUE is applied to the EN input. If EN = FALSE, the POU is not executed and ENO = FALSE indicates the inactivity.
If any of the errors listed under "Error behavior" occurs while executing the function, ENO is set to FALSE.
|