Sistem Komunikasi Mikrokontroler dan PLC Berbasis Komunikasi Serial Host Link dan Protokol C-Command RS232

  • Dewi Rizani Ruwahida Ruwahida Student of Politeknik Perkapalan Negeri Surabaya
  • Isa Rachman Politeknik Perkapalan Negeri Surabaya
  • Hendro Agus Widodo Politeknik Perkapalan Negeri Surabaya
  • Ryan Yudha Adhitya Politeknik Perkapalan Negeri Surabaya
  • Yuda Irawan Politeknik Perkapalan Negeri Surabaya
Abstract views: 227 , PDF downloads: 460
Keywords: communication, microcontroller, programmable logic controller


The communication between microcontrollers and PLC has become an important technology development that needs to be enhanced. One of the reasons for the communication between these two devices is to facilitate the input process of data or information from sensors, which are responsible for detecting or measuring specific parameters. Not all sensors can be directly read by PLC, as some sensors have their own communication protocols or specific libraries that are not directly supported by PLC. Microcontrollers are often used as intermediaries between sensors and PLC. Microcontrollers can read sensor data and then convert it into a format that can be understood by PLC. Microcontrollers can perform flat processing tasks such as conversion and status evaluation to provide more relevant data, and then send this data to the PLC through a compatible communication protocol. In this study, the communication protocol used is the Host Link serial communication using the C-mode Command method. The communication testing conducted using 10 different data samples resulted in accurate values with an error percentage of 0%.


[1] E. Peña and M. G. Legaspi, “Uart: A hardware communication protocol understanding universal asynchronous receiver/transmitter,” Visit Analog, vol. 54, no. 4, 2020.
[2] D. S. Dawoud and P. Dawoud, Serial Communication Protocols and Standards. CRC Press, 2022.
[3] A. Gupta and A. Gupta, “UART communication,” IoT hacker’s Handb. a Pract. Guid. to hacking Internet things, pp. 59–80, 2019.
[4] H. N. Y. Pwint, T. Kywe, and T. T. E. Aung, “PC AND PIC BASED ELECTRONIC DEVICES CONTROLLER USING SERIAL COMMUNICATION,” Int. J. All Res. Writings, vol. 2, no. 3, pp. 129–133, 2019.
[5] M. Poorani and R. Kurunjimalar, “Design implementation of UART and SPI in single FGPA,” in 2016 10th International Conference on Intelligent Systems and Control (ISCO), 2016, pp. 1–5.
[6] A. K. Gupta, A. Raman, N. Kumar, and R. Ranjan, “Design and implementation of high-speed universal asynchronous receiver and transmitter (UART),” in 2020 7th International Conference on Signal Processing and Integrated Networks (SPIN), 2020, pp. 295–300.
[7] U. Nanda and S. K. Pattnaik, “Universal asynchronous receiver and transmitter (uart),” in 2016 3rd international conference on advanced computing and communication systems (ICACCS), 2016, vol. 1, pp. 1–5.
[8] OMRON, “Serial Communications Boards and Serial Communications Units,” 2009.
[9] O. Corporation, “Sample Programs for Host Link Commands,” 2009.
[10] O. Corporation, “Host Link Communications,” 2009.
[11] A. Zakaria and A. Prihantara, “Pemanfaatan Radio Frequency Identification Mifare RC522 dan Arduino Sebagai Media Validasi Kehadiran Mahasiswa,” J. Infotekmesin, vol. 11, no. 01, 2020.
[12] A. Kurniawan, Arduino Nano A Hands-on Guide for Beginner. PE press, 2019.
[13] A. Nano, “Arduino Nano,” A MOBICON Co., 2018.
[14] T. Instrument, “MAX232x Dual EIA-232 Drivers/Receivers,” Texas Instrum., 2014.
[15] D. S. Dawoud and P. Dawoud, Serial Communication Protocols and Standards RS232/485, UART/USART, SPI, USB, INSTEON, Wi-Fi and WiMAX. River Publishers, 2020.
[16] M. Naim, Buku Ajar Sistem Kontrol dan Kelistrikan Mesin. Penerbit NEM, 2021.
[18] M. Wali, Membangun Aplikasi Windows dengan Visual Basic. NET 2015 Teori dan Praktikum: Indonesia, vol. 1. KITA Publisher, 2017.
[19] A. Elmogy, Y. Bouteraa, R. Alshabanat, and W. Alghaslan, “A New Cryptography Algorithm Based on ASCII Code,” in 2019 19th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), 2019, pp. 626–631.

PlumX Metrics