Math.MinMax

This XCommand calculates the minimum and maximum values out of a set of server items.

Description

This XCommand takes the values of all provided input items, calculates the minimum and maximum values and stores the result in output server items.

Inputs

Name

Type

Mandatory/Optional

Description

Input1ItemIDM1st input for minimum/maximum calculation
Input2ItemIDM2nd input for minimum/maximum calculation
Input3ItemIDO3rd input for minimum/maximum calculation
...


Input10ItemIDO10th input for minimum/maximum calculation

Outputs

Name

Type

Mandatory/Optional

Description

MinimumItemIDO

If provided, the item will hold the minimum value.

MaximumItemIDOIf provided, the item will hold the maximum value.

Parameters

Name

Type

Mandatory/Optional

Description

Write to busboolO

if set to "false", the value is only updated within the Core Server. If set to true (default value), the value is also forwarded to the field network.

Verify qualityboolOif set to "true" (default value), the value is not forwarded when the input's quality is not "GOOD".

Possible trigger types

  • Any

Article applies to the following products:

  • NETx BMS Platform, XLogic Library 1.0.12+
  • NETx Multi Protocol Server, XLogic Library 1.0.12+