Request a quote
Benešl Automation / TIA MCP / Service diagnostics

The machine has stopped. TIA MCP tells you why – and where to look.

The maintenance technician asks in plain language. TIA MCP traces the PLC program back from the symptom, fills in live values from the CPU and shows the blocking condition: the device, terminal and page in the EPLAN schematic, the operating manual chapter and what to check. It writes nothing to the PLC.

Answer from the demo machinetia_diag_why

Machine stopped – “Automatic mode enable” is missing.

Cause
Safety guard closed -B12 is not active (0).
Where
input I 3.4, terminal X2:14, cabinet +S1, schematic p. 23
What to check
Safety guard closed – OK? LED on input I 3.4? 24 V at X2:14?
Manual
ch. 5.3 Safety guards, p. 2
Confidence
high (live value from the PLC via PLCSIM)

Safety circuit – fix it only by a physical repair or an acknowledgement per the manual, never disable the protection.

Real output of tia_diag_why · demo filling station in S7-PLCSIM Advanced

What it looks like at the machine

Two faults on a demo machine in S7-PLCSIM Advanced: an open safety guard and a sequence waiting for the level sensor. Every answer in the video is a real TIA MCP output, the recording is only shortened.

The technician's question, the path in the program, the EPLAN schematic, the operating manual and the service report (49 s, no sound)

From the symptom to the device

The technician doesn't need to know which block to look in. TIA MCP follows the signal backwards until it hits the condition holding it – and turns that into a place on the machine.

  1. Symptom

    "Automat_uvolnen" 0

    Just say what isn't working – in words, by signal name or by alarm number. Without a symptom TIA MCP starts at the machine's main enables and drives.

  2. The program, traced back

    "Kryt_zavren""NotAus_OK""Porucha_souhrn""Automat_uvolnen" 0100

    Contacts, SET/RESET, timers, comparisons and sequence steps in LAD, FBD and SCL. A live value from the CPU for every condition.

  3. The device in the schematic

    -B12 · X2:14 · +S1

    From the EPLAN PDF: device, terminal, cabinet and drawing page (here p. 23). Without a schematic the device is taken from the tag comment.

  4. What to do

    ch. 5.3 Safety guards

    The operating manual chapter, what to measure (LED on the input, 24 V at the terminal) and, for safety circuits, a reminder never to disable the protection.

Live values from whatever the CPU offers

TIA MCP tries the sources one by one and uses the first that answers. Every value shows where it came from.

SourceWhen it worksWhat it reads
CPU OPC UA serverS7-1500 and S7-1200 G2 with the server enabledSymbolic names including optimized DBs. Password only over an encrypted connection with the verified CPU certificate.
CPU web server (Web API)S7-1500 with the web server enabledSymbolic names, operating mode, diagnostic buffer and active CPU alarms.
S7 communication PUT/GETS7-300 and S7-400 always, S7-1200 and S7-1500 with PUT/GET permittedInputs, outputs, bit memory and non-optimized data blocks, decoded by data type.
S7-PLCSIM AdvancedSimulation and virtual commissioningAll tags of the simulated CPU.
Watch tableWhen the CPU can't be reachedTIA MCP prepares the table _MCP_Diag, the technician copies the values from TIA Portal and the diagnosis continues.

A fault that comes and goes

The recorder watches selected signals and waits for a trigger – say, a drive dropping out. It keeps the 30 seconds before it and shows what dropped first.

  • Trigger on an edge, a value or a comparison, e.g. "Pohon" falls
  • Runs in the background, the result with the order of changes and a CSV of samples
  • For PLC-cycle accuracy it also evaluates a TIA Trace measurement export
Conveyor sensor -B31 Automatic mode enable Conveyor drive -M1 trigger 1 2 30 s before the trigger
From the demo machine: first the sensor dropped, then the drive.

Safe at a running machine

The diagnostics is built for the shop floor, not the engineering office. It helps find the cause and bypasses nothing.

  • Read only

    Writes nothing to the PLC, no forcing, no writing of variables. The only change to the project is an optional watch table.

  • Never suggests a bypass

    For emergency stops, safety guards and light curtains it reminds you never to disable the protection.

  • Passwords stay out of the chat

    Only from a file or an environment variable. The OPC UA password only over an encrypted connection with the verified CPU certificate.

  • Easy on the CPU

    Connections are held only for the duration of a query, so they don't take resources SCADA or MES need.

  • A profile for service

    The technician gets only reading and diagnostic tools – the program can't be changed.

  • No guessing

    When a value can't be read, the answer says so, lowers the confidence and suggests what to add.

What you need

  • A Windows PC with TIA Portal V17–V21 and the machine's project
  • An AI assistant: Claude, ChatGPT, Copilot or a local AI without internet
  • Network access to the CPU (OPC UA, web server or S7) – otherwise a watch table will do
  • Optionally the EPLAN schematic and the operating manual as PDFs with a text layer

Answers in Czech, English, German and Polish – including the PDF service report.

TIA MCP PRO

295 € / year per computer, excl. VAT

Service diagnostics is part of the PRO licence, together with all other TIA MCP tools.

Buy online

The launch discount codes have already been used up. For a special offer, contact us at licence@benesl-automation.cz.

Or try it free for 7 days

FAQ

Want to see the diagnostics on your own machine? Write to us and we'll show it on your project.

Does the technician need to know PLC programming?

No. They ask in plain language and get an answer in terms of device, terminal and what to check. The path in the program is there for review, they don't have to read it.

What if we don't have EPLAN, only a PDF, or nothing at all?

A PDF exported from EPLAN with a text layer is enough. Without a schematic TIA MCP takes the device tag from the tag comment, for example -B12.

Does it work on S7-300 and S7-400?

Yes, live values are read over S7 communication PUT/GET. The program is read from the project in TIA Portal.

Can it read optimized data blocks?

Via OPC UA and the CPU web server, yes. S7 PUT/GET can't read optimized blocks – TIA MCP says so and uses another source or a watch table.

Can it write anything to the PLC or change the program?

No. The diagnostics only reads. The only change to the project is the optional watch table _MCP_Diag, created only with write mode on.

How reliable is the answer?

Every cause comes with a confidence and the source of the value. When a value can't be read, the answer says so and suggests what to add.

Does it work without internet?

TIA MCP runs on your PC and the licence is checked offline. Without internet you can use it with a local AI such as Ollama or LM Studio.

Can it find a fault that only shows up now and then?

Yes. The recorder waits for a trigger and shows the order of signal changes before it. For PLC-cycle accuracy it also evaluates a TIA Trace export.

Is the technician at the machine waiting for a programmer?

With TIA MCP PRO they find the cause themselves – in the program, the schematic and the manual. Try it on your machine.

Overview of all TIA MCP tools · What else TIA MCP can do