8411/8811 User Manual, Version 1.0, January 2008, 8MS-002-10 ---
3
T
T
a
a
b
b
l
l
e
e
o
o
f
f
C
C
o
o
n
n
t
t
e
e
n
n
t
t
s
s
1. Introduction ...........................................................................................5
1.1. Features ............................................................................................................7
1.2. Specifications .................................................................................................10
1.3. Overview .........................................................................................................12
1.4. Companion CD...............................................................................................13
2. Quick Start...........................................................................................14
2.1. Hardware Installation ....................................................................................14
2.1.1. Install your controller....................................................................................14
2.1.2. Insert the I/O module ...................................................................................16
2.2. Software Installation......................................................................................21
2.3. Download programs to your controller.......................................................22
2.3.1. Establish a connection and disabling the running program..............22
2.3.2. Download and executing programs on your controller ......................25
2.4. Upgrade the MiniOS7 image file.................................................................27
3. Your First Program.............................................................................29
3.1. Set up Your Compiler....................................................................................29
3.2.1. Install the compiler........................................................................................30
3.2.2. Set the environment variables ..................................................................33
3.2. API for Your Controller ..................................................................................36
3.3. Create Your First Program ...........................................................................38
4. API and Demo Reference.................................................................46
4.1. API for COM Port...........................................................................................48
4.1.1. API for standard I/O Port.............................................................................53
4.1.2. More demo reference ..................................................................................55
4.2. API for I/O Modules .......................................................................................57
4.2.1. Steps to use i-8K I/O modules in slots....................................................58
4.2.2. Steps to use i-87K I/O modules in slots .................................................59
4.2.3. Steps to use i-7K and i-87K I/O modules that connected to COM port...61