Documente Academic
Documente Profesional
Documente Cultură
STEP 7® Professional STEP 7 Professional includes all the STEP 7 V5.2 basic package
STEP 7 Professional is the programming programming languages complying STEP 7 is the basic package for configu-
and configuring software designed for with the international IEC 61131-3 ring and programming SIMATIC
professional use with SIMATIC® control- standard and therefore enables programmable controllers. It includes
lers. It supports the user through all the cross-company standardization and powerful tools and functions for the
stages of a development process for helps save high software engineering varied tasks involved in an automation
automation solutions, such as overheads. project.
· Installation and management of STEP 7 Professional permits both Major components:
projects programming of the PLC-based
SIMATIC S7 and C7 controllers and the · SIMATIC Manager;
· Configuring and parameter assign- controllers for PC-based automation, for integrated management of all
ment of hardware and communica- SIMATIC WinAC®. This gives the user tools and data of an automation
tions freedom of choice when selecting a project
· Symbol management hardware platform and the opportunity · Program editor;
· Program generation for SIMATIC S7 to use hybrid software configurations. for generating the user program in
target systems STEP 7 Professional executes under the the LAD, FBD and STL languages
· Loading programs on target systems MS Windows 95/98/Me/NT 4.0/XP · Symbol editor;
Professional operating systems and is for managing global variables
· Testing the automation plant adapted to the graphics and · Hardware configuration;
· Plant fault diagnostics object-oriented functionality. for configuring and parameterizing
STEP 7 Professional consists of the follo- The following description presents the the hardware
wing: functions of STEP 7 V5.2 and the asso- · Hardware diagnostics;
· The STEP 7 basic package including ciated engineering software. for a better overview of the state of
the well proven LAD, FBD and STL the automation system
languages · NetPro;
· S7-GRAPH for graphic programming for setting up a data link via MPI or
of sequential controls PROFIBUS
· S7-SCL, the high-level language for
programming even the most complex
tasks
· S7-PLCSIM for off-line simulation of
an automation solution.
2
STEP 7 V5.2
Functions
SIMATIC Manager
The SIMATIC Manager organizes all the
data pertaining to an automation
project, irrespective of the target
system (SIMATIC S7/C7/WinAC). The
SIMATIC Manager automatically starts
the tools required for executing the
selected data.
Some of the functions of the SIMATIC
Manager in STEP 7 V5.2:
Block consistency test
If the interfaces or the code of individual
blocks have to be modified or supple-
mented during program development
or subsequently, the required input for
the corrections may be extremely high.
The block consistency test handles a
large portion of this work for you. In the
case of blocks whose consistency
cannot be corrected automatically, the
function guides you to the positions to
be changed in the associated editor
where you can carry out the required
modifications. All block inconsistencies Determining the leading symbols
are eliminated step-by-step, and the
blocks then compiled.
Leading symbols absolute value (e.g. I0.0) is the decisive-
Symbols can be edited and modified criterion when a block is opened. If the
using the symbol editor. The SIMATIC symbolic address leads, it is particularly
Manager can be used to determine easy to port an existing program to
whether the symbol (e.g. SYM_A) or the another hardware with different
addresses.
Multi-project function
The multi-project function permits
flexible and time-optimized configuring
of plants. Projects may consist of several
subprojects that can be accessed and
modified locally by different users at the
same time. The system supports linking
of the projects. Generation of a
multi-project-wide communications
subnet, for example, can be executed
centrally for the entire multi-project.
3
STEP 7 V5.2
Functions
4
Forcing variables
In the program editor, binary inputs and
bit memories can be assigned buttons
that enable fast and easy forcing of
these operands, simply by clicking a
mouse button. This function can also be
accessed from WinCC®.
Symbol editor
The symbol editor is used to organize all
global variables. For example, symbolic
designations and comments on process
signals, bit memories and blocks can be
defined.
Special features of the symbol editor
include:
Clearly structured symbol table
The symbol table includes all the
symbols defined for a project. The
special characteristics of the symbols
are represented in a clear manner and
are easy to edit. Special features, such
as ambiguous symbols are marked with
graphic symbols. Powerful filters
support the user.
The symbol table is available for all
STEP 7 applications.
5
STEP 7 V5.2
Functions
Hardware configuration
The HW-Konfig (hardware configura-
tion) tool is used to configure and para-
meterize the hardware of a project.
Special functions of HW-Konfig include:
STEP 7 goes Internet
The link with the Internet product infor-
mation system provides current infor-
mation on the hardware used at any
point of time:
· Detail information;
technical data, FAQs and documenta-
tion on the modules used are directly
accessible from the help function of
HW-Konfig
· Updating of the hardware catalog;
new hardware components can be
transferred directly from the Internet
into STEP 7 without having to install a
comprehensive service pack.
6
Hardware diagnostics NetPro - Selection of communications /
Hardware diagnostics provide an over- The STEP 7 NetPro tool can be used to function blocks in the integrated
view of the current state of an automa- configure plant communications. block library
tion system. The hardware components Possible options include: - Parameterization of the selected
generate diagnostics information that · Configuration of time-triggered cyclic communications / function blocks
can be evaluated in STEP 7. data transmission via MPI: in the familiar programming
Functions of the hardware diagnostics language.
- Selection of communications part-
include: The drivers required for Industrial
ners
Ethernet® and PROFIBUS CPs (NCM) are
Signaling system faults - Entering data source and data an integral part of NetPro.
The function "Signal system errors" destination in a table
Special functions of NetPro include:
offers a convenient method for Generation of all blocks to be loaded
displaying the diagnostics information (SDBs) and transmission to all CPUs is Import/Export
provided by the controller’s hardware automatic. Interconnections can be imported and
components in the form of messages. · Configuration of event-triggered data exported in NetPro together with the
The required blocks and message texts transmission station data. NetPro can automatically
are automatically generated by STEP 7. link the interconnections that are
It is only necessary to load the gene- · Definition of communications links re-loaded into the programming device.
rated blocks into the CPU. Transfer of
the diagnostics texts to SIMATIC HMI®
devices does not require any program-
ming.
For further information on diagnostics
refer to the “Diagnostics – Locate and
eliminate faults rapidly“ product brief,
Order No. 6ZB5310-0JS01-0BA1.
7
S7-GRAPH
Programming of sequential controls
S7-GRAPH:
sequential controls - no problem
The SIMATIC software package
S7-GRAPH is based on the STEP 7
programming software. It is used for
sequences with alternate or parallel
steps. The sequences are configured
and programmed clearly and rapidly on
a standardized user interface (according
to IEC 61131-3, DIN EN 61131).
The process is described graphically,
and divided into individual steps with an
easily comprehensible scope of func-
tions. Actions can be defined for the
steps, and their execution controlled.
Transitions control the conditions
required for the next step. Interlock and
monitoring conditions are defined for
each step.
An interlock includes the prerequisites
for execution of actions, and monito-
ring conditions serve to detect faults in
the sequence.
Advantages compared to LAD, FBD, STL
· Clear configuring of the process in the
draft phase; also advantageous in all S7-GRAPH in monitoring mode
other process phases
· LAD, FBD and STL are mainly used for Functions · Synchronization of automatic and
logic controls. With S7-GRAPH, the manual mode;
process sequence is of major impor- S7-GRAPH has been certified in accor-
dance with IEC 61131-3 and PLCopen the process is no longer synchronous
tance if its state was modified in manual
Base-Level. The software permits
· Clear graphic representation of programming according to this stan- mode. S7-GRAPH supports you in
process using sequence chains; this dard and has the following functionali- identifying synchronization points to
results in easy maintenance and ties: resume automatic mode. The rele-
adaptation of programs if necessary vant steps are marked. Transitions or
· Troubleshooting with integral diag- Basic functions interlocks can be defined as criteria.
nostics functions results in minimiza- · Different views with compact display · User-defined interface;
tion of expensive down times, of sequence chains: two possibilities are available for the
· in particular for manufacturing - Overview diagram call interface of the sequence block:
processes - Single-page display - Predefined parameter sets; either
- Detail display pertaining to a step mini, standard or maxi can be
Design selected
· Flexible design of sequential controls;
An S7-GRAPH sequence chain block simultaneous and alternative bran- - User-defined parameters for
consists of the sequence chains and a ching, branches within sequence flexible adaptation to the applica-
general administrative section. chains, activation and deactivation of tion.
S7-GRAPH offers various compiler step
options for minimizing the memory Editing functions
requirements depending on the func- · All sub-sequencers can be arranged · Programming in LAD or FBD;
tionality required (diagnostics, inter- side by side to permit simultaneous all transitions, interlocks and monito-
locks, monitors). monitoring of their states. ring conditions can be programmed
· Good performance through selective in LAD or FBD
processing of steps. The processing
time required for a sequence of steps
is independent of the number of steps
8
· Extensive scope of language Process diagnostics · S7-GRAPH permits storage of diag-
elements for simple programming of S7-GRAPH enables fast, specific diag- nostics-relevant information, such as
conditions and actions; nostics of process faults. This gives message texts and message numbers
simple arithmetic commands (+, -) or operators and maintenance personnel even at the configuration stage.
counters/timers can also be directly comprehensive support in debugging This information is displayed by
programmed as an action in the step and troubleshooting. Downtimes are ProAgent® during operation. ProA-
· Consecutive numbering of steps on reduced and plant availability incre- gent is available as optional package
request ased. for SIMATIC ProTool/Pro® and WinCC.
Testing and debugging functions In principle, various diagnostics options Documentation functions
· The consistency check of STEP 7 is are available: · Compact, clear printing of sequence
fully available for S7-GRAPH. The · Sequential controls can be displayed chains; each page of the printout
“Block consistency test” function can on-line in WinCC. The function is contains references to the adjacent
be used to check S7-GRAPH blocks for implemented by means of an OCX, pages
inconsistencies after a program modi- i.e. the graphics need not be · Linking to project-wide documenta-
fication. emulated in WinCC. They can be tion system (DOCPRO)
· Online functions; imported from S7-GRAPH (S7-GRAPH
display of active steps, status of inter- Viewer).
locking, monitoring and self-enabling · With detailed diagnostics functions,
conditions, as well as executed S7-GRAPH enables you to jump direct
actions from WinCC to the cross-reference list
of S7-GRAPH and to the currently
active step. From V5.2, this function
can be set to read-only for safety
reasons.
S7-GRAPH
Display Vector graphics
Sequence control/structure Control in function block, structure in data block
Sequences per function block 8
Steps per sequence 250
Parallel branches 250
Alternative branches 250
Transition 32 conditions
Step 32 interlocking conditions
32 monitoring conditions
100 actions with system-internal qualifiers
Memory requirement in CPU
for sequence management typically 8 to 11 KB
for the sequence n x 16 bytes to n x 150 bytes, depending on the functionality selected
(n = number of steps per sequence)
9
S7-SCL
High-level language programming
Application
S7-SCL (Structured Control Language) is
a high-level language based on PASCAL
for programmable controllers.
S7-SCL corresponds to the high-level
text language ST (Structured Text).
defined in DIN EN/IEC 61131-3. S7-SCL
is particularly suitable for programming
complex algorithms and mathematical
functions, or for data processing tasks.
S7-SCL permits:
· Simple, fast program development
hardly prone to errors by application
of powerful language elements such
as IF...THEN...ELSE.
· Improved comprehensibility by
improved readability and structure
· Creation of symbolic programs
ensures problem-free modification
and reusability. Declaration and statement sections of a function block
· Simplified program testing at high
language level using debugger.
The user is then able to formulate solu-
tions for all automation tasks cost- Functions · Display of cross-references
effectively and within a short time. S7-SCL has been assigned the Base · User program test possible in
The software can be used for all Level certificate of PLCopen1) and high-level language (as is the case
SIMATIC S7-300 (recommended from possesses the following functionalities: with the other PLC languages).
CPU 314 onwards), SIMATIC S7-400 and · Integral user interface with editor, · Linking of symbols also in the
SIMATIC C7 automation systems. compiler and debugger debugger
Principle of operation
· Language elements from high-level · Linking to the project-wide documen-
language programming, e.g. loops, tation system (DOCPRO)
S7-SCL programs are programmed as alternative branches and branch
ASCII sources and are therefore easy to
· Simple selection of library blocks;a
distributors. corresponding dialog window
import and export. The S7-SCL editor
provides various templates which need
· S7-SCL blocks can be saved in libraries supports navigation in the library.
for further processing in other langu- Following selection of a block, the
only be filled in.
ages. parameter template of the function is
· Templates for blocks (e.g. function · PLC-typical language extensions, e.g. automatically copied into the
blocks and data blocks) and the processed file, and it is only necessary
addressing of inputs and outputs, or
related calls. to enter the parameters.
starting and scanning of timers and
· Templates for block comments, para- counters. · Automatic formatting of input by
meters and constants indentation;
· Elementary and self-defined data
· Templates for control structures types for clear structuring of user colored identification of keywords for
(IF, CASE, FOR, WHILE, REPEAT) which programs. Symbols and comments language and comments;
contain the exact syntax. additionally increase the clarity. the program remains clear and easy
Extremely efficient programming is to read
· Full-symbol programming and saving
possible using these templates. of the complete program in a source · Debugger with "Step into" functiona-
file. lity;
improved test resulting from facility
· Generation of an optimized code with to jump to the called blocks during
only a little compiler input. the test.
10
S7-PLCSIM
The simulation tool
Introduction
Simulation systems can be used to
effectively support the development of
products and subsequent implementa-
Dynamic Test
tion of these products. In the world of Process simulation
automation, a simulated test environ-
ment with associated PLC and process
can reduce the duration of the commis-
sioning phase, thus reducing costs.
If programming errors are detected
early, and if the software is debugged ActiveX interface
and optimized prior to being loaded in
the plant, the programs will show
higher quality, and run much smoother.
Simulation systems can also be used to
test edited programs prior to the
programs being loaded into the PC
on-site.
In addition, S7-PLCSIM can assist you
when converting from SIMATIC S5 to
SIMATIC S7. Existing S5 programs can
Manual Test
be tested for S7 purposes before instal-
ling an S7 controller. It is then possible
to assess what the costs will be.
Application
SIMATIC S7-PLCSIM is the simulation
system in the world of Totally Inte-
grated Automation. It is fully integrated
in STEP 7 and provides a simulated plant
environment. It lets you test user blocks
and programs for S7-300® and S7-400
on a programming device or PC – even
without existing target hardware, i.e. S7-PLCSIM offers a user interface for linking to a process simulation
without CPU, signal modules etc. You
can simulate online access operations
and use the test functions of the
programming tools just as if a CPU were The following programming languages While the program is running, it is
present. The entire program test can be and engineering software are compa- possible to monitor and edit a number
done in the programmer’s office. tible with S7-PLCSIM: of process variables (e.g. you can turn
· LAD, FBD, STL on or off arbitrary inputs and outputs).
S7-PLCSIM additionally provides
· S7-GRAPH human-machine interface functions
· S7-HiGraph with the built-in STEP 7 variable table
· S7-SCL (VAT).
· CFC (and SFC) Interfacing to process simulation
· S7-PDIAG The S7-ProSim interface lets you hook
· WinCC (installed locally) up an external process simulation
system. This interface provides dynamic
Principle of operation access to process variables.
S7-PLCSIM processes the user program S7-ProSim uses ActiveX control and can
like a real CPU. Compared to a real CPU, thus operate with all ActiveX-capable
you can choose between the operating Windows applications, e.g. Visual Basic
modes "Continuous operation" and for Application, or Excel.
"Single step".
11
IEC 61131-3
Introduction
The purpose of the international stan-
dard IEC 61131 is to produce world-
wide, future-oriented standardization in
the sector of programmable controllers.
It has been accepted as the European
standard and the German standard DIN
EN 61131. It is therefore the successor
to various national standards.
Advantages of worldwide standar-
dization
· Savings in software engineering as a
result of cross-vendor standardization
· More efficient training
· Portability of application program to
devices from different vendors is the
long-term goal
12
PLCopen For this purpose, PLCopen has redefined STEP 7 - conforms with IEC 61131-3
the Compliance Levels: and is compatible with STEP 5
Organization
On the basis of this standard, various · Conformity Level (CL) In the context of SIMATIC industrial soft-
suppliers and users of control and · A certified PLC vendor uses a ware, STEP 7 and the associated engi-
programming systems have joined programming language that neering software provide programming
together in the international organiza- conforms with IEC 61131-3, i.e. the software for SIMATIC S7, which is
tion PLCopen which forces the use and data types and instructions used are largely in conformance with the stan-
spreading of programming according to implemented in line with IEC 61131-3 dard. In STEP 7, the programming
IEC 61131. languages have been extended at
· Reusability Level (RL) various points in accordance with the
Siemens is working actively with · The blocks generated in a certified standard to offer users optimum
PLCopen, and has included PLC programming language can be trans- programming convenience and full
programming into the IEC 61131 stan- ferred to another system that is also utilization of the S7 controllers.
dard. certified for the Reusability Level. Furthermore, compatibility with STEP 5
The long-term goal of PLCopen is the They can execute on this system was of greater importance at certain
multi-vendor portability of application provided that common data types points than compatibility with the stan-
programs. Further PLCopen working and instructions are used. dard (especially in STL).
groups are occupied with further Independent institutes assign the
components of the IEC 61131 standard The following table contains the most
respective certificate following the important information on compliance
(e.g. training or motion control). application of test procedures. with the standard. Points where STEP 7
Certification of the programming deviates from the standard, exhibiting a
systems from different vendors is an separate face, are explained in detail.
important prerequisite for software
portability. Exact information on compliance with
the standard is included in tabular form
in a file which is part of the STEP 7
product.
13
Additional Software
14
Software Update Service
15
Service & Support
Online support
The comprehensive Internet informa-
Planning & Configuring & Installation & Operation &
tion system that is available 24 hours a design Development commissioning maintenance Modernization
day covers product support, service &
From consulting to From configuration From assembly to Maintenance Modernization
support services and support tools in providing the solution to implementation final acceptance test services service
the Support Shop: Detailed analysis Selection of suitable Testing the Designing Consulting for
and target definition automation compo- installation maintenance modernization
www.siemens.com/automation/ Consulting in nents Parameter assign- concepts Planning and
product and Design of project ments and settings Service contracts conducting retrofits
service&support system issues architecture and Integration test Conducting Function
Developing your implementation of the machine maintenance/ expansion
automation solution profiles interference
Conducting Optimization of
Technical support Implementation of trial operation clearance machines and
the developed Maintenance, machine parts
Final acceptance
Competent advice concerning all tech- configuration in
software solutions test repair and spare
parts
nical problems, with a wide spectrum of Instruction and
training
customer-tailored services all around
our products and systems:
Tel.: +49 (0)180-50 50 222 Online support
E-Mail: ad.support@siemens.com Technical support
On-site service
Services concerning commissioning and
All designations in this Product Brief