STL to LAD

Stikstof

Member
Join Date
Jun 2008
Location
Antwerp
Posts
3
Hello all,

Since I'm upgrading a Siemens S5 PLC to S7-1200, I need convert the S5-STL program to LAD, because the S7-1200 doesn't support the STL language.
Since it's been a while that I worked with STL there are a few samples of code that Step7 can't convert to LAD automatically that I want to get checked out to see if I interpreted them correctly.

NW2_1: Are the Or branches correct, and the following AN?
NW2_3: Why is there no time value? does this mean that the time is zero, of does the S5 uses the same time value from the previous timer in the program?
NW7_11: I can just leave out all the brackets, right?

Thanks for your help!

PAL NW2_1.jpg PAL NW2_3.PNG PAL NW7_11.PNG
 
1: OK
2: Uses whatever value is currently in ACCU1, if it's a valid S5Time
Check whatever value is loaded to ACCU1 in the previous statements.
For the LAD equivalent, we prefer to use the S_ODT-block with correct variable as time setpoint value.
3: Remove brackets, substitute A for O in the 2nd and 3rd statement.
 

Similar Topics

Hi.Can I convert the block written in stl mode below to ladder mode? L #InOctet SLD 3 L #InBit OW T...
Replies
2
Views
535
i hope you could help me to convert the network Stl to lad it's apart from program of machine and i try to find solution for the reason of error...
Replies
10
Views
1,898
Hi, Im about to edit a SCL program from a FB but this error appeared "The Maximum number of lines that can be processed was exceeded". I can't do...
Replies
4
Views
1,963
Hello, I'm working on my master thesis on university. Main goal of it is to compare PLC programming languages in Siemens (LAD, FBD, SCL, STL)...
Replies
30
Views
12,040
We have an issue with the trigger of a scanner (M21.3). Problem is, I need to convert the code first into a LAD kidna thing because it is too...
Replies
5
Views
1,677
Back
Top Bottom