[PDF] sign language handouts
[PDF] sign language picture dictionary free
[PDF] sign of lagrange multiplier
[PDF] signal processing conference 2020 india
[PDF] signals and systems fourier transform problems
[PDF] significance of cold war
[PDF] significance of french revolution
[PDF] significance of region of convergence
[PDF] signifier and signified
[PDF] similitudes entre el idioma frances y el español
[PDF] similitudes entre francia y españa
[PDF] similitudes frances y español
[PDF] similitudes y diferencias entre francia y españa
[PDF] simple assault expungement nj
[PDF] simple equipment rental agreement pdf
s
Preface
Contents
Introducing the Product and Installing
the Software 1
Installation 2
Working Out the Automation Concept3
Basics of Designing a Program
Structure
4
Startup and Operation 5
Setting Up and Editing the Project 6
Editing Projects with Different
Versions of STEP 7
7
Defining Symbols 8
Creating Blocks and Libraries 9
Creating Logic Blocks 10
Creating Data Blocks 11
Parameter Assignment for Data
Blocks
12
Creating STL Source Files 13
Displaying Reference Data 14
Checking Block Consistency and
Time Stamps as a Block Property
15
Configuring Messages 16
Controlling and Monitoring Variables 17
Establishing an Online Connection
and Making CPU Settings 18
Downloading and Uploading 19
Testing with the Variable Table 20
Testing Using Program Status 21
Testing using the Simulation Program
(Optional Package) 22
Diagnostics 23
Printing and Archiving 24
Working with M7 Programmable
Control Systems
25
SIMATIC
Programming with STEP 7
Manual
This manual is part of the documentation
package with the order number:
6ES7810-4CA08-8BW0
Tips and Tricks 26
Appendix A
Edition 03/2006
A5E00706944-01
Index
Siemens AG
Automation and Drives
Postfach 4848
90437 NÜRNBERG
GERMANY A5E00706944-01 03/2006
Copyright © Siemens AG 2006
Technical data subject to change
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to
prevent damage to property. The notices referring to your personal safety are highlighted in the manual
by a safety alert symbol, notices referring to property damage only have no safety alert symbol. The notices shown below are graded according to the degree of danger.
Danger indicates that death or severe personal injury will result if proper precautions are not taken.
Warning indicates that death or severe personal injury may result if proper precautions are not taken.
Caution with a safety alert symbol indicates that minor personal injury can result if proper precautions are not
taken.
Caution
without a safety alert symbol indicates that property damage can result if proper precautions are not
taken.
Notice
indicates that an unintended result or situation can occur if the corresponding notice is not taken into
account. If more than one degree of danger is present, the warning notice representing the highest degree of
danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a
warning relating to property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel . Within the context of
the safety notices in this documentation qualified persons are defined as persons who are authorized to
commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed 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.
Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and
software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency.
However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Programming with STEP 7
A5E00706944-01
iii
Preface
Purpose
This manual provides a complete overview of programming with STEP 7. It is designed to support you when installing and commissioning the software. It explains how to proceed when creating programs and describes the components of user programs. The manual is intended for people who are involved in carrying out control tasks using STEP 7 and SIMATIC S7 automation systems. We recommend that you familiarize yourself with the examples in the manual "Working with STEP 7 V5.4, Getting Started." These examples provide an easy introduction to the topic "Programming with STEP 7."
Basic Knowledge Required
In order to understand this manual, general knowledge of automation technology is required. In addition, you must be familiar with using computers or PC-similar tools (for example, programming devices) with the MS Windows 2000 Professional, MS Windows XP Professional or MS Windows Server 2003 operating system.
Scope of the Manual
This manual is valid for release 5.4 of the STEP 7 programming software package. You can find the latest information on the service packs: in the "readme.wri" file in the updated STEP 7 online help. The topic "What's new?" in the online help offers an excellent introduction and overview of the newest STEP 7 innovations.
Preface
Programming with STEP 7
iv A5E00706944-01
STEP 7 Documentation Packages
This manual is part of the documentation package "STEP 7 Basic Information." The following table displays an overview of the STEP 7 documentation:
Documentation Purpose Order Number
STEP 7 Basic Information with
Working with STEP 7,
Getting Started Manual
Programming with STEP 7
Configuring Hardware and
Communication Connections,
STEP 7
From S5 to S7, Converter Manual Basic information for technical personnel describing the methods of implementing control tasks with
STEP 7 and the S7-300/400
programmable controllers. 6ES7810-4CA08-8BW0
STEP 7 Reference with
Ladder Logic (LAD) / Function Block
Diagram (FDB) / Statement List (STL)
for S7-300/400 manuals
Standard and System Function
for S7-300/400 Volume 1 and Volume 2 Provides reference information and describes the programming languages LAD, FBD and STL, and standard and system function extending the scope of the
STEP 7 basic information. 6ES7810-4CA08-8BW1
Online Helps Purpose Order Number
Help on STEP 7 Basic information on
programming and configuring hardware with STEP 7 in the form of an online help. Part of the STEP 7
Standard software.
Reference helps on AWL/KOP/FUP
Reference help on SFBs/SFCs
Reference help on Organization Blocks Context-sensitive reference information. Part of the STEP 7
Standard software.
Preface
Programming with STEP 7
A5E00706944-01
v
Further Support
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: http://mall.automation.siemens.com/
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: http://www.sitrain.com
Technical Support
You can reach the Technical Support for all A&D products
Via the Web formula for the Support Request
Phone: + 49 180 5050 222
Fax: + 49 180 5050 223
Additional information about our Technical Support can be found on the Internet pages http://www.siemens.com/automation/service
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: The newsletter, which constantly provides you with up-to-date information on your products. The right documents via our Search function in Service & Support. A forum, where users and experts from all over the world exchange their experiences. Your local representative for Automation & Drives. Information on field service, repairs, spare parts and more under "Services".
Preface
Programming with STEP 7
vi A5E00706944-01
Programming with STEP 7
A5E00706944-01
vii
Contents
1 Introducing the Product and Installing the Software 1-1
1.1 Overview of STEP 7 ........................................................................
.................1-1
1.2 The STEP 7 Standard Package .......................................................................1-6
1.3 What's New in STEP 7, Version 5.4?.............................................................1-11
1.4 Extended Uses of the STEP 7 Standard Package.........................................1-14
1.4.1 Engineering Tools........................................................................
...................1-15
1.4.2 Run-Time Software........................................................................
.................1-17
1.4.3 Human Machine Interface........................................................................
.......1-19
2 Installation 2-1
2.1 Automation License Manager........................................................................
...2-1
2.1.1 User Rights Through The Automation License Manager.................................2-1
2.1.2 Installing the Automation License Manager......................................................2-4
2.1.3 Guidelines for Handling License Keys..............................................................2-5
2.2 Installing STEP 7........................................................................
......................2-6
2.2.1 Installation Procedure........................................................................
...............2-8
2.2.2 Setting the PG/PC Interface ........................................................................
...2-11
2.3 Uninstalling STEP 7........................................................................
................2-13
3 Working Out the Automation Concept 3-1
3.1 Basic Procedure for Planning an Automation Project ......................................3-1
3.2 Dividing the Process into Tasks and Areas......................................................3-2
3.3 Describing the Individual Functional Areas ......................................................3-4
3.4 Listing Inputs, Outputs, and In/Outs.................................................................3-6
3.5 Creating an I/O Diagram for the Motors ...........................................................3-6
3.6 Creating an I/O Diagram for the Valves............................................................3-7
3.7 Establishing the Safety Requirements..............................................................3-8
3.8 Describing the Required Operator Displays and Controls................................3-9
3.9 Creating a Configuration Diagram..................................................................3-10
4 Basics of Designing a Program Structure 4-1
4.1 Programs in a CPU........................................................................
...................4-1
4.2 Blocks in the User Program........................................................................
......4-2
4.2.1 Organization Blocks and Program Structure....................................................4-3
4.2.2 Call Hierarchy in the User Program..................................................................4-9
4.2.3 Block Types ........................................................................
............................4-11
4.2.3.1 Organization Block for Cyclic Program Processing (OB1).............................4-11
4.2.3.2 Functions (FC)........................................................................
........................4-16
4.2.3.3 Function Blocks (FB) ........................................................................
..............4-17
4.2.3.4 Instance Data Blocks........................................................................
..............4-20
4.2.3.5 Shared Data Blocks (DB).................................................................
...............4-23
4.2.3.6 System Function Blocks (SFB) and System Functions (SFC) .......................4-24
Contents
Programming with STEP 7
viii A5E00706944-01
4.2.4 Organization Blocks for Interrupt-Driven Program Processing.......................4-26
4.2.4.1 Time-of-Day Interrupt Organization Blocks (OB10 to OB17) .........................4-26
4.2.4.2 Time-Delay Interrupt Organization Blocks (OB20 to OB23)...........................4-28
4.2.4.3 Cyclic Interrupt Organization Blocks (OB30 to OB38)....................................4-29
4.2.4.4 Hardware Interrupt Organization Blocks (OB40 to OB47)..............................4-31
4.2.4.5 Startup Organization Blocks (OB100 / OB101 / OB102)................................4-32
4.2.4.6 Background Organization Block (OB90).........................................................4-34
4.2.4.7 Error Handling Organization Blocks (OB70 to OB87 / OB121 to OB122)......4-36
5 Startup and Operation 5-1
5.1 Starting STEP 7........................................................................
........................5-1
5.2 Starting STEP 7 with Default Start Parameters................................................5-3
5.3 Calling the Help Functions........................................................................
........5-5
5.4 Objects and Object Hierarchy........................................................................
...5-6
5.4.1 Project Object ........................................................................
...........................5-8
5.4.2 Library Object ........................................................................
...........................5-9
5.4.3 Station Object........................................................................
.........................5-10
5.4.4 Programmable Module Object........................................................................
5-12
5.4.5 S7/M7 Program Object........................................................................
...........5-14
5.4.6 Block Folder Object ........................................................................
................5-16
5.4.7 Source File Folder Object........................................................................
.......5-19
5.4.8 S7/M7 Program without a Station or CPU......................................................5-20
5.5 User Interface and Operation ........................................................................
.5-21
5.5.1 Operating Philosophy........................................................................
.............5-21
5.5.2 Window Arrangement........................................................................
.............5-22
5.5.3 Elements in Dialog Boxes........................................................................
.......5-23
5.5.4 Creating and Managing Objects.....................................................................5-24
5.5.5 Selecting Objects in a Dialog Box ..................................................................5-29
5.5.6 Session Memory........................................................................
.....................5-30
5.5.7 Changing the Window Arrangement...............................................................5-31
5.5.8 Saving and Restoring the Window Arrangement ...........................................5-31
5.6 Keyboard Operation........................................................................
................5-32
5.6.1 Key Combinations for Menu Commands........................................................5-32
5.6.2 Key Combinations for Moving the Cursor.......................................................5-34
5.6.3 Key Combinations for Selecting Text .............................................................5-36
5.6.4 Key Combinations for Access to Online Help.................................................5-36
5.6.5 Key Combinations for Toggling between Windows........................................5-37
6 Setting Up and Editing the Project 6-1
6.1 Project Structure........................................................................
.......................6-1
6.2 What You Should Know About Access Protection ...........................................6-2
6.3 What You Should Know About The Change Log .............................................6-4
6.4 Using Foreign-Language Character Sets.........................................................6-5
6.5 Setting the MS Windows Language .................................................................6-8
6.6 Setting Up a Project........................................................................
..................6-9
6.6.1 Creating a Project........................................................................
.....................6-9
6.6.2 Inserting Stations........................................................................
....................6-11
6.6.3 Inserting an S7/M7 Program........................................................................
...6-12
6.7 Editing a Project........................................................................
......................6-14
6.7.1 Checking Projects for Software Packages Used............................................6-15
Contents
Programming with STEP 7
A5E00706944-01
ix 6.8 Managing Multilingual Texts........................................................................ ...6-15
6.8.1 Types of Multilingual Texts........................................................................
.....6-17
6.8.2 Structure of the Export File........................................................................
.....6-18
6.8.3 Managing User Texts Whose Language Font is Not Installed.......................6-19
6.8.4 Information on the Log File........................................................................
.....6-20
6.8.5 Optimizing the Source for Translation............................................................6-21
6.8.6 Optimizing the Translation Process................................................................6-22
6.9 Micro Memory Card (MMC) as a Data Carrier................................................6-23
6.9.1 What You Should Know About Micro Memory Cards (MMC).........................6-23
6.9.2 Using a Micro Memory Card as a Data Carrier..............................................6-25
6.9.3 Memory Card File........................................................................
...................6-25
6.9.4 Storing Project Data on a Micro Memory Card (MMC)...................................6-26
7 Editing Projects with Different Versions of STEP 7 7-1
7.1 Editing Version 2 Projects and Libraries...........................................................7-1
7.2 Expanding DP Slaves That Were Created with
Previous Versions of STEP 7 ........................................................................ ...7-1
7.3 Editing Current Configurations with Previous Versions of STEP 7 ..................7-3
7.4 Appending SIMATIC PC Configurations of Previous Versions ........................7-4
7.5 Displaying Modules Configured with Later STEP 7 Versions
or Optional Packages ........................................................................ ...............7-6
8 Defining Symbols 8-1
quotesdbs_dbs5.pdfusesText_9