background image

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.

Summary of Contents for 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: ...s complete If you discover damaged or missing items 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 Connector Guide Guide CD PC Card Connection cable PC Card Attachment ...

Page 3: ...hange 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 ...

Page 4: ...rd under Windows Using the Standard COM Driver Software COM Setup Disk 9 Using the PC card under Windows Using the Driver Library Package API PAC W32 9 Using the PC card under Linux Using the Standard COM Driver Software COM Setup Disk10 Operating Systems Other than Windows or Linux 10 Step 1 Setting the Hardware 11 Connecting the PC Card to the Connecter Cable 11 Fitting the PC Card Attachment 12...

Page 5: ...e resolved 26 3 EXTERNAL CONNECTION 27 Interface connector 27 In the case of COM 1 PM 27 In the case of COM 1D PM 28 Types of Cable and Example Connections 29 In the case of COM 1 PM 29 In the case of COM 1D PM 30 4 FUNCTIONS 31 Communication Function 31 Serial Data Transmission 31 RS 232C Control Lines COM 1 PM 31 RS 422A 485 Control Lines COM 1D PM 31 Send and Receive Data Buffers 31 Setting the...

Page 6: ... 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 ports t...

Page 7: ... Me 98 Linux etc CAUTION Up to two cards can be installed on one PC 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 advantage of the...

Page 8: ...W32 AP Option Complements the ACX PAC W32 BP functions with additional components including graphics plotting switches and lamps etc and mathematical and analysis tools 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 8m RSC 9F RS 232C Straight Cable with D SUB25P 1 8m RSS 25M F...

Page 9: ...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 PC cards The warranty is not applicable if the device has been tampered with or damaged through abuse mi...

Page 10: ...e 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 hazardou...

Page 11: ...ng 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 ...

Page 12: ...es Not to be excessive Inspection Inspect the product periodically as follows to use it safely Check that the bus connector and its cable have been plugged correctly The the bus connector have no stain or corrosion Storage When storing this product keep it in its original packing form 1 Put the PC card in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package ...

Page 13: ...1 Before Using the Product 8 COM 1 PM COM 1D PM ...

Page 14: ...sis 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 PCCARD COM PM Readmee txt file and the installation instructions files for each OS located in the PCCARD COM PM InstDoc If Setup fails to be performed normally see the Setup Troubleshooting section at t...

Page 15: ...tup 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 3 Functions Chapter 6 About...

Page 16: ... Figure 2 1 with the top side of the connector indicated by the mark aligned with the top side of the card CAUTION When inserting the cable carefully align the cable connector with the socket on the PC card and push straight in Applying excessive force to the connector on the PC card may damage the connector or result in a bad connection Never insert or unplug the connector while the PC power is t...

Page 17: ...p 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 In this case please remove the PC card attachment PC Card PC Card Socket Side PC Card Attachment Figure 2 2 Fitting the PC Card Attachment ...

Page 18: ...nserted with the top side facing down Refer to the manual for your PC for instructions on how to remove the card Figure 2 3 Insert the PC Card CAUTION Take note of the following points as inappropriate handling of the PC card may damage the card or connector socket and may result in a bad connection Always insert the PC card with the correct orientation and in accordance with the instructions Do n...

Page 19: ...screwdriver to the right Connecting cable Figure 2 4 How to Open the Cover CAUTION Pushing the screwdriver in too far may damage the inside of the connector Take care not to apply any force to the inside when turning the screwdriver SW1 can be used to set the COM 1D PM to full or half duplex mode Full duplex can be used for a one to one connection Half duplex mode allows a party line connection to...

Page 20: ...ating with does not use the RTS and CTS signals you can use this setting to make CTS active when the RTS signal on the PC card is set to active SW1 SW1 SW1 O N 1 2 3 4 5 6 7 8 O N 1 2 3 4 5 6 7 8 O N 1 2 3 4 5 6 7 8 CAUTION Do not set both bit 1 and bit 2 of SW1 ON at the same time as this may damage the PC card COM 1D PM terminating resistor setting Bits 6 and 7 of SW1 specify whether or not to i...

Page 21: ...PM TxD TxD RxD RxD CTS CTS RTS RTS RTS DCD DTR DSR RI CTS SIN SOUT NS16550 equivalent 1 2W 100Ω SW1 1 3 4 5 6 7 8 2 Figure 2 6 Equivalent Circuit COM 1D PM Terminator A D C Terminator B Figure 2 7 Party Line Connection COM 1D PM ...

Page 22: ...f using API SIO from API PAC W32 install from API PAC W32 instead of from the supplied CD ROM If you install from the CD ROM by mistake uninstall API SIO as described in Uninstalling the Driver Software in Chapter 5 About Software The PC card cannot be properly installed unless the resources I O addresses and interrupt level for the PC card can be allocated Before attempting to install the PC card...

Page 23: ...cific 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 2 Specify that folder on the CD ROM which contains the setup information INF file to register the PC Card Source folder Windows XP 2000 PCCARD COM PM Win2000 Windows Me 98 95 PCCARD COM PM Win95 ...

Page 24: ... driver has not passed Windows Logo testing and it can be ignored without developing any problem with the operation of the PC card In this case click on the Continue Anyway button You have now finished installing the hardware The check method of the completion of hardware installation 1 Select System from Control Panel and open Device Manager 2 Check that the COM port has been added to the Ports f...

Page 25: ...nstallation step Run Device Manager as described below if you wish to view or modify the COM port settings Start Device Manager 1 Select System from Control Panel and start Device Manager 2 Check that the new COM ports are displayed in the Ports folder 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...

Page 26: ...port of PC Card You can also change into a lower COM port number by using the PC s BIOS to disable serial devices RS 232C port modem infra red communications IrDA etc Whether or not this is possible depends on the BIOS Fill gap by reassigning the PC card to a lower port number COM2 Before changing settings Use BIOS to set modem or infra red comms device to Disable COM1 COM port on PC COM2 3 4 Othe...

Page 27: ...equivalent to the Hyper Terminal program provided with Windows Serial Communications Diagnostic Program CommChk exe Performs actual communications and indicates whether the results are correct or not error The following describes the procedure for testing using the serial communications diagnostic program CommChk exe Check Method Obtain an RS 232C crossed cable or a loopback connector If using a c...

Page 28: ...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 The figure below shows the switch settings Switch settings when using the COM 1D PM with a crossed cable O N 1 2 3 4 5 6 7 8 Switch settings when using the COM 1D PM in loopback mode instead of using a crossed cable O N 1 2 3 4 5 6 7 8 ...

Page 29: ...ngs 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 When performing loopback to a single COM port specify the same PC card number in both Device 1 and Device 2 Communication Settings Specify the Bits Second Data bits and other settings you wish to use ...

Page 30: ...D PM 25 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 ...

Page 31: ...are before using the card Incorrect driver software was installed by mistake Windows XP 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 Please only use the software t...

Page 32: ...screw 1 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 5 4 3 2 1 9 8 7 6 CN1 Signal Ground SG Data Terminal Ready DTR Transmit Data TxD Receive Data RxD Data Carrier Detect DCD RI Ring Indicator CTS Clear to Send RTS Request to Send DSR Data Set Ready Fi...

Page 33: ... by CONTEC Female Five connector set Figure 3 3 Interface connector COM 1D PM 5 4 3 2 1 9 8 7 6 CN1 Transmit Data TxD Request to Send RTS Request to Send RTS Transmit Data TxD Signal Ground SG RxD Receive Data RxD Receive Data CTS Clear to Send CTS Clear to Send Figure 3 4 Pin Assignments of Interface Connector COM 1D PM CAUTION For TxD RxD and RTS the positive terminal is the even numbered pin an...

Page 34: ...l treatment of the signal lines in the connector is required ensure that this is done in accordance with the specifications TxD RxD RTS CTS DTR DSR SG TxD RxD RTS CTS DTR DSR SG Transmit Data Receive Data Request to Send Clear to Send Data Terminal Ready Data Set Ready Signal Ground External device Figure 3 5 Example Connection to a Modem Straight cable TxD RxD RTS CTS DTR DSR SG TxD RxD RTS CTS D...

Page 35: ...ed to improve resistance to noise RTS RxD TxD TxD RxD RTS CTS CTS SG RTS RxD TxD TxD RxD RTS CTS CTS SG External device Figure 3 8 Example Connection RTS and CTS to a External Device in Full Duplex External device RxD TxD TxD RxD SG RxD TxD TxD RxD SG Figure 3 9 Example Connection Oneself loop to RTS and CTS in Full Duplex External device TxD TxD SG TxD TxD SG Figure 3 10 Example Connection in Hal...

Page 36: ...stem operation The data buffer operation whether to use FIFO operation FIFO trigger size can be set using Device Manager on Windows XP 2000 Me 98 and 95 On Windows NT only whether to use FIFO operation can be specified using Control Panel Serial Ports The FIFO trigger is the data buffer size that determines the timing of the hardware interrupt However this setting and function only applies to the ...

Page 37: ...040 600 192 14400 8 8 14400 1200 96 19200 6 15 7680 1800 64 28800 4 50 2304 2000 58 0 68 38400 3 75 1536 2400 48 57600 2 110 1047 0 026 3600 32 115200 1 134 5 857 0 058 4800 24 Use the formula below if you want to set a baud rate other than those listed in Table 4 1 A baud rate can only be set if the divisor calculated by the formula is an integer Any digits after the decimal point indicate that t...

Page 38: ... Basic communication control MSComm Under Linux the software functions as a standard Linux tty driver The standard open close read and write etc routines are supported Refer to the PCCARD COM PM Readmee txt and Linux Readmee htm files on the CD ROM for details About Sample programs Sample programs are provided in the Samples folder on the CD ROM Use the sample programs for reference and testing wh...

Page 39: ...then click OK 8 Right click on the Winnt Inf folder or Windows Inf folder and run Search 9 Enter COM PM in the Containing text field then click Start Search Do not enter anything in the File or folder name or Named field 10 Delete all files found by the search CD ROM Directory Structure Linux Linux device driver for PCI boards and PC cards only PCCARD PC card related files Com cb COM 4 CB H relate...

Page 40: ...1 Controller chip 16550 or equivalent Each channel has 16 byte receive and 16 byte transmit FIFO buffers Connecting distance 15m Typ Interrupt requests One of IRQ3 to 5 7 9 10 or 15 I O address Any 8 byte boundary Power consumption 5VDC 100mA Max Operating temperature 0 to 50 C 10 to 90 RH No condensation Length of supplied cable 150mm Card slot specifications PCMCIA 2 0 JEIDA 4 1 or later includi...

Page 41: ...byte receive and 16 byte transmit FIFO buffers Connecting distance 1200m Typ Interrupt requests One of IRQ3 to 5 7 9 10 or 15 I O address Any 8 byte boundary Power consumption 5VDC 100mA Max Operating temperature 0 to 50 C 10 to 90 RH No condensation Length of supplied cable 150mm Card slot specifications PCMCIA 2 0 JEIDA 4 1 or later including PC Card Standard Card size TYPE II Weight 30g Includi...

Page 42: ...R DCD RI LT1133 Figure 6 1 Equivalent Circuit COM 1D PM 6 2kΩ 6 2kΩ 47kΩ 47kΩ 100Ω RxD CTS TxD RTS LTC491 RTS CTS LTC490 TxD RxD Figure 6 2 RS 422A 485 Full Duplex Connection COM 1D PM 6 2kΩ 6 2kΩ 47kΩ 47kΩ 100Ω TxD RxD LTC491 Figure 6 3 RS 422A 485 Half Duplex Connection COM 1D PM ...

Page 43: ...aka 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 LZU6161 ...

Reviews: