Browse > Article
http://dx.doi.org/10.9708/jksci.2020.25.06.001

Independent I/O Relay Class Design Using Modbus Protocol for Embedded Systems  

Kim, Ki-Su (School of Computer Information Engineering, Kunsan University)
Lee, Jong-Chan (Dept. of Computer Information Engineering, Kunsan University)
Abstract
Communication between system modules is applied using the Modbus protocol in industrial sites including smart factories, industrial drones, building energy management systems, PLCs, ships, trains, and airplanes. The existing Modbus was used for serial communication, but the recent Modbus protocol is used for TCP/IP communication.The Modbus protocol supports RTU, TCP and ASCII, and implements and uses protocols in embedded systems. However, the transmission I/O devices for RTU, TCP, and ASCII-based protocols may differ. For example, RTU and ASCII communications transmit on a serial-based communication protocol, but in some cases, Ethernet TCP/IP transmission is required. In particular, since the C language (object-oriented) is used in embedded systems, the complexity of source code related to I/O registers increases. In this study, we designed software that can logically separate I/O functions from embedded devices, and designed the execution logic of each instance requiring I/O processing through a delegate class instance with Modbus RTU, TCP, and ASCII protocol generation. We designed and experimented with software that can separate communication I/O processing and logical execution logic for each instance.
Keywords
Build Design Pattern; Software Design; Modbus Protocols; Protocol Builder; Avr128; UART;
Citations & Related Records
Times Cited By KSCI : 6  (Citation Analysis)
연도 인용수 순위
1 Erich Gamma, Design Patterns , ADDISONWESLEY , 395, 2003
2 Jeong-Ho Song, Bo-Hun Kim, Hwang-Rae Kim, "A Design of A Modbus Application Protocol for Multiple SCU Connections," Journal of the Korea Academia-Industrial cooperation Society, Vol. 19, No. 4, pp. 642-649, 2018 DOI 10.5762/KAIS.2018.19.4.642   DOI
3 Modbus Application Protocol Manual V1_1b3: Available From: http://www.Modbus.org (accessed Aug, 15, 2017)
4 Bo-Heon Kim, Jeong-Ho Song, Hwang-Rae Kim, "A Study on Enhancement of the MOD-BUS RTU Protocol for Multi-Device Connection", Journal of KIIT. Vol. 16, No. 2, pp. 67-73, Feb. 28, 2018
5 Microchip, http://ww1.microchip.com/downloads/en/DeviceDoc/doc2467.pdf
6 Wikipedia, Fourth Industrial Revolution, https://ko.wikipedia.org/wiki/Fourth Industrial Revolution
7 Wikipedia, Internet of Things, https://ko.wikipedia.org/wiki/Internet of Things
8 Sangjin Jeong, Yoon-Young An, Hyunjoo Kang, Taehyoung Shim, Sung-Hei Kim, “An IoT Standards-Based Electrical Equipment Status Monitoring System Supporting Modbus/OCF Bridging,” Journal of Electrical Engineering & Technology, Vol. 69, No. 1, pp. 217-224, Jan 2020.
9 Dong-Hwan Kim, Bo-Heon Kim, Jeong-Ho Song, Hwang-Rae Kim, "A Design of Modbus Communication Class for Multiple SCU Connections, "Journal of Korean Institute of Information Technology, Vol. 16, No. 2, pp. 67-73, Feb 2018, DOI 10.14801/jkiit.2018.16.2.67
10 Sang-hee Eum, "A Programmable Protocol Data Conversion Algorithm for Industrial Machine Monitoring, "Journal of the Korea Institute of Information and Communication Engineering, Vol. 21, No. 11, pp. 2139-2144, Nov.2017   DOI
11 Modicon Modbus Protocol Reference Guide, http://modbus.org/docs/PI_MBUS_300.pdf