6/13/2006 8:34 AM | |
Joined: 8/31/2005 Last visit: 7/24/2024 Posts: 217 Rating:
|
Hi! The manual Programming with STEP 7 V5.4 (chapter 13 Creating STL Source Files) says: "You can enter your program or parts of it as an STL source file and then compile it into blocks in one step. The source file can contain the code for a number of blocks, which are then compiled as blocks in one compilation run. Creating programs using a source file has the following advantages:
And, as Late mentioned, the Command Interface of STEP 7 gives you the possibility to access the functionality of STEP 7 (SIMATIC Manager, HW Config, NetPro, etc.) in a Visual Basic program. See the attached help file for details. AttachmentCommandInterfaceManual.zip (1890 Downloads) |
Greetings, Chris |
|
This contribution was helpful to
1 thankful Users |
6/14/2006 12:35 PM | |
Joined: 8/31/2005 Last visit: 7/24/2024 Posts: 217 Rating:
|
Which version of VB do you want to use? VB 6.0 or .NET ? |
Greetings, Chris |
|
6/14/2006 12:47 PM | |
Posts: 85 Rating:
|
Either of it will do. I know V 6.0 so I would prefer that but if .NET makes life simple I don't mind using it. |
6/14/2006 2:16 PM | |
Joined: 8/31/2005 Last visit: 7/24/2024 Posts: 217 Rating:
|
Hi! The attached ZIP file contains an Microsoft Excel file. This file contains a sample code (VBA), that uses the STEP 7 command interface. There you will find some buttons, for different tasks like:
But remember: The sample program is freeware. Any user can use, copy and forward this program free of charge. The authors and owners of this program take no responsibility whatsoever for the functionality and compatibility of this software. Since this software is free of charge, there is no warranty nor entitlement to error correction and hotline support. AttachmentCommandInterface_Samplecode.zip (1735 Downloads) |
Last edited by: Chris at: 6/21/2006 7:56 AMRemoved example, since it is outdated. An updated example can be found below! Last edited by: Chris at: 6/19/2006 4:11 PMLast edited by: Chris at: 6/19/2006 8:44 AMNew version of sample file Last edited by: Chris at: 6/19/2006 8:27 AMGreetings, Chris |
|
This contribution was helpful to
3 thankful Users |
6/19/2006 4:22 PM | |
Joined: 8/31/2005 Last visit: 7/24/2024 Posts: 217 Rating:
|
Here is the new version of the Excel file. If you still get the error, is it again in the line "Setm_Simatic=NewSimatic"? AttachmentCommandInterface_Samplecode.zip (947 Downloads) |
Greetings, Chris |
|
This contribution was helpful to
3 thankful Users |
Follow us on