18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Alarms, Events, and Trends<br />

Field Remarks Syntax<br />

the messages are kept in the buffer until they are sent successfully or when the buffer<br />

reaches its maximum size.<br />

Send email when alarm is<br />

Current Status<br />

Current Error<br />

Message Format<br />

Send Trigger<br />

Max buffer size<br />

Buffer size<br />

Clear Buffer<br />

Disable send<br />

Allow you to configure which alarm events should generate emails:<br />

• Active: When the alarm becomes active.<br />

• Ack: When the alarm is acknowledged.<br />

• Norm: When the alarm is normalized.<br />

Notice that each event can be enabled/disabled individually.<br />

The tag configured in this field, if any, is updated with the current status of the current<br />

or last email that the project attempted to send:<br />

• -2: Incorrect version of the INDMail.DLL library.<br />

• -1: The INDMail.DLL library is corrupted.<br />

• 0: SendEmailExt function is not being executed.<br />

• 1: Sending email(s)<br />

• 2: Last email was sent successfully.<br />

• 3: There was an error sending the last email.<br />

The tag configured in this field, if any, is updated with the error message describing<br />

the result of the last email that the project attempted to send. Therefore, when<br />

configuring a tag in this field, this tag must be a String type.<br />

This interface allows you to configure the actual format of the message sent by email,<br />

based on the alarm event(s):<br />

• Day, Month, Year, Hour, Minute, Second, MS: The options checked will<br />

compose the timestamp for the alarm messages. MS stands for milliseconds.<br />

• Items: The options checked will compose the email message for each alarm.<br />

You can configure the order of the items, by using the Move Up and Move Down<br />

buttons.<br />

• Separator: Allow you to choose the separator used between the items checked<br />

in this interface.<br />

While you configure these settings, the Sample field displays an example of the<br />

format of the message according to the settings being configured.<br />

When the alarm events are generated, they are kept in an internal buffer (memory).<br />

When the tag configured in this field changes of value, the email(s) on the internal<br />

buffer are sent to the addresses configured in the To, Cc and Bcc fields. After being<br />

successfully sent, the emails are removed from the internal buffer.<br />

Maximum number of alarm messages (events) that can be stored in the internal buffer<br />

simultaneously. When this limit is reached, the buffer follows a FIFO (First-In, First-<br />

Out) behavior, discharging the older messages as soon as the newer messages are<br />

generated, guaranteeing that the buffer does not exceed the limit configured in this<br />

field.<br />

The tag configured in this field, if any, is updated with the number of messages<br />

(events) currently stored in the internal buffer.<br />

When the tag configured in this field changes of value, all messages (events) currently<br />

stored in the buffer are deleted. These messages will never be sent.<br />

When the value of the tag configured in this field is TRUE, the Email feature is<br />

temporarily disabled. Alarm events generated while the Email feature is disabled will<br />

not be stored in the internal buffer. Also, emails will NOT be sent in this condition,<br />

even if the tag configured in the field Send Trigger changes of value.<br />

checkbox<br />

Tag<br />

Tag<br />

Checkbox and Radio-button<br />

Tag<br />

Tag or Number<br />

Tag<br />

Tag<br />

Tag<br />

Page 244<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!