Course Content
Benefits of PLC
0/1
Overview of PLC Components
0/2
CPU – The Brain of the PLC
0/1
PLC Communication Module
0/1
PLC Basics Quiz
0/1
Ladder Logic (LAD) Programming
Ladder Logic Programming Basics
0/2
IL Programming Basics
0/2
ST Programming Basics
Structured Text (ST) Programming Basics
0/2
FBD Programming Basics
Function Block Diagram (FBD) Programming Basics
0/2
SFC Programming Basics
Sequential Function Chart (SFC) Programming Basics
0/2
Learn PLC Basics

Structured Text (ST) Programming Language

Structured Text (ST) is a text-based, high-level programming language defined in the IEC 61131-3 standard.

It is designed for writing complex algorithms and control flows, similar to traditional programming languages.

Key Features:

  • Supports conditional statements like: IF…THEN…ELSE
  • Supports looping constructs: WHILE…DO, FOR…TO

Expressions – An expression returns a value after evaluation

Composed of:

  • Operators (e.g., +, -, AND, OR)
  • Operands (constants, variables, function calls, or other expressions)

Expression Evaluation:

  • Follows operator binding rules:
    • Operators with higher precedence are evaluated first
    • Operators with the same precedence are evaluated left to right