www.magazine-industry-usa.com
30
'26
Written on Modified on
CODESYS 4 launches for cross-platform web-based PLC development
The IEC 61131-3 environment introduces automated CI/CD library builds, text-based project storage, and native Linux support.
www.codesys.com

CODESYS Group has launched CODESYS 4, a new web-based IEC 61131-3 development environment for PLC programming. Released in September 2026 as version 1.0.0.0, the platform introduces native cross-platform support for Windows x64, Linux x64, and Linux ARM64, eliminating the need for virtual machines. While preserving the compiler and runtime foundation of CODESYS 3, this new environment modernizes industrial automation workflows with centralized team development and text-based project storage.
Modernized version control and automated builds
By separating its web-based graphical frontend from the compilation backend, CODESYS 4 enables flexible engineering and headless operations. Projects are now stored as directories containing JSON, XML, and plain-text files rather than proprietary binary blobs. This architectural shift allows automation teams to utilize standard IT version control systems like Git to track line-by-line changes, execute code reviews, and merge parallel contributions. Furthermore, a command-line interface allows developers to integrate PLC programming into Continuous Integration/Continuous Deployment (CI/CD) pipelines, enabling automated library builds without requiring a user interface.
Phased adoption and device integration
Designed to complement rather than immediately replace CODESYS 3, the new platform allows library projects to be opened in both environments. The initial 1.0.0.0 release focuses on production use for library development and small-scale device applications utilizing Modbus TCP. It includes a Modbus configurator for I/O mapping alongside Structured Text (ST) and basic Ladder Diagram (LD) editors. To facilitate centralized team engineering, the platform’s Linux deployment isolates each user session into a separate operating system process, ensuring that individual crashes do not impact the broader development team. CODESYS 4 remains free to use until the end of 2028.
Additional Context: Deterministic builds and dependency lock files
This section details software engineering principles and build determinism not included in the original press release.
In modern software engineering, ensuring a "deterministic build" means that compiling the same source code will always yield the exact same binary output, regardless of when or where the compilation occurs. Traditional PLC development often struggled with this due to hidden dependencies or floating library versions. CODESYS 4 addresses this by introducing Libraries.json and Libraries.lock.json files. While the JSON file declares the required libraries using semantic versioning ranges (e.g., 3.5.*), the lock file records the exact resolved version of every dependency alongside a cryptographic SHA-384 checksum. When a CI/CD server triggers an automated headless build via the c4-cli command-line tool, it references this lock file to download and link the exact same dependencies used on the original developer's workstation. This cryptographic verification prevents supply chain vulnerabilities and ensures that the final compiled library behaves identically in the field as it did in the testing environment. Edited by an industrial journalist, Lekshman Ramdas, with AI assistance.
www.codesys.com

