10/7/2011 7:01 PM | |
Joined: 9/27/2006 Last visit: 8/31/2024 Posts: 12282 Rating:
|
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: 8/26/2024 Posts: 6846 Rating:
|
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 (153 Downloads) |
Last edited by: hdhosseini at: 10/9/2011 8:52 AM |
|
10/9/2011 8:54 AM | |
Joined: 1/28/2009 Last visit: 8/26/2024 Posts: 6846 Rating:
|
Dear trungchanhvo Please check this link: SIMATIC Programming with STEP 7 V5.5 Best regards |
10/9/2011 5:40 PM | |
Posts: 10 Rating:
|
Thanks so much. |
This contribution was helpful to
1 thankful Users |
Follow us on