Automating_with_STEP7_in_STL_and_SCL_-_Hans_Berger_bookmark_OCR.pdf

(124583 KB) Pobierz
254859157 UNPDF
Hans Berger
Automating
with STEP 7 in
STL and SCL
SIMATIC S7-300/400
Programmable Controllers
254859157.002.png
254859157.003.png
Automating with
STEP7inSTLand SCL
Programmable Controllers
SIMATIC S7-300/400
by Hans Berger
4th revised edition, 2007
Publicis Corporate Publishing
254859157.004.png
Bibliographic information from Die Deutsche Bibliothek
Die Deutsche Bibliothek lists this publication in the Deutsche Nationalbibliografie;
detailed bibliographic data are available on the Internet at http://dnb.ddb.de.
The programming examples concentrate on describing the STL and SCL functions and providing SIMATIC S7
users with programming tips for solving specific tasks with this controller.
The programming examples given in the book do not pretend to be complete solutions or to be executable on
future STEP 7 releases or S7-300/400 versions. Additional care must be taken in order to comply with the rel-
evant safety regulations.
The author and publisher have taken great care with all texts and illustrations in this book. Nevertheless, errors
can never be completely avoided. The publisher and the author accept no liability, regardless of legal basis, for
any damage resulting from the use of the programming examples.
The author and publisher are always grateful to hear your responses to the contents of the book.
Publicis Corporate Publishing
P.O. Box 3240
D-91052 Erlangen
www.publicis-erlangen.de/books
ISBN 978-3-89578-295-4
4th edition, 2007
Editor Siemens Aktiengesellschaft, Berlin and Munich
Publisher: Publicis Corporate Publishing, Erlangen
© 2007 by Publicis KommunikationsAgentur GmbH, GWA, Erlangen
This publication and all parts thereof are protected by copyright. All rights reserved.
Any use of it outside the strict provisions of the copyright law without the consent of the
publisher is forbidden and will incur penalties. This applies particularly to reproduction,
translation, microfilming or other processing, and to storage or processing in electronic
system. It also applies to the use of extracts from the text.
Printed in Germany
254859157.005.png
Preface
Preface
The SIMATIC automation system unites all the
subsystems of an automation solution under a
uniform system architecture to form a homoge-
neous whole from the field level right up to pro-
cess control. This Totally Integrated Automa-
tion (TIA) enables integrated configuring and
programming, data management and communi-
cations throughout the complete automation
system.
400 automation system, it provides valuable,
practice-oriented information on the basic han-
dling of STEP 7 when configuring, networking
and programming SIMATIC PLCs. The
description of the "Basic Functions" of a binary
control, such as logic operations or latching/
unlatching functions, makes it particularly easy
for first-time users or users changing from relay
contactor controls to become acquainted with
STEP 7. The digital functions explain how dig-
ital values are combined; for example, basic
calculations, comparisons or data type conver-
sion.
As the basic tool for SIMATIC, STEP 7 plays
an integrating role in Totally Integrated Auto-
mation. STEP 7 is used to configure and pro-
gram the SIMATIC S7, SIMATIC C7 and
SIMATIC WinAC automation systems.
Microsoft Windows has been chosen as the
operating system to take advantage of the
familiar user interface of standard PCs as also
used in office environments.
The book shows how you can control program
processing (program flow) and design struc-
tured programs. In addition to the cyclically
processed main program, you can also incorpo-
rate event-driven program sections as well as
influence the behavior of the controller at star-
tup and in the event of errors/faults.
For block programming STEP 7 provides pro-
gramming languages that comply with DIN EN
6.1131-3: STL (statement list; an Assembler-
like language), LAD (ladder logic; a represen-
tation similar to relay logic diagrams), FBD
(function block diagram) and the S7-SCL
optional package (Structured Control Lan-
guage, a Pascal-like high-level language). Sev-
eral optional packages supplement these lan-
guages: S7-GRAPH (sequential control), S7-
HiGraph (programming with state-transition
diagrams) and CFC (connecting blocks; similar
to function block diagram). The various meth-
ods of representation allow every user to select
the suitable control function description. This
broad adaptability in representing the control
task to be solved significantly simplifies work-
ing with STEP 7.
One section of the book is dedicated to the
description of the SCL programming language.
SCL is especially suitable for programming
complex algorithms or for tasks in the data
management area, and it supplements STL
towards higher-level programming languages.
The book concludes with the description of a
program for converting STEP 5 programs to
STEP 7 programs, and a general overview of
the system functions and the function set for
STL and SCL.
The contents of this book describe Version 5.4
of the STEP 7 programming software and Ver-
sion 5.3 of the S7-SCL optional package.
This book describes the STL and SCL program-
ming languages for S7-300/400. As a valuable
supplement to the description of the languages,
and following an introduction to the S7-300/
Erlangen, April 2007
Hans Berger
5
254859157.001.png
Zgłoś jeśli naruszono regulamin