DOI QR코드

DOI QR Code

PLC and Arduino Interaction Based on Modbus Protocol

  • Jeong, Yunju (School of Computer Science & Engineering, Kyungpook National University) ;
  • Ansari, Md Israfil (Department of Computer Engineering, Andong National University) ;
  • Shin, WooHyeon (Department of Computer Engineering, Andong National University) ;
  • Kang, Bonggu (Department of Computer Engineering, Andong National University) ;
  • Lim, JinSeop (Department of Computer Engineering, Andong National University) ;
  • Moon, HyeonSik (Department of Computer Engineering, Andong National University) ;
  • Shim, Jaechang (Department of Computer Engineering, Andong National University)
  • Received : 2016.09.09
  • Accepted : 2017.02.13
  • Published : 2017.03.30

Abstract

This Paper introduces the design and communication method between PLC (Programmable Logic Controller) and Arduino based on MODBUS Protocol. MODBUS connection can be established in a new or existing system very easily, therefore we used this protocol in our proposed system. In the field of automatic devices, multi-function serial port such as RS232, RS422, RS485, and so on creates a great convenience to the developer. This proposed system used RS485 as a key mediator for data exchanging on a connected network. We also believe that it will reduce the development cost in various automated industry because this system can be reused or can be implemented any such PLC installed machines. RS485 is used as a communication interface between PLC (as a slave) and Arduino (as a master), through which a reliable network is created for safe and fast communication. Furthermore, RS485 allows multiple devices(up to 32) to communicate at half duplex on a single pair of wires and provides a long connectivity area (up to 1200 meters) as compare to other device, which makes it a user-friendly for various devices in the automated industry. Moreover, Arduino can play as a mediator by connecting third party device and setup a communication network with PLC.

Keywords

References

  1. Y. Jeong, M.I. Ansari, W. Shin, B. Kang, J. Shim, "Smart Disel Generator Control System," Journal of Korea Multimedia Society, Vol. 20, No. 2, pp. 271-278, 2017. https://doi.org/10.9717/kmms.2017.20.2.271
  2. B.B. Shibarinath and N. Gaur, "MODBUS Communication in Microcontroller Based Elevator Controller," International Conference on Control, Automation, Robotics and Embedded Systems, pp. 16-18, 2013.
  3. Comite Europeo de Normalizacion, EN 61131-3: Programmable Controllers. Programming languages (IEC 611131-3:2013) , International Electrotechnical Comission, Brussels, France, 2013.
  4. E. Tisserant, L. Bessard, and M. Sousa, "An Open Source IEC 61131-3 Integrated Development Environment," Transactions on Industrial Informatics, Vol. 1, pp. 183-187. 2007.
  5. M. Banzi, Getting Started with Arduino, O'Relly Media, Sebastopol, Calif., 2011.
  6. M. Margolis, Arduino Cookbook, O'Relly Media, Sebastopol, Calif., 2011.
  7. J. Ko, J. Shim, "A Comparison of the Construction for IoT System in Smart Clothing," Journal of Multimedia Information System, v.2, no.4, pp. 327-332, 2015. https://doi.org/10.9717/JMIS.2015.2.4.327
  8. G. Frey and L. Litz, "Formal Methods in PLC Programming," Systems, Man, and Cybernetics, IEEE International Conference, Vol. 4, No. 6, pp. 2431-2436, 2000.
  9. PLCopen Technical Committee 6, "XML Formats for IEC 61131-3, Ver 1.0", http://www.plcopen.org/pages/tc6_xml/downloads/ tc6_xml_v201_technical_doc.pdf (accessed Nov., 21, 2016).
  10. MODBUS over Serial Line Specification and Implementation Guide V1.02, http://www.modbus. org/docs/Modbus_over_serial_line_V1_02. pdf (accessed Nov., 21, 2016).
  11. X. Jin, H. Yuan, Q. Jiang, and Y. Wang, "Design of Silicon-based Transient Voltage Suppressor to Meet IEC System-level ESD Specification for RS485 Transceiver," Proceeding of International Conference on Solid-State and Integrated Circuit Technology, pp. 1-3, 2014.
  12. Z. Wu, S. Liu, M. Du, Q. Li, C. Han, and J. Wu, "Design of Vibrating Wire Sensor Singnal Acquisition Board Based on STM32," Proceeding of World Congress on Intelligent Control and Automation, pp. 1846-1849, 2016.