PLC STL Understanding.

parco

Member
Join Date
Apr 2004
Location
Karachi Pakistan
Posts
30
Dear frinds,
hello all,
kindly any body from PLC world can help me regardign how can i read & understand PLC program in STL formate, and kindly define the following legends, is it possible to convert STL to Ladder formate, i need meaning of these LEGENDS .this is A programe kindly make it easy how to Understand it,

net work:
O M 83.5
O A 44.1
U DB5.DBX20.3( WHAT IS THIS ).
UN DB5.DBX151.2
S DB5.DBX151.4
UN M 83.5
UN A 44.1
U A 40.0
U DB5.DBX151.4
O DB5.DBX151.2
R DB5.DBX151.4

GIVE ME HINT HOW CAN I READ THIS PROGRAM N MEANING OF LEGENDS USED IN THIS PROGRAM.
 
parco

It looks like you are using the German mnenomics, I only work in English so I don't know the German ones.

Anyway, you were asking about:-

U DB5.DBX20.3

The U stands for AND (I assume that is AND, as I stated I don't know the German mnenomics), the DB5.DBX20.3 is the address of the bit in Data Block 5, Data Byte 20 bit 3.

If for example you wanted to address a bit in data block 100, byte 4 bit 6, it would look like this:-

A DB100.DBX4.6

Does that help?

Paul
 
Hello parco;

If you have step 7 installed on your computer, you will find a STL manual in your Simatic/Documentation folder. You could also download it (Working with STL) from Siemens' support website.

Let's look at your program snippet:
(German)(English)
U ---> A = AND ---> --[ ]--
O --> O = OR --> branch down
UN --> AN = AND NOT --> --[/]--
R --> R = Reset --> --[R]--
S --> S = Set --> ----

You will also find :

= --> = = Output coil --> --( )--

Addressing:
M addresses refer to internal flags or registers
A (Ausgang) refers to outputs
E (Eingang) refers to inputs
DB refer to Data Blocs, as Paul explained earlier

Here is a translation from STL to ladder (Notice it requires 2 netyworks in ladder; purists would say this is one advantage of STL, compact code):

STL.JPG


Hope this helps,
Daniel Chartier
 

Similar Topics

Hello i have a project with a 100 parking slot. I made the ladder but i must convert it to stl . how can i do it?
Replies
1
Views
1,945
Hi dear enthusiasts;), I am taking a PLC course where we use Festo PLC (FC660). I did some LDR programming before and not until recently I...
Replies
9
Views
6,753
FUNCTION FC 34 : VOID AUTHOR: _48011 NAME: DATUMW // DAT UM W VAR_INPUT DBQL :word; // DBQL AAQL :word; //...
Replies
15
Views
4,335
Hello dear users As you know in Siemens S7_300/400 plc,after you create your program in FBD or Lad or STL,you can Generate source from your...
Replies
7
Views
3,249
how to be a Professional Siemens PLC STL programmer anyone teach me how?? what are the steps to become a legend on STL ??
Replies
63
Views
29,707
Back
Top Bottom