User manual

105G Wireless Gateway User Manual
Page 171 ©February 2009
Parameter Description
Area Source Fieldbus Interface Area. Possible values are ‘IN’ or ‘OUT’
Offset Source offset in Fieldbus Area, shall be written in decimal or hexadecimal.
Type Source data type. Possible values are ‘byte’, ‘word’, and ‘long’
Match Value Value to compare with the source data. Shall be written in decimal or
hexadecimal.
Mask The module performs a logical ‘and’ on the source data and this Mask before
the value is compared with the Match Value. The value shall be written in
decimal or hexadecimal.
Match
Operand
Specifies how the data shall be compared with the Match Value. Possible
values: ‘<‘, ‘=’, ‘>’
Recipient(s) Destination email addresses, semicolon separated
Sender Sender email address
Subject line Email subject (One line only)
Extra Headers Optional. May be useful for advanced users when for example sending HTML
emails etc.
Message Body The actual email message.
The data is read in the Fieldbus Interface from the area and offset specified by the
parameters Area, and Offset. The data size to read is specified by the Type parameter.
The module performs a logical ‘AND’ between the read data and the parameter Mask.
The result is compared with the parameter Match Value. How the data shall be compared
is specified by the Match Operand.
Example:
[Register]
IN, 0x0003, byte
[Register match]
0x20, 0x7F, >
[To]
controlroom@system.com
[From]
monitor@system.com
[Subject]
Status
[Message]
All data correct.
In the above example:
A byte is read from the Fieldbus IN area, at byte address 0003h
The module performs a logical <data> AND 7Fh.
If the result is larger than 20h, the email message is sent to
support@elprotech.com