S5S7_e.pdf

(856 KB) Pobierz
STEP 7 From S5 to S7
Preface, Contents
Part 1: Planning Your
Conversion
Introduction
1
SIMATIC
Hardware
2
STEP 7
From S5 to S7
Software
3
Part 2: Converting Programs
Converter Manual
Procedure
4
Preparing for Conversion
5
Conversion
6
Editing the Converted Program
7
Compiling
8
Application Example
9
Appendix
Address and Instruction Lists
A
Literature List
B
Glossary, Index
Edition 03/2006
A5E00706929-01
47581094.004.png 47581094.005.png 47581094.006.png
Safety Guidelines
This manual contains notices which you should observe to ensure your own personal safety, as well as to
protect the product and connected equipment. These notices are highlighted in the manual by a warning
triangle and are marked as follows according to the level of danger:
!
Danger
indicates that death, severe personal injury or substantial property damage will result if proper precautions
are not taken.
!
Warning
indicates that death, severe personal injury or substantial property damage can result if proper precautions
are not taken.
!
Caution
indicates that minor personal injury or property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
The device/system may only be set up and operated in conjunction with this manual.
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground, and to tag circuits, equipment, and
systems in accordance with established safety practices and standards.
Correct Usage
Note the following:
!
Warning
This device and its components may only be used for the applications described in the catalog or the technical
description, and only in connection with devices or components from other manufacturers which have been
approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed correctly,
and operated and maintained as recommended.
Trademarks
SIMATIC
R
, SIMATIC NET
R
, and SIMATIC HMI
R
are registered trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document which refer to trademarks might
infringe upon the rights of the trademark owners.
Copyright Siemens AG 2006 All rights reserved
The reproduction, transmission or use of this document or its
contents is not permitted without express written authority.
Offenders will be liable for damages. All rights, including rights
created by patent grant or registration of a utility model or design,
are reserved.
Siemens AG
Bereich Automation and Drives
Geschaeftsgebiet Industrial Automation Systems
Postfach 4848, D-90327 Nuernberg
Disclaimer of Liability
We have checked the contents of this manual for agreement with
the hardware and software described. Since deviations cannot be
precluded entirely, we cannot guarantee full agreement. However,
the data in this manual are reviewed regularly and any necessary
corrections included in subsequent editions. Suggestions for
improvement are welcomed.
Siemens AG 2006
Subject to change without prior notice.
Siemens Aktiengesellschaft
A5E00706929-01
ii
From S5 to S7 , Converter Manual
A5E00706929 01
47581094.007.png
Preface
Purpose of the
Manual
This manual supports you when converting S5 programs into S7. With the
information in this manual you can do the following:
x Convert existing S5 programs into S7 programs and subsequently edit them
manually if necessary.
x Incorporate pre-converted S7 functions (previous S5 standard function
blocks) into your S7 programs.
Audience
This manual is intended for programmers who wish to use existing S5
programs in S7.
Whereisthis
Manual Valid?
Further Support
This manual is valid for release 4.0 of the STEP 7 programming software.
If you have any technical questions, please get in touch with your Siemens
representative or responsible agent.
You will find your contact person at:
You will find a guide to the technical documentation offered for the individual
SIMATIC Products and Systems here at:
The online catalog and order system is found under:
Training Centers
Siemens offers a number of training courses to familiarize you with the
SIMATIC S7 automation system. Please contact your regional training center
or our central training center in D 90327 Nuremberg, Germany for details:
Telephone:
+49 (911) 895-3200.
Internet:
From S5 to S7 , Converter Manual
A5E00706929-01
iii
47581094.001.png
Technical Support
You can reach the Technical Suport for all A&D products
x Via the Web formula for the Support Request
x Phone: + 49 180 5050 222
x Fax:+ 49 180 5050 223
Additional information about our Technical Support can be found on the
Internet pages:
Service & Support
on the Internet
In addition to our documentation, we offer our Know-how online on the
internet at:
where you will find the following:
x The newsletter, which constantly provides you with up-to-date information
on your products.
x The right documents via our Search function in Service & Support.
x A forum, where users and experts from all over the world exchange their
experiences.
x Your local representative for Automation & Drives.
x Information on field service, repairs, spare parts and more under
“Services”.
iv
From S5 to S7 , Converter Manual
A5E00706929-01
47581094.002.png
Contents
1 Introduction
............................................................
1-1
..............................................................
2.1 Programmable Logic Controllers
2-1
..................................
2-2
....................................................
2.2.1 Central Processing Units (CPU)
2-4
...................................
2-6
2.2.2 Power Supply Modules (PS)
......................................
2-8
...........................................
2.2.4 Communications Processors (CP)
2-9
.................................
2-10
2.2.5 Function Modules (FM)
..........................................
2-13
............................................
2.2.7 Simulation Modules (S7-300)
2-15
.....................................
2-16
2.3 Distributed I/O Devices
...........................................
2-17
.................................................
2.4.1 Interface to User Programs
2-18
.......................................
2-20
2.5 Operator Interface
...............................................
2-21
3 Software
...............................................................
3-1
3.1 General Operating Principles
.....................................
3-1
.........................................
3.1.2 Installing STEP 7 Software
3-1
.......................................
3-2
3.1.3 Starting STEP 7 Software
........................................
3-3
3.2 Structure of an S7 Project
........................................
3-4
3.3 Editing Projects with the SIMATIC Manager
.........................
3-7
3.3.1 Creating Projects
................................................
3-7
.................................................
3.4 Configuring Hardware with STEP 7
3-8
................................
3-9
3.5 Configuring Connections in the Connection Table
....................
3-11
...................................
3.6.1 Basic Procedure for Creating Software
Inserting and Editing a Program
3-13
.............................
3.6.2 Inserting Components for Creating Software in S7 and M7 Programs
3-13
...
3-15
.........................................................
3.7.1 Comparison
3-17
....................................................
3.7.2 Functions and Function Blocks
3-17
....................................
3-18
....................................................
3.7.4 System Blocks
3-18
..................................................
3.7.5 Organization Blocks
3-19
.............................................
3.7.6 Block Representation during Conversion
3-20
...........................
3-24
From S5 to S7 , Converter Manual
A5E00706929-01
v
2 Hardware
2.2 S7 Modules
2.2.3 Interface Modules (IM)
2.2.6 Signal Modules (SM)
2.4 Communication
3.1.1 Installation Requirements
3.3.2 Storing Projects
3.6
3.7 Blocks
3.7.3 Data Blocks
47581094.003.png
Zgłoś jeśli naruszono regulamin