Overview of the Ladder Editor
Tip
CODESYS Ladder is the modern "successor" of the CODESYS LD FBD (which is also still available). Objects which have been programmed in CODESYS LD FBD can be converted to CODESYS Ladder.
The editor of the CODESYS Ladder is a network-based editor for the IEC programming language, Ladder Diagram (LD). In the implementation part, you program a "circuit diagram" in one or more network elements. To do this, you can insert the required elements from the toolbox or by means of menu commands, link them, and provide them with input and output variables and modifiers.
Each network can be given with a title, a comment, and/or a jump label. You can also "comment out" networks.
Elements are inserted and replaced simply by dragging an element from the toolbox to one of the offered insertion positions.
The insertion positions are indicated by the following icons while dragging the element over the implementation line:
Square with a gray background inside an existing element symbol
Rhombus on a connecting line
Triangle pointing up or down for insertion above or below

The currently possible position "lights up", the mouse pointer gets a plus sign , and the element is inserted when the mouse button is released.
Currently selected areas in the editor are highlighted in red and outlined.
Suitable commands for modifying (Edge Detection, Set/Reset, EN/ENO), deleting, refactoring, searching, and so on are each located in the context menu.
In online mode, monitoring and debugging using breakpoints and the writing and forcing of values are possible.
The display in the editor is defined in the CODESYS options in the Ladder editor category. This covers, for example, the display of comments, addresses, or whether networks are provided with line breaks.
Programs which have been created in the CODESYS LD FBD editor can be read into the ladder editor and futher edited.