- Studio 5000 Logix Designer
- Tasks, programs, and routines
- Add-On Instructions
- Controller Organizer
- Logical Organizer
- Alarms
- Tag-based alarms
- Tag Editor and Data Monitor
- Configure settings for Tag Editor and Data Monitor
- Equipment phases
- Equipment Sequences
- Equipment Sequence Diagrams
- Ladder Editor
- Structured Text Editor
- Sequential Function Chart Editor
- Define the steps of an SFC process
- PlantPAx instruction properties
- Controller Properties
- Editing Controller Properties
- Controller Security
- Source Protection
- License Source Protection for Routines and Add-On Instructions
- Module Information
- 1756 ControlLogix I/O Modules
- Instruction Set
Enter Structured Text logic
Enter structured text statements, such as loop, conditional, and instruction statements, in the
Structured Text Editor
.To enter structured text logic:
- Create a new structured text routine or open an existing routine to open theStructured Text editor.
- On theStructured Text Element toolbar, click the applicable instruction group tab to add an instruction.
- Click and drag an instruction onto a text line in the structured text editor view. Double-click an instruction to add it at the cursor location.The instruction name text is added to the text line.TIP:In the text window, hover over an instruction to open a tooltip that lists the expected parameters.
- To create a tag with a type associated with an instruction, move the cursor over the instruction name, right-click, and selectCreate Instruction Tag...to open theCreate Tag dialogwith the data type defaulted to the associated instruction type.
- Modify the structured text statements as necessary. Complete the parameters for instructions.
- Use theArgument List dialogto define the arguments for these parameters. Use theTag Browserto quickly select the desired tag to reference. To open theTag Browser, right click and chooseBrowse Tags.
- To select a module for a GSV, SSV, or Add-on Instruction, right-click and chooseBrowse Devicesto show the module browser.
- Verify the routine that contains the syntax of structured text logic. To verify a routine, right-click it in theController Organizerand selectVerify Routine. Errors in the text are sent to theOutput Window.After a routine has verified successfully, all referenced items will be the correct ones based on syntax.TIP:The tag cross reference and tag tooltips may be incomplete for structured text logic until the routine verifies successfully. Tags will not show up in the cross reference view until their syntax is correct.
Provide Feedback