Know your serials

Created back in the 1960s, serial communication interfacing (SCI) today is a relatively standard method of communicating on the factory floor—particularly in legacy machine control systems.

By Loren Shaum

1 of 2 < 1 | 2 View on one page

By definition, serial communication interface is a connection and wiring configuration that allows the exchange of data between various intelligent devices, one bit at a time. Serial communication interfacing (SCI) was created in the ‘60s, but coined as such by Motorola in the ‘70s. Today, it is a relatively standard method of communicating on the factory floor--particularly in legacy machine control systems.

The basic SCI contains a parallel-to-serial converter, which serves as the transmitter, and a serial-to-parallel converter that serves as a receiver. Because these two electrical circuit configurations almost always are located on separate devices or equipment, they are clocked independently. Interrupt and enable signals are the means of alerting each other that data is coming. Data speed is programmable, so receivers must be configured to match the transmitter’s transmission rate. Other characteristics include a non-return-to-zero format and the ability to operate in half-duplex mode. The latter uses only the receiver or only the transmitter; full-duplex mode uses both transmitter and receiver simultaneously.

The primary advantages of serial communication interfaces for machine builders are the simple wiring and the cost as compared, for example, to parallel communication interfaces. Also, serial communication interface cables can be much longer than parallel cables because of less cross-talk.

Many Serial Standards
The specific connectivity of the various serial communication interfaces varies depending which Electronics Industry Association (EIA) standard is incorporated. Of these, the most common interfaces used by machine builders are 232, 422 and 485. In 1997, EIA designated each as EIA232, EIA422 and EIA485, respectively. In spite of the new designation, most all documents today still use the ‘RS’ prefix.

EIA 232

     9-pin D-sub Connector
 

9-pin D-sub Connector

The EIA232 standard is the most common serial interface used in machine automation. The most recent version is EIA232F. This change renamed some of signal lines and added a shield connection. The table below represents current EIA232 specifications. Today, connections to and from various devices vary dramatically. Perhaps the most common connection is through the 9-pin D-sub connector shown here. Another connection commonly used on machine control equipment is the 25-pin D-sub connector.

SPECIFICATIONS of EIA232

 

Mode of Operation

SINGLE-ENDED

Number of Drivers and Receivers on One Line

1DRIVER
1 RECEIVER

Maximum Cable Length

50 ft.

Maximum Data Rate

20Kbps

Maximum Driver Output Voltage

+/-25 V

Driver Output Signal Level (Loaded Min.)

Loaded

+/-5 V to

+/-15 V

Driver Output Signal Level (Unloaded Max)

Unloaded

+/-25 V

Driver Load Impedance (Ohms)

3K to 7K

Max. Driver Current in High Z State

Power On

N/A

Max. Driver Current in High Z State

Power Off

+/-6ma @ +/-2v

EIA422
EIA422 is a balanced, differential serial interface using twisted wire pairs. The advantage of a balanced signal is greater noise immunity. EIA describes EIA422 as a transmitter to receiver interface for point-to-point connections.  EIA422 was created for greater distances and higher Baud rates than EIA232. EIA422 is also specified for multi-drop applications where only one driver is connected to, and transmits to, as many as ten receivers. The interface is normally terminated on a four-wire screw block or on a Sub-D37 connector, but other interfaces are not uncommon.

EIA422 Specifications

Max. Distance @ Rate

1,200 m/ 4,000 ft @ max. 100 Kbps

Max. Rate @ Distance

10 Mbps @ 12 m/ 50 ft

Driver Output Resistance

100 Ohm

Receiver Input Resistance

4K Ohm min.

Max. Output Current

150 mA

EIA485
Like the EIA422 standard, EIA485 implements differential line drivers with identical voltage swings: 0 to +5V. The main difference between the two is that EIA422 is strictly for point-to-point communications with the transmitter and receiver always enabled, EIA485 is used for multi-drop systems. By definition EIA485 is an OSI Model physical-layer electrical specification for a two-wire, half-duplex, multi-point serial connection. The EIA485 standard only specifies electrical characteristics of the transmitter and receiver. It does not specify any data protocol. Since it uses a differential line over twisted pair, like EIA422, EIA485 can span relatively large distances (up to 4,000 ft). For multi-drop connectivity, the recommended wiring is a series of point-to-point nodes via a line or bus. Ideally, the two ends of the cable include terminating resistors connected across each wire, and two pull-up resistors to bias the differential pair when the lines are not communicating. Without termination resistors, reflections could cause multiple data indications often causing data corruption. There is no standard connector recommended for EIA485.

1 of 2 < 1 | 2 View on one page
Show Comments
Hide Comments

Join the discussion

We welcome your thoughtful comments.
All comments will display your user name.

Want to participate in the discussion?

Register for free

Log in for complete access.

Comments

No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments