10/7/2011 7:01 PM | |
Joined: 9/27/2006 Last visit: 5/13/2024 Posts: 12257 Rating: (2667)
|
Hello trungchanhvo; Do you mean, how to declare variablers in a function in LAD? Because the snippet of program you offer shows how to declare TEMP variables in STL. The attached document will show you an explanation of the declaration area of FCsand FBs in LAD. It is taken from this manual: SIMATIC Working with STEP 7 V5.5 Hope this helps, Daniel Chartier |
10/8/2011 11:27 PM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating: (1359)
|
Dear trungchanhvo Check chapter 13 of the following manual to create blocks
in STL with source files.Also check the attachment for creating different types of blocks with this method . Also check section "13.2.2 Rules for Declaring Variables in STL Source Files "of the mentioned manual on how declare variables in the this method. SIMATIC Programming with STEP 7 V5.5
Best regards Attachmentsource.pdf (147 Downloads) |
Last edited by: hdhosseini at: 10/9/2011 8:52 AM |
|
10/9/2011 8:54 AM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating: (1359)
|
Dear trungchanhvo Please check this link: SIMATIC Programming with STEP 7 V5.5 Best regards |
10/9/2011 5:40 PM | |
Posts: 10 Rating: (1) |
Thanks so much. |
This contribution was helpful to1 thankful Users |