PRO1 - 02E (읽기 전용) (호환 모드)
PRO1 - 02E (읽기 전용) (호환 모드)
PRO1 - 02E (읽기 전용) (호환 모드)
Page
Training Center
for Automation and Drives
Page 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ST-7PRO1
The SIMATIC Manager
Process
When you take a closer look at a process you want to automate, you will find that it
i made
is
d up off a multitude
ltit d off smaller
ll sections
ti
and
d sub-processes,
b
which
hi h are allll
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
Software
Each sub-task defines certain hardware and software requirements which must
be fulfilled by the automation system:
Hardware:
- Number
N b and
d ttype off iinputs
t and
d outputs
t t
- Number and type of modules
- Number of racks
- Capacity and type of CPU
- HMI systems
- Networking systems
Software:
- Program structure
- Data management
g
for the automation p
process
- Configuration data
- Communication data
- Program and project documentation.
Project
Training Center
for Automation and Drives
Page 2
ST-7PRO1
The SIMATIC Manager
SIMATIC Manager
The SIMATIC Manager manages the STEP 7 projects. It is the main program and
also
l appears on th
the WINDOWS 95 desktop.
d kt
Notes
Tool for writing STEP 7 user programs in the Ladder Diagram", Statement List" or
"Function Block Diagram programming languages.
Memory
y Card
Parameter
Assignment.
Configuring
Networks
This tool is used for setting the local node address, the transmission speed
and the highest node address in the MPI network.
PID Control
Parameter
Assignment
The basic STEP 7 software package also includes blocks for solving PID
(closed-loop) control problems. You choose "PID Control Parameter
Assignment" to start the program for assigning parameters to the closed-loop
control blocks.
Converting S5 Files
STEP5 programs can be converted into the corresponding STEP 7 programs with
the help of the S5/S7 converter.
Configure SIMATIC
Workspace
Converting TI Files
Training Center
for Automation and Drives
Page 3
ST-7PRO1
The SIMATIC Manager
Introduction
Starting the
SIMATIC Manager
After installation, the main tool is available as an icon on the Windows 95 desktop.
The SIMATIC Manager manages the S7 objects such as projects and user
programs.
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.
Training Center
for Automation and Drives
Page 4
ST-7PRO1
The SIMATIC Manager
Titlebar
The titlebar contains the window title and the buttons for controlling the window.
Menubar
Toolbar
Contains the most frequently used tasks as symbols. These symbols are selfexplanatory.
Statusbar
T kb
Taskbar
The ttaskbar
Th
kb contains
t i allll open applications
li ti
and
d windows
i d
as b
buttons.
tt
The taskbar can be positioned on either side of the screen by using the right mouse
button.
Training Center
for Automation and Drives
Page 5
ST-7PRO1
The SIMATIC Manager
Training Center
for Automation and Drives
Page 6
ST-7PRO1
The SIMATIC Manager
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:
Training Center
for Automation and Drives
Page 7
ST-7PRO1
The SIMATIC Manager
Offline
The offline view displays the project structure stored on the hard disk of the
programming
i d
device.
i
It di
displays
l
thi
this iin th
the project
j t window
i d
off th
the SIMATIC M
Manager.
The "S7 Program folder contains the objects Source Files" 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).
Switch-over
Training Center
for Automation and Drives
Page 8
ST-7PRO1
The SIMATIC Manager
Menu Options
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.
"General" Tab
"View" Tab
"Columns" Tab
This is where you specify which columns are to be displayed when the Detail view is
switched-on (see Help).
"Archive" Tab
Training Center
for Automation and Drives
Page 9
ST-7PRO1
The SIMATIC Manager
Creating a Project
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
p j
new project.
Training Center
for Automation and Drives
Page 10
ST-7PRO1
The SIMATIC Manager
Inserting a Program
Select the menu options Insert -> Program -> S7 Program to insert a new program
i t the
into
th currentt project.
j t
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.
Note
Training Center
for Automation and Drives
Page 11
ST-7PRO1
The SIMATIC Manager
Inserting a Block
Select the menu options Insert -> S7 Block to display a list of block types:
Organization blocks (OB) are called by the operating system.
They form the interface between operating system and user program.
Functions (FC) and function blocks (FB) contain the actual user program.
They enable a complex program to be divided into small, easy-to-follow
units.
After you have chosen the type of block you want, the "Properties" dialog box opens
so that you can enter the block number and the programming language you want to
use (LAD, STL or FBD).
There are other settings you can make, depending on the type of block, but these
will be discussed later.
When you have made your settings and confirmed them by clicking the "OK" button,
the new block is inserted in the current program.
Training Center
for Automation and Drives
Page 12
ST-7PRO1
The SIMATIC Manager
Obtaining Help
Tabs
Hot words
Training Center
for Automation and Drives
Contents"
"Index"
Find"
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.
Page 13
ST-7PRO1
The SIMATIC Manager
Context-Sensitive
Note
Training Center
for Automation and Drives
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 .
Page 14
ST-7PRO1
The SIMATIC Manager
Introduction
Standard
Library
Communication
Blocks
Libraries are used to store blocks without project assignment. These blocks can be
created
t d iin th
the lib
library, can b
be copied
i d iinto
t and
d outt off itit, b
butt cannott b
be ttested.
t d Th
The
library structure is set up as hierarchical just as the project structure.
STEP 7 contains a Standard Library, that was stored in the STEP 7 Software
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".
FCs for communication between the CPU and the distributed I/O via
communication processors with S7-300.
TI-S7 Converting
Blocks
IEC Function
F
ti
Blocks
Bl k for
Blocks
f IEC functions
f
ti
(IEC:
(IEC IInternational
t
ti
l El
Electrotechnical
t t h i lC
Commission),
i i )
such as for processing time and date, for comparison operations, for string
processing and for selecting maximum and minimum.
System Function
Blocks
Note
Training Center
for Automation and Drives
Page 15
ST-7PRO1
The SIMATIC Manager
Remember!
A project contains all the programs and data for the entire automation task. It can
contain
t i one or more programs which
hi h can b
be used
d iin one or more CPU
CPUs.
Goal
What to Do
1.
2.
3.
4.
Training Center
for Automation and Drives
Page 16
ST-7PRO1
The SIMATIC Manager
Remember!
What to Do
1. In the project "My Project, select the menu options Insert -> Program -> S7
Program.
or (instead of point 1.):
1a. Click the right mouse button. In the menu that appears, select the options
Insert New Object -> S7 Program to insert a new program.
2 A new S7 program with the name "S7
2.
S7 Program 1
1 is created.
created
3. Change the name of the program to My Program.
4. In the My Program folder you will find the S7 program itself with the objects:
Blocks (user program), Source Files (source programs) and Symbols
(symbol table).
Results
Training Center
for Automation and Drives
Page 17
ST-7PRO1
The SIMATIC Manager
Remember!
In simple terms, a block in a CPU is a program section that has a particular function
and
d a particular
ti l structure.
t t
Block OB1 is called cyclically by the operating system and provides access to the
S7 program. It can contain both program statements and calls to other blocks.
Goal
What to Do
1. Select the user program (Blocks) in which you want to create the new block.
2. Select the menu options Insert -> S7 Block ->Function.
or (instead of point 2.)
2)
2a. Click the right mouse button. In the menu that appears, select the options
Insert New Object -> Function to insert a new function.
3. Enter the block number in the Name" box (in this case: FC1), and enter
the programming language you want to use (LAD/STL/FBD) in the
Language box.
4. Enter any additional information, such as Author etc., if required.
5. Check all entries and confirm with OK.
Result
Training Center
for Automation and Drives
Page 18
ST-7PRO1
The SIMATIC Manager
General
Before you download the user program to the S7 PLC, you should reset the CPU
memory to
t make
k sure there
th
are no old
ld bl
blocks
k lleft
ft iin th
the CPU
CPU.
The following takes place during a memory reset:
All user data are erased
(with the exception of the MPI parameter assignment).
Hardware test and initialization
If an EPROM memory card is inserted, the CPU copies the contents of the
EPROM back into the internal RAM after memory reset.
If no memoryy card is inserted, the set MPI address is retained. If, however, a
memory card is inserted, the MPI address entered on the card is loaded.
The contents of the diagnostic buffer (can be viewed on the PG) are
retained.
Note
Exercise
Perform a memory reset of the CPU (with the keyswitch or from the PG).
You can check if the memory reset was performed successfully by checking the
contents of the block folder in the Online view. Only system blocks (SDB, SFC and
SFB) should now exist.
Training Center
for Automation and Drives
Page 19
ST-7PRO1
The SIMATIC Manager