Contec RS-232C Serial User Manual

I/o board for pci express 2ch com-2c-pe 4ch com-4c-pe 8ch com-8c-pe
Table of Contents

Advertisement

Quick Links

PC-HELPER
RS-232C Serial I/O Board
for PCI Express
2ch
COM-2C-PE
4ch
COM-4C-PE
8ch
COM-8C-PE
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RS-232C Serial and is the answer not in the manual?

Questions and answers

Summary of Contents for Contec RS-232C Serial

  • Page 1 PC-HELPER RS-232C Serial I/O Board for PCI Express COM-2C-PE COM-4C-PE COM-8C-PE User’s Guide CONTEC CO.,LTD.
  • Page 2 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...
  • Page 3: Copyright

    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.
  • Page 4: Table Of Contents

    Table of Contents Check Your Package..........................i Copyright ............................ii Trademarks ............................ii Table of Contents ..........................iii BEFORE USING THE PRODUCT About the Board..........................1 Features............................1 Support Software ......................... 3 Cable & Connector (Option) ....................... 4 Accessories (Option) ........................5 Customer Support ..........................
  • Page 5 Step 3 Initializing the Software ......................23 Step 4 Checking Operations with the Diagnosis Program ............... 25 What is the Diagnosis Program? ....................25 Check Method..........................25 Using the Diagnosis Program ....................26 Setup Troubleshooting........................28 Symptoms and Actions ......................28 If your problem cannot be resolved...................
  • Page 6: Before Using The Product

    921,600bps. Up to 16 boards can be mounted on a single PC and the range COM1 - COM256 can be set. It also comes with a Windows/Linux driver, which allows boards to be used as OS-standard COM ports. This product supports CONTEC-defined driver library “API-PAC(W32)” that provide local routines. Features - Max. 921,600bps RS-232C Serial Communication The <...
  • Page 7 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++.
  • Page 8: Support Software

    Standard COM Driver Software (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.
  • Page 9: Cable & Connector (Option)

    1. Before Using the Product Cable & Connector (Option) COM-2C-PE 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 D-SUB 9P Male Connector Set (5 Pieces) : CN5-D9M D-SUB 9P Female Connector Set (5 Pieces) : CN5-D9F COM-4C-PE Connection Conversion Cable (37M→9M x 4, 250mm)
  • Page 10: Accessories (Option)

    1. Before Using the Product Accessories (Option) Connection Conversion Unit for RS-232C(78P→25P x 8) : CCU-78F/25M *1 *1 The option cable RSS-78M or RSS-78M/37M is needed. Check the CONTEC’s Web site for more information on these options. COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 11: Customer Support

    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.
  • Page 12: Safety Precautions

    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.
  • Page 13: Handling Precautions

    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.
  • Page 14: Environment

    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 - 50°C Humidity 10 - 90%RH (No condensation) Corrosive gases None Floating dust particles Not to be excessive...
  • Page 15 1. Before Using the Product COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 16: Setup

    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...
  • Page 17: Using The Board Under Linux Using The Standard Com Driver Software Com Setup Disk

    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.
  • Page 18: Step 1 Setting The 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.
  • Page 19 2. Setup COM-8C-PE - Interface connector COM-8C-PE (CN1) BOARD ID - Board ID setting switch (SW1) BOARD ID Figure 2.3. Component Locations < COM-8C-PE > COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 20: Setting The Board Id

    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.
  • Page 21: Plugging The Board

    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.
  • Page 22: Step 2 Installing The Hardware

    2. Setup Step 2 Installing the Hardware For using an expansion board under Windows, you have to let the OS detect the I/O addresses and IRQ to be used by the board. The process is referred to as installing the hardware. In the case of using two or more boards, make sure you install one by one with the Found New Hardware Wizard.
  • Page 23: Windows 7

    2. Setup Windows 7 (1) Select “Devices and Printers” from the Start menu and select the PC to which this board is attached. Click on the device “PCI Serial Port” (or “PCI Simple Communication Controller”) and open its properties by clicking the [Properties] button. * The category of the board you have just added is displayed.
  • Page 24 2. Setup (2) In the “PCI Serial `Port Properites (or “PCI Simple Communications Controller Properites”) page, click the [Change settings] button and edit the settings as an Administrator. Then click the [Update Driver...] button. * The category of the board you have just added is displayed.
  • Page 25: Windows Server 2008, Windows Vista

    2. Setup Windows Server 2008, Windows Vista (1) “Found New Hardware” wizard is open. Click “Locate and install driver software”. * The category of the board you have just added is displayed. - PCI Serial port (2) When the “Found New Hardware” window is displayed, insert the accompanying CD-ROM “COM Setup Disk”...
  • Page 26: Windows Server 2003, Windows Xp, Windows 2000

    2. Setup Windows Server 2003, Windows XP, Windows 2000 (1) At first, “PCI standard PCI-to-PCI bridge” is detected. This ends by the automatic operation. (2) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location”, then click on the [Next] button. * The name of the board you have just added is displayed.
  • Page 27: The Check Method Of The Completion Of Hardware Installation

    2. Setup CAUTION In Windows XP, the Hardware Wizard displays the following alert dialog box when you have located the INF file. This dialog box appears, only indicating that the relevant driver has not passed Windows Logo testing, and it can be ignored without developing any problem with the operation of the board.
  • Page 28: Step 3 Initializing The Software

    2. Setup Step 3 Initializing the Software This assigns COM ports to the serial ports on the board. You can also change a previously assigned COM port number to a different number. The COM ports are already assigned by the hardware installation step. Run Device Manager as described below if you wish to view or modify the COM port settings.
  • Page 29 2. Setup Updating the Settings (1) If you wish to change a port number, open the properties page for the port and click the [Advanced…] button under [Port Settings]. (2) Use the [COM Port Number] combo box to modify the COM port number. (3) Clicking the [Advanced...] button opens the “Advanced Settings for COMn”...
  • Page 30: Step 4 Checking Operations With The Diagnosis Program

    2. Setup Step 4 Checking Operations with the Diagnosis Program Use the diagnosis program to check that the board and driver software work normally, thereby you can confirm that they have been set up correctly. What is the Diagnosis Program? These programs perform some simple checks on the board operation.
  • Page 31: Using The Diagnosis Program

    2. Setup Using the Diagnosis Program Starting the Diagnosis Program Run\Utility\CommChk\CommChk.exe from the supplied CD-ROM. Communication Settings COM Setup: Specify the number of the COM port you wish to test. If connecting two COM ports via a cross cable, specify the respective COM ports in [Device1] and [Device2].
  • Page 32 2. Setup Start test Click the [Start] button to start the test using the specified conditions. View test result The test result is displayed in the [Message] window. A successful completion message appears if the test completed OK. COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 33: Setup Troubleshooting

    2. Setup Setup Troubleshooting Symptoms and Actions Incorrect driver software was installed by mistake [Windows 7, Server 2008, Vista, XP, Server 2003, 2000] The API-SIO software from the "Driver Library API-PAC(W32)" cannot be installed in the PC at the same time as the "Standard COM Driver Software COM Setup Disk" from the supplied CD-ROM. The COM Setup Disk and the API-SIO software from API-PAC(W32) are intended for different purposes.
  • Page 34: External Connection

    3. External Connection 3. External Connection This chapter describes the interface connectors on the board. Check the information available here when connecting an external device. In addition to connecting directly to the connector on the board, you can also connect external devices via a distribution cable or distribution unit.
  • Page 35: In The Case Of Com-2C-Pe

    - Connector used DELC-J9PAF-20L9E (mfd. by JAE, Male)equivalent - Applicable connector 17JE-13090-02(D8C)-A-CG (mfd. by DDK, Male) CN5-D9F (mfd. by CONTEC, Male) (Five connector set) Figure 3.1. Interface Connector < COM-2C-PE > DCD1 Data Carrier Detect Data Set Ready DSR1 RxD1 Receive Data...
  • Page 36: In The Case Of Com-4C-Pe

    3. External Connection In the case of COM-4C-PE When using a COM-4C-PE, an alternative to connecting an external device directly to the connector on the board is to use a connection conversion cable or connection conversion unit. Converting the Interface Connector to 9-pin D-SUB, Male Connectors Use a PCE37/9PS connection conversion cable (purchased separately) to connect to external devices after dividing into four 9-pin D-SUB male connector channels.
  • Page 37: Converting The Interface Connector To 25-Pin D-Sub, Male Connectors

    3. External Connection Converting the Interface Connector to 25-pin D-SUB, Male Connectors Use a PCE37/25PS connection conversion cable (purchased separately) to connect to external devices after dividing into four 25-pin D-SUB male connector channels. Use separately purchased 25-pin D-SUB or equivalent cables to connect from the four individual connectors.
  • Page 38: When Using The Ccu-78F/25M Connection Conversion Unit

    Power supply output * Thumb screw: UNC#4-40(inch screrw) N.C. - Applicable 17JE-13250-02(D8C)(mfd. by DDK, Female) * A power supply output is referred to. CN5-D25F (mfd. by CONTEC, Female) (Five connector set) Figure 3.6. Pin Assignments of Interface Connector COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 39: Connecting Directly To The Port Connector

    - Applicable connector 17JE-23370-02(D8C)-A-CG (mfd. by DDK, Male) FDCD-37P (mfd. by HIROSE, Male) DC-37P-N (mfd. by JAE, Male) CN5-D37M (mfd. by CONTEC, Male) (Five connector set) Figure 3.7. Interface Connector < COM-4C-PE > TxD1 CH1 Transmit Data 1 CH1 Receive Data 1...
  • Page 40: In The Case Of Com-8C-Pe

    3. External Connection In the case of COM-8C-PE When using a COM-8C-PE, an alternative to connecting an external device directly to the connector on the board is to use a connection conversion cable or connection conversion unit. Converting the Interface Connector to 9-pin D-SUB, Male Connectors Use a PCE78/9PS connection conversion cable (purchased separately) to connect to external devices after dividing into eight 9-pin D-SUB male connector channels.
  • Page 41: Converting The Interface Connector To 25-Pin D-Sub, Male Connectors

    3. External Connection Converting the Interface Connector to 25-pin D-SUB, Male Connectors Use a PCE78/25PS connection conversion cable (purchased separately) to connect to external devices after dividing into eight 25-pin D-SUB male connector channels. Use separately purchased 25-pin D-SUB or equivalent cables to connect from the eight individual connectors.
  • Page 42: When Using The Ccu-78F/25M Connection Conversion Unit

    Power supply output * Thumb screw: UNC#4-40(inch screrw) N.C. - Applicable 17JE-13250-02(D8C)(mfd. by DDK, Female) * A power supply output is referred to. CN5-D25F (mfd. by CONTEC, Female) (Five connector set) Figure 3.12. Pin Assignments of Interface Connector COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 43: Connecting Directly To The Port Connector

    Pin Assignment Screw nut: UNC#4-40(inch screw) - Connector used 78-pin D-SUB, female connector DV11603G4-4F (mfd. by FOXCONN)equivalent - Applicable connector CN5-D78M (mfd. by CONTEC, Male) (Five connector set) Figure 3.13. Interface Connector < COM-8C-PE > COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 44 3. External Connection Pin No. Signal Pin No. Signal Pin No. Signal Pin No. Signal name name name name N.C. DSR 1 RTS 1 TxD 1 DCD 1 CTS 1 RxD 1 N.C. RI 1 DSR 2 DTR 1 DCD 2 RTS 2 TxD 2 RI 2...
  • Page 45: Types Of Cable And Example Connections

    3. External Connection Types of Cable and Example Connections When using an RS-232C interface, different cables are required depending on the type of device to which you are connecting (computer or modem, etc.). Check the requirements of the external device and select either a straight-through or crossed (null modem) cable as appropriate.
  • Page 46: Functions

    4. Functions 4. Functions This section describes the functions of the board. Communication Function Serial Data Transmission Sends and receives data in accordance with the RS-232C standard. The baud rate for each channel can be set independently in the range 2 - 921,600bps by software. RS-232C Control Lines All ports include the RTS, CTS, DTR, and DSR control lines.
  • Page 47: Setting The Baud Rate

    4. Functions Setting the Baud Rate The output baud rate can be set by setting the appropriate value to the Baud Rate Generator register. The available setting range depends on which clock mode is used. Clock 3 mode: 15 - 921,600bps Clock 2 mode: 8 - 460,800bps Clock 1 mode: 4 - 230,400bps Clock 0 mode: 2 - 115,200bps...
  • Page 48 4. Functions Refer to the following baud rate setting examples. Baud rates other than those listed below can also be set if they produce a valid setting value in the equation described above. Table 4.1. Baud Rate Generator Programming Table Clock 0 mode Clock 1 mode Clock 2 mode...
  • Page 49 4. Functions COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 50: About Software

    5. About Software 5. About Software The "Standard COM Driver Software COM Setup Disk" from the supplied CD-ROM provides the following functions. Operation under Windows and Linux. The serial ports can be used in the same way as the standard COM ports on the PC. The boards can be used for all types of serial communications such as for remote access service (RAS) and uninterruptible power supply (UPS) applications.
  • Page 51 5. About Software Visual C++ sample programs (1) Transmit sample Sends data entered from the keyboard. Execute from the command prompt. Source folder: \Samples\Vc\Comsend.c file (2) Receive sample Displays received data on the screen. Source folder: \Samples \Vc\Comread.c file COM-2C-PE, COM-4C-PE, COM-8C-PE...
  • Page 52: Uninstalling The Driver Software

    (2) Expand [Multifunction adapters] and delete [CONTEC Co., Ltd-XXXXXXXXXX] (installed hardware name). (3) Start [Add/Remove Programs] from the Control Panel. (4) Select [CONTEC COM-DRV(WDM) driver] from the list of applications, then click the [Add/Remove] button to automatically start the uninstall procedure. Windows 7, Server 2008, Vista (1) Open the Control Panel and launch Device Manager from the [System] applet.
  • Page 53: Cd-Rom Directory Structure

    5. About Software CD-ROM Directory Structure |– Linux Linux device driver (for PCI Express/PCI boards and PC cards only) |– PCCARD PC card related files |– PCI PCI Express/PCI board related files | |– ComDrv Windows device driver and INF files, etc. | |–...
  • Page 54: About Hardware

    This chapter provides hardware specifications and hardware-related supplementary information. For detailed technical information For further detailed technical information (“Technical Reference” including the information such as an I/O map, configuration register, etc.), visit the Contec's web site (http://www.contec.com/support/) to call for it. Hardware specification Tables 6.1 - 6.3 list the board specifications.
  • Page 55 6. About Hardware COM-4C-PE Table 6.2. Specification Item Specification Number of channels Interface type RS-232C Transfer method Asynchronous serial transfer Baud rate 2 - 921,600bps *1 *2 Data length 5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1 Parity check Even, Odd, Non-parity *1 Controller chip...
  • Page 56 6. About Hardware COM-8C-PE Table 6.3. Specification Item Specification Number of channels Interface type RS-232C Transfer method Asynchronous serial transfer Baud rate 2 - 921,600bps *1 *2 Data length 5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1 Parity check Even, Odd, Non-parity *1 Controller chip...
  • Page 57: Com-2C-Pe, Com-4C-Pe, Com-8C-Pe

    3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Japanese http://www.contec.co.jp/ English http://www.contec.com/ Chinese http://www.contec.com.cn/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [05282014] [08222007] Management No. A-51-485 [05282014_rev3] Parts No.

Table of Contents