Appendix D - Asynchronous Communications

Appendix D - 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. Character boundaries for asynchronous communications are defined by a starting bit followed by a pre -defined number of data bits (5, 6, 7, or 8). 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.52

Figure 4 - 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 transmis sion 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-USB-SER-4

Page 14

Page 18
Image 18
Omega OMG-USB-SER-4 manual Appendix D Asynchronous Communications, Asynchronous Communications Bit Diagram

Four Port RS-232/422/485 to USB Adaptor, OMG-USB-SER-4 specifications

The Omega OMG-USB-SER-4 is an advanced four-port RS-232/422/485 to USB adapter designed for seamless communication between legacy serial devices and modern computers. This versatile device caters to the growing need for increased connectivity, making it an ideal solution for industrial control, data acquisition, and other applications requiring multiple serial connections.

One of the main features of the OMG-USB-SER-4 is its ability to accommodate various serial communication protocols, including RS-232, RS-422, and RS-485. This flexibility enables users to connect a wide array of devices such as sensors, PLCs, and data loggers without worrying about compatibility issues. Furthermore, the adapter supports full-duplex communication, making it possible to transmit and receive data simultaneously on each port, enhancing overall efficiency.

The OMG-USB-SER-4 is built with robust technology that ensures reliable performance and durability. It supports a data transfer rate of up to 921.6 Kbps, allowing for fast and efficient data handling. Additionally, with its plug-and-play functionality, the device can be easily integrated into existing systems without requiring complex configurations or additional drivers, facilitating a hassle-free installation process.

In terms of characteristics, the OMG-USB-SER-4 features LED indicators for power and activity status, providing users with real-time feedback on the operational state of the device. The unit also includes built-in surge protection, safeguarding connected devices from voltage spikes and electrical noise, which is crucial for maintaining system integrity in industrial settings.

The compact design of the OMG-USB-SER-4 further enhances its appeal, as it allows for easy deployment in space-constrained environments. The device is USB-powered, eliminating the need for an external power supply, making it convenient for mobile or temporary setups.

In conclusion, the Omega OMG-USB-SER-4 four-port RS-232/422/485 to USB adapter combines versatility, speed, and ease of use, making it an excellent choice for professionals looking to bridge the gap between legacy serial devices and modern computing systems. Its robust features, coupled with reliable technology, ensure that it meets the demands of various industrial applications while maintaining user-friendly operation.