The PLC program becomes the diagnostic program. Automatically.
AiFixThat PLC Diagnostic Program Generator: generate PLC fault diagnostics automatically. It reads the existing IEC 61131 PLC program regardless of vendor, detects actuators and drives and generates the matching monitoring including plain-text fault messages.
Download the brochure (PDF, German)FUNCTION_BLOCK FB_ReversingMotor VAR_INPUT i_bCmdRight : BOOL; // Command clockwise i_bCmdLeft : BOOL; // Command counter-clockwise i_bFbK1 : BOOL; // Feedback contactor K1 i_bFbK2 : BOOL; // Feedback contactor K2 i_bMotorProtOk : BOOL; // Motor protection Q1 OK END_VAR q_bK1 := i_bCmdRight AND NOT i_bCmdLeft AND NOT i_bFbK2 AND i_bMotorProtOk;| No. | Message text |
|---|---|
| 1001 | Motor M1: feedback K1 missing |
| 1002 | Motor M1: feedback K2 missing |
| 1003 | Motor M1: motor protection Q1 tripped |
| 1004 | Motor M1: feedback K1 and K2 at the same time |
Illustrative example · Reversing contactor circuit
Good diagnostics save hours at the machine. Programming them takes days nobody has.
Good diagnostic programs in the PLC are worth a lot. But hardly anyone writes them completely, because programming the PLC by hand takes a lot of time and there is usually none left at the end of a project.
The same legwork, again and again
The same monitoring and message texts for every motor, cylinder and valve — rewritten project after project.
Squeezed in at the end
Diagnostics are written last, when commissioning is pressing. Whatever is missing then often stays missing.
Downtime without a clue
If a check is missing, the machine stops at the customer’s site — and nobody can see why. Every minute of searching costs production.
The diagnostic program is already in the PLC program
AiFixThat extracts it: actuators, signals and dependencies are already described in the PLC program.
Time saved at commissioning
Monitoring and message texts are ready before the machine runs.
Consistent in every project
The same message structure and wording — no matter who wrote the PLC program.
Faster to the root cause
Clear messages naming the actuator and signal instead of searching through the PLC program.
No changes to the PLC program
The diagnostic program is added — the PLC program stays unchanged.
What goes in, what comes out
The starting point is what already exists. In the minimum case a memory dump from the running controller is enough: it shows the actual software version, not the one documented somewhere. The minimum requirements are a sequence program and an assignment list according to IEC 61131.
- The PLC sequence program and the PLC safety programThe existing program of the controller, including the safety program.
- The associated assignment listsThe symbolic names and comments of the inputs and outputs.
- Circuit diagrams, if availableThey improve the result but are not required.
- Result: diagnostic program with plain textThe result is a PLC diagnostic program with plain-text fault messages. It is loaded onto the target CPU and runs there in real time. Instead of “Station 3 stopped” it says, for example, “Cylinder 3B2 front end position not reached, sensor 3S4 reports no signal”.
Three steps to the diagnostic program
The existing PLC program is provided, AiFixThat generates the diagnostic program for it. The PLC program stays unchanged.
Upload PLC program
The existing PLC program is uploaded, just as it runs on the machine today.
Input: the PLC programActuators are detected
AiFixThat detects the actuators and drives the PLC program controls: motors, valves, cylinders, servos and their signals.
Actuators & signalsDownload the diagnostic program
The monitoring including message texts arrives as a separate diagnostic program and is added to the project.
Result: diagnostic program
How the program generator works
From the finished PLC sequence program to the diagnostic program: upload, order, download, use.
Typical monitoring and alarm messages per actuator
Examples of the monitoring AiFixThat generates for the detected actuators.
Motors & contactors
e.g. reversing contactor, star-delta
- Feedback missing
- Feedback without command
- Motor protection tripped
- Interlock violated (both directions)
Cylinders & valves
e.g. cylinder with two end positions
- End position not reached
- Travel time exceeded
- Both end positions reported at once
Servos & drives
e.g. positioning axis
- Drive fault
- Axis not ready
- Positioning not completed
Encapsulated, created offline, no AI in operation
The program generator is not an advisor, not a trainer and not an assistant. It works like a reliable control engineer who independently completes a clearly defined work package: creating the PLC fault diagnostic program with plain-text fault messages. The sequence program stays as it is. The diagnostic program is added as a separate building block.
- Encapsulated: the sequence program stays untouchedThe program and data of the diagnostics live in their own encapsulated data area. The diagnostic program does not touch any outputs of the existing sequence program, and no safety password is required. The sequence program, interlocks and safety functions stay as they are.
- Created offline, no AI in operationThe diagnostic program is created offline: decoupled from the rest of the sequence programming and decoupled from the controller’s runtime system. Only afterwards is it loaded into the runtime system with the usual development tools and tested there, under the supervision and responsibility of the operator. AI is only needed for generating. The finished diagnostic program runs independently on the controller, without AI in ongoing operation. The code is readable and is edited further in the usual PLC development system. It is not a black box.
- The know-how lies in how the AI is appliedAn AI alone does not write a usable diagnostic program. It must know how a plant is built, which signals belong together and how a message has to be worded to help at the machine. That knowledge lies in the program generator’s own skills, the rules and work instructions the AI follows. They contain 30 years of experience in automation.
In machine building and in ongoing operation
For new machines in development as well as for systems that have long been producing.
In machine and plant building
If the diagnostic program and plain-text fault messages are generated automatically, up to a third of the programming time can be saved in a typical automation project. The PLC developers focus on the sequence program, interlocks and safety functions. In this way PLC programming for diagnostics can be automated and development time in machine building reduced. If the fault messages are additionally tested automatically against a mathematical model of the machine, further savings at commissioning are possible.
For machines in ongoing operation
Many machines that have long been producing have patchy fault diagnostics. With the program generator they get complete fault diagnostics that output situation-specific fault messages in real time.
Built for PLC programmers
AiFixThat is a multi-tenant system developed specifically for PLC programmers. Project teams and company organisations can be managed in it. In full configuration the fault messages are tested automatically against the mathematical model and, if required, a human PLC expert reviews the result.
The modules of the program generator
Module 1 is bought online: upload the PLC program, see the price, pay, download. The price depends on the size of the PLC program. Modules 2 to 8 are available on request.
| Module | Content | Requirement |
|---|---|---|
| 1 | Diagnostic program and the matching plain texts | — |
| 2 | Local trace function | — |
| 3 | Historical alarm management and notifications in plain text | IoT gateway |
| 4 | Review and rework by a human PLC expert | — |
| 5 | Testing of the fault messages against the model | STEP file of the machine |
| 6 | HMI with 3D mirror | STEP file of the machine |
| 7 | Tenant and user management | — |
| 8 | Retrofit: converting PLC programs on a change of system | — |
Try it out: the reversing contactor circuit
A small example shows what AiFixThat makes of a reversing contactor circuit — with a PLC program to download.
The PLC program stays with the customer
A PLC program is full of know-how. That is why we use it exclusively for the agreed purpose. After the order is completed it is deleted or returned.
- Only for the agreed purposeThe PLC program is processed solely to generate the diagnostic program and is deleted or returned after the order is completed.
- Passed on only anonymisedThe PLC program is not shared with third parties, not sold and not published. The exception is processing in a cloud provider’s language model, if agreed, and that happens only anonymised. The authorisation is given with a checkbox of its own when uploading; a locally operated model is available on request.
- Encrypted transferUploads run exclusively over an encrypted connection (HTTPS).
- Rights to the resultWith payment, unlimited, transferable rights of use to the diagnostic program pass to the customer — including passing it on with the machines. Eberle remains the author.
Frequently asked questions about the program generator
Question not listed? We will answer personally.
Ask a questionWhat does the program generator do?
Can PLC code be generated automatically?
Does an AI then run on the controller?
Does AiFixThat check the PLC program for errors?
How can PLC alarm messages be created automatically?
How does AiFixThat use AI?
Which controllers are supported?
What happens to the uploaded PLC program?
Who holds the rights to the generated diagnostic program?
How is the program generator bought?
Can AiFixThat be tried out?
A conversation about the program generator
Questions about the program generator or a specific project? Simply pick a free slot.
- Free & non-binding
- Live look at AiFixThat
- about 30 minutes
Choose date & time
Vienna time (CET/CEST) · 30 minutes · online meeting
Contact details
Appointment reserved!
We will get in touch shortly at and confirm the appointment with a meeting link.