### Service/Alarm/email_alarm/ioPAC8500_iec_email_alarm/ioPAC8500_iec_email_alarm_readme/ioPAC8500_iec_email_alarm_readme.md

# ioPAC8500_iec_email_alarm

## Detailed Description

### Background

ioPAC8500 Email Alarm IEC Sample Project

##### Copyright

Moxa Inc.

##### Date

08-11-2015

##### Author

TJ Tai

##### Version

V1.0

## Scenario

### Introduction

This is Email Alarm IEC sample project. The controller detect DI channel 7 values, if its on then set email alarm trigger on to send the email which is config in RTUxpress.

ioPAC8500_iec_email_alarm scenario

## Operating Environment

### Hardware Environment

- CPU module:

    ioPAC 8500-9-RJ45-IEC-T

- Slot 1:

    85M-1602-T

- Slot 2:

    85M-2600-T

### Software Environment

- Programming Tool:

    ISaGRAF 6.3

- Configuration Tool:

    Moxa RTUxpress 1.1

### Config Setting

Config file: ioPAC8500_iec_email_alarm.rtu

## Step by Step

### Initialization

1. Import config file onto ioPAC
2. Open IEC project via ISaGRAF
3. Build -> Build Solution
4. Import IEC porject onto ioPAC

### Step 1

Config email basic information and content in RTUxpress to start email_alarm_service. Prog1 first check the email alarm service status is correct.

### Step 2

Detect if DI7 turn on, then send email report with all DO channel status to the mailbox which is set in the RTUxpress.

### Step 3

Check this email has been successfully sent out or not by monitor status tag of this profile.

## Reference

- ISaGRAF Function Block Help:

  > please press F1 button on the function block which need more description in the ISaGRAF

- Moxa ioPAC ISaGRAF Reference Manuals:

  > Please press Help -> Moxa ioPAC ISaGRAF Reference Manuals in the Moxa RTUxpress utility