In this chapter, we will explore the strengths and weaknesses of Structured Text (ST) programming by examining the typical uses of this language and building several small sample applications. As you will soon learn, there are some instances where writing ST programming can have many advantages over Ladder Logic and Function Block, such as real-time mathematical calculations.
This chapter will cover the following ST topics:
- Applying ST programming
- Writing structured routines
- Using ST operators
- Using expressions
- Understanding instructions
- Using the OSRI instruction
- Understanding the ST constructs
In the first section of this chapter, we will provide a brief overview of ST programming.
Technical requirements
To complete ...