Chapter 7. Writing Structured Text

In this chapter, we will explore the strengths and weaknesses of structured text programming by exploring the typical uses for this language and building several small sample applications. This chapter will cover the following structured text topics:

  • Writing structured text routines
  • Structured text operators
  • Structured text expressions
  • Structured text instructions
  • Structured text constructs

An introduction to structured text programming

Structured text (ST) is another IEC 61131-3 language, which can be used in your Logix applications. As the name implies, structured text is a text-based programming language with a syntax that resembles Pascal (on which it was based) or Visual Basic for Applications (VBA). Like other ...

Get Learning RSLogix 5000 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.