| |

How to Control Serial Devices Over Ethernet: A Practical Setup Guide

Browser screenshot showing a typical converter login page

A serial to Ethernet converter sits between your PLC, flow meter, or sensor and your network. On one side, it connects to the device’s RS232 or RS485 port. On the other, it plugs into an Ethernet switch. The goal is simple: get data from the serial device onto the network so it can be accessed from a computer.

The execution is not that simple. It takes a steps to get it right. First the wiring needs to be correct. Then the network settings need to match the system. The serial parameters are also very important. They need to be exactly right. This guide will walk you through each step of the execution process, with real world examples. It will also help you with troubleshooting when the execution does not work the time. The guide has examples to help you understand the execution process better.

Before You Start: What the Market Says

The global market for serial to Ethernet converters was valued at $799.2 million in 2024 and is projected to reach $1.5 billion by 2035, growing at 5.9% annually . Another research firm puts the 2024 market at $420 million, forecasting $710 million by 2033 .

Why is this market growing? Because 30–40% of industrial equipment still uses serial communication (RS‑232, RS‑485, RS‑422) . Factories, water plants, and energy facilities need to connect these legacy devices to modern networks. This guide is for the people doing that work—technicians, engineers, and system integrators who need a clear, step‑by‑step process to get data flowing.

What You’ll Need

  • Your serial to Ethernet converter
  • Power supply (9-24V DC, most industrial panels have 24V)
  • Ethernet cable
  • Serial cable appropriate for your device (RS232, RS485, or RS422)
  • A computer on the same network
  • Device manual for your serial equipment (for baud rate, parity, etc.)

Step 1: Wiring – Get This Right or Nothing Works

The most common problem is incorrect wiring. Take your time here.

RS485 Wiring

RRS485 uses two wires, usually labeled A and B (or Data+ and Data-). According to the TIA/EIA-485 standard , RS485 supports up to 1,200 meters and up to 32 devices per segment.

ConverterYour Device
A (or Data+)A (or Data+)
B (or Data-)B (or Data-)
GND (optional)GND

Important: Some manufacturers swap the labels. If you get no data, try swapping A and B. It won’t damage anything.

For longer runs (over 100 meters), use shielded twisted pair cable and connect the shield to ground at one end only.

showing RS485 A B connections

RS232 Wiring

RS232 needs three wires: TX, RX, and GND. The tricky part: TX on one side goes to RX on the other.

ConverterYour Device
TXRX
RXTX
GNDGND
RS232 wiring diagram showing the cross over connection

RS232 is point-to-point only. Max distance about 15 meters.

RS422 Wiring

RS422 uses four wires for full duplex: TX+, TX-, RX+, RX-.

ConverterYour Device
TX+RX+
TX-RX-
RX+TX+
RX-TX-

Less common than RS485. Used when you need simultaneous send and receive.

Step 2: Power and Network Connection

Most industrial converters use 9-24V DC. If you’re in a control panel, you likely have 24V available. Wire it to the terminal block.

Plug an Ethernet cable into the converter and connect it to your switch or directly to your computer.

The power LED should light up. The network LED may blink or stay solid depending on link status.

Step 3: Find the Converter on Your Network

New converters either have a default IP address or use DHCP to get one from your router.

Method 1: Default IP
Check the manual. Common defaults are 192.168.1.254, 192.168.0.7, or 192.168.2.1. Set your computer to a matching IP (e.g., 192.168.1.100) and try to ping the converter.

Method 2: Discovery Tool
Most manufacturers provide a Windows utility that finds converters on the network. Valtoris provides VirCom. Run it, click “Search”, and it lists all converters it finds along with their IP addresses.

Method 3: Check Router DHCP List
If your converter uses DHCP, log into your router and look at the connected devices list. Find one that matches the converter’s MAC address (on a sticker on the device).

Once you have the IP, open a browser and enter it. You should see the converter’s configuration page.

Browser screenshot showing a typical converter login page

If you can’t get to the page:

  • Check your computer’s IP is in the same subnet
  • Disable your firewall temporarily
  • Try a different browser

Step 4: Configure Network Settings

Once you’re in the configuration page, go to network settings.

SettingRecommendationWhy
IP addressStaticDHCP can change, breaking your connection
Subnet mask255.255.255.0Standard for small networks
GatewayRouter IPNeeded if accessing from other subnets
DNSOptionalOnly needed if using domain names

Write down the IP you assign. You’ll need it later.


Step 5: Configure Serial Port Settings

This is the most critical step. Every setting here must match your connected device exactly.

ParameterYour Device ValueCommon Values
Baud rate__________9600, 19200, 38400, 115200
Data bits__________Usually 8
Parity__________None, Even, Odd
Stop bits__________Usually 1
Flow control__________None, RTS/CTS, XON/XOFF

Where to find these values:

  • Check your device’s manual
  • Look at existing configuration if it’s already working
  • Defaults are often 9600, 8, N, 1 for Modbus RTU devices

If these don’t match, you’ll get no data or garbage data. No exceptions.

Step 6: Choose the Right Operating Mode

This is where “control” happens. The mode determines how data flows.

ModeWho InitiatesConnection TypeBest For
TCP ServerComputer connects to converterPersistentOne computer polling one device
TCP ClientConverter connects to computerPersistentConverter pushing data to fixed IP
UDPNo connectionConnectionlessBroadcast, multiple receivers

TCP Server (Most Common)

Set the converter as TCP Server on a specific port (default often 502 for Modbus, or 4001-4008 for general use).

Your computer acts as TCP Client. It connects to the converter’s IP and port. Once connected, data flows both ways.

Example: SCADA system polling a PLC every second. SCADA initiates the connection, sends requests, gets responses.

TCP Client

Set the converter as TCP Client, and give it the IP address and port of your computer.

The converter initiates the connection. If the connection drops, it tries to reconnect.

Example: Remote weather station that pushes data every 15 minutes. The converter knows where to send it.

UDP

No connection setup. The converter sends data packets to an IP and port, whether anyone is listening or not. Can also broadcast to multiple addresses.

Example: Status updates that multiple displays need to see. If a packet is lost, the next update will come soon enough.


Step 7: Software Side – How Your Computer Talks to It

You have three options depending on your application.

Option A: Socket Programming

If you’re writing your own software, open a TCP socket to the converter’s IP and port. Send your data, read responses.

Works with any language that supports sockets (Python, C#, Java, etc.).

Python example (very simplified):

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((‘192.168.1.100’, 4001))
s.send(b’\x01\x03\x00\x00\x00\x01′)
response = s.recv(100)
print(response)

Option B: Virtual COM Port

This is the easiest path if you have existing software that expects a physical COM port.

Install virtual COM software (Valtoris provides VirCom). It creates virtual COM ports on your system. Map one of them to the converter’s IP and port.

Your software sees COM5 (or whatever you chose) and talks to it normally. The software redirects everything to the network.

Control Serial Devices Over Ethernet

Pros: No software changes needed.
Cons: Requires driver installation, slight overhead.

Option C: Modbus TCP

If your device uses Modbus RTU, many converters can act as Modbus gateways. Your SCADA system talks Modbus TCP to the converter’s IP. The converter translates to Modbus RTU and sends to the device.

No virtual COM ports needed. Just point your SCADA to the IP address.


Step 8: Test the Connection

Before calling it done, verify data is flowing.

Simple test:

  1. Open a TCP test utility (like Hercules, Termite, or PuTTY in raw mode)
  2. Connect to the converter’s IP and port
  3. Send a few bytes your device should respond to (e.g., a Modbus query)
  4. Watch for a response

If you get nothing:

SymptomLikely CauseTry This
Can’t ping converterIP conflict or wrong subnetCheck both IPs, adjust one
Ping works, no connectionFirewallDisable firewall temporarily
Connect but no dataWiring wrongSwap A/B or TX/RX
Connect but garbageBaud rate wrongVerify device settings
Data intermittentGround loop or interferenceUse shielded cable, check grounding

Step 9: Make It Permanent

Once everything works, lock it down:

  • Save the configuration – Most converters have a “save” button. Use it.
  • Document everything – Write down the IP, port settings, and serial parameters. Tape it inside the panel if possible.
  • Secure it – Change the default admin password.
  • Test power loss – Pull the plug, plug it back in. Does it reconnect automatically? (It should.)

Real Example: Putting It Together

Scenario: You have a Modbus RTU flow meter at 9600 baud, 8, N, 1. You want to read it from a PC running Modbus poll software.

Hardware: 1CH-RS232/485/422-ETH

Steps:

  1. Wire RS485 A/B to meter A/B. Connect 24V power.
  2. Plug Ethernet into same network as PC.
  3. Find converter IP (used discovery tool, found 192.168.1.105).
  4. Open browser, go to 192.168.1.105.
  5. Set network to static IP (keep 192.168.1.105).
  6. Set serial port: 9600, 8, N, 1.
  7. Set operating mode: TCP Server, port 502 (Modbus standard).
  8. Save.
  9. On PC, open Modbus poll. Set connection to TCP, IP 192.168.1.105, port 502.
  10. Poll register 1. Get data.

Result: Total time: 20 minutes. The facility avoided trenching new cable, saving an estimated $8,000 in installation costs.


Industrial Considerations: What to Look For

If the installation is in a real industrial environment (not an office), these specs matter:

FeatureWhat to Look ForWhy
Temperature range–40°C to 85°CControl panels get hot in summer, cold in winter.
MountingDIN railStandard in industrial panels; keeps wiring organized.
Power9–24V DC24V is everywhere in industrial; avoid 5V USB‑powered converters.
Isolation1500V or 3000VPrevents ground loops and protects equipment on long runs.
EnclosureMetalHelps with heat dissipation and EMI shielding.

According to industry data converters with these features last more than 100,000 hours on average before they fail. This is compared to than 50,000 hours for regular consumer devices. Yes they cost more at first. They are very reliable, in the long run, which makes them worth it.


Pre‑Deployment Checklist

Before starting the installation, run through this:

  1. Wiring confirmed — Polarity correct? Shield grounded at one end?
  2. Serial settings — Baud rate, parity, data bits, stop bits match device manual.
  3. Network settings — Static IP assigned, not conflicting with other devices.
  4. Operating mode — TCP Server or Client? Port number correct?
  5. Software path — Socket, virtual COM, or Modbus TCP? Tested with a simple tool.

REQUEST A QUOTE

SKU/Part No.