S5/S7 AI Copilot
Copilot in S5/S7 AI for Windows® is an AI-assisted tool for analyzing, understanding and diagnosing PLC projects. It can use the open project, selected block, active network and, when requested, current values from a connected PLC.
Copilot supports the engineer but does not replace technical review, safety assessment or commissioning tests.
Typical uses
- explain blocks, networks and signal flow;
- find write locations, enable conditions and interlocks;
- analyze project structure and important blocks;
- include live PLC values in diagnostic questions;
- evaluate recorded signals and timing;
- explain or draft S7 STL/AWL code;
- create technical summaries.
Starting Copilot
- Open the required S5 or S7 project.
- Display the relevant block or network.
- Open Copilot.
- Select the required AI provider.
- Ask a specific technical question.
Examples:
Explain the currently open block. Where is Q 8.0 written? Which conditions block the motor enable? Analyze the open PLC project.
The available providers and required settings are described here: Copilot access to AI
Project context
Copilot automatically collects relevant information from the open project. Depending on the question, this may include:
- project and block structure;
- the active block and network;
- symbols, addresses and cross-references;
- data flow and write locations;
- diagnostic information;
- requested live values.
The more precisely the question identifies a signal, block or observed behavior, the more useful the answer will be.
Analyze
The Analyze button requests a technical overview of the current
PLC project. The result covers project structure, important blocks, data flow,
technical risks and open questions.
Live values
With an active online connection, Copilot can include current PLC information in an answer. Examples include:
- CPU operating state;
- diagnostic buffer;
- specific operands;
- specific data block fields;
- status information for the active S7 block.
Examples:
Read the current value of Q 8.0. Is the enable currently active? Why is pump 1 not running?
Use a specific data address such as DB13.DBX0.0,
DB13.DBW4 or DB13.DBD20. A complete block such as
DB13 is not a single live value.
Signal recording and timing
Signals can be recorded over time and evaluated by Copilot.
Record I 0.0 and Q 8.0. Stop the recordings. How long did it take from I 0.0 to Q 8.0? Show all rising edges of M 10.0.
Recorded values are useful when the cause of a fault cannot be determined from a single snapshot.
File attachments
Depending on the selected provider, Copilot can process supported images, PDF files, text files and source code files. Files are checked for readability, size and format before they are sent.
Good diagnostic questions
Good questions contain the affected signal and the observed behavior:
Q 8.0 remains off although I 0.0 is on. Which condition is missing? Where is DB36.DBX3.1 set and reset? Which network creates the motor enable?
Avoid questions without project context such as What is wrong?.
Important limitations
- AI responses can be incomplete or incorrect.
- Generated PLC code must be reviewed and tested before use.
- Live values are available only with a suitable online connection.
- Project data may be transferred to the selected AI provider.
- Use only providers approved by your organization for confidential projects.