Industio CP-114 Series User’s Manual
3 in 1 RS-232/422/485 Industrial Serial Board for PCI Bus
Fourth Edition, November 2004
Moxa Technologies Co., Ltd.
Tel:
+886-2-8919-1230
Fax: +886-2-8919-1231
MOXA Technical Support
Worldwide:
The Americas
Download from Www.Somanuals.com. All Manuals Search And Download.
MOXA Internet Services
Customer satisfaction is our number one concern, and to ensure that customers receive the full benefit of
our products, Moxa Internet Services has been set up to provide technical support, driver updates, product
information, and user’s manual updates.
The following services are provided
World Wide Web (WWW) Site for product information:
............................ http://www.moxa.com
............................ http://www.moxa.com.tw
Download from Www.Somanuals.com. All Manuals Search And Download.
About This Manual
This manual is composed of six chapters and one appendix. This manual is written for installer, system administrator and
software programmer.
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 chapter 5, “Connection Cable and Cable Wiring”.
If you encounter any problem during installation, please refer to chapter 6, “Troubleshooting”.
Chapter 1 Introduction
Overview and features for the Industio CP-114 Series are described. Also check list and overall installation guide.
Chapter 2 Hardware Installation
Hardware installation for the Industio CP-114 Series is detailed.
Chapter 3 Software Installation
Software installation, configuration, driver loading/unloading, driver upgrade and removal for various operating
systems: Windows NT, Windows 95/98 and DOS.
Chapter 4 Serial Programming Tools
Roughly describing the programming tools for various O.S. platforms, including PComm under Windows NT and
Windows 95/98, and API-232 under DOS. Also RS-485 programming issue is covered.
Chapter 5 Connection Cable and Cable Wiring
Describing the RS-232 and RS-422/485 cable wiring.
Chapter 6 Troubleshooting
Describing the problems and possible answers for the Industio CP-114 Series.
Appendix
Specification details, PCI, UART and DB37 pinouts are described.
Download from Www.Somanuals.com. All Manuals Search And Download.
Table of Contents
Chapter 1 Introduction .............................................................................................1-1
Overview................................................................................................1-1
Features ................................................................................................1-2
Check List..............................................................................................1-3
Installation Guide...................................................................................1-3
Chapter 2 Hardware Installation..............................................................................2-1
Chapter 3 Software Installation ...............................................................................3-1
Windows NT ..........................................................................................3-1
Adding/Removing Board............................................................................3-5
Updating Driver..........................................................................................3-5
Windows 95/98 ......................................................................................3-6
Configuring Board and Port .....................................................................3-13
Updating Driver........................................................................................3-14
DOS.....................................................................................................3-16
Unloading Driver......................................................................................3-20
Chapter 4 Serial Programming Tools......................................................................4-1
PComm Installation................................................................................4-1
Utilities...................................................................................................4-2
DOS.......................................................................................................4-5
By RTS Mode.............................................................................................4-7
Chapter 5 Connection Cable and Cable Wiring .....................................................5-1
DB37 Connector ....................................................................................5-7
Chapter 6 Troubleshooting......................................................................................6-1
Windows NT ..........................................................................................6-1
Windows 95/98 ......................................................................................6-2
Chapter A Technical Reference.............................................................................. A-1
UART 16C550C.....................................................................................A-1
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
1
1
Introduction
Overview
Industio - Industrial Multiport Async Solutions for PCI
The term Industio stands for smart multiport serial I/O solution for industrial applications. The
Industio CP-114 Series boards, including CP-114, CP-114I, CP-114S and CP-114IS, are
RS-232/RS-422/RS-485 4-port serial communication interface boards for 32-bit PCI bus with “Plug
and Play” feature. The Industio CP-114 Series support all three serial interfaces, RS-232, RS-422
and RS-485, in one board. Two of the four ports are RS-422/485 ports and the other two ports can be
configured to RS-232 or RS-422/485 individually. Each RS-422/RS-485 port can control up to 32
devices in a multidrop environment. With this versatile design, it can control different kinds of serial
device, such as modems, CNC and other industrial machines, without the need to use interface
converters.
PCI Solution
The board complies with PCI Spec. 2.1 and has neither switch nor jumper. The BIOS automatically
assigns the hardware configuration for the IRQ number and memory addresses. Hence, the board
MUST be plugged first before installing the software driver. For more PCI information, please refer
to the Appendix, “Technical Reference”.
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 Industio CP-114 Series board. Eliminating the need of software interference. Hence, the
applications can manage the RS-485 port without extra code to control the half-duplex protocol.
With a well-designed and fine-tuned device driver, the Industio CP-114 boards make full use of the
32 byte Tx/Rx FIFO and on-chip H/W flow control, so that they can transfer data without loss even
at high speed such as 921.6, bps. The offer a reliable and high performance solution for serial
multiport communications.
JP5:Interface selection Jumper for Port 1
JP6:Interface selection Jumper for Port 2
SW2
SW1
RS-422
RS-485
JP5
RS-232
RS-232
SW1: RS-422/RS-485 Selection Switch for Port 1/2/3/4
SW2: Data Mode Switch for Port 1/2/3/4
AUTO
RS-485
O
N
O
N
1
2
3
4
1
2
3
4
RS-422
RS-485
JP6
By RTS
RS-422
JP
1
JP
2
JP1/2/4/3:Termination Resistor Jumper for Port 1/2/4/3
Industio CP-114 Series Board
Termination Resistors Ready for RS-422/RS-485
Termination Resistors are already installed on the Industio CP-114 Series bodards 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”.
Industio CP-114 User's Manual 1-1
Download from Www.Somanuals.com. All Manuals Search And Download.
Operating System Support
Support for Windows NT, Windows 95/98 and DOS with user-friendly installation, configuration
and performance.
MOXA Serial Comm Tools
For application development, MOXA provides an easy-to-use serial communication library under
Windows NT, Windows 95/98 (PComm) and DOS (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 diagnostic, monitor, terminal
emulator, etc., are included for debugging or monitoring the communication status or terminal
emulator, or even file transferring.
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 DC) and surge
block option (25KV ESD) are available. This is critical to harsh environment such as factory.
Broad Applications
The board is suitable for many applications. Here are a few:
! Multipoint data acquisition
! Factory automation
! Remote serial device control
! Industrial control
! Embedded industrial machine
! SCADA
Features
The Industio CP-114 Series features:
"
"
Support PCI, Plug and play, no switch, no jumper, easy installation
Support all three serial interfaces in one board (Port 1,2 for RS-232 or RS-422/485; Port 3,4 for
RS-422/485).
"
"
Compact size design, (half-size).
High speed 16C550C Communication Controllers with on-chip hardware flow control
guarantees no data loss and data integrity.
"
"
"
High speed up to 921.6K bps each port.
Support optical isolation, max. 2000V (RS-422/485)
Support surge protection (25KV ESD) for all signal lines to prevent interference and noise and
protect your system and minimize the system down time.
Support 2-wire RS-485 half-duplex operation.
Automatic Data Direction Control (ADDC) intelligence to simplify the RS-485 software
programming.
"
"
"
"
"
"
RS-485 data control: Auto (ADDC) or by RTS.
Termination Resistors already installed on-board, no headache for impedance matching.
Compatible with PC standard COM ports.
Powerful Serial Comm tool-Pcomm and API-232.
"
Support popular OS-Windows NT, Windows 95/98 and DOS
CP-114 Series
Windows NT
Windows 95/98
DOS
✓
✓
✓
✓:
Driver supported by Moxa and shipped with product
Note: Download the newest drivers from the MOXA FTP service
1-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Introduction
Check List
Upon unpacking the Industio CP-114 Series, you should find items in the package:
"
"
Industio CP-114 Series 4 ports serial board×1
MOXA Software CD-ROM×1, which includes:
!
!
!
!
Drivers for MOXA Multiport Async Products
PComm Lite programming library and utilities for Windows NT/95/98
API-232 programming library and utility for DOS
User’s Manual (PDF)
"
"
Industio CP-114 Series User’s Manual (This manual)
Fan out cable DB37 to 4× DB9 (Male)
Installation Guide
This section gives a brief summary of how to install the Industio CP-114 Series under each
supported operating system. The installation is simple and involves the following stages:
Check the PCI BIOS settings
Install the Industio CP-114 Series board
and the connection cable
See Chapter 2
Install the software from the CD-ROM
Configure the driver for the board and ports
See respective O.S. Section
in Chapter 3
Connect the devices with the cable
See Chapter 5 for cable wiring
Restart the system
See Chapter 3 “Software
Installation”
Check the driver initialization status
If the system restart successfully, you may
develop your applications or
See Chapter 4, “Serial
Programming Tools”
execute the desired applications
Industio CP-114 User's Manual 1-3
Download from Www.Somanuals.com. All Manuals Search And Download.
1-4 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
2
2
Hardware Installation
The installation of the Industio CP-114 Series consists of hardware and software installation. The
respective sections of the operating systems in the next chapter deal with the software installation.
The hardware installation is detailed in this chapter.
JP5:Interface selection Jumper for Port 1
JP6:Interface selection Jumper for Port 2
SW2
SW1
RS-422
RS-485
JP5
RS-232
RS-232
SW1: RS-422/RS-485 Selection Switch for Port 1/2/3/4
SW2: Data Mode Switch for Port 1/2/3/4
AUTO
RS-485
O
N
O
N
1
2
3
4
1
2
3
4
RS-422
RS-485
JP6
By RTS
RS-422
JP1
JP2
JP4
JP3
JP1/2/4/3:Termination Resistor Jumper for Port 1/2/4/3
Industio CP-114 Series Board
First Thing to Do: Interface Settings
Before installing the board into the slot, you should set all the jumpers to what you want. The
default (factory) settings: Port 1, Port 2, Port 3 and Port 4 RS-485, Automatic Data Direction
Control mode, no Termination Resistor, indicated as *.
!
JP5/6 Interface Selection Jumper for Port 1/2:
Left *
Right
Set the port interface to RS-422/RS-485.
Set the port interface to RS-232.
!
S1 RS-422/485 Selection Switch for Port 1/2/3/4:
ON *
OFF
Set the port interface to RS-485.
Set the port interface to RS-422.
Industio CP-114 User's Manual 2-1
Download from Www.Somanuals.com. All Manuals Search And Download.
!
!
S2 Data Mode Selection Switch for Port 1/2/3/4:
(Valid if JP5/6 is Left and S1 is ON)
ON*
OFF
Set the RS-485 port to Automatic Data Direction Control Mode.
Set the RS-485 port to By RTS Mode.
JP1/2/3/4 Termination Resistor Port 1/2/3/4:
(Valid if JP5/6 is Left and S1 is ON)
Open * Not using Termination Resistor
Short
Using Termination Resistor
Installing the Industio CP-114 Series Board
The BIOS automatically assigns the IRQ number and I/O addresses for the Industio CP-114 Series
board. Hence, it is a must to have the board plugged first before installing the software driver. After
this, simply install the control board into the PC and then connect the connection cable.
Step 1: Power off the PC.
Warning ! Make sure your system is switched off before you start installing any
board. If you don’t, you may risk damaging your system and the board.
Step 2: Remove the slot cover bracket if present.
Step 3: Plug the Industio CP-114 Series control board firmly into a free 32-bit PCI slot.
Step 4: Fasten the holding screw to fix the control board in place.
Connecting the Fan-out Cable
Step 5: Connect the fan-out cable (DB37 to DB9 x 4).
SW2
SW1
RS-422
RS-485
JP5
RS-232
RS-232
AUTO
RS-485
O
N
O
N
1
2
3
4
1
2
3
4
RS-422
RS-485
JP6
By RTS
RS-422
JP1
JP2
JP4
JP3
Fan-out Cable Industio CP-114
Step 6: Power on the PC and the BIOS will automatically set the IRQ and I/O address.
Note ! Each board must occupy one unique IRQ and four 8-byte I/O addresses,
which are assigned automatically by the BIOS. However, you can select a
free IRQ number manually via the PC’s BIOS setup for the PCI slot, but
normally this method is not available for the I/O address. The possible IRQ
numbers are 2, 3, 4, 5, 7, 10, 11, 12, and 15. The possible I/O addresses are
from 0x0000 to 0xFFFF.
Step 7: Proceed with the software installation detailed in the next chapter, “Software
Installation”.
2-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
3
3
Software Installation
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 and DOS.
Before proceeding with the software installation, complete the hardware installation detailed in
previous chapter.
However, if it is necessary for you to develop your own applications, please refer to the next chapter,
“Serial Programming Tools”, for serial 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 Industio CP-114 Series and other MOXA multiport boards. The drivers
conform to Win32 COMM API standard.
If you install the driver for the first time, please go directly to the section “Installing Driver”.
If you have already installed the driver and want to re-configure the board and port, please refer to
the section, “Configuring Board and Port”.
If you have already installed the driver and want to add or delete boards, please refer to the section,
“Adding/Removing Board”.
If you want to update or even remove the driver, please go to the section, “Updating Driver”, or the
section, “Removing Driver”.
Installing Driver
Following is the procedure for installing the Industio CP-114 Series driver for the first time under
Windows NT 3.51/4.0. Make sure the board(s) has(have) already been plugged in the system PCI
slot(s).
1. Please log in NT as Administrator.
2. Open the [Control Panel], click on the [Network] icon and select the [Adapters] tab.
3. Click on the [Add] button, then the [Have Disk...] button in “Select Network Adapter”.
4. Specify the exact path of the driver diskette, A:\WINDOWS.NT. Then click [OK].
Industio CP-114 User's Manual 3-1
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Select “MOXA Smartio/Industio Family multiport board” in the “Select OEM Option” dialog
box, and click [OK] to enter the “Moxa Smartio/Industio Configuration Panel” dialog box to
start the installation.
3-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
6. In the “Moxa Smartio/Industio Configuration Panel” dialog box, click [Add] to enter
“Property” dialog box to add the Industio CP-114 Series board. Select the “CP-114 Series” in
the “Board Type” field. In the “Property” dialog box, the COM number field of the newly
installed board is set to default COM No. If necessary, you may select to change all the ports of
the board with the desired “COM Number”.
Note !
You may go directly to the step 8 if you need not change any setting.
7. In the “Property” dialog box, select the desired port in the port list and click [Port Setting] to
enter the individual “Port #” setting dialog box to change the port number mappings or FIFO
settings.
!
Port Number
You have to set up all the ports of the board with the desired “COM number”, which
should not conflict with other COM number in use. In this “Individual Port Setting”
dialog box, you may have two ways to map the physical ports to COM numbers
depending on the check box “Auto Enumerating COM Number”.
If “Auto Enumerating COM Number” is checked and specify the COM number of the
first port, subsequent ports are mapped to continuous COM numbers. For instance, if first
port is mapped to COM3, then second port is mapped to COM4 sequentially.
If “Auto Enumerating COM Number” is not checked, specify the COM number for
individual port. For instance, the second port can be out of sequence, say COM10, while
the first port is mapped to COM3.
!
Rx FIFO Trigger
Industio CP-114 User's Manual 3-3
Download from Www.Somanuals.com. All Manuals Search And Download.
Rx FIFO trigger levels, at 1, 4, 8 or 14 bytes, are available, and the default value is 14
bytes.
!
Tx FIFO Size
Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes.
8. Click [OK] in the “Port #” and the “Property” dialog boxes to go back to the “Moxa
Smartio/Industio Configuration Panel” dialog box.
Note !
If you need to install more than one board, click [Add] and repeat steps 6 to 8 to
configure another board. Up to four Industio CP-114 Series boards can be installed
in a system.
Click [OK] to finish the configuration.
9. When configuration is done, click on [Close] button in the “Network Settings” dialog box.
10.Restart Windows NT system. The latest configuration will not take effect unless the system
restarts.
Note ! The latest configuration will not take effect unless the system restarts.
11. Once the system restarts, you may check the event log issued by the MOXA driver to see if the
ports of the board are initialized successfully.
!
Enter the [Administrative] group, click on the [Event Viewer] icon and select [Log] and
[System] to check a message similar to “MOXA CP-114, with first serial port COM3, has
been enabled” for each configured board.
!
If an error message similar to “Cannot find any configured MOXA CP-114 board!”
appears, refer to the “Troubleshooting” chapter for solutions.
3-4 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
Note ! Once the board and the driver are installed and the driver restarts successfully, you
can start to develop applications with the PComm library (See “Serial Programming
Tools”) or the Microsoft Win32 API. You can also execute any ready-made
applications, such as PComm utility Terminal emulator (See “Serial Programming
Tools”) or HyperTerminal to transmit/receive data, as well as Remote Access
Service to provide dial-up networking capabilities.
Configuring Board and Port
If you already have installed the driver and want to re-configure the ports, please follow this
procedure.
1. In the [Control Panel], click on the [Network] icon and select the [Adapters] tab.
2. Select “MOXA Smartio/Industio Family Adapter” in “Network Adapters”.
3. Click on the [Properties] button to open the “Moxa Smartio/Industio Configuration Panel”
dialog box. Please see steps 6-10 in the previous section, “Installing Driver”, for more details.
Adding/Removing Board
Following is the procedure to add/remove Industio CP-114 boards after a first time installation. Note
that the presence of the board(s) is(are) required for adding/removing boards.
1. Power off the system.
2. Plug/unplug the boards in the system.
3. Power on the system.
4. Run the software configuration to setup the boards, as shown in the previous section.
Updating Driver
To update the driver for the Industio CP-114 board, simply remove the driver, as described in the
next section, and then reinstall it as detailed in the “Installing Driver” section.
Industio CP-114 User's Manual 3-5
Download from Www.Somanuals.com. All Manuals Search And Download.
Removing Driver
To remove the driver for the Industio CP-114 board,
1. Open the [Control Panel], click on the [Network] icon, and select the [Adapters] tab.
2. Select “MOXA Smartio/Industio Family Adapter” in the adapter list, then click on the
[Remove] button and the [OK] button to remove the driver.
3. Restart the system to activate the new configuration.
Windows 95/98
Windows 95/98 supports up to 128 serial ports, from COM1 to COM128. To fully integrate the
advanced features of Windows 95/98, multi-process and multi-thread, pure 32-bit Windows 95/98
virtual device port drivers (VxD) compliant with communication drivers (VCOMM) are developed
for the Industio CP-114 Series and other MOXA multiport boards. The drivers conform to the
Win32 COMM API standard.
If you install the driver for the first time, or you want to add more boards, please go directly to
section, “Installing Driver”.
If you have already installed the driver and want to re-configure the board, please refer to section,
“Configuring Board and Port”.
If you want to update the driver, please go to section, “Updating Driver”.
If you want to remove the driver, please go to the section, “Removing Driver”.
Installing Driver
If you install for the first time, or you want to add more boards, this section is for you.
You can easily plug the Industio CP-114 board and work right away with very little installation
efforts under Windows 95/98, which supports Plug and Play capability. Windows 95/98 will
automatically detect the presence of the newly plugged board and prompt you to install the software
driver the first time. In this case, you need the driver diskette.
Up to 4 Industio CP-114 Series boards can be installed together as long as the I/O addresses and IRQ
number resources are sufficient and available in a system.
3-6 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
The following flow chart illustrates the driver installation stages of the Industio CP-114 Series
boards. Each stage is detailed later.
See chapter “Hardware
Installation”
Install the Industio PCI board in the system
Start Windows 95/98 to detect the board
Yes
Driver installed before?
No
Install the driver with the diskette
See “First Time Driver Installation
Stage”
Configure the port
See “Port Configuration Stage”
The ports of the Industio CP-114 Series
board are ready to work.
See “Board and Port Ready Stage”
First Time Driver Installation Stage
This stage presents the steps for installing the driver for the very first time with the first Industio
CP-114 Series board. The installation of the Industio CP-114 Series board for Windows 95 and
Windows 98 differs slightly and will be described in two columns. Follow the steps in the left or
right column for Windows 95 or 98, respectively.
1. Upon detecting the first new Industio CP-114 Series board, Windows 95/98 will
automatically show a “New hardware found” message box, and then display the following
dialog box. Click on the [Next>] button.
Industio CP-114 User's Manual 3-7
Download from Www.Somanuals.com. All Manuals Search And Download.
Industio CP-114 User's Manual 3-8
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
Windows 95
Windows 98
2.
Click on the [Other Locations] button.
2.
Select “Display a list...” and click [Next>].
3. Type “A:\Windows.95” in the Location field, and
click [OK] button. The system will start reading the
files from the diskette.
3. Select “Other Devices” and click [Next>] button.
4. Clink on the [Finish] button.
4. Click on the [Have Disk] button.
Industio CP-114 User's Manual 3-9
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Type “A:\Windows.95” and click [OK] button. The
system will start reading the files from the diskette.
6. Click [Next>] button.
7. Click [Next>] button.
Port Configuration Stage
This stage displays the “CP-114 Series Installation” dialog box for the port configuration. Here
you can map the MOXA ports to the system COM numbers.
In the “CP-114 Series Installation” dialog box, the COM number field of the newly installed board
is set to default COM No. If necessary, you may select to change all the ports of the board with the
desired “COM Number”.
Note ! You may go directly to the next stage if you need not change any setting.
3-10 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
In the “CP-114 Series Installation” dialog box, select the desired port in the port list and click
[Port Setting] to enter the individual “Port #” setting dialog box to change the port number
mappings or FIFO settings.
!
Port Number
You have to set up all the ports of the board with the desired “COM number”, which should
not conflict with other COM number in use. In this “Individual Port Setting” dialog box, you
may have two ways to map the physical ports to COM numbers depending on the check box
“Auto Enumerating COM Number”.
If “Auto Enumerating COM Number” is checked and specify the COM number of the first
port, subsequent ports are mapped to continuous COM numbers. For instance, if first port is
mapped to COM3, then second port is mapped to COM4 sequentially.
If “Auto Enumerating COM Number” is not checked, specify the COM number for
individual port. For instance, the second port can be out of sequence, say COM10, while the
first port is mapped to COM3.
!
!
Rx FIFO Trigger
Rx FIFO trigger levels, at 1, 4, 8 or 14 bytes, are available, and the default value is 14 bytes.
Tx FIFO Size
Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes.
Industio CP-114 User's Manual 3-11
Download from Www.Somanuals.com. All Manuals Search And Download.
Board and Port Ready Stage
Click [OK] for all the dialog boxes to finish the configuration and exit the “CP-114 Series
Installation” dialog box.
In this last stage, you will complete the driver installation.
Windows 95
Windows 98
After the port installation, you can immediately use the
COM ports of the Industio CP-114 Series board without
restarting Windows 95 system.
After the port installation, click on the [Finish] button. Now
you can immediately use the COM ports of the Industio
CP-114 Series board without restarting Windows98
system.
Once the installation is finished, error conditions of the board, if any, are displayed on the screen.
Otherwise, everything should be fine.
If an error message similar to “CP-114 (BusNo=x, DevNo=x, Port1=COMx) interrupt number is
invalid!” appears, refer to the “Troubleshooting” chapter for solutions.
Note ! Up to now, the driver installation of the Industio CP-114 Series is complete and
successful, including the board and port configuration. However, if changes of the
board and port configuration are needed, please refer to the next section, “Configuring
Board and Port”, for more configuration details.
Note ! Once the board and the driver are installed and the driver restarts successfully, you can
start to develop applications with the PComm library (See “Serial Programming Tools”)
or the Microsoft Win32 API. You can also execute any ready-made applications, such as
PComm utility Terminal emulator (See “Serial Programming Tools”) or HyperTerminal
to transmit/receive data, as well as Remote Access Service to provide dial-up
networking capabilities.
• If multiple boards are installed at the same time, the same scenario applies for the next boards,
except that no driver diskette is asked anymore.
• Similarly, if you want to add more boards and the driver has been installed before, simply plug the
Industio CP-114 Series board and Windows 95/98 will automatically detect and install the
required driver.
3-12 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
Configuring Board and Port
If you already have installed the driver and want to re-configure the COM number for the ports
under Windows 95/98, follow this procedure.
1. Open the [Control Panel], click on the [System] icon, select the [Device Manager] tab, and
then [MOXA Smartio/Industio multiport board]. Select the desired [CP-114 Series] entry,
click on the [Properties] button and select the [Ports Configuration] tab.
#
2. Assign the desired COM number for the Industio CP-114 Series port mapping or FIFO settings,
detailed in the stage, “Port Configuration Stage”, of the previous section, “Installing Driver”.
3. Restart the system to activate the latest configuration.
Industio CP-114 User's Manual 3-13
Download from Www.Somanuals.com. All Manuals Search And Download.
Updating Driver
This section explains how to update the driver.
1. In the [Control Panel], click on the [System] icon, select the [Device Manager] tab and select
[MOXA Smartio/Industio multiport board].
2. Select the “CP-114 Series” option. Click on the [Properties] button and then select the [Driver]
tab.
3. Click on the [Update Driver...] button. Click then on the [Have Disk...] button to type the path
of the new driver and update the driver.
4. Restart the system to activate the new configuration.
#
3-14 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
Removing Driver
This section explains how to remove the Industio CP-114 Series board driver.
1. Open [Control Panel] icon, double click [Add/Remove Programs] icon, and then select
[Install/Uninstall] tab.
2. Click on MOXA Smartio/Industio Driver option and then click [Add/Remove] button to start the
driver removal.
3. Click [Yes] button in the following shown message box to confirm the driver removal.
4. Click [OK] button in Add/Remove Programs Properties dialog box.
Industio CP-114 User's Manual 3-15
Download from Www.Somanuals.com. All Manuals Search And Download.
DOS
MOXA DOS API-232 is a software package that assists users to develop and/or debug programs for
serial communications. This section will show you how to install the package, how to setup up the
driver, and how to load or unload driver.
For details of the serial programming (API-232 Library) and utilities, please refer to the next chapter,
“Serial Programming Tools”.
Installing Driver
Run the installation program, DOSINST.EXE, in the DOS driver diskette. Specify the target
API-232 directory (e.g. C:\MOXA) where software driver will be copied. Press F2 to start the
installation.
After installation is complete, you will be prompted to proceed running setup program. It is strongly
recommended to do so.
Industio CP-114 User's Manual 3-16
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
Driver Setup
The following are steps for setting up the Industio CP-114 Series driver. Note that it is not intended
to illustrate all the convenient functions of the setup programs when configuring the boards.
1. Run the setup program, BIN\SETUP.EXE, in the API-232 directory.
2. Press Enter to pop up the SETUP dialog box. In the SETUP dialog box, select the “CP-114
Series” in the “Type” field and set up all the ports of the board with the desired “Port number”,
which should not conflict with other port number in use.
Industio CP-114 User's Manual 3-17
Download from Www.Somanuals.com. All Manuals Search And Download.
Note ! Up to now you have completed the setup for Industio CP-114 Series board. You may
skip this step and go directly to the next step 5 if you need not change any setting or
configure any board.
3.
3. You may now enter/modify each port’s configuration. These displayed values are the port initial
values as driver is loaded.
Legend:
Port number:
3-18 Industio CP-114 User's Manual
Some noticeable fields and functions are explained below.
This is actually the port ID of each port. The application software will
Download from Www.Somanuals.com. All Manuals Search And Download.
Software Installation
refer to the port by its port number (ID). Duplicated port number is not
allowed. That is, each MOXA serial port is referred to as port number in
terms of serial programming.
You may map the port number range to the one you prefer between 0 and
255 as long as no port number overlapping condition or port number
undefined condition occurs. Generally, you should take the convenience
of programming into consideration when specifying the port numbers for
the board.
TxD buf size:
RxD buf size:
The transmit (output) buffer allocated in the system for each port.
The receive (input) buffer allocated in the system for each port.
F5: Group edit: This is a convenient function that helps you edit the configuration of
several ports at one time as a group.
4. To setup more boards, please follow the same instructions 2 to 3 described above.
5. Press F10 to save the latest configuration and exit the SETUP program.
Industio CP-114 User's Manual 3-19
Download from Www.Somanuals.com. All Manuals Search And Download.
Loading Driver
Having completed the setup, you can load the driver, "BIN\DP-DRV.EXE", at the DOS prompt.
The driver will detect the Industio CP-114 Series board automatically. If the board(s) is(are)
detected, a message similar to below will show:
Smartio/Industio Family DOS driver Version 1.1
Setup driver….
CP-114 series (Bus=0, Dev=11): O.K.!
Device driver setup O.K.
It means the Industio CP-114 Series driver is installed properly. At this point, you are ready to
execute application that supports API-232 functions, or start developing applications using API-232
library.
If something went wrong, for instance, the board does not match the configuration or the board is
missing, the screen will show a message like:
Smartio/Industio Family DOS driver Version 1.1
Setup driver….
CP-114 series (Bus=0, Dev=11): Board not Found.!
Setup none port !!
It means the Industio CP-114 Series driver is not installed properly. Please refer to chapter,
“Troubleshooting”, for possible reasons and solutions.
Unloading Driver
To unload (release) the Industio CP-114 Series driver from memory, type "DP-DRV/Q" at the DOS
prompt.
3-20 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
4
4
Serial Programming Tools
Moxa supports some easy but powerful serial programming libraries and communication
troubleshooting utilities under Windows NT and Windows 95/98. You will save a lot of developing
time with the MOXA Serial Programming Tools.
The following sections will detail the installation, the library and the utilities for various platforms.
PComm, the professional serial comm tool for PC, is a software package for Windows NT and
Windows 95/98. It consists of a powerful serial communication library for easy programming in the
most popular languages, useful utilities such as diagnostic, monitor and terminal emulator,
illustrative sample programs and comprehensive on-line documents.
The serial communication library is useful for developing a system for data communication, remote
access, data acquisition or industrial control in the Windows NT and Windows 95/98 environment,
for an easier solution compared to the more complex Windows Win32 COMM API.
PComm Installation
To install PComm, run \Setup.exe from the diskette. Note that the PComm diagnostic and monitor
utilities are for MOXA boards only. MOXA Windows NT or Windows 95/98 device drivers, as well
as MOXA boards are required. The drivers are installed separately and detailed in the “Software
Installation” chapter.
Click [Start] and select [Program Files] and the [PComm Lite] group to see a list of utilities and
documents.
PComm Programming Library
The serial communication library helps you to develop programs for serial communications for any
COM port complying with Microsoft Win32 API. It facilitates the implementation of multi-process
and multi-thread serial communication programs and hence greatly reduces developing time.
For a complete library function description and sample programs for Visual C++, Visual Basic and
Delphi, please click [Start] and select [Program Files] and [PComm Lite] and [PComm Library
Help], [PComm Porting Notes] or [PComm Programming Guide] or refer to the sample
programs in the PComm directory.
Industio CP-114 User's Manual 4-1
Download from Www.Somanuals.com. All Manuals Search And Download.
Utilities
Following are short descriptions of each utility. For details, please see the on-line help on the
diskette.
Diagnostic (for MOXA boards only)
A convenient diagnostic program that provides internal and external testing, such as IRQ, TxD/RxD,
UART, CTS/RTS, DTR/DSR, DTR/DCD testing, etc., for the MOXA boards and ports to verify
correct operations of both the software and hardware.
Click [Start] and select [Program Files] and [PComm Lite] and [Diagnostic].
4-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Serial Programming Tools
Monitor (for MOXA boards under Windows NT Only)
A useful port status monitoring program that allows you to watch the selected MOXA COM ports’
data transmitting/receiving throughput and communication line status which are updated and
displayed on the screen at time intervals. You can also click on one of the specific displayed port in
order to visualize the current communication parameters and status of that port.
Click [Start] and select [Program Files] and [PComm Lite] and [Monitor].
Industio CP-114 User's Manual 4-3
Download from Www.Somanuals.com. All Manuals Search And Download.
Terminal Emulator
The Terminal Emulator features multi-windows and supports terminal types of VT100 and ANSI.
You can transfer data interactively, send pattern periodically or transfer file using ASCII,
XMODEM, YMODEM, ZMODEM and KERMIT protocols.
Click [Start] and select [Program Files] and [PComm Lite] and [Terminal Emulator].
4-4 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Serial Programming Tools
DOS
Installing API-232
API-232 Library is the professional serial programming tool for DOS. It is installed automatically
along with the MOXA DOS drivers. The installation is detailed in Chapter "Software Installation".
DOS API-232 Library
DOS API-232 library supports languages like Microsoft C, Turbo C, Macro Assembly, QuickBasic,
Turbo Pascal, Clipper, etc. Sample programs for each supported language are included, and placed
in the sub-directory, ..\EXAMPLE\language ,of the API-232 directory.
In addition, for DOS C language only, there are also Modem Control and File Transfer library
available, supporting Hayes compatible modem control as well as ASCII, KERMIT, XMODEM,
YMODEM and ZMODEM file transfer protocol functions.
For complete API-232 function description, please see file API-232.TXT in the API-232 directory
for more details.
Utilities
There are two utilities available for DOS: Data Scope and Diagnose, which are detailed below.
Industio CP-114 User's Manual 4-5
Download from Www.Somanuals.com. All Manuals Search And Download.
Data Scope
The Data Scope, BIN\SCOPE.EXE, is a suite of utility programs that can help users with system
troubleshooting and serial communication debugging.
There are three major functions in Data Scope utility:
1. The Data Scope utility offers transparent monitoring of serial communication lines and allows data
to be streamed to disk storage for later analysis.
2. The TTY terminal emulation utility allows user to view the signal status and transfer data
interactively or files using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols.
3. The Diagnostic test utility provides port connection test with two MOXA ports connected via a
properly wired cable.
Please see on-line help as running BIN\SCOPE.EXE for more usage and capability information.
Diagnose
The Diagnose, BIN\PCIDIAG.EXE, is a utility that can help users to diagnose the hardware
condition of each port of the selected board. See on-line help for more details.
4-6 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Serial Programming Tools
RS-485 Programming
If you intend to do RS-485 communication with Industio CP-114 Series, please follow the RS-485
programming guide below and also refer to the chapter, “Connection Cable and Cable Wiring”,
for more RS-485 operation details.
The Industio CP-114 Series supports only 2-wire half-duplex RS-485 communication. Data+/-
pins are served for both data transmitting and receiving, depending on the mode selected: either
Automatic Data Direction Control (ADDC) or By RTS mode.
Automatic Data Direction Control Mode
Automatic Data Direction Control scheme is the best solutions for RS-485 applications. The data
mode selection jumper for the port should be set to Left position, to be able to use Automatic Data
Direction Control Mode.
Under this mode, no extra code is required to control the data transferring (data transmitting and
receiving), which is automatically managed with the intelligent hardware mechanism. That is,
RS-485 programming in this mode is just as simple as RS-232/RS-422 programming.
By RTS Mode
If the data mode selection jumper for the port is set to Right position, By RTS mode is used. The
port is ready for transmitting data if RTS signal is asserted and ready for receiving data if RTS
signal is not asserted.
RTS scheme is a traditional way and suitable for most system, including Windows NT , Windows
95/98 and DOS, that permits RTS control from application programs. This mode should be
compatible with most of the already-made RS-485 applications.
How to transmit and receive data for Windows NT, 95/98 & DOS
We recommend you to configure Industio CP-114 Series ports as follows in order to acquire precise
timing control in RS-485 2-wire transmission.
Industio CP-114 User's Manual 4-7
Download from Www.Somanuals.com. All Manuals Search And Download.
There are 2 solutions to control RS-485 2-wire transmission.
Solution 1
The following model is common in RS-485 2-wire transmission.
sio_SetWriteTimeouts(port, 0); /* Set sio_write() into block mode if for Windows NT
and Windows 95/98 */
sio_RTS(port, 1);
/* Turn on RTS signal. The RS-485 port is ready for
transmitting data. */
sio_write(port, buff, 10);
sio_RTS(port, 0);
/* Write 10 byte characters in "buff". The function
blocks until last character transmitted */
/* Turn off RTS signal. The RS-485 port is ready for
receiving data. */
sio_read(port, buff, 10);
/* Read 10 bytes */
Solution 2
There is a dedicated RS-485 function in PComm or API-232 library. It integrates the above
functions of solution 1 regarding sending data as one.
sio_putb_x(port, buff, tick ); /* 1. Turn on RTS and ready for transmitting data.
2. Send data.
3. Wait for tick time.
4. Turn off RTS and ready for receiving data. */
For more information on these functions, please refer to PComm library on-line Help file for
Windows NT and Windows 95/98 or API-232.txt file for DOS, respectively.
4-8 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
5
5
Connection Cable and Cable Wiring
In serial data communications, the term DTE is for Data Terminal Equipment, like PC COM1/2,
serial printers and terminals. The term DCE is for Data Communication Equipment, like modems.
RS-232 Cable Wiring
The followings are pin assignments for the DB9 RS-232 connector for Port 1 and Port 2 of Industio
CP-114 Series.
CP-114 Series
(DTE, DB9 Male)
1
2
3
4
5
6
7
8
DCD
RxD
TxD
DTR
GND
DSR
RTS
CTS
Industio CP-114 User's Manual 5-1
Download from Www.Somanuals.com. All Manuals Search And Download.
Type 1: To connect the Industio CP-114 Series to a DTE device.
PC COM2 port, Serial Printer,
Terminal, or any DTE Device
CP-114
CP-114
DB9 Male
DTE Device
DB25 Male
RxD
TxD
CTS
RTS
DTR
DSR
GND
DCD
2
3
8
7
4
6
5
1
2
3
4
5
6
20
7
TxD
RxD
RTS
CTS
DSR
DTR
GND
DCD
8
PC COM2 port, Serial Printer,
Terminal, or any DTE device
CP-114
CP-114
DB9 Male
DTE Device
DB9 Male
TxD
RxD
RTS
CTS
DSR
DTR
GND
DCD
3
2
7
8
6
4
5
1
2
3
8
7
4
6
5
1
RxD
TxD
CTS
RTS
DTR
DSR
GND
DCD
5-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Connection Cable and Cable Wiring
Type 2: To connect Industio CP-114 Series to a DCE device.
Modem
or any DCE Device
CP-114
CP-114
DB9 Male
DCE Device
DB25 Female
RxD
TxD
CTS
RTS
DTR
DSR
GND
DCD
2
3
8
7
4
6
5
1
2
3
4
5
6
20
7
RxD
TxD
CTS
RTS
DTR
DSR
GND
DCD
8
Type 3: To connect Industio CP-114 Series to a DTE with 3-pin wiring.
If the [Hardware flow control] feature is set to “ON”, you must loop back (or short) the
RTS with CTS and the DSR with DTR, DCD on the MOXA site.
If [Hardware flow control] feature is set to “OFF”, you could just leave RTS, CTS,
DSR, DTR, DCD open, ignoring the connection indicated in dash-lines.
PC COM2 port, Serial Printer,
Terminal, or any DTE Device
CP-114
CP-114
DB9 Male
DTE Device
DB25 Male
TxD
RxD
GND
RTS
CTS
DTR
DSR
DCD
3
2
5
7
8
4
6
1
2
3
7
4
5
20
6
TxD
RxD
GND
RTS
CTS
DTR
DSR
DCD
8
PC COM2 port, Serial Printer,
Terminal, or any DTE device
CP-114
CP-114
DB9 Male
DTE Device
DB9 Male
TxD
RxD
GND
RTS
CTS
DSR
DTR
DCD
3
2
5
7
8
6
4
1
3
2
5
7
8
6
4
1
TxD
RxD
GND
RTS
CTS
DSR
DTR
DCD
Industio CP-114 User's Manual 5-3
Download from Www.Somanuals.com. All Manuals Search And Download.
RS-422 Cable Wiring
The RS-422 standard uses a balanced voltage digital interface to allow 9600 bps communication
over cables of up to 400 ft (1.2 km) in length. Ten receivers can be connected to any one driver for
broadcasting systems.
RS-422 pin outs for Industio CP-114 Series:
CP-114
1
2
3
4
5
6
7
8
9
TxD-(A)
TxD+(B)
RxD+(B)
RxD-(A)
GND
RTS-(A)
RTS+(B)
CTS+(B)
CTS-(A)
1 TxD-(A)
2 TxD+(B)
3 RxD+(B)
4 RxD-(A)
5 GND
RTS-(A)
6
RTS+(B) 7
CTS+(B) 8
CTS-(A)
9
RS-422 Point-to-point
RS-422 Broadcasting
CP-114
RS-422 Device
CP-114
RS-422 Device 1
2
1
3
4
5
TxD+(B)
RxD+(B)
RxD-(A)
TxD+(B)
TxD-(A)
GND
2
3
1
4
5
TxD+(B)
RxD+(B)
TxD-(A)
RxD-(A)
GND
RxD+(B)
TxD+(B)
RxD-(A)
TxD-(A)
GND
TxD-(A)
RxD+(B)
RxD-(A)
GND
RS-422 Device N
RxD+(B)
TxD+(B)
RxD-(A)
TxD-(A)
GND
RS-422 with Handshaking
CP-114
RS-422 Device
RxD+(B)
RxD-(A)
TxD+(B)
TxD-(A)
GND
CTS+(B)
CTS-(A)
RTS+(B)
RTS-(A)
2
1
3
4
5
7
6
8
9
TxD+(B)
TxD-(A)
RxD+(B)
RxD-(A)
GND
RTS+(B)
RTS-(A)
CTS+(B)
CTS-(A)
5-4 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Connection Cable and Cable Wiring
RS-485 Cable Wiring
The RS-485 standard is an enhanced version of the RS-422 balanced line standard. It allows multiple
drivers and receivers in a multidrop systems. As many as 32 drivers and 32 receivers can be put on
any multidrop system.
The Industio CP-114 Series supports only 2-wire half-duplex RS-485 communication. Data+/-
pins are served for both data transmitting and receiving, depending on the RTS signal.
RS-485 pin outs for the Industio CP-114 Series:
CP-114
1
2
5
Data-(A)
Data+(B)
GND
1 Data-(A)
2 Data+(B)
5 GND
Multidrop RS-485 Half-duplex
CP-114
Master
RS-485 Device 1
Slave
2
1
5
Data+
Data-
GND
Data+
Data-
GND
RS-485 Device N
Slave
Data+
Data-
GND
See the section “RS-485 Programming” of the chapter “Serial Programming Tools” for more
RS-485 programming details.
Industio CP-114 User's Manual 5-5
Download from Www.Somanuals.com. All Manuals Search And Download.
Impedance Matching and Termination Resistors
For RS-422/485 serial communications, when an electrical signal travels through two different
resistance junctions in a transmission line, the impedance mismatch will sometimes cause signal
reflection. Signal reflection causes signal distortion, which in turn will contribute communication
errors. The solution to this problem is to establish the same impedance at the line ends as in the line
itself by terminating them with resistors.
Industio CP-114 Series already installs the resistors on board for your convenience, indicated as
follows. The value of the termination resistor should equal the characteristic impedance of the
transmission line. Resistors should be added near the receiving side. Note: Stands for termination
resistor near the receiving side.
CP-114 Series
RS-422/485 Device
2
1
3
4
7
6
8
9
TxD+(B)
TxD-(A)
RxD+(B)
RxD-(A)
RTS+(B)
RTS-(A)
CTS+(B)
CTS-(A)
RxD+(B)
RxD-(A)
TxD+(B)
TxD-(A)
CTS+(B)
CTS-(A)
RTS+(B)
RTS-(A)
JP5:Interface selection Jumper for Port 1
JP6:Interface selection Jumper for Port 2
SW2
SW1
RS-422
RS-232
SW1: RS-422/RS-485 Selection Switch for Port 1/2/3/4
SW2: Data Mode Switch for Port 1/2/3/4
AUTO
RS-485
RS-485
JP5
ON
O
N
1
2
3
4
1
2
3
4
RS-422
RS-485
JP6
RS-232
By RTS
RS-422
JP1
JP2
JP4
JP3
JP1/2/4/3:Termination Resistor Jumper for Port 1/2/4/3
Industio CP-114 Series Board
5-6 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Connection Cable and Cable Wiring
DB37 Connector
The following lists the pin assignments of the Industio CP-114 Series DB37 connector on the
bracket. With this information, you may fabricate any type of fan-out cables, such as DB37 to DB9
x 4 or DB37 to DB25 x 4.
For RS-232 Mode
Pin no.
Signal
Pin no.
Signal
29
11
12
13
14
15
16
36
37
RI2
19
30
31
32
33
34
17
18
TxD1
DTR2
DSR2
RTS2
TxD2
DCD1
DSR1
RTS1
DCD2
GND
CTS2
RxD2
RI1
DTR1
CTS1
RxD1
Note: Make shield grounded to connector.
For RS-422 Mode
Pin no. Signal
Pin no.
Signal
1
2
3
4
5
6
7
8
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
CTS2-(A)
RxD2-(A)
RTS2-(A)
RTS2+(B)
RxD2+(B)
TxD3-(A)
GND/VEE3
CTS3+(B)
TxD3+(B)
CTS1-(A)
RxD1-(A)
RTS1-(A)
RTS1+(B)
RxD1+(B)
TxD0-(A)
GND/VEE0
CTS0+(B)
TxD0+(B)
TxD2-(A)
GND/VEE2
CTS2+(B)
TxD2+(B)
CTS3-(A)
RxD3-(A)
RTS3-(A)
RTS3+(B)
RxD3+(B)
TxD1-(A)
GND/VEE1
CTS1+(B)
TxD1+(B)
CTS0-(A)
RxD0-(A)
RTS0-(A)
RTS0+(B)
RxD0+(B)
9
10
11
12
13
14
15
16
17
18
19
Note: Make shield grounded to connector.
For RS-485 Mode
Pin no.
Signal
Pin no.
Signal
2
3
5
11
12
14
Data2-(A)
GND/VEE2
Data2+(B)
Data1-(A)
GND/VEE1
Data1+(B)
25
26
28
34
35
37
Data3-(A)
GND/VEE3
Data3+(B)
Data0-(A)
GND/VEE0
Data0+(B)
Note: Make shield grounded to connector.
Industio CP-114 User's Manual 5-7
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
6
6
Troubleshooting
Common Industio CP-114 Series problems and possible solutions are listed below. If you still have
problems, contact your dealer or Moxa for help. Or use the “Problem Report Form” at the end of
this manual to report problems to your dealer at once for faster technical support.
General Troubleshooting
1. The MOXA driver, while installing the driver, cannot detect the MOXA PCI board.
Hardware causes and solutions:
a. The board is not installed or missing (absent). Please install it.
b. The board is not properly plugged in the system. If that is the case, re-install the board and make
sure that it fits well in a 32-bit PCI slot this time. Sometimes the slot for plugging the board is bad.
In this case, try other slots until you find a good one.
c. Your motherboard does not have a vacant IRQ for the CP-114 Series. Please enter BIOS and
make sure there are available IRQ in PCI/PnP settings.
2. The MOXA board and driver are activated but cannot transfer (transmitting/receiving)
data.
Hardware Causes and Solutions:
a. Check for wrong cable wiring. Refer to the “Connection Cable and Cable Wiring” chapter for
precise pinouts of the connector type you are using.
b. The cables or the boards are defective. You may use other ports, cables or boards to verify. In
addition, the PComm “Diagnostic” utility for Windows NT and Windows 95/98 is good for testing
MOXA boards and port conditions. If Diagnostic reports error, replace the faulty components.
Software Causes and Solutions:
a. For RS-422 mode, Industio CP-114 Series checks the line status (CTS) before it sends data out if
the RTS/CTS flow control feature is set to “Enable” in the configuration or application program.
Please refer to the “Connection Cable and Cable Wiring” chapter for proper wiring.
b. Perhaps the application controlling the board is not correctly written according to the
corresponding API of the operating system. To verify, please run an existing and known good
application or the provided utilities by Moxa. For example, under Windows NT and Windows
95/98, Pcomm “Terminal emulator” or “HyperTerminal” utilities are good for testing the COM
ports.
Windows NT
This section is specific for troubleshooting under Windows NT. For general problems and solutions,
please see the previous section, “General Troubleshooting”.
1. After the system reboots, the error message “Another driver in the system, which did not
report its resources, has already claimed the interrupt used by xxx.” appears in the Event
Log.
Industio CP-114 User's Manual 6-1
Download from Www.Somanuals.com. All Manuals Search And Download.
This indicates that the MOXA board is found, but the IRQ is conflicting with another adapter.
Please make sure there is no conflict with other adapter’s IRQ. Check the PCI BIOS IRQ settings
first. Make sure that an IRQ is available.
2. After the system reboots, the error message “Cannot find any configured MOXA
Smartio/Industio PCI Series board!” appears in the Event Log.
Please make sure the PCI board is seated firmly in the expansion slot.
3. The COM number of the Industio CP-114, with device number xx, conflicts with others.
The COM numbers of different boards happen to be the same. Try to change the COM number
mappings.
4. Windows NT system panic (blue screen).
The possible reason is an IRQ or I/O address conflict with other ISA Bus adapters, like LAN and
SCSI boards, or the system BIOS. Please refer to the corresponding problem in the previous
section, “General Troubleshooting”, for solutions.
Windows 95/98
This section is specific for troubleshooting under Windows 95/98. For general problems and
solutions, please see the previous section, “General Troubleshooting”.
1. The system fails to find the Industio CP-114 board!
- The board(s) is not plugged properly.
- The slot for plugging the board is defective.
In this case, please try other slots until you find a good one.
- The board might be defective.
2. After the system reboots, the error message “CP-114 (BusNo=x, DevNo=x, Port1=COMx)
interrupt number is invalid!” appears.
This indicates that the MOXA board is found, but the IRQ is conflicting with other adapter.
Make sure MOXA board’s IRQ is not conflicting with other adapter’s. Check the PCI BIOS IRQ
settings and select an available IRQ for MOXA boards.
6-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
A
A
Technical Reference
Specification
"
"
"
"
"
"
"
"
Bus interface:
Number of ports:
I/O address:
IRQ:
Data bits:
Stop bits:
Parity:
UART:
Speed (bps):
Connectors:
32-bit PCI (Spec 2.1)
2 (RS-232 or RS-422/485), 2 (RS-422/485)
Assigned by BIOS
Assigned by BIOS
5, 6, 7, 8
1, 1.5, 2
None, even, odd, space, mark
16C550C or compatible×4, each with 16byte Tx/Rx FIFO
50 ~ 921.6K
"
"
DB9 (male)×4
"
Data signals:
RS-232-TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND
RS-422-TxD(B)+/(A)-, RxD(B)+/(A)-, RTS(B)+/(A)-, CTS(B)+/(A)-,
GND
RS-485-Data(B)+/(A)-, GND
"
"
"
Isolation protection: Max. 2000V (CP-114I, CP-114IS)
Surge protection:
Operating temp:
ESD 25KV (CP-114S, CP-114IS)
0 ~ 55 ℃
"
"
"
Regulation Approval: CE, FCC Class A
OS supported:
Windows NT, Windows 95/98, DOS
Termination resistor: RS-422: 120 Ohm
RS-485: 120 Ohm, jumper enable/disable
"
Power requirement:
Dimensions:
CP-114: 720mA max. (+5V), 43mA max. (+12V), 31mA max.(-12V)
CP-114S: 735mA max. (+5V), 44mA max. (+12V), 33mA max.(-12V)
CP-114I: 1164mA max. (+5V), 35mA max. (+12V), 48mA max.(-12V)
CP-114IS: 1170mA max. (+5V), 36mA max. (+12V), 49mA max.(-12V)
"
CP-114/CP-114S: 135 mm×110 mm
CP-114I/CP-114IS: 160 mm× 120 mm
PCI
The 32-bit Industio CP-114 Series board complies with the PCI specifications 2.1. Hardware
configuration for IRQ and I/O addresses is automatically assigned by the PCI BIOS. Hence, you
must first plug the board before installing the software driver.
Unlike ISA slots, different PCI slots in the same PC may have different bus numbers and device
numbers with respect to the PCI specifications. The same PCI board will have different system
configurations if switching to a different PCI slot, which may be called slot-sensitive or
slot-dependent. This may also apply to PCI slots in PC with different motherboard, which may use
different device number sets. For example, some use 17, 18, 19, and 20 for identifying the
respective PCI slots but some use 11, 12, 13 and 14.
Due to the slot-dependency, it is necessary to re-configure the software driver once the board is
plugged in different PCI slots.
Up to 4 Industio CP-114 Series boards are allowed in one system. When installing more than one
board, please remember the order of boards for distinguishing the installed boards.
UART 16C550C
Industio CP-114 User's Manual A-1
Download from Www.Somanuals.com. All Manuals Search And Download.
The UART chip, 16C550C, is an intelligent asynchronous controller capable of supporting one full
duplex channel that simultaneously transfers data at 921.6 Kbps. To increase the overall data
throughput, special features such as on-chip FIFO and on-chip hardware flow control are used to
reduce the number of interrupts to the onboard CPU and to prevent any loss of valuable data.
A-2 Industio CP-114 User's Manual
Download from Www.Somanuals.com. All Manuals Search And Download.
Problem Report Form
Industio CP-114 Series
Customer name:
Company:
Tel:
Fax:
Email:
Date:
1. Moxa Product: CP-114 Series Model : $CP-114 $CP-114I $CP-114S $CP-114IS
Serial Number: ________________
2. Moxa Driver Version: ________________
3. Moxa Hardware Settings: PCI slot number ________________________
4. Operating System: $ Windows 95
$
$
$
Windows 98
Windows NT 4.0
Others
$
$
Windows NT 3.51
DOS
5. PC Host: Make _________
Model _________
Make ______
6. CPU:
Speed _____MHz
Model ______
7. BIOS:
Make __________________
Version _______
8. PCI IRQ Configuration in BIOS:
PORT
I/O
1
2
3
4
IRQ
Interface
(RS-232/422/485)
RS-485 Data Mode
(ADDC/RTS)
9. Problem Description: Please describes the problem as clearly as possible, including the error message you see. We may have to
follow your description to reproduce the problem.
$
$
$
Board not found.
Can transfer data, but lose data.
Others. Detailed error message description is recommended:
$
$
Board found, but can’t transfer data.
Can transfer data, but with garbled data.
Download from Www.Somanuals.com. All Manuals Search And Download.
Return Procedure
For product repair, exchange or refund, you must:
" Provide evidence of original purchase.
" Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time.
" Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer.
" Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer. The RMA number should be
visible on the outside of the package, and include a description of the problem along with the return address and
telephone number of a technical contact.
Download from Www.Somanuals.com. All Manuals Search And Download.
Revision History
Document Edition
Revision Date
Revision Details
3rd
January 27, 2004
1. Update the edition of this manual on the
title page.
2. p. 5-5:
Changed RS-422 Broadcasting figure.
1. Updated Moxa logo.
2. Corrected errors in Chap. 5.
4th
November 8, 2004
Download from Www.Somanuals.com. All Manuals Search And Download.
|