RS-485 Connections FAQ

How Do I Make RS-485 Connections?

First check the pinout connections and specifications of the devices you want to connect in order to determine whether you need a “2-wire” RS-485 connection or a “4-wire” RS-485 connection. If you can’t obtain this information before selecting a converter or serial card, select a converter or device which can be easily set to work in either mode using switches, jumpers or other options. Most often you will be setting up and connecting a card or converter as a Master to one or more Slave devices. Following are figures for three types of 2-wire Master connections, and one type of 4-wire connection. Usually Termination is not required for baud rates 19.2K or lower at distances up to 4000 ft.(1220 m), so it is not shown in the simplified figures which follow. (see note on page 3 regarding markings and pinouts).

 

Figure 1 applies to many Ethernet/Serial Servers and a few B&B RS-485 Converters such as the 485SD9TB485LPRJ485SD9R, 485SD9RJ.

Figure 2: 2-Wire RS-485 Connections

Figure 2 applies to several B&B Converter models such as the 485DRC, 485LDRC485LDRC9, and 4WSD9R. Two switches are set for 2W or to the 2-Wire RS-485 Mode.

RS-485 - Figure 2

Figure 3 applies to most B&B RS-485 Converters or Serial Cards that can be set for 2-wire or 4-wire operation, and for some 2-wire Converters that use the same circuit board for the RS-422 model. Check the Data Sheet schematic or block diagram. Figure 3 is also used for Repeaters/Optical Isolated Repeaters such as the 485RPTR, 485OP485OPDR. A RS-422 device does not tri-state the transmitter so it cannot use these connections.

RS-485 - Figure 3

Some Converter models are: 485BAT3, 485COR, 485CON, 485COSR, 485COSN, 485CSP2, 485TBLED, 485LP9N, 485LP9, P485BTB1, 485HSPR.

4-Wire Connections

RS-485 - Figure 4

This connection is used for a single Master in a 4-wire system. When only one master is used, the Master can be set to RS-422 mode since the there is no need to share the transmit wire pair to the Receivers of all the devices. All of the devices must be RS-485 and Tri-state since the same wire pair to the Receiver must be shared by the Transmitters of all the devices. The advantage of the 4-wire connection is that all devices only see commands from the Master, and no Device sees the responses from other devices. Turn-around delay is also not required.

MULTI-MASTER CONNECTIONS

2-Wire Multi-Master

Connect additional Masters the same as any Device, (Figs. 1-3) matching the polarity of the A and B data lines. All devices must be able to ignore the commands to other devices and able to ignore the responses from other devices. Any device could transmit to all others if permitted or some special Protocol is established to avoid data collisions. Usually the devices are Slave type and respond only to requests from a Master Device.

4-Wire Multi-Master

RS-485 - Figure 5

This connection is less common, Master 2 may be anywhere else on the network and may be used for collecting data returned from the devices. It can monitor the data from the devices only, but is not able to monitor the data requests from the other Master without additional connections. Only one Master can talk to the Devices at a time, so one Master must stop transmitting for a time (to avoid data collisions) so the other Master can access the same devices, or use some software protocol established for Device sharing. When Master 2 is used as Backup, the program on Master 2 begins polling the devices when the slave Devices stop responding for a predetermined time.

Note on RS-485 Pinout markings: Sometimes a device will be marked with the polarity reversed from normal RS-485 standards where the Data A or TD(A)/RD(A) line is (+) and the Data B line or TD(B)/RD(B) is (-). In a system with 2-wire connections, try reversing the lines to see if the device will respond. In a system with 4-wire connections, try reversing the receive pair polarity and transmit pair polarity. If the connections are wrong, you won’t be able to communicate because the data bits are upside down, but swapping polarity won’t damage anything. The marking Rx or Tx may be used instead of TD and RD or in a 2-wire system, TxRx+ and TxRx-, or Dx+ and Dx- for the Data lines. Many naming schemes are in use. RS-485 pinouts also have many variations, there is no single standard pinout arrangement or connector type, DB9, DB15, DB25, RJ-11, RJ-12, RJ-45 or DIN connector.

Making Wireless Sensors as Accessible as Web Servers

The Internet of Things revolution is upon us, and by the year 2020, therewill be over 50 billion connected things in the world. With the world’s population increasing and resources...

Wzzard Network Planning and Installation Application Note

Planning, deploying and installing a Wzzard network does not require any special network expertise. But some simple guidelines should be followed. Let’s discuss some topics that are the keys to enabling a robust network installation. These include Planning a Deployment, Verification of Network Health and Troubleshooting common problems.

Getting Security Right in Wireless Sensor Networks

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Wzzard Security Platform

The Spectre Network Gateway places the SmartMesh IP network behind a firewall. If connecting via the cellular data networks, the Spectre Network Gateway lets users use VPN tunneling, which makes the cellular systems as secure as proprietary infrastructure.

A Second Warm Welcome to Wireless Mesh Networking

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Connect Any Sensor to the Internet of Things

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Spectre Router Configuration for Automatic Failover

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Sensor Networking Cost Model

Are the high costs of deploying cabling in your industrial environment preventing you from deploying a remote sensor monitoring solution?

Cellular and the Promise of SWARM Intelligence

The power of SWARM intelligence is visible in nature, where the collective efforts of very simple creatures like ants, bees and termites can produce highly sophisticated results.

SWARM Intelligence: Greater than the Sum of Its Parts

The power of SWARM intelligence is visible in nature, where the collective efforts of very simple creatures like ants, bees and termites can produce highly sophisticated results. Termites build enormous...

The Basics of MQTT

Message Queue Telemetry Transport (MQTT), is an open, lightweight publish/subscribe messaging protocol that was developed specifically for small, constrained devices over wireless networks. MQTT brings a simplicity and scalability not...

Solving Industrial Monitoring Challenges through Wireless I/O

Abstract Remote monitoring and control applications present a range of challenges. In recent years, new technologies and products have emerged to address some of these challenges, but in many cases...

SimpleWire Replacement with Zlinx® Radio Modems: Knowledge, Tips, Fixes

A problem free wireless network installation is more than a wish, it’s what most of our customers experience. But a little knowledge and planning up front makes succeeding on your...

Wireless Technology for Modern Health Care

Some medical devices become immensely more valuable if you can make them mobile. Moving a modern medical cart from room to room is far more efficient than moving the patients...

Smart Phones & M2M – Connecting Made Easy, Finally

by Bill Conley You could argue that wireless data communications began in 1782, when Claude Chappe used semaphore towers to send messages between Paris, France, and the city of Lille,...

USB: Adaptable for Industrial Applications

The Universal Serial Bus (USB) provides a high data rate and Hot Swap connection for PCs, providing an easy connection to a wide variety of multimedia and network USB devices....

Ruggedizing USB Connections for Tough Environments

USB is ubiquitous, it’s useful and it’s here to stay. But it isn’t inherently rugged or reliable. It’s up to you to make it that way. When technician John Baker...

The Ten Commandments of USB

Don’t forget that USB uses copper wire and can thus transfer power surges from lightning strikes or heavy machinery to places where they can do serious damage. You can prevent...

Data Line Isolation Theory

When it comes time to protect data lines from electrical transients, surge suppression is often the first thing that leaps to mind. The concept of surge suppression is intuitive and...

Optical Isolation: Your Best Investment for Reliability

In 1999 the Science department at NASA conducted a study on lightning, ground voltage, and structural impact. A building in North Carolina, located within 45 meters of a 42-meter water...

Make Your Tablets and Smart Phones Smarter – Add Serial Capability for Seriously Remote Data

by Andy Ross, Director or Wireless Applications To paraphrase Mark Twain, rumors about the demise of serial ports are greatly exaggerated. Serial ports are everywhere, in everything from industrial automation...

RS-422 and RS-485 Applications eBook

A Practical Guide to Using RS-422 and RS-485 Serial Interfaces The purpose of this ebook is to describe the main elements of RS-422 and RS-485 data communications systems. The authors...

MTBF, MTTR, MTTF, FIT – Explanation of Terms

The intent of this White Paper is to provide an understanding of MTBF and other product reliability methods. Understanding the methods for the lifecycle prediction for a product enables the...

An Overview of Fiber Optic Technology

The use of fiber optics in telecommunications and wide area networking has been common for many years, but more recently fiber optics have become increasingly prevalent in industrial data communications...

Calculating Fiber Loss in Fiber Optic Networking

Fiber optic networking can be a daunting undertaking, but it really is not as difficult as it seems. Understanding factors such as fiber modes, fiber launch power, receive sensitivity, fiber...

Troubleshooting and Auto-Negotiation Features for Media Conversion Products

Media converters make the critical connection between different types of media, ensuring seamless integration of new equipmentin legacy networks. Media converters simply provide the electrical-to-optical conversion, and cost-effectively bridge the...

Introduction to Modbus

Modbus is one of the most popular protocols used in the industrial world. Supporting traditional serial protocols of RS232/422/485 and Ethernet protocols allow industrial devices such a PLCs, HMIs and...

Media Converters

Introduction to Media Converters Media converters play an important role in today’s multi-protocol, mixed media Local Area Networks. For example, LAN administrators can deploy media converters to integrate fiber optic cabling and active...

Port Powered Serial Converters FAQ

How do port powered serial converters derive their power? These converters steal their power from the connected RS-232 device’s output signals. As an example, a PC normally has outputs on the...

Managed Ethernet Switches

Key Features For a Powerful Industrial Network  Success for an industrial engineer has always had roots in the search for dependability and function at an affordable cost. Ethernet always held out the promise of high function...

Cellular Data Networking Goes Industrial

Refresh cycles for industrial data communications equipment have traditionally been measured in decades rather than years. That’s partly because of the enormous capital investments involved, partly because so many industrial...

What is SmartMesh IP™?

SmartMesh IP is defining the way to connect smart devices. With advanced network management and comprehensive security features, SmartMesh IP delivers reliable, scalable, energy efficient wireless sensor connectivity. Using up...

What Is The Internet of Things?

There’s a lot of hype surrounding the phrase “Internet of Things”, but what does it really mean for you? Mike Fahrion offers a pragmatic approach to realizing the potential for...