Unitronics Brings AI-Assisted PLC Programming to the UniLogic Engineering Environment
UniLogic AI Prompt Generator prepares application requirements and programming rules for generating Structured Text code with an external AI assistant. The workflow supports PLC development and code review, while engineering validation and testing remain essential.

Artificial intelligence is becoming an increasingly important tool in the development of industrial control systems. PLC manufacturer Unitronics has expanded the capabilities of its UniLogic engineering software with an AI-assisted workflow designed to simplify the generation, modification and analysis of PLC programs.
The new functionality, known as UniLogic AI Prompt Generator, allows engineers to describe machine requirements in natural language and use external AI models to generate Structured Text (ST) code tailored to the UniStream control platform.
The development addresses one of the most time-consuming stages of industrial automation engineering: transforming functional machine specifications into executable control logic.
From Machine Specifications to PLC Code
Conventional PLC development requires engineers to define operating sequences, establish variables and manually implement the control logic needed to operate industrial equipment.
With the new AI-assisted workflow, development begins by describing the machine and its functional requirements.
A guided interface within UniLogic collects information about the application's purpose, operating modes, control sequences and required protective functions. Engineers can also incorporate existing inputs and outputs, project variables and data structures.
Using this information, UniLogic generates two Markdown files. The first contains the application requirements, while the second provides programming rules and platform-specific constraints for UniStream controllers.
The engineer then supplies these files to an external AI assistant, which generates the corresponding Structured Text code.
The resulting program can be imported into UniLogic, where the software creates the required functions, global variables and user-defined data types.
This approach allows AI to support control software development without replacing the engineering environment or the validation procedures required before deployment.
Designed Around IEC 61131-3 Structured Text
The generated logic uses Structured Text, one of the programming languages defined by the international IEC 61131-3 standard for programmable controllers.
A significant limitation of general-purpose AI models is that they do not necessarily understand the programming conventions, supported functions and data structures of a particular PLC platform.
The UniLogic AI Prompt Generator addresses this challenge by incorporating Unitronics-specific development rules into the engineering request.
As a result, the selected AI model receives instructions intended to produce code compatible with the target environment rather than generic Structured Text examples that may require extensive modification.
According to Unitronics, the workflow supports the use of different AI platforms, including Claude, ChatGPT and Gemini.
Supporting Code Generation, Modification and Review


The AI functionality extends beyond the creation of entirely new PLC applications.
Engineers can use the workflow to generate individual Structured Text functions, modify existing logic, produce code comments and prepare technical documentation.
Additional capabilities include AI-assisted code review to identify potential issues and support for adapting control logic from other PLC platforms to UniLogic-compatible Structured Text.
These functions make the technology relevant not only to new machine development but also to the modernization and maintenance of existing industrial control systems.
For automation engineers working across multiple projects, the approach could reduce the time required for routine programming tasks and allow greater attention to machine behavior, control architecture and process optimization.
Engineering Validation Remains Essential
Despite the potential benefits of AI-generated programming, Unitronics emphasizes that the technology is intended to assist qualified engineers rather than replace them.
After importing generated code, UniLogic provides tools for reviewing assumptions, identifying unresolved parameters and highlighting sections that require further attention.
Engineers must still assign variables to physical I/O channels, verify operating parameters, resolve compilation errors and test the resulting application against actual equipment behavior.
Safety-related functions, protective interlocks and emergency operating conditions must be explicitly specified and independently validated.
AI-generated logic may provide a useful starting point, but it cannot be considered ready for industrial operation without appropriate engineering review, testing and commissioning.
A Changing Approach to Industrial Control Software
The introduction of AI-assisted development tools into specialized PLC programming environments reflects a broader evolution in industrial software engineering.
Instead of focusing exclusively on writing individual program instructions, engineers can devote more attention to functional requirements, operating sequences and the overall behavior of automated machinery.
Unitronics' development illustrates a practical approach to integrating artificial intelligence into industrial automation: using AI to support code generation, documentation and analysis while keeping final engineering decisions and responsibility firmly under human control.
The technology represents another step toward more efficient control software development, with the potential to change how industrial automation projects are prepared and implemented.
Sources
Unitronics Uses AI to Take PLC Logic from Machine Requirements to Code in Minutes
UniLogic AI: Generating Structured Text Applications
MASTER Industrial Journal


