MIN
Function - Get the minimum of two values.
Inputs
Hint: The function block can be resized. Define the amount of desired inputs if wanted.
|
Input |
Data type |
Description |
|
IN1 |
ANY |
First input. |
|
IN2 |
ANY |
Second input. |
Outputs
|
Output |
Data type |
Description |
|
Q |
ANY |
IN1 if IN1 < IN2; IN2 otherwise. |
Remarks
In LD language, the input rung (EN) enables the operation, and the output rung keeps the state of the input rung.
ST Language
Q := MIN (IN1, IN2);
FBD Language

LD Language
The comparison is executed only if EN is TRUE.
ENO has the same value as EN.

Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with HelpNDoc's Clean and Efficient User Interface

