Technical data

Basics of Creating Logic Blocks
10.9 Saving Logic Blocks
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 265
10.9 Saving Logic Blocks
To enter newly created blocks or changes in the code section of logic blocks or in declaration
tables in the programming device database, you must save the respective block. The data are then
written to the hard disk of the programming device.
To save blocks on the hard disk of the programming device:
1. Activate the working window of the block you want to save.
2. Select one of the following menu commands:
- File > Save saves the block under the same name.
- File > Save As saves the block under a different S7 user program or under a different
name. Enter the new path or new block name in the dialog box which then appears.
In both cases the block is saved only if its syntax contains no errors. Syntax errors are identified
immediately when the block is created and are then displayed in red. These errors must be
corrected before the block can be saved.
Note
You can also save blocks or source files beneath other projects or libraries in the
SIMATIC Manager (by dragging & dropping, for example).
You can only save blocks or complete user programs to a memory card in the SIMATIC Manager.
If problems occur when saving or compiling large blocks, you should reorganize the project. Use
the menu command File > Reorganize in the SIMATIC Manager to do this. Then try to save or
compile again.