CODESYS 4 – the web-based development environment

CODESYS®4 The web-based development environment

To view the video, cookies must be enabled in the "Advertising" section!

What is CODESYS 4?

Integrated, web-based development environment

CODESYS 4 is a new, web-based development environment for IEC 61131-3 programming. As a lean, platform-independent tool, it complements the proven CODESYS Development System 3, initially for library development in Structured Text. Additional features will be added on an ongoing basis over the next months.

CODESYS 4: Platform-independent software for efficient library development with automated builds and headless support.

Use case 1

CODESYS 4 for library development

Anyone who develops libraries for CODESYS controllers is familiar with the situation: version conflicts among team members, manual build steps, a powerful development system that offers more than is necessary for focused library work, and a Windows dependency that gets in the way on the company server or in the CI/CD process. CODESYS 4 is platform-independent and runs on all common operating systems. It can also be used in headless mode.

Typical Workflow: From the library to the automation project

01

Develop

Write your library in the ST Editor of CODESYS 4 or in the CODESYS Development System 3.

02

Versioning

Check your project directly into Git using file-based storage in text format, and compare changes in a way that makes them easy to track.

03

Automated build

Compile via CLI and integrate into a CI/CD pipeline: Every change is automatically built and tested against test cases.

04

Integration

Integrate the finished library into the comprehensive automation project in CODESYS Development System 3 and reuse it as needed by storing it in the library repository.

Release

 

The first release will be available in September 2026. You can use CODESYS 4 for free until at least the end of 2028. A paid licensing model will be introduced in 2029 at the earliest.

Use case 2

CODESYS 4 for simple applications

Those who build small machines, test benches, or device-integrated applications rarely need the full range of features; instead, they need a fast, seamless path from the project to the controller. A typical scenario: a CODESYS-native controller running on a Raspberry Pi, Linux hardware, or a Windows soft PLC, with a manageable number of I/Os connected via Modbus.

Typical Workflow: From the project to the controller

01

Create

Create a project in CODESYS 4 and select the CODESYS-specific target controller.

02

Program

Write logic in Structured Text and Ladder Diagrams using the modern ST Editor and the newly developed Ladder Editor.

03

Connecting I/Os

Set up a few digital and analog I/Os using the Modbus Configurator and map the I/O variables.

04

Load and monitor

Load the application onto the controller, monitor variables, and adjust parameters at runtime.

In the first version, only CODESYS-native runtimes are supported as target controllers: Raspberry Pi, Windows Soft-PLC, Linux, and Virtual Control for the simulation. Third-party hardware is not planned at this time.

This allows users to implement their first complete device projects without needing the full range of features offered by CODESYS Development System 3. Features such as online changes, debugging with breakpoints, ladder monitoring, and additional fieldbuses other than Modbus will follow in later releases. Until then, CODESYS 3 remains the right tool for these tasks. For simple application development and small projects, CODESYS 4 is ready for productive use right from the first version.

Advantages of the web-based development interface

Browser front end

Runs in common browsers (Firefox, Chrome, Edge, Safari, etc.) on Windows, Linux, or macOS; local installation is possible but not required.

Text-based project storage

Projects are stored as a collection of text files (JSON, XML) in a clear folder structure, not as a single binary file. This allows you to version and compare projects directly in Git.

CLI & CI/CD integration

You can control compilers and build processes via command line (CLI): the foundation for automated build pipelines.

Flexible back end

The back end runs on desktop PCs, corporate servers, or in the cloud, on Windows or Linux, and in the future, directly on high-performance control systems.

CODESYS 4 CI CD Pipeline

What does CI/CD mean for OT development?

CI/CD (Continuous Integration / Continuous Delivery) is a development approach from the IT world that is increasingly gaining traction in automation as well. Specifically, this means that when you change a function in your library, the code will automatically be compiled, tested against defined test cases, and released if successful. If a test fails, you will receive immediate feedback, regardless of who made the change.

Especially for projects that are developed over a longer period of time, this process prevents errors from creeping in or documentation from becoming outdated. Automated and documented development processes also make it easier to meet compliance requirements, such as those under the Cyber Resilience Act.

Interaction between CODESYS 4 and CODESYS 3

CODESYS 3 is and will remain the comprehensive tool for automation, featuring motion control, fieldbus stacks, visualization, and many powerful convenience functions. It will continue to be developed and maintained for the foreseeable future.

CODESYS 4 complements the Development System 3 as a lean, focused environment, initially for library development in Structured Text. Whereas the CODESYS Development System operates as a full-featured Windows application, CODESYS 4 relies on a browser-based front end, text-based storage, and CLI integration.

Runtime compatibility

Both tools use the same compiler and the same runtime system. This means that code compiled in CODESYS 4 runs on any controller that also executes CODESYS 3 code.

Interchangeable libraries

Libraries created in CODESYS 4 can be integrated into CODESYS 3 projects. Conversely, CODESYS 3 libraries can be used in CODESYS 4.

Convertible projects

A conversion tool allows projects to be transferred between the two platforms. The conversion may involve certain limitations in specific cases. Projects are not directly interchangeable between CODESYS 4 and CODESYS 3.

Centralized management

When the back end runs on a company server, all developers automatically work with the same version, including the appropriate device descriptions and libraries. There is no need to maintain different local installations.

Roadmap

Initial release (September 2026)

  • IEC 61131-3 editor for Structured Text (ST) and Ladder Diagram (LD)
  • Compiler for relevant target systems
  • Command-line interface (CLI) for build automation
  • Text-based project storage (JSON, XML) with a clear folder structure
  • Project and object organization

Future releases

  • Additional IEC 61131-3 languages (AS, FUP)
  • Graphical editors and configurators
  • Fieldbus stacks (planned launch: Modbus)
  • Integrated debugging (breakpoints, watch, online monitoring)
  • Refactoring, static analysis
  • Visualization, motion, OPC UA

Features

The initially limited feature set is a deliberate choice: The new architecture (file-based project storage, separation of front and back end, CLI, extension model) provides a future-proof foundation on which the feature set will grow with each release.

Would you like to test CODESYS 4 as an Early Adopter? Then fill out this form and click "Submit".

Curious?

Further information can be found in the interview with Kevin Ketterle.