Eclipse 4diac 3.1 - New and Noteworthy
Welcome to the Eclipse 4diac project! The Eclipse 4diac 3.1 release is scheduled for March 11, 2026. Eclipse 4diac can be downloaded from the project's downloads page.
Here are some of the more noteworthy items available in this release.
4diac IDE
The 3.1 release of the 4diac IDE focuses on modernizing the user interface and providing more powerful tools for managing complex projects and data structures.
Highlights
Struct Member Access & F_MOVE Improvements
Working with complex data structures is now significantly more intuitive. The F_MOVE block and other generic variables now fully support Member Access Pins.
- Direct Configuration: Users can now configure pins for specific struct members directly on
F_MOVEblocks. - Recursive Resolution: The “Follow/Go-to pin” handlers now recursively resolve member pins, even for deeply nested struct members.
- Validation: Connections to member access pins are validated against the underlying struct field type to prevent mapping errors.
Enhanced Folder Refactoring
Managing large libraries is now easier with support for Move and Rename refactoring for folders. The IDE automatically updates all internal type references and package names for the types contained within the affected folders.
User Interface & Experience
- Modernized Look: A new soft drop shadow has been introduced around the main pages. The interface bars for SubApps and CFBs have been cleaned up by removing unnecessary borders.
- Seamless Graphical Editing:
- Connections can now be created across different graphical editor boundaries.
- Re-enabled canvas panning using Middle Mouse or Space + Left Mouse.
- Improved Screen Scaling (HiDPI): Reworked graphical commands to use absolute positions and sizes, ensuring a stable UI on high-resolution displays.
- Dark Mode Optimizations: Added dedicated dark mode colors for interface bars, comment figures, and NatTable tree arrows to improve readability.
- Improved Error Navigation: Hidden error connections between SubApps are now correctly shown. The “Go to Marker” action now focuses the relevant interface when the connection itself is not visible.
- Comment Handling Improvements:
- Improved default comment size and hover feedback.
- Fixed display of multi-line comments and several import/export escaping issues.
Functional Improvements
- Advanced Event Connection Logic: When inserting a Function Block into an execution chain, the IDE now intelligently picks the first output event that already has an existing connection as the source.
- ST Editor Enhancements: Added language-aware task markers (e.g., TODOs) and common marker types shared across all Structured Text languages.
- Deployment Initial Values: A new “Initial Values” tab has been added to deployment launch configurations, including support for member input variables.
Bug Fixes
- Stable Type Hashes: Switched hash generation from XMI to IEC 61499 XML to prevent “unstable” hashes caused by local file references.
- Security: Added path normalization before unzipping files to prevent “Zip Slip” vulnerabilities.
4diac FORTE
The 3.1 release of 4diac FORTE introduces significant architectural cleanups, specifically targeting library modularity and communication efficiency.
Core Architecture
IEC 61131-3 Function Library Modularization
The standard function library has undergone a major refactoring. Functions are now split into individual headers. This modularity:
- Improves compile times.
- Allows for more granular inclusion of only the required math and conversion functions.
- Cleanly separates math definitions from conversion logic.
Memory & Performance Optimizations
- FreeRTOS Integration: Optimized thread stack initialization to prevent unnecessary memory allocation. In FreeRTOS, the stack is now initialized as
nullptrwhen only the size is required, saving valuable RAM on embedded targets. - String Efficiency: Migrated several internal helpers to use
std::string_viewto avoid temporary string allocations during object lookup and creation.
OPC UA & Communication
- Alarm & Condition Support: Refactored the OPC UA Alarm state fetching and object creation to better support SIFB-based alarm handling.
- Namespace Handling: Updated the namespace delimiter for struct type handling to ensure better compatibility with standard OPC UA clients.
- Startup Diagnostics: Added detailed help messages when FORTE is unable to create a device due to missing shared libraries or linker flag issues.
New Function Blocks & Logic
- New Blocks: Added
SPLIT_DWORD_INTO_BYTESand updatedASSEMBLE_DWORD_FROM_BYTESfor consistent 4-byte handling. - Composite FB Enhancements: Added support for delegating connections within Composite FBs, including improved handling of SIFBs inside CFBs and outgoing events.
- Generic Array Handling: Improved
VALUES2ARRAYandARRAY2VALUESlogic for updating InOut array bounds from reference values with variable bounds.
Releng & Documentation
- CI/CD: GitHub workflows now run on all branches to ensure stability across the development lifecycle.
- Doxygen: Major cleanup of the Doxyfile and documentation paths for the standard function library (
stdfblib).