OpenPLC Runtime is a programmable logic controller execution environment designed to run industrial automation programs developed with OpenPLC Editor v4. It supports applications created using IEC 61131-3 programming languages, including Ladder Logic, Function Block Diagram, and Structured Text. Uploaded programs are compiled into dynamically loaded shared libraries and executed through a C/C++ engine with real-time priority scheduling. A dedicated Flask service handles communication with the editor through a REST API and WebSocket interface. An extensible plugin architecture enables integration with different hardware platforms and I/O drivers. Security mechanisms include TLS encryption, JWT authentication, and file upload validation. The runtime supports x86-64, ARM64, and ARM32 architectures with native and Docker deployment options.
Features
- Execution of IEC 61131-3 industrial automation programs developed through OpenPLC Editor v4
- Deterministic PLC scan cycles through real-time C/C++ execution and priority-based scheduling
- Integrated REST API for program deployment, compilation monitoring, and runtime execution management
- WebSocket debugging interface with real-time variable inspection and forcing capabilities
- Extensible hardware integration through configurable I/O driver plugins and modular architecture
- Multi-architecture Docker deployment with TLS encryption, JWT authentication, and program upload validation