### Service/AOPC/aopc/ioPAC8500_iec_aopc/ioPAC8500_iec_aopc_readme/ioPAC8500_iec_aopc_readme.md

# ioPAC8500_iec_aopc

## Detailed Description

### Background

ioPAC8500 AOPC IEC Sample Project

##### Copyright

Moxa Inc.

##### Date

08-13-2015

##### Author

TJ Tai

##### Version

V1.0

## Scenario

### Introduction

This is AOPC IEC sample project. The controller setup AOPC server and update DI counter by trigger tag, DI/DO by on change and AI by interval.

ioPAC8500_iec_aopc scenario

## Operating Environment

### Hardware Environment

- CPU module:

    ioPAC 8500-9-RJ45-IEC-T

- Slot 1:

    85M-1602-T

- Slot 2:

    85M-2600-T

- Slot 3:

    85M-3811-T

### Software Environment

- Programming Tool:

    ISaGRAF 6.3

- Configuration Tool:

    Moxa RTUxpress 1.1

### Config Setting

Config file: ioPAC8500_iec_aopc.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

Setting below in RTUxrpess AOPC part: A. S1_DI0_DIValue: Update on Change B. S2_DO0_DOValue: Update on Change C. S1_DI1_CounterValue: Update by Tag D. S3_AI0_EngineeringValue: Update every 5 secs

### Step 2

Prog1 check AOPC connection or not, online = 1; offline = 0.

### Step 3

The Prog1 monitor AOPC service status and profile status working correctly or not.

### Step 4

If DI2 turn on, set AOPC trigger tag on, then DI1 counter value will be update by this trigger tag.

## 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