About code snippets
Code snippets are predefined blocks of code for inserting into a Structured Text routine. Type a keyword for a code snippet and then press
Tab
to insert the snippet into the routine. Fill in the parameters in the snippet, and then press Tab
to move from through the parameters. Each parameter is highlighted in orange.The following predefined code snippets are available:
- If ... Then
- Elsif ... Then
- Case ... Of
- For ... Do
- While ... Do
- Repeat ... Until
- #region ... #endregion
Provide Feedback