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

Protocol Monitor System Between Cortex M7 Based PLC And HMI  

Kim, Ki-Su (School of Computer Information Engineering, Kunsan University)
Lee, Jong-Chan (Dept. of Computer Information Engineering, Kunsan University)
Ha, Heon-Seong (School of Computer Information Engineering, Kunsan University)
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.
Keywords
ARM Cortex M7; PLC Communication Interface; STM_Uart_Dma; Dma_Uart_Interrupt; Uart system Sniffing;
Citations & Related Records
Times Cited By KSCI : 4  (Citation Analysis)
연도 인용수 순위
1 Jae-Jun Oh, Seong-Ju Choi, and Jin-Sa Kim, “Development of Multiple Wireless Communication Controller for Smart Factory Construction,” J. Korean Inst. Electr. Electron. Mater. Eng, Vol. 30, No. 9, pp. 602-608, September 2017 DOI: https://doi.org/10.4313/JKEM.2017.30.9.602   DOI
2 So Jeong Nam, Seung Woo Lee, Jai-Kyung Lee, "Behaviour Data Acquisition of Equipment in real-time by using PLC ," The Korean Society of Mechanical Engineers, pp. 2368-2371, November 2012
3 Jae-Jun Oh1, Seong-Ju Choi2, and Jin-Sa Kim3, “Development of Multiple Wireless Communication Controller for Smart Factory Construction,” J. Korean Inst. Electr. Electron. Mater. Eng, Vol. 30, No. 9, pp. 602-608, September 2017 DOI:https://doi.org/10.4313/JKEM.2017.30.9.602   DOI
4 Clive Seguna , Luke Tanti , Jeremy Scerri, Kris Scicluna, "A Low-Cost Real Time Monitoring System for an Industrial Mini-Climatic Chamber," IECON 2019 - 45th Annual Conference of the IEEE Industrial Electronics Society," pp. 14-17 Oct. 2019. DOI: 10.1109/IECON.2019.8927396
5 M. Martinez Flores et al., "Implementation of control algorithms in a climatic chamber", International Conference on Mechatronics Electronics and Automotive Engineering, pp. 107-112, 2016. DOI: 10.1109/ICMEAE.2016.028
6 G. Jayanthi ,S Arunachalam, K Praveen ,Krishnan PS Unni,"Cost Effective SCADA for Remote Monitoring and Control for Effective Process Automation Using HMI,"2018 International Conference on Power, Energy, Control and Transmission Systems (ICPECTS), pp. 22-23 Feb. 2018. DOI: 10.1109/ICPECTS.2018.8521608
7 P. K. Bhowmik ; S. K. Dhar,"Boiler gas burner management system automation using PLC," 2012 7th International Conference on Electrical and Computer Engineering, pp. 20-22, December 2012. DOI: 10.1109/ICECE.2012.6471702
8 P.K. Shadhu Khan ; Abdullah-Al-Noman ; Rajib Kumar Dey,"PLC based operation of three natural gas generator models- a learing aid for undergraduate students," IEEE Third International Conference on Power Systems Kharagpur, pp. 27-29, December 2009. DOI: 10.1109/ICPWS.2009.5442778
9 Easy View Co., Ltd. ,"EasyView User Manual," Easy View Co.Ltd, pp.92, 2015.
10 Hugh Jack, Automating Manufacturing Systems with PLCs. Version ,http://claymore.engineer.gvsu.edu/-jackh/books/plcs/