background image

A-1

Manual MICOM-2S.Eb

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 at.  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 the 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 all 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.

Summary of Contents for ICOM-2S

Page 1: ...ACCES I O PRODUCTS INC 10623 Roselle Street San Diego CA 92121 TEL 858 550 9559 FAX 858 550 7322 MODEL ICOM 2S USER MANUAL FILE MICOM 2S Eb...

Page 2: ......

Page 3: ...document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ACCES nor the rights of others IBM PC PC XT an...

Page 4: ...luded by 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...

Page 5: ...2 1 3 5 Inch Diskette Installation 2 1 Directories Created on the Hard Disk 2 2 Installing the Card 2 4 Chapter 3 Option Selection 3 1 Communication Modes and Cabling Options 3 2 Interrupts 3 2 Chapte...

Page 6: ...twork A 3 List of Tables Table 4 1 Standard Address Assignments for 286 386 486 Computers 4 1 Table 4 2 ICOM 2S Address Switch Setup 4 2 Table 4 3 Example Address Setup 4 2 Table 4 4 Standard COM Port...

Page 7: ...e front of this manual The output transceiver used type 75176B is capable of driving extremely long communication lines at high baud rates It can drive up to 60mA on balanced lines and receive inputs...

Page 8: ...Led Monitors Two LED indicators are provided on the ICOM 2S card The LEDs blink to indicate activity on the transmitting and receiving lines and are useful for problem diagnosis The blinking is more v...

Page 9: ...t Compatible with RS422 and RS485 specifications Up to 32 drivers and receivers allowed on line Input Isolation 500 Volts from computer and between ports Receiver Input Sensitivity 200 mV differential...

Page 10: ...ICOM 2S Manual 1 4 Manual MICOM 2S Eb Figure 1 1 ICOM 2S Block Diagram Only one serial channel shown...

Page 11: ...een prompts to install the software for this card WIN95 98 NT 1 Place the CD into your CD ROM drive 2 The CD should automatically run the install program after 30 seconds If the install program does n...

Page 12: ...contains C samples Win32 language Subdirectories containing samples for Win95 98 and NT WinRisc exe A Windows dumb terminal type communication program designed for RS422 485 operation Used primarily...

Page 13: ...rams in DOS PCIFind exe A utility for DOS and Windows to determine what base addresses and IRQs are allocated to installed PCI cards This program runs two versions depending on the operating system Wi...

Page 14: ...esigned for RS422 485 operation Used primarily with Remote Data Acquisition Pods and our RS422 485 serial communication product line Can be used to say hello to an installed modem RISCTerm stands for...

Page 15: ...mounting bracket is properly screwed into place and that there is a positive chassis ground 9 Turn the computer ON and observe the LED indicators The LEDs will blink when there is any activity on the...

Page 16: ...ng resistor should be divided and its center point grounded to help reduce noise voltage pickup To accomplish this also install a jumper at the position marked LD GND for 68 ohm termination resistance...

Page 17: ...on the wire connections used to connect the two serial ports Tx is the transmit wires and Rx is the receive wires Communication Modes and Cabling Options Cable Mode Jumpers Card A Card B Simplex 2 wir...

Page 18: ...X Full Half Duplex SX DX Simplex Duplex RTS Software RTS option AUTOA AUTOB Auto RTS option BIAS RS485 Bias Voltage CTS Forced CTS signal LD LDGND Transmission Load Jumpers See the Option Selection ch...

Page 19: ...01F DMA Controller 1 020 03F INT Controller 1 Master 040 05F Timer 060 06F 8042 Keyboard 070 07F Real Time Clock NMI Mask 080 09F DMA Page Register 0A0 0BF INT Controller 2 0C0 0DF DMA Controller 2 0...

Page 20: ...itches that are turned OFF and a binary 0 to switches in the ON position For example as illustrated in the following table switch selection corresponds to binary 10 1101 1xxx hex 2D8 The xxx represent...

Page 21: ...tch Settings A9 A8 A7 A6 A5 A4 A3 COM1 IRQ 4 3F8 1 1 1 1 1 1 1 COM2 IRQ 3 2F8 1 0 1 1 1 1 1 COM3 IRQ 4 3E8 1 1 1 1 1 0 1 COM4 IRQ 3 2E8 1 0 1 1 1 0 1 Table 4 4 Standard COM Port Addresses Notice that...

Page 22: ...ICOM 2S Manual 4 4 Manual MICOM 2S Eb...

Page 23: ...et and change a port s settings ReadFile and WriteFile for accessing a port See the documentation for your chosen language for details Under DOS the process is very different The remainder of this cha...

Page 24: ...to 9600 baud is outportb BASEADDR 0x0C outportb BASEADDR 1 0 The second initializing step is to set the Line Control Register at Base Address 3 This register defines word length stop bits parity and t...

Page 25: ...e read from the chip Polling is not effective at high data rates above because the program cannot do anything else when it is polling or data could be missed The following code fragment implements a p...

Page 26: ...e is done the card is ready to send data To transmit a string of data the transmitter must first check Bit 5 of the Line Status Register at Base Address 5 That bit is the transmitter holding register...

Page 27: ...Output 3 Tx Transmit Data Complementary 4 Not Used 5 Gnd Isolated Common Ground Ground 6 5V Isolated 5V Supply 7 RTS Request to Send Output 8 CTS Clear to Send Input 9 Rx Receive Data Input TRx Table...

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

Page 29: ...put Voltage loaded LD and LDGND 2V jumpers in 2V Driver Output Resistance 50 Driver Output Short Circuit Current 150 mA Driver Output Rise Time 10 unit interval Receiver Sensitivity 200 mV Receiver Co...

Page 30: ...p Network The following illustration shows a typical multidrop or party line network Note that the transmission line is terminated on both ends of the line but not at drop points in the middle of the...

Page 31: ...ICOM 2S Manual A 4 Manual MICOM 2S Eb...

Page 32: ...ccesioproducts com Customer Comments If you experience any problems with this manual or just want to give us some feedback please email us at manuals accesioproducts com Please detail any errors you f...

Reviews: