Dut editor, Fbd/ld/il editor, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 680

L-force | PLC Designer
General Editors
678
DMS 4.1 EN 03/2011 TD29
13.7
DUT Editor
User defined data types can be created in the Data Unit Type editor (DUT editor). This
is a text editor and behaves according to the currently set text editor options.
The DUT editor will be opened automatically in a window when adding a DUT object in
the Add object dialog. In this case it provides by default the syntax of an extended
structure declaration, which then might be changed as desired to a simple structure
declaration or to the declaration of another data type unit, for example an
enumeration.
The editor also opens when you open an existing DUT object currently selected in the
POUs view.
Abb. 367 DUT editor window
13.8
FBD/LD/IL Editor
A combined editor is available for editing POUs in the languages FBD (Function Block
Diagram), LD (Ladder Diagram) and IL (Instruction List).
This means a common set of commands and elements is used and an automatic
internal conversion between the three languages is done. In offline mode the
programmer always can switch to one of the other editor views (View as...).
Notice anyway, that there are some special elements, which cannot get converted and
thus will only be displayed in the appropriate language. Also there are some constructs
which cannot get converted unambiguously between IL and FBD and therefore will be
"normalized" at a conversion back to FBD. This concerns: Negation of expressions and
explicit/implicit output assignments.
The FBD/LD/IL Editor is available via the 'Network List Editor' plug-in. Behaviour, look
and menus are defined by the settings in the Customize and Options dialogs. See there
especially for the options concerning the display of comments and addresses.
The editor will open in a bipartite window, when editing an object programmed in
FBD/LD/IL, the upper part containing a declaration editor.
The programming language for a new object is specified when creating the object via
command 'Add Object'.