Contec COM-2(PCI), COM-4(PCI), COM-8(PCI) User Manual

COM-2(PCI), COM-4(PCI), COM-8(PCI)
RS-232C Serial I/O Board for PCI
User’s Guide
Copyright
Copyright 1998 CONTEC Co., LTD. ALL RIGHTS RESERVED No part of this document may be copied or reproduced in any form
by any means without prior written consent of CONTEC Co., LTD.
All relevant issues have been considered in the preparation of this document. Should you notice an omission or any questionable item in this document, please feel free to notify CONTEC Co., LTD.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may appear in this document nor for results obtained by the user as a result of using this product.
Trademarks
MS, Microsoft, MS-DOS and Windows are trademarks of Microsoft Corporation. Other brand and product names are trademarks of their respective holder.
COM-2(PCI), COM-4(PCI), COM-8(PCI) i
Product Configuration
- Main board (one of the following)
[COM-2(PCI), COM-4(PCI), COM-8(PCI) Board] …1
- COM(PCI) Series Windows COM Driver with DOS Sample program (3.5inch/1.44MB) …1
- User’s Guide (this booklet)…1
Unpacking:
This board is specially packed in an anti-static bag to prevent damage in shipping.
Check the contents to make sure that you have everything listed above. If you do not have all the items, contact your distributor or CONTEC group office where you purchased.
Note!
Do not remove the board from its protective packaging until the computer case is open and ready for installation. Electrical static can cause damage to electrical components.
COM-2(PCI), COM-4(PCI), COM-8(PCI)ii
Table of Contents
Copyright............................................................................i
Trademarks ........................................................................i
Product Configuration ..................................................... ii
1. Introduction .............................................................1
Features.........................................................................2
Limited Three-Year Warranty......................................3
How to Obtain Service..................................................3
Liability.........................................................................3
Handling Precautions...................................................4
About the Manual.........................................................5
2. Component Locations and Setting..............................7
Component Locations........................................................7
Setting the Board ID .......................................................10
Setting Procedure .......................................................10
3. Board Setup ............................................................11
For Windows Me Systems...............................................12
For Windows 98 Systems................................................15
For Windows 95 Systems................................................19
For Windows 2000 Systems............................................25
For Windows NT Systems ..............................................30
For Other OS Systems....................................................32
COM-2(PCI), COM-4(PCI), COM-8(PCI) iii
4. External Connection ............................................... 35
Interface Connector.........................................................35
Connecting the Interface Connector and Pin
Assignment..................................................................35
Optional Cables and Accessories....................................39
Optional Accessory List..............................................39
Connection Procedure.................................................40
Converting the Interface Connector
to 9-pin D-SUB, Male Connectors..............................41
Converting the Interface Connector
to 25-pin D-SUB, Male Connectors............................43
When using the CCU-78F/25M distribution unit.....45
Connecting the Cable......................................................47
5. I/O Ports and Registers ........................................... 49
I/O Port Assignment........................................................49
I/O Ports and Registers...................................................51
Register Address List for the 16552 and 16654 ............52
Baud Rate Selection........................................................54
Interrupt Vector Register ...............................................55
Using Interrupts.............................................................58
6. System Reference.................................................... 61
Circuitry Diagrams.........................................................61
Specifications...................................................................62
Block Diagrams...............................................................65
7. Index ..................................................................... 69
COM-2(PCI), COM-4(PCI), COM-8(PCI)iv
List of Figures
Figure 2.1. Component Locations <COM-2(PCI)>..................... 7
Figure 2.2. Component Locations <COM-4(PCI)>..................... 8
Figure 2.3. Component Locations <COM-8(PCI)>..................... 9
Figure 2.4. Board ID Settings (SW1)........................................ 10
Figure 3.1. Sample Programs on FD......................................... 33
Figure 4.1. Interface Connector <COM-2(PCI)>...................... 35
Figure 4.2. Pin Assignment of Interface Connector
<COM-2(PCI)>...................................................... 35
Figure 4.3. Interface Connector <COM-4(PCI)>...................... 36
Figure 4.4. Pin Assignment of Interface Connector
<COM-4(PCI)>...................................................... 36
Figure 4.5. Interface Connector <COM-8(PCI)>...................... 37
Figure 4.6. Pin Assignment of Interface Connector
<COM-8(PCI)>...................................................... 37
Figure 4.7. The note about external connection........................ 38
Figure 4.8 Connection Type..................................................... 40
Figure 4.9. PCE37/9PS Specifications ...................................... 41
Figure 4.10. PCE78/9PS Specifications ...................................... 42
Figure 4.11. PCE37/25PS Specifications.................................... 43
Figure 4.12. PCE78/25PS Specifications.................................... 44
Figure 4.13. Connection Procedure ............................................ 45
Figure 4.14. Interface Connector Pin Assignment ...................... 45
Figure 4.15. Example Connection to a Modem........................... 47
Figure 4.16. Example Connection to a PC.................................. 47
Figure 4.17. Example Connection to a Device............................ 48
COM-2(PCI), COM-4(PCI), COM-8(PCI) v
Figure 5.1. I/O Port Assignment <COM-2(PCI)>..................... 49
Figure 5.2. I/O Port Assignment <COM-4(PCI)>..................... 49
Figure 5.3. I/O Port Assignment <COM-8(PCI)>..................... 50
Figure 5.4. Interrupt Vector Register <COM-2(PCI)> .............. 55
Figure 5.5. Interrupt Vector Register <COM-4(PCI)> .............. 56
Figure 5.6. Interrupt Vector Register <COM-8(PCI)> .............. 57
Figure 5.7. Interrupt Output Control Circuit............................. 59
Figure 6.1. Circuitry Diagrams................................................. 61
Figure 6.2. Block Diagrams <COM-2(PCI)> ............................ 65
Figure 6.3. Block Diagrams <COM-4(PCI)> ............................ 66
Figure 6.4. Block Diagrams <COM-8(PCI)> ............................ 67
List of Tables
Table 3.1. Data Format.............................................................. 33
Table 4.1. Connection Procedure............................................... 40
Table 5.1. Function Selection Through Internal Registers.......... 51
Table 5.2. Register Address List for the 16552 and 16654
(Short from Texas Instruments data book) < 1 / 2 > .. 52
Table 5.2. Register Address List for the 16552 and 16654
(Short from Texas Instruments data book) < 2 / 2 > .. 53
Table 5.3. Baud Rate and Divisors............................................. 54
Table 6.1. Specification < COM-2(PCI)>.................................. 62
Table 6.2. Specification < COM-4(PCI)>.................................. 63
Table 6.3. Specification < COM-8(PCI)>.................................. 64
COM-2(PCI), COM-4(PCI), COM-8(PCI)vi
1. Introduction
Thank you for purchasing this PCI bus RS-232C communications board. This PCI bus board is an interface board for serial data transfer with external devices. The board is installed in one of the PC's PCI bus slots or in a PCI bus unit. Please read this manual carefully before implementing in a system (such as developing application programs or connecting to external devices). Use of this board requires either driver software from CONTEC or your own driver software that accesses the I/O address directly.
Support software provided with the board
COM-DRV(W32) ..... Standard COM serial communications
This is the same software as described in API-PAC(W32). This software enables the board to be used in the same way as the PC's COM ports (standard COM). By adding additional boards, ports COM1 to COM256 can be installed. This enables serial communications for purposes such as remote access service (RAS) and uninterruptable power supplies (UPS). The software supports the standard Win32 API communication routines. Visual Basic communications control is supported.
Introduction
driver software for Windows 2000, NT, Me, 98 and 95
COM-2(PCI), COM-4(PCI), COM-8(PCI) 1
Introduction
Features
Support software sold separately < Examples of CONTEC software products for Windows>
- Driver Software Package (Option) API-PAC(W32)
< Examples of CONTEC software products for Windows 3.1 >
- Driver Software (Option) (supports COM4-(PCI) only) API-SIO(PC)WIN
Please follow the setup instructions of the User’s manual shipped with the software products and/or the help files of the package to setup our interface board(s) to your system.
For details of CONTEC software products, please contact our sales agencies.
- As the board supports the PCI bus, the I/O address and IRQ
resource settings are set automatically.
- RS-232C compliant serial I/O ports
Board Number of channels COM-2(PCI) 2 COM-4(PCI) 4 COM-8(PCI) 8
- Multiple boards can be installed in the same PC.
Board
COM-2(PCI) 16 COM-4(PCI) 8 COM-8(PCI) 16
Maximum number of
installed boards
- The data transfer rate is software-selectable in the range 50 to
230.4Kbps. The data transfer rate for each channel can be set independently.
COM-2(PCI), COM-4(PCI), COM-8(PCI)2
Limited Three-Year Warranty
CONTEC Interface boards are warranted by CONTEC Co., LTD. to be free from defects in material and workmanship for up to three years from the date of purchase by the original purchaser.
Repair will be free of charge only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office, from which it was purchased.
This warranty is not applicable for scratches or normal wear, but only for the electronic circuitry and original boards. The warranty is not applicable if the device has been tampered with or damaged through abuse, mistreatment, neglect, or unreasonable use, or if the original invoice is not included, in which case repairs will be considered beyond the warranty policy.
How to Obtain Service
For replacement or repair, return the device freight prepaid, with a copy of the original invoice. Please obtain a Return Merchandise Authorization Number (RMA) from the CONTEC group office where you purchased before returning any product.
Introduction
* No product will be accepted by CONTEC group without the
RMA number.
Liability
The obligation of the warrantor is solely to repair or replace the product. In no event will the warrantor be liable for any incidental or consequential damages due to such defect or consequences that arise from inexperienced usage, misuse, or malfunction of this device.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 3
Introduction
Handling Precautions
Take the following precautions when handling this board.
- Do not strike or bend the board. Doing so could damage the board.
- Do not modify the board. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this board.
- Do not touch the board's metal plated terminals (edge connector) with your hands. Doing so could cause connection malfunctions. If the terminals are touched by someone's hands, clean the terminals with industrial alcohol.
- There are switches on the board that need to be set in advance. Be sure to check these before installing the board.
- Only set the switches and jumpers on the board to the specified settings. Doing otherwise would cause trouble.
- Install the board in the computer's PCI expansion slot.
- Do not install or remove the board to or from the slot while the computer's power is turned on. Doing so could cause trouble. Be sure that the personal computer or the I/O expansion unit power is turned off.
- The sum of the power consumed by the boards installed in the personal computer's PCI bus expansion slots cannot be larger than the personal computer's allowable power supply capacity. If the boards' power sum is larger than this capacity, trouble could occur.
COM-2(PCI), COM-4(PCI), COM-8(PCI)4
About the Manual
This manual consists of the following chapters : Chapter 1 Introduction Chapter 2 Component Locations and Setting
This chapter explains the names of major parts on the board and its switch setting.
Chapter 3 Board Setup
This chapter describes the procedures for setting up the board.
Chapter 4 External Connection
This chapter explains how to connect external devices to the board and gives notes on connecting them.
Chapter 5 I/O Ports and Registers
This chapter provides the assignment and definition of each I/O port bit used for the board. Refer to this chapter when writing driver software.
Chapter 6 System Reference
This chapter summarizes hardware specifications of the board and provides circuit block diagrams.
Introduction
Chapter 7 Index
COM-2(PCI), COM-4(PCI), COM-8(PCI) 5
Introduction
COM-2(PCI), COM-4(PCI), COM-8(PCI)6
Component Locations and Setting
2. Component Locations and Setting
Component Locations
Figure 2.1 - 2.3 shows the names of major parts on the board. Note that the switch setting shown below is the factory default.
COM-2(PCI)
Figure 2.1. Component Locations <COM-2(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 7
Component Locations and Setting
COM4-(PCI)
Figure 2.2. Component Locations <COM-4(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI)8
COM-8 (PCI)
Component Locations and Setting
Figure 2.3. Component Locations <COM-8(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 9
Component Locations and Setting
Setting the Board ID
If two or more boards of the same type are installed in the same PC, a board ID is assigned to identify each board. Set a different value for each board.
The board IDs can be set in the range 0 to F enabling a maximum of 16 boards to be identified.
However, the range for COM-4(PCI) is 0 to 7, giving a maximum of 8 boards.
Setting Procedure
The board IDs are set on a rotary switch on the board. Rotate SW1 to the desired setting. However, do not set board IDs 8 or 9 on the COM-4(PCI) as these ID numbers are not used. The rotary switch setting shown in the figure sets board ID 0.
Figure 2.4. Board ID Settings (SW1)
COM-2(PCI), COM-4(PCI), COM-8(PCI)10
3. Board Setup
The board setup method for the board depends on the operating system being used. Set up the board using the method appropriate for the OS that you are using.
For MS Windows OS systems, we recommend you to use our Windows software products (optional).
< Examples of CONTEC software products for Windows>
- Driver Software Package (Option) API-PAC(W32)
< Examples of CONTEC software products for Windows 3.1 >
- Driver Software (Option) (supports COM4-(PCI) only)
Please follow the setup instructions of the User’s manual shipped with the software products and/or the help files of the package to setup our interface board(s) to your system.
For details of CONTEC software products, please contact our sales agencies.
Board Setup
API-SIO(PC)WIN
COM-2(PCI), COM-4(PCI), COM-8(PCI) 11
Board Setup
For Windows Me Systems
Every PCI bus board/device will be automatically assigned required system resources, such as I/O address range and interrupt level, by the system whenever the system is turned on.
Under Windows Me OS, before using the board you should register the board information, such as assigned resources, to the OS. This procedure is called hardware installation. After the hardware installation is done, Windows Me can then manage the board information from its registers.
Following is hardware installation steps. After finished the installation, you are supposed to confirm the registered board information from Windows Me registers.
Hardware Installation Steps
(1) Set the board ID. (2) Be sure the power of the personal computer is turned off; then
plug the board into a PCI bus slot in the system.
(3) Turn the personal computer ON to start up Windows Me. (4) Because this is the first time Windows Me detected the board
from the system, Windows Me will display a message of [New Hardware] on the screen and start run an [Add New Hardware Wizard] program. After you find a massage of [PCI Communication Device] from the program window. Select a radio button of [Automatic search for a better driver. (Recommended)] after insert the attached floppy disk into the disk drive, then click [Next>] to continue.
(5) The copy of the necessary file is done automatically from the
floppy disk.
(6) In the next dialog box, you will find a message of “Windows
has finished installing the new hardware device.” Then you click [Finish] to complete the installation of the board. After completed the board installation, you are supposed to confirm the registered board information from Windows Me registers. The "Checking resources" part of this section explains you how to do it.
COM-2(PCI), COM-4(PCI), COM-8(PCI)12
Board Setup
(7) After restarting system, run Config.exe from\CONTEC folder
to which file was copied. Register the COM port No. in Config.exe.
(8) After restarting system, you can use registered COM port as
standard COM port.
Method of installing two or more boards:
(1) Install the first board correctly. (2) Be sure to complete installation of the first board before
attempting to install a second one. (3) Exit Windows Me and turn the personal computer off. (4) Set the board ID of the second board that should be different
from the first one. Then plug the board into a PCI bus slot. (5) Turn the personal computer on and start the Windows Me
again. (6) The Windows Me will then automatically install the second
board. When the installation has been completed, re-check
the assigned resources. (7) After restarting system, run Config.exe from \CONTEC folder
to which file were copied. Enter the COM port No. in
Config.exe. (8) After restarting system, the board enable the board to used as
standard COM port. For installing the third board and any additional boards, follow the
same steps as those for installing a second board. Before you can install a third board or additional boards, all the boards that are already installed must be in their PCI bus slots.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 13
Board Setup
Notes!
- The second board cannot be properly installed unless the resources (I/O addresses and interrupt level) for the board can be allocated. Before attempting to install the second board, first determine what PC resources are free to use.
- The resources used by each board do not depend on the location of the PCI bus slot or the board itself. If you remove two or more boards that have already been installed and then remount one of them on the computer, it is unknown that which one of the sets of resources previously assigned to the two boards is assigned to the remounted board. In this case, you must check the resource settings.
Checking resources
Follow the steps below to check the assigned resources managed by the OS.
(1) Double-click on the [System] option in [Control Panel] to open
the [System Properties] property sheet. Select the [Device Manager] tab.
(2) Click [Multi-function adapters] folder. (3) Click [CONTEC Co., Ltd.-COM-x(PCI)] folder to display its
properties.
(4) Select the [Resources] tab to check the device type, resource
settings, and the conflicting device list.
Precautions when using the API-SIO(98/PC)W95 bundled with the API-PAC(W32):
To use the API-SIO(98/PC)W95 after installing the hardware, install the API-SIO(98/PC)W95 from the API-PAC(W32) and then run Config.exe.
API-SIO(98/PC)W95 can be used by a system's restarting after choose [Tool] > [API-SIO] and set up board to use. However, the board and another board can't used as standard COM such as Hyper Terminal using API-SIO(98/PC)W95.
The API-SIO(98/PC)W95 cannot be used simultaneously with another allocated standard COM.
COM-2(PCI), COM-4(PCI), COM-8(PCI)14
For Windows 98 Systems
Every PCI bus board/device will be automatically assigned required system resources, such as I/O address range and interrupt level, by the system whenever the system is turned on.
Under Windows 98 OS, before using the board you should register the board information, such as assigned resources, to the OS. This procedure is called hardware installation. After the hardware installation is done, Windows 98 can then manage the board information from its registers.
Following is hardware installation steps. After finished the installation, you are supposed to confirm the registered board information from Windows 98 registers.
Hardware Installation Steps
(1) Set the board ID. (2) Be sure the power of the personal computer is turned off; then
plug the board into a PCI bus slot in the system.
(3) Turn the personal computer ON to start up Windows 98.
Board Setup
(5) Because this is the first time Windows 98 detected the board
from the system, Windows 98 will display a message of [New Hardware] on the screen and start run an [Add New Hardware Wizard] program. After you find a massage of [PCI Communication Device] from the program window, click [Next>] to continue.
(5) In the next dialog box, select a radio button of [Search for the
best driver for your device. (Recommended).], then click [Next>] to continue.
(6) In the next dialog box, select both of the [Floppy disk drives
(F)] and [Specify Location (L)] check boxes, then enter the drive name, such as “A:”, and the directory name, COMDRV, into the [Location] field. Insert the attached FD into the disk drive, then click [Next>] to continue.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 15
Board Setup
(7) In the [Windows driver file search for the device] dialog box,
check that "CONTEC Co., Ltd.-COM-x(PCI)" and "COM2K_PI.INF" in the [Location of driver] has been listed, then click [Next>] to continue.
(8) In the next dialog box, you will find a message of “Windows
has finished installing the software that your new hardware device requires.” Then you click [Finish] to complete the installation of the board. After completed the board installation, you are supposed to confirm the registered board information from Windows 98 registers. The "Checking resources" part of this section explains you how to do it.
(9) After restarting system, run Config.exe from\CONTEC folder
to which file was copied. Register the COM port No. in Config.exe.
(10) After restarting system, you can use registered COM port as
standard COM port.
Method of installing two or more boards:
(1) Install the first board correctly. (2) Be sure to complete installation of the first board before
attempting to install a second one.
(3) Exit Windows 98 and turn the personal computer off. (4) Set the board ID of the second board that should be different
from the first one. Then plug the board into a PCI bus slot.
(5) Turn the personal computer on and start the Windows 98 again. (6) The Windows 98 will then automatically install the second
board. When the installation has been completed, re-check the assigned resources.
(7) After restarting system, run Config.exe from \CONTEC folder
to which file were copied. Enter the COM port No. in Config.exe.
(8) After restarting system, the board enable the board to used as
standard COM port.
COM-2(PCI), COM-4(PCI), COM-8(PCI)16
Notes!
Board Setup
For installing the third board and any additional boards, follow the same steps as those for installing a second board. Before you can install a third board or additional boards, all the boards that are already installed must be in their PCI bus slots.
- The second board cannot be properly installed unless the resources (I/O addresses and interrupt level) for the board can be allocated. Before attempting to install the second board, first determine what PC resources are free to use.
- The resources used by each board do not depend on the location of the PCI bus slot or the board itself. If you remove two or more boards that have already been installed and then remount one of them on the computer, it is unknown that which one of the sets of resources previously assigned to the two boards is assigned to the remounted board. In this case, you must check the resource settings.
Checking resources
Follow the steps below to check the assigned resources managed by the OS.
(1) Double-click on the [System] option in [Control Panel] to open
the [System Properties] property sheet. Select the [Device Manager] tab.
(2) Click [Multi-function adapters] folder. (3) Click [CONTEC Co., Ltd.-COM-x(PCI)] folder to display its
properties.
(4) Select the [Resources] tab to check the device type, resource
settings, and the conflicting device list.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 17
Loading...
+ 56 hidden pages