why use structured text and function block over Ladder

I'm hope this picture turns out OK. I kinda hacked it together. Since Ron was kind enought to show off some of the AB side languages I figured I would throw some Siemens up there.
From Left to Right:
LAD - Ladder editor
FBD - Function block
STL - Statement list
SCL - Structured control language

Also there is Graph but I have never used it.

The images for LAD, FBD and STL are all of the same rung. The SCL image is of something random but shows the basic structure.

Is there a picture like that that one can see what is in it?
 
An advantage over ladder with AB structured text is that the comments are loaded into the controller on download so will be available when uploaded if you don't have original project file. The disadvantage is that the comments take up memory which may be an issue on large programs. Also online editing of structured text is much slower than ladder as the entire routine has to be taken out for editing. It is slow to troubleshoot as you have to hover over each tag to get its value. As said in other posts I find it most useful for math and where a loop is required
Aidan
 

Similar Topics

I am curious on something with a Case Statement in Structured Text. I am not the greatest at it so I want to know if my assumption is wrong or...
Replies
5
Views
2,196
Is there a reason why Studio5000 structured text and function block seems incomplete? I have the license for them but it appears there are...
Replies
9
Views
2,735
I have read all the posts I can find on ramp functions. I need some help with getting a linear ramp output. I want to have a ramp function...
Replies
9
Views
7,407
Hello, I am using studio 5000 pro and am trying to figure out the structured text. Here's my scenario: An operator scans a barcode, the barcode...
Replies
15
Views
192
I have an expression in a structured text routine of a Logix controller that looks more or less like the following: ResultInteger := Integer1 *...
Replies
13
Views
389
Back
Top Bottom