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 |
---|---|---|---|
Input1 | ItemID | M | 1st input for minimum/maximum calculation |
Input2 | ItemID | M | 2nd input for minimum/maximum calculation |
Input3 | ItemID | O | 3rd input for minimum/maximum calculation |
... | |||
Input10 | ItemID | O | 10th input for minimum/maximum calculation |
Outputs
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
Minimum | ItemID | O | If provided, the item will hold the minimum value. |
Maximum | ItemID | O | If provided, the item will hold the maximum value. |
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
Write to bus | bool | O | 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 quality | bool | O | if 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+