Comvert from Serial to Ethernet (RS-232 / RS-485 to LAN)

5 November 2013

What happened to the serial port on my laptop? Indeed it seems that our PCs are upgrading faster than the industrial devices we still use. Being an Industrial IT company, daily we still have to use HyperTerminal and other serial-based software to configure devices and get information out of systems such as belt scales and gateways.  

So what if I need to get a device that speaks serial onto an industrial Ethernet-based protocol such as PROFINET, MODBUS TCP, EtherCat or Ethernet/IP? Well for that we can use the Anybus Communicator, which we have spoken about before. That is a protocol converter. Incidentally, this device is easily configured using a serial port, but for that, I need to have a serial port on my PC. (The new generations of these gateways are moving to USB, but what about all those thousands that are in the field already?)

One solution is to buy a USB to Serial Converter, but anyone who has used one of these will most likely agree that they can be quite troublesome. So what’s my other option? My other option is to get a Serial to Ethernet converter such as the Anybus Serial Server. It can convert RS 232 to Ethernet or RS 485 to Ethernet.

It’s also so easy to use:

Step 1) Power it up with 24V and connect it to your LAN or to your Ethernet port

Step 2) Install and run the free AnybusIP config tool. It scans by MAC address so you can use this to discover what the IP address of your serial server is. Here you can change the IP address and open up its web interface from your browser.

Step 3) Click on “Configuration” and configure the ports you are going to use. I used port 2000 for the RS-232 port, and port 2001 for the RS-485 port. The server is now ready to use. 

Step 4) Now we have to tell our computer where these virtual com ports are. Install and run the Serial/IP driver. You can find it in the Control Panel.

Step 5) Choose your COM port and fill in its IP address and port number.

Here’s a tip: Choose port numbers that are less than 10!

Now I’m ready to use my COM ports. In the below example, I am now able to program my Anybus Communicator through a LAN with either COM7 or COM8. Since COM 8 is an RS485 port, I won’t be able to use that to program my Anybus communicator, but it is useful for other applications. In our Anybus Communicator and Modbus training, we used to run a device simulator through this port.

Making Serial COM ports available through a LAN means that you can program devices that are located long distances away. We used the Serial Server to program an Anybus Communicator which was located on a distant conveyor belt, from the comfort of an air-conditioned control room.

<a href="https://blog.idx.co.za/author/michael/" target="_self">Michael Garnham</a>

Michael Garnham

Engineer

Michael has nearly two decades of experience spanning the information technology, energy, engineering, and automation sectors. Throughout his career, he has demonstrated proficiency in leveraging cutting-edge technologies to drive innovation and optimise processes.

Show your love!

Recent Posts

Building Success on the Fundamentals of Operational Excellence

In the previous article, we explored how operational excellence extends beyond traditional management, emphasising a culture of continuous improvement. We highlighted the importance of industrial communication systems in enhancing real-time decision-making and...

Reduce Energy Consumption in Buildings with AC Cloud Control

Intesis’ Air Conditioning (AC) Cloud Control is a cloud-based remote-control system that allows comfortable and intuitive control of air conditioners and heat pumps. Based on a brand-agnostic cloud-based platform, it brings remotely accessible smart intelligent...

Revolutionising HVAC systems for a more sustainable future

Heating, Ventilation, and Air Conditioning (HVAC) systems are key in buildings' energy consumption and greenhouse gas emissions. With buildings responsible for over one-third of global energy consumption, optimising HVAC systems is crucial for a sustainable future....

Steady Growth in Industrial Network Market

Market shares 2024 according to HMS Networks – fieldbus, industrial Ethernet and wireless.  Every year, HMS Networks conducts a comprehensive analysis of the industrial network market, aiming to estimate the distribution of new connected nodes by type and protocol...

Moving Beyond Master and Slave Terminology

The terms "master" and "slave" have long been used in technology to describe the relationship between a controlling device (master) and a subordinate or controlled device (slave). This terminology, while deeply embedded in various technical disciplines, has its roots...

An Introduction to Operational Excellence

Operational excellence goes beyond mere operational management. It represents a strategic mindset and a culture of continuous improvement, innovation, and customer-centricity, striving for excellence in all operational and business performance aspects. Trends and...

Driving Productivity with LineView Training

In light of our partnership with LineView Solutions, our team has taken up the opportunity to equip themselves with insights into the LineView system and its impact on the industry. “LineView is a production line monitoring and recording system that automatically...

Exciting New Launch: Onsite ProfiDay

IDX is excited to announce the launch of our onsite ProfiDay offering. This is available to all industries and companies that utilise PROFIBUS and/or PROFINET within their industrial communications systems. What is ProfiDAY? A free onsite training programme, where...

Sign up for our newsletter

Get exclusive updates and a sneak peek into our world every two months. Stay connected, stay informed.

Related Posts

Maintaining your PI Server

Maintaining your PI Server

Once your OSIsoft PI Server and interfaces are set up and running smoothly, the real work begins...

Our expertise lies in establishing, maintaining, and leveraging plant data for business benefit. Through our innovative solutions, we work alongside you to streamline processes, enhance efficiency, and reduce costly downtime.

CONTACT US

Main: +27 (11) 548 9960
Sales: +27 (11) 548 9970

SOCIAL MEDIA

Copyright @2024 Industrial Data Xchange. All rights reserved.