Technical data
Setting Up and Editing the Project
6.6 Setting Up a Project
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 167
Using Blocks from Standard Libraries
You can also use blocks from the standard libraries supplied with the software to create user
programs. You access the libraries using the menu command File > Open. You will find further
information on using standard libraries and on creating your own libraries in Working with Libraries
and in the online help.
Creating Source Files/CFC Charts
You want to create a source file in a particular programming language or a CFC chart. To do this,
select the "Source Files" or "Charts" object in the S7 program and then select the menu command
Insert > S7 Software. In the submenu, you can select the source file that matches your
programming language. You can now open the empty source file and start entering your program.
You will find more information under Basic Information on Programming in STL Source Files.
Creating Programs for M7
You want to create programs for the operating system RMOS for a programmable module from the
M7 range. To do this, select the M7 program and then select the menu command Insert > M7
Software. In the submenu, you can select the object that matches your programming language or
operating system. You can now open the object you created to access the relevant programming
environment.
Creating a Symbol Table
An (empty) symbol table ("Symbols" object) is created automatically when the S7/M7 program is
created. When you open the symbol table, the "Symbol Editor" window opens displaying a symbol
table where you can define symbols. You will find more information under Entering Multiple Shared
Symbols in the Symbol Table.
Inserting External Source Files
You can create and edit source files with any ASCII editor. You can then import these files into your
project and compile them to create individual blocks.
The blocks created when the imported source file is compiled are stored in the "Blocks" folder.
You will find more information under Inserting External Source Files.