ProSoft Insights / Videos

Modbus 101: The Protocol Basics You Need to Know

Search Insights

Categories

Tags

Subscribe

Yes, I would like to receive marketing information from ProSoft Technology, Inc., and its affiliates, subsidiary companies and brands indicated below.

I therefore provide my consent to the use of the personal information submitted here for the purpose of providing me marketing information related to ProSoft Technology, Inc. and its affiliates’ and subsidiaries’ products, services and marketing events. I understand that I may withdraw my consent at any time. Additional information regarding ProSoft’s data privacy policies, including how to withdraw this consent, is available at www.prosoft-technology.com/privacy. ProSoft Technology, Inc. is a subsidiary of Belden Inc., and their affiliates, subsidiary companies and brands include ProSoft Technology SAS, ProLinx Comunicacao Industria, LTDA; Global Blue Networks Inc., and ProSoft Technology (Asia Pacific) SDN BHD.

Recent Posts

Gain Wi-Fi 6 Connectivity from Latest ProSoft Industrial Radio

20 nov, 2024 / Product focus

We’re happy today to share the news that ProSoft has released its first Wi-Fi 6 industr...

MQTT’s Role in IT/OT Convergence

30 oct, 2024 / Technology focus

IT’s data can play a major role in OT’s processes, ensuring goals are met and issues ar...

What Do You Need to Modernize? This Superstar Gateway Can Help

16 oct, 2024 / Product focus

We’d like to think that the AN-X4 modernization gateway is something of a superstar sol...

Should You Use Cellular or Wi-Fi to Connect AMRs and AGVs?

12 sep, 2024 / Technology focus

The demands on logistics facilities and material handling applications remain supersize...

Modbus 101: The Protocol Basics You Need to Know

Modbus is a classic and widespread protocol for a reason. Originally developed by Modicon in 1979 for use in the company’s PLCs, the serial communications protocol has become a giant in the industrial automation industry. Today it’s an open protocol, used by a variety of devices.

That’s where ProSoft came in over 30 years ago: Our first module linked an Allen-Bradley® processor to a Modbus SCADA host. (It definitely points to why we’re still sometimes referred to as “the Modbus guys.”)

We still hear a lot of questions about Modbus at industry events, and our support team gets a lot of queries as well.

Today we’re taking a brief look at the three primary variations of the Modbus protocol; and sharing a full explainer video exploring the protocol, including Modbus data addressing; float and double integer values and how Modbus handles them; and more protocol basics you need to know.

Modbus: ASCII, RTU, and TCP/IP

Modbus ASCII, Modbus RTU, and Modbus TCP/IP are the three major types of Modbus protocols used today.

∙ ASCII characters were used in Modbus’ initial development, and it’s still used today in a variety of applications, including equipment at oil and gas sites, and in barcode readers in logistics facilities. It’s incompatible with Modbus RTU, so devices using one cannot communicate with equipment using the other.

∙ Modbus RTU is implemented most frequently, and uses binary coding. Modbus RTU devices can employ one of three electrical interfaces – RS232, RS485, or RS422. RS232 is ideal for point-to-point connectivity that needs to cover a distance of less than 50 feet. If you need multi-point connectivity and/or have a distance of greater than 50 feet, you’ll want to opt for RS485 or RS422.

∙ Modbus TCP/IP was one of the first industrial Ethernet protocols. Essentially, these applications have Modbus devices use Ethernet cables and switches to communicate with each other. A typical Modbus TCP/IP implementation features the use of an MBAP header, which includes the identifying information that’s needed to route the data to the correct device. Serial messages can also be sent as RTU messages encapsulated in a TCP/IP packet. However, devices must be set up to use either MBAP or serial messaging.

Check out the full Modbus primer below:

Which Modbus connectivity solution does your application need?