Expert
Logger
If you entered in the free setting, for example,
,
EventVar <[email protected]>
will be sent, that is, the channel name is
sent in addition as a name to be displayed.
Incorporate channel values in the text to be sent
To do this, switch to the
Variables/Mail server
tab and press the
Add variable
but-
ton.
A new line appears. Now name the variable and select the appropriate source chan-
nel.
To use the newly created variable in the message text, please switch back to
the
Basic Settings
tab.
In the
message content
, a variable can be used according to the following scheme:
%variablen_name.variablen_attribut%
For
variablen_name
, please insert the previously selected variable name.
The following options are available for
variablen_attribut
:
Attribute
Displayed value
Surname
Source channel name
id
Hexadecimal ID of the source channel
value (int)
Integer value of the source channel
value (float)
(
floating) comma number of the source channel
value (string)
Text value of the source channel
flags.l
Flags of the source channel
Example
For example, if you want to monitor a temperature, you can trigger an event by
exceeding a limit.
Assuming an
analogue input
measures the ambient temperature by thermocouple.
This analogue input is monitored by
limit channel
. This limit channel is configured
to 35 °C. The limit channel serves as the source for an
event channel
. As variables
in the event channel, the analogue input is configured as
var0
and the limit chan-
nel is configured as
var1
.
Below is the example configuration of the message content:
Die Temperaturmessung an %var0.name% meldet eine Überschreitung des Gren-
zwertes von %var1.value(int)%°C!
Die derzeitig gemessene Temperatur beträgt %var1.value(float)% °C.
The resulting mail/SMS thus contains the following, for example:
Die Temperaturmessung an Analogeingang #03 - Thermoelement meldet eine
Überschreitung des Grenzwertes von 35°C!
Die derzeitig gemessene Temperatur beträgt 36,565°C.
118
Delphin Technology AG
Januar 2018
Expert
Logger
Manual