Max/Min (0BA7 and later versions only)

Short description

The Max/Min function block records the maximum or minimum value.

Connection

Description

Input En

The function of input En (Enable) depends on the settings of parameter Mode and the selection of check box "when En = 0, reset Max/Min".

Input S1

This input is enabled when you set Mode =2:

A positive transition (0 to 1) at input S1 sets the output AQ to the maximum value.

A negative transition (1 to 0) at input S1 sets the output AQ to the minimum value.

Input Ax

Input Ax is one of the following analog signals:

  • AI1 to AI8 (*)

  • AM1 to AM16 (if 0BA7), or AM1 to AM64 (if 0BA8)

  • NAI1 to NAI32

  • AQ1 to AQ2 (if 0BA7), or AQ1 to AQ8 (if 0BA8)

  • NAQ1 to NAQ16

  • Block number of a function with analog output

Parameter

Mode

Possible settings: 0, 1, 2, 3

Mode = 0: AQ = Min

Mode = 1: AQ = Max

Mode = 2 and S1= 0 (low): AQ = Min

Mode = 2 and S1= 1 (high): AQ = Max

Mode = 3 or a block value is referenced: AQ = Ax

Output AQ

AQ outputs a minimum, maximum, or actual value depending on the inputs, or is reset to 0 if configured to do so when function is disabled

* AI1 to AI8: 0 to 10 V corresponds with 0 to 1000 (internal value).

Parameter Mode

You can set the values for parameter Mode based on the actual values of another already-programmed function:

You can select the required function by the block number.

Timing diagram

*) If you select the check box "when En = 0, reset Max/Min"

Description of the function

If you select the check box "when Enable = 0, reset Max/Min":

If you do not select the check box "when Enable = 0, reset Max/Min":

Mode = 0: The function sets AQ to the minimum value

Mode = 1: The function sets AQ to the maximum value

Mode = 2 and S1 = 0: The function sets AQ to the minimum value

Mode = 2 and S1 = 1: The function sets AQ to the maximum value

Mode = 3 or a block value is referenced: The function outputs actual analog input value.

Overview