ST is another International Electrotechnical Commission (IEC) 61131-3 language (one of the five open international standards for programmable logic controllers) that can be used in your Logix applications. As the name implies, ST is a text-based programming language with a syntax that resembles Pascal (which it is based on) or Visual Basic for Applications (VBA). Like the other IEC 61131-3-based languages, it shares IEC common elements and reference tags, as well as objects created in other languages with your Logix program.
Before we begin writing our own ST programs, we will explore the typical uses and the editing environment in the following subsections. Let's first learn about the typical uses of ST.
Typical uses of ST
ST is extremely robust and is capable of matching the functionality of any other IEC-based language. However, you will find that ST is used sparingly in most automation projects. I have seen automation projects...