One of the biggest challenges facing industrial automation engineers is the integration of legacy serial systems with modern network infrastructure. You have reliable RS232 machinery (PLCs, CNCs, scales) that can’t talk to your modern cloud dashboards.
This comprehensive guide will bridge that gap. You will learn how to overcome the RS232 15 meter distance limitation and bring your legacy assets onto your IP network – without replacing expensive hardware or rewriting legacy software.
📋 What You’ll Learn in This Guide:
- The 8-Step Configuration How to move from bare-wire connections to static IP assignment.
- Mode Selection When to use TCP Server, TCP Client or UDP.
- Virtual COM Ports – How to trick 20 year old software to see an IP address
- Preventing costly mistakes: ground loop prevention and industrial hardware selection.
Connecting Legacy Serial Devices to Modern IP Networks
Engineers are always dealing with the problem of making facilities better without getting rid of things that still work and are worth a lot of money. You likely have older Programmable Logic Controllers (PLCs), CNC machines, or barcode scanners on the shop floor. These machines use a way of talking to each other with electricity and you need a simple and cheap way to connect them to your current Local Area Network or an Industrial Internet of Things platform.
RS232 was made a time ago in the 1960s. This system is simple. It has two devices that are connected with wires. One RS232 device sends information to the RS232 device. The other RS232 device gets the information. The RS232 system relies on a stream of voltage changes usually between +12V and -12V to represent the data that the RS232 system is sending.
Ethernet operates on a fundamentally different communication principle compared to point-to-point serial standards.. It is made so that lots of devices can be connected to it. These devices can be far apart from each other. They send information in packets and each packet has an address, on it. Ethernet uses the OSI model, breaking data down into standardized frames that can be intelligently routed globally through switches and gateways.
Serial-to-Ethernet converters act as the vital translator. They perform protocol handshakes, packaging the raw, continuous serial voltage data from your traditional machines into structured TCP/IP packets. This translation process extends the lifecycle of your expensive machinery and enables centralized monitoring.
Overcoming RS232 Distance Limitations via Ethernet
One of the most restrictive physical characteristics of the legacy serial standard is its transmission range. Because RS232 uses unbalanced signaling, the voltage square waves degrade quickly due to cable capacitance. These devices are not far apart just fifteen meters or less.
In a modern industrial facility, this 15-meter limit is a severe bottleneck. Operators frequently need to read equipment data from a control room located hundreds of meters away, or even monitor assets remotely from entirely different geographic locations.

By converting the serial signal to Ethernet, you completely shatter this physical boundary. The conversion takes a signal that degrades quickly and places it onto a network capable of global reach. Distance no longer matters. Same building, different building, same network.
🚨 Buying Advice: Don’t Risk Your Network with Commercial Adapters Avoiding a $20,000 factory downtime failure starts with hardware selection. Standard IT gear fails in harsh environments due to extreme temperatures, vibration, and electrical noise.
For deployments that are very important to the mission, we strongly suggest using an Industrial RS232 to Ethernet Serial Server that has:
- Wide range of temperatures: -40°C to 85°C.
- Redundant Power: 9-24V DC terminal blocks (avoid fragile 5V USBs).
- Isolation Protection: Opto-isolation to prevent lethal ground loops from destroying your main network switch.
👉 [Explore our rugged Industrial Serial Servers for seamless RS232/RS485 to IP conversion]
Industrial-Grade vs. Commercial Converters: What You Actually Need
When sourcing networking hardware, the price difference between commercial cables found online and dedicated industrial gateways can be massive. However, utilizing commercial-grade hardware in harsh environments will definately lead to failure.
In factories, heavy machinery creates electrical noise, and large motors can cause ground loops that send lethal voltage spikes back through unprotected communication cables. If this goes in a factory or outdoors, you must prioritize specific hardware characteristics:
- Temperature: Standard IT gear fails in extreme conditions. Look for -40°C to 85°C.
- Mounting: DIN rail keeps it in place securely inside vibrating control cabinets.
- Power: 24V DC is everywhere. Avoid 5V USB power supplies, which easily vibrate loose.
- Protection: Surge protectors and isolation help prevent damage from ground loops. Opto-isolation keeps the circuits apart. This means if there is a power surge, on the factory floor it will not damage your network switch.
- Enclosure: Metal case for better heat dissipation and shielding against EMI/RFI (Electromagnetic Interference).
According to a 2024 study by IMS Research, over 60% of industrial facilities still rely on serial devices, and retrofitting them with network connectivity can reduce maintanence costs by an average of 35%
Two Common Mistakes That Trip Everyone Up
1. TX and RX must cross
On RS232, the transmit pin on one end connects to the receive pin on the other. Send to receive, receive to send.
Half of all “it doesn’t work” cases are because someone wired TX to TX.
2. Serial settings must match exactly
Your device uses a speed, data size, error check and stop signals. If the converter isn’t set to match those you won’t get any data. Not messed up data. No data all.
The Hardware Configuration Process
To execute this integration, gather your materials. What You Need:

- RS232 to Ethernet converter
- RS232 cable (DB9 or terminal block wires)
- Ethernet cable
- Power supply (9-24V DC)
- Computer on same network
- Device manual (for serial settings)
Step 1: Find Your Device’s Serial Settings
Check the manual for “serial communication parameters” or “RS232 configuration.”
| Parameter | Example | Your Device |
|---|---|---|
| Baud rate | 9600 | __________ |
| Data bits | 8 | __________ |
| Parity | None | __________ |
| Stop bits | 1 | __________ |
Write these down. You’ll need them in Step 6.
No manual? Try 9600, 8, N, 1. Common but not guaranteed.
Step 2: Wiring – TX to RX, RX to TX

If using DB9:
- Pin 2: Receive (RX)
- Pin 3: Transmit (TX)
- Pin 5: Ground (GND)
The wiring path must be:
Converter TX (pin 3) → Device RX (pin 2)
Converter RX (pin 2) → Device TX (pin 3)
GND to GND (pin 5 to pin 5)
If using terminal block:
| Converter | Device |
|---|---|
| TX | RX |
| RX | TX |
| GND | GND |
Same rule: transmit to receive, receive to transmit. The Ground connection is absolutely critical to provide a common electrical reference point; without it, your data will be unreadable noise.
Tip: If you are building a custom cable for Cisco gear or a specific PLC, see our Comprehensive RS232 to RJ45 Pinout Diagrams for detailed color codes and terminal mappings
Step 3: Power and Network
To get started, you need to plug the Ethernet cable into the converter and then into the switch or computer.
You also need to give it some power. The converter requires a regulated power supply within the 9-24V DC range. Most of the time industrial panels have 24 volts. If you are working on a bench a 12 volt lab supply will do the job.
When you turn it on the power light will come on. The network light will. Blink on and off or just stay on all the time.
Step 4: Find the Converter’s IP
Default IP addresses can be found in the manual. Common ones are 192.168.1.254 192.168.0.7 and 192.168.2.1.
If your network uses DHCP you should check the routers DHCP client list. Then match the MAC address on the converters sticker.
Many brands have their discovery tools. For example Valtoris offers VirCom. You can run VirCom click on “Search “. It will list all converters on your network.

Once you have the IP, open browser and enter it.
Step 5: Set Static IP
Go to network settings. Switch from DHCP to static.
Pick an unused IP on your network. Example: if your network is 192.168.1.x, use 192.168.1.200.
Subnet mask: 255.255.255.0
Gateway: your router’s IP (if needed)
Save.
Why static? DHCP can change the IP later. Then you can’t find it.
Step 6: Set Serial Parameters
Go to serial settings. Enter the four numbers from Step 1.
| Field | Enter This |
|---|---|
| Baud rate | [from Step 1] |
| Data bits | [from Step 1] |
| Parity | [from Step 1] |
| Stop bits | [from Step 1] |
Save. The converter may reboot.
Understanding Operation Modes: TCP Server, TCP Client, and UDP
A major hurdle for engineers familiar with physical wiring is understanding IP transport layers. You must tell the converter how it should behave on the network.
Step 7: Choose Operating Mode
| Mode | How It Works | When to Use |
|---|---|---|
| TCP Server | Converter waits for connection | Computer initiates communication |
| TCP Client | Converter connects to your computer | Converter pushes data |
| UDP | No connection, just packets | Broadcast, loss OK |
TCP Server: The converter acts like a web server. It passively listens on a specific port. Your central SCADA software or testing utility actively opens the connection to it. For most setups: TCP Server. Pick a port (4001 is common, 502 for Modbus). Save.
TCP Client: The converter acts proactively. The moment it receives serial data from your barcode scanner or scale, it actively reaches out to a pre-programmed destination IP address (your main server) to deliver the payload.
UDP: The internet connection does not have a handshake. It does not guarantee that the information will be delivered.It just sends out packets of information onto the network.This is useful for high-speed sensor streams where dropping a single reading is less important than maintaining ultra-low latency.
Step-by-Step: Configuring Virtual COM Port Software
Many industrial facilities rely on legacy supervisory software coded twenty years ago. These older programs only recognize physical, local ports like “COM1” or “COM2.” They have no user interface to input an IP address. You might fear that switching to Ethernet will render your expensive legacy software useless.
The Virtual COM Port software is what solves this problem. This Virtual COM Port software works deep inside the Windows operating system. It creates a simulated hardware port in your Windows Device Manager, intercepting the network TCP/IP data stream and feeding it to your legacy software as if a physical RS232 cable were plugged directly into the back of the PC.

Step 8: Test the Connection
If using virtual COM:
- Install virtual COM software (included with most converters)
- Create new COM port (e.g., COM5)
- Map it to converter’s IP and port
- Open your software, select that COM port
If using TCP directly:
- Use test utility like Hercules or PuTTY
- Connect to converter IP and port
- Send a few bytes; your device should respond to
Got a response? Done.
Troubleshooting Common RS232 to Ethernet Connection Issues
Even with careful configuration, industrial communications can be finicky. If your terminal outputs garbage characters, or the status lights remain dark, you must isolate whether the failure is on the IP network side or the serial hardware side.
| Problem | Likely Cause | Try This |
|---|---|---|
| Can’t ping converter | Wrong IP/subnet | Check both IPs |
| Ping works, no connection | Firewall | Disable temporarily |
| Connect but no data | Wiring wrong | Swap TX and RX |
| Data is garbage | Baud rate wrong | Check device settings |
| Data intermittent | Ground loop | Check GND connection |
If you are unable to get a response from the device it is probably because the computer and the converter are on subnets. Make sure your computers IP address is in the range as the converter, for example 192.168.1.X. If the connection opens but data is garbage, your Baud Rate or Parity is mismatched—the UART chip is reading the voltage waves at the wrong intervals. Most problems happen at step 2 (wiring) or step 6 (settings). Get those steps right. Everything else will be easy.
What You’ve Accomplished
You can now use your RS232 device on the network by following this setup. his means you have gotten around the problems, with the old RS-232 standard. Your RS232 device is no longer limited to a 15 meter connection, point-to-point architecture into a globally accessible, packet-switched environment. You gain real-time visibility into legacy assets without incurring the massive capital expenditure of ripping out and replacing functional machinery.
Quick Recap: Eight Steps
- Find device serial settings
- Wire TX to RX, RX to TX
- Power and network
- Find converter IP
- Set static IP
- Enter serial settings
- Choose TCP Server mode
- Test
Ready to Network Your Legacy Serial Devices?
Are you ready to connect your old serial devices?
It doesn’t have to be hard to connect 1960s RS232 protocols to modern TCP/IP networks. You can quickly get real-time access to your old assets by following these eight steps and using industrial-grade hardware.
Next Steps for Your Project:
- Need help setting things up? You can easily find and manage your serial servers on the network by downloading our free [VirCom Virtual COM Port Software].
- Hardware Selection: Browse our complete line of [Industrial RS232/RS485 to Ethernet Converters] designed for extreme factory environments.
Every industrial setup is unique. If you’re struggling with Modbus protocol translation or custom pinouts, [Contact Our Engineering Team] for a free architecture consultation today.
Frequently Ask Questions
Q1: Will converting RS232 to Ethernet introduce latency that breaks my legacy software?
A: Yes, putting serial data into TCP/IP packets always adds a small delay (usually 5 to 20 ms). This is not a problem for barcode scanners, scales, or regular SCADA polling. But if your old CNC machine or PLC has very strict timing rules, this extra work could cause timeout errors. Set the “Packet Packing Time” (or Data Packing length) in your serial server settings to send data right away, without waiting for the buffer to fill.
Q2: Is it secure to send legacy RS232 serial data over my corporate IP network?
A: Basic serial-to-Ethernet converters transmit data in plain text. If your IT department requires strict network security, or if you are transmitting sensitive production data across public subnets, a standard converter is a vulnerability. To make sure the data stays safe, you need to use an advanced Serial Device Server that supports SSL/TLS encryption or send the traffic through a secure VPN tunnel.
Q3: Can a standard RS232 to Ethernet converter translate my Modbus RTU device to Modbus TCP?
A: No, this is a very common misconception. A basic converter performs “transparent transmission”—it simply wraps your Modbus RTU serial data into a TCP packet (known as Modbus RTU over TCP). It does not change the protocol language. If your modern cloud dashboard or PLC strictly requires true Modbus TCP, you need an intelligent [Modbus Gateway] rather than a transparent serial server.
Q4: Do I need to run a separate power line for the converter, or can I use PoE (Power over Ethernet)?
A: Standard industrial converters need a separate 9-24V DC power supply that comes through a terminal block. But it can be expensive to run new power lines to the far corners of a factory. You can use [PoE-enabled Serial Servers] (IEEE 802.3af/at compliant) to make installation easier. These servers let you send both data and power over a single standard Ethernet cable.

