Beruflich Dokumente
Kultur Dokumente
Contents Page
Project Management
SIMATIC Manager
Hardware
FB21
OB1
Process Software
Process When you take a closer look at a process you want to automate, you will find
that it is made up of a multitude of smaller sections and sub-processes, which
are all interlinked and dependent on one another.
The first task is therefore to break down the automation process as a whole into
separate sub-tasks.
Hardware and Each sub-task defines certain hardware and software requirements which must
Software be fulfilled by the automation system:
• Hardware:
- Number and type of inputs and outputs
- Number and type of modules
- Number of racks
- Capacity and type of CPU
- HMI systems
- Networking systems
• Software:
- Program structure
- Data management for the automation process
- Configuration data
- Communication data
- Program and project documentation.
Project Structure Data is stored in a project in the form of objects. The objects in a project are
arranged in a tree structure (project hierarchy). The tree structure displayed in
the project window is similar to that in the Windows 95 Explorer. Only the icons
for the objects are different.
Project Hierarchy 1st. Level: The first level contains the project icon. Each project represents a
database where all the data relevant to the project is stored.
2nd. Level: • Stations (e.g. S7-300 Station) are where information about
the hardware configuration and parameter assignment data
of modules is stored.
Stations are the starting point for configuring the hardware.
• S7 Program folders are the starting point for writing
programs. All the software for a parameter-assignable
module from the S7 range is stored in an S7 Program
folder. This contains further folders for the blocks and
sources of the program.
• Subnets (MPI,Profibus, Industrial Ethernet) are part of an
overall network.
3rd. and subsequent levels: Depends on the object type of the next-higher level.
or
Starting the There is an icon "SIMATIC Manager" on the Windows desktop and a
SIMATIC Manager "SIMATIC Manager" program item under SIMATIC in the Start menu.
You activate the program just like all other Windows applications by double-
clicking on the icon or via the Start menu
User-interface After installation, the main tool is available as an icon on the Windows desktop.
The SIMATIC Manager manages the S7 objects such as projects and user
programs.
By opening an object, the associated tool for editing is started. A double-click on
a program block starts the Program Editor and a block can be edited (object-
oriented start)
Note You can always obtain online help for the current window by pressing the F1
function key.
Titlebar
Menubar
Toolbar
Statusbar
Taskbar
Titlebar The titlebar contains the window title and the buttons for controlling the window.
Menubar Contains all the menus available for the current window.
Toolbar Contains the most frequently used tasks as symbols. These symbols are self-
explanatory.
Taskbar The taskbar contains all open applications and windows as buttons.
The taskbar can be positioned on either side of the screen by using the right
mouse button.
S7 Memory Card
Define Filter
Activate Filter
Enter project
name here
and confirm
with "OK"
Creating a Project Select the menu options File -> New or the symbol in the toolbar to open
the "New" dialog box for creating a new project or a new library.
Enter the project name in the "Name" box and confirm by clicking the "OK“
button.
Notes 1. The “Storage location (path)“ displays the path that was preset in the
SIMATIC Manager under Options -> Customize.
2. As of STEP 7 V3.2, there is the 'New Project‘ Wizard to help you create a
new project.
Inserting a Program Select the menu options Insert -> Program -> S7 Program to insert a new
program into the current project.
When you insert an object, the system automatically gives it a relevant name,
e.g. "S7 Program(1)".
You can then change this name if you like.
Offline The offline view displays the project structure stored on the hard disk of the
programming device. It displays this in the project window of the SIMATIC
Manager.
The "S7 Program" folder contains the objects "Sources" and "Blocks".
The "Blocks" folder contains the system data created with HWConfig and the
blocks created with the LAD/STL/FBD Editor.
Online The online view displays the project structure stored in the CPU. It displays this
in the project window of the SIMATIC Manager.
The "S7 Program" folder only contains the object "Blocks".
The "Blocks" folder contains:
• system data blocks (SDB)
• user blocks (OB, FC, FB)
• system-own blocks (SFC, SFB).
Offline.
Introduction Libraries are used to store blocks without project assignment. These blocks can
be created in the library, can be copied into and out of it, but cannot be tested.
The library structure is set up as hierarchical just as the project structure.
Standard STEP 7 contains a Standard Library, that was stored in the STEP 7 Software
Library folder e.g. C:\Siemens\Step7\S7libs\stlib30 after STEP 7 was installed. You can
access these standard blocks from the SIMATIC-Manager with "Open-
>Libraries".
Communication FCs for communication between the CPU and the distributed I/O via
Blocks communication processors with S7-300.
TI-S7 Converting Generally usable standard functions such as analog value scaling
Blocks
IEC Function Blocks for IEC functions (IEC: International Electrotechnical Commission),
Blocks such as for processing time and date, for comparison operations, for string
processing and for selecting maximum and minimum.
PID Control Blocks Function blocks (FBs) for PID closed-loop controls.
System Function System functions (SFCs) and System function blocks (SFBs).
Blocks
Note Additional libraries are added when option software are installed.
Hot words Certain words are hi-lighted in green and are underlined with a broken line in the
help texts (so-called "Hot words"). A mouse click on these "Hot words" leads to
a further help text with detailed information.
Note You can find additional information on STEP 7 in the electronic manuals. These
can be opened when you choose the menu options Start -> Simatic -> S7
Manuals.
Enter project
name here
and confirm
with "OK"
Notes Libraries are used for storing blocks in which standardized functions are
implemented. The blocks can be copied from the library into any project you
wish and at the same time - should it be necessary, because a block already
exists with the same number - be given a new number.
Task For later use, the FC105 block is to be copied from the STEP7 "Standard
Library" into the project "My_Project" in the Blocks folder of the S7 Program
"My_Program" .
Result The FC 105 block is stored in the Blocks folder of your S7 Program
"My_Program" in addition to the still empty OB 1.
Task Perform a CPU memory reset and check whether the memory reset was
successful.
What To Do • Perform the memory reset according to the steps in the slide above
• Check the success of the memory reset. The memory reset was successful
when only system blocks (SDBs, SFCs, SFBs) are left in the CPU
in the SIMATIC Manager, select the S7 Program folder "My_Program" ->
switch to the Online view using
Notes When the CPU memory is reset, all user data in the CPU are deleted.
To make sure that no “old” blocks are left in the CPU, a memory reset of the
CPU should be performed. The following takes place during a memory reset:
• All user data are deleted
(with the exception of the MPI parameter assignments).
• Hardware test and initialization
• If an Eprom memory card is installed, the CPU copies the EPROM contents
back into the internal RAM after the memory reset.
• If no memory card is installed, the preset MPI address is retained. If,
however, a memory card is installed, the MPI address stored on it is loaded.
• The contents of the diagnostic buffer (can be displayed with the PG)
are retained.
“Language" Tab • Language: You can select the language you want to use for the SIMATIC
Manager, menus, dialog boxes, help, etc.
Only the languages that have been installed appear in the list.
• Mnemonics: You can select the mnemonics you want to use for
programming the S7 blocks.
"View" Tab This is where you specify what is to appear in the online display.
"Columns" Tab This is where you specify which columns are to be displayed when the Detail
view is switched-on (see “Help“).
"Archive" Tab The archiving of projects will be discussed in the Chapter “Documenting,
Saving, Archiving“.