Program
Structured Text to IEC 61131-3
A dedicated editor with its own compiler core that also understands object-oriented blocks.
- ST in use today; LD, FBD and SFC follow in the next versions
- Manufacturers’ device descriptions right in the project
ForgeIEC is control software for machine and plant builders: program to IEC 61131-3, run on Linux industrial computers, connect field devices and operator panels. Open source – a commercial licence is available on request.
PROGRAM Irrigation
VAR
moisture : REAL; (* soil sensor, % *)
rain : BOOL;
valve : BOOL;
runTime : TON;
END_VAR
runTime(IN := moisture < 30.0 AND NOT rain,
PT := T#20m);
valve := runTime.IN AND NOT runTime.Q;
END_PROGRAMForgeIEC covers the path from the program to the field device – with open licences and on hardware you choose yourself.
Program
A dedicated editor with its own compiler core that also understands object-oriented blocks.
Run
The runtime runs as a service on Linux computers with x86 or ARM. Programs reach the controller over the network.
Connect
Every protocol has its own bridge. If one fails, the rest keeps running.
Document
Every POU, variable and data type carries its own description in Markdown, stored in the same PLCopen XML file as the program – versioned, copied and shipped together with the code.
(* … *) comments into documentationstudio/editor-stRivet connects a phone to the controller. A small gateway next to the controller builds the connection outwards by itself – no port is opened in the plant’s network.
Rivet in detail in development · pilot with solidarity farms
ForgeIEC is a preview version (0.2). The ST editor is in productive use at the pilot customer; much else is in progress.
| Area | What it means | Status |
|---|---|---|
| Programming in ST | Editor, own compiler core, transfer to the controller | in use |
| LD, FBD, SFC | Graphical languages: planned for versions 0.3, 0.4 and 0.5, not compiled yet. IL is deprecated. | planned |
| Runtime on Linux | Anvil server (anvild) for Debian and Ubuntu, signed packages | in use |
| Modbus TCP and RTU | Connecting field devices via Modbus | available |
| LoRaWAN | Radio sensors for wide-area sites – our focus for the solidarity farms | in progress |
| EtherCAT, PROFIBUS, EtherNet/IP | Skeleton in place, protocols in progress; further buses follow | in progress |
| Hearth operator interface | Runs over the internal Anvil bus | preview |
| Rivet remote access | Secure access from a phone without port forwarding | in development · pilot |
| Windows | A Windows build exists and its CI runs; installer on request | on request |
| bellowsd OPC UA gateway | Package stays in the apt repository, not being developed at present | resting |
in use running at the pilot customer or available in progress being developed, not finished planned intended resting not in development at present
Information, not legal advice. The licence texts are authoritative.
SoLaWi Ackervielfalt, a solidarity farm, is ForgeIEC’s pilot customer: its control programs are written in the ST editor, which is in productive use there. More solidarity farms will follow.
You build machines or plants and want to try ForgeIEC in a pilot project? Write what you want to control – Jörg Bernau replies personally.