Maximum

Function

Return the highest value of all inputs.

The Maximum statement is one of the dynamic control icons.

It has two inputs by default, but the user can add up to n (recommended limit 32) inputs in the slot sheet view, selecting the Add Slot function of the context menu.


For example, in control technology, continuous positioning signals are often calculated using mathematical functions. These functions are defined for the entire set of real numbers, while positioning signals are typically valid only for a subset of numbers, for example, 0 to 100 percent.


You can use the Maximum statement to define the maximum output value to a signal. If, for example, a function outputs a value below 0, you can use Maximum to select either the function output or 0, whichever is higher.


Fig. 91.   Wire-sheet Icon

Fig. 92.   Property Sheet

Fig. 93.   Slot Sheet


Inputs and Outputs

Table 63.   Inputs

Inputs

Type

Functional description

In A

numeric

Analog input value.

In B

numeric

Analog input value

In n

user defined

Add up to n (recommended limit 32) inputs in the slot sheet

In Enabled

boolean

If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”.


Table 64.   Outputs

Outputs

Type

Functional description

Out

numeric

One output = maximum value of all inputs


Parameter List

No parameters.