Operator ‘MIN’ΒΆ

This IEC operator is used for the minimum function. It yields the smallest value of two values.

OUT := MIN(IN0,IN1)

Permitted data types: all

Examples

Result: 30

ST:

Var1:=MIN(90,30);

Var1 := MIN(MIN(90,30),40);

FBD: