The FBD/LD/IL editor is a combined editor for graphical programming of the function block diagram, ladder diagram, or instruction list.
IL can be enabled in the CODESYS options if required: In the ⮫ “Dialog: Options: FBD, LD and IL ” dialog, on the “IL” tab, select the “Enable IL” option.
There is a shared set of commands and elements and CODESYS automatically converts each of the three programming languages into the others internally.
The code in the implementation part is structured in all three languages by means of networks.
The “FBD/LD/IL” menu contains the commands for working in the editor.
In offline and online mode, you can use the command to toggle between the editor views at any time.
The behavior of the FBD/LD/IL editor is defined by the settings in “Tools Options”, category ⮫ “Dialog: Options: FBD, LD and IL ” .




NOTICE

There are some special elements which CODESYS cannot convert, and therefore it displays only in the applicable language. There are also constructs which are not clearly convertible between IL and FBD and are therefore "normalized" (nullified) when converted back to FBD. This concerns the negation of expressions and explicit/implicit assignment of function block inputs and outputs.
An error-free conversion between the languages requires syntactically correct code. Otherwise parts of the implementation can be lost.
-
See also: ⮫ “Dialog: Options: FBD, LD and IL ”
-
FBD and LD editor
-
IL editor