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

Page 1
COM-2(PCI), COM-4(PCI), COM-8(PCI)
RS-232C Serial I/O Board for PCI
User’s Guide
Page 2
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
Page 3
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
Page 4
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
Page 5
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
Page 6
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
Page 7
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
Page 8
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
Page 9
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
Page 10
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
Page 11
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
Page 12
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
Page 13
Introduction
COM-2(PCI), COM-4(PCI), COM-8(PCI)6
Page 14
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
Page 15
Component Locations and Setting
COM4-(PCI)
Figure 2.2. Component Locations <COM-4(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI)8
Page 16
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
Page 17
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
Page 18
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
Page 19
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
Page 20
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
Page 21
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
Page 22
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
Page 23
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
Page 24
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
Page 25
Board Setup
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)18
Page 26
For Windows 95 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 95 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 95 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 95 registers.
This procedure does not install board driver(s). Lately you should install driver program(s) yourself.
Hardware Installation Steps <Checking the OS version>
The procedure of installing the board is different from the Windows 95 versions. Before any installation, you must check the version of Windows 95 that you are using.
Board Setup
(1) Open [Control Panel] from [My Computer]. (2) Double-click on the [System] option to open the [System
Properties] property sheet.
(3) Check the "System:" number displayed on the [General] page.
System : Microsoft Windows 95
4.00.950
The versions of Windows 95 include 4.00.950, 4.00.950a,
4.00.950B and 4.00.950C. The board setup method depends on the version of Windows 95 that is being used.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 19
Page 27
Board Setup
For Windows 95 version 4.00.950 or 4.00.950a systems:
(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 95. (4) Windows 95 will come up with the [New Hardware] detection
dialog box. Select [CONTEC Co.,Ltd.-COM-x(PCI): Select which driver you want to install for your new hardware.] and then [Driver from disk provided by hardware manufacturer].
(5) In the [Install From Disk] dialog box, insert the attached FD
into the disk drive, enter the drive name and directory name in the [Copy Distributed File From] field, then click [OK]. This completes installation of the board.
(6) Follow the instructions on the screen to complete installation
of the board. After completed the board installation, you are supposed to confirm the registered board information from Windows 95 registers. The "Checking resources" part of this section explains you how to do it.
(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.
COM-2(PCI), COM-4(PCI), COM-8(PCI)20
Page 28
Board Setup
For Windows 95 version 4.00.950B or 4.00.950C systems:
(1) Set the board ID. (2) Be sure to check that the personal computer is off; then plug
the board into a PCI bus slot in the system.
(3) Turn the personal computer on to start up Windows 95. (4) Because this is the first tim e Windows 95 detected the board
from the system, Windows 95 will display a message of [New Hardware] on the screen and start run an [Device Driver Wizard] program. After you find a massage of [PCI Communication Device] from the program window, click [Next>] to continue.
(6) In the next dialog box, select [Specify Location...]. Insert the
attached FD into a drive, enter the drive name and directory name (COMDRV) in the [Location] field, then click [OK].
(7) In the next dialog box, there should be a message of "Updated
driver found for this device". After confirmed this message you click [End]. This completes installation of the board. After completed the board installation, you are supposed to confirm the registered board information from Windows 95 registers. The "Checking resources" part of this section explains you how to do it.
(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.
When dialog of [The file "*.*" on CONTEC COM-x(PCI) Series Windows COM Driver could not be found] is indicated during the installation, specify "A:\COMDRV" in [Copy files from].
COM-2(PCI), COM-4(PCI), COM-8(PCI) 21
Page 29
Board Setup
Method of installing two or more boards (For Windows 95 version 4.00.950 or 4.00.950a system) :
(1) Install the first board correctly. (2) Be sure to complete installation of the first board before
attempting to install the second one.
(3) Exit Windows 95 and turn the personal computer off. (4) Check 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 again to start up Windows 95. (6) Windows 95 will come up with the [New Hardware] detection
dialog box. In [CONTEC Co.,Ltd.-COM-x(PCI): Select which driver you want to install for your new hardware.], select [Select from List].
(7) The [Select Hardware Type] dialog box will then appear.
In [Select Hardware Type to Install] windows, select [Other Devices].
(8) In the [Select Device] dialog box, select [CONTEC] from
[Manufacturers] window and select [CONTEC Co., Ltd.­COM-x(PCI)] from [Models] window.
Notes!
(9) A [Change System Settings] dialog box appears. Follow the
messages to restart the computer.
(10) When Windows 95 is restarted, installation of the second board
is completed. Check the assigned resources again.
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 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.
COM-2(PCI), COM-4(PCI), COM-8(PCI)22
Page 30
Board Setup
- The resources used for 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 re-mount one of them on the computer, it is unknown which one of the sets of resources previously assigned to the two boards is assigned to the re-mounted board. In this case, re-check the resource settings.
Method of installing two or more Boards (For Windows 95 version 4.00.950B or 4.00.950C systems) :
(1) Install the first board correctly. (2) Be sure to complete installation of the first board before
attempting to install the second one.
(3) Exit Windows 95 and turn the personal computer OFF. (4) Check the board ID of the second board, then plug it into a PCI
bus slot. Assign to the second board a board ID different from the ID assigned to the first board.
(5) Turn the personal computer on again to start up Windows 95. (6) The OS will then automatically install the second board.
When the installation has been completed, check the assigned resources again.
Notes!
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 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 a second board, first determine which PC resources are free.
- The resources used for 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 re-mount one of them on the computer, it is unknown which one of the sets of resources previously assigned to the two boards is assigned to the re-mounted board. In this case, re-check the
COM-2(PCI), COM-4(PCI), COM-8(PCI) 23
Page 31
Board Setup
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 on the [Multi-function adapters] folder. (3) Click on the [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)24
Page 32
For Windows 2000 Systems
When using the API-SIO(98/PC)NT bundled with the API-PAC(W32), you do not need to execute the following procedure. For more information, see the API-PAC(W32) documentation.
Hardware Installation Steps
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 2000 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 2000 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 2000 registers.
(1) Set the board ID.
Board Setup
(2) Be sure to check that the personal computer is off; then plug
the board into a PCI bus slot in the system.
(3) Turn the personal computer ON to start up Windows 2000 as
an administrator.
(4) Windows 2000 will come up with the [Found New Hardware]
detection dialog box. In the [Found New Hardware Wizard] that appears next, then select [Next>].
(5) In the next dialog box, check that "PCI Simple
Communications Controller" has been listed, select a radio button of [Search for the suitable driver for my device.(recommended).], then select [Next>].
(6) In the next dialog box, select the [Floppy disk drives] check
boxes, then Insert the attached FD into the disk drive, then select [Next>].
COM-2(PCI), COM-4(PCI), COM-8(PCI) 25
Page 33
Board Setup
Notes!
(7) In the [Driver Files Search Results] dialog box, check that
"COM2K_PI.INF" in the [Windows found a driver for this device] has been listed, then select [Next>]. However, do not check it in a check box.
(8) In the next dialog box, check the "Completing the found New
Hardware Wizard.", and "CONTEC Co.,Ltd.COM-x(PCI)" message, then select [Finish]. After completed the board installation, be sure to check the assigned resources. The "Checking resources" part of this section explains you how to check the OS assigned resources of this board. (When board setup has been completed, be sure to check the assigned resources.)
(9) Run Config.exe from \CONTEC folder to which file were
copied. Enter the COM port No. in Config.exe.
(10) After restarting system, the board enable the board to te used
as standard COM port.
- The 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.
- The resources used for the board do not depend on the location of the PCI bus slot or the board itself. If you remove the board that have already been installed and then remount one of them on the computer, it is unknown which one of the sets of resources previously assigned to the two boards is assigned to the remounted board. In this case, re-check the resource settings.
COM-2(PCI), COM-4(PCI), COM-8(PCI)26
Page 34
Board Setup
How to install two or more boards of the same type
Follow the procedure below to install two or more boards of the same type on Windows 2000.
(1) Check the board ID of the first board, plug it into a PCI bus
slot, then start up Windows 2000 to install the first board correctly.
(2) Check that the first board has been set up correctly, as
described in "Checking resources". Be sure to complete installation of the first board before attempting to install the second one.
(3) Exit Windows 2000 and turn the personal computer off. (4) Check the board ID of the second board, then plug it into a PCI
bus slot. Assign ID to the second board a board ID that is different from the ID assigned to the first board.
(5) Turn the personal computer on again to start up Windows 2000
as an administrator
(6) Windows 2000 will come up with the [New Hardware]
detection dialog box, installation of the second board is completed. Check the assigned resources again.
(7) 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 te used
as standerd COM port.
For installing the third board and any additional boards, before you can install a third board or additional boards, all boards that are already installed must be in PCI bus slots. all boards that are already installed must be in PCI bus slots.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 27
Page 35
Board Setup
Notes!
- A second board cannot be properly installed unless the resources (I/O addresses and interrupt level) to be used for the board can be allocated. Before attempting to install a second board, first determine which PC resources are free.
- The resources used for 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 re-mount one of them on the computer, it is unknown which one of the sets of resources previously assigned to the two boards is assigned to the re-mounted board. In this case, check the resource settings again.
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], Click
on [Hardware] property sheet. Open [Device Manager].
(2) Double-Click on the [Multifunction adapters] folder. (3) Click on the [CONTEC Co.,Ltd.-COM-x(PCI)] or [CONTEC
Co.,Ltd.-COM-x(PC)x] folder to display its properties.
(4) Select the [Resources] tab to check the device type, resource
settings, and the conflicting device list.
Once installation is complete, the board can now be used under Windows 2000.
COM-2(PCI), COM-4(PCI), COM-8(PCI)28
Page 36
Board Setup
Note to use CONTEC provides driver software API-SIO(98/PC)NT.
Cannot use COM port whereby it was allotted in API-SIO(98/PC)NT. When use API-SIO(98/PC)NT after installation COM-DRV, remove the registration information of the board installed with the following process.
(1) Start [Explore], and right click on \WINNT\INF folder, and
choose [Search].
(2) Remove [OEM*.INF] indicated after [COM2K_PI] is inputted
to [Contening text:] and [Search Now] is carried out, and [OEM*.PNF].
(3) Double-click on the [System] option in [Control Panel], Clicks
on [Hardware] property sheet. Open [Device Manager].
(4) Double-Click on the [Multifunction adapters] folder. (5) An installed board is chosen, and [Uninstall] is carried out
after [Action].
(6) Do the installation of the board by using the medium of
API-PAC(W32) because [Add New Hardware Wizard] starts after the OS re-start.
However, cannot use a board as which using API-SIO(98/PC)NT as the standard COM port.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 29
Page 37
Board Setup
For Windows NT Systems
Installing the driver software provided with the board enables the board to be used as standard Windows NT COM ports. When
using the API-SIO(98/PC)NT bundled with the API-PAC(W32), you do not need to execute the following procedure. For more information, see the API-PAC(W32) documentation.
Verifying PC settings
Be sure that [PnP OS] is either [disabled], [No], or set to [not to use] in the PC's BIOS setup. If this is set to [enable], [Yes], [Use], [Windows 95], or for example, the board might not be recognized properly.
Hardware Installation Steps
(1) Set the board ID. (2) Be sure that the personal computer power is off. Then plug
the board into a PCI bus slot in the system.
(3) Start Windows NT with Administrator. (4) When Windows NT starts, run Explorer. (5) Right click on the COMNT_PI.INF file in the \COMDRV
folder of the floppy disk, then left click on.
(6) Run Config.exe from the \CONTEC folder to which the files
were copied. Enter the board name, COM port No., and board ID in Config.exe.
(7) The "Checking resources" part of this section explains you
how to check the OS assigned resources of this board.
COM-2(PCI), COM-4(PCI), COM-8(PCI)30
Page 38
Board Setup
Checking resources
Follow the steps below to check the assigned resources managed by the OS.
(1) Open [Windows NT Diagnostic Program] from [Management
Tools].
(2) Select [Resource] ([IRQ/Port Status]). Check the resource
types and settings assigned to the name "ComDrv", and check for any conflicts.
Once installation is complete, the board's ports can now be used as standard Windows NT COM ports.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 31
Page 39
Board Setup
For Other OS Systems
For all the other operation systems, in addition of the Windows OS, we use MS-DOS/Windows 3.1 as an example to show how to use the board under the OS.
For all the other operation systems, refer the MS-DOS programs of the attached FD as an example.
For a PCI bus board, the system will automatically assign a usable resource/resources to the board. Refer the following procedure to copy the attached programs and to confirm the assigned resource/resources.
Hardware Installation Steps
(1) Set the board ID. (2) Be sure that the personal computer is off; then plug the board
into a PCI bus slot in the personal computer.
(3) Turn the personal computer ON to start up MS-DOS. (4) Run the resource checking program (COMPCI.EXE) from the
DOS directory of the supplied floppy disk.
(5) Check the I/O address and interrupt level displayed on the
screen. If the I/O address and interrupt level are displayed correctly, the board can be used on MS-DOS and Windows 3.1.
Obtaining resource information
You can obtain the PC resource information assigned to the board by accessing the PCI BIOS. For specific details, refer to the sample programs in the DOS directory of the supplied FD.
COM-2(PCI), COM-4(PCI), COM-8(PCI)32
Page 40
Board Setup
Support software
CONTEC does not provide driver software for MS-DOS or Windows 3.1. If using the boards on MS-DOS, refer to the sample programs in the DOS directory of the supplied FD.
Sample programs for MS-DOS
The sample programs for using the board under MS-DOS are written in Microsoft C. The attached FD contains following sample programs.
Table 3.1. Data Format
Parameter
Baud rate 9600bps 230.4Kbps
Data bits Stop bits
Parity
DOS --- Samples ---
(ii) (iii) (iv) (vii) (viii) (v) (vi)
(i) COMPCI.C Resource check program
(ii) COMPCI01.C Data transmission
(iii) COMPCI02.C Data reception
(iv) COMPCI03.C Interrupt-driven data reception
(v) COMPCI04.C Data transmission and reception
(vi) COMPCI05.C Interrupt-driven data transmission
(vii) COMPCI06.C Half-duplex data transmission
(viii)COMPCI07.C Half-duplex data reception
Data format
8 bits 2 bits None
COMPCI.EXE
COMPCI01.EXE
COMPCI02.EXE
COMPCI03.EXE
COMPCI04.EXE
COMPCI05.EXE and reception
COMPCI06.EXE
COMPCI07.EXE
Figure 3.1. Sample Programs on FD
COM-2(PCI), COM-4(PCI), COM-8(PCI) 33
Page 41
Board Setup
Note!
As sample programs (vii) and (viii) use half-duplex mode, they can only be run for the COM-2PD(PCI) board. The programs cannot be used for the COM-2(PCI), COM-4(PCI), and COM-8(PCI) boards. See Chapter 5 for details about I/O addresses. For details on I/O addresses, see Chapter 5 "I/O Ports and Registers."
- When you use the board under a non plug-and-play OS like MS-DOS, be sure that [PnP OS] is either [disabled] or set to [not to use] in the PC's BIOS setup. If this is set to [Windows 95], for example, the board might not be recognized properly.
COM-2(PCI), COM-4(PCI), COM-8(PCI)34
Page 42
4. External Connection
Interface Connector
Connecting the Interface Connector and Pin Assignment
Use the on-board interface connector to connect the board to an external device.
COM-2(PCI)
External Connection
Figure 4.1. Interface Connector <COM-2(PCI)>
Figure 4.2. Pin Assignment of Interface Connector
<COM-2(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 35
Page 43
External Connection
COM-4(PCI)
Figure 4.3. Interface Connector <COM-4(PCI)>
Figure 4.4. Pin Assignment of Interface Connector
<COM-4(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI)36
Page 44
External Connection
COM-8(PCI)
Figure 4.5. Interface Connector <COM-8(PCI)>
Signal
Pin No. Pin No. Pin No.
name
1 DTR 8 21 CTS 8 40 RI 8 60 SG 8 2 RxD 8 22 RTS 8 41 DCD 8 61 N.C. 3 TxD 8 23 CTS 7 42 DSR 8 62 RI 7 4 RxD 7 24 RTS 7 43 DTR 7 63 SG 7 5 TxD 7 25 DSR 7 44 DCD7 64 N.C. 6 DTR 6 26 CTS 6 45 RI 6 65 SG 6 7 RxD 6 27 RTS 6 46 DCD 6 66 N.C. 8 TxD 6 28 CTS 5 47 DSR 6 67 RI 5
9 RxD 5 29 RTS 5 48 DTR 5 68 SG 5 10 TxD 5 30 DSR 5 49 DCD 5 69 RI 4 11 RxD 4 31 CTS 4 50 DTR 4 70 SG 4 12 TxD 4 32 RTS 4 51 DCD 4 71 DSR 4 13 DTR 3 33 CTS 3 52 RI 3 72 SG 3 14 RxD 3 34 RTS 3 53 DCD 3 73 N.C. 15 TxD 3 35 CTS 2 54 DSR 3 74 RI 2 16 RxD 2 36 RTS 2 55 DTR 2 75 SG 2 17 TxD 2 37 DSR 2 56 DCD 2 76 N.C. 18 DTR 1 38 CTS 1 57 RI 1 77 SG 1 19 RxD 1 39 RTS 1 58 DCD 1 78 N.C. 20 TxD 1 59 DSR 1
Signal
name
Signal
name
Pin No.
Figure 4.6. Pin Assignment of Interface Connector
<COM-8(PCI)>
Signal
name
COM-2(PCI), COM-4(PCI), COM-8(PCI) 37
Page 45
External Connection
Figure 4.7. The note about external connection
The connector used for COM8-(PCI) has a wide interpin space and is highly reliable. In the case of a PC with a narrow slot opening, a gap might be created as wide as the thickness of the sheet metal of the PC when an external cable is connected, preventing the connector from being fitted properly. If the thickness of the sheet metal is less than 1.5mm (typically about 1.0mm), simply tighten the adjusting screw located on the side of the connector to install it properly. The connector should function without a problem.
COM-2(PCI), COM-4(PCI), COM-8(PCI)38
Page 46
Optional Cables and Accessories
Optional Accessory List
Optional Cables
RS-232C Straight Cable with D-SUB9P (1.8m) RSS-9M/F RS-232C Cross Cable with D-SUB9P (1.8m) RSC-9F RS-232C Straight Cable with D-SUB25P (1.8m) RSS-25M/F RS-232C Cross Cable with D-SUB25P (1.8m) RSC-25F RS-232C Connection Conversion Straight Cable (25M9F, 1.8m)
RS-232C Connection Conversion Straight Cable (25F9M, 1.8m)
RS-232C Connection Conversion Cross Cable (25F9F, 1.8m)
Connection Conversion Cable for RS-232C (37M9M x 4, 250mm)
Connection Conversion Cable for RS-232C (37M25M x 4, 250mm)
Connection Conversion Cable for RS-232C (37M25M x 4, 450mm)
Connection Conversion Cable for RS-232C (78M9M x 8, 1m)
Connection Conversion Cable for RS-232C (78M25M x 8, 1m)
COM-8ch Board Optional Cable for CCU-78F/25M (2m)
COM-4ch Board Optional Cable for CCU-78F/25M (2m)
External Connection
RSS-25M/9F
RSS-25F/9M
RSC-25F/9F
PCE37/9PS
PCE37/25PS
COM-4M CABLE(PC)1
PCE78/9PS
PCE78/25PS
RSS-78M
RSS-78M/37M
Optional accessories
Connection Conversion Unit for RS-232C(78P25P x 8)
CCU-78F/25M *1
*1 The option cable RSS-78M or RSS-78M/37M is needed.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 39
Page 47
External Connection
-
RSS-9F
9-pin D-SUB, female connector
COM-4(PCI)
(a)-PCE37/9PS
9-pin D-SUB, male connector
-
PCE37/25PS
25-pin D-SUB, male connector
(b)-PCE37/9PS
-
RSS-9M/F
9-pin D-SUB, male connector
-
PCE37/9PS
-
RSC-9F
9-pin D-SUB, female connector
-
PCE37/25PS
-
RSS-25F/9M
9-pin D-SUB, male connector
-
PCE37/25PS
-
RSS-25M/F
25-pin D-SUB, male connector
-
PCE37/25PS
-
RSC-25F
25-pin D-SUB, female connector
-
COM-4M CABLE(PC)1
-
RSC-25F/9F
9-pin D-SUB, female connector
-
COM-4M CABLE(PC)1
-
RSC-25F
25-pin D-SUB, female connector
(c) -RSS-78M/37M
-
CCU-78F/25M
-
RSS-25F/9M
9-pin D-SUB, male connector
-
RSS-78M/37M
-
CCU-78F/25M
-
RSC-25F/9F
9-pin D-SUB, female connector
-
RSS-78M/37M
-
CCU-78F/25M
-
RSC-25F
25-pin D-SUB, female connector
COM-8(PCI)
(a)-PCE78/9PS
9-pin D-SUB, male connector
-
PCE78/25PS
25-pin D-SUB, male connector
(b)-PCE78/9PS
-
RSS-9M/F
9-pin D-SUB, male connector
-
PCE78/25PS
-
RSS-25F/9M
9-pin D-SUB, male connector
-
PCE78/25PS
-
RSS-25M/F
25-pin D-SUB, male connector
-
PCE78/25PS
-
RSC-25F/9F
9-pin D-SUB, female connector
-
PCE78/25PS
-
RSC-25F
25-pin D-SUB, female connector
(c) -RSS-78M
-
CCU-78F/25M
-
RSS-25F/9M
9-pin D-SUB, male connector
-
RSS-78M
-
CCU-78F/25M
-
RSS-25M/F
25-pin D-SUB, male connector
-
RSS-78M
-
CCU-78F/25M
-
RSC-25F/9F
9-pin D-SUB, female connector
-
RSS-78M
-
CCU-78F/25M
-
RSC-25F
25-pin D-SUB, female connector
Connection Procedure
Figure 4.8 Connection Type Table 4.1. Connection Procedure
Board
COM-2(PCI) (a) - RSS-9M/F 9-pin D-SUB, male connector
Connection
Type
- PCE37/25PS - RSC-25F/9F 9-pin D-SUB, female connector
- RSS-78M/37M - CCU-78F/25M - RSS-25M/F 25-pin D-SUB, male connector
- PCE78/9PS - RSC-9F 9-pin D-SUB, female connector
Option Cable and Accesssories
Connector
COM-2(PCI), COM-4(PCI), COM-8(PCI)40
Page 48
External Connection
Converting the Interface Connector to 9-pin D-SUB, Male Connectors
COM-4(PCI)
The optional cable "PCE37/9PS" is available as an option. This cable converts the CN1 (37-pin D-SUB connector) on the COM-4(PCI) board to 9-pin D-SUB male connectors for four channels as shown below.
Figure 4.9. PCE37/9PS Specifications
COM-2(PCI), COM-4(PCI), COM-8(PCI) 41
Page 49
External Connection
COM-8(PCI)
The optional cable "PCE78/9PS" is available as an option. This cable converts the CN1 (78-pin D-SUB connector) on the COM-8(PCI) board to 9-pin D-SUB male connectors for eight channels as shown below.
Figure 4.10. PCE78/9PS Specifications
COM-2(PCI), COM-4(PCI), COM-8(PCI)42
Page 50
External Connection
Converting the Interface Connector to 25-pin D-SUB, Male Connectors
COM-4(PCI)
The optional cable "PCE37/25PS" is available as an option. This cable converts the CN1 (37-pin D-SUB connector) on the COM-4(PCI) board to 25-pin D-SUB male connectors for four channels as shown below.
Figure 4.11. PCE37/25PS Specifications
COM-2(PCI), COM-4(PCI), COM-8(PCI) 43
Page 51
External Connection
COM-8(PCI)
The optional cable "PCE78/25PS" is available as an option. This cable converts the CN1 (78-pin D-SUB connector) on the COM-8(PCI) board to 25-pin D-SUB male connectors for eight channels as shown below.
Figure 4.12. PCE78/25PS Specifications
COM-2(PCI), COM-4(PCI), COM-8(PCI)44
Page 52
External Connection
When using the CCU-78F/25M distribution unit
The CCU-78F/25M is available as a separately-sold accessory. This unit is a terminal block that enables the COM-8(PCI) or COM­4(PCI) installed on your computer to connect to an external device.
This unit offers the following features:
- Easy connection between the interface board and the external device.
- The unit can be installed on the DIN rail. (The DIN rail adapter is additionally required)
- Connection of an external power source enables power to be output from the 25-pin D-SUB connector.
Figure 4.13. Connection Procedure
1. Use the special-purpose cable (purchased separately) to connect the interface board to the distribution unit.
2. Check the connections on the distribution unit and use RS-232C cables to connect the external devices.
Figure 4.14. Interface Connector Pin Assignment
COM-2(PCI), COM-4(PCI), COM-8(PCI) 45
Page 53
External Connection
Connector Cable (Purchased separately)
The cable for connecting to the interface board is not included with CCU-78F/25M. Purchase the appropriate cable from amongst the following option cables.
COM-8ch board connection cable for CCU-78F/25M
- RSS-78M (2m)
COM-4ch board connection cable for CCU-78F/25M
- RSS-78M/37M (2m)
Note!
Only CH1 to CH4 can be used in the case of an RSS-78M/37M. CH5 to CH8 cannot be used.
COM-2(PCI), COM-4(PCI), COM-8(PCI)46
Page 54
Connecting the Cable
The RS-232C interface requires that you use a different type of cable depending on the type of device being connected. For example, modem connections and computer (PC) connections require different cables. Accordingly, check the specifications of the external device to which you are connecting and select the appropriate type of cable. The two types of cable are "straight­through" and "crossed". Also, if the signal lines require conditioning in the connector, provide conditioning in accordance with the specifications.
External Connection
TxD RxD
RTS CTS DTR DSR SG
Board
(Transmit Data)
TxD
(Receive Data)
RxD RTS
(Request to Send) (Clear to Send)
CTS DTR
(Data Terminal Ready) (Data Set Ready)
DSR
(Signal Ground)
SG
External device
Figure 4.15. Example Connection to a Modem
Figure 4.16. Example Connection to a PC
COM-2(PCI), COM-4(PCI), COM-8(PCI) 47
Page 55
External Connection
Figure 4.17. Example Connection to a Device
COM-2(PCI), COM-4(PCI), COM-8(PCI)48
Page 56
5. I/O Ports and Registers
I/O Port Assignment
When the PC boots, multiple consecutive port I/O addresses are automatically allocated to the board. To determine where the top I/O address has been allocated, refer to the "Board Setup" section for each OS in Chapter 3.
Figure 5.1. I/O Port Assignment <COM-2(PCI)>
I/O Ports and Registers
Figure 5.2. I/O Port Assignment <COM-4(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 49
Page 57
I/O Ports and Registers
Figure 5.3. I/O Port Assignment <COM-8(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI)50
Page 58
I/O Ports and Registers
The board uses a 16552 equivalent as the asynchronous communication element (ACE) (the COM-8(PCI) uses a 16654 equivalent). For details, refer to the data sheet supplied by Texas Instruments or other manufacturer. The functions of the eight consecutive ports from the set I/O address are the same for each channel. However, on the COM-4(PCI), "top I/O address + 1FH" for channel 4 is used as the interrupt vector register and therefore cannot be used as a scratch pad register. On the COM-8(PCI), "top I/O address + 1FH" for channel 4 and "top I/O address + 3FH" for channel 8 are used as interrupt vector registers and therefore cannot be used as scratch pad registers. Table 5.1 lists the functions of each I/O port.
- COM-2(PCI) has CH1 and CH2 only. COM-4(PCI) has CH1 to CH4 only.
Table 5.1. Function Selection Through Internal Registers
I/O port address (Starting I/O addresses +xxH) CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 +0H +8H +10H +18H +20H +28H +30H +38H 0 +0H +8H +10H +18H +20H +28H +30H +38H 0 +1H +9H +11H +19H +21H +29H +31H +39H 0 +2H +AH +12H +1AH +22H +2AH +32H +3AH × +2H +AH +12H +1AH +22H +2AH +32H +3AH × +3H +BH +13H +1BH +23H +2BH +33H +3BH × +4H +CH +14H +1CH +24H +2CH +34H +3CH × +5H +DH +15H +1DH +25H +2DH +35H +3DH × +6H +EH +16H +1EH +26H +2EH +36H +3EH × +7H +FH +17H ----- +27H +2FH +37H ----- × +0H +8H +10H +18H +20H +28H +30H +38H 1 +1H +9H +11H +19H +21H +29H +31H +39H 1
R : Read only W : Write only. DLAB : Divisor Latch Access Bit in the Modem Status Register.
I/O Ports and Registers
DLAB ACE Register (TL16552) R / W
Receiver (Buffer register) Transmitter (Holding register) Interrupt Enable Register Interrupt ID FIFO Control Line Control Modem Control Line Status Modem Status Scratchpad Register Baud Rate Divider Register LSB Baud Rate Divider Register MSB
R
W
R
W
If the high-order DLAB in the line control register is set to 0, "starting I/O address + 0H" and "starting I/O address + 1H" serve as the transmission/reception buffer and interrupt mask register, respectively. If DLAB is set to "1", they serve as frequency­division registers.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 51
Page 59
I/O Ports and Registers
Register
Register Address List for the 16552 and 16654
16552 : Used on the COM-2(PCI) and COM-4(PCI) 16654 : Used on the COM-8(PCI)
Table 5.2. Register Address List for the 16552 and 16654
(Short from Texas Instruments data book) < 1 / 2 >
0 DLAB = 0 0 DLAB = 0 1 DLAB = 0 2 2 3 Bit Receiver Transmitter Interrupt Interrupt FIFO Line No. Buffer Holding Enable Ident. Control Control
Register Register Register Register Register Register
(Read Only) (Write Only) (Read Only) (Write Only)
RBR THR IER IIR FCR LCR
0 Data Bit 0 Data Bit 0 Enable "0" if FIFO Word
1 Data Bit 1 Data Bit 1 Enable Interrupt RCVR Word
2 Data Bit 2 Data Bit 2 Enable Interrupt XMIT Number of
3 Data Bit 3 Data Bit 3 Enable Interrupt DMA Parity
4 Data Bit 4 Data Bit 4 Sleep Interrupt TX Even
5 Data Bit 5 Data Bit 5 Xoff Interrupt TX Stick
6 Data Bit 6 Data Bit 6 RTS FIFOs RCVR Set
7 Data Bit 7 Data Bit 7 CTS FIFOs RCVR Divisor
*2 : Each bit is 0 fixations in 16552.
Received Interrupt Enable Length
Data Pending Select Available Bit 0 Interrupt (WLS0)
(ERBFI)
Transmitter ID FIFO Length
Holding Bit (0) Reset Select Register Bit 1
Empty (WLS1)
Interrupt
(ETBEI)
Receiver ID FIFO Stop Bits
Line Status Bit (1) Reset (STB)
Interrupt
(ELSI)
MODEM ID Mode Enable
Status Bit (2) Select (PEN)
Interrupt
(EDSSI)
Mode ID Trigger Parity
*2 Bit (3) (LSB) Select
*2 *2 (EPS)
Interrupt ID Trigger Parity
*2 Bit (4) (MSB)
*2 *2
Interrupt Enabled Trigger Break
*2 (LSB)
Interrupt Enabled Trigger Latch
*2 (MSB) Access Bit
(DLAB)
COM-2(PCI), COM-4(PCI), COM-8(PCI)52
Page 60
I/O Ports and Registers
Register
Table 5.2. Register Address List for the 16552 and 16654
(Short from Texas Instruments data book) < 2 / 2 >
Bit MODEM Line MODEM Scratch Divisor Divisor No. Control Status Status Register Latch Latch
0 Data Data Delta Bit 0 Bit 0 Bit 8
1 Request Overrun Delta Bit 1 Bit 1 Bit 9
2 Out 1 Parity Trailing Bit 2 Bit 2 Bit 10
3 0 Framing Delta Bit 3 Bit 3 Bit 11
4 Loop Break Clear Bit 4 Bit 4 Bit 12
5 Xon Transmitter Data Bit 5 Bit 5 Bit 13
6 IR Transmitter Ring Bit 6 Bit 6 Bit 14
7 0 Error in Data Bit 7 Bit 7 Bit 15
4 5 6 7 0 DLAB = 1 1 DLAB =1
Register Register Register (LS) (MS)
MCR LSR MSR SCR DLL DLM
Terminal Ready Clear
Ready (DR) to Send (DTR) (DCTS)
to Send Error Data
(RTS) (OE) Set Ready
(DDSR)
Error Edge Ring
0: INT Enable (PE) Indicator
1: INT Disable (TERI)
*1
Error Data
(FE) Carrier Detect
(DDCD)
Interrupt to Send
(BI) (CTS)
Any Holding Set
*2 Register Ready
(THRE) (DSR)
Enable Empty Indicator
*2 (TEMT) (RI)
FIFO Carrier
Detect
*1 : See " Using Interrupts ". *2 : Each bit is 0 fixations in 16552.
COM-2(PCI), COM-4(PCI), COM-8(PCI) 53
Page 61
I/O Ports and Registers
134.5
Baud Rate Selection
The board contains a 16552 equivalent (16654 equivalent on the COM-8(PCI)) controller IC with a software-selectable 3.6864MHz clock input. The 16552 equivalent contains an internal baud rate generator that allows the baud rate to be specified by software. The ACE can divide the selected clock input (1.8432 or
3.6864MHz) by any value between 1 and (216-1). The output frequency of the baud rate generator is 16 times the specified baud rate.
Divisor = clock frequency / (Baud rate x 16)
Two 8-bit division registers store the division ratio as a 16-bit binary value. These division registers need to be set when initializing to ensure reliable baud rate generator operation.
Note!
For selecting the clock signal (1.8423 or 3.6864 MHz), see the "Interrupt Vector Register" section.
Table 5.3. Baud Rate and Divisors
Desired Clock = 1.8432MHz Clock = 3.6864MHz
baud rate Divisor Percent error Divisor Percent error
50 2304 - 4608 ­75 1536 - 3072 -
110 1047 0.026 2094 0.03
150 768 - 1536 ­300 384 - 768 -
600 192 - 384 ­1200 96 - 192 ­1800 64 - 128 ­2000 58 0.68 115 0.17 2400 48 - 96 ­3600 32 - 64 ­4800 24 - 48 ­7200 16 - 32 ­9600 12 - 24 -
14400 8 - 16 ­19200 6 - 12 ­28800 4 - 8 ­38400 3 - 6 -
57600 2 - 4 ­115200 1 - 2 ­230400 1 -
857 0.058 1713 0.0005
COM-2(PCI), COM-4(PCI), COM-8(PCI)54
Page 62
Interrupt Vector Register
COM-2(PCI)
I/O Ports and Registers
Figure 5.4. Interrupt Vector Register <COM-2(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 55
Page 63
I/O Ports and Registers
COM-4(PCI)
Figure 5.5. Interrupt Vector Register <COM-4(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI)56
Page 64
COM-8(PCI)
I/O Ports and Registers
Figure 5.6. Interrupt Vector Register <COM-8(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 57
Page 65
I/O Ports and Registers
Using Interrupts
When in use, the interrupts from all channels are handled via the same interrupt request line. When an interrupt occurs on a channel, the interrupt vector register (IVR) is latched.
When an interrupt is received, the interrupt service routine can read the IVRs to determine which channel generated the interrupt. After the interrupt service routine starts, the IVR must be read again before the interrupt service routine returns to check for pending interrupts.
The ACE has internal registers to enable its own interrupts and to determine which channel generated an interrupt. For details on how to use these registers, refer to the 16552 or 16654 data sheet from Texas Instruments or other manufacturer.
When the power is turned on, the ACE master reset sets the OUT1 signal HIGH. This automatically enables each channel to generate interrupts. For channels on which interrupts are not used, write "1" to bit D2 of the modem control register (MCR). (This sets the OUT1 signal to LOW.) In addition to allowing interrupts to be enabled independently for each channel, the board has a global interrupt enable. The global interrupt enable determines whether to make the PCI bus and selected IRQ line active or not. As the global interrupt enable is disabled at power-up, it must be enabled before using the board. To enable, write "1" to bit D7 of the IVR. Similarly, write "0" to disable.
COM-2(PCI), COM-4(PCI), COM-8(PCI)58
Page 66
Figure 5.7. Interrupt Output Control Circuit
I/O Ports and Registers
COM-2(PCI), COM-4(PCI), COM-8(PCI) 59
Page 67
I/O Ports and Registers
COM-2(PCI), COM-4(PCI), COM-8(PCI)60
Page 68
6. System Reference
Circuitry Diagrams
LT1137A
Figure 6.1. Circuitry Diagrams
System Reference
TxD, RTS, DTR
RxD, CTS, DSR
COM-2(PCI), COM-4(PCI), COM-8(PCI) 61
Page 69
System Reference
*1 :
*2 :
*3 :
Specifications
COM-2(PCI) Table 6.1. Specification < COM-2(PCI)>
Number of Channels Input Type RS-232C Transfer Method Asynchronous serial transfer Baud Rate 50 - 230,400bps *1 *2
Data Length
Parity Check Even, Odd, Non-parity *1 Controller Chip 16552 or equivalent Distance 15m Max. Interrupt Requests 1 level *3 I/O Address 8 bits x 32 ports Power Consumption +5VDC, 250mA Max. Operating Temperature 0 - 50°C Storage Temperature -20 - 60°C Relative Humidity 20 - 90% (non-condensing) Dimension 122.0×107.0×18.5mm (4.7" x 4.2" x 0.7") Weight 100g
These items can be set by software.
For details, refer to the data sheet for the TL16552
equivalent product and see "Baud Rate Setting."
Data transmission at high speed may not be performed
normally depending on the environment including the type
of status of connected external device and the cable length.
A single interrupt signal "INTA" is output as a collection
of interrupt input signals from two channels.
Item Specification
2
5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1
Board Dimensions
COM-2(PCI), COM-4(PCI), COM-8(PCI)62
Page 70
COM-4(PCI)
*1 :
*2 :
*3 :
Table 6.2. Specification < COM-4(PCI)>
Item Specification Number of Channels Input Type RS-232C Transfer Method Asynchronous serial transfer Baud Rate 50 - 230,400bps *1 *2
Data Length
Parity Check Even, Odd, Non-parity *1 Controller Chip 16552 or equivalent Distance 15m Max. Interrupt Requests 1 level *3 I/O Address 8 bits x 32 ports Power Consumption +5VDC, 500mA Max. Operating Temperature 0 - 50°C Storage Temperature -20 - 60°C Relative Humidity 20 - 90% (non-condensing) Dimension 122.0×107.0×18.5mm (4.7" x 4.2" x 0.7") Weight 130g
These items can be set by software. For details, refer to the data sheet for the TL16552 equivalent product and see "Baud Rate Setting." Data transmission at high speed may not be performed normally depending on the environment including the type of status of connected external device and the cable length. A single interrupt signal "INTA" is output as a collection of interrupt input signals from four channels.
4
5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1
System Reference
Board Dimensions
COM-2(PCI), COM-4(PCI), COM-8(PCI) 63
Page 71
System Reference
*1 :
*2 :
*3 :
COM-8(PCI) Table 6.3. Specification < COM-8(PCI)>
Number of Channels Input Type RS-232C Transfer Method Asynchronous serial transfer Baud Rate 50 - 230,400bps *1 *2
Data Length
Parity Check Even, Odd, Non-parity *1 Controller Chip 16654 or equivalent Distance 15m Max. Interrupt Requests 1 level *3 I/O Address 8 bits x 64 ports Power Consumption +5VDC, 600mA Max. Operating Temperature 0 - 50°C Storage Temperature -20 - 60°C Relative Humidity 20 - 90% (non-condensing) Dimension 122.0×107.0×18.5mm (4.7" x 4.2" x 0.7") Weight 140g
Item Specification
8
5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1
These items can be set by software. For details, refer to the data sheet for the TL16654 equivalent product and see "Baud Rate Setting." Data transmission at high speed may not be performed normally depending on the environment including the type of status of connected external device and the cable length. A single interrupt signal "INTA" is output as a collection of interrupt input signals from eight channels.
Board Dimensions
COM-2(PCI), COM-4(PCI), COM-8(PCI)64
Page 72
Block Diagrams
COM-2(PCI)
System Reference
Figure 6.2. Block Diagrams <COM-2(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 65
Page 73
System Reference
COM-4(PCI)
Figure 6.3. Block Diagrams <COM-4(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI)66
Page 74
COM-8(PCI)
System Reference
Figure 6.4. Block Diagrams <COM-8(PCI)>
COM-2(PCI), COM-4(PCI), COM-8(PCI) 67
Page 75
System Reference
COM-2(PCI), COM-4(PCI), COM-8(PCI)68
Page 76
7. Index
Index
B
Baud Rate, 54 Block Diagrams, 65, 66, 67 Board ID, 10 Board Setup, 11
C
CCU-78F/25M, 45 Checking resources, 14, 17, 24, 28, 31 Circuitry Diagrams, 61 Component Locations, 7, 8, 9 Connection Procedure, 40
F
Features, 2
H
L
Liability, 3
M
MS-DOS, 32
O
Obtain Service, 3
P
PCE37/25PS, 43 PCE37/9PS, 41 PCE78/25PS, 44 PCE78/9PS, 42
R
Register Address, 52
Handling Precautions, 4
I
I/O Port Assignment, 49 I/O Ports and Registers, 51 Interface Connector, 35 Interrupt Vector Register, 55, 56, 57 Introduction, 1
COM-2(PCI), COM-4(PCI), COM-8(PCI) 69
S
Setting the Board ID, 10 Specifications, 62 Support software, 1, 2 System Reference, 62, 63, 64
Page 77
Index
U
Using Interrupts, 58
W
Warranty, 3 Windows 2000, 25 Windows 3.1, 32 Windows 95, 19 Windows 98, 15 Windows Me, 12 Windows NT, 30
COM-2(PCI), COM-4(PCI), COM-8(PCI)70
Page 78
Page 79
A-41-709
000829 [981225]
LZC1751
Page 80
CONTEC Group
JAPAN : Headquarters
CONTEC CO., LTD. 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Tel : +81 (6) 6477-5219 Fax : +81 (6) 6477-1692 E-mail : intsales@osaka.contec.co.jp
U.S.A. : CONTEC MICROELECTRONICS U.S.A. INC.
2161 O’ Toole Ave. Suite I, San Jose, CA95131, U.S.A. Tel : +1 (408) 954-7700 Fax : +1 (408) 954-7710 E-mail : tech_support@contecusa.com
EUROPE : CONTEC MICROELECTRONICS EUROPE B.V.
Binnenweg 4, 2132 CT, Hoofddorp, The Netherlands Tel : +31 (23) 567-3030 Fax : +31 (23) 567-3035 E-mail : tech_support@conteceu.nl
KOREA : HYOJIN CONTEC CO., LTD.
KI-IM Bldg.#399, Shindolim-Dong, Kuro-ku, Seoul 152-070,Korea Tel : +82 (2) 2636-4277 Fax : +82 (2) 2636-4279 E-mail : product@conteck.com
CHINA : INTERNATIONAL CONTEC TECHNOLOGY CO., LTD.
B-809, Hua Tong Building, No. B19, Che Gong Zhuang West Road, Hai Dian District, Beijing 100044, China Tel : +86(10)8801-8228 Fax : +86 (10)8801-8209 E-mail : ict@ict.com.cn
SHANGHAI CONTEC MICROELECTRONICS CORPORATION. No. 481, Gui Ping Road, Cao He Jing,Hi-Tech Park, Shanghai 200233, China Tel : +86 (21) 6485-1907 Fax : +86 (21) 6485-0330 E-mail : contec@contec.com.cn
SHENYANG CONTEC MICROELECTRONICS CO., LTD. No. 169, Qingnian Street, Shenhe District, Shenyang 110015, China Tel : +86 (24) 2392-9771 Fax : +86 (24) 2392-9773
TAIWAN : MACROMATE CORP.
8F, Universal Center, No.179,Sec.1, Ta-Tung Road, Hsi-Chih, Taipei Hsien, Taiwan R.O.C. Tel : +886 (2) 2647-9353 Fax : +886 (2) 2647-9373 E-mail : intl@macromate.com.tw
A-46-368 Ver. 2003. 07. 28
Loading...