plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Siemens Application Project + STL to LAD conversion

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> SIMATIC Automation Systems -Reg.U
View previous topic :: View next topic  
Author Message
King_gen
Junior
Junior


Joined: 21 Jun 2015
Posts: 13

PostPosted: 20/07/2015 22:21    Post subject: Siemens Application Project + STL to LAD conversion Reply with quote

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
View user's profile Send private message
maersk
Member 3
Member 3
maersk

Joined: 17 Aug 2014
Posts: 891

PostPosted: 21/07/2015 18:40    Post subject: Re: Siemens Application Project + STL to LAD conversion Reply with quote

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
View user's profile Send private message
maersk
Member 3
Member 3
maersk

Joined: 17 Aug 2014
Posts: 891

PostPosted: 21/07/2015 18:41    Post subject: Re: Siemens Application Project + STL to LAD conversion Reply with quote

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
View user's profile Send private message
King_gen
Junior
Junior


Joined: 21 Jun 2015
Posts: 13

PostPosted: 21/07/2015 20:12    Post subject: Reply with quote

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
View user's profile Send private message
jfrc
Junior
Junior


Joined: 13 Mar 2014
Posts: 4

PostPosted: 22/07/2015 17:47    Post subject: Reply with quote

You can put the cursor over the instruction and press F1, it will open the help for that instruction with examples.
Back to top
View user's profile Send private message
gecko1
Member
Member
gecko1

Joined: 24 Nov 2013
Posts: 225

PostPosted: 23/07/2015 18:19    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> SIMATIC Automation Systems -Reg.U All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro