Code editor

The code editor tab contains a text editor that allow users to write their code in Structured Text.

It is one of the IEC 61131 programming languages.

It contains the Toolbar, the text editor and the message box.

Toolbar

The toolbar contains all the function buttons to create, build and upload your project into devices.

New... [CTRL + N]

Create a new project. A template will be loaded. Templates are stored in the ./templates folder into Device Manager root folder. if a different template is needed, rename the custom template in template.st

Open... [CTRL + O]

Opens a saved project. The default folder is ./project under Device Manager root folder.

A open form is shonw. Only .st files can be loaded.

Save... [CTRL + S]

Save project file in the default directory. At the first time a save form is shown to select the filename.

Save as... [CTRL + SHIFT + S]

Save the project file with a different name. A save form is shown to select the filename.

Find... [CTRL + F]

Find text in the editor. A popup is shown to start the find process.

F3 button will highlight the next occurence of text. SHIFT + F3 highlight the previous occurence.

Replace... [CTRL + R]

Replace text in the editor. A popup is shown to start the replace process.

By default it replace every occurences of text, to choose which replace and which not, select Prompt on Replace

Build

Build the project file and generate a .bin file to upload on device.

The output is shown in the message box at the bottm of Code Editor.

Upload Firmware...

Starts the upload process of the binary file to device. A progress bar will appears to show the upload status.

Clicking the cancel button, the upload process can be aborted.

Text editor

A simple text editor to create the IEC project. Highlights may help users to write their code.

The entire program must be written here.

The status bar shows the cursor position (row, columns, char number) and other informations about the code.

Message box

All the system message are shown here. Operation on the project's file.