Ladder Logic Translation using Large Language Models in Industrial Automation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ogundare, Oluwatosin, Ekpo, Promise, Wiggins, Nathanial
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918531719757824
author Ogundare, Oluwatosin
Ekpo, Promise
Wiggins, Nathanial
author_facet Ogundare, Oluwatosin
Ekpo, Promise
Wiggins, Nathanial
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_31458
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Ladder Logic Translation using Large Language Models in Industrial Automation
Ogundare, Oluwatosin
Ekpo, Promise
Wiggins, Nathanial
Software Engineering
Systems and Control
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.
title Ladder Logic Translation using Large Language Models in Industrial Automation
topic Software Engineering
Systems and Control
url https://arxiv.org/abs/2605.31458