Description

Used to take the larger or smaller value of two analogs.

Function

The function block is used to take the larger or smaller value of two values. There are two options: "Max Value" and "Min Value".

Input

PIN

Description

Input1

Analog 1 to be compared

Input2

Analog 2 to be compared

Output

PIN

Description

Output

Outputs the larger or smaller value of two input values

Input value

PIN

Data type

Unit

Default value

Range

Input1

Analog

N/A

N/A

-999999...999999

Input2

Analog

N/A

N/A

-999999...999999

Output value

PIN

Data type

Unit

Default value

Range

Output

Analog

N/A

N/A

-999999...999999

Example 1

Y1 takes the smaller value of a and b, and Y2 takes the larger value of c and z.

Example 2

Cooling valve of a thermostatic humidifier unit takes the maximum value of operation results in cooling and dehumidification circuits.