What is Structured Text Programming?

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language >

What is Structured Text Programming?

Previous pageReturn to chapter overviewNext page

Structured Text for TeslaSCADA2 is different from PLC programming language defined 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:

 

stexample

 

Try to see if you can understand the function of this program. Does Structured Text look familiar to you?