You are here

PLC

Structured Text is PLC programming language defined in IEC 61131-3. The program can be written in text editor then it is compiled by compiler and finally it is downloaded to the PLC where it will run. In this tutorial, we shall use visual studio (from Microsoft) and TwinCat 3.1 based development from Beckhoff. Both Microsoft and Beckhoff provide all needed tools that can be used for learning purpose without limit.
Structured programming is similar to PASCAL programming language.

In this section:
Setup Visual Studio
Setup TwinCat 3.1
Create first "Hello PLC world" program
Running the program in Visual Studio Simulator
Running the program in PLC device
Various Structured Text Blocks
Communicating ADS devices from windows PC
Create and running OPC UA client program in Beckhoff PLC