IT in Manufacturing


Integrating legacy serial devices into the IoT

July 2016 IT in Manufacturing

Many serial devices still work very efficiently at a large number of field sites, and if a good thing works, it is certainly a good reason to keep using it. The full potential of many serial devices, however, is still very much untapped. One sure way to add value to such devices is by having the data collected from them stored in the cloud for further analysis to unlock previously untapped information that can yield greater possibilities to streamline and optimise operations. For this to happen, these legacy serial devices first need to be integrated into a network.

Serial device servers

To connect legacy serial devices to an Ethernet-based network, a serial-to-Ethernet converter, also called a serial device server, can be installed. Serial device servers support two interfaces: a serial interface on the one side, and an Ethernet interface on the other side. Also, serial device servers support virtual COM ports so that they work as legacy COM ports in your scada system. This means you can use your existing system, saving the costs of developing a new one. Furthermore, serial device servers also support the so-called raw socket mode, which converts serial data to TCP or UDP packets transparently. Most scada systems and OPC servers support Ethernet encapsulation drivers, which work with serial device servers to receive proprietary protocols. You still have to handle the protocol manually as before, but the serial device server helps you to transfer data to an Ethernet network effortlessly.

Before you can receive data from legacy serial devices, you need to configure them properly. Most of these serial devices use proprietary protocols, so you need to consider how to convert serial data into Ethernet packets. Several factors need to be considered when using serial device servers to support IoT cloud applications.

Multiple polling

Connecting a serial device to one scada system is simple and easy. When it comes to the IoT, however, it is not as straightforward, as the collected data may need to be transferred to the cloud. A scada system and a remote cloud application may issue a command simultaneously to a serial device via a serial device server. Therefore, the serial device server needs to have a FIFO (first in, first out) queue to handle all queries. Only the first query will be sent to a serial device, and the rest will wait in the FIFO queue. Once the serial device server receives the response from a serial device, it will send the response to the relevant scada system or cloud application and process the next query in the FIFO queue. This kind of command-by-command handling is very important in IoT multiple polling applications due to the large number of serial devices supporting proprietary protocols. Without this design, an extra IoT gateway that supports multiple polling is required.

Proprietary protocols over Ethernet

As many serial devices may use proprietary protocols, the main issue is converting serial data into Ethernet packets properly. Many serial device servers support raw socket and TCP server modes, which can handle these types of conversions. The problem, however, is a serial device server may not know how to divide serial data into TCP packets. Serial device servers do not understand serial data formats, so they may put a response from a serial device into two or more TCP packets. This will result in a scada system or a cloud application rejecting these packets as incorrect responses since they expect each TCP packet to represent a single response from a serial device. To get around this issue, serial device servers need to support flexible data packing options because the proprietary protocol may have a different format. For example, fixed data lengths or special delimiter characters can be used to identify single serial device responses. This means a serial device server will keep receiving data from a serial device and not transfer it to the Ethernet until it receives the fixed amount of data or a delimiter character. Without support for data packaging options, you would have to develop complex scada software applications to handle the TCP packets properly. These alternatives waste time and may also create bugs in a system.

More connections, more bandwidth

In many applications, serial devices need to send data back to a control room or a cloud application. To do this, serial device servers need to open a remote connection before they can transfer serial data. If a large number of serial devices are connected to the same network, the connection will require many resources in the control room or cloud application. To handle these large numbers of remote connections properly, serial device servers should support flexible connection control. The best way to do this is to open a connection only when serial data is received from a device. When the transmission is completed, the serial device server should close the connection as soon as possible. Without flexible connection control support, you will have to spend extra time to handle connections at the central site or cloud application.

Make the most of the NPort serial device server by properly matching operation modes

Moxa has been a leader in device connectivity for more than 25 years and provides a wide selection of industrial-grade device connectivity products that are used in a broad spectrum of industrial applications around the world. Many people are already aware that NPort serial device servers provide a variety of operation modes to help different types of serial devices to be seen on a network. What they might not know is that the NPort serial device servers provide various advanced functions as part of each operation mode to assist users in streamlining operations and maximising benefits of serial-to-Ethernet connectivity.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Even in autonomous systems, human insight is important
Schneider Electric South Africa IT in Manufacturing
As AI, IIoT and digital twins reshape industrial operations, Schneider Electric’s Kobus Vermeulen and Bafana Msibi argue that the operator’s role is shifting from controlling equipment to interpreting intelligence, validating AI recommendations and making decisions that improve

Read more...
AI-based quality inspection scales across P&G operations
Siemens South Africa IT in Manufacturing
Siemens and Procter & Gamble are expanding an AI-based visual inspection system across P&G’s manufacturing operations worldwide, inspecting products in real time at full line speed, and reducing scrap rates by 10 to 20% depending on the product.

Read more...
How sustainability unlocks real business impact
Rockwell Automation IT in Manufacturing
Sustainability has moved from a compliance obligation to a strategic driver of resilience and value for manufacturers. Rockwell Automation explains how its Triple A framework and connected-data approach help producers cut energy, water and waste while improving productivity.

Read more...
Mining’s AI future will depend on people as well as technology
IT in Manufacturing
South Africa’s mining industry is embracing digitalisation and AI, but AvenirHoldings chief executive officer, Tshidi Mndzebele says the real test is whether the people behind the industry are equipped to move forward with it, and outlines five things mining needs to get right.

Read more...
How BIC overcame operational silos to integrate technology and people
Rockwell Automation IT in Manufacturing
Manufacturing giant BIC deployed Plex MES from Rockwell Automation at its Bizerte plant in Tunisia, replacing fragmented, partly in-house software with a single cloud-based execution system that broke operational silos and improved shop-floor visibility.

Read more...
AI in industry is an early warning system, not a guarantee
Schneider Electric South Africa IT in Manufacturing
Schneider Electric’s Paul Steyn argues that AI in industrial maintenance is only as good as the infrastructure and people behind it, and explains the three layers a facility needs before predictive maintenance can deliver on its promise.

Read more...
SA’s mining industry must put people at the heart of its digital future
IT in Manufacturing
South Africa’s mining industry employs around 470 000 people while its digital transition accelerates. Avenir’s chief executive officer, Tshidi Mndzebele argues that technology should enable and upskill the workforce rather than replace it, setting out five ways mining can make technology work for its people.

Read more...
Quality control supports efficient tissue production
Valmet South Africa IT in Manufacturing
Valmet’s advanced quality control technology is helping tissue producers improve product consistency while reducing energy and raw material consumption. Its latest installation at KORO Paper in Vietnam combines real-time measurement, process optimisation and non-contact, nuclear-free quality control.

Read more...
Patented algorithm maximises operator efficiency
Rockwell Automation IT in Manufacturing
Rockwell Automation piloted a patented anomaly detection algorithm and FactoryTalk DataMosaix at its Twinsburg electronics plant, giving operators 30 to 60 days’ advance warning of stencil failure, improving fail rates by 22% and achieving a 200% return on investment.

Read more...
Cybersecurity must become part of the next era of industrial automation
Adroit Technologies IT in Manufacturing
The EU’s Cyber Resilience Act is setting a global benchmark for connected products, making cybersecurity a core engineering requirement in industrial automation. Adroit Technologies and Mitsubishi Electric explain how building security into controllers, PLCs and drives from the outset helps South African manufacturers protect production and meet international expectations.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved