With the text editor, you edit and debug the code in the IEC 61131 programming languages IL and ST (or in the languages you have integrated by yourself) and define user-defined data types.
What's new?
Improved Edit Wizard with drag & drop for inserting statements, blocks, global and local variables
Multiple Undo/Redo
Autoindent
Bookmarks
Outlining with tooltip The screenshot above shows an example for outlining with a tooltip: To improve the clearness of textual code, the content of loops or conditional statements can be hidden by simply folding the corresponding code area with a click of the mouse (see no. 1 in the figure). When positioning the mouse pointer on hidden code, a tooltip appears displaying the contained code.
Beneath these new features, you find well tried functions:
Thanks to syntax highlighting you always keep an overview even in case of more complex code constructions: It issues the different language elements with different colors and this way you can distinguish between keywords, variables or comments at a glance.
With the IntelliSense function you no longer need to enter already declared variables and structure element names - comparable to an automatic completion.
Automatic precompile while editing: This simplifies the code development as errors and non-declared variables are marked. The figure above shows some examples: (2): Syntactical errors: a semicolon is missed after the red underlined variable 'Temp'. (3): The string XYZ, marked red in the figure, has been inserted as placeholder by means of the Edit Wizard and has to be replaced by the user. (4): The variable 'Drain1' (underline green) is not yet declared.