Anda di halaman 1dari 19

The SIMATIC Manager

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.1

Contents Page
Objectives ................................................................................................................................... 2
From Process to Project .............................................................................................................. 3
STEP 7 Project Structure .............................................................................................................. 4
Interesting Facts about Multiprojects ........................................................................................... 5
Creating an S7 Project ............................................................................................................ 6
Inserting an S7 Program ......................................................................................................... 7
Standard Library ............................................................................................. 8
STEP 7 Help System ................................................................................................................... 9
Context-Sensitive Help in STEP 7 ................................................................................................ 10
Setting the PG/PC Interface ......................................................................................................... 11
Project: OFFLINE / ONLINE View .............................................................................. 12
"Accessible Nodes": ONLINE View (project-independent) ......................................................... 13
Erasing a Memory Card (Memory or MMC Card) ........................................................................ 14
Exercise 1: Setting the PG Interface to MPI ................................................................................ 15
Exercise 2: Performing a CPU Memory Reset and a Warm Restart ........................................... 16
Exercise 3: Creating a Project ..................................................... 17
If You Want to Know More ........................................................................................................... 18
SIMATIC Manager Customizing Options ..................................................................................... 19

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 1 The SIMATIC Manager
Objectives

Upon completion of the chapter the participant will ...

... understand the project structure in the SIMATIC Manager

understand the function "accessible nodes"

... be familiar with the offline / online view in the SIMATIC Manager

... be familiar with the STEP7 Standard Libraries

... be familiar with the STEP7 help system

... be able to create and manage a project with the SIMATIC Manager

be able to set the PGs interface

be able to erase an MMC

be able to perform an S7 CPU memory reset

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.2

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 2 The SIMATIC Manager
From Process to Project

Project Management

SIMATIC Manager

Hardware
Communication

FB21
OB1

I 1.0 I 1.1 Q4.0

Prozess Software

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.3

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, most important task is 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 the
Software the automation system must fulfill:
Hardware:
- Number and type of inputs and outputs
- Number and type of modules
- Number of racks
- Capacity and type of CPU
- HMI systems
- Communication structures
Software:
- Program structure
- Data management for the automation process
- Configuration data and parameter assignment data
- Communication data
- Program and project documentation

Project In SIMATIC S7 all the hardware and software requirements of an automation


process are managed within a project.
A project includes the necessary hardware (+ configuration), networking
(+ configuration), all the programs, and the entire data management for an
automation solution.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 3 The SIMATIC Manager
STEP 7 Project Structure

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.4

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 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 relevant project data are stored.
2nd. Level: Stations (such as the 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 creating (writing)
programs. All the software for a parameter-assignable
module from the S7 range is stored in an S7 Program
folder. This folder contains further folders for the program
blocks and sources.
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.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 4 The SIMATIC Manager
Interesting Facts about Multiprojects

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.5

Multiproject A multiproject folder is a folder for all projects and libraries of an automation
solution that contains one or more STEP 7 projects and, optionally, also
libraries. The projects within the multiproject can contain objects with cross-
project interrelations (such as cross-project S7 connections).

Benefits When projects are a component of a multiproject, their scope can be smaller
and easier to follow.
With the help of the multiproject you can, for example, create a project for every
operator for distributed editing and divide the stations according to their
operator between the projects.
Cross-project functions make sure that you can almost handle a multiproject
like one single project.
Examples of cross-project functions
Cross-project functions in STEP 7 (basic package):
Save As (save multiproject with all projects in another location)
Archiving (multiproject with all projects)
Adjustment of cross-project networking (such as, bringing together subnets)
Updating the view (all projects of a multiproject)

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 5 The SIMATIC Manager
Creating an S7 Project

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.6

SIMATIC Manager The SIMATIC Manager is normally started by double-clicking on the "SIMATIC
Manager" icon which appears on the Windows desktop after the STEP 7 Basic
Package has been installed.

Creating a Project Select the menu options File New or the icon 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 click the "OK" button to confirm.

Notes 1. The "Storage location (path)" displays the path that was preset in the
SIMATIC Manager under Options -> Customize.

2. You can also use the "New Project" Wizard to help you create a new
project. Select File New project and follow prompts.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 6 The SIMATIC Manager
Inserting an S7 Program

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.7

Inserting a Program Select the Insert Program S7 Program menu to insert a new program into
the current project.
When you insert an object, the system automatically gives it a relevant name,
such as "S7 Program(1)". You can then change this name if you like.

Note You use the method described above to create a hardware-independent


program.
Programs assigned to particular hardware are described in the "Hardware
Configuration" chapter.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 7 The SIMATIC Manager
Standard Library

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.8

Introduction Libraries are used to store reusable blocks. The blocks can be copied into a
library from existing projects or they can be created directly in the library
independent of projects.

Standard A Standard Library is installed when you install STEP 7. You can access this
Library standard library from the SIMATIC Manager (File Open Libraries) or from
the Block Editor (Overviews Libraries). The library contains the following S7
programs :
Communication Blocks:
Functions (FC) for communication between the CPU and the distributed I/O
via communication processors.
Organization Blocks: Organization Blocks (OBs).
S5-S7 Converting Blocks:
Blocks that emulate STEP 5 standard function blocks and that are necessary
for converting STEP 5 programs.
TI-S7 Converting Blocks:
Generally usable standard functions such as analog value scaling.
IEC Function Blocks:
Blocks for IEC functions (IEC: International Electrotechnical Commission), such
as for processing time and date information, for string processing and for
selecting maximum and minimum.
PID Control Blocks: Function blocks (FBs) for PID closed-loop controls.
System Function Blocks:
System Functions (SFCs) and System Function Blocks (SFBs).
Miscellaneous Blocks:
FCs and FBs for switching between daylight savings time and standard time
(summer and winter times).

Note Additional libraries are added when optional software is installed.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 8 The SIMATIC Manager
STEP 7 Help System

Press Hot-key F1

Example

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.9

Obtaining Help There are various ways of obtaining help:


1. You use the Help Contents menu to activate the general help.
2. You use the F1 hot-key or the icon in the toolbar to start the context-
sensitive help.

Tabs "Contents": Displays a list of help topics under general headings.


"Index": Allows you to access the help information by displaying a list
of available terms in alphabetical order.
"Search": Enables you to look for certain words or expressions in the
help topics.
"Hot words" Certain words are highlighted in green and are underlined with a broken line in
the help texts (called "Hot words"). A mouse click on these "Hot words" leads to
a further help text with detailed information.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 9 The SIMATIC Manager
Context Sensitive Help in STEP 7

Press Hot-key F1

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.10

Context-Sensitive With the context-sensitive help, you can find information directly connected to
Help ... the selected object. As the slide shows, the object can be a system function or
it can be an STL instruction in a block, for example.

... Activating You can activate the context-sensitive help from any tool by selecting the
relevant object and then pressing the F1 function key.
Use the "Help on STEP 7" button to jump from the context-sensitive help to the
general help.

Note You can find additional information on STEP 7 in the electronic manuals.
Choose the following menu options to open the electronic manuals:
Start Simatic Documentation

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 10 The SIMATIC Manager
Setting the PG/PC Interface
Access Point
STEP 7 of the Application:
S7ONLINE

Interface Parameter
CP5611 Assignment Used:
CP5611 (MPI)

CPU

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.11

General You use the "Set PG/PC Interface" tool to define the connection between an
application such as STEP 7 and a module such as CP 5611. The tool is
activated with Start Settings Control Panel .

Access Point Other examples of access points are:


CP_H1_1 for SIMATIC NET (Ethernet)
CP_L2_1 for SIMATIC NET (PROFIBUS)
DPSONLINE for ProTool/Pro DP-Slave
Micro/Win for the S7-200 software
MPI (WinCC) for the WinCC Software

Interface Parameter Here, enter the module used, such as, CP5611 and the interface used, such
Assignment Used as, MPI. If you connect the PG to the PROFIBUS, use the setting CP5611
(PROFIBUS). To save a switch-over of the PG/PC interface, you can also use
the setting CP5611 (Auto). The bus parameters are then automatically
determined. With this setting, however, the connection takes longer.

Properties In this tab, you adapt the parameters of the interface. For "Address", enter the
MPI address of the PG. This must be unique in the network.
To make communication possible, the "Transmission Rate" and "Highest Node
Address" parameters must be the same for all nodes (stations).
The "PG/PC is the only master on the bus" setting is only activated if only
slaves are connected to the PG.

Diagnostics With this, you can check whether a connection can be made.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 11 The SIMATIC Manager
Project: OFFLINE / ONLINE View

Project
OFFLINE

Project
ONLINE

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.12

Offline View In the project window of the SIMATIC Manager, the offline view displays the
project structure stored on the hard disk of the programming device.
The "S7 Program" folder contains the "Sources" and "Blocks" objects.
The "Blocks" folder contains the system data created with the HWConfig
tool and the blocks created with the LAD/STL/FBD Editor.

Online View The online view shows the offline project structure in the left window and in the
right window it shows the blocks stored online in the selected CPU.
As a result, the "S7 Program" seen in the online view only contains the "Blocks"
folder which contains the following objects:
System data (SDB)
User blocks (OB, FC, FB)
System blocks (SFC, SFB).
The title bar in the online window is highlighted in color.

Changing Views Changing between offline and online view takes place:
through the View Offline or View Online menu items
or
with the corresponding icon in the toolbar:
- Online

- Offline

Note You can arrange the "ONLINE" and "OFFLINE" views next to each other (as in
the slide) or under each other with Window Arrange vertical
(horizontal)

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 12 The SIMATIC Manager
"Accessible Nodes": ONLINE View (project-independent)

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.13

Area of Use This type of connection provides you with quick access, such as for service
purposes. You can access all accessible programmable modules (CPUs, FMs,
CPs) in the network. You choose this method when you dont have any project
data about the target systems on your PG.

What to Do You can activate the "Accessible Nodes" window with the menu options PLC
Display Accessible Nodes. In the "Accessible Nodes" object, all accessible
programmable blocks in the network are displayed with their address.

Note Nodes (stations) that are not programmable with STEP 7 can also be displayed
(such as programming devices or operator panels). On the CPU to which the
PG is connected, the addition (directly) is displayed. In the slide, the CPU with
the MPI address =2.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 13 The SIMATIC Manager
Erasing a Memory Card (Memory or MMC Card)

Memory card is inserted in the CPU:

right
Memory card is inserted in the PG: mouse button

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.14

Reason During a CPU memory reset, only the RAM work memory of the CPU is reset,
not the memory of the possibly inserted memory or MMC card. That means
that the user program stored on the inserted memory card is retained.

Erasing the memory card can be done in the following ways:

Memory Card is The memory card can be erased online directly on the CPU using the function
Inserted in the CPU "Accessible Nodes":
SIMATIC Manager PLC Display Accessible Nodes
then select all blocks Delete

Memory Card The memory card can be erased using a programming device with a suitable
interface. For this, the memory card must be inserted in the module slot and a
new window has to be opened that displays the contents of the memory card.
SIMATIC Manager File S7 Memory Card Delete

Note The data format of SIMATIC MMCs does not correspond to the data format that
is used by MS Windows. Accordingly, SIMATIC MMCs can not be read, written
or erased with the Windows Explorer!

Caution If SIMATIC MMCs are formatted in MS Windows, then they can no longer be
used in a SIMATIC S7!

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 14 The SIMATIC Manager
Exercise 1: Setting the PG Interface to MPI
SIMATIC Manager
Options

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.15

Task The PGs interface is to be switched to MPI so that an online connection to the
CPU can be established.

What to Do 1. Activate the "Set PG/PC Interface" function


SIMATIC Manager Options Set PG/PC Interface
2. In the Properties dialog, change the properties so that they appear as those
shown in the slide

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 15 The SIMATIC Manager
Exercise 2: Performing a CPU Memory Reset and a Warm Restart
Until Oct. 2002 After Oct. 2002
RUN-P

RUN 1. Set the mode selector switch to STOP RUN


STOP
STOP MRES

MRES

RUN-P
2. Hold (Press) the mode selector switch in the MRES
RUN RUN
position until the STOP LED has flashed twice slowly.
STOP
Release the mode selector switch so that it returns to MRES
STOP the STOP position.
MRES
within 1 sec
RUN-P

RUN 3. Turn (press) the mode selector switch to the MRES posi- RUN
-tion once more until the STOP LED begins to flash quickly. STOP
STOP
Release the mode selector switch so that it returns to MRES
the STOP position.
MRES

RUN-P

RUN RUN
4. Set the mode selector switch to the RUN-P (RUN)
STOP
STOP
position. (A warm restart is carried out in the transition MRES
from STOP to RUN/RUN-P)
MRES

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.16

Task You are to perform a CPU memory reset and check whether the memory reset
was successful.

What to Do 1. If a CPU with MMC is used at your training area, the MMC must first be
explicitly erased.
For example, SIMATIC Manager Accessible Nodes in the Blocks
folder select all blocks Delete
2. Carry out the memory reset according to the steps in the slide above
(manually and from the PG).
3. Check if the memory reset was successful. It was successful if only system
blocks (SDBs, SFCs, SFBs) are left in the CPU
SIMATIC Manager Accessible Nodes Double-click on MPI=2
Click on Blocks

Notes To make sure that no "old" blocks are left in the CPU, a memory reset of the
CPU should be performed. The following steps are carried out during a
memory reset:
All user data is deleted (Exception: MPI parameter assignments and the
contents of the diagnostic buffer are retained).
Hardware test and initialization
If an Eprom memory card or a Micro Memory Card (MMC) is installed, the
CPU copies all data on the cards that is relevant for execution back into the
internal RAM after the memory reset.
If no memory card or Micro Memory Card is installed, the preset MPI
address on the CPU is retained. If, however, a memory card is installed, the
MPI address stored on it is loaded.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 16 The SIMATIC Manager
Exercise 3: Creating a Project

Enter
project
name here
and use
"OK" to
confirm

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.17

Task Delete any old projects and create a new project called "My_project".

What To Do 1. Start the SIMATIC Manager.


2. Delete (if they exist) the old projects "My_Project" and "PRO1_B"
File Delete User projects select the projects in the list confirm
3. Create the new project called "My_project"
File New... User projects enter "My_Project" in the Name box
Storage location (path) <Drive>:\S7_Courses\enter confirm with OK

Notes A project represents all the TIA components of an automated system. As a


result, a project can contain one or more hardware stations (such as,
programmable logic controllers).
In every S7 station, you can install several intelligent modules (function
modules or with the S7-400 up to 4 CPUs as well). These modules usually
have their own program folder assigned to them.
You can also create hardware-independent S7 program folders. This allows
applications to be programmed before the hardware is known.
You can later copy hardware-independent S7 programs or individual
components (such as individual blocks) to another CPU or into the Blocks
folder of the S7 program without a problem.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 17 The SIMATIC Manager
If You Want to Know More

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.18

Note The following pages contain either further information or are for reference to
complete a topic.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 18 The SIMATIC Manager
SIMATIC Manager Customizing Options

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_03E.19

"Language" Tab National 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

"General" Tab Basic settings for editing projects and libraries:


Storage location for projects/multiprojects is where you specify the directory in
which you want to store your user projects.
Storage location for libraries is where you specify the directory in which you want
to store your user libraries.
Further options for inserting objects, opening projects and for window
arrangement will be dealt with later.
Deactivated system messages
By pressing the button "Activate" you can reactivate all system messages that were
switched-off in a window when the option "Always display this message." was
chosen.

"Date and Here you specify how you want to represent the date and time, for example,
Time of Day" Tab in the Diagnostic Buffer.
"View" Tab This is where you specify how project objects are to be displayed on the screen.

"Columns" Tab This is where you specify which columns are to be displayed when the Detail view is
switched-on (see "Help").

"Message numbers" This is where you specify the type of message number assignment.
Tab

"Archiving" Tab Here you specify the default program that is to be used to archive and retrieve files, as
well as the associated directories.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 19 The SIMATIC Manager

Anda mungkin juga menyukai