The content of this manual is also available at Moxa Web Site.
Moxa Technologies Co., Ltd.
Tel:+866-2-8665-6373
Fax:+886-2-8665-6372
www.moxa.com
support@moxa.com.tw
Industio CI-134 Series User’s Manual
The product described in this manual is furnished under a license agreement and may be used only in
accordance with the terms of the agreements.
Copyright Notice
Copyright 1999 Moxa Technologies Co., Ltd.
All rights reserved.
Reproduction in any form without permission is prohibited.
Trademarks
MOXA is a registered trademark of Moxa Technologies Co., Ltd.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on
the part of Moxa.
Moxa provides this document “as is”, without warranty of any kind, either expressed or implied, including,
but not limited to, the particular purpose. Moxa may make improvements and/or changes in this manual or
in the product(s) and/or the program(s) described in this manual at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa Technologies
assumes no responsibility for its use, or for any infringements of rights of the fourth parties which may
result from its use.
This product could include technical or typographical errors. Changes are periodically made to the
information herein; these changes may be incorporated in new editions of the publication.
MOXA Internet Services
Customer’s satisfaction is always our number one concern. To ensure that customers get the full benefit of
our services, Moxa Internet Services have been built for technical support, product inquiry, new driver
update, user’s manual update, etc.
The followings are the services we provide.
E-mail for technical support
addres
s:support@moxa.com.tw
FTP site for free driver update
address:
user ID: ftp
password:your_email_address
World Wide Web (WWW) Site for product info
address:
ftp.moxa.com
or
ftp.moxa.com.tw
www.moxa.com
or
www.moxa.com.tw
About this Manual
This manual is composed of six chapters and one appendix. This manual is written for installers, system
administrators and software programmers.
If you are a first-time installer and system administrator, we recommend you to go through the whole
manual except chapter 4.
If you are a software programmer, you may refer to chapter 4, “Serial Programming Tools”.
If you need cable wiring information, please see the “Connection Cable and Cable Wiring” chapter.
If you encounter any problem during the installation, please refer to the “Troubleshooting” chapter.
Chapter 1 Introduction
Overview and features of the Industio CI-134 Series boards, list of items and overall installation guide.
Chapter 2 Hardware Installation
Hardware installation for the Industio CI-134 Series boards and connection cable. Hardware
configuration utility, Io-irq.exe, is detailed.
Chapter 3 Software Installation
Software installation, configuration, driver loading/unloading, driver update and removal for various
operating systems: Windows NT, Windows 95/98, DOS and Windows 3.x.
Chapter 4 Serial Programming Tools
Short description of the programming tools, PComm, under Windows NT and Windows 95/98 and
API-232 under DOS and Windows 3.x. Also RS-485 programming issue is covered.
Chapter 5 Connection Cable and Cable Wiring
Description of the RS-422 and RS-485 cable wiring for the connection cable.
Chapter 6 Troubleshooting
Common problems and possible answers for the Industio CI-134 Series boards.
Appendix
Specification details, UART and I/O port address map.
PC I/O Port Address Map..................................................................................................A-3
Overview
Industio - The Industrial Multiport Async Solution
1
1
1
Introduction
The term Industio stands for smart multiport serial I/O solution for industrial
applications. The
CI-134IS
, are designed for 16-bit ISA/EISA bus. They offer 4 independent RS-
Industio CI-134 Series boards, including CI-134, CI-134I and
422/RS-485 serial ports. It offers reliable communication link over a longer distance
(4000ft). It is best suitable for industrial environment.
Connections with
point-to-pointfull-duplex or multidrop half-duplex are available
to meet your needs. Each port can connect up to 64 devices, such as data acquisition
equipment and many other serial devices, to the PC and its compatible systems in a
multidrop environment.
Termination Resistor Jumper for Port 1
CAP Jumper
ON
ON
JP1
1 2 3 4
Interface Switch
Data Mode Switch
ON
1 2 3 4
Termination Resistor Jumper for Port 2
Termination Resistor Jumper for Port 4
Termination Resistor Jumper for Port 3
JP5
JP6
JP4
JP3
Industio CI-134 Series Board
Industio CI-134 Series User’s Manual 1-1
Automatic Data Direction Control for RS-485
To ease the 2-wire RS-485 half-duplex control, Automatic Data Direction Control
intelligence is built on each
interference. Hence, the applications can manage the RS-485 port without extra code
to control the half-duplex protocol.
Industio CI-134 board. Eliminating the need of software
Termination Resistors Ready for RS-422/RS-485
Termination Resistors are already installed on the Industio CI-134 boards and no
more headaches for finding proper resistors and connecting them for impedance
matching problem. More details are in chapter, “Connection Cable and Cable
Wiring”.
Surge/Isolation Protection
To meet the demand of high reliability in industrial environment and to prevent the
boards from damage caused by lighting or high potential voltage, an optical isolation
option (2KV) and surge block option (2KV) are available. This is critical to harsh
environment such as factory.
ASIC Design, Compact Size
The Industio CI-134 Series is equipped with MOXA customer-designed ASIC chip,
which replaces lots of conventional IC and hence reduces the board to half-size,
increase the operation performance, and lower the failure rate of the board. Full range
of I/O addresses and IRQ numbers are available. In addition, with
EEPROM
or switch. These features make each port on the board truly independent to any other
port and thus compatible with most existing non-intelligent boards. Because the
family is so flexible in hardware configuration, it is compatible virtually with all
kinds of other manufacturer's non-intelligent multiport boards using 16550 UART.
for storing the configuration data, the family is designed without jumper
CAP Address
Instead of using traditional jumper or switch for IRQ and I/O address settings,
hardware configuration of each port is easily set by DOS utility,
read and write the on-board EEPROM for configuration information through the
CAP (Configuration Access Port) address. The CAP address is the only channel via
1-2 Industio CI-134 Series User’s Manual
on-board
Io-irq.exe, which
Introduction
which the configuration utility Io-irq.exe can access the board, which is identical to
the first port's base I/O address.
The CAP jumper,
Normally JP1 is left open. When JP1 is short, the CAP address is forced to a fixed I/O
address,
shorted, detailed in chapter, “Hardware Installation”.
0xA700. While doing quick hardware installation, JP1 is required to be
JP1, is designed in case of that users forget the CAP address.
Quick Installation
To ease the hardware configuration, users who install only one Industio CI-134
Series board under Windows NT
installation
described in chapter 2, “Hardware Installation”.
and 95/98 are recommended to adopt quick
Operating System Support
The family is operational under most popular operating systems such as Windows NT,
Windows 95/98, DOS, SCO UNIX/XENIX/OpenServer, Linux, QNX, FreeBSD, etc.
However,
Windows 3.x are provided for better installation, configuration and performance. In
this manual, chapters for MOXA
Windows 3.x device drivers are described. For those compatible systems not
mentioned, please refer to system’s manual for how to install and configure the
standard driver.
MOXA device drivers for Windows NT, Windows 95/98, DOS and
Windows NT, Windows 95/98, DOS and
MOXA Serial Comm Tools
For application development, MOXA provides an easy-to-use serial communication
library under Windows NT, Windows 95/98 (
(
API-232). Users can use this library to develop your own applications using
Microsoft C, Turbo C, Assembly, QuickBASIC, Turbo Pascal, Clipper, Visual Basic,
Visual C++, Borland Delphi, etc. Utilities, such as Data Scope, Monitor, Terminal
Emulator, Diagnostics, etc., are included for debugging or monitoring the
communication status or terminal emulation or even file transferring.
Industio CI-134 Series User’s Manual 1-3
PComm), DOS and Windows 3.x
Broad Applications
Features
The board is suitable for many industrial applications. Here are a few:
l Multi-point data acquisition
l Industrial Automation
l Factory Automation
l Remote serial device control
The Industio CI-134 Series consists of members as follows,
v Support 4 independent RS-422 or RS-485 serial ports
v Standard COM port compatible
v High circuit integration with state-of-the-art ASIC design, compact half-size
v No I/O switch, no IRQ jumper, easily configured by software
v Independent I/O address, IRQ setting for each of 4 serial ports
v Switch for RS-422/RS-485 selection
v 2-wire RS-485 operation
v Switch for RS-485 data direction control¡ÐAutomatic Data Direction Control
Industio CI-134 Series
Mode or By RTS Mode
v Jumpers for Termination Resistor selection, no more headache for impedance
matching
v Reliability¡ÐHigh speed TI550C Communication Controllers with on-chip
hardware flow control guarantees no data loss
v Support isolation or surge protection
v Powerful Serial Comm tools¡ÐPComm and API-232
v Support major OS¡ÐWindows NT, Windows 95/98, DOS, Windows 3.x
v Compatible with many other OS ¡ÐSCO UNIX/XENIX, QNX, Linux,
FreeBSD,OS/2
1-4 Industio CI-134 Series User’s Manual
CI-134 Series
Introduction
Check List
Windows NT
Windows 95/983
DOS3
Windows 3.x3
LinuxR
SCO UNIX/OpenServer C
SCO XENIXC
QNXC
FreeBSDC
OS/2C
3:Driver supported by Moxa and shipped with product
R :Driver shipped by request
C :Driver supported by OS
Note: Download the newest drivers from the MOXA FTP service
3
Upon unpacking the Industio CI-134 Series package, you can find the following
items:
v Industio CI-134 Series 4 port serial board
v Device driver diskettes:
l Windows NT and Windows 95/98¡Ñ1
l PComm Lite¡Ñ1
l DOS/Windows 3.x driver¡Ñ1
v Industio CI-134 Series User’s Manual (This manual)
v Fan out cable DB-37 to DB-9¡Ñ4
Industio CI-134 Series User’s Manual 1-5
Installation Guide
This section gives a brief summary of how to install the Industio CI-134 Series under
each supported operating system. The installation is simple and involves the
following stages:
Configure CI-134 Series with Io-irq.exeSee chapter 2
Install the CI-134 Series board
Install the software from the disketteSee respective O.S. Section
Configure the driver for the board and portsin chapter 3
Connect the devices with the cable See chapter 5 for cable wiring
Restart the systemSee chapter 3 for board init.
Check the driver initialization statusstatus checking for each O.S.
If the system restart successfully, you may
Develop your applications orSee chapter 4, “Serial
Execute the desired applicationsProgramming Tools”
1-6 Industio CI-134 Series User’s Manual
2
2
2
Hardware Installation
The installation of the Industio CI-134 Series consists of hardware and software
installation. The hardware installation is detailed in this chapter. The next chapter
deals with the software installation for various operating systems.
Termination Resistor Jumper for Port 1
CAP Jumper
ON
ON
JP1
1 2 3 4
Interface Switch
Data Mode Switch
ON
1 2 3 4
Termination Resistor Jumper for Port 2
Termination Resistor Jumper for Port 4
Termination Resistor Jumper for Port 3
JP5
JP6
JP4
JP3
Industio CI-134 Series Board
First Thing to Do: Interface Settings
1. Before installing the board into the slot, you should set all the jumpers and
switches to what you want.
Auto Data Direction Control mode, indicated as *
l CAP Jumper JP1:
Open * Not forcing the CAP address to 0xA700.
ShortForce the CAP address to 0xA700. Set to this if you want to do
quick hardware installation.
you want to re-configure the board with IO-IRQ.
The default (factory) settings are set to RS-485,
Industio CI-134 Series User’s Manual 2-1
.
Or forget the CAP address when
l Interface Selection Switch SW2 for Port 1/2/3/4:
ON * Set the port interface to RS-485.
OFF Set the port interface to RS-422.
lData Mode Selection Switch SW1 for Port 1/2/3/4: (Valid if SW2 is ON)
ON *
Set the RS-485 port to Automatic Data Direction Control Mode.
OFF Set the RS-485 port to By RTS Mode.
lTermination Resistor Port 1/2/3/4 Jumper JP3/4/5/6: (Valid if SW2 is ON)
Open *
Not using Termination Resistor
Short Using Termination Resistor
In addition, it has the following default settings for I/O addresses and Interrupt
Note !If the default settings above are what you desired and good for the
system without conflicts, you may simply install the board in the
system and go directly to the next chapter, “Software
Installation”. Otherwise, follow the instructions below.
2.
After you set all the jumpers and switches, you should do either the normal
hardware installation
IO-IRQ Utility”) or
(detailed in the later section, “Hardware Installation with
the quick hardware installation (detailed right in the next
section, “Quick Hardware Installation”). The latter is provided to facilitate the
hardware installation, only under the circumstances that:
l Only one Industio CI-134 Series board is allowed to install in a system.
l Windows NT and 95/98 are the only operating systems supported.
l CAP Jumper JP1 is short and I/O address 0xA700 must be free.
Quick Hardware Installation
To fully utilize the superior feature of flexible hardware configuration design of the
Industio CI-134 Series, a quick and easy method of installation is designed, which
absolutely saves you from hardware configuration effort, i.e.,
WITHOUT running configuration program: Io-irq.exe
installation
. Simply always short the
2-2 Industio CI-134 Series User’s Manual
Hardware Installation
CAP jumper JP1. The software and hardware configuration will be completed at the
same time while doing the software configuration, detailed in the next chapter. Of
course, the method is valid only under the previously described circumstances.
Besides, the speed range will be set to
called
High Speed Spectrum and detailed in section "Hardware Installation with
IO-IRQ Utility".
from 50 to 921.6K bpsby default, which is
How to Do Quick Hardware Installation
1. Short the jumper JP1 on the upper-left corner of the board.
2. Plug the board in PC with the desired system installed (Windows NT or 95/98),
which is powered off in advance.
3. Do software (driver) installation, detailed in the next chapter.
This is to specify the desired I/O address, IRQ and INT Vector in the software
configuration panel, no matter what hardware settings are on the board. The
software configuration program will automatically update the hardware settings.
After this, users already complete the whole installation.
4. Shutdown the system (Windows NT or 95/98).
5. Do power off and then on (or Reset) the PC. (Please cold start.)
6. Restart System (Windows NT or 95/98).
It is very important to keep the JP1 always short in this case. Without running the
hardware configuration program, Io-irq.exe under DOS prompt, the software
configuration program will automatically update the hardware settings of the
board while updating the software settings. This saves the trouble doing hardware
configuration. However, remember to
configuration changed
.
cold start the system every time the
Industio CI-134 Series User’s Manual 2-3
Hardware Installation with IO-IRQ Utility
This section is for those who can not use quick hardware installation:
l Install two or more Industio CI-134 Series boards in a system.
l Fail to install, due to the I/O address 0xA700 is not available or has conflict in the system.
l Use operating systems other than Windows NT and 95/98.
Before proceeding to the
“Software Installation”, do
“Io-irq.exe”, detailed in the next section.
Remember to keep the hardware settings in mind for the software installation.
Because the ASIC-designed
manually configuring the I/O address, IRQ, INT Vector, etc. of the boards, you
run the software utility, Io-irq.exe, in the driver diskette under DOS system to
change the hardware configuration.
1. Choose a PC that has DOS system inside.
2. Power off the PC.
3. Make sure no hardware conflict and plug the board in a free 16-bit slot of the PC,
one board at a time with JP1 open.
software (driver) installation, detailed in the next chapter,
hardware configuration to setup the I/O and IRQ with
Industio CI-134 Series has no switch and no jumper for
must
+ If you are installing multiple boards, insert one board at a time and
configure it using the Io-irq program before inserting the next board.
This is to prevent conflict between two boards with same default
hardware settings.
The
Industio CI-134 Series has the following default (factory) settings,
I/O address:
(Port 4)
IRQ:
INT Vector: 0x1C0
Configuration Access Port (CAP): 0x180
5. Run the utility “Io-irq.exe” contained in the driver diskette to set up I/O address,
IRQ and INT vector of the board. Please refer to the next section, “IO-IRQ Utility
and Hardware Configuration” for more details. Or follow the on-line help to
configure the
After completing the hardware configuration, the board is ready for use under
operating systems, such as Windows NT, 95/98, 3.x, DOS, etc.
Industio CI-134 Series board.
IO-IRQ Utility and Hardware Configuration
Note that the CAP address, e.g. 0x180, is identical to the first port's I/O address
except in one case that the JP1 jumper is installed before powering on the PC. In this
case, the CAP address will be forced to
correctly. With the correct CAP address, the utility can find the configuration stored
in the
on-board EEPROM and display it on the configuration panel. The CAP
address is the only channel via which the configuration utility Io-irq.exe can access
the board.
0xA700. The CAP address must be typed
1. Run the utility “Io-irq.exe” contained in the driver diskette to set up I/O address,
IRQ and INT vector of the board. Select “
press
ENTER in the following dialog box.
Industio CI-134 Series User’s Manual 2-5
Smartio/Industio ISA Family” and
2. Enter the CAP address of the Industio CI-134 Series board to be configured in
the following dialog box and press
Enter.
3. In the configuration dialog box, configure the following parameters as necessary.
2-6 Industio CI-134 Series User’s Manual
Hardware Installation
The followings are fields for configuration.
Port IndexIndicate the port index for each port.
I/O addressEnter the base I/O address for each port, either sequentially or
not. Avoid to conflicting with any other devices.
IRQEnter the IRQ, 2, 3, 4, 5, 7, 10, 11, 12 or 15, for each port,
independently or not.
SpeedThis field specifies the use of normal or high speed capability.
Normal speed ranges from 50 bps to 115.2 Kbps. High speed
ranges from 50 bps to 921.6 Kbps.
supported both normal and high speed spectra.
Industio CI-134 Series
Note that, currently, port that uses
95/98 driver
Industio CI-134 Series board is configured as High Speed
Spectrum
NT and 95/98 driver
example, the displayed speed 38.4 Kbps is equal to the working
speed 38.4 Kbps.
will run at the displayed speed. To be clear, when
, any port driven by the Moxa-provided Windows
will display the exact working speed. For
Industio CI-134 Series User’s Manual 2-7
MOXA Windows NT and
However, if the port is driven by NON Moxa-provided driver,
such as
Windows NT and 95/98, such as
real working speed is equal to
standard serial driver, or Moxa drivers other than
DOS and Windows 3.x, the
8 times of the displayed speed.
For example, a port, if set to Normal Speed Spectrum with 38.4
Kbps, will work at 38.4 Kbps for sure; while a port, if set to High
Speed Spectrum with displayed speed 38.4 Kbps, will actually
work at 307.2 Kbps (38.4 Kbps
INT VectorEnter the interrupt vector I/O address for all ports. I/O address
for interrupt vector is from 00000H to 0FFFFH. Interrupt vector
is one byte of I/O address, in which each bit is used to indicate
the occurrence of interrupt for corresponding port.
There are two modes for the
is using interrupt vector, the other is not. To use interrupt vector,
type in the hardware interrupt vector I/O address. If not using
interrupt vector, type 0 or leave blank as the interrupt vector.
Driver employing interrupt vector scheme is supposed to have
better performance than employing polling scheme.
2-8 Industio CI-134 Series User’s Manual
Industio CI-134 Series driver. One
Hardware Installation
4. Press F10 to save the configuration and exit the utility.
Industio CI-134 Series User’s Manual 2-9
2-10 Industio CI-134 Series User’s Manual
In this chapter, the software driver installation, configuration and driver
update/removal procedures are described for various operating systems, including
Windows NT, Windows 95/98, DOS and Windows 3.x. Before proceeding with the
software installation, complete the hardware installation, detailed in previous chapter,
“Hardware Installation”.
If it is necessary for you to develop your own applications, please also refer to the next
chapter, “Serial Programming Tools”, for programming issues.
Windows NT
Windows NT supports up to 256 serial ports, from COM1 to COM256. To fully
integrate the advanced features of Windows NT, multi-process and multi-thread,
pure 32-bit Windows NT device drivers are developed for the
multiport boards. The driver conforms to Win32 COMM API standard.
3
Software Installation
Industio CI-134 Series
3
3
l To install the driver for the first time, please go directly to the next section,
“Installing Driver”.
l If you already have installed the driver and want to re-configure the board and
port, add more boards or delete boards, please refer to the section “Configuring
Board and Port”.
l To update or remove the driver, please go to the section, “Updating Driver” or
“Removing Driver”.
Industio CI-134 Series User’s Manual 3-1
Installing Driver
Following is the procedure for installing the Industio CI-134 Series driver for the
first time
Note !Make sure the board has already been plugged in the system slot if you
1. Please log in NT as Administrator.
2. Open the [Control Panel], click on the [Network] icon and select the [Adapters]
3. Click on the [Add]button, thenthe [Have Disk...] button in “Select Network
4. Specify the exact path of the driver diskette, A:\WINDOWS.NT. Then click
under Windows NT 4.0.
are doing
tab.
Adapter”.
[
OK].
quick installation.
3-2 Industio CI-134 Series User’s Manual
Loading...
+ 55 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.