E-mail configuration – NOVUS Web Server – WS10 User Manual

Page 22

Advertising
background image

Web Server – WS10

NOVUS AUTOMATION

22/33

E-MAIL CONFIGURATION

The WS10 can send multiple e-mail messages, containing dynamic information. Messages can be sent periodically or by exception, based on
register values. Both the subject and body of the message can contain dynamic data. The data logger file can be included on any message as an
attachment. Some typical applications of the e-mail function:

Periodically send system data, including data logger file.

Send notification messages when alarm conditions are detected or terminated.

Send SMS to mobile phones.

To send e-mails, the WS10 must have access to a SMTP (Simple Message Transfer Protocol) server. The SMTP server can be reached through
the Ethernet or PPP (modem) interface. The Ethernet is used when the SMTP server is located on the network or at the internet accessed through
the gateway. PPP connection is used when the WS10 in installed on remote locations where the network is not available. The WS10 can dial to a
internet server provider and use its SMTP server to route the e-mail messages. Before using PPP and modem, read the section: “Configuring the
modem to start a data call”. To use a domain name instead of a IP address for the SMTP server, refer to section “DNS Configuration”.

E-mails are enabled when the MAIL.CFG file is installed. Follows an example of the MAIL.CFG file.

[General]
LinkType=PPP
SMTPServer=192.168.200.2
SMTPPort=25
Login=novus
Pass=suvon
[email protected]
Name=WebServer
TimeZone=-3
[Message 1]
<DestList>
[email protected]
[email protected]
<Subject>
Furnace 3. Temperature = %TT101/PV%
<MessageBody>
Current furnace conditions:

Temperature = %TT101/PV%
Pressure = %_INTERNAL_/IN1%
Alarm 2 = %_ALARMS_/ALARM2
.
<Attachment>
_INTERNAL_/_LOG
<Scheduler>
Interval = 240
TimeFilter = 30
<TriggerList>
_ALARMS_/ALARM1
_INTERNAL_/MEM12

At [General] section are defined the SMTP server connection parameters.

Each following section define a new e-mail. The section name should be
different for each message, and has no other usage.

The sub-section <DestList> contains a list of addressees. One e-mail address
can be defined at each line.

The sub-section <Subject> contains a single line for the message subject.
Dynamic data can be included by using register names enclosed on 2 percent
characters.

The sub-section <MessageBody> contains the body of the message, with
multiple lines. Dynamic data can be included by using register names
enclosed on 2 percent characters. The final line must contain a single period
character (.) to define the end of the message body. The message can be
defined using HTML.

The sub-section <Attachment> allows the attachment of the data logger file to
the message. Only tags _LOG and _LOG_E of the _INTERNAL_ device can
be referenced here.

At sub-section <Scheduler> an interval can be defined for the message
periodic transmission. A time filter can be defined to avoid excess of
messages.

At the <TriggerList> sub-sections a list of tags can be included. When any of
these tags change from a zero to a non-zero value, the message is sent.

Advertising