Contec COM-2C-LPE Owner's manual

Category
Interface cards/adapters
Type
Owner's manual

This manual is also suitable for

PC-HELPER
RS-232C Serial I/O Board
for PCI Express
Low Profile Size
1ch type
COM-1C-LPE
2ch type
COM-2C-LPE
4ch type
COM-4C-LPE
8ch type
COM-8C-LPE
User’s Guide
CONTEC CO.,LTD.
1. Before Using the Product
Check Your Package
Thank you for purchasing the CONTEC product.
The product consists of the items listed below.
Check, with the following list, that your package is complete. If you discover damaged or missing items,
contact your retailer.
Product Configuration List
- Board (One of the following)
[COM-1C-LPE, COM-2C-LPE, COM-4C-LPE, or COM-8C-LPE]
- First step guide 1
- CD-ROM *1 [COM Setup Disk] 1
- Standard size bracket…1
*1 The CD-ROM contains the driver software and User’s Guide (this guide)
CD-ROM
[COM Setup Disk]
Standard size
bracket
Board
First step guide
1. Before Using the Product
Copyright
Copyright 2005 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.
CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this
document. The information in this document is subject to change without notice.
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 or for results obtained by the user as a result of using this product.
Trademarks
MS, Microsoft, Windows are trademarks of Microsoft Corporation. Other brand and product names are
trademarks of their respective holder.
1. Before Using the Product
Table of Contents
Check Your Package ............................................................................................................................ i
Copyright ............................................................................................................................................ 2
Trademarks ......................................................................................................................................... 2
Table of Contents ................................................................................................................................ 3
1. BEFORE USING THE PRODUCT 5
About the Board .................................................................................................................................. 5
Features ........................................................................................................................................ 5
Support Software ......................................................................................................................... 7
Cable & Connector (Option) ....................................................................................................... 8
Customer Support ............................................................................................................................... 9
Web Site http ............................................................................................................................... 9
Limited Three-Years Warranty .......................................................................................................... 9
How to Obtain Service........................................................................................................................ 9
Liability ............................................................................................................................................... 9
Safety Precautions ............................................................................................................................ 10
Safety Information ..................................................................................................................... 10
Handling Precautions ................................................................................................................. 11
Environment ............................................................................................................................... 12
Inspection ................................................................................................................................... 12
Storage ....................................................................................................................................... 12
Disposal...................................................................................................................................... 12
2. SETUP 13
What is Setup? .................................................................................................................................. 13
Using the Board under Windows Using the Standard COM Driver Software COM Setup Disk13
Using the Board under Windows Using the Driver Library API-PAC(W32) .......................... 13
Using the Board under Linux Using the Standard COM Driver Software COM Setup Disk .. 14
Operating Systems Other than Windows or Linux.................................................................... 14
Step 1 Setting the Hardware ............................................................................................................. 15
Replacing the Bracket ................................................................................................................ 15
Parts of the Board and Factory Defaults ................................................................................... 16
Setting the Board ID .................................................................................................................. 18
Plugging the Board .................................................................................................................... 19
Step 2 Installing the Hardware ......................................................................................................... 20
Turning on the PC ...................................................................................................................... 20
Windows 8.1/ 8/ 7, Server 2012 ................................................................................................ 21
Windows Server 2008, Windows Vista ..................................................................................... 23
Windows Server 2003, Windows XP/ 2000 .............................................................................. 24
The check method of the completion of hardware installation ................................................. 25
1. Before Using the Product
Step 3 Initializing the Software ........................................................................................................ 26
Step 4 Checking Operations with the Diagnosis Program ............................................................... 30
What is the Diagnosis Program?................................................................................................ 30
Check Method ............................................................................................................................ 30
Using the Diagnosis Program .................................................................................................... 31
Setup Troubleshooting ...................................................................................................................... 33
Symptoms and Actions .............................................................................................................. 33
If your problem cannot be resolved ........................................................................................... 33
3. EXTERNAL CONNECTION 35
In the case of COM-1C-LPE ............................................................................................................ 35
Connecting it directly from the on-board connector ................................................................. 35
In the case of COM-2C-LPE ............................................................................................................ 36
Using the 9-pin D-SUB Connector Conversion Cables ............................................................ 36
Connecting it directly from the on-board connector ................................................................. 37
In the case of COM-4C-LPE ............................................................................................................ 38
Using the 9-pin D-SUB Connector Conversion Cables ............................................................ 38
Connecting it directly from the on-board connector ................................................................. 39
In the case of COM-8C-LPE ............................................................................................................ 40
Using the 9-pin D-SUB Connector Conversion Cables ............................................................ 40
Connecting it directly from the on-board connector ................................................................. 41
Types of Cable and Example Connections ....................................................................................... 42
4. FUNCTIONS 43
Communication Function ................................................................................................................. 43
Serial Data Transmission ........................................................................................................... 43
RS-232C Control Lines ............................................................................................................. 43
Send and Receive Data Buffers ................................................................................................. 43
Setting the Baud Rate ................................................................................................................ 44
5. ABOUT SOFTWARE 47
About Sample programs ................................................................................................................... 47
Uninstalling the driver software ....................................................................................................... 49
Windows 8.1/ 8/ 7/ Vista, Server 2012/ 2008 ........................................................................... 49
Windows XP/ 2000, Server 2003 .............................................................................................. 49
CD-ROM Directory Structure .......................................................................................................... 50
6. ABOUT HARDWARE 51
For detailed technical information .................................................................................................... 51
Hardware specification ..................................................................................................................... 51
1. Before Using the Product
1.
Before Using the Product
This chapter provides information you should know before using the product.
About the Board
This product is a PCI Express bus-supported board designed for extending RS-232C compatible serial
communication functionality on your PC.
The < COM-1C-LPE > has one RS-232C communication ports.
The < COM-2C-LPE > has two RS-232C communication ports.
The < COM-4C-LPE > has four RS-232C communication ports.
The < COM-8C-LPE > has eight RS-232C communication ports.
With a 128byte built-in FIFO buffer for transmission and reception of each channel, the product supports
a baud rate of up to 921,600bps. It also comes with a Windows/Linux driver, which allows boards to be
used as OS-standard COM ports.
COM-1C-LPE, COM-2C-LPE, COM4C-LPE supports CONTEC-defined driver library
API-PAC(W32) that provide local routines.
Features
- Max. 921,600bps RS-232C Serial Communication
The < COM-1C-LPE > has one RS-232C-standard serial ports.
The < COM-2C-LPE > has two RS-232C-standard serial ports.
The < COM-4C-LPE > has four RS-232C-standard serial ports.
The < COM-8C-LPE > has eight RS-232C-standard serial ports.
Baud rates from 2 to 921,600bps can be set. When using the bundled Standard COM Driver Software
and Driver library API-PAC(W32), baud rates from 15 to 921,600bps can be set.
- Possibly used as Windows, Linux-standard COM ports, using the bundled driver library
Comes with a driver software that allows the products to be used under Windows / Linux in the same
way as COM ports on the PC. Under Windows, the product supports the OS-standard Win32 API
communication function as well as Visual Basic MSComm. Under Linux, OS-standard tty drivers
standard-function can be used. In addition, supplies a diagnostic program to confirm hardware operation
and to perform a communication test with equipment.
- Max. 16 boards can be installed as configured in the range COM1 - COM256.
Up to 16 boards can be mounted on a single PC.
COM1 - COM256 can be set using the device manager.
- Each channel is equipped with separate 128-byte FIFO buffers for transmit and receive.
Employed a buffer memory 128-byte dedicated to transmission and 128-byte for each channel.
These are FIFO format, useful for high speed communications and to reduce the load to the CPU when
1. Before Using the Product
transmitting/receiving. As the device manager can be used to enable/disable the use of FIFO and set the
FIFO trigger size, you can build an optimum system according to your use.
- The boards use the same easy-to-use 9-pin D-SUB connectors as are used on a PC.
(For COM-1C-LPE only)
Using the most versatile general-purpose 9-pin D-SUB connector for RS-232C, the product allows you
to use commercial cables which support the RS-232C standard.
- Support for Low Profile size slot / standard size slot (bundled with bracket)
Bundled with each bracket for Low Profile size slot / standard size slot. Exchanges it for the standard
size bracket when mounting on the standard size slot.
- Conversion cable is available as optional
COM-2C-LPE : Distribution cable for 2channels is available as optional.
COM-4C-LPE : Distribution cable for 4channels is available as optional.
COM-8C-LPE : Distribution cable for 8channels is available as optional.
- The control line for RS-232C can be controlled and monitored by software.
The control lines for RTS, CTS, DTR and DSR can be controlled and monitored using software.
- Driver library API-PAC(W32) is supported (COM-1C-LPE, COM-2C-LPE, COM-4C-LPE).
API-PAC(W32) is library software based on Win32 API routines (DLL), which provides local routines
specific to CONTEC. You can create high-speed application software taking advantage of the CONTEC
hardware using various programming languages that support Win32 API functions, such as Visual Basic
and Visual C++.
1. Before Using the Product
Support Software
You should use CONTEC support software according to your purpose and development environment.
Standard COM Driver Software
COM Setup Disk
(Bundled)
The purpose of this software is to allow the CONTEC serial communication boards (cards) to be used under Windows
or Linux in the same way as the standard COM ports on the PC. By installing additional boards (cards), you can use
COM ports in the range COM1 - COM256.
The boards can be used for all types of serial communications such as for remote access service (RAS) and
uninterruptible power supply (UPS) applications.
Under Windows, the serial ports can be accessed using the standard Win32 API communication routines (CreateFile( ),
WriteFile( ), ReadFile( ), and SetCommState( ), etc.) The serial ports are also compatible with the Visual Basic
communication control (MSComm). Supports the communication class of .NET Framework 2.0 (SerialPort class).
Under Linux, the serial ports are compatible with the operating system's standard tty driver. The standard routines
including open( ), close( ), read( ), write( ) are supported.
< Operating environment >
OS Windows 8.1, 8, 7, Vista etc..
You can download the updated version from the CONTECs Web site (http://www.contec.com/comdrv/). For more
details on the supported OS, applicable language and new information, please visit the CONTECs Web site.
CAUTION
The maximum number of COM ports able to be used depends on the configuration of your OS.
This product is not supported Windows Me, 98, 95, NT.
COM-8C-LPE does not support the Windows OS before Windows Vista.
Driver Library
API-PAC(W32)
(Available for downloading (free of charge) from the CONTEC web
site.)
API-PAC(W32) is the library software that provides the commands for CONTEC hardware products in
the form of Windows standard Win32 API functions (DLL). It makes it easy to create high-speed
application software taking advantage of the CONTEC hardware using various programming languages
that support Win32 API functions, such as Visual Basic and Visual C++.
It can also be used by the installed diagnosis program to check hardware operations.
See http://www.contec.com/apipac/ for details and download of API-PAC(W32).
< Operating environment >
OS Windows 7, Vista, XP, Server 2003 etc..
Adaptation language
Visual C++ .NET, Visual C# .NET, Visual Basic .NET, Visual C++, Visual Basic,
Delphi, C++Builder
, etc..
CAUTION
This library provides local routines that are specific to CONTEC (SioOpen( ), SioWrite( ), SioRead( ), SioStatus( ),
etc.). These are not compatible with the standard Win32 API communication routines (CreateFile( ) and WriteFile( ),
etc.).
This library does not correspond to 64bit OS.
This library does not correspond to Multi CPU, such as HyperThread. Please use it by setup of Single CPU.
1. Before Using the Product
This library cannot be used by COM-8C-LPE.
Cable & Connector (Option)
Connection Conversion Cable for Serial I/O (68M
9M x 8, 1000mm) : PCE68-9PS
Connection Conversion Cable for Serial I/O (44M
9M x 4, 250mm) : PCE44/9P4S
Connection Conversion Cable for Serial I/O (44M
9M x 2, 250mm) : PCE44/9P2S
- End of sales
RS-232C Straight Cable with D-SUB 9P (1.8m) : RSS-9M/F
RS-232C Cross Cable with D-SUB 9P (1.8m) : RSC-9F
RS-232C Connection Conversion Straight Cable (25M
9F, 1.8m) : RSS-25M/9F
RS-232C Connection Conversion Cross Cable (25F
9F, 1.8m) : RSC-25F/9F
D-SUB 9P Male Connector Set (5 Pieces) : CN5-D9M
D-SUB 9P Female Connector Set (5 Pieces) : CN5-D9F
D-SUB 25P Male Connector Set (5 Pieces) : CN5-D25M
D-SUB 25P Female Connector Set (5 Pieces) : CN5-D25F
D-SUB 44P Male Connector Set (5 Pieces) : CN5-D44M
* Check the CONTECs Web site for more information on these options.
1. Before Using the Product
Customer Support
CONTEC provides the following support services for you to use CONTEC products more efficiently and
comfortably.
Web Site http
Japanese http://www.contec.co.jp/
English http://www.contec.com/
Chinese http://www.contec.com.cn/
Latest product information
CONTEC provides up-to-date information on products.
CONTEC also provides product manuals and various technical documents in the PDF.
Free download
You can download updated driver software and differential files as well as sample programs available in
several languages.
Note! For product information
Contact your retailer if you have any technical question about a CONTEC product or need its price,
delivery time, or estimate information.
Limited Three-Years Warranty
CONTEC products 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.
* 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.
1. Before Using the Product
Safety Precautions
Understand the following definitions and precautions to use the product safely.
Safety Information
This document provides safety information using the following symbols to prevent accidents resulting in
injury or death and the destruction of equipment and resources. Understand the meanings of these labels
to operate the equipment safely.
DANGER
DANGER indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not avoided, could
result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury or in property damage.
1. Before Using the Product
Handling Precautions
DANGER
Do not use the product where it is exposed to flammable or corrosive gas. Doing so may result in an
explosion, fire, electric shock, or failure.
CAUTION
- There are switches or jumper 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.
Otherwise, the board may malfunction, overheat, or cause a failure.
- Do not strike or bend the board. Doing so could damage the board.
Otherwise, the board may malfunction, overheat, cause a failure or breakage.
- Do not touch the board's metal plated terminals (edge connector) with your hands.
Otherwise, the board may malfunction, overheat, or cause a failure.
If the terminals are touched by someone's hands, clean the terminals with industrial alcohol.
- Do not install or remove the board to or from the slot while the computer's power is turned on.
Otherwise, the board may malfunction, overheat, or cause a failure.
Doing so could cause trouble. Be sure that the personal computer or the I/O expansion unit power is
turned off.
- Make sure that your PC or expansion unit can supply ample power to all the boards installed.
Insufficiently energized boards could malfunction, overheat, or cause a failure.
- The specifications of this product are subject to change without notice for enhancement and quality
improvement.
Even when using the product continuously, be sure to read the manual and understand the contents.
- Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting
from modifying this product.
- Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever
(including damages for loss of business profits) arising out of the use or inability to use this
CONTEC product or the information contained herein.
1. Before Using the Product
Environment
Use this product in the following environment. If used in an unauthorized environment, the board may
overheat, malfunction, or cause a failure.
Operating temperature
0 - 50C
Humidity
10 - 90%RH (No condensation)
Corrosive gases
None
Floating dust particles
Not to be excessive
Inspection
Inspect the product periodically as follows to use it safely.
Storage
When storing this product, keep it in its original packing form.
(1) Put the board in the storage bag.
(2) Wrap it in the packing material, then put it in the box.
(3) Store the package at room temperature at a place free from direct sunlight, moisture, shock,
vibration, magnetism, and static electricity
Disposal
When disposing of the product, follow the disposal procedures stipulated under the relevant laws and
municipal ordinances.
2. Setup
2.
Setup
This chapter explains how to set up the board.
What is Setup?
Setup means a series of steps to take before the product can be used.
Different steps are required for software and hardware
The setup procedure varies with the OS and applications used.
Using the Board under Windows
Using the Standard COM Driver Software COM Setup Disk
This section describes the setup procedure to be performed before you can start developing application
programs for the board using the bundled CD-ROM Standard COM Driver Software -
COM Setup Disk.
Taking the following steps sets up the software and hardware. You can use the diagnosis program later
to check whether the software and hardware function normally.
Step 1 Setting the Hardware
Step 2 Installing the Hardware
Step 3 Initializing the Software
On the CD-ROM, refer to the \PCI\Readmee.txt file and the installation instructions files for each OS
located in the \PCI\InstDoc.
If Setup fails to be performed normally, see the Setup Troubleshooting section at the end of this
chapter.
Using the Board under Windows
Using the Driver Library API-PAC(W32)
Refer to the API-PAC(W32) "Hardware Installation Procedure (HWINSTJ.CHM)" help file for the
procedure to follow when using API-SIO in the "Driver Library API-PAC(W32)".
If using API-SIO from API-PAC(W32), install from API-PAC(W32) instead of from the supplied
CD-ROM.
See also the following parts of this manual as required.
This chapter Step 1 Setting the Hardware
2. Setup
Using the Board under Linux
Using the Standard COM Driver Software COM Setup Disk
You can perform application program development using the "Standard COM Driver Software -
COM Setup Disk" in the supplied CD-ROM. The procedure for using the software is described in the
\Linux\Readmee.htm file.
See also the following parts of this manual as required.
This chapter Step 1 Setting the Hardware
Operating Systems Other than Windows or Linux
Refer to the following if using on an OS other than Windows or Linux.
This chapter Step 1 Setting the Hardware
Chapter 4 Functions
Chapter 6 About Hardware
2. Setup
Step 1 Setting the Hardware
This section describes how to set the board and plug it on your PC.
The board has some switches and jumper to be preset.
Check the on-board switches and jumpers before plugging the board into an expansion slot.
The board can be set up even with the factory defaults untouched. You can change board settings later.
Replacing the Bracket
The board is shipped with the Low Profile size bracket. If you wish to mount the board in a Standard PCI
Express slot, replace this with the Standard size bracket. The diagram below shows how to replace the
bracket.
Use a flathead screwdriver or hexagonal
spanner to undo and tighten the screws.
- Remove the screws and replace it
with the Standard size bracket.
Screw
Standard size bracket
Low Profile size bracket
Figure 2.1. Replacing the Bracket
2. Setup
Parts of the Board and Factory Defaults
Figure 2.2. - Figure 2.5 shows the names of major parts on the board.
Note that the switch setting shown below is the factory default.
COM-1C-LPE
SW1
BOARD ID
Board ID setting switch
(SW1)
0
1
2
3
4
5
6
7
9
A
B
C
D
E
F
8
- Interface connector
(CN1)
SW1
BOARD ID
COM-1C-LPE
Figure 2.2. Component Locations < COM-1C-LPE >
COM-2C-LPE
SW1
BOARD ID
Board ID setting switch
(SW1)
0
1
2
3
4
5
6
7
9
A
B
C
D
E
F
8
- Interface connector
(CN1)
SW1
BOARD ID
COM-2C-LPE
Figure 2.3. Component Locations < COM-2C-LPE >
2. Setup
COM-4C-LPE
SW1
BOARD ID
Board ID setting switch
(SW1)
0
1
2
3
4
5
6
7
9
A
B
C
D
E
F
8
- Interface connector
(CN1)
SW1
BOARD ID
COM-4C-LPE
Figure 2.4. Component Locations < COM-4C-LPE >
COM-8C-LPE
Interface connector
(CN1)
SW1
BOARD ID
Board ID setting switch
(SW1)
0
1
2
3
4
5
6
7
9
A
B
C
D
E
F
8
SW1
BOARD ID
COM-8C-LPE
C
OM-8C-LPE
Figure 2.5. Component Locations < COM-8C-LPE >
2. Setup
Setting the Board ID
If you install two or more boards on one personal computer, assign a different ID value to each of the
boards to distinguish them.
The board IDs can be set from 0 - Fh to identify up to sixteen boards.
If only one board is used, the original factory setting (Board ID = 0) should be used.
Setting Procedure
To set the board ID, use the rotary switch on the board. Turn the SW1 using, for example, a standard
screwdriver, to set the arrow to the board ID.
1
2
3
4
5
6
0
7
9
A
B
C
D
E
F
8
BOARD ID
SW1
(Board ID = 0)
Factory setting:
Figure 2.6. Board ID Settings (SW1)
2. Setup
Plugging the Board
(1) Before plugging the board, shut down the system, unplug the power code of your PC.
(2) Remove the cover from the PC so that the board can be mounted.
(3) Plug the board into an expansion slot.
(4) Attach the board bracket to the PC with a screw.
(5) Put the cover back into place.
CAUTION
- Do not touch the board's metal plated terminals (edge connector) with your hands.
Otherwise, the board may malfunction, overheat, or cause a failure.
If the terminals are touched by someone's hands, clean the terminals with industrial alcohol.
- Do not install or remove the board to or from the slot while the computer's power is turned on.
Otherwise, the board may malfunction, overheat, or cause a failure.
Doing so could cause trouble. Be sure that the personal computer or the I/O expansion unit power is
turned off.
- Make sure that your PC or expansion unit can supply ample power to all the boards installed.
Insufficiently energized boards could malfunction, overheat, or cause a failure.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57

Contec COM-2C-LPE Owner's manual

Category
Interface cards/adapters
Type
Owner's manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI