An infographic showing how an industrial router uses both Ethernet and legacy interfaces like serial and DI/DO to bridge the IT and OT worlds.

Connecting Industrial Machines: An Engineer's Guide to Serial Ports (RS485) and DI/DO

Written by: Robert Liao

|

Published on

|

Time to read 5 min

Author: Robert Liao, Technical Support Engineer

Robert Liao is an IoT Technical Support Engineer at Robustel with hands-on experience in industrial networking and edge connectivity. Certified as a Networking Engineer, he specializes in helping customers deploy, configure, and troubleshoot IIoT solutions in real-world environments. In addition to delivering expert training and support, Robert provides tailored solutions based on customer needs—ensuring reliable, scalable, and efficient system performance across a wide range of industrial applications.

Summary

This engineer's guide to connecting industrial machines focuses on two of the most critical interfaces found on an industrial router: the RS485 serial port and Digital I/O (DI/DO). We'll explain what these legacy ports are, why they are still essential on the factory floor, and how a modern industrial router uses them to act as a powerful bridge, allowing you to connect, monitor, and control your PLCs, sensors, and other OT assets from anywhere in the world.

Key Takeaways

While the IT world runs on Ethernet, the OT (Operational Technology) world is still full of reliable legacy equipment that uses serial ports and digital I/O.

An RS485 serial port is the workhorse for industrial communication, allowing a router to connect to and collect data from devices like PLCs and power meters, often using the Modbus protocol.

Digital I/O (DI/DO) provides a simple yet powerful way to monitor a machine's status (e.g., door open/closed) and trigger simple actions (e.g., turn on a warning light).

An industrial router that combines these legacy interfaces with modern cellular connectivity is the most efficient, all-in-one solution for bringing your existing machinery into the IoT era.

I've had this conversation with so many engineers who are new to the industrial space. They look at the back of one of our industrial routers and say, "I get the Ethernet ports, but what are these weird green terminal blocks for? What's an RS485 port?"

It's a great question because it gets to the heart of what makes an industrial router a truly special device. A consumer router is designed to connect computers. An industrial router is designed to connect machines. And machines, especially the reliable workhorses that run our factories and infrastructure, often speak a different language than your laptop.

Let's be clear: those "weird green terminal blocks" are the key to unlocking the value trapped in your legacy equipment. They are the bridge between the old world and the new. This guide will explain exactly what they are and how you can use them.


An infographic showing how an industrial router uses both Ethernet and legacy interfaces like serial and DI/DO to bridge the IT and OT worlds.


The First Bridge: The RS485 Serial Port

While Ethernet is common now, for decades, the undisputed king of industrial communication was the

RS485 serial port. It's a robust, reliable standard for connecting multiple devices over long distances in electrically noisy environments. You will find it on countless PLCs, VFDs, power meters, and other industrial controllers.

What Can You Do With It?

The primary use of the RS485 port on an industrial router is data acquisition. The router can act as a "master" device on the serial network, polling "slave" devices for data.

  • The Process: The router connects to one or more PLCs. Using a protocol like Modbus RTU, the router sends a request like, "Hey PLC #5, what is the value in your temperature register?" The PLC responds, and the router captures that data.
  • The Value: This allows you to collect critical operational data from machines that have no native Ethernet port. The router can then transmit this data securely over a cellular network to a central SCADA system or cloud platform. It effectively makes your old, offline machine a fully-fledged IoT device.

The Second Bridge: Digital I/O (DI/DO)

Digital Input/Output is the simplest and often one of the most useful forms of industrial communication.

What is Digital Input (DI)?

A DI port is essentially a sensor that can detect a simple on/off state. It's like a light switch for your router.

  • How it works: You can wire a DI port to a relay, a switch, or a sensor. For example, you can connect it to a door switch on a remote cabinet.
  • The Value: The router can now know if the cabinet door is open or closed. If the door opens unexpectedly, the router can be configured to send an immediate alert to your RCMS platform, notifying you of a potential security breach.

What is Digital Output (DO)?

A DO port is the opposite; it's a switch that the router can turn on or off.

  • How it works: You can wire a DO port to an indicator light, an alarm siren, or a small relay.
  • The Value: You can now take remote action. From your RCMS dashboard, hundreds of miles away, you could remotely trigger a DO port to turn on a warning light, sound an alarm, or even cycle the power to a connected piece of equipment.

The All-in-One Solution for Connecting Industrial Machines: Why This Matters

The real 'aha!' moment for system integrators is the efficiency gain. In the past, to achieve this, you might have needed three separate boxes: a serial-to-Ethernet converter, a remote I/O module, and a cellular router.

A modern industrial router integrates all of this functionality into a single, rugged, and cost-effective device. It provides the reliable cellular connection and the native interfaces to talk directly to your legacy machines. This simplifies installation, reduces cost, lowers the number of failure points, and makes the entire system easier to manage.


A diagram showing how a single industrial router can connect an IP camera via Ethernet, a PLC via RS485, and a door switch/alarm via DI/DO.


Conclusion: Speak Your Machine's Language

Connecting industrial machines is the first step to building a smart, data-driven operation. While the world is moving to IP, a massive installed base of reliable and valuable legacy equipment still speaks the language of serial and digital I/O. By choosing an industrial router that speaks these native languages, you are investing in a powerful and cost-effective bridge to the future, allowing you to unlock the data from your entire factory floor, not just the newest equipment.

Learn more in our main guide:

A screenshot from the RCMS platform showing the interface for remotely monitoring the status of a Digital Input and controlling a Digital Output on an industrial router.


Frequently Asked Questions (FAQ)

Q1: What is the difference between RS232 and RS485?

A1: The main differences are distance and the number of devices. RS232 is for short-distance (typically <50 feet), point-to-point communication between two devices.

RS485 is a much more robust industrial standard that allows for long distances (up to 4000 feet) and connecting multiple devices (up to 32) on a single pair of wires.

Q2: What is Modbus and how does it relate to RS485?

A2: Modbus is a communication protocol—it's the "language" being spoken. RS485 is a physical standard—it's the "telephone line" the language is spoken over. Modbus RTU is the version of the protocol specifically designed to be used over serial lines like RS485. Most industrial routers with an RS485 port have a built-in Modbus gateway function.

Q3: What can I actually power with a Digital Output (DO)?

A3: A DO port on a router is a low-voltage switch; it is not designed to power large equipment directly. It's perfect for triggering an external relay. For example, the DO can switch on a small relay, and that relay can then switch on a much larger device, like a powerful siren or a motor.