The Execute
element is a block with EN/ENO that you can insert in an FBD or LD network and that you can fill with ST code. The ST code is executed when the block is activated for processing with a TRUE signal at the EN input.
Drag the Execute
element from the toolbox into the network or execute the command to insert the element.
Step |
Action |
Comment |
---|---|---|
1 |
Click the input field with the text |
The ST editor opens providing the usual functionalities. |
2 |
Enter ST code. |
The necessary variable declarations are inserted in the declaration section of the FBD/LD/IL function block. |
3 |
Complete entering code by clicking out of the block or pressing + . |
– |