IC974C

Add to my manuals
36 Pages

advertisement

IC974C | Manualzz

RS-232/422/485 4-Port

PCI Card

MAY 2002

IC974C

CUSTOMER SUPPORT INFORMATION

Order toll-free in the U.S.: Call 877-877-BBOX (outside U.S. call 724-746-5500)

FREE technical support 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746

Mailing address: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018

Web site: www.blackbox.com • E-mail: [email protected]

FCC AND IC RFI STATEMENTS

FEDERAL COMMUNICATIONS COMMISSION and INDUSTRY CANADA

RADIO FREQUENCY INTERFERENCE STATEMENTS

Class B Digital Device.

This equipment has been tested and found to comply with the limits for a Class B computing device pursuant to Part 15 of the FCC Rules.

These limits are designed to provide reasonable protection against harmful interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation.

This equipment generates, uses, and can radiate radio frequency energy, and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. If this equipment does cause harmful interference to radio or telephone reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one of the following measures:

• Reorient or relocate the receiving antenna.

• Increase the separation between the equipment and receiver.

1

RS-232/422/485 4-PORT PCI CARD

• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.

• Consult an experienced radio/TV technician for help.

CAUTION

Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.

To meet FCC requirements, shielded cables and power cords are required to connect this device to a personal computer or other Class B certified device.

This digital apparatus does not exceed the Class B limits for radio noise emission from digital apparatus set out in the Radio

Interference Regulation of Industry Canada.

Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de classe B prescrites dans le Règlement sur le brouillage radioélectrique publié par Industrie Canada.

2

EU DECLARATION OF CONFORMITY

EUROPEAN UNION DECLARATION OF CONFORMITY

This equipment complies with the requirements of the

European EMC Directive 89/336/EEC.

3

RS-232/422/485 4-PORT PCI CARD

NORMAS OFICIALES MEXICANAS (NOM)

ELECTRICAL SAFETY STATEMENT

INSTRUCCIONES DE SEGURIDAD

1. Todas las instrucciones de seguridad y operación deberán ser leídas antes de que el aparato eléctrico sea operado.

2. Las instrucciones de seguridad y operación deberán ser guardadas para referencia futura.

3. Todas las advertencias en el aparato eléctrico y en sus instrucciones de operación deben ser respetadas.

4. Todas las instrucciones de operación y uso deben ser seguidas.

5. El aparato eléctrico no deberá ser usado cerca del agua—por ejemplo, cerca de la tina de baño, lavabo, sótano mojado o cerca de una alberca, etc..

6. El aparato eléctrico debe ser usado únicamente con carritos o pedestales que sean recomendados por el fabricante.

7. El aparato eléctrico debe ser montado a la pared o al techo sólo como sea recomendado por el fabricante.

8. Servicio—El usuario no debe intentar dar servicio al equipo eléctrico más allá a lo descrito en las instrucciones de operación. Todo otro servicio deberá ser referido a personal de servicio calificado.

9. El aparato eléctrico debe ser situado de tal manera que su posición no interfiera su uso. La colocación del aparato eléctrico sobre una cama, sofá, alfombra o superficie similar puede bloquea la ventilación, no se debe colocar en libreros o gabinetes que impidan el flujo de aire por los orificios de ventilación.

4

NOM STATEMENT

10. El equipo eléctrico deber ser situado fuera del alcance de fuentes de calor como radiadores, registros de calor, estufas u otros aparatos (incluyendo amplificadores) que producen calor.

11. El aparato eléctrico deberá ser connectado a una fuente de poder sólo del tipo descrito en el instructivo de operación, o como se indique en el aparato.

12. Precaución debe ser tomada de tal manera que la tierra fisica y la polarización del equipo no sea eliminada.

13. Los cables de la fuente de poder deben ser guiados de tal manera que no sean pisados ni pellizcados por objetos colocados sobre o contra ellos, poniendo particular atención a los contactos y receptáculos donde salen del aparato.

14. El equipo eléctrico debe ser limpiado únicamente de acuerdo a las recomendaciones del fabricante.

15. En caso de existir, una antena externa deberá ser localizada lejos de las lineas de energia.

16. El cable de corriente deberá ser desconectado del cuando el equipo no sea usado por un largo periodo de tiempo.

17. Cuidado debe ser tomado de tal manera que objectos liquidos no sean derramados sobre la cubierta u orificios de ventilación.

18. Servicio por personal calificado deberá ser provisto cuando:

A: El cable de poder o el contacto ha sido dañado; u

B: Objectos han caído o líquido ha sido derramado dentro del aparato; o

C: El aparato ha sido expuesto a la lluvia; o

D: El aparato parece no operar normalmente o muestra un cambio en su desempeño; o

E: El aparato ha sido tirado o su cubierta ha sido dañada.

5

RS-232/422/485 4-PORT PCI CARD

TRADEMARKS USED IN THIS MANUAL

IBM and PS/2 are registered trademarks of

International Business Machines Corporation.

Windows and Windows NT are either trademarks or registered trademarks of Microsoft Corporation in the

United States and/or other countries.

Any other trademarks mentioned in this manual are acknowledged to be the property of the trademark owners.

6

CONTENTS

Contents

Chapter Page

1.

Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.2 What the Package Includes . . . . . . . . . . . . 11

2.3 Factory-Default Settings. . . . . . . . . . . . . . . 12

2.4 Technical Description . . . . . . . . . . . . . . . . 12

2.5 Connector Pin Assignments . . . . . . . . . . . 13

3.

Card Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.1 RS-485 Enable Modes . . . . . . . . . . . . . . . . 14

3.2 Interface Mode Examples SW1–SW4 . . . . 16

3.3 Address and IRQ Selection . . . . . . . . . . . . 18

3.4 Electrical Interface Selection . . . . . . . . . . 19

3.5 Clock Modes . . . . . . . . . . . . . . . . . . . . . . . . 20

3.6 Baud Rate and Divisors for D1 Mode . . . . 20

7

RS-232/422/485 4-PORT PCI CARD

Contents (continued)

Chapter Page

4.

Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

4.1 Operating System Installation. . . . . . . . . . 22

4.1.1 For Windows Users . . . . . . . . . . . . . 22

4.1.2 Other Operating Systems . . . . . . . . 22

4.2 System Installation . . . . . . . . . . . . . . . . . . . 22

Appendix A. Troubleshooting . . . . . . . . . . . . . . . . . 24

A.1 Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

A.2 Calling Black Box. . . . . . . . . . . . . . . . . . . . 25

A.3 Shipping and Packaging . . . . . . . . . . . . . . 26

Appendix B. Electrical Interfaces . . . . . . . . . . . . . . 27

B.1 RS-232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

B.2 RS-422 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

B.3 RS-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Appendix C. Asynchronous Communication. . . . . 31

Appendix D. Board Layout . . . . . . . . . . . . . . . . . . . 34

8

CHAPTER 1: Specifications

UART:

16C864

1. Specifications

Connectors:

(4) DB9 male on a “spider” cable

Interface:

RS-232/422/485

Temperature Tolerance: Operating: 32 to 122°F (0 to

50°C); Storage: -4 to +158°F (-20 to +70°C)

Relative Humidity:

10 to 90%, noncondensing

MTBF:

Greater than 150,000 hours (calculated)

Power:

+5 VDC, 480 mA

Size:

3.9"H x 6.5"W (9.9 x 16.5 cm), excluding goldfingers; 4.2"H x 6.5"W (10.7 x 16.5 cm), including goldfingers

Weight:

4.6 oz. (130.4 g)

9

RS-232/422/485 4-PORT PCI CARD

2. Introduction

2.1 Overview

The RS-232/422/485 4-Port PCI Card is a four-channel

RS-232/485/422 PCI Bus serial I/O adapter that supports data rates up to 460.8 kbps.

The RS-232 compatibility allows for connection to devices using the RS-232 electrical interface, such as modems, data-entry terminals, and plotters.

RS-422 provides excellent communications for longdistance device connections up to 4000 ft. (1219.2 m), where noise immunity and high data integrity are essential.

RS-485 is optimized for “multi-drop” or “party-line” operations selecting data from multiple peripherals. As many as 31 devices can be connected on an RS-485 bus.

In both RS-485 and RS-422 modes, the PCI Card works seamlessly with the standard operating system serial driver. In RS-485 mode, our special auto-enable feature allows the RS-485 ports to be viewed by the operating system as a COM: port. This allows the standard COM:

10

CHAPTER 2: Introduction

driver to be used for RS-485 communications. Our on-board hardware automatically handles the RS-485 driver enable.

2.2 What the Package Includes

The PCI Card is shipped with the following items.

• (1) RS-232/422/485 4-Port PCI Card.

• (1) Serial Utilities CD-ROM disk containing drivers for Windows

®

3.1x/95/98/2000 and

Windows NT ® , Advanced COM drivers, utilities,

INF files, help files, and this users’ manual in PDF format.

• (1) “Spider” cable providing (4) DB9 connectors.

If anything is missing or damaged, please contact Black

Box at 724-746-5500.

11

RS-232/422/485 4-PORT PCI CARD

2.3 Factory-Default Settings

The PCI Card’s factory-default settings are described in

Table 2-1.

Table 2-1. Factory-default settings.

Port #

Port 1

Port 2

Port 3

Port 4

Clock DIV Mode

4

4

4

4

Enable Mode

RS-422

RS-422

RS-422

RS-422

To install the PCI Card using factory-default settings, refer to Chapter 4.

2.4 Technical Description

The RS-232/422/485 4-Port PCI Card provides four

RS-232/422/485 asynchronous serial ports for industrial automation and control applications.

The PCI Card uses the 16C864 UART. This chip features programmable baud rates, data format, interrupt control, and industry-leading 128-byte transmit and receive FIFOs.

12

CHAPTER 2: Introduction

2.5 Connector Pin Assignments

Table 2-2. RS-422/485 DB9 male connector pinout.

Signal

GND

TX +

TX-

RTS+

RTS-

RX+

RX-

CTS+

CTS-

Name

Ground

Transmit Data Positive

Transmit Data Negative

Request To Send Positive

Request To Send Negative

Receive Data Positive

Receive Data Negative

Clear To Send Positive

Clear To Send Negative

Pin #

2

9

7

1

8

3

6

5

4

Mode

Output

Output

Output

Output

Input

Input

Input

Input

Signal

GND

TD

RTS

DTR

RD

CTS

DSR

DCD

RI

Table 2-3. RS-232 DB9 male connector pinout.

Name

Ground

Transmit Data

Request To Send

Data Terminal Ready

Receive Data

Clear To Send

Data Set Ready

Data Carrier Detect

Ring Indicator

Pin #

6

1

2

8

9

7

4

5

3

Mode

Output

Output

Output

Input

Input

Input

Input

Input

TECHNICAL NOTE

Please terminate any control signals that are not going to be used. The most common way to do this is connect RTS to CTS and RI. Also, connect DCD to DTR and DSR.

Terminating these pins, if not used, will help ensure you get the best performance from your PCI Card.

13

RS-232/422/485 4-PORT PCI CARD

3. Card Setup

3.1 RS-485 Enable Modes

RS-485 is ideal for multi-drop or network environments.

RS-485 requires a tri-state driver that will allow the electrical presence of the driver to be removed from the line. The driver is in a tri-state or high impedance condition when this occurs. Only one driver may be active at a time and the other driver(s) must be tri-stated. The output modem control signal Request To

Send (RTS) is typically used to control the state of the driver. Some communication software packages refer to

RS-485 as RTS Enable or RTS block mode transfer.

One of the unique features of the PCI Card is the ability to be RS-485 compatible without the need for special software or drivers. This is especially useful in Windows and other protected mode environments where the lower-level I/O control is abstracted from the application program. This ability means that you can effectively use the PCI Card in an RS-485 application with existing (that is, standard RS-232) software drivers.

14

CHAPTER 3: Card Setup

Switches SW1 through SW4 are used to control the

RS-485 mode functions for the driver circuit. The selections are RTS Enable (silk-screen “RT”) or Auto

Enable (silk-screen “AT”). The Auto Enable feature automatically enables/disables the RS-485 interface.

The RTS mode uses the RTS modem control signal to enable the RS-485 interface and provides backward compatibility with existing software products.

Position 3 (silk-screen “NE”) of these switches is used to control the RS-485 enable/disable functions for the receiver circuit and determine the state of the

RS-422/485 driver. The RS-485 Echo is the result of connecting the receiver inputs to the transmitter outputs. Every time a character is transmitted, it is also received. This can be beneficial if the software can handle echoing (that is, using received characters to throttle the transmitter) or it can confuse the system if the software can’t handle echoing. To select the No

Echo mode, select silk-screen position NE.

Typically, each end of the RS-485 bus must have a lineterminating resistor (RS-422 terminates the receive end only). A 120-ohm resistor is across each RS-422/485 input in addition to a 1-kohm pull-up/pull-down

15

RS-232/422/485 4-PORT PCI CARD

combination that biases the receiver inputs. Only the ends of an RS-485 network should have the 120-ohm terminating resistor. Position 4 (silk-screen “T”) selects the presence of the 120-ohm termination resistor across the input data pins (RX+/RX-). To add the termination, select the On position. To remove it, select the Off position.

For RS-422/530/449 compatibility, set all switches Off.

Examples on the following pages describe some of the valid settings for SW1 through SW4.

3.2 Interface Mode Examples SW1–SW4

AT RT NE T

Figure 3-1. Switches SW1–SW4, RS-422.

16

CHAPTER 3: Card Setup

AT RT NE T

Figure 3-2. Switches SW1–SW4, RS-485 Auto Enabled, with No Echo and the termination resistor in circuit.

AT RT NE T

Figure 3-3. Switches SW1–SW4, RS-485 Auto Enabled, with Echo and no termination resistor in circuit.

17

RS-232/422/485 4-PORT PCI CARD

AT RT NE T

Figure 3-4. Switches SW–SW4, RS-485 RTS Enabled, with No Echo and no termination resistor in circuit.

AT RT NE T

Figure 3-5. Switches SW1–SW4, RS-485 RTS Enabled, with Echo and no termination resistor in circuit.

3.3 Address and IRQ Selection

The PCI Card is automatically assigned resources by your motherboard BIOS. Only the I/O addresses may be modified by you. Adding or removing other hardware may change the assignment of I/O addresses and IRQs.

18

CHAPTER 3: Card Setup

3.4 Electrical Interface Selection

Each port on the PCI Card has the ability to be used in either RS-232 or RS-422/485. This is selectable via eight

24-pin DIP-shunts at E1–E8. Please use Figure 3-6 to aid in the configuration of your electrical interface.

RS-422/485

RS-232

Figure 3-6. Headers E1–E4, electrical interface selection.

19

RS-232/422/485 4-PORT PCI CARD

3.5 Clock Modes

The PCI Card uses a unique clocking option that allows you to select from “divide by 4,” and “divide by 1” clocking modes. These modes are selected at Header J1.

(See Appendix D for jumper location.)

To select the baud rates commonly associated with

COM: ports (that is, 2400, 4800, 9600, 19.2, …

115.2 kbps), place the jumper in the divide by 4 mode

(silk-screen “D4”).

To select the baud rates above 115.2 kbps, select the divide by 1 mode (silk-screen “D1”).

3.6 Baud Rates and Divisors for the D1 Mode

Table 3-1 shows some common data rates and the rates you should choose to match them if using the PCI Card in the D1 mode.

20

CHAPTER 3: Card Setup

Table 3-1. Baud rates for the D1 mode.'

For this Data Rate

1200 bps

2400 bps

4800 bps

9600 bps

19.2 kbps

57.6 kbps

115.2 kbps

230.4 kbps

460.8 kbps

Choose this Data Rate

300 bps

600 bps

1200 bps

2400 bps

4800 bps

14.4 kbps

28.8 kbps

57.6 kbps

115.2 kbps

If your communications package allows the use of baud rate divisors, choose the appropriate divisor from

Table 3-2.

Table 3-2. Baud rate divisors for D1 mode.

For this Data Rate

1200 bps

2400 bps

4800 bps

9600 bps

19.2 kbps

38.4 kbps

57.6 kbps

115.2 kbps

230.4 kbps

460.8 kbps

Choose this Divisor

384

192

96

48

24

12

8

4

2

1

21

RS-232/422/485 4-PORT PCI CARD

4. Installation

4.1 Operating System Installation

4.1.1 F

OR

W

INDOWS

U

SERS

Start by choosing Install Software at the beginning of the CD. Choose Asynchronous COM: Port Software,

SeaCOM

.

4.1.2 O

THER

O

PERATING

S

YSTEMS

Refer to the appropriate section of the Serial Utilities

Software.

4.2 System Installation

The RS-232/422/485 4-Port PCI Card can be installed in any of the PCI expansion slots and contains configuration options for each port that must be set for proper operation.

1. Turn off PC power. Disconnect the power cord.

2. Remove the PC case cover.

3. Locate an available PCI slot and remove the blank metal slot cover.

22

CHAPTER 4: Installation

4. Gently insert the PCI Card into the slot. Make sure that the Card is seated properly.

5. Replace the screw.

6. Replace the cover.

7. Install the included cable.

8. Connect the power cord.

Installation is complete.

23

RS-232/422/485 4-PORT PCI CARD

Appendix A. Troubleshooting

A.1 Tips

Using the supplied software and following these simple steps can eliminate most common problems.

1. Identify all I/O adapters currently installed in your system. This includes your on-board serial ports, controller cards, sound cards, etc. The I/O addresses used by these adapters, as well as the

IRQ (if any) should be identified.

2. Configure your PCI Card so that there is no conflict with currently installed adapters. No two cards can occupy the same I/O address.

3. Make sure the PCI Card is using a unique IRQ.

While the Card does allow the sharing of IRQs, many other cards (that is, SCSI adapters and on-board serial ports) do not. The IRQ is typically selected via an on-board header block. Refer to

Chapter 3

for help in choosing an I/O address and IRQ.

4. Make sure the PCI Card is securely installed in a motherboard slot.

24

APPENDIX A: Troubleshooting

5. When running DOS or Windows 3.x, refer to the supplied software and this manual to verify that the PCI Card is configured correctly. This software contains an easy-to-use diagnostic program (SSD) that will verify if a card is configured properly.

6. For Windows 95/98/Me/2000 and Windows NT, the diagnostic tool “WinSSD” is installed in the

SeaCOM folder on the Start Menu during the setup process. First find the ports using the Device

Manager, then use WinSSD to verify that the ports are functioning.

7. Always use the diagnostic software when troubleshooting a problem. This will eliminate any software issues.

If none of the above steps solved the problem, please refer to Section A.2.

A.2 Calling Black Box

If you determine that your RS-232/422/485 4-Port PCI

Card is malfunctioning, do not attempt to alter or repair the unit. It contains no user-serviceable parts. Contact

Black Box at 724-746-5500.

25

RS-232/422/485 4-PORT PCI CARD

Before you do, make a record of the history of the problem. We will be able to provide more efficient and accurate assistance if you have a complete description, including:

• the nature and duration of the problem.

• when the problem occurs.

• the components involved in the problem.

• any particular application that, when used, appears to create the problem or make it worse.

A.3 Shipping and Packaging

If you need to transport or ship your RS-232/422/485

4-Port PCI Card:

• Package it carefully. We recommend that you use the original container.

• If you are shipping the RS-232/422/485 4-Port

PCI Card for repair, make sure you include everything that came in the original package.

Before you ship, contact Black Box to get a Return

Authorization (RA) number.

26

APPENDIX B: Electrical Interfaces

Appendix B. Electrical Interfaces

B.1 RS-232

Quite possibly the most widely used communication standard is RS-232. This implementation has been defined and revised several times and is often referred to as RS-232-C/D/E or EIA/TIA-232-C/D/E. It is defined as “Interface between Data Terminal

Equipment and Data Circuit-Terminating Equipment

Employing Serial Binary Data Interchange.” The mechanical implementation of RS-232 is on a DB25 connector. The IBM

®

PC computer defined the RS-232 port on a DB9 connector, and subsequently the

EIA/TIA approved this implementation as the EIA/TIA-

574 standard. This standard has been defined as the “9-

Position Non-Synchronous Interface between Data

Terminal Equipment and Data Circuit-Terminating

Equipment Employing Serial Binary Data Interchange.”

Both implementations are in wide-spread use and will be referred to as RS-232 in this document.

RS-232 is capable of operating at data rates up to 20 kbps/50 ft. The absolute maximum data rate may vary due to line conditions and cable lengths. RS-232 often operates at 38.4 kbps over very short distances. The

27

RS-232/422/485 4-PORT PCI CARD

voltage levels defined by RS-232 range from -12 to +12 volts. RS-232 is a single-ended or unbalanced interface, meaning that a single electrical signal is compared to a common signal (ground) to determine binary logic states. A voltage of +12 volts (usually +3 to +10 volts) represents a binary 0 (space) and -12 volts (-3 to -10 volts) denote a binary 1 (mark). The RS-232 and the

EIA/TIA-574 specification define two types of interface circuits: DTE and DCE. The PCI Card is a DTE interface.

B.2 RS-422

The RS-422 specification defines the electrical characteristics of balanced voltage digital interface circuits. RS-422 is a differential interface that defines voltage levels and driver/receiver electrical specifications. On a differential interface, logic levels are defined by the difference in voltage between a pair of outputs or inputs. In contrast, a single-ended interface

(such as RS-232) defines the logic levels as the difference in voltage between a single signal and a common ground connection. Differential interfaces are typically more immune to noise or voltage spikes that may occur on the communication lines. Differential

28

APPENDIX B: Electrical Interfaces

interfaces also have greater drive capabilities that allow for longer cable lengths. RS-422 is rated up to 10 Mbps per second and can have cabling 4000 feet (1219.2 m) long. RS-422 also defines driver and receiver electrical characteristics that will allow one driver and up to 32 receivers on the line at once. RS-422 signal levels range from 0 to +5 volts. RS-422 does not define a physical connector.

B.3 RS-485

RS-485 is backwardly compatible with RS-422; however, it is optimized for party line or multi-drop applications.

The output of the RS-422/485 driver is capable of being

Active (enabled) or Tri-State (disabled). This capability allows multiple ports to be connected in a multi-drop bus and selectively polled. RS-485 allows cable lengths up to 4000 feet (1219.2 m) and data rates up to

10 Mbps. The signal levels for RS-485 are the same as those defined by RS-422. RS-485 has electrical characteristics that allow for 32 drivers and 32 receivers to be connected to one line. This interface is ideal for multi-drop or network environments. RS-485 tri-state driver (not dual-state) will allow the electrical presence of the driver to be removed from the line. Only one

29

RS-232/422/485 4-PORT PCI CARD

driver may be active at a time, and the other driver(s) must be tri-stated. RS-485 can be cabled in two ways: two-wire and four-wire mode. Two-wire mode does not allow for full-duplex communication and requires that data be transferred in only one direction at a time. For half-duplex operation, the two transmit pins should be connected to the two receive pins (Tx+ to Rx+ and Txto Rx-). Four wire mode allows full-duplex data transfers.

RS-485 does not define a connector pinout or a set of modem control signals. RS-485 does not define a physical connector.

30

APPENDIX C: Asynchronous Communication

Appendix C. Asynchronous

Communication

Serial data communication implies that individual bits of a character are transmitted consecutively to a receiver that assembles the bits back into a character. Data rate, error checking, handshaking, and character framing

(start/stop bits) are pre-defined and must correspond at both the transmitting and receiving ends.

Asynchronous communication is the standard means of serial data communication for PC compatibles and

PS/2 ® computers. The original PC was equipped with a communication (COM:) port that was designed around an 8250 Universal Asynchronous Receiver Transmitter

(UART). This device allows asynchronous serial data to be transferred through a simple and straightforward programming interface. A start bit, followed by a predefined number of data bits (5, 6, 7, or 8) defines character boundaries for asynchronous communication.

The end of the character is defined by the transmission of a pre-defined number of stop bits (usually 1, 1.5, or

2). An extra bit used for error detection is often appended before the stop bits.

31

RS-232/422/485 4-PORT PCI CARD

Figure C-1.Asynchronous communication bit diagram.

This special bit is called the parity bit. Parity is a simple method of determining if a data bit has been lost or corrupted during transmission. There are several methods for implementing a parity check to guard against data corruption. Common methods are called

(E)ven Parity or (O)dd Parity. Sometimes parity is not used to detect errors on the data stream. This is referred to as (N)o parity. Because each bit in asynchronous communication is sent consecutively, it is easy to generalize asynchronous communication by stating that each character is wrapped (framed) by pre-defined bits to mark the beginning and end of the serial transmission of the character. The data rate and communication parameters for asynchronous communication have to be the same at both the

32

APPENDIX C: Asynchronous Communication

transmitting and receiving ends. The communication parameters are baud rate, parity, number of data bits per character, and stop bits (that is, 9600, N, 8, 1).

33

RS-232/422/485 4-PORT PCI CARD

Appendix D. Board

Layout

3.9" (9.9 cm)

6.5" (16.5 cm)

34

Figure D-1. Board Layout.

© Copyright 2002. Black Box Corporation. All rights reserved.

1000 Park Drive • Lawrence, PA 15055-1018 • 724-746-5500 • Fax 724-746-0746

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals