Override

The input pins provided are Priority1 Value through Priority6 Value and cntrlInput. The output pin is effOutput. This function sets the output to the highest priority input that is not invalid. The Priority1 value has the highest priority and cntrlInput the Lowest priority. This function block checks if the Inputs are not invalid in the following order:

  1. Priority 1 Value
  2. Priority 2 Value
  3. Priority 3 Value
  4. Priority 4 Value
  5. Priority 5 Value
  6. Priority 6 Value
  7. Ctrl Input

The first value that is not invalid in the order of priority is set as the output. If all inputs are invalid or unconnected, the output is set to the defaultValue.

This function block corresponds to the BACnet priority array implementation with the replacement of the BACnet NULL state with invalid.

Analog Inputs

Range
Input Name Low High Input Value Description
priority1Value through priority6Value >=- infinity <+ infinity Unconnected or invalid Output = highest priority input (priority1Val is top priority and cntrlInput is lowest priority) that is not invalid or unconnected. If no inputs are valid, then use defaultValue
cntrlInput >=- infinity <+ infinity Unconnected or invalid Output = highest priority input (priority1Val is top priority and cntrlInput is lowest priority) that is not invalid or unconnected. If no inputs are valid, then use defaultValue
defaultValue >=- infinity <+ infinity unconnected defaultValue = invalid
invalid defaultValue = invalid

Outputs

Range
Output Name Low High Description
EFF_OUTPUT >=- infinity <+ infinity effOutput = highest priority input that is not invalid.

Example

Set the Inputs to the following:

  1. Priority 1 Value = Invalid
  2. Priority 2 Value = Invalid
  3. Priority 3 Value = 50
  4. Priority 4 Value = 60
  5. Priority 5 Value = -20
  6. Priority 6 Value = 80
  7. Ctrl Input = 30

The output is set as 50. Priority 1 and Priority 2 values are invalid. The next highest priority value (Priority 3 value = 50) is set as the output.

An invalid input to this function block could arise when you connect the output of the Minimum function block whose input is invalid.