Contec COM-1(PM), COM-1D(PM) User Manual

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.

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 damage d or missing item s,
contact your retailer.
Product Configuration List
- PC Card [COM(PM)]…1
- Connection cable(One of the following)…1
[CB-1R(PM)] (In the case of COM-1(PM)) [CB-1D(PM)] (In the case of COM-1D(PM))
- PC-Card Attachment (CARD-AT1)…1set
- Connector…1
- This User’s Guide…1
- COM Setup Disk(CD-ROM)…1
PC Card
Connector Guide
COM-1(PM), COM-1D(PM)
Connection cable
Guide
PC-Card Attachment
CD
i

Copyright

Copyright 1995 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 and Windows NT are trademarks of Microsoft Corporation. Other brand an d product names are trademarks of their respective holder.
ii
COM-1(PM), COM-1D(PM)

Table of Contents

Check Your Pack ag e............................................................................................................................i
Copyright ............................................................................................................................................ii
Trademarks ......................................................................................................................................... ii
Table of Con tents...............................................................................................................................iii
1. BEFORE USING THE PRODUCT 1
About the P C Card .............................................................................................................. ................ 1
Features........................................................................................................................................ 1
Support Softw ar e ......................................................................................................................... 2
Cable & Connect or ( Op ti on ) ...................................................................................................... 3
Customer Supp o rt ............................................................................................................................... 4
Web Site....................................................................................................................................... 4
Limited Thre e -Y ea r W ar ra n t y ............................................................................................................4
How to Obtain Serv ic e ....................................................................................................................... 4
Liability............................................................................................................................................... 4
Safety Precau t ion s .............................................................................................................................. 5
Safety Infor mat i on ....................................................................................................................... 5
Handling Pre ca u tio n s................................................................................................................... 6
Environment................................................................................................................................. 7
Inspection..................................................................................................................................... 7
Storage ......................................................................................................................................... 7
2. SETUP 9
What is Setup? .................................................................................................................................... 9
Using the PC card under Windows Using the Standard COM Driver Software COM Setup
Disk.............................................................................................................................................. 9
Using the PC ca rd un d e r W ind o ws Us in g the D riv er Lib r ar y P a ck ag e API-PAC(W32)........... 9
Using the PC card under Linux Using the Standard COM Driver Software COM Setup Disk 10
Operating Syst e ms Ot h e r th an W in do ws o r Lin ux ................................................................... 10
Step 1 Setting th e H ar d wa r e .............................................................................................................11
Connecting the PC Ca rd to th e Co nn ec t er C ab l e ...................................................................... 11
Fitting the PC Card Attachment ................................................................................................ 12
Insert the PC Ca rd...................................................................................................................... 13
Setting the Da ta Tr an s mis s io n Mod e an d T er min a to r on t h e C O M-1 D( P M)........................... 14
Step 2 Installi ng th e H ard w a re ......................................................................................................... 17
Turning on the PC...................................................................................................................... 17
Setting with th e Fou n d Ne w H a rd war e W iz a rd ........................................................................ 18
The check method of th e co mpl et ion of ha rdw are in st a ll ation................................................. 19
COM-1(PM), COM-1D(PM)
iii
Step 3 Initi alizing the S o f tware........................................................................................................ 20
For use under W in d o ws XP , Win d ow s 200 0............................................................................. 20
For use under W in d o ws Me , W in do w s 9 8 or Wi nd o ws 9 5 ......................................................21
For use unde r Windows NT....................................................................................................... 21
Step 4 Checking Op e r ati o n s w ith th e D i ag no s is P rog ra m ...............................................................22
What is the Di agno s is P r og r a m?................................................................................................ 22
Check Method ............................................................................................................................ 22
Using the Di agnosis Program.................................................................................................... 24
Setup Troubl esh oo ti n g...................................................................................................................... 26
Symptoms and A cti o ns .............................................................................................................. 26
If your proble m c a nno t b e r eso lv ed........................................................................................... 26
3. EXTERNAL CONNECTION 27
Interface con n e cto r ........................................................................................................................... 27
In the case of C OM -1 ( P M) ........................................................................................................27
In the case of C OM -1 D ( PM ) ..................................................................................................... 28
Types of Cabl e a nd Ex a mp le Co nn e ct io n s....................................................................................... 29
In the case of C OM -1 ( P M) ........................................................................................................29
In the case of C OM -1 D ( PM ) ..................................................................................................... 30
4. FUNCTIONS 31
Communicatio n Function ................................................................................................................. 31
Serial Data T ran smi s s io n ...........................................................................................................31
RS-232C Control Lines (C O M-1(PM))..................................................................................... 31
RS-422A/485 Con tr o l Lin e s ( C OM -1D ( PM ) ) ........................................................................... 31
Send and Re c e i ve Data Buffers................................................................................................. 31
Setting the B aud R at e ................................................................................................................ 32
5. ABOUT SOFTWARE 33
About Sample programs ................................................................................................................... 33
Uninstalling the dr iv e r sof tw a re .......................................................................................................34
CD-ROM Directo r y S t ru c tu re .......................................................................................................... 34
6. ABOUT HARDWARE 35
Hardware spe cification .....................................................................................................................35
Equivalent c i rcu it.............................................................................................................................. 37
iv
COM-1(PM), COM-1D(PM)

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. Use the card in a PCMCIA 2.0/JEIDA 4.1 or later (including PC Card Standard) PC card slot.
The < COM-1(PM) > has one RS-232C serial ports per card. The < COM-1D(PM) > has two RS-422A/485 serial ports per card. You can use the standard COM driver software (COM Setup Disk) supplied with the PC card to access
the serial ports as standard Windows or Linux COM ports.

Features

- As the card supports Plug&Play, the IO address, IRQ, and other resource settings are set automatically.
- Maximum communication speed = 115,200bps.
- The baud rate can be set independently for each channel, by software.
- Each channel is equipped with separate 16-byte FIFO buffers for transmit and receive.
- Up to two cards can be installed on one PC.
- Driver software is supplied to allow the serial por ts t o b e used a s standard Windows or Linux COM ports.
- The data transmission mode (full or half duplex) setting can be changed using a switch. (COM-1D(PM))
- The card includes the 100Ω terminating resistors required for a party line (multi-drop) connection. The resistors can be inserted in each signal line by setting a switch. (COM-1D(PM))
- All the RS-422A/485 signal lines are electrically isolated. (COM-1D(PM))
- You can use the PC card attachment to protect the PC card and cable socket.
COM-1(PM), COM-1D(PM)
1
1. Before Using the Product

Support Software

You should use CONTEC support software according to your purpose and development environment. Standard COM Driver Software
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. The PC cards can be used for all types of serial co mmunicat ions 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). Under Linux, the serial ports are compatible with the operating system's standard tty driver. The standard rou tines including open( ), close( ), read( ), write( ) are supported.
< Operating environment >
OS
Windows XP, 2000, NT, Me, 98, Linux etc..
CAUTION
Up to two cards can be installed on one PC.
COM Setup Disk
(Bundled)
Driver Software Package
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 adva nta g e of the CONTE C har dware usi ng va r ious programming language s that support Win32 API functions, such as Visual Basic and Visual C/C++.
It can also be used by the installed diagnosis program to check hardware operations. CONTEC provides download services (at http://www.contec.co.jp/e n/) to supply the updated drive rs and
differential files. For details, read Help on the bundled CD-ROM or visit the CONTEC’s Web site.
< Operating environment > OS Windows XP, 2000, NT, Me, 98, etc.. Adaptation language Visual C/C++, Visual Basic, Delphi, Builder, etc.. Others Each piece of library software requires 50 megabytes of free hard disk space.
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.).
- Up to two cards can b e inst alled on one PC.
2
COM-1(PM), COM-1D(PM)
1. Before Using the Product
Base package of ActiveX components for measurement system development
ACX-PAC(W32)BP
This is a set of useful Windows development tools for measurement systems and consis ts o f a soft ware compo n ent 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 for analog I/O, digital I/O, GPIB support.
(Option)
communications
, and counter inputs, as well as X-Y plotting and file sto rag e
Check the CONTEC’s Web site for more information on this soft.
Advanced package of ActiveX components for measurement system development
ACX-PAC(W32)AP
Complements the ACX-PAC(W32)BP functions with additional components including g raphi cs (plotting, switches, and lamps, etc.) and mathematical and analysis tools.
(Option)
Check the CONTEC’s Web site for more information on this soft.

Cable & Connector (Option)

RS-232C Straight Cable with D-SUB9P (1.8m) : RSS-9M/F RS-232C Cross Cable with D-SUB9P (1 .8 m) : RSC-9 F RS-232C Straight Cable with D-SUB25P (1.8m) : RSS-25M/F RS-232C Cross Cable with D-SUB25P (1.8 m) : RSC-25F RS-232C Connection Conversion Straight Cable (25M→9F, 1.8m) : RSS-25M/9F RS-232C Connection Conversion Straight Cable (25F→9M, 1.8m) : RSS-25F/9M RS-232C Connection Conversion Cross Cable(25F→9F, 1.8m) : RSC-25F/9F D-SUB9P Male Connector Set (5 Pieces) : CN5-D9M D-SUB9P Female Connector Set (5 Pieces) : CN5-D9F D-SUB25P Male Connector Set (5 Pieces) : CN5-D25M D-SUB25P Female Connector Set (5 Pieces) : CN5-D25F
* Check the CONTEC’s Web site for more information on these options.
COM-1(PM), COM-1D(PM)
3
1. Before Using the Product

Customer Support

CONTEC provides the following suppor t services for you to use CONT EC products more e fficiently and comfortably.

Web Site

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 we ll as sample program s 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. 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 pre paid with a c opy of the ori ginal 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 PC cards. 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 consequentia l damages due to s uch defect or consequences t hat arise from Safety Precautions
Understand the following definitions and precautions to use the product safely.
4
COM-1(PM), COM-1D(PM)
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 follow ing symbols to prevent accidents resulting in injury or death and the destructio n of equipment an d resources. U nderstand t he meanings of these labels to operate the equipment safely.
DANGER
WARNING
CAUTION
DANGER indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
WARNING indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury or in property damage.
COM-1(PM), COM-1D(PM)
5
1. Before Using the Product

Handling Precautions

DANGER
Do not use the product where it is exposed to flamm able or corrosi ve gas. Doing so ma y result in an explosion, fire, electric shock, or failure.
CAUTION
- Do not strike or bend the PC Card. Doing so could damage the PC Card. Otherwise, the PC Card may malfunction, overheat, cause a failure or breakage.
- Do not subject the socket used to conne ct the cable to the PC card to knocks or other excessi ve force. Otherwise, the PC card may malfunction, overheat, or cause a failure.
- Connect the cable to the card before inserting the card into the PC. Otherwise, the PC card may malfunction, overheat, or cause a failure.
- Do not try to remove the cable from the connecte r on the PC card without pre ssing the locking spring as this may prevent the cable from being securely connected.
- When inserting the PC card, check that you are inserting the card with the correct orientation and that the card is inserted firmly. Inserting the PC card incorrectly may damage the PC card or connector or result in a bad connection.
- Ensure that the PC power supply has sufficient capacity for all mounted cards. An inadequate power supply may cause misoperation, overheating, or faults.
- 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.
The following information only applies to the COM-1D(PM).
- Only set the switches and jumpers on the PC Card to the specified settings. Otherwise, the PC card may malfunction, overheat, or cause a failure.
6
COM-1(PM), COM-1D(PM)
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
Not to be excessive

Inspection

Inspect the product periodically as follows to use it safely.
- The the bus connector have no stain or corrosion.
- Check that the bus connector and its cable have been plugged correctly.

Storage

When storing this product, keep it in its original packing form. (1) Put the PC card in the storage bag. (2) Wra p it in th e pa ck ing mat eri al, th en pu t it in th e box . (3) Store the package at room temperature at a place free from direct sunlight, moisture, shock,
vibration, magnetism, and static electricity.
COM-1(PM), COM-1D(PM)
7
1. Before Using the Product
8
COM-1(PM), COM-1D(PM)
Loading...
+ 30 hidden pages