Moxa Technologies C104H-PCI User Manual

SSmmaarrttiioo C104H/PCI Series User’s Manual
Smartio 4 Ports Serial Board for PCI Bus
Jun. 1999 (2nd Edition)
The content of this manual is also available in CD-ROM and 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
SSmmaarrttiioo C104H/PCI 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 address: support@moxa.com.tw
FTP site for free driver update address: ftp.moxa.com or ftp.moxa.com.tw user ID: ftp password: your_email_address
World Wide Web (WWW) Site for product info address: 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 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 “Serial Programming Tools”.
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”.
+ In this manual, C104H/PCI Series refers to C104H/PCI and C104HS/PCI.
Chapter 1 Introduction
This chapter gives the overview and features for C104H/PCI Series. Check list and overall installation guide are also included.
Chapter 2 Hardware Installation
This chapter gives details of how to do hardware installation for C104H/PCI Series and connection cable.
Chapter 3 Software Installation
This Chapter describes the software installation, board and ports configuration, driver update and removal for various operating systems: Windows NT, and Windows 95/98.
Chapter 4 Serial Programming Tools
This Chapter roughly describes the programming tools for various O.S. platforms, including PPCCoommmm Lite under Windows NT and Windows 95/98.
Chapter 5 Connection Cable and Cable Wiring
This Chapter describes the RS-232 cable wiring for the connection cable.
Chapter 6 Troubleshooting
This Chapter describes error might happen and possible solutions for C104H/PCI Series.
Appendix Technical Reference
This chapter describes specification, PCI, UART and DB37 pinouts.
Table of Contents
Introduction ................................................................................1-1
Overview----------------------------------------------------------------------------------------------------------1-1 Features ----------------------------------------------------------------------------------------------------------1-3 Check List--------------------------------------------------------------------------------------------------------1-4 Installation Guide-----------------------------------------------------------------------------------------------1-5
Hardware Installation ................................................................2-1
Installing the Smartio C104H/PCI Series board---------------------------------------------------------2-1 Connecting the Fan-out Cable ------------------------------------------------------------------------------2-2
Software Installation.................................................................. 3-1
Windows NT----------------------------------------------------------------------------------------------------- 3-1
Installing Driver----------------------------------------------------------------------------------------------3-2 Configuring Board and Port ------------------------------------------------------------------------------3-8 Updating Driver--------------------------------------------------------------------------------------------3-12 Removing Driver------------------------------------------------------------------------------------------3-12
Windows 95/98------------------------------------------------------------------------------------------------3-13
Installing Driver--------------------------------------------------------------------------------------------3-14 Configuring Board and Port ----------------------------------------------------------------------------3-23 Updating Driver--------------------------------------------------------------------------------------------3-25 Removing driver-------------------------------------------------------------------------------------------3-27
Serial Programming Tools..........................................................4-1
PComm Installation-----------------------------------------------------------------------------------------------4-1 PComm Programming Library ---------------------------------------------------------------------------------4-2
Utility---------------------------------------------------------------------------------------------------------------4-2
Connection Cable and Cable Wiring........................................... 5-1
RS-232 Cable Wiring------------------------------------------------------------------------------------------5-1
Troubleshooting .........................................................................6-1
General Troubleshooting-------------------------------------------------------------------------------------6-1 Windows NT----------------------------------------------------------------------------------------------------- 6-2 Windows 95/98--------------------------------------------------------------------------------------------------6-3
Technical Reference ................................................................. A-1
Specification---------------------------------------------------------------------------------------------------- A-1 PCI---------------------------------------------------------------------------------------------------------------- A-1
UART 16C550C------------------------------------------------------------------------------------------------ A-2 DB37 Connector Pinouts ------------------------------------------------------------------------------------A-3
1
IInnttrroodduuccttiioonn
Overview
SSmmaarrttiioo - The Smart Multiport Async Solution
The term SSmmaarrttiioo represents smart multiport serial I/O solution. The SSmmaarrttiioo
C104H/PCI Series boards, including C104H/PCI and C104HS/PCI, are designed for 32-bit PCI bus with Plug and Play feature. They offer 4 RS-232 serial ports for connecting terminals, modems, printers, scanners, cash registers, bar code readers, keypads, numeric displays, electrical weighing machines, data acquisition equipment and many other serial devices to the PC and its compatible systems. With a well-designed and fine-tuned device driver, the Smartio board makes full use of the 32 byte Tx/Rx FIFO and on-chip H/W flow control, which makes it possible transferring data without loss at high speed as 921.6 Kbps. They offer a reliable and high performance solution for serial multiport communications.
Board Applications
The board applies for many applications. Here are a few:
11
l Internet/Intranet Connection
l Remote Access Application
l Multi-user Application
l Industrial Automation
l Office Automation
l Telecommunication
Smartio C104H/PCI Series User’s Manual 1-1
l PC-based (vending) Machine or Kiosk System
l Point-of-Sale (POS) System
PCI Solution
The board complies with PCI Spec. 2.1 needing neither switch nor jumper. The hardware configuration for the IRQ and Memory addresses is automatically assigned by the PCI BIOS. Hence, the board MUST be plugged first before installing the software driver. For more PCI information, please refer to Appendix “Technical Reference”.
Surge Protection
To prevent the board from damage caused by lightning or high potential voltage, TVSS (Transient Voltage Surge Suppressor) technologies are used in some connection options to protect the multiport controller. This is remarkably required for harsh environment such as factory, severe weather such as lightning, or other high interference situations.
Operating System Support
With user-friendly installation, configuration and performance, it supports Windows NT, Windows 95/98 and DOS.
MOXA Serial Comm Tool
For application development, MOXA provides an easy-to-use serial communication library (PPCCoommmm) under Windows NT and Windows 95/98. With this library, it is easy to develop your own applications using sample applications developed with Visual Basic, Visual C++, Borland Delphi, etc. Utilities, such as diagnostic, monitor, terminal emulation, etc., are also included for debugging and monitoring the communication status, terminal emulation, and even file transferring.
1-2 Smartio C104H/PCI Series User’s Manual
Introduction
Features
The Smartio C104H/PCI Series consists of members as follows:
C104H/PCI: 4 RS-232 ports, high speed 16C550C or compatible UART C104HS/PCI:
4 RS-232 ports, surge protection, 16C550C or compatible UART
v Support PCI, Plug and play, no switch, no jumper v Reliability¡ÐHigh speed 16C550C Communication Controllers with on-chip
hardware flow control guarantees no data loss
v Compact size design, half size v Surge protection (C104HS/PCI) v Easy installation¡Ð32-bit PCI bus with Plug and Play capability
v Powerful Serial Comm tool¡ÐPComm v Popular OS support¡ÐWindows NT, Windows 95/98 and DOS
C104H/PCI Series
Windows NT
Windows 95/98
DOS R
3
3
3: Driver supported by Moxa and shipped with product
R: Driver supported by Moxa and shipped by request Note: Download the latest versions of drivers from the MOXA FTP service
Smartio C104H/PCI Series User’s Manual 1-3
P3
P4
Check List
Upon unpacking the Smartio C104H/PCI Series, you should find the following items in the package:
v Smartio C104H/PCI Series 4 port serial board v Device driver diskettes:
l Windows NT and Windows 95/98 ¡Ñ1 l PPCCoommmm Lite ¡Ñ¡Ñ1
v Smartio C104H/PCI Series User’s Manual (This manual) v Connection cable Opt4C:DB37 to DB25¡Ñ4 or
Opt4D:DB37 to DB9¡Ñ4
P1 P2
1-4 Smartio C104H/PCI Series User’s Manual
C104H/PCI Series
Smartio
Introduction
Installation Guide
This section gives a brief summary of how to install the Smartio C104H/PCI Series under each supported operating system. The installation is simple and involves the following stages:
Check the PCI BIOS settings Install the Smartio C104H/PCI Series board See Chapter 2 “Hardware and the connection cable Installation
Install the software from the diskette See respective O.S. Section Configure the driver for the board and ports in Chapter 3 “Software
Installation
Connect the devices with the cable See Chapter 4 “Serial
Programming Tools” for cable wiring
Restart the system See Chapter 3 “Software Check the driver initialization status Installation” for board init.
status.
If the system restart successfully, you may develop your applications or See Chapter 4 “Serial execute the desired applications Programming Tools
Smartio C104H/PCI Series User’s Manual 1-5
1-6 Smartio C104H/PCI Series User’s Manual
22
2
HHaarrddwwaarree IInnssttaallllaattiioonn
The installation of the Smartio C104H/PCI Series consists of hardware and software installation. The respective sections of the operating systems in the next chapter will discuss more about the software installation. The hardware installation is described in this chapter.
The no-switch-no-jumper Smartio C104H/PCI Series board hardware configuration for IRQ number and I/O addresses is automatically assigned by the PCI BIOS. Hence, the board MUST be plugged first before installing the software driver.
Installing the SSmmaarrttiioo C104H/PCI Series board
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 PC’s cover.
Step 3: Remove the slot cover bracket if there is any.
Step 4: Plug the Smartio C104H/PCI Series control board firmly into a free 32-
bit PCI slot.
Step 5: Fasten the holding screw to fix the control board in place.
Step 6: Replace the system cover.
Smartio C104H/PCI Series User’s Manual 2-1
Connecting the Fan-out Cable
Step 7: Connect the connection cable.
P1 P2
C104H/PCI Series
P3 P4
Step 8: 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 PCI 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.
Smartio
Step 9: Proceed with the software installation detailed in the next chapter,
Software Installation”.
2-2 Smartio C104H/PCI Series User’s Manual
3
SSooffttwwaarree IInnssttaallllaattiioonn
In this chapter, the software driver installation, configuration and driver update/removal procedures are described for various operating systems, including Windows NT, and Windows 95/98. Before proceeding with the software installation, complete the hardware installation first.
If it is required 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 utilize the advanced features of Windows NT, multi-process, multi-thread, and pure 32-bit Windows NT device drivers are developed for the Smartio C104H/PCI Series and other MOXA multiport boards. The drivers conform to Win32 COMM API standard.
To install the driver for the very first time, please go directly to Section “Installing Driver”.
33
To re-configure the board and port for installed boards, please refer to Section “Configuring Board and Port”.
To update the driver for installed boards, please refer to Section “Updating Driver”.
To remove the driver, please go to Section “Removing Driver”.
Smartio C104H/PCI Series User’s Manual 3-1
Installing Driver
First Time Installing Driver
Following is the procedures for installing the Smartio C104H/PCI 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 [Control Panel], click [Network] icon and select [Adapters] tab.
3. Click [Add] button, then [Have Disk...] button in [Select Network Adapter] dialog box.
4. Specify the exact path of the driver diskette, A:\WINDOWS.NT. Then click [OK] button.
3-2 Smartio C104H/PCI Series User’s Manual
Software Installation
5. Select MOXA Smartio/Industio Family multiport board in Select OEM Option dialog box, and click [OK] to start driver installation.
Moxa Smartio/Industio Configuration Panel dialog box appears.
6. Click [Add] button to open Property dialog box to change port setting and advanced FIFO configuration done automatically by the system.
7. Select the newly plugged C104H/PCI board from the Board Type pull-down list.
8. Click on a specific port Item.
9. Click [Port Setting] button to open Port X dialog box.
Smartio C104H/PCI Series User’s Manual 3-3
10. Select a COM number for the specific port from Port Number pull-down list.
Note! Step 11 is optional, if you want to assign COM numbers to ports
manually.
11. Check Auto Enumerating COM Number check-box then the subsequent
ports are mapped to continuous COM numbers. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2.
Note! You may skip Step 12 to 15, if the system doesn’t require a
special performance tuning.
12. Select an Rx FIFO Trigger from Rx FIFO Trigger pull-down list.
Rx FIFO trigger levels, at 1, 4, 8 or 14 bytes, are available, and the default value is 14 bytes.
3-4 Smartio C104H/PCI Series User’s Manual
Software Installation
13. Check Set the change to all ports check-box then if desire to apply Rx FIFO Trigger just defined to all ports.
14. Select a Tx FIFO Size from Tx FIFO Size pull-down list.
Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes.
15. Check Set the change to all ports check-box then the if desire to apply Tx FIFO Size just defined to all ports.
16. Click [OK] button in Port X dialog box to confirm the port setting.
17. Click [OK] button in Property dialog box to complete the port setting and return to MOXA Smartio/Industio Configuration Panel dialog box.
Now the configured C104H/PCI Series board item will be shown in MOXA Smartio/Industio Configuration Panel dialog box.
Smartio C104H/PCI Series User’s Manual 3-5
18. Click [OK] button in MOXA Smartio/Industio Configuration Panel to
return to Network dialog box.
19. Click [OK] button in to exit Network dialog box.
20. Restart the PC.
Note! The driver configuration will NOT take effect until you restart the
PC.
Note! Double check if all the Smartio C104H/PCI Series components –
the control board and the external 1X4 cable – are connected and fastened tightly to make sure that the system and the driver start successfully.
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.
21. Enter the [Administrative] group, click [Event Viewer] icon and select [Log] and [System] to check a message similar to “MOXA C104PCI series, with first serial port COM3, has been enabled” for each configured board.
3-6 Smartio C104H/PCI Series User’s Manual
Loading...
+ 44 hidden pages