Sídlo Česká republika
Beckhoff Automation s.r.o.

Sochorova 23
61600 Brno, Česká republika

+420 511 189 250
info.cz@beckhoff.com
www.beckhoff.com/cs-cz/

TwinCAT 3 Engineering: One engineering environment, multiple access routes

Delivering engineering that builds a bridge between automation and IT, TwinCAT has been at the heart of PC-based control at Beckhoff Automation for more than three decades. Initially TwinCAT 2 and then TwinCAT 3, the story is now set to write its next chapter with TwinCAT IDE – a web-based, cross-platform, and AI-native solution providing an additional route into TwinCAT 3 Engineering.

TwinCAT is changing – from TwinCAT 2 to TwinCAT IDE

1996: TwinCAT 2

TwinCAT 2 – the starting point: In TwinCAT 2, engineering was performed using two separate tools and extension functions. Different tasks were completed in the environments designated for each one.

2010: TwinCAT 3 XAE

TwinCAT 3 XAE – integration into Visual Studio: With TwinCAT 3, the tools became more closely integrated. Integration with Visual Studio also combined automation and software development to create a single engineering environment.

2026: TwinCAT 3 IDE preview

TwinCAT 3 IDE – a look ahead to web-based access: TwinCAT IDE expands TwinCAT 3 Engineering to include a web-based, cross-platform environment.

Visual Studio: Integration that has set standards

TwinCAT 3 provides the basis for integration with Microsoft Visual Studio.
TwinCAT 3 provides the basis for integration with Microsoft Visual Studio.

TwinCAT 3 moved engineering into Visual Studio – the environment in which software is developed worldwide. Since then, configuration, programming, and debugging have been combined in a single tool.

The advantages:

  • IT and OT in a single tool: As development tools for high-level languages evolved into comprehensive engineering environments, TwinCAT 3 brought automation directly into that world.
  • File-level version control: TwinCAT projects consist of individual files. This means that changes can be versioned, compared, and added to the team with Git or similar tools.
  • C++ and other languages: In addition to the IEC 61131-3 languages, real-time modules can also be created in C++ or MATLAB® and Simulink®.
  • Open to the future: In retrospect, this openness has paid off, as projects can be built automatically via the Automation Interface – the foundation for CI/CD, automated processes, and AI.
  • Familiar to the next generation: Anyone who uses Visual Studio for programming in higher education will quickly find their way around automation projects, lowering the barrier to entry.

The principle remains the same: integration. TwinCAT 3 IDE delivers this in a web-based, VS Code-compatible environment that provides an additional access route alongside Visual Studio. TwinCAT 3 remains the common foundation.

TwinCAT 3: A platform for parallel engineering worlds

Two engineering environments, one project format: TwinCAT 3 combines XAE and IDE on the same platform.
Two engineering environments, one project format: TwinCAT 3 combines XAE and IDE on the same platform.

TwinCAT 3 forms the foundation of both engineering environments and provides a common project environment for the entire platform – from PLCs and HMIs to motion control, measurement technology, and communication. Whether you’re in TwinCAT 3 XAE or TwinCAT 3 IDE, you work on the same project, in the same format, without conversion, and with TwinCAT PLC++ as the PLC technology. The connection extends beyond the project format. AI-assisted tools and the System Manager CLI are also designed to serve as common building blocks for both engineering environments.

TwinCAT IDE provides engineering capabilities via a web-based interface. It is officially supported on Windows and Linux®, and can also run in a container (to provide virtualized development environments, for example). Thanks to its small footprint, TwinCAT IDE can also be delivered directly with the control system and accessed from there in a browser. Programmers and technicians can access the development environment for relevant tasks without being tied to a local desktop installation.

As the TwinCAT 3 Basis system uses a common file format, TwinCAT 3 projects can be opened in both the existing engineering environment and TwinCAT IDE without the need for conversion. Familiar workflows are retained and tools, dialog boxes, and editors are consolidated in a harmonized interface:

  • standardized framework with defined layouts
  • text editor based on Monaco
  • common block editor as the foundation for PLC++, Analytics, Simulation, and HMI
  • integrated configurators
  • VS Code-compatible environment

XAE and IDE: A direct comparison

How can TwinCAT IDE be used?

On your own computer

Local engineering on your own computer, with Windows and Linux® as possible deployment environments.

Directly on the machine

Ideal for service and maintenance on the machine: Establish a connection via a browser and start work immediately on the right project in the right version.

The same AI agents in every engineering environment

TwinCAT 3 CoAgent connects specialized AI agents from both TwinCAT XAE and TwinCAT IDE to Beckhoff tools and knowledge via MCP.
TwinCAT 3 CoAgent connects specialized AI agents from both TwinCAT XAE and TwinCAT IDE to Beckhoff tools and knowledge via MCP.

The TwinCAT 3 CoAgent is already deploying specialized AI agents to provide support within the TwinCAT XAE Shell for PLC programming, I/O configuration, HMI, and searching the Beckhoff Information System. The decisive factor is the interaction between domain-specific agents, tools, and the project context – not just the chat window.

The Model Context Protocol (MCP) is an open standard that connects AI applications to tools and knowledge. You can add your own tools to those provided by the MCP servers, which include PLC, I/O, and HMI tools, in addition to Beckhoff knowledge. The agents plan the steps and MCP standardizes tool access. These same MCP servers can be used from within TwinCAT XAE as well as TwinCAT IDE and other MCP-compatible applications, including CLI tools.

DevOps and CI/CD: From idea to machine and back again

TwinCAT fits into your workflow, from initial commitment to insights from operation. CI/CD automates repetitive steps in the development process. DevOps provides a connection between collaboration, operation, and feedback, creating a continuous cycle.

In the future, it will be possible to build, test, and deploy TwinCAT projects in headless mode via the command line and without a graphical development environment. This is ideal for build servers and CI runners when used in combination with the PLC++ stand-alone compiler. The System Manager CLI is set to replace the COM-based TwinCAT Automation Interface in the future. As the CLI is part of the TwinCAT 3 Basis system, it works equally well in XAE and TwinCAT 3 IDE. It is not a feature that is exclusive to either environment.