본문 바로가기
  • Home

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

  • Journal of The Korea Society of Computer and Information
  • Abbr : JKSCI
  • 2020, 25(6), pp.1-8
  • DOI : 10.9708/jksci.2020.25.06.001
  • Publisher : The Korean Society Of Computer And Information
  • Research Area : Engineering > Computer Science
  • Received : March 26, 2020
  • Accepted : June 2, 2020
  • Published : June 30, 2020

Ki-Su Kim 1 Jongchan Lee 1

1군산대학교

Accredited

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.

Citation status

* References for papers published after 2023 are currently being built.