Entering ST-Code
Enter your application in the ST-editor by writing code. Neuron Power Engineer provides the following possibilities for entering ST-code:
Possibility |
Note |
---|---|
input via keyboard |
Neuron Power Engineer highlights the errors so that you are able to create your application in ST correctly and quickly. |
Content assist is certainly one of the fastest methods to enter code. |
|
default features for Copy, Cut and Paste as certainly known from other applications |
|
Refactoring is certainly one of the fastest methods to edit the existing code. |
|
dragging and dropping variables from the Instances view |
Drag and drop the variable from the view into the body of a POU(ST).
|
The next table contains other useful possibilities to enter ST-code and information where to find the appropriate commands in Neuron Power Engineer:
Other possibility |
Meaning |
command in Neuron Power Engineer |
---|---|---|
enter proposal for the started word |
in menu Edit, Word Completion |
|
toggle comment for all currently selected lines |
from context menu in the ST-editor, Source, Toggle Comment |
|
format the code within the current selection |
from context menu in the ST-editor, Source, Format |
Neuron Power Engineer provides keyboard shortcuts for even more actions in ST-editor to quickly change, delete or select code and to quickly navigate within the ST-editor.