arXiv · 2605.31458
Ladder Logic Translation using Large Language Models in Industrial Automation
Abstract
Ladder logic translation is an important problem in industrial automation because without it, it is difficult to switch Programmable Logic Controller (PLC) vendors. The prevailing translation problem highlights mismatched programming environments, incompatible ladder logic constructs, limitations in terms of differences in the semantic expressiveness of the vendor formalisms and integrated black-box proprietary engineering tools which are exemplified in our example case; Rockwell to Siemens PLC code translation. This work presents a mathematical formulation of the problem, the detailed architecture of a solution which supports XML extraction, structural normalization, constrained generative function (LLM), and system integration via the TIA Portal Openness API as rigorously engineered pipeline for automated translation of Rockwell Ladder Programs to Siemens S7 ladder programs. Finally, we present results that show that the translations retain high semantic consistency across instruction categories.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Oluwatosin Ogundare, Promise Ekpo, Nathanial Wiggins. 2026-05-29. Ladder Logic Translation using Large Language Models in Industrial Automation. https://arxiv.org/abs/2605.31458
Cite the original work for its findings. Save a collection to share your selection of sources.