step7 lite programming manual.pdf

(3057 KB) Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
"
Preface, Contents
Introducing the Product and
Installing the Software
1
2
SIMATIC
Basics of Designing a Program
3
Startup and Operation
Programming with
STEP 7 Lite V3.0
Manual
Setting Up and Editing
the Project
4
5
Configuring the Hardware
6
Programming Blocks
Establishing an Online
Connection and
Making CPU Settings
7
8
Import, Export, Save As
Downloading to the CPU and
Uploading to the PG
9
10
Debugging
11
Diagnostics
12
Printing Project Documentation
13
Tips and Tricks
A
Appendix
Index
Edition 04/2004
A5E00293884-01
877488438.049.png 877488438.060.png 877488438.064.png 877488438.065.png 877488438.001.png 877488438.002.png 877488438.003.png 877488438.004.png 877488438.005.png 877488438.006.png 877488438.007.png 877488438.008.png 877488438.009.png 877488438.010.png 877488438.011.png 877488438.012.png
Safety Guidelines
This manual contains notices intended to ensure personal safety, as well as to protect the products and
connected equipment against damage. These notices are highlighted by the symbols shown below and
graded according to severity by the following texts:
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 can result if proper precautions are not taken.
!
Caution
indicates that property damage can result if proper precautions are not taken.
Notice
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
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®, SIMATIC HMI® and SIMATIC NET® 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 2004 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.
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
Bereich Automation and Drives
Geschaeftsgebiet Industrial Automation Systems
Postfach 4848, D- 90327 Nuernberg
©Siemens AG 2004
Technical data subject to change.
Siemens Aktiengesellschaft
A5E00293884-01
877488438.013.png 877488438.014.png 877488438.015.png 877488438.016.png 877488438.017.png 877488438.018.png 877488438.019.png 877488438.020.png 877488438.021.png 877488438.022.png 877488438.023.png 877488438.024.png 877488438.025.png 877488438.026.png 877488438.027.png 877488438.028.png 877488438.029.png 877488438.030.png 877488438.031.png 877488438.032.png 877488438.033.png 877488438.034.png 877488438.035.png
 
Preface
Purpose
This manual provides a complete overview of programming with STEP 7 Lite. It is
designed to support you when installing and commissioning the software. It
explains how to proceed when creating and structuring user programs and
describes the language elements.
The manual is intended for people who are involved in carrying out control tasks
using STEP 7 Lite and SIMATIC automation systems.
We recommend that you familiarize yourself with the examples in the manual "First
Steps with STEP 7 Lite." It provides an easy introduction to "Programming with
STEP 7 Lite."
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 Home and MS Windows XP Professional operating systems.
Scope of the Manual
This manual is valid for release 3.0 of the STEP 7 Lite programming software
package.
Programming with STEP 7 Lite V3.0
A5E00293884-01
iii
Preface
STEP 7 Lite Documentation Packages
This manual is part of the software package STEP 7 Lite.
The following table displays an overview of the STEP 7 Lite documentation:
Documentation
Purpose
Order Number
Programming with
STEP 7 Lite
Provides background information
for realizing control tasks with
STEP 7 Lite.
Part of the software package
STEP 7 Lite
First Steps with
STEP 7 Lite
Describes the most important
procedures using practical
excercises.
Part of the software package
STEP 7 Lite
Online Help
Purpose
Order Number
Help on STEP 7 Lite
Provides background information
for realizing control tasks with
STEP 7 Lite.
Part of the software package
STEP 7 Lite
Reference helps on
STL/LAD/FBD
Reference helps on
block libraries
Context-sensitive reference
information.
Part of the software package
STEP 7 Lite
ToolTips and direct
help
Offers information on the current
context, for example, on menu
commands, elements of the user
interface and dialog boxes
Part of the software package
STEP 7 Lite
Documentation Reply Form
If you have comments about this manual or the online help, please fill out the
questionnaire at the end of this manual and send it the address shown. Please
take the time to add your own evaluation grade.
You will find a guide to the technical documentation offered for the individual
SIMATIC Products and Systems here at:
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.
Programming with STEP 7 Lite V3.0
iv
A5E00293884-01
877488438.036.png 877488438.037.png 877488438.038.png 877488438.039.png 877488438.040.png 877488438.041.png 877488438.042.png 877488438.043.png 877488438.044.png 877488438.045.png 877488438.046.png 877488438.047.png 877488438.048.png
 
Preface
Automation and Drives, Service & Support
Available worldwide, around the clock:
Nuernberg
Beijing
Peking
Johnson City
Worldwide (Nuernberg)
Technical Support
24 hours a day, 365 days a year
Phone: +49 (180) 5050-222
Fax: +49 (180) 5050-223
GMT:
+1:00
Europe / Africa (Nuernberg)
Authorization
United States (Johnson City)
Technical Support and
Authorization
Local time: Mon.-Fri. 8:00 to 5:00 PM
Phone: +1 (423) 262 2522
Fax: +1 (423) 262 2289
GMT:
Asia / Australia (Beijing)
Technical Support and
Authorization
Local time: Mon.-Fri. 8:00 to 5:00 PM
Phone: +86 10 64 75 75 75
Fax: +86 10 64 74 74 74
GMT:
Local time: Mon.-Fri. 8:00 to 5:00 PM
Phone: +49 (180) 5050-222
Fax: +49 (180) 5050-223
GMT:
-5:00
+8:00
+1:00
The languages of the SIMATIC Hotlines and the authorization hotline are generally German and English.
Programming with STEP 7 Lite V3.0
A5E00293884-01
v
877488438.050.png 877488438.051.png 877488438.052.png 877488438.053.png 877488438.054.png 877488438.055.png 877488438.056.png 877488438.057.png 877488438.058.png 877488438.059.png 877488438.061.png 877488438.062.png 877488438.063.png
 
Zgłoś jeśli naruszono regulamin