Enter module references in the Structured Text editor

Within the structured text editor window, you can enter module references using these methods:
  • Type the name for the module reference parameter or module into the expression.
  • Choose a module reference parameter or module from the in-place
    Module Browser
    .
There are two types of module references displayed in the Module Browser:
  • The
    Parameters
    folder at the top lists any module reference parameters.
  • The
    I/O Configuration
    folder lists the available modules.
To use the Module Browser to enter a module reference:
  1. Position your cursor where you want to add or edit the module reference, click the right mouse button, and choose
    Browse Devices
    .
  2. When the browser appears, select the module reference from the list of available module reference parameters and modules. When you accept the module reference, it is inserted into your routine as follows:
    • If your cursor was positioned in white space, the module reference is inserted at your cursor location.
    • If your cursor was in a word, the module reference replaces the word.
    • If you had selected text within the routine, the selected module reference replaces the selected text.
      Text following the new module reference is adjusted as necessary. When you enter a module reference in this way, its name is automatically entered into your structured text and is recognized as a module reference when you apply the line of text, as long as the containing statement is valid.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.