Contec COM-1PDH-LPE User Manual Download Page 36

 

4. Functions 

 

 

 

COM-1PDH-LPE 

31

 

Automatic RTS Control Functions 

This function applies to half duplex mode communications. 

As half duplex means that the same line is used for sending and receiving, the RTS and CTS signals are 

used to switch between sending and receiving.    Normally, RTS is set by writing to the corresponding 

register bit, but on this board it is controlled by hardware.    This reduces the load on the CPU. 

If you wish to use this function with the "Standard COM Driver Software  COM Setup Disk" from the 

bundled disk, it can be specified by the user application. 

Visual C++ 

Use the SetCommState() Win32 communications API routine to set [RTS_CONTROL_TOGGLE 

(0x03)] in the fRtsControl member of the DCB structure. 

 

 

 

In Visual Basic, half duplex communication cannot be used via the communication control 

(MSComm) as MSComm does not support setting this function. 

 
 

Other Functions 

Bus Isolation 

Between PCs are electrically isolated from each other. 

As isolation of the bus is provided, this prevents electrical interference between the PC and external 

circuits. This means you can safely use the boards in environments where noise is likely to be generated 

on the communication lines and where you are concerned about this causing incorrect operation or 

damage to the PC. 

Surge Protection 

As surge protection is provided on all RS-422A/485 control lines, you can safely use the boards in 

environments where you are concerned about surges causing incorrect operation or damage to the PC. 

 

 

 

 

CAUTION

Summary of Contents for COM-1PDH-LPE

Page 1: ...PC HELPER RS 422A 485 1ch Serial I O Board with Isolation for PCI Express Low Profile COM 1PDH LPE User s Guide CONTEC CO LTD...

Page 2: ...Configuration List Board COM 1PDH LPE 1 First step guide 1 Disk 1 COM Setup Disk 1 Transmission line connection terminal 1 Standard size bracket 1 Warranty Certificate 1 Serial Number Label 1 1 The bu...

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

Page 4: ...8 Storage 8 Disposal 8 2 SETUP 9 What is Setup 9 Using the Board under Windows Using the Standard COM Driver Software COM Setup Disk 9 Using the Board under an OS Other than Windows 9 Step 1 Setting...

Page 5: ...nector 27 Types of Cable and Example Connections 28 4 FUNCTIONS 29 Communication Function 29 Serial Data Transmission 29 Send and Receive Data Buffers 29 Setting the Baud Rate 30 Automatic RTS Control...

Page 6: ...der Windows in the same way as COM ports on the PC Under Windows the product supports the OS standard Win32 API communication function as well as Visual Basic MSComm In addition supplies a diagnostic...

Page 7: ...r high speed communications and to reduce the load to the CPU when transmitting receiving As the device manager can be used to enable disable the use of FIFO and set the FIFO trigger size you can buil...

Page 8: ...COM ports in the range COM1 COM256 The boards can be used for all types of serial communications such as for remote access service RAS and uninterruptible power supply UPS applications Under Windows t...

Page 9: ...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 fo...

Page 10: ...struction of equipment and resources Understand the meanings of these labels to operate the equipment safely DANGER indicates an imminently hazardous situation which if not avoided will result in deat...

Page 11: ...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 Be sure that the...

Page 12: ...and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause har...

Page 13: ...this product keep it in its original packing form 1 Put the board in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room temperature at a place free f...

Page 14: ...Setup Disk Taking the following steps sets up the software and hardware You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Setting the Hardware...

Page 15: ...he factory defaults untouched You can change board settings later Replacing the Bracket This board is shipped with a Low Profile size bracket mounted To plug the board into a standard size slot replac...

Page 16: ...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 the bo...

Page 17: ...LED Indicator Table 2 2 LED Indicator LED Operation Meaning RxD Green Flashing When receiving RS 422A 485 OFF When not receiving RS 422A 485 TxD Green Flashing When transmitting RS 422A 485 OFF When n...

Page 18: ...terminator switch OFF and insert an external terminator The diagrams below show examples of terminator installation for half and full duplex setting Table 2 3 Setting of Terminator Half duplex Figure...

Page 19: ...d terminator setting switch Figure 2 6 Setting Switch Circuits RxD TxD Terminator Bit 9 Terminator Bit 7 Terminator Bit 7 Terminator Bit 9 TxD RxD SW2 SW2 1 2 3 4 5 6 O N TERM MODE 1 2 3 4 5 6 O N TER...

Page 20: ...ise 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 to or from the...

Page 21: ...be properly installed unless the resources I O addresses and interrupt level for the board can be allocated Before attempting to install the board first determine what PC resources are free to use The...

Page 22: ...ard is attached Click on the device PCI Serial Port or PCI Simple Communication Controller and open its properties by clicking the Properties button 1 Please search for Devices and Printers case of Wi...

Page 23: ...te Driver button 3 The Driver Installation Wizard is open Click Browse my computer for driver software 4 Specify that folder on bundled disk which contains the setup information INF file to register t...

Page 24: ...dware installation 1 Select System from Control Panel and open Device Manager 2 Check that the names of the boards you are using are registered correctly in the Multifunction adapters folder 3 Similar...

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

Page 26: ...he Used Serial Mice support for the serial mouse devices is enabled You have now finished installing the initial setting of Software For Windows 2000 and later operating systems COM ports that are det...

Page 27: ...erial board have been assigned in order Table 2 5 shows an example in which the four channels of the serial board have not been assigned in order Table 2 4 Assigned in order CH no I O range COM port n...

Page 28: ...rminal 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 descri...

Page 29: ...OM 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 communicatio...

Page 30: ...o 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 Setup Troubleshooti...

Page 31: ...2 Setup 26 COM 1PDH LPE...

Page 32: ...tly from the connector on the board use the provided transmission line connection terminal for creating your own cables Pin Assignment Figure 3 1 Interface Connector Table 3 1 Interface connector sign...

Page 33: ...the potential difference between two lines and Using twisted pair cable is recommended to improve resistance to noise Figure 3 2 Example Connection Oneself loop to RTS and CTS in Full Duplex Figure 3...

Page 34: ...specifies the data buffer size and determines the timing for generating hardware interrupts Setting a large FIFO trigger size lightens the load on the CPU by reducing the number of hardware interrupts...

Page 35: ...7 2 As the result contains a fractional part a setup error occurs Refer to the following baud rate setting examples Table 4 1 Baud Rate Generator Programming Table Output baud rate bps Setup error 30...

Page 36: ...CONTROL_TOGGLE 0x03 in the fRtsControl member of the DCB structure In Visual Basic half duplex communication cannot be used via the communication control MSComm as MSComm does not support setting this...

Page 37: ...4 Functions 32 COM 1PDH LPE...

Page 38: ...ation control MSComm Supports the communication class of NET Framework SerialPort class Refer to the PCI Readmee txt files on the bundled disk for details About Sample programs Sample programs are pro...

Page 39: ...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...

Page 40: ...e COM DRV driver and registry information available from Add Remove Programs For Windows 8 and 7 you have to uninstall the driver manually How to uninstall 1 Open the Control Panel and launch Device M...

Page 41: ...ns 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 SerialPortClass VCS Sample program for Vi...

Page 42: ...re specifications and hardware related supplementary information For detailed technical information For further detailed technical information Technical Reference including the information such as an...

Page 43: ...the board MC 1 5 5 GF 3 5 P26 THR PHOENIX CONTACT or equivalent to it Transmission line connection terminal MC 1 5 5 STF 3 5 PHOENIX CONTACT or equivalent to it Weight 60g Standard VCCI Class A FCC C...

Page 44: ...WG28 400 AWG26 700 AWG24 1100 AWG22 1200 Maximum communication distances of the terminator resistor value 120 and cable diameter Terminator Resistor Cable Diameter Maximum Communication Distance m 120...

Page 45: ...listed due to some parts change COM 1PDH LPE User s Guide CONTEC CO LTD September 2018 Edition 3 9 31 Himesato Nishiyodogawa ku Osaka 555 0025 Japan https www contec com No part of this document may...

Reviews: