Omega Engineering OMG-CONV-485-ISO manual Appendix E Asynchronous Communications

Page 21

Appendix E - Asynchronous Communications

Appendix E - Asynchronous Communications

Serial data communications 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 communications is the standard means of serial data communication for PC compatibles and PS/2 computers. The original PC was equipped with a communication or 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 pre -defined number of data bits (5, 6, 7, or 8) defines character boundaries for asynchronous communications. 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.

Idle state of

 

line

5 to 8 Data Bits

 

1

0

Odd, Even

 

 

 

or

Remain Idle or

Unused

next start bit

P

 

 

 

 

 

 

 

STOP

BIT

 

 

 

 

 

 

 

 

 

 

 

1

1.5 2

Figure 10 - Asynchronous Communications 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 refereed to as (N)o parity. Because each bit in asynchronous communications is sent consecutively, it is easy to generalize asynchronous communications 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 communications have to be the same at both the transmitting and receiving ends. The communication parameters are baud rate, parity, number of data bits per character, and stop bits (i.e. 9600, N, 8, 1).

OMG-CONV-485-ISO

Page 17

Image 21
Contents User’sGuide Mexico CanadaBenelux Czech RepublicContents Figures Introduction Factory Default SettingsOverview What’s IncludedRS-485 Enable Modes Card SetupDip switch SW1, RS-422 Communication Mode Examples Dip switch SW1Function Line Termination and Receiver Echo Off/OnRS-422 with Termination and Receiver Echo Electrical Interface Examples Dip switch SW2Operating System Installation For Windows Users RS-485 Two-Wire and RS-485 Four-Wire Slave Installation Other Operating Systems Please Note System InstallationConnector Pin Assignments RS-232 Signals DB-25 Female Technical DescriptionRS-422/485 Pin Assignments 6 Position Screw Terminal Environmental Specifications SpecificationsPhysical Dimensions ManufacturingAppendix a Troubleshooting Appendix B How To Get Assistance Appendix C Electrical Interface RS-232RS-422 RS-485 Appendix D Ground Loop Phenomenon What is Ground Loop?Cabling Recommendations Isolated AdapterAppendix E Asynchronous Communications Asynchronous Communications Bit DiagramAppendix F Silk-Screen 688Appendix G Compliance Notices WARRANTY/DISCLAIMER Temperature