Sistem Komunikasi Mikrokontroler dan PLC Berbasis Komunikasi Serial Host Link dan Protokol C-Command RS232
Abstract
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%.
References
[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. https://assets.omron.eu/downloads/manual/en/w336_cs1_cj1_serial_communications_boards_operation_manual_en.pdf
[9] O. Corporation, “Sample Programs for Host Link Commands,” 2009. https://www.myomron.com/index.php?action=kb&article=80
[10] O. Corporation, “Host Link Communications,” 2009. https://paginas.fe.up.pt/~pfs/recursos/plcs/omron/cqm1/sbc_manual/sec4.pdf
[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.
[17] C. Hafiz, “RANCANG BANGUN SYSTEM MONITORING RUMAH BERBASIS MIKROKONTROLER DAN TELEGRAM.” Institut Teknologi Telkom Jakarta, 2022.
[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.
Copyright (c) 2023 Dewi Rizani Ruwahida Nurokim, Isa Rachman, Hendro Agus Widodo, Ryan Yudha Adhitya, Yuda Yuda
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).