background image

 

Appendix A: Application Considerations

 

Introduction

  

Working with RS422 and RS485 devices is not much different from working with standard RS232 serial 
devices and these two standards overcome deficiencies in the RS232 standard. First, the cable length 
between two RS232 devices must be short; less than 50 feet. Second, many RS232 errors are the 
result of noise induced on the cables. The RS422 standard permits cable lengths up to 5000 feet and, 
because it operates in differential mode, it is more immune to induced noise. 
  
Connections between two RS422 devices (with CTS ignored) should be as follows: 

 

Device #1

 

Device #2

 

Signal

 

9 pin

 

25 pin Signal

9 pin

 

25 pin

Gnd

 

5

 

7

 

Gnd

 

5

 

7

 

TX

+

2

 

24

 

RX

+

9

 

12

 

TX

-

3

 

25

 

RX

-

1

 

13

 

RX

+

9

 

12

 

TX

+

2

 

24

 

RX

-

1

 

1

 

TX

-

3

 

25

 

 

Table A-1: 

Connections Between Two RS422 Devices

A third deficiency of RS232 is that more than two devices cannot share the same cable. This is also 
true for RS422 

but RS485 offers all the benefits of RS422 plus allows up to 32 devices to share the 

same twisted pairs

. An exception to the foregoing is that multiple RS422 devices can share a single 

cable if only one will talk and the others will always receive. 

 

Balanced Differential Signals

  

The reason that RS422 and RS485 devices can drive longer lines with more noise immunity than 
RS232 devices is that a balanced differential drive method is used. In a balanced differential system, 
the voltage produced by the driver appears across a pair of wires. A balanced line driver will produce a 
differential voltage from +2 to +6 volts across its output terminals. A balanced line driver can also have 
an input “enable” signal that connects the driver to its output terminals. If the “enable” signal is OFF, the 
driver is disconnected from the transmission line. This disconnected or disabled condition is usually 
referred to as the “tristate” condition and represents a high impedance. RS485 drivers must have this 
control capability. RS422 drivers may have this control but it is not always required. 
  

 

A balanced differential line receiver senses the voltage state of the transmission line across the two 
signal input lines. If the differential input voltage is greater than +200 mV, the receiver will provide a 
specific logic state on its output. If the differential voltage input is less than -200 mV, the receiver will 
provide the opposite logic state on its output. The maximum operating voltage range is from +6V to -6V 
allowing for voltage attenuation that can occur on long transmission cables.  
  

Manual PCI-COM-1S 

18

Содержание LPCI-COM-1S

Страница 1: ...ess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demo...

Страница 2: ...10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL PCI COM 1S USER MANUAL FILE MPCI COM 1S Ca...

Страница 3: ...thers IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 1995 2005 by ACCES I O Products Inc 10623 Roselle Street San Diego CA...

Страница 4: ...y warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to thos...

Страница 5: ...Address Selection 12 Chapter 5 Programming 13 Initialization 14 Table 5 1 Baud Rate Divisor Values 14 Chapter 6 Connector Pin Assignments 17 Table 6 1 Connector Pin Assignments 17 Appendix A Applicati...

Страница 6: ...biased please contact the factory COM Port Compatibility A 16550 UART is used as the Asynchronous Communication Element ACE It includes 16 byte transmit receive FIFO buffers to protect against lost d...

Страница 7: ...yle connector compatible with RS422 and RS485 specifications Character length 5 6 7 or 8 bits Parity Even odd or none Stop Interval 1 1 5 or 2 bits Serial Data Rates Up to 115 200 baud Asynchronous Fa...

Страница 8: ...TRANSCEIVER AUTO RTS CIRCUITRY OSCILLATOR PCI INTERFACE CHIP UART 16550 OR SIMILAR CO MPUTER PCI BUS DB9M Tx Rx Tx Rx RS485 MODE ONLY Tx Rx IRQ Figure 1 1 Block Diagram Manual PCI COM 1S 7...

Страница 9: ...tallation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessary DOS 1 Place the CD into your CD ROM drive 2 Type B t...

Страница 10: ...uter cover and turn ON the computer Enter the CMOS setup program of your system and verify that the PCI plug and play option is set appropriately for your system Systems running Windows 95 98 2000 XP...

Страница 11: ...85 operations where there are multiple terminals only the RS485 ports at each end of the network should have terminating resistors as described above Also for RS485 operation there must be a bias on t...

Страница 12: ...TERMOUT 485 422 TERMIN X4 X1 4 80 1 80 Figure 3 1 Option Selection Map Manual PCI COM 1S 11...

Страница 13: ...any allotted Alternately some operating systems Windows 95 98 2000 can be queried to determine which resources were assigned In these operating systems you can use either PCIFind or the Device Manager...

Страница 14: ...nstalls into Windows as COM ports Thus the Windows standard API functions can be used In particular CreateFile and CloseHandle for opening and closing a port SetupComm SetCommTimeouts GetCommState and...

Страница 15: ...4000 ft 1200 96 384 4000 ft Recommended maximum distances for differentially driven data cables RS422 or RS485 are for typical conditions Table 5 1 Baud Rate Divisor Values In C the code to set the ch...

Страница 16: ...driven communications should be used whenever possible and is required for high data rates Writing an interrupt driven receiver is not much more complex than writing a polled receiver but care should...

Страница 17: ...t is high the transmitter has sent the data The process of checking the bit until it goes high followed by a write is repeated until no data remains After all data has been transmitted the RTS bit sho...

Страница 18: ...9 Rx Receive Data Table 6 1 Connector Pin Assignments Data Cable Wiring The following table shows pin connections between two devices for Simplex Half Duplex and Full Duplex operations Mode Card 1 Ca...

Страница 19: ...ve Balanced Differential Signals The reason that RS422 and RS485 devices can drive longer lines with more noise immunity than RS232 devices is that a balanced differential drive method is used In a ba...

Страница 20: ...characteristic impedance of the cable Note You do not have to add a terminator resistor to your cables when you use the card Termination resistors for the RX and RX lines are provided on the card and...

Страница 21: ...that one node be a master node and all others be slaves The network is connected so that the master communicates to all slaves and all slaves communicate only with the master This has advantages in eq...

Страница 22: ...give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623 Roselle Street San Dieg...

Страница 23: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Отзывы: