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)
  • IEC 61131 · vendor-independent
  • Motors · valves · cylinders · servos
  • Confidential · used only for the agreed purpose
  • An offering of Eberle · Austria

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.

  1. Upload PLC program

    The existing PLC program is uploaded, just as it runs on the machine today.

    Input: the PLC program
  2. Actuators are detected

    AiFixThat detects the actuators and drives the PLC program controls: motors, valves, cylinders, servos and their signals.

    Actuators & signals
  3. Download 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.

32 seconds, no sound, on-screen text in German

In the video the PLC sequence program is finished, and the diagnostics would still have to be programmed by hand. With AiFixThat the PLC program is uploaded and ordered, the generated diagnostic program with plain-text fault messages is downloaded and loaded into the controller with the usual tools. The machine runs. The message texts in the video are an illustrative example.

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.

ModuleContentRequirement
1Diagnostic program and the matching plain texts—
2Local trace function—
3Historical alarm management and notifications in plain textIoT gateway
4Review and rework by a human PLC expert—
5Testing of the fault messages against the modelSTEP file of the machine
6HMI with 3D mirrorSTEP file of the machine
7Tenant and user management—
8Retrofit: 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 question
What does the program generator do?
The AiFixThat program generator automatically creates the diagnostic program (often also called an alarm or fault message program) from an existing PLC program: monitoring and plain-text fault messages for the actuators the program controls — such as motors, valves, cylinders and servos.
Can PLC code be generated automatically?
For fault diagnostics, yes. The program generator uses AI to create a complete diagnostic program with plain-text fault messages from the existing PLC program. The in-house specialists continue to program the sequence program, interlocks and safety functions.
Does an AI then run on the controller?
No. AI is only used when the diagnostic program is generated. The result is classic PLC code that works deterministically and in real time, like any other program in the controller.
Does AiFixThat check the PLC program for errors?
No. AiFixThat neither checks nor changes the existing PLC program. It uses the PLC program as a basis and additionally generates the matching diagnostic program.
How can PLC alarm messages be created automatically?
The existing PLC program is uploaded. AiFixThat generates the monitoring for the actuators from it, including faults and warnings, message texts and the alarm list — instead of programming them message by message. The result is then added to the project.
How does AiFixThat use AI?
AiFixThat generates the diagnostic program with the help of AI: it identifies the actuators and drives in the PLC program and generates the matching monitoring, messages and message texts. The PLC program itself remains unchanged.
Which controllers are supported?
The basis is a sequence program and an assignment list according to IEC 61131.
What happens to the uploaded PLC program?
The PLC program is processed solely to generate the diagnostic program and is deleted or returned after the order is completed. It is not shared with third parties. The exception is processing in a cloud provider’s language model, if agreed, and that happens only anonymised. The transfer is encrypted. More under Confidentiality & legal.
Who holds the rights to the generated diagnostic program?
Eberle remains the author of the diagnostic program. With payment, the transferable rights of use, unlimited in time and territory, pass to the customer: the diagnostic program may be adapted, integrated into machines and systems and passed on to customers together with them. All rights to the customer’s own PLC program remain with the customer.
How is the program generator bought?
Online, without a quote: upload the PLC program on the Try it page. AiFixThat determines its size and states the price. After the order the diagnostic program is generated. After payment the diagnostic program with its plain-text messages is ready for download, and the invoice arrives by email. The additional modules (trace function, test on the model, review by a human PLC expert and others) are available on request via Contact.
Can AiFixThat be tried out?
Yes. The Try it page shows what AiFixThat generates for a reversing contactor circuit — including a download. A PLC program can also be uploaded there.

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
Julian Kräutler
Ansprechpartner