2026년 3월 17일, 화요일
식민지역사박물관
aw 2026

Introduction to Gateway Technology

Gateways, Linking Devices, Switches, Device Servers, Media Converters, Modems, Wireless…Confusing? Well, you are not alone. Communication between two different networks is challenging.

OSI Model
First, let’s start with taking a look on the basic model for all data communication, the OSI model.

The most basic communication is just using sub-sets of the OSI model. Layer 1 represent the lowest level, i.e. the physical communication line and its electrical signals. Layer 7 is the user level where the data model makes it possible for two devices to exchange and understand exchanged data. A common example is that even if we can hear someone speaking, we must understand his language to be able to understand the meaning of the “data”. Devices use a common Layer 7 which speaks the same language and can freely exchange data that both devices understand.

A basic RS-232 interface just defines Layer 1, making sure that two RS-232 devices can be electrically interconnected without electrical conflicts. To be able to communicate and interpret data between two devices, additional protocol software needs to be added in both devices, defining the communication rules and data formats.

The popular CAN protocol, used in most automotive applications nowadays, just communicates on Layer 2. Inside an automobile, the vendor uses CAN as communication link, but the vendor adds their own Layer 7 protocol on top of CAN to make this understandable for all nodes communicating inside the car. Any other CAN node outside the car is not able to participate in the communication if the same Layer 7 protocol isn’t implemented.

In the industrial marketplace devices from several different vendors need to be interconnected and therefore there are several open Layer 7 protocols based on CAN like DeviceNet and CANopen. Two DeviceNet nodes from two different vendors can communicate and exchange data because they use the same Layer 7 protocol.

Ethernet and the TCP/IP protocol covers the Layer 1-4 of the OSI model, which gives more functions and features than the CAN technology. Two Ethernet nodes can be interconnected in order for them to communicate, but TCP/IP only provides a transport mechanism of the data and performing service tasks like establishing connections, handling re-sends if any of the communication bits are corrupted etc.

However, two nodes using Ethernet and TCP/IP can only talk to each other, but they do not understand each other because they do not use the same “language”, i.e. the Layer 7 is not defined by TCP/IP protocol. On top of TCP/IP there must be applications like SNMP, HTTP, FTP etc to be able to exchange and process any data from the network.

All these IT protocols are standardized layer 7 protocols. In the Industrial area there are additional layer 7 protocols that handle real time data exchange. Two examples are EtherNet/IP (IP = Industrial Protocol) and Modbus-TCP that both are used on top of the TCP/IP protocol.

OK, with this information in the back of our minds, let’s take a look into how to convert from one network to another network.

Media Converters & Repeaters
Media converters normally operate in the Layer 1 and Layer 2 area of the OSI model. What they do is that they take the electrical signals from one physical media and converts them to another physical media. One example is a RS-232 < -> RS-422 converter that re-formats the electrical signals between these two networks. Another example is an Ethernet 100Mbit CAT5 Cable < ->100Mbit Fiber converter.

Media converters are very useful in Industrial applications when going from one physical media to another, but they just re-format the signals, they do not provide any additional value to the application.

As signals travel along a network cable, they degrade and become distorted in a process that is called attenuation. If a cable is long enough, the attenuation will finally make a signal unrecognizable. A Repeater enables signals to travel further. It works at the OSI’s Physical layer to regenerate the network signal and then it resends the signal on other segments.

Repeaters are basically used to allow longer distances between the nodes on the network. The repeater takes a weak electrical signal from one segment, regenerates it, and passes it to the next segment. Repeaters do not translate or filter anything. For a repeater to work, both segments that the repeater joins must have the same access method.

For example, a repeater cannot connect a segment using CSMA/CD (Ethernet) to a segment using Token Passing.

Industrial Ethernet Switches
Switches can be viewed as intelligent repeaters. They amplify the signals of the Physical network, but they also provide intelligent analyzes on the bit packages received. An Ethernet Switch with store-and forward technology looks on the entire data frame it receives on any of its ports. It starts with verifying that no communication bits are corrupted, by checking the CRC checksum. If it is not OK, the data frame will be discarded. If CRC check is successful the switch will look at the destination address and forward the data frame to the port where this destination address is located.
Device Servers

Device Servers are also refererred to as Bridges. Bridges operate in the Layer 1-4 of the OSI model. They establish connections, re-transmissions, error handling etc. Data is exchanged easily between bridges, but still the data is just sent as a chunk of anonymous data. Layer 4 has no mechanism of processing the data itself.

For Ethernet it is very popular to use Device Servers to bridge between a serial network, such as RS-232, up to Ethernet. The Device Server has a complete TCP/IP protocol stack included and when it’s connected to a serial port, the data from that port is encapsulated in a TCP/IP frame and can be transported over Ethernet. On the destination side of Ethernet the serial data is just extracted out from the TCP/IP frame. This may sound like a Media Converter but there is complicated timing and protocol processing being performed by the Device Server.

If the serial device is communicating with a PC-based system, the PC normally runs application software that handles the extraction of the serial data from the TCP/IP frame.

This PC software will create a virtual serial port on the PC to be used with current applications on the PC. While this method does not add any new features to the original application, the solution is transparent to the attached equipment and requires few, if any, changes to either the hardware or software. In most cases, the end user is not aware that the direct serial connection is being replaced by a virtual one over an Ethernet (IP) network.

In this application the Device Server allows the serial device to be located far away from the PC using the Ethernet network for data transportation of the serial data.

If using a PLC, which is the predominant solution in Industrial Applications, two Device Servers need to be used. One close to the serial device that encapsulates the serial data in the TCP/IP frame and another one close to the serial port of the PLC extracting back the data to serial format from the TCP/IP frame.

Device Servers work’s well in message based networks where the acyclic data packets can be re-transmitted on another type of network, maintaining its original structure and format.

However, most of the industrial networks have also incorporated I/O data traffic that sends cyclic data for fast updates to achieve real time data communication. All these protocols requires Layer 7 processing to bridge data between two different networks.

Another limitation with Device Servers is lack of web-based data handling. Many device servers have a built in static web server for configuration of the Device Server itself, but the fact that a Layer 4 protocol level can not process data values makes it impossible to display data from a application on a built in web server with SSI scripts or Java applets.

See Anybus Serial Server – RS232-Ethernet Virtual COM port

Industrial Gateways (Layer 7 Gateways)
Gateways makes communication possible between different architectures and protocols. They repackage and convert data going from one network to another network so that it can understand the other’s application data.

A gateway repackages information to match the requirements of the destination system. Gateways can change the format of a message so that it will conform to the application program at the receiving end of the transfer. A gateway links two systems that might not use the same Communication protocols and Data formatting structures.

Gateways incorporate the entire suite of the OSI model from Layer 1 up to Layer 7. This allows true data translation and processing on the two different networks and thus a true liking of data between the networks can be achieved. Using a Gateway to bridge between Ethernet and other protocols such as DeviceNet, Profibus or simple serial protocols also allows the Gateway to serve up data from that network directly to a built in web server, enabling true web based control and monitoring.

The area of converting data from a Device with a serial port to Ethernet, or any other network, deserves a closer explanation. The fact that the serial port may not have a Layer 7 protocol at all, makes the data linking difficult. An example can be a device like a barcode reader just transmitting ASCII data embedded in a device specific serial data frame.

Serial to Fieldbus/Ethernet Gateways
Transporting data between RS232/422/485 & ASCII protocols up to an Fieldbus/Ethernet network is made by a “Serial Gateway” often referred to as a “Protocol Converter”. The Anybus Communicator for example, has solved this conversion with using temporary memory storage inside the gateway. The data from the serial /device is mapped into a local memory in the gateway and via a Configurator software the Gateway can define which data bytes from the serial data stream that is Data and what bytes that are just command and control information. The selected data is mapped into the Layer 7 of the selected Network and thus can be received and understood by the other node using the Layer 7 for its data.

A great benefit with this solution is that the Serial Device will look like it had an embedded network card inside and will act in the way a user would expect for a networked enabled device, i.e. the gateway converts selected data bytes from the serial data stream into a format that is understood by a PLC using a Fieldbus System and the device will look like any other device on that Fieldbus network. An example would be an I/O device with digital and anlog process values.

Advanced modes of for example, the Anybus Communicator can also act as an active gateway controlling and communicating with several serial devices (multi-drop function) using a common protocol such as Modbus RTU and linking selected data to a Industrial network such as Profibus or Ethernet. It can also be used as a web enabler to give serial devices a web based management, monitoring and control function.
See Anybus Communicator – Serial to Ethernet/Fieldbus Gateways

Fieldbus/Ethernet to Fieldbus/Ethernet
The growing need for flexibility and diversity within the factory floor is becoming more and more important. Using Industrial Gateways is a way of linking old/new factories and in particular bridging between different fieldbus or Ethernet networks within the same factory or when out in the field. The Anybus X-gateway product range is an industrial Bridge/Gateway between almost any 2 Fieldbus or Ethernet networks. Take a closer look at how the X-gateway can be used to easily exchange I/O data with two networks thus enabling the old factory network and new factory network to communicate with each other.

See Anybus-X – Ethernet/Fieldbus to Ethernet/Fieldbus Bridge/Gateways

Summary
Transporting data between two different networks is not trivial and it is important to analyze the requirement of the application.

– Media converters work well when overcoming electrical difference in two network technologies. Normally no configuration is necessary.

– Device Servers are attractive when using Ethernet based networks and with PC based control.

– Serial Gateways are able to solve all data linking between two networks such as RS232/422/485 to other networks. The drawback is that Gateways are quite complex devices and require set-up during installation to define the data that should be linked between the two networks.

– Bridges/Gateways are able to solve all data linking between two networks. Today this usually means simple exchange of I/O data, but in the future more and more functionality will be encoporated into these products.

– To web-enable data from a serial device with a legacy protocol, you must have a Layer 7 gateway product to interpret the real data and link it to a built in web server.

아이씨엔 매거진 2013년 03월호

뉴스레터 구독하기

아이씨엔매거진은 AIoT, IIoT 및 피지컬 AI, 디지털트윈을 통한 제조업 디지털전환 애널리틱스를 제공합니다.
테크리포트: 자율제조, 전력전자, 모빌리티, 로보틱스, 스마트농업

ACHEMA 2027
오윤경 기자
오윤경 기자http://icnweb.co.kr
아이씨엔매거진 온라인 뉴스 에디터입니다. 오토메이션과 클라우드, 모빌리티, 공유경제, 엔지니어 인문학을 공부하고 있습니다. 보도자료는 아래 이메일로 주세요. => news@icnweb.co.kr
fastech EtherCAT
as-interface

Related Articles

Stay Connected

440FansLike
407FollowersFollow
224FollowersFollow
120FollowersFollow
372FollowersFollow
152SubscribersSubscribe
spot_img
spot_img
spot_img
automotion
InterBattery
Power Electronics Mag

Latest Articles

Related Articles

PENGUIN Solutions
한국요꼬가와전기, 인터배터리 2026서 ‘배터리 자율 제조’ 비전 제시 [인터배터리 2026]

한국요꼬가와전기, 인터배터리 2026서 ‘배터리 자율 제조’ 비전 제시 [인터배터리 2026]

0
한국요꼬가와전기가 로봇처럼 ‘스스로 판단하는 공장’을 위한 자율 제조 기술을 선보였다. AI가 공정을 관리하고 유럽 배터리 규제까지 한 번에 대응하는 디지털 트윈 솔루션이 주목받았다
NVIDIA GTC AI Conference
AW2026 expo

Related Articles

fastech EtherCAT
as-interface
노르딕, 엔트리급 nRF54L 시리즈 확장… IoT 기기 가격 경쟁력 높인다

노르딕, 엔트리급 nRF54L 시리즈 확장… IoT 기기 가격 경쟁력 높인다

0
노르딕 세미컨덕터가 성능은 높이고 가격 부담은 낮춘 새로운 블루투스 칩 nRF54LS05 시리즈를 공개하며 스마트 태그와 센서 등 소형 IoT 기기의 대중화를 이끌고 있다
1달러의 마법? TI, TinyEngine NPU로 엣지 AI 장벽 허문다

1달러의 마법? TI, TinyEngine NPU로 엣지 AI 장벽 허문다

0
TI가 단돈 1달러로 고성능 AI 기능을 구현하는 TinyEngine NPU 기반 반도체를 공개하며 로봇, 가전 등 모든 기기가 스스로 판단하는 엣지 AI 시대를 열고 있다
인텔, 데스크톱 성능의 정점 코어 Ultra 200S 플러스 시리즈 전격 출시

인텔, 데스크톱 성능의 정점 코어 Ultra 200S 플러스 시리즈 전격 출시

0
인텔이 코어 Ultra 200S 플러스 시리즈를 출시하여 게임 속도는 더 빠르게, 영상 편집 등의 전문 작업 성능은 최대 2배까지 높였다
NXP, 차량 제조 혁신 앞당길 코어라이드 Z248 구역 레퍼런스 시스템 공개

NXP, 차량 제조 혁신 앞당길 코어라이드 Z248 구역 레퍼런스 시스템 공개

0
NXP가 자동차 제조사들이 차세대 전기차를 더 빠르고 안전하게 만들 수 있도록 전력 관리와 데이터 처리가 합쳐진 통합 설계 시스템을 출시했다

손안에서 터지는 고사양 게임의 전율… 한국레노버, AI 입은 리전탭 Y700 5세대...

0
한국레노버가 최신 프로세서와 인공지능 기능을 탑재해 고사양 게임을 더 똑똑하고 시원하게 즐길 수 있는 게이밍 특화 태블릿 리전탭 Y700 5세대를 공식 출시했다
내 몸속의 보이지 않는 수호천사… ST마이크로, 이식형 의료기기용 ‘초슬림·초저전력’ 센서 공개

내 몸속의 보이지 않는 수호천사… ST마이크로, 이식형 의료기기용 ‘초슬림·초저전력’ 센서 공개

0
ST가 생체 적합 소재를 사용하고 배터리 걱정 없이 장기간 작동하는 초소형 의료용 센서 MIS2DU12를 공개하며 몸속에 심는 스마트 의료기기 시대를 앞당기고 있다
- Our Youtube Channel -Engineers Youtube Channel

Latest Articles