MIN
The IEC operator is used for the minimum function. It returns the smallest of the transferred input values.
Syntax: OUT := MIN(IN0,IN1,<further inputs>)
Permitted data types: all
Samples:
Result: nVar is 30.
ST:
nVar := MIN(40,30,90,77);
FBD:
The IEC operator is used for the minimum function. It returns the smallest of the transferred input values.
Syntax: OUT := MIN(IN0,IN1,<further inputs>)
Permitted data types: all
Samples:
Result: nVar is 30.
ST:
nVar := MIN(40,30,90,77);
FBD: