Virendra Ashiwal
Virendra Ashiwal has a total of 12 co-authors. Here are the top co-authors by number of shared publications:
- Heiko Koziolek
ABB AG Corporate Research Center Germany
2 shared publications - Lukas Linsbauer
ABB Research, Mannheim, Germany
2 shared publications - Alois Zoitl
CDL VaSiCS, LIT CPS Lab, Johannes Kepler University Linz, Linz, Austria
1 shared publication - Bianca Wiesmayr
Ulm University, Ulm, Germany
1 shared publication Julio-Ariel Romero-Pérez
Department of Systems Engineering and Design, Universitat Jaume I, Castellon, Spain
1 shared publication- Karoline Grotterud
ABB Process Automation, Oslo, Norway
1 shared publication
Latest Publications
- Top Cited PapersOpen Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 566-577
Spec2Control: Automating PLC/DCS Control-Logic Engineering from Natural Language Requirements with LLMs - A Multi-Plant Evaluation
Distributed control systems (DCS) manage the automation for many industrial production processes (e.g., power plants, chemical refineries, steel mills). Programming the software for such systems remains a largely manual and tedious process, incurring costs of millions of dollars for extensive facilities. Large language models (LLMs) have been found helpful in generating DCS control logic, resulting in commercial copilot tools. Today, these tools are focused on textual notations, they provide limited automation, and have not been tested on large datasets with realistic test cases. We introduce Spec2Control, a highly automated LLM workflow to generate graphical control logic directly from natural language user requirements. Experiments using an open dataset with 10 control narratives and 65 complex test cases demonstrate that Spec2Control can successfully identify control strategies, can generate 98.6% of correct control strategy connections autonomously, and can save between 94-96% of human labor. Spec2Control is being integrated into commercial ABB engineering tools, but is also available as an open-source variant for independent validation.
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 566-577
Top Cited PapersOpen AccessSpec2Control: Automating PLC/DCS Control-Logic Engineering from Natural Language Requirements with LLMs - A Multi-Plant Evaluation
Distributed control systems (DCS) manage the automation for many industrial production processes (e.g., power plants, chemical refineries, steel mills). Programming the software for such systems remains a largely manual and tedious process, incurring costs of millions of dollars for extensive facilities. Large language models (LLMs) have been found helpful in generating DCS control logic, resulting in commercial copilot tools. Today, these tools are focused on textual notations, they provide limited automation, and have not been tested on large datasets with realistic test cases. We introduce Spec2Control, a highly automated LLM workflow to generate graphical control logic directly from natural language user requirements. Experiments using an open dataset with 10 control narratives and 65 complex test cases demonstrate that Spec2Control can successfully identify control strategies, can generate 98.6% of correct control strategy connections autonomously, and can save between 94-96% of human labor. Spec2Control is being integrated into commercial ABB engineering tools, but is also available as an open-source variant for independent validation.
- Open Access
- 7 April 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of the Industrial Electronics Society
- Vol. 6, 575-590
Identification and Evaluation of Pitfalls in the Migration From IEC 61131-3 to IEC 61499: A Review
The IEC 61131-3 standard was initially established to define a common software architecture and programming languages for PLCs produced by various manufacturers, leading to its widespread adoption since 1993. Since then, it has been a cornerstone in the industrial automation domain. Building upon this foundation, the IEC 61499 standard was developed to enhance the design and implementation of distributed control systems by incorporating advanced concepts from distributed systems and software engineering such as encapsulation, separation of control logic from communication infrastructure, and independent development of software components from their hardware deployment. While IEC 61499 introduces novel approaches, it also incorporates and extends key elements from IEC 61131-3, including function blocks, programming languages, and basic data types. Despite the advantages offered by the IEC 61499 standard, its adoption is still limited largely due to historical precedence, industry familiarity, better tool and vendor support, and the risk-averse nature of the industrial automation market. The migration or re-engineering effort from an existing IEC 61131-based automation system to IEC 61499 also faces challenges because it typically retains the underlying programming paradigms of IEC 61131-3. The contribution of this paper is to identify the pitfalls associated with migrating PLC control code from IEC 61131-3 based automation systems to IEC 61499. For this purpose, we conducted a systematic literature review that address these identified migration pitfalls. We then synthesized the findings from the literature and provided a summary and research directions for addressing these pitfalls.
- 7 April 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of the Industrial Electronics Society
- Vol. 6, 575-590
Open AccessIdentification and Evaluation of Pitfalls in the Migration From IEC 61131-3 to IEC 61499: A Review
The IEC 61131-3 standard was initially established to define a common software architecture and programming languages for PLCs produced by various manufacturers, leading to its widespread adoption since 1993. Since then, it has been a cornerstone in the industrial automation domain. Building upon this foundation, the IEC 61499 standard was developed to enhance the design and implementation of distributed control systems by incorporating advanced concepts from distributed systems and software engineering such as encapsulation, separation of control logic from communication infrastructure, and independent development of software components from their hardware deployment. While IEC 61499 introduces novel approaches, it also incorporates and extends key elements from IEC 61131-3, including function blocks, programming languages, and basic data types. Despite the advantages offered by the IEC 61499 standard, its adoption is still limited largely due to historical precedence, industry familiarity, better tool and vendor support, and the risk-averse nature of the industrial automation market. The migration or re-engineering effort from an existing IEC 61131-based automation system to IEC 61499 also faces challenges because it typically retains the underlying programming paradigms of IEC 61131-3. The contribution of this paper is to identify the pitfalls associated with migrating PLC control code from IEC 61131-3 based automation systems to IEC 61499. For this purpose, we conducted a systematic literature review that address these identified migration pitfalls. We then synthesized the findings from the literature and provided a summary and research directions for addressing these pitfalls.
- Open Access
- 20 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 22-29
LLM-based and Retrieval-Augmented Control Code Generation
Control code is designed and implemented for industrial automation applications that manage power plants, petrochemical processes, or steel production. Popular large language models (LLM) can synthesize low-level control code in the Structured Text programming notation according to the standard IEC 61131-3, but are not aware of proprietary control code function block libraries, which are often used in practice. To automate control logic implementation tasks, we proposed a retrieval-augmented control code generation method that can integrate such function blocks into the generated code. With this method control engineers can benefit from the code generation capabilities of LLMs, re-use proprietary and well-tested function blocks, and speed up typical programming tasks significantly. We have evaluated the method using a prototypical implementation based on GPT-4, LangChain, Open-PLC, and the open-source OSCAT function block library. In several spot sample tests, we successfully generated IEC 61131-3 ST code that integrated the desired function blocks, could be compiled, and validated through simulations.
- 20 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 22-29
Open AccessLLM-based and Retrieval-Augmented Control Code Generation
Control code is designed and implemented for industrial automation applications that manage power plants, petrochemical processes, or steel production. Popular large language models (LLM) can synthesize low-level control code in the Structured Text programming notation according to the standard IEC 61131-3, but are not aware of proprietary control code function block libraries, which are often used in practice. To automate control logic implementation tasks, we proposed a retrieval-augmented control code generation method that can integrate such function blocks into the generated code. With this method control engineers can benefit from the code generation capabilities of LLMs, re-use proprietary and well-tested function blocks, and speed up typical programming tasks significantly. We have evaluated the method using a prototypical implementation based on GPT-4, LangChain, Open-PLC, and the open-source OSCAT function block library. In several spot sample tests, we successfully generated IEC 61131-3 ST code that integrated the desired function blocks, could be compiled, and validated through simulations.