pCOWeb
+030220966 – rel. 1.1 – 12.12.2017
21
4.3.1
Events generated upon variations in the value of a variable
pCOWeb
can be set to send a notification when the value of a
pCO
controller variable changes.
The types of messages sent can be selected separately for each variable. For the settings see 4.3.3 on page 23 and 4.3.4 on page 25.
Digital variables
The notifications can be sent upon the following transitions:
•
0
→
1 only
•
1
→
0 only
•
both
Example 1
E-mail and FTP PUSH programmed to be sent when digital variable 12 changes from 0
→
1.
0
→
1
send both notifications
1
→
0 nothing
sent
Example 2
E-mail and FTP PUSH programmed to be sent when digital variable 12 changes from 0
→
1 and 1
→
0.
0
→
1
send both notifications
1
→
0
send both notifications
Analog and integer variables
For analog and integer variables, the value that crosses a programmable threshold
generates an “activation” event; if the threshold plus hysteresis is crossed backwards, a
“return” event is generated.
For each variable, the following can be set:
•
the direction for crossing the threshold considered as “activation”;
•
send notifications: only upon “activation” or upon “activation” and “return”;
•
the threshold (numeric value or content of a
pCO
variable);
•
the hysteresis (numeric value or content of a
pCO
variable) for the return event.
In addition, two identification strings can be customized that are common to all the
variables (default: “alarm fired” / “alarm reenter”), to be included in the e-mail and SNMP
notifications to identify the activation and return events.
Example 1 (
Figure
4.k)
FTP PUSH and SNMP TRAP programmed to be sent for analog variable 8
only upon
activation when increasing
, with threshold 20.5 and hysteresis 1.5.
18
→
20 nothing
sent
20
→
20.5 send both notifications; string included: “alarm fired”
20.5
→
22 nothing sent
22
→
19.5 nothing sent
19.5
→
23 nothing sent
23
→
19 nothing
sent
19
→
23 send both notifications; string included: “alarm fired”
Example 2 (
Figure
4.l)
FTP PUSH and SNMP TRAP programmed to be sent for analog variable 8
upon
activation when increasing and on return
, with threshold 20.5 and hysteresis 1.5.
18
→
20 nothing
sent
20
→
20.5 send both notifications; string included: “alarm fired”
20.5
→
22 nothing sent
22
→
19.5 nothing sent
19.5
→
23 nothing sent
23
→
19 send both notifications; string included: “alarm reenter”
19
→
20.5 send both notifications; string included: “alarm fired”
20.5
→
23 nothing sent
Example 3 (
Figure
4.m)
FTP PUSH and SNMP TRAP programmed to be sent for analog variable 8
upon
activation when decreasing and on return
, with threshold 20.5 and hysteresis 1.5.
23
→
21 nothing
sent
21
→
20.5
send both notifications; string included: “alarm fired”
20.5
→
19 nothing
sent
19
→
21.5 nothing
sent
21.5
→
19.5 nothing
sent
19.5
→
22
send both notifications; string included: “alarm reenter”
22
→
20.5
send both notifications; string included: “alarm fired”
20.5
→
19 nothing
sent
Figure 4.k - Analog and integer variables - Example 1
Figure 4.l - Analog and integer variables - Example 2
Figure 4.m - Analog and integer variables - Example 3