S7_for_Windows_Getting_Started.pdf

(1640 KB) Pobierz
1 Rechner Bausteinverzeichnis
TECHNOLOGIE TRANSFER
DIPL.-ING. B. P. SCHULZ-HEISE
Getting Started with
S7 for Windows
Version 6.x
®
TTI Trans Tech International© 2009
S7 for Windows® Training
INGENIEURBÜRO FÜR
437659505.002.png
Content
The author has created this document to assist users of S7 for Windows ®
Version 6.x. In no way is the author responsible for the completeness or quality of the
information provided. Liability claims regarding damage caused by the use of any
information provided, will not be accepted. Part or all of the pages in the publication
can be edited, altered, in part, or completely deleted by the author without separate
announcement.
The author has not knowingly used any copyrighted material for this publication.
The copyright for any material created by the author is reserved. Any duplication or
use of objects such as diagrams or texts in other printed publications is not permitted
without the author's agreement.
Legal validity of this disclaimer.
This disclaimer is to be regarded as part of the publication which you were supplied
as a customer of S7 for Windows ® Version 6.X. If sections or individual terms of this
statement are not legal or correct, the content or validity of the other parts remain in
force.
Complete training classes available for S5 for Windows ®; S7 for Windows ®; and also
for the Siemens PLC Programming Software Step® 7.
Author:
TTI Ingenieurbüro für
Technologie Transfer
Dipl. Ing. B. Peter Schulz-Heise
Stadtring 207
64720 Michelstadt
Germany
Editor:
Trans Tech International
John Teachout
36 Belmont Road
Suite W22
West Harwich, MA 02671
USA
Tel.: + 1 781 455 6827
Home page: TTIntl.com
Fax: 866 254 5215
E-Mail:
JTD@TTIntl.com
Simatic S5, Step 5, Simatic S7, MicroWin, Step 7, Graph5, S7-200, S7-300, S7-400, MPI, DP, PPI and CP are registered
trademarks of Siemens Aktiengesellschaft, Berlin und München. . Picture Source: "© Siemens AG 2002, All rights reserved"
Windows is a registered trademark of Microsoft Corporation. Excel is a registered trademark of Microsoft Corporation in the
United States and other countries. InTouch® and Wonderware® are registered trademarks of the Wonderware Corporation.
Product names are trademarks of their owners.
S7 for Windows® Training
TTI Trans Tech International© 2009
Copyright
437659505.003.png
0BTable of Contents
Page 1
Table of Contents
Table of Contents
.............................................................................1
1
S7 for Windows ® Basics .......................................................1-1
1.1 Opening the S7 for Windows ® Software .................................... 1-1
1.2 S7 for Windows ® Basic Window (Classic Operator interface) . 1-4
Title Bar .....................................................................................................1-5
1.3 Generating a S7 Project ............................................................. 1-10
1.4 Selecting the English Mnemonics............................................. 1-13
1.5 S7 for Windows ® Basic Window (Standard interface) ............ 1-14
Opening the S7 for Windows ® Software .................................................1-14
S7 for Windows Basic ® Window .............................................................1-15
Title Bar ...................................................................................................1-15
Tool Bar – Standard Operator Interface ..................................................1-16
1.6
File (File Menu - PC Block List) ................................................. 1-18
New (New Project)...................................................................................1-19
Save Online Blocks..................................................................................1-19
Restore Online Blocks .............................................................................1-19
Transfer Project to the PLC .....................................................................1-20
Search For ...............................................................................................1-21
Replace....................................................................................................1-22
Compress PLC Memory ..........................................................................1-22
Clear / Reset PLC....................................................................................1-23
Copy from RAM to ROM..........................................................................1-24
PLC State ................................................................................................1-24
Common Information ...............................................................................1-24
Interrupt Stack (I Stack) ...........................................................................1-25
Block Stack (B-Stack) ..............................................................................1-27
L-STACK..................................................................................................1-28
S7 Memory usage....................................................................................1-28
PLC Access Permission ..........................................................................1-29
Memory Card File ....................................................................................1-29
Preferences .............................................................................................1-29
Block View Tab ........................................................................................1-30
Fonts Tab.................................................................................................1-33
Write Protect Tab.....................................................................................1-34
Print..........................................................................................................1-34
Print Settings ...........................................................................................1-36
Page Layout Margins...............................................................................1-37
Font..........................................................................................................1-38
Header .....................................................................................................1-38
Footer ......................................................................................................1-38
TTI Trans Tech International© 2009
S7 for Windows® Training
437659505.004.png
Page 2
0BTable of Contents
Footer Field abbreviations ...................................................................... 1-38
Connect to the last selected PLC............................................................ 1-39
Connect to the last selected PLC............................................................ 1-39
2
S7 for Windows ® Online Functions..................................... 2-1
2.1
Connecting the S7 PLC with a PC ...............................................2-1
2.2
Transferring all PLC Blocks of a STEP® 7 Program
to the PLC ......................................................................................2-6
Transferring a STEP® 7 Program to the PLC........................................... 2-6
2.3
Transferring a PLC Program or PLC Blocks to the PC ..............2-7
3
S7 for Windows ® Tools to Debug a S7 PLC Program ........ 3-1
3.1
Opening a S7 PLC Program saved in a “S7 Project” .................3-1
3.2
Comparing the existing Online and Offline PLC Program.........3-3
Compare Tool ........................................................................................... 3-4
Differences in Code................................................................................... 3-5
3.3
Arranging Window in the Workplace...........................................3-6
3.4
PLC Block Status display.............................................................3-7
Activating the Status ................................................................................. 3-7
Status Display, Statement List (STL) Presentation................................... 3-8
Status Display, Ladder Logic (LAD) Presentation .................................... 3-8
Status Display, Control System Flowchart (CSF) Presentation................ 3-9
S7 for Windows® Training
TTI Trans Tech International© 2009
437659505.005.png
Chapter 1
S7 for Windows® Basics
Page 1-1
1 S7 for Windows ® Basics
To work with S7 for Windows ® basic skills are necessary.
1.1 Opening the S7 for Windows ® Software
During the installation of S7 for Windows® an icon has been inserted.
Double click the icon “ S7 for Windows ®” to start the programming
system.
Several “tabs” may be displayed at the left as well as at the button of
the S7 for Windows® window. The “Tabs” displayed depend on the
selected windows in the “View” menu.
TTI Trans Tech International© 2009
S7 for Windows® Training
437659505.001.png
Zgłoś jeśli naruszono regulamin