ioPAC8500_iec_di
Detailed Description
Background
ioPAC8500 DI IEC Sample Project
Copyright
Moxa Inc.
Date
08-11-2015
Author
TJ Tai
Version
V1.0
Scenario
Introduction
This is DI IEC sample project. The controller get DI values to operate or represent the condition and then set DO on/off or PWM mode.
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_di.rtu
Step by Step
Initialization
- Import config file onto ioPAC
- Open IEC project via ISaGRAF
- Build -> Build Solution
- Import IEC porject onto ioPAC
Step 1
Prog1 check the DI0 and DI1 status and doing the OR operation, the boolean result will set to DO0.
Step 2
Prog2 detect DI2 status and then set to DO1 channel to start or stop PWM.
Step 3
Prog3 detect DI3 counter value, if its value > 10, then set DO2 ouput PWM 5 times.
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