RS-485, also known as TIA-485(-A) or EIA-485, is a standard, originally introduced in 1983, defining the electrical characteristics of drivers and receivers for use in
serial communication
In telecommunication and data transmission, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits a ...
s systems. Electrical signaling is
balanced
In telecommunications and professional audio, a balanced line or balanced signal pair is an electrical circuit consisting of two conductors of the same type, both of which have equal impedances along their lengths, to ground, and to other c ...
, and
multipoint systems are supported. The standard is jointly published by the
Telecommunications Industry Association
The Telecommunications Industry Association (TIA) is accredited by the American National Standards Institute (ANSI) to develop voluntary, consensus-based industry standards for a wide variety of information and communication technology (Informat ...
and
Electronic Industries Alliance
The Electronic Industries Alliance (EIA; until 1997 Electronic Industries Association) was an American standards organization, standards and trade organization composed as an alliance of trade associations for electronics manufacturers in the ...
(TIA/EIA). Digital communications networks implementing the standard can be used effectively over long distances and in
electrically noisy environments. Multiple receivers may be connected to such a network in a linear,
multidrop bus
A multidrop bus (MDB) is a computer bus able to connect three or more devices. A process of arbitration determines which device sends information at any point. The other devices listen for the data they are intended to receive.
Multidrop buses hav ...
. These characteristics make RS-485 useful in
industrial control system
An industrial control system (ICS) is an electronic control system and associated instrumentation used for industrial process control. Control systems can range in size from a few modular panel-mounted controllers to large interconnected and in ...
s and similar applications.
Overview
RS-485 supports inexpensive
local network
A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, campus, or building, and has its network equipment and interconnects locally managed. LANs facilitate the distribution of d ...
s and
multidrop communications links, using the same
differential signaling
Differential signalling is a method for electrically transmitting information using two complementary signals. The technique sends the same electrical signal as a differential pair of signals, each in its own conductor. The pair of conduc ...
over
twisted pair
Twisted pair cabling is a type of communications cable in which two conductors of a single circuit are twisted together for the purposes of improving electromagnetic compatibility. Compared to a single conductor or an untwisted balanced ...
as
RS-422
RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance, first issued in 1975, that specifies the electrical characteristics of a digital signaling circuit. It was meant to be the foundation ...
. It is generally accepted that RS-485 can be used with data rates up to 10
Mbit/s
In telecommunications, data transfer rate is the average number of bits (bitrate), characters or symbols (baudrate), or data blocks per unit time passing through a communication link in a data-transmission system. Common data rate units are multi ...
or, at lower speeds, distances up to . As a
rule of thumb
In English language, English, the phrase ''rule of thumb'' refers to an approximate method for doing something, based on practical experience rather than theory. This usage of the phrase can be traced back to the 17th century and has been associat ...
, the speed in bit/s multiplied by the length in meters should not exceed 10
8. Thus a cable should not signal faster than .
In contrast to RS-422, which has a driver circuit which cannot be switched off, RS-485 drivers use
three-state logic
In digital electronics, a tri-state or three-state buffer is a type of digital buffer that has three stable states: a high voltage output state (logical 1), a low output state (logical 0), and a high-impedance (Hi-Z) state. In the Hi-Z state, th ...
allowing individual transmitters to be deactivated. This allows RS-485 to implement
linear bus topologies using only two wires. The equipment located along a set of RS-485 wires are interchangeably called nodes, stations or devices. The recommended arrangement of the wires is as a connected series of point-to-point (multidropped) nodes, i.e. a line or
bus
A bus (contracted from omnibus, with variants multibus, motorbus, autobus, etc.) is a motor vehicle that carries significantly more passengers than an average car or van, but fewer than the average rail transport. It is most commonly used ...
, not a
star
A star is a luminous spheroid of plasma (physics), plasma held together by Self-gravitation, self-gravity. The List of nearest stars and brown dwarfs, nearest star to Earth is the Sun. Many other stars are visible to the naked eye at night sk ...
,
ring
(The) Ring(s) may refer to:
* Ring (jewellery), a round band, usually made of metal, worn as ornamental jewelry
* To make a sound with a bell, and the sound made by a bell
Arts, entertainment, and media Film and TV
* ''The Ring'' (franchise), a ...
, or multiply connected network. Star and ring topologies are not recommended because of signal reflections or excessively low or high termination impedance. If a star configuration is unavoidable, special RS-485 repeaters are available which bidirectionally listen for data on each span and then retransmit the data onto all other spans.

Ideally, the two ends of the cable will have a
termination resistor
In electronics, electrical termination is the practice of ending a transmission line with a device that matches the characteristic impedance of the line. Termination prevents signals from reflecting off the end of the transmission line. Reflec ...
connected across the two wires. Without termination resistors,
signal reflection
In telecommunications, signal reflection happens when a signal is transmitted along a transmission medium (such as a copper cable or an optical fiber) and part of it is reflected back toward the source instead of reaching the end. This reflection ...
s off the unterminated end of the cable can cause data corruption. Termination resistors also reduce electrical noise sensitivity due to the
lower impedance. The value of each termination resistor should be equal to the cable
characteristic impedance
The characteristic impedance or surge impedance (usually written Z0) of a uniform transmission line is the ratio of the amplitudes of voltage and current of a wave travelling in one direction along the line in the absence of reflections in th ...
(typically, 120 ohms for twisted pairs). The termination also includes pull up and pull down resistors to establish bias for each data wire for the case when the lines are not being driven by any device. This way, the lines will be biased to known voltages and nodes will not interpret the noise from undriven lines as actual data; without biasing resistors, the data lines float in such a way that electrical noise sensitivity is greatest when all device stations are silent or unpowered.
Standard
The EIA once labeled all its standards with the prefix RS (
Recommended Standard), but the EIA/TIA officially replaced RS with EIA/TIA to help identify the origin of its standards. The EIA has officially disbanded and the standard is now maintained by the TIA as TIA-485, but engineers and applications guides continue to use the RS-485 designation. The initial edition of EIA RS-485 was dated April 1983.
RS-485 only specifies the electrical characteristics of the generator and the receiver: the
physical layer
In the seven-layer OSI model of computer networking, the physical layer or layer 1 is the first and lowest layer: the layer most closely associated with the physical connection between devices. The physical layer provides an electrical, mechani ...
. It does not specify or recommend any
communications protocol
A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any variation of a physical quantity. The protocol defines the rules, syntax, semantics (computer science), sem ...
; Other standards define the protocols for communication over an RS-485 link. The foreword to the standard references ''The Telecommunications Systems Bulletin TSB-89'' which contains application guidelines, including data signaling rate vs. cable length, stub length, and configurations.
Section 4 defines the electrical characteristics of the generator (transmitter or driver), receiver, transceiver, and system. These characteristics include: definition of a unit load, voltage ranges, open-circuit voltages, thresholds, and transient tolerance. It also defines three generator interface points (signal lines); A, B and C. The data is transmitted on A and B. C is a ground reference. This section also defines the logic states 1 (off) and 0 (on), by the polarity between A and B terminals. If A is negative with respect to B, the state is binary 1. The reversed polarity (A positive with respect to B) is binary 0. The standard does not assign any logic function to the two states.
Full duplex operation
RS-485, like RS-422, can be made
full-duplex
A duplex communication system is a point-to-point system composed of two or more connected parties or devices that can communicate with one another in both directions. Duplex systems are employed in many communications networks, either to allow ...
by using four wires. Since RS-485 is a multi-point specification, however, this is not necessary or desirable in many cases. RS-485 and RS-422 can interoperate with certain restrictions.
Converters and repeaters
Converters between RS-485 and
RS-232
In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such as a compu ...
are available to allow a
personal computer
A personal computer, commonly referred to as PC or computer, is a computer designed for individual use. It is typically used for tasks such as Word processor, word processing, web browser, internet browsing, email, multimedia playback, and PC ...
to communicate with remote devices. By using
repeater
In telecommunications, a repeater is an electronic device that receives a signal and retransmits it. Repeaters are used to extend transmissions so that the signal can cover longer distances or be received on the other side of an obstruction. Some ...
s very large RS-485 networks can be formed.
Network topology
TSB-89A, Application Guidelines for TIA/EIA-485-A does not recommend using star topology, as doing so may lead to long stubs (branches of the star), which can cause signal reflections that make data transmission unreliable.
Protocols
RS-485 does not define a
communication protocol
A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any variation of a physical quantity. The protocol defines the rules, syntax, semantics (computer science), sem ...
; merely an electrical interface. Although many applications use RS-485 signal levels, the speed, format, and protocol of the data transmission are not specified by RS-485. Interoperability of even similar devices from different manufacturers is not assured by compliance with the signal levels alone.
Applications
RS-485 signals are used in a wide range of computer and automation systems. In a computer system,
SCSI
Small Computer System Interface (SCSI, ) is a set of standards for physically connecting and transferring data between computers and peripheral devices, best known for its use with storage devices such as hard disk drives. SCSI was introduced ...
-2 and SCSI-3 may use this specification to implement the
physical layer
In the seven-layer OSI model of computer networking, the physical layer or layer 1 is the first and lowest layer: the layer most closely associated with the physical connection between devices. The physical layer provides an electrical, mechani ...
for data transmission between a controller and a disk drive. RS-485 is used for low-speed data communications in commercial aircraft cabins'
vehicle bus. It requires minimal wiring and can share the wiring among several seats, reducing weight.
These are used in
programmable logic controller
A programmable logic controller (PLC) or programmable controller is an industrial computer that has been ruggedized and adapted for the control of manufacturing processes, such as assembly lines, machines, robotic devices, or any activity that ...
s and on factory floors. RS-485 is used as the physical layer underlying
many standard and proprietary automation protocols used to implement
industrial control systems
An industrial control system (ICS) is an electronic control system and associated instrumentation used for industrial process control. Control systems can range in size from a few modular panel-mounted controllers to large interconnected and int ...
, including the most common versions of
Modbus
Modbus (or MODBUS) is a client/server data communications protocol in the application layer. It was originally designed for use with programmable logic controllers (PLCs), but has become a ''de facto'' standardization, standard communication pr ...
and
Profibus
Profibus (usually styled as ''PROFIBUS'', as a portmanteau for Process Field Bus) is a standard for fieldbus communication in automation technology and was first promoted in 1989 by BMBF (German department of education and research) and then u ...
. is a proprietary communications protocol used by
Allen-Bradley
Allen-Bradley is the brand-name of a line of factory automation equipment owned by Rockwell Automation. The company, with revenues of approximately US $6.4 1,000,000,000 (number), billion in 2013, manufactures programmable logic controllers ( ...
in their line of industrial control units. Utilizing a series of dedicated interface devices, it allows PCs and industrial controllers to communicate. Since it is differential, it resists electromagnetic interference from motors and welding equipment.
In theatre and performance venues, RS-485 networks are used to control lighting and other systems using the
DMX512
DMX512 is a technical standard, standard for digital communication networks that are commonly used to control lighting and effects. It was originally intended as a standardized method for controlling stage lighting dimmers, which, prior to D ...
protocol. RS-485 serves as a physical layer for the
AES3
AES3 is a technical standard, standard for the exchange of digital audio signals between professional audio devices. An AES3 signal can carry two channels of pulse-code modulation, pulse-code-modulated digital audio over several transmission medi ...
digital audio interconnect.
RS-485 is also used in
building automation
Building automation (BAS), also known as building management system (BMS) or building energy management system (BEMS), is the automatic centralized control of a building's HVAC, HVAC (heating, ventilation and air conditioning), electrical, light ...
as the simple bus wiring and long cable length is ideal for joining remote devices. It may be used to control video surveillance systems or to interconnect security control panels and devices such as access control card readers.
It is also used in
Digital Command Control
Digital Command Control (DCC) is a standard for a system for the digital operation of model railways that permits locomotives on the same electrical section of track to be independently controlled.
The DCC protocol is defined by the Digital Comma ...
(DCC) for
model railway
Railway modelling (UK, Australia, New Zealand, and Ireland) or model railroading (US and Canada) is a hobby in which rail transport systems are Model building, modelled at a reduced Scale (ratio), scale.
The scale models include locomotives ...
s. The external interface to the DCC command station is often RS-485 used by hand-held controllers or for controlling the layout in a networked PC environment.
8P8C modular connectors are used in this case.
Signals

The RS-485 differential line consists of two signals:
* A, which is low for logic 1 and high for logic 0 and,
* B, which is high for logic 1 and low for logic 0.
Because a
mark
Mark may refer to:
In the Bible
* Mark the Evangelist (5–68), traditionally ascribed author of the Gospel of Mark
* Gospel of Mark, one of the four canonical gospels and one of the three synoptic gospels
Currencies
* Mark (currency), a currenc ...
(logic 1) condition is traditionally represented (e.g. in RS-232) with a negative voltage; and
space
Space is a three-dimensional continuum containing positions and directions. In classical physics, physical space is often conceived in three linear dimensions. Modern physicists usually consider it, with time, to be part of a boundless ...
(logic 0) represented with a positive one, A may be considered the ''non-inverting'' signal and B as inverting. The RS-485 standard states (paraphrased):
* For an off, mark or logic 1 state, the driver's A terminal is negative relative to the B terminal.
* For an on, space or logic 0 state, the driver's A terminal is positive relative to the B terminal.
The truth tables of most popular devices, starting with the SN75176, show the output signals inverted. This is in accordance with the A/B naming used by most differential transceiver manufacturers, including:
*
Intersil
Intersil is an American semiconductor company headquartered in Milpitas, California. , Intersil is a subsidiary of Renesas. The previous Intersil was formed in August 1999 through the acquisition of the semiconductor business of Harris Corpor ...
, as seen in their data sheet for the ISL4489 transceiver
*
Maxim
Maxim or Maksim may refer to:
Entertainment
*Maxim (magazine), ''Maxim'' (magazine), an international men's magazine
** Maxim (Australia), ''Maxim'' (Australia), the Australian edition
** Maxim (India), ''Maxim'' (India), the Indian edition
*Maxim ...
, as seen in their data sheet for the MAX483 transceiver and for the new generation 3.3v micro controller the MAX3485
*
Linear Technology
Linear Technology Corporation was an American semiconductor company that designed, manufactured and marketed high performance analog integrated circuits. Applications for the company's products included telecommunications, cellular telephones, ne ...
, as seen in their datasheet for the LTC2850, LTC2851, LTC2852
*
Analog Devices
Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational corporation, multinational semiconductor company specializing in data conversion, signal processing, and power management technology, headquartered in Wilming ...
, as seen in their datasheet for the ADM3483, ADM3485, ADM3488, ADM3490, ADM3491
*
FTDI
Future Technology Devices International Limited, commonly known by its acronym FTDI, is a Scottish privately held fabless semiconductor device company, specialising in Universal Serial Bus (USB) technology.
It develops, manufactures, and suppo ...
, as seen in their datasheet for the USB-RS485-WE-1800-BT
These manufacturers all agree on the meaning of the standard, and their practice is in widespread use. The issue also exists in programmable logic controller applications. Care must be taken when using A/B naming. Alternate nomenclature is often used to avoid confusion surrounding the A/B naming:
* TX+/RX+ or D+ as alternative for B (high for mark i.e. idle)
* TX−/RX− or D− as alternative for A (low for mark i.e. idle)
RS-485 standard conformant drivers provide a differential output of a minimum 1.5 V across a 54-Ω load,
whereas standard conformant receivers detect a differential input down to 200 mV. The two values provide
a sufficient margin for a reliable data transmission even under severe signal degradation across the cable
and connectors. This robustness is the main reason why RS-485 is well suited for long-distance
networking in noisy environment.
In addition to the A and B connections, an optional, third connection may be present (the TIA standard requires the presence of a common return path between all circuit grounds along the balanced line for proper operation)
[ANSI/TIA/EIA-485-A, page 15, A.4.1] called SC, G or reference, the common signal reference ground used by the receiver to measure the A and B voltages. This connection may be used to limit the
common-mode signal
In electrical engineering, a common-mode signal is the identical component of voltage present at both input terminals of an electrical device. In telecommunication, the common-mode signal on a transmission line is also known as longitudinal volta ...
that can be impressed on the receiver inputs. The allowable common-mode voltage is in the range −7 V to +12 V, i.e. ±7 V on top of the 0–5 V signal range. Failure to stay within this range will result in, at best, signal corruption, and, at worst, damage to connected devices.
Care must be taken that an SC connection, especially over long cable runs, does not result in an attempt to connect disparate grounds together – it is wise to add some
current limiting
Current limiting is the practice of imposing a limit on the electric current, current that may be delivered to a Electrical load, load to protect the circuit generating or transmitting the current from harmful effects due to a short-circuit or ove ...
to the SC connection. Grounds between buildings may vary by a small voltage, but with very low impedance and hence the possibility of catastrophic currents – enough to melt signal cables, PCB traces, and transceiver devices.
RS-485 does not specify any connector or pinout. Circuits may be terminated on
screw terminal
A screw terminal is a type of terminal (electronics), electrical connection where a wire is held by the tightening of a screw.
Description
The wire may be wrapped directly under the head of a screw, may be held by a metal plate forced against ...
s,
D-subminiature
The D-subminiature or D-sub is a common type of electrical connector. They are named for their characteristic D-shaped metal shield. When they were introduced, D-subs were among the smallest connectors used on computer systems.
Description ...
connectors, or other types of connectors.
The standard does not discuss cable shielding but makes some recommendations on preferred methods of interconnecting the signal reference common and equipment case grounds.
Waveform example
The diagram below shows
potentials
Potential generally refers to a currently unrealized ability, in a wide variety of fields from physics to the social sciences.
Mathematics and physics
* Scalar potential, a scalar field whose gradient is a given vector field
* Vector potential ...
of the A (blue) and B (red) pins of an RS-485 line before, during, and after transmission of one byte (0xD3, least significant bit first) of data using an
asynchronous start-stop
Asynchronous serial communication is a form of serial communication in which the communicating endpoints' interfaces are not continuously synchronized by a common clock signal. Synchronization (clock recovery) is done by data-embedded signal: ...
method.
See also
*
List of network buses
List of electrical characteristics of single collision domain segment "slow speed" network buses:
{, class="wikitable sortable" style="width:100%;"
! Name !! Multidrop !! Max nodes !! Electrical type !! Cable type !! data-sort-type="number", M ...
*
UART
A universal asynchronous receiver-transmitter (UART ) is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to ...
Notes
References
External links
"TIA-485-A"- purchase official standard
- Maxim
- Analog
"RS-485 Frequently Asked Questions"- TI
"External Fail-Safe Biasing of RS-485 Networks"- Renesas
"RS-485 Passive Failsafe for an Idle Bus"- TI, an
{{Computer-bus
Serial buses
Telecommunications-related introductions in 1998
EIA standards
Serial digital interface