| View previous topic :: View next topic |
| Author |
Message |
King_gen Junior

Joined: 21 Jun 2015 Posts: 13
|
Posted: 20/07/2015 22:21 Post subject: Siemens Application Project + STL to LAD conversion |
|
|
Can someone upload a link to a real life project using siemens STEP 7.Also,can someone convert this STL into LAD for me or explain to me how I would go about converting it.
A M 0.1
BEC
L 0
T DB10.DBW 4
AN I 1.5
R DB10.DBX 3.0
R DB10.DBX 3.1
AN I 1.4
= DB10.DBX 4.0
A(
A Q 100.0
O Q 100.1
)
= DBX 5.2
A I 0.5
= DBX 5.0
A Q 87.0
= DBX 5.1
ALSO:
L QB 86
L B#16#F8
AW
T #TEMP11
L QB 86
L DB22.DBB 5
AW
L 0
<>I
JC M001
M003: L #TEMP11
L DBB 4
OW
T QB 86
JU M002
M001: A Q 86.0
A Q 86.1
A Q 86.2
O
A Q 86.0
A Q 86.1
O
A Q 86.0
A Q 86.2
O
A Q 86.1
A Q 86.2
JC M003
M002: L QB 86
L B#16#7
AW
T DB10.DBB 69 |
|
| Back to top |
|
 |
maersk Member 3


Joined: 17 Aug 2014 Posts: 891
|
Posted: 21/07/2015 18:40 Post subject: Re: Siemens Application Project + STL to LAD conversion |
|
|
| King_gen wrote: | Can someone upload a link to a real life project using siemens STEP 7.Also,can someone convert this STL into LAD for me or explain to me how I would go about converting it.
| Code: | A M 0.1
BEC
L 0
T DB10.DBW 4
AN I 1.5
R DB10.DBX 3.0
R DB10.DBX 3.1
AN I 1.4
= DB10.DBX 4.0
A(
A Q 100.0
O Q 100.1
)
= DBX 5.2
A I 0.5
= DBX 5.0
A Q 87.0
= DBX 5.1
|
ALSO:
| Code: | L QB 86
L B#16#F8
AW
T #TEMP11
L QB 86
L DB22.DBB 5
AW
L 0
<>I
JC M001
M003: L #TEMP11
L DBB 4
OW
T QB 86
JU M002
M001: A Q 86.0
A Q 86.1
A Q 86.2
O
A Q 86.0
A Q 86.1
O
A Q 86.0
A Q 86.2
O
A Q 86.1
A Q 86.2
JC M003
M002: L QB 86
L B#16#7
AW
T DB10.DBB 69 |
|
Find examples on this link.
http://plc.myforum.ro/application-examples-vf33.html
STL to LAD Conversion I'm afraid it's not possible. There are some instructions which cannot be converted on LAD. |
|
| Back to top |
|
 |
maersk Member 3


Joined: 17 Aug 2014 Posts: 891
|
Posted: 21/07/2015 18:41 Post subject: Re: Siemens Application Project + STL to LAD conversion |
|
|
| King_gen wrote: | Can someone upload a link to a real life project using siemens STEP 7.Also,can someone convert this STL into LAD for me or explain to me how I would go about converting it.
| Code: | A M 0.1
BEC
L 0
T DB10.DBW 4
AN I 1.5
R DB10.DBX 3.0
R DB10.DBX 3.1
AN I 1.4
= DB10.DBX 4.0
A(
A Q 100.0
O Q 100.1
)
= DBX 5.2
A I 0.5
= DBX 5.0
A Q 87.0
= DBX 5.1
|
ALSO:
| Code: | L QB 86
L B#16#F8
AW
T #TEMP11
L QB 86
L DB22.DBB 5
AW
L 0
<>I
JC M001
M003: L #TEMP11
L DBB 4
OW
T QB 86
JU M002
M001: A Q 86.0
A Q 86.1
A Q 86.2
O
A Q 86.0
A Q 86.1
O
A Q 86.0
A Q 86.2
O
A Q 86.1
A Q 86.2
JC M003
M002: L QB 86
L B#16#7
AW
T DB10.DBB 69 |
|
Find examples on this link.
http://plc.myforum.ro/application-examples-vf33.html
STL to LAD Conversion I'm afraid it's not possible. There are some instructions which cannot be converted on LAD. |
|
| Back to top |
|
 |
King_gen Junior

Joined: 21 Jun 2015 Posts: 13
|
Posted: 21/07/2015 20:12 Post subject: |
|
|
Code:
A M 0.1
BEC
L 0
T DB10.DBW 4
AN I 1.5
R DB10.DBX 3.0
R DB10.DBX 3.1
AN I 1.4
= DB10.DBX 4.0
A(
A Q 100.0
O Q 100.1
)
= DBX 5.2
A I 0.5
= DBX 5.0
A Q 87.0
= DBX 5.1
ALSO:
Code:
L QB 86
L B#16#F8
AW
T #TEMP11
L QB 86
L DB22.DBB 5
AW
L 0
<>I
JC M001
M003: L #TEMP11
L DBB 4
OW
T QB 86
JU M002
M001: A Q 86.0
A Q 86.1
A Q 86.2
O
A Q 86.0
A Q 86.1
O
A Q 86.0
A Q 86.2
O
A Q 86.1
A Q 86.2
JC M003
M002: L QB 86
L B#16#7
AW
T DB10.DBB 69
OK kool but can you explain the various operations that are taking place??? I`m not familiar with the syntax yet |
|
| Back to top |
|
 |
jfrc Junior

Joined: 13 Mar 2014 Posts: 4
|
Posted: 22/07/2015 17:47 Post subject: |
|
|
| You can put the cursor over the instruction and press F1, it will open the help for that instruction with examples. |
|
| Back to top |
|
 |
gecko1 Member


Joined: 24 Nov 2013 Posts: 225
|
Posted: 23/07/2015 18:19 Post subject: |
|
|
| jfrc wrote: | | You can put the cursor over the instruction and press F1, it will open the help for that instruction with examples. |
SIMATIC S7-SCL V5.3 for S7-300/400
http://www.datafilehost.com/d/d80863a5 |
|
| Back to top |
|
 |
|