What is Structured Text Programming?
Structured Text for TeslaSCADA2 is different from PLC programming language deﬁned by PLCOpen in IEC 61131-3. The programming language is text-based, compared to the graphicsbased Function Block Diagram. If you are already familiar with high-level programming languages like Java, PHP, Python and C, Structured Text will seem familiar to you. The syntax of Structured Text is developed to look like the syntax of a high-level programming language with loops, variables, conditions and operators. Before you read this tutorial I recommend that you take a brief look at this TeslaSCADA2 program written in Structured Text:
Try to see if you can understand the function of this program. Does Structured Text look familiar to you?