Development of a Common API for Multiple Ethernet Fieldbus Protocols in Embedded Slave Devices

Slave devices in Ethernet-based fieldbus networks often require extensive reprogramming of applications and replacement of protocol stacks and Ethernet drivers whenever the fieldbus protocol needs to be changed. To address this challenge, we develop a common application programming interface (API) and stack interfaces that enable seamless protocol switching among EtherCAT, PROFINET, and EtherNet/IP without requiring protocol-specific code modifications. The real-time data exchange between the API and each protocol stack is realized in the stack interface by using the synchronization mechanism provided by FreeRTOS. The developed common API and stack interfaces facilitate the development of slave device applications that are universally compatible with multiple protocols, EtherCAT, PROFINET, and EtherNet/IP. Moreover, once a required protocol is selected in the integrated development environment (IDE) software before building the slave device firmware, the corresponding protocol stack and Ethernet drivers are automatically specified and the need to replace protocol stacks or Ethernet drivers is even eliminated when switching protocols. To validate the developed common API and stack interfaces, they were implemented on a slave device using TI’s TMDS243EVM board, and a fieldbus network was built by connecting the slave device to a master device executed by Beckhoff’s TwinCAT on a Windows PC. Experimental results confirmed the API’s functionality, reliability, and practical applicability in streamlining protocol management for Ethernet-based fieldbus networks.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2025-02-05
DOI
https://doi.org/10.3390/electronics14030613
Citations
2
Primary Topic
Network Time Synchronization Technologies
Type
article
Field-Weighted Citation Impact
2.97
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development of a Common API for Multiple Ethernet Fieldbus Protocols in Embedded Slave Devices

Joon‐Young Choi, D.W. Kim
2 citations
Electronics
Network Time Synchronization Technologies
2.97
article

Development of a Common API for Multiple Ethernet Fieldbus Protocols in Embedded Slave Devices

Joon‐Young Choi, D.W. Kim
article en
2 citations

Abstract

Slave devices in Ethernet-based fieldbus networks often require extensive reprogramming of applications and replacement of protocol stacks and Ethernet drivers whenever the fieldbus protocol needs to be changed. To address this challenge, we develop a common application programming interface (API) and stack interfaces that enable seamless protocol switching among EtherCAT, PROFINET, and EtherNet/IP without requiring protocol-specific code modifications. The real-time data exchange between the API and each protocol stack is realized in the stack interface by using the synchronization mechanism provided by FreeRTOS. The developed common API and stack interfaces facilitate the development of slave device applications that are universally compatible with multiple protocols, EtherCAT, PROFINET, and EtherNet/IP. Moreover, once a required protocol is selected in the integrated development environment (IDE) software before building the slave device firmware, the corresponding protocol stack and Ethernet drivers are automatically specified and the need to replace protocol stacks or Ethernet drivers is even eliminated when switching protocols. To validate the developed common API and stack interfaces, they were implemented on a slave device using TI’s TMDS243EVM board, and a fieldbus network was built by connecting the slave device to a master device executed by Beckhoff’s TwinCAT on a Windows PC. Experimental results confirmed the API’s functionality, reliability, and practical applicability in streamlining protocol management for Ethernet-based fieldbus networks.

ElectronicsVol. 14(3)
Pusan National University (KR)
Openalex Percentile: Top 10%
Network Time Synchronization Technologies
2.97
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.