background image

2. Setup 

 

 

 

26

 

COM-2C-PE, COM-4C-PE, COM-8C-PE 

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]. 

When performing loopback communications on a single COM port, set the same port 

number in both [Device 1] and [Device 2]. 

Communication Settings: Specify the [Bits / Second], [Data bits] and other settings you wish to use. 

 

Содержание RS-232C Serial

Страница 1: ...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...

Страница 2: ...ed or missing items contact your retailer Product Configuration List Board One of the following COM 2C PE COM 4C PE or COM 8C PE First step guide 1 CD ROM 1 COM Setup Disk 1 Warranty Certificate 1 Ser...

Страница 3: ...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 t...

Страница 4: ...l 9 2 SETUP 11 What is Setup 11 Using the Board under Windows Using the Standard COM Driver Software COM Setup Disk11 Using the Board under Windows Using the Driver Library API PAC W32 11 Using the Bo...

Страница 5: ...ction conversion unit 33 Connecting directly to the port connector 34 In the case of COM 8C PE 35 Converting the Interface Connector to 9 pin D SUB Male Connectors 35 Converting the Interface Connecto...

Страница 6: ...921 600bps can be set for each port 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 standa...

Страница 7: ...connectors male or female type for your own cables are available as optional COM 8C PE Distribution cable for 8channels PCE78 9PS PCE78 9PS and 78 pin D SUB connectors male or female type for your ow...

Страница 8: ...Windows 7 Vista XP Linux etc You can download the updated version from the CONTEC s Web site http www contec com comdrv For more details on the supported OS applicable language and new information ple...

Страница 9: ...n Cross Cable 25F 9F 1 8m RSC 25F 9F COM 4ch Board Optional Cable for CCU 78F 25M 2m RSS 78M 37M Set of five 37 pin D SUB male connectors CN5 D37M D SUB 25P Male Connector Set 5 Pieces CN5 D25M D SUB...

Страница 10: ...2C PE COM 4C PE COM 8C PE 5 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 mor...

Страница 11: ...f 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 pu...

Страница 12: ...d 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...

Страница 13: ...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 s...

Страница 14: ...us connector of the board and its cable have been plugged correctly Check that the board has no dust or foreign matter adhering The gold plated leads of the bus connector have no stain or corrosion St...

Страница 15: ...1 Before Using the Product 10 COM 2C PE COM 4C PE COM 8C PE...

Страница 16: ...an 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 RO...

Страница 17: ...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 t...

Страница 18: ...an change board settings later Parts of the Board and Factory Defaults Figure 2 1 Figure 2 3 shows the names of major parts on the board Note that the switch setting shown below is the factory default...

Страница 19: ...p 14 COM 2C PE COM 4C PE COM 8C PE COM 8C PE 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 8C PE Figure 2 3 Component Locations COM...

Страница 20: ...Ds 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...

Страница 21: ...our 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...

Страница 22: ...32 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 Software The b...

Страница 23: ...u 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...

Страница 24: ...k the Update Driver button 3 The Driver Installation Wizard is open Click Browse my computer for driver software 4 Specify that folder on the CD ROM which contains the setup information INF file to re...

Страница 25: ...e and install driver software 2 When the Found New Hardware window is displayed insert the accompanying CD ROM COM Setup Disk into the CD ROM drive After a while the device installation process begins...

Страница 26: ...Wizard will be started Select Install from a list or specific location then click on the Next button 3 Specify that folder on the CD ROM which contains the setup information INF file to register the...

Страница 27: ...Installation of the Communication Port starts next If prompted for a file by the OS specify the location of the setup information INF file as described above You have now finished installing the hardw...

Страница 28: ...nt 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 Start Device Manager 1 Select S...

Страница 29: ...the COM port number 3 Clicking the Advanced button opens the Advanced Settings for COMn window Use the COM Port Number combo box to select the COM port number By selecting the Compulsion Half Duplex t...

Страница 30: ...ivalent 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 err...

Страница 31: ...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 communi...

Страница 32: ...COM 8C PE 27 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 appe...

Страница 33: ...lled 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 purp...

Страница 34: ...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 distri...

Страница 35: ...Male Five connector set Screw nut UNC 4 40 inch screw Figure 3 1 Interface Connector COM 2C PE CN1 1 2 3 4 5 6 7 8 9 DCD1 Data Carrier Detect RxD1 Receive Data TxD1 Transmit Data DTR1 Data Terminal Re...

Страница 36: ...t cables to connect from the four individual connectors Connector used 37 pin D SUB male connector Thumb screw UNC 4 40 inch screw Cable 9 conductor shielded cable Cable length 250mm Conductor size AW...

Страница 37: ...UNC 4 40 inch screw CH1 CH2 CH3 CH4 N C N C N C N C N C DCD 4 SG DSR 4 CTS 4 RTS 4 RxD 4 TxD 4 N C 25 24 23 22 21 20 19 18 17 16 15 14 N C N C N C RI 4 N C DTR 4 N C N C N C N C N C N C 13 12 11 10 9...

Страница 38: ...ividual connectors RS 232C cables connecting to external devices To Board CCU 78F 25M Connection conversion unit for the COM 8ch 4ch board Option cable 25 pin D SUB connector External equipment Extern...

Страница 39: ...Screw nut UNC 4 40 inch screw Figure 3 7 Interface Connector COM 4C PE 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 TxD1 CH1 Transmit Data 1 RTS1 CH1 Request to Send 1 DSR1 CH1 Data Set Ready 1 DTR...

Страница 40: ...connect from the eight individual connectors CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 5 4 3 2 1 SG DTR 1 TxD 1 RxD 1 DCD 1 9 8 7 6 RI 1 CTS 1 RTS 1 DSR 1 Cable 9 conductor shielded cable Cable length 1m Condu...

Страница 41: ...Female CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 N C N C N C N C N C DCD 8 SG DSR 8 CTS 8 RTS 8 RxD 8 TxD 8 N C 25 24 23 22 21 20 19 18 17 16 15 14 N C N C N C RI 8 N C DTR 8 N C N C N C N C N C N C 13 12 11 1...

Страница 42: ...ividual connectors RS 232C cables connecting to external devices To Board CCU 78F 25M Connection conversion unit for the COM 8ch 4ch board Option cable 25 pin D SUB connector External equipment Extern...

Страница 43: ...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 Connecting directly to the p...

Страница 44: ...xD 7 61 N C 42 DSR 8 22 RTS 8 3 TxD 8 60 SG 41 DCD 8 21 CTS 8 2 RxD 8 40 RI 8 CN1 1 21 40 60 20 39 59 78 1 DTR 8 Figure 3 14 Pin Assignments of Interface Connector COM 8C PE Thickness of the sheet met...

Страница 45: ...nt 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 Requ...

Страница 46: ...ON OFF and FIFO trigger size are set by the Device Manager The FIFO trigger size specifies the data buffer size and determines the timing for generating hardware interrupts Setting a large FIFO trigg...

Страница 47: ...x 460800 9600bps 48 As the result is an integer this baud rate can be set 460800 128000bps 3 6 As the result contains a fractional part this baud rate cannot be set Clock 1 mode 230400 Desired baud ra...

Страница 48: ...egister Setup error Baud Rate Generator register Setup error 2 57600 4 28800 57600 5 23040 46080 8 14400 28800 57600 15 7680 15360 30720 61440 50 2304 4608 9216 18432 75 1536 3072 6144 12288 110 1047...

Страница 49: ...4 Functions 44 COM 2C PE COM 4C PE COM 8C PE...

Страница 50: ...ET Framework SerialPort class 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 PCI Readmee txt and Linux...

Страница 51: ...E 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...

Страница 52: ...lled 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 unins...

Страница 53: ...s etc InstDoc Installation instructions for each OS Samples Various sample programs VB Sample program for Visual Basic VC Sample program for Visual C VB NET Sample program for VisualBasic NET for Seri...

Страница 54: ...rity 1 Controller chip 162850 or equivalent It has 128 byte receive and 128 byte transmit FIFO buffers Connecting distance 15m Typ Interrupt requests 1 level use 3 I O address Any 32 byte boundary Pow...

Страница 55: ...ax 3 3VDC 500mA Max Operating condition 0 50 C 10 90 RH No condensation Bus specification PCI Express Base Specification Rev 1 0a x 1 Dimension mm 121 69 L x 110 18 H Interface connector 37 pin D SUB...

Страница 56: ...PCI Express Base Specification Rev 1 0a x 1 Dimension mm 121 69 L x 110 18 H Interface connector 78 pin D SUB female connector DV11603G4 mfd By FOXCONN equivalent Weight 100g 1 These items can be set...

Страница 57: ...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 pri...

Отзывы: