Claim Missing Document
Check
Articles

Found 1 Documents
Search

Design and Implementation of a Multivendor PLC Data Acquisition System based on Automatic Protocol Detection and Tag Engine Muhammad Febriansyah; Edy Supriyadi; Riadi Marta Dinata
SISTEMASI Vol 15, No 11 (2026): Sistemasi: Jurnal Sistem Informasi
Publisher : Universitas Islam Indragiri

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.32520/stmsi.v15i11.6864

Abstract

Integrating programmable logic controllers (PLCs) from multiple vendors into a single data acquisition system requires complex reconfiguration whenever a new device is added, owing to differences in communication protocols across vendors. This study presents the design and development of a Python-based multi-vendor PLC data acquisition system, named pythonGab, which automatically detects communication protocols based on tag address patterns without requiring explicit device-specific configuration. The system architecture consists of an Excel configuration file reader, a tag engine that groups connections by IP address and port pairs, Modbus TCP and S7comm/Snap7 driver plug-ins, and SQLite storage with non-destructive schema evolution. A Design Science Research approach was adopted, with functional testing conducted across three sites (ISTN/Jagakarsa, UI/Depok, and UT/Serang) over a period of 26.47 hours. The system successfully acquired 22 active tags using two communication protocols simultaneously and recorded 6,001 log entries without requiring code modifications between sites. Tag numbering gaps, such as the transition from ID 5 to ID 8, did not disrupt the log table structure. Sampling intervals of 5–6 seconds accounted for 91.5% of observations, with 5 seconds being the most frequent interval (73.5%). The zero-rate was 7.7% at ISTN (Modbus TCP), 9.1% at UI (S7comm) after excluding one tag with a data type mismatch, and 47.8% at UT/Serang. The system does not yet support PLCs with non-standard slave ID, rack, and slot configurations because these parameters remain hard-coded. Furthermore, end-to-end latency has not yet been measured for individual devices. The novelty of this study lies in combining automatic protocol detection, external file-based tag configuration, and multi-site field testing within a single implementation.