Automated Cross-Platform PLC Code Translation and Real Equipment Validation Using Large Language Models

This study proposes a web-based system that automatically converts LSIS PLC programs written in IL into Siemens STL using a large language model (Gemini API). The system consists of a JavaScript frontend and a FastAPI backend, with components for prompt design, I/O mapping, and output postprocessing. Five pneumatic control scenarios were tested using real Siemens S7-1500 hardware, and the converted STL programs executed correctly in all cases, requiring only minor edits. The results demonstrate the feasibility of LLM-based PLC code translation and suggest potential for future extensions to multiple brands and advanced functions.

Publication Details

Journal
Korea Industrial Technology Convergence Society
Published
2025-06-30
DOI
https://doi.org/10.29279/jitr.k.2025.30.2.91
Primary Topic
Advanced Data Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Cross-Platform PLC Code Translation and Real Equipment Validation Using Large Language Models

Korea Industrial Technology Convergence Society
Advanced Data Processing Techniques
article

Automated Cross-Platform PLC Code Translation and Real Equipment Validation Using Large Language Models

article en

Abstract

This study proposes a web-based system that automatically converts LSIS PLC programs written in IL into Siemens STL using a large language model (Gemini API). The system consists of a JavaScript frontend and a FastAPI backend, with components for prompt design, I/O mapping, and output postprocessing. Five pneumatic control scenarios were tested using real Siemens S7-1500 hardware, and the converted STL programs executed correctly in all cases, requiring only minor edits. The results demonstrate the feasibility of LLM-based PLC code translation and suggest potential for future extensions to multiple brands and advanced functions.

Korea Industrial Technology Convergence SocietyVol. 30(2)
Openalex Percentile: Top 80%
Advanced Data Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Automated Cross-Platform PLC Code Translation and Real Equipment Validation Using Large Language Models · Korea Industrial Technology Convergence Society (2025) | TGRS Research Map | TGRS