Difference between revisions of "PAB - RANGE"

From wiki.netio-products.com
Jump to navigation Jump to search
 
Line 50: Line 50:
  
 
=== Evaluation with delay ===
 
=== Evaluation with delay ===
The condition evaluates to <code>TRUE</code> when the current value is between 800 and 1000 mA for 5s.
+
The condition evaluates to <code>TRUE</code> when output load is between 200 and 300 Watts for 5s.
  
 
  <nowiki>
 
  <nowiki>
Line 56: Line 56:
 
   "type": "RANGE",
 
   "type": "RANGE",
 
   "source": "OUTPUTS/1/CURRENT",
 
   "source": "OUTPUTS/1/CURRENT",
   "lowerBound": 800,
+
   "lowerBound": 200,
   "upperBound": 1000,
+
   "upperBound": 300,
 
   "timeHysteresis": 5
 
   "timeHysteresis": 5
 
}</nowiki>
 
}</nowiki>

Latest revision as of 14:43, 16 November 2021

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
}