PAB - RANGE: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Immediate evaluation == The condition evaluates to <code>TRUE</code> immediately as the current value appears between 100 and 200 mA <nowiki> { "type": "RANGE", "sourc..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Immediate evaluation == | True/False-based evaluation. If the monitored value is in specified interval for a time period defined in <code>timeHysteresis</code>, PAB evaluates to <code>TRUE</code>. Otherwise it evaluates to <code>FALSE</code>. | ||
== Description== | |||
* Source | |||
* Parameters | |||
* Outputs | |||
== Structure == | |||
{| class="wikitable" | |||
|- | |||
! Variable | |||
! Value | |||
! Description | |||
|- | |||
| type | |||
| RANGE | |||
| 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. | |||
|- | |||
| lowerBound | |||
| int | |||
| lower bound of the monitored value | |||
|- | |||
| upperBound | |||
| int | |||
| upper bound of the monitored value | |||
|} | |||
== Examples == | |||
=== Immediate evaluation === | |||
The condition evaluates to <code>TRUE</code> immediately as the current value appears between 100 and 200 mA | The condition evaluates to <code>TRUE</code> immediately as the current value appears between 100 and 200 mA | ||
<nowiki> | <nowiki> | ||
| Line 10: | Line 49: | ||
}</nowiki> | }</nowiki> | ||
== Evaluation with delay == | === Evaluation with delay === | ||
The condition evaluates to <code>TRUE</code> when | The condition evaluates to <code>TRUE</code> when output load is between 200 and 300 Watts for 5s. | ||
<nowiki> | <nowiki> | ||
| Line 17: | Line 56: | ||
"type": "RANGE", | "type": "RANGE", | ||
"source": "OUTPUTS/1/CURRENT", | "source": "OUTPUTS/1/CURRENT", | ||
"lowerBound": | "lowerBound": 200, | ||
"upperBound": | "upperBound": 300, | ||
"timeHysteresis": 5 | "timeHysteresis": 5 | ||
}</nowiki> | }</nowiki> | ||
Latest revision as of 13: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
}