본문 바로가기
  • Home

Protocol Monitor System Between Cortex M7 Based PLC And HMI

  • Journal of The Korea Society of Computer and Information
  • Abbr : JKSCI
  • 2020, 25(6), pp.17-23
  • DOI : 10.9708/jksci.2020.25.06.017
  • Publisher : The Korean Society Of Computer And Information
  • Research Area : Engineering > Computer Science
  • Received : April 21, 2020
  • Accepted : May 31, 2020
  • Published : June 30, 2020

Ki-Su Kim 1 Jongchan Lee 1 Ha Heon Seong 1

1군산대학교

Accredited

ABSTRACT

In this paper, collecting real-time data frames that occur during RS232 communication between an HMI and PLC of automation equipment by sniffing real-time information data frames through MCU without modification of the HMI or PLC, a method is proposed that allows users to collect data without being dependent on the modification of PLC and HMI systems. The user collects necessary information from the sniffing data through the parsing operation, and the original communication interface is maintained by transmitting the corresponding sniffing frame to the destination. The MCU's UART communication interface circuit is physically designed according to the RS232 communication standard, and this additionally improves efficiency more so than an interrupt-based system by using the DMA device inside the MCU. In addition, the data frame IO operation is performed by logically separating the work of the DMA interrupt service routine from the work of the main thread using the circular queue. Through this method, the user receives the sniffing data frame between the HMI and PLC in RS232 format, and the frame transfer between PLC and HMI arrives normally at the original destination. By sniffing the data frame without further modification of the PLC and HMI, it can be confirmed that it arrives at the user system normally.

Citation status

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