Difference between revisions of "PAB - ZONES"

From wiki.netio-products.com
Jump to navigation Jump to search
m (Djestrab moved page PAB - ZONES Examples to PAB - ZONES)
 
Line 1: Line 1:
 +
Zone-based evaluation. 1 or more zones can be set. Zones are divided using the values specified in the <code>thresholds</code> variable.
 +
Monitored value must be present in defined interval for amount of time defined here. The PAB condition is evaluated as a number (integer) equal to the interval order.
 +
 +
Eg. At two specified intervals, the PAB value can be 0, 1, or 2.
 +
 +
== Description ==
 +
* Source
 +
* Parameters
 +
* Outputs
 +
 +
== Structure ==
 +
{| class="wikitable"
 +
|-
 +
! Variable
 +
! Value
 +
! Description
 +
|-
 +
| type
 +
| ZONE
 +
| PAB type
 +
|-
 +
| source
 +
| OUTPUTS/'''x'''/(LOAD/CURRENT/POWER) <br> 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.
 +
|-
 +
| thresholds
 +
| list[int]
 +
| lower-bounds of individual zones intervals
 +
|}
 +
 +
== Examples ==
 +
 
The condition is evaluated according to the specified zones when the current value is in one of the zones for 10s.
 
The condition is evaluated according to the specified zones when the current value is in one of the zones for 10s.
  

Latest revision as of 14:40, 16 November 2021

Zone-based evaluation. 1 or more zones can be set. Zones are divided using the values specified in the thresholds variable. Monitored value must be present in defined interval for amount of time defined here. The PAB condition is evaluated as a number (integer) equal to the interval order.

Eg. At two specified intervals, the PAB value can be 0, 1, or 2.

Description

  • Source
  • Parameters
  • Outputs

Structure

Variable Value Description
type ZONE 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.

thresholds list[int] lower-bounds of individual zones intervals

Examples

The condition is evaluated according to the specified zones when the current value is in one of the zones for 10s.

Eg: If the current is 130mA for at least 10s, the condition is evaluated as 2 (zone number).

{
  "type": "ZONES",
  "source": "OUTPUTS/2/CURRENT",
  "thresholds": [
    50,
    100,
    150,
    200
  ],
  "timeHysteresis": 10
}