PAB - RANGE
Jump to navigation
Jump to search
True/False-based evaluation. If the monitored value is in specified interval for a time period defined in timeHysteresis
, PAB evaluates to TRUE
. Otherwise it evaluates to FALSE
.
Description
- Source
- Parameters
- Outputs
Structure
Variable | Value | Description |
---|---|---|
type | RANGE | PAB type |
source | OUTPUTS/x/(LOAD/CURRENT/POWER) INPUTS/x/STATE |
The monitored variable. x indicates input / output number. |
timeHysteresis | int | [s] Monitored value must be present in defined interval for amount of time defined here.
Eg: If the time hysteresis is equal to 5, monitored value must be within a defined interval for at least 5s. Only then it will be evaluated. |
lowerBound | int | lower bound of the monitored value |
upperBound | int | upper bound of the monitored value |
Examples
Immediate evaluation
The condition evaluates to TRUE
immediately as the current value appears between 100 and 200 mA
{ "type": "RANGE", "source": "OUTPUTS/1/CURRENT", "lowerBound": 100, "upperBound": 200, "timeHysteresis": 0 }
Evaluation with delay
The condition evaluates to TRUE
when output load is between 200 and 300 Watts for 5s.
{ "type": "RANGE", "source": "OUTPUTS/1/CURRENT", "lowerBound": 200, "upperBound": 300, "timeHysteresis": 5 }