Transformation of IEC 61131-3 onto an Embedded Platform Using LLVM
摘要
This paper addresses the modernization of industrial automation by proposing a method to run IEC 61131-3 applications on generic hardware, such as embedded systems. Traditional Programmable Logic Controllers (PLCs) have remained largely unchanged since their introduction, hindering flexibility and integration with modern IT solutions. The proposed solution involves the STX2IR compiler front end, which translates IEC 61131-3 Structured Text into hardware-independent LLVM Intermediate Representation. This enables PLC code to be executed on various hardware platforms while retaining essential PLC principles. A case study on beer brewing control demonstrates the feasibility of this approach, showing successful integration and execution on an embedded platform. The transition aims to reduce dependency on proprietary systems and facilitate the incorporation of advanced IT functionalities. Future work will expand the compiler’s capabilities, optimize execution times, and enhance process data integration, supporting the shift toward modern, flexible automation technology.