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 the current value is between 800 and 1000 mA for 5s.
{
  "type": "RANGE",
  "source": "OUTPUTS/1/CURRENT",
  "lowerBound": 800,
  "upperBound": 1000,
  "timeHysteresis": 5
}
