
Outputs the maximum value between two inputs
Category: Math
The amplitudes of two input signals are evaluated at every task period. The output value is equal to the higher value flowing into one of the two input ports. Figure 1 shows three examples of the Max block being used.

Figure 1 - Max block in three different situations
Receives any signal to be used for comparison purposes.
Receives any signal to be used for comparison purposes.
Returns a value corresponding to the greater value available in the input ports In 0 and In 1.
Where:
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.