Technical data
Creating STL Source Files
13.5 Creating STL Source Files
Programming with STEP 7
292 Manual, 05/2010, A5E02789666-01
13.5 Creating STL Source Files
13.5.1 Creating STL Source Files
The source file must be created in the source file folder beneath the S7 program. You can create
source files in the SIMATIC Manager or the editor window.
Creating Source Files in the SIMATIC Manager
1. Open the appropriate "Source Files" folder by double-clicking on it.
2. To insert an STL source file select the menu command Insert > S7 Software > STL Source
File.
Creating Source Files in the Editor Window
1. Select the menu command File > New.
2. In the dialog box, select the source file folder of the same S7 program that contains the user
program with the blocks.
3. Enter a name for the new source file.
4. Confirm with "OK".
The source file is created under the name you entered and is displayed in a window for editing.
13.5.2 Editing S7 Source Files
The programming language and editor with which a source file is edited can be set in the object
properties for the source file. This ensures that the correct editor and the correct programming
language are started when the source file is opened for editing. The STEP 7 Standard package
supports programming in STL source files.
Other programming languages are also available as optional packages. You can only select the
menu command to insert the source file if the corresponding software option is loaded on your
computer.
To edit an S7 source file, proceed as follows:
1. Open the appropriate "Source Files" folder by double-clicking on it.
2. Start the editor required for editing as follows:
- Double-click the required source file in the right half of the window.
- Select the required source file in the right half of the window and select the menu
command Edit > Open Object.