Contec COM-1(PM) User Manual

1ch rs-232c; rs-485 serial i/o for pc-card
Table of Contents

Advertisement

Quick Links

PC-HELPER
RS-232C(1ch) Serial I/O Card
COM-1(PM)
RS-485(1ch) Serial I/O Card
COM-1D(PM)
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COM-1(PM) and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec COM-1(PM)

  • Page 1 PC-HELPER RS-232C(1ch) Serial I/O Card COM-1(PM) RS-485(1ch) Serial I/O Card COM-1D(PM) User’s Guide CONTEC CO.,LTD.
  • Page 2: Check Your Package

    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 - PC Card [COM(PM)]…1...
  • 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 PC Card..........................1 Features ............................1 Support Software ......................... 2 Cable & Connector (Option) ...................... 3 Customer Support ..........................4 Web Site............................
  • Page 5 Step 3 Initializing the Software ......................20 For use under Windows XP, Windows 2000................20 For use under Windows Me, Windows 98 or Windows 95 ............21 For use under Windows NT....................... 21 Step 4 Checking Operations with the Diagnosis Program ............... 22 What is the Diagnosis Program?....................
  • Page 6: Before Using The Product

    1. Before Using the Product 1. Before Using the Product This chapter provides information you should know before using the product. About the PC Card This PC card is a PCMCIA 2.0/JEIDA 4.1 compliant serial I/O card for performing RS-232C and RS- 422A/485 serial communications with external devices.
  • Page 7: Support Software

    Standard COM Driver Software COM Setup Disk (Bundled) The purpose of this software is to allow the CONTEC serial communication PC cards to be used under Windows or Linux in the same way as the standard COM ports on the PC. By installing additional PC cards, you can use COM ports in the range COM1 to COM256.
  • Page 8: Cable & Connector (Option)

    This is a set of useful Windows development tools for measurement systems and consists of a software component library with ready-to-use samples which you can combine for easy programming. The package contains components for controlling CONTEC I/O boards (PC cards). Features include interface control communications...
  • Page 9: 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-Year Warranty CONTEC Interface PC cards are warranted by CONTEC CO., LTD.
  • Page 10: 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 11: 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 12: Environment

    1. Before Using the Product Environment Use this product in the following environment. If used in an unauthorized environment, the PC card may overheat, malfunction, or cause a failure. Operating temperature 0 to 50°C Humidity 10 to 90%RH (No condensation) Corrosive gases None Floating dust particles...
  • Page 13 1. Before Using the Product COM-1(PM), COM-1D(PM)
  • Page 14: Setup

    2. Setup 2. Setup This chapter explains how to set up the PC card. 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 PC card 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 15: Using The Pc Card Under Linux Using The Standard Com Driver Software Com Setup Disk

    2. Setup Using the PC card 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 16: Step 1 Setting The Hardware

    2. Setup Step 1 Setting the Hardware This section describes how to set the PC Card and plug it on your PC. Check that your PC has a TYPE II PC card slot that complies with PCMCIA 2.0/JEIDA 4.1 or later (including PC Card Standard).
  • Page 17: Fitting The Pc Card Attachment

    2. Setup Fitting the PC Card Attachment Fitting the PC card attachment helps prevent the cable from being disconnected if force is accidentally applied to the top of the connector. Refer to the instructions supplied with the PC card attachment for details on how to fit it. CAUTION When using other PC cards in the same PC, the PC card attachment may obstruct the other cards and make them difficult to insert.
  • Page 18: Insert The Pc Card

    2. Setup Insert the PC Card Insert the card into the PC card slot on the PC. Firmly insert the card into the slot with the orientation indicated by the arrow symbol on the card, as shown in Figure 2.3. The PC card has a key to prevent it from being inserted incorrectly.
  • Page 19: Setting The Data Transmission Mode And Terminator On The Com-1D(Pm)

    2. Setup Setting the Data Transmission Mode and Terminator on the COM-1D(PM) This setting is only required on the COM-1D(PM). Use a flathead screwdriver or similar to open the cover on the underside of the connector cable (CB- 1D(PM)). This exposes the DIP switch (SW1). As shown in Figure 2.4, an easy way to open the cover is to insert the tip of the screwdriver into the slot on the underside of the connector cable and then rotate the screwdriver.
  • Page 20 2. Setup COM-1D(PM) data transmission mode setting Bits 1 to 5 of SW1 set the transmission mode. The settings are shown in the table below. Table 2.1. COM-1D(PM) Data Transmission Mode Setting Full duplex [Full] Data Half duplex Connect RTS and CTS to transmission [Half] Loopback RTS and CTS...
  • Page 21 2. Setup 1/2W 100Ω NS16550 equivalent TxD+ SOUT TxD- RxD+ RxD- CTS+ CTS- RTS+ RTS- Figure 2.6. Equivalent Circuit <COM-1D(PM)> Terminator Terminator Figure 2.7. Party Line Connection <COM-1D(PM)> COM-1(PM), COM-1D(PM)
  • Page 22: Step 2 Installing The Hardware

    2. Setup Step 2 Installing the Hardware For using an expansion PC card under Windows, you have to let the OS detect the I/O addresses and IRQ to be used by the PC card. The process is referred to as installing the hardware. When using more than one PC card, always install cards one at a time and complete setup of the previous card before installing the next card.
  • Page 23: Setting With The Found New Hardware Wizard

    2. Setup Setting with the Found New Hardware Wizard (1) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location”, then click on the [Next] button. If you are using Windows NT 4.0, the “Found New Hardware Wizard” is not started. Go to Step 3 “Initializing the Software”.
  • Page 24: 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 PC card.
  • Page 25: Step 3 Initializing The Software

    2. Setup Step 3 Initializing the Software This assigns COM ports to the serial ports on the PC card. On Windows XP and 2000, you can also change the COM port numbers for existing COM ports. For use under Windows XP, Windows 2000 On Windows XP and Windows 2000, the COM ports are already assigned by the hardware installation step.
  • Page 26: For Use Under Windows Me, Windows 98 Or Windows 95

    2. Setup For use under Windows Me, Windows 98 or Windows 95 On Windows Me, 98, or 95, the COM port will already have been allocated by the hardware installation. As the OS manager allocates the COM port automatically, you cannot change the COM port number. However, if you wish to change into a lower COM port number as below, opening the COM port properties in Device Manager and changing the resource settings may allow you to move into a lower COM port number.
  • Page 27: 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 PC card 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 PC card operation.
  • Page 28 2. Setup For COM-1D(PM), obtain an RS-422A/485 crossed cable. Performing the test with a crossed cable requires that the PC has another RS-422A/485 port. If you do not have a crossed cable, you can perform the test on a single COM port by using the switch settings in the connector cable (CB-1D(PM)) to set communications to loopback.
  • Page 29: 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 30 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-1(PM), COM-1D(PM)
  • Page 31: Setup Troubleshooting

    2. Setup Setup Troubleshooting Symptoms and Actions PC card is not detected correctly [Windows NT 4.0] Windows NT 4.0 does not normally support hot plugging (inserting or removing a PC card while the PC power is turned ON). However, some brands of PC have proprietary software that supports hot plugging. The PC card may not work correctly if such software is present.
  • Page 32: External Connection

    (CN1) - Connector used DELC-J9PAF-20L9 (mfd. by JAE, Male) - Applicable connectors 17JE-13090-02(D8C) (mfd. by DDK, Female) CN5-D9F (mfd. by CONTEC, Female) (Five connector set) Figure 3.1. Interface connector <COM-1(PM)> Signal Ground Ring Indicator Data Terminal Ready Clear to Send...
  • Page 33: In The Case Of Com-1D(Pm)

    (inch screw) (CN1) - Connector used DELC-J9PAF-20L9 (mfd. by JAE, Male) - Applicable connectors 17JE-13090-02(D8C) (mfd. by DDK, Female) CN5-D9F (mfd. by CONTEC, Female) (Five connector set) Figure 3.3. Interface connector <COM-1D(PM)> Transmit Data- TxD- RxD- Receive Data- Transmit Data+...
  • Page 34: Types Of Cable And Example Connections

    3. External Connection Types of Cable and Example Connections In the case of COM-1(PM) 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 35: In The Case Of Com-1D(Pm)

    3. External Connection In the case of COM-1D(PM) The figures below show examples of how to connect the cable for the PC card. The RS-422A/485 interface works based on a differential signal whereby the signal is carried by the potential difference between two lines (+ and -). Using twisted pair cable is recommended to improve resistance to noise.
  • Page 36: Functions

    4. Functions 4. Functions This section describes the functions of the PC Card. Communication Function Serial Data Transmission COM-1(PM) sends and receives data using the RS-232C communication standard. COM-1D(PM) sends and receives data using the RS-422A/485 communication standard. The baud rate can be set by software to between 2 and 115,200bps. RS-232C Control Lines (COM-1(PM)) All ports include the RTS, CTS, DTR, and DSR control lines.
  • Page 37: Setting The Baud Rate

    4. Functions Setting the Baud Rate The baud rate is set by specifying the divide register value (divisor). Baud Rate: 2 to 115,200bps Table 4.1 lists the divisor settings for common baud rates when using the COM Setup Disk and API-PAC(W32).
  • Page 38: 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 PC cards can be used for all types of serial communications such as for remote access service (RAS) and uninterruptible power supply (UPS) applications.
  • Page 39: Uninstalling The Driver Software

    This is all that is needed to uninstall from Windows NT. (2) Run [Device Manager] from [Control Panel] - [System]. (3) Use the Delete key to delete the [CONTEC Co., Ltd-COM(PM)] entry that appears under [Ports]. (4) Start Explorer. (5) Select [Tools] - [Folder Options].
  • Page 40: About Hardware

    6. About Hardware 6. About Hardware This chapter provides hardware specifications and hardware-related supplementary information. Hardware specification Tables 6.1 to 6.2 list the PC card specifications. COM-1(PM) Table 6.1. Specification Item Specification Number of channels Interface type RS-232C Transfer method Asynchronous serial transfer Baud rate 2 to 115,200bps *1 *2...
  • Page 41 6. About Hardware COM-1D(PM) Table 6.2. Specification Item Specification Number of channels Interface type RS-422A/485(isolated type) Dielectric strength 1000V Transfer method Asynchronous serial transfer (Full Duplex/ Half Duplex Baud rate 2 to 115,200bps *1 *2 Data length 5, 6, 7, 8 bits 1, 1.5, 2 stop bits *1 Parity check Even, Odd, Non-parity *1...
  • Page 42: Equivalent Circuit

    6. About Hardware Equivalent circuit LT1133 TxD, RTS, DTR RxD, CTS, DSR, DCD, RI Figure 6.1. Equivalent Circuit <COM-1D(PM)> LTC491(RTS/CTS), LTC490(TxD/RxD) TxD, RTS 47k Ω 6.2k Ω 100 Ω RxD, CTS 6.2k Ω 47k Ω Figure 6.2. RS-422A/485 Full Duplex Connection <COM-1D(PM)> LTC491 TxD, RxD 47k Ω...
  • Page 43 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. [02202004] [03141995] Management No. A-41-402 [02202004_rev5] Parts No.

This manual is also suitable for:

Com-1d(pm)

Table of Contents