12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix CStructured Text ProgrammingIntroductionThis appendix describes issues that are unique with structured textprogramming. Review the information in this appendix to make sureyou understand how your structured text programming will execute.For Information AboutSee PageStructured Text Syntax 659Assignments 661Expressions 663<strong>Instructions</strong> 670Constructs 671Comments 687Structured Text SyntaxStructured text is a textual programming language that uses statementsto define what to execute.• Structured text is not case sensitive.• Use tabs and carriage returns (separate lines) to make yourstructured text easier to read. They have no effect on theexecution of the structured text.Structured text is not case sensitive. Structured text can contain thesecomponents:Term Definition Examplesassignment(see page 661)Use an assignment statement to assign values to tags.The := operator is the assignment operator.Terminate the assignment with a semi colon “;”.tag := expression;659 Publication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!