Professional Documents
Culture Documents
VASS Standard Configuration Guideline V 1.7
VASS Standard Configuration Guideline V 1.7
Configuration Guideline
Safety Guidelines
This documentation contains information which you must adhere to for your own personal safety and
to avoid property damage. 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 warning triangle 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 undesirable result or status can occur if the relevant notice is ignored.
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.
Typographical Conventions
Note
This symbol identifies information to facilitate understanding the machine processes. It points to
important information about the system or handling the system.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Only
qualified personnel should be allowed to install and work on this device/system. 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.
Correct Usage
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, safe operation of
the product depends on correct transportation, correct storage, installation and mounting as well as
careful operator control 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.
Legal Notice
The transfer, reproduction, distribution and utilization of this document as well as the communication
of its content are permitted only with the express permission of the Volkswagen Group or Siemens
AG. Offenders will be held liable for payment of damages.
All rights created by patent grant or registration of a utility model are reserved.
Document Identification
Project name: VASS Standard Configuration Guideline
Scope: Volkswagen Group, body manufacturing
Document type: Configuration guideline
Name of document: VASS Standard Configuration_Guideline_V_1_7.doc
Author: Michael Stengel (evopro AG) on behalf of Siemens AG
Saved on: 21.11.2012
Current version
Version
Editor Change reason Remarks
Status Date
1.7 12.11.2012 Michael Stengel Correction and Update ---
Version History
Version
Editor Change reason Remarks
Status Date
1.6 22.08.2012 Michael Stengel Correction and Update ---
1.5 02.03.2012 Michael Stengel Correction and Update ---
1.4 01.12.2011 Michael Stengel Correction and Update ---
1.3 20.07.2011 Michael Stengel Correction and Update ---
1.2.1 21.06.2011 Carsten Zickner Correction ---
1.2 26.05.2011 Michael Stengel Correction and Update ---
1.1 02.03.2011 Michael Stengel Correction and Update ---
1.0 16.02.2011 Michael Stengel --- Initial issue
Contact person
VOLKSWAGEN AG Technical
Carsten Zickner
Department: PMP-A/B Planung Anlagenelektrik Karosseriebau
Location: Wolfsburg
Telephone: +49 (0)5361 / 9-42165
Mobile: +49 (0)151 - 16807985
Fax: +49 (0)5361 / 9-70085
mailto: carsten.zickner@volkswagen.de
VOLKSWAGEN AG Technical
Name: Frank Hennig
Department: PMP-A/B Planung Anlagenelektrik Karosseriebau
Location: Wolfsburg
Telephone: +49 (0)5361 / 9-123003
Mobile: +49 (0)1522 - 2923003
Fax: +49 (0)5361 / 9-70085
mailto: frank.hennig@volkswagen.de
AUDI AG Technical
Name: Felix Niederbacher
Department: N/PN11 Karosseriebau
Location: Neckarsulm
Telephone: +49 (0)7132 / 31-72489
Mobile: +49 (0)160 - 97295871
Fax: +49 (0)7132 / 31-8472489
mailto: felix.niederbacher@audi.de
Contents
Safety Guidelines ...................................................................................................... 2
Typographical Conventions ..................................................................................... 2
Qualified Personnel ................................................................................................... 3
Correct Usage ............................................................................................................ 3
Trademarks ................................................................................................................ 3
Disclaimer of Liability ............................................................................................... 3
Legal Notice ............................................................................................................... 3
Document Identification ............................................................................................ 4
Current version .......................................................................................................... 4
Version History .......................................................................................................... 4
Changes to the preceding revision level ................................................................. 4
Contact person .......................................................................................................... 7
Contents ..................................................................................................................... 8
2.2.3.1.4 ........... Modification of WinCC flexible system with specific data .............................................27
2.2.3.1.5 ........... 16-K variable .................................................................................................................28
2.2.3.1.6 ........... Setup of "SIMATIC WinCC flexible – Start center" .......................................................29
2.2.4 ....... SiVArc Screen Generator........................................................................................................30
2.2.4.1 ......... Installation ..........................................................................................................................30
2.3 .... System settings for STEP 7 ......................................................................................................33
2.3.1 ....... Settings for STEP 7.................................................................................................................33
2.3.1.1 ......... Settings of LAD, FBD, STL editor ......................................................................................33
2.3.1.2 ......... Settings of address priority in STEP 7 programming .........................................................35
2.3.1.3 ......... Settings of the columns ......................................................................................................37
2.3.1.4 ......... S7 GRAPH settings ...........................................................................................................38
2.3.1.4.1 ........... Application settings .......................................................................................................38
2.3.1.4.2 ........... Block settings ................................................................................................................42
2.3.1.5 ......... Settings in S7 SCL .............................................................................................................44
2.4 .... SiVArc Screen Generator system settings ..............................................................................47
2.5 .... System settings for WinCC flexible..........................................................................................47
3 . Data storage......................................................................................................... 48
3.1 .... Description of the folders in the directory structure ..............................................................51
3.1.1 ....... 01_Werk ..................................................................................................................................51
3.1.2 ....... 02_S7 ......................................................................................................................................51
3.1.2.1 ......... 01_Bibliothek......................................................................................................................51
3.1.2.2 ......... 02_Projekte ........................................................................................................................51
3.1.2.3 ......... 03_Archive .........................................................................................................................51
3.1.2.4 ......... 04_Gerätekatalog ..............................................................................................................51
3.1.2.5 ......... 05_Referenzen...................................................................................................................51
3.1.3 ....... 03_SiVArc ...............................................................................................................................52
3.1.3.1 ......... 01_Metamodell...................................................................................................................52
3.1.3.2 ......... 02_Textlisten ......................................................................................................................52
3.1.3.3 ......... 03_Sprachdatenbank .........................................................................................................52
3.1.3.4 ......... 04_Registry_Onlinehilfen ...................................................................................................52
3.1.4 ....... 04_WinCC flexible...................................................................................................................53
3.1.4.1 ......... 01_Vorlagen .......................................................................................................................53
3.1.4.2 ......... 02_Symbolbibliothek ..........................................................................................................53
3.1.4.3 ......... 03_Runtime ........................................................................................................................53
3.1.4.4 ......... 04_UserDictionary .............................................................................................................53
3.1.5 ....... 05_Remote_Operate...............................................................................................................53
3.1.6 ....... 06_Dokumentation ..................................................................................................................53
3.1.7 ....... 07_ZAÜ ...................................................................................................................................53
3.2 .... Block help ...................................................................................................................................54
8.1.2.4.3 ........... Filling out the "Import User Texts" dialog and executing the import ...........................291
8.1.2.4.4 ........... Completion report of the import ..................................................................................291
8.1.3 ....... Implementing the language management block in the S7 program .....................................292
8.1.3.1 ......... Executing FB 651 "LMsg" ................................................................................................292
8.1.3.1.1 ........... Input parameter...........................................................................................................293
8.1.3.1.2 ........... Output parameter ........................................................................................................293
8.1.3.1.3 ........... Input and output parameter ........................................................................................294
8.1.3.1.4 ........... Fault / Warning / Message diagnostics .......................................................................294
8.1.3.2 ......... Executing FB 650 "MeldeFB" ...........................................................................................296
8.1.3.2.1 ........... Block process image ...................................................................................................296
8.1.3.2.2 ........... Input parameter...........................................................................................................296
8.1.3.2.3 ........... Output parameter ........................................................................................................297
8.1.3.2.4 ........... Input and output parameter ........................................................................................297
8.1.4 ....... Multilingual S7 Graph step sequencer displays ....................................................................298
8.2 .... SiVArc ........................................................................................................................................302
8.2.1 ....... Provisioning the WinCC flexible project ................................................................................302
8.2.2 ....... Integrating a WinCC flexible project in STEP 7 ....................................................................302
8.2.3 ....... Activating the multilingual support ........................................................................................305
8.3 .... WinCC flexible ..........................................................................................................................306
8.3.1 ....... User dictionary in WinCC flexible ..........................................................................................306
8.3.1.1 ......... User dictionary .................................................................................................................306
8.3.1.1.1 ........... Opening the "User dictionary" editor ...........................................................................306
8.3.1.1.2 ........... Design of the "User dictionary" editor .........................................................................306
8.3.1.1.3 ........... Working area...............................................................................................................307
8.3.1.2 ......... Adding a term to a user dictionary ...................................................................................307
8.3.1.2.1 ........... Introduction .................................................................................................................307
8.3.1.2.2 ........... Requirements..............................................................................................................307
8.3.1.2.3 ........... Adding a new term ......................................................................................................307
8.3.1.2.4 ........... Alternative procedure ..................................................................................................307
8.3.1.2.5 ........... Result ..........................................................................................................................307
8.3.1.3 ......... Managing user dictionaries ..............................................................................................308
8.3.1.3.1 ........... Introduction .................................................................................................................308
8.3.1.3.2 ........... Renaming a user dictionary ........................................................................................308
8.3.1.3.3 ........... Integrating a user dictionary in a project .....................................................................308
8.3.1.3.4 ........... Removing a user dictionary from the project ..............................................................308
8.3.1.3.5 ........... Deleting a user dictionary ...........................................................................................308
8.3.1.3.6 ........... Copying a user dictionary ...........................................................................................309
8.3.1.3.7 ........... Uninstalling WinCC flexible .........................................................................................309
8.3.2 ....... Managing the project texts ....................................................................................................310
8.3.2.1 ......... Opening the project text overview....................................................................................310
1.1 Introduction
1.1.1 Objective of this documentation
This documentation, "VASS Standard Configuration Guideline", serves system suppliers of the
Volkswagen Group as specification and guidelines for implementing their project-specific tasks.
The documentation describes the demands from the perspective of the Volkswagen Group on an
automation system, the software and the procedure for the configuration of SIMATIC WinCC flexible.
The relation between demands and implementation is explained by means of practical examples.
The documentation "VASS Standard Configuration Guideline" is intended to establish the basics of a
principal objective for the project.
Ensuring a high-quality overall result
Ensuring a high availability and flexibility of the overall system
Minimizing investment, operating and required expansion costs
Implementing optimal work contents and working conditions for the user group
Modularizing the complex overall control system into manageable exchangeable units
Simplifying and standardizing the interfaces between individual modules
Note
Detailed items that were not included in the documentation "VASS Standard Configuration
Guideline" or in additional standard specifications must be arranged with the contact person in
charge of the Volkswagen Group.
For this purpose, the project partner should prepare suggestions to be submitted to the contact
person in charge of the Volkswagen Group based on the existing documentation.
The manual is intended for all system operators, project managers and project engineers,
maintenance and service personnel, who have to create or edit projects in the context of the VASS
standard. It provides solutions for implementing automation projects using SIMATIC STEP 7 and
WinCC flexible.
If changes and additions of the present documentation should become necessary in the context of the
document maintenance by the Volkswagen Group during the project execution, they will be
incorporated in the corresponding follow-up versions of the document.
Notice
The documentation "VASS Standard Configuration Guideline" does not release the system supplier
from his responsibility to ensure that the version of systems and documentation to be supplied is
professional and meets the local regulations.
The software tools listed below with the specified versions are absolutely necessary for the
configuration with Windows XP according to VASS standard:
Program Version Function Uses
STEP 7 V5.5 + HF3 Configuration Programming device,
S7 controller control panel
S7 GRAPH V5.3 + SP6 Configuration of step Programming device,
sequencer control control panel
S7 SCL V5.3 + SP5 Programming of Programming device,
function blocks control panel
S7 Distributed V5.4 + SP5 Configuration of safety wiring Programming device,
Safety control panel
WinCC flexible 2008 Advanced Configuration of control Programming device,
+ SP2 / Update 3 panels control panel
WinCC flexible 2008 Advanced Modified file for use of the 3- Programming device,
HmiES.exe GB work memory by control panel
WinCC flexible
WinCC flexible 2009.03.17WCF2008. Enabling the import interface Programming device,
Activate Activate for WinCC flexible control panel
WinCC flexible 2008 RUNTIME 4096 Runtime environment for Programming device,
POWERTAGS WinCC flexible control panel
WinCC flexible / For WinCC flexible Use for step sequencer Programming device,
ProAgent runtime diagnostics in WinCC flexible control panel
Remote Operate V2.1.5.x Coupling of auxiliary control Control panel
Server units
SiVArc V2.0.77 Generating Programming device,
user interfaces control panel
Tab. 1.1 Software tools for Windows XP
The software tools listed below with the specified versions are absolutely necessary for the
configuration with Windows 7 / 64 bit according to VASS standard:
Program Version Function Uses
STEP 7 V5.5 + SP2 + HF1 Configuration Programming
S7 controller device, control panel
S7 GRAPH V5.3 + SP7 Configuration of step Programming
sequencer control device, control panel
S7 SCL V5.3 + SP6 Programming of function Programming
blocks device, control panel
S7 Distributed V5.4 + SP5 + Configuration of safety wiring Programming
Safety Update 1 device, control panel
WinCC flexible 2008 Advanced + SP3 + Configuration of control Programming
Update 2 panels device, control panel
WinCC flexible 2008 Advanced HmiES.exe Modified file for use of the 3- Programming
GB work memory by device, control panel
WinCC flexible
Common.Utils.Resources.dll
HmiES.exe.config
WinCC flexible 2009.03.17WCF2008. Enabling the import interface Programming
Activate Activate for WinCC flexible device, control panel
WinCC flexible 2008 RUNTIME 4096 Runtime environment for Programming
POWERTAGS WinCC flexible device, control panel
WinCC flexible / For WinCC flexible runtime Use for step sequencer Programming
ProAgent diagnostics in WinCC flexible device, control panel
Remote Operate V3.1.x Coupling of auxiliary control Control panel
Server units
SiVArc V2.0.77 and higher Generating Programming
user interfaces device, control panel
Tab. 1.2 Software-Tools for Windows 7 / 64 bit
The VASS standard software package was created on this basis. If newer versions should be in
circulation, the contact person in charge of the Volkswagen Group should be notified prior to the
configuration with these versions.
Version numbers of the software tools that are used in a new configuration are defined in the
corresponding project workshop in each case.
Note
If older software versions are used, the functionality of the control software is no longer
guaranteed.
2 System Configuration
The use of a PC also requires an external prommer for SIMATIC memory cards/MMC if you intend to
save your application programs in EPROMs on these media and a SIMATIC NET connection if you
want to use online functions for the automation system with your PC.
User authorizations
The following should be observed concerning the user authorizations for STEP 7 Professional Edition
2004 / SR2 and higher:
In order to work with STEP 7 Professional under MS Windows, you must have logged in at least at the
user level (no guest login). You need administrator rights for the installation of the STEP 7
Professional software and for configuring modules using the "Set PG/PC Interface" application. Main
user rights are required for the use of S7 GRAPH.
No special points need to be observed during the software installation for STEP 7 Professional 2010.
Before starting the setup, exit all applications (e.g. MS Word, etc.) and close the "Control Panel"
window since you have to restart MS Windows after completing the installation of STEP 7 Professional
so that all system variables can be completely registered.
Insert the STEP 7 Professional DVD in the drive. The installation of STEP 7 Professional is done via a
user-guided setup, which is started by calling up MS Windows Explorer and double-clicking on the
"Setup.exe" program of the STEP 7 Professional DVD.
In the component selection box, select all software components listed for the installation.
The selected components are subsequently installed, including the entries in the MS Windows files.
Note
"S7 Distributed Safety Programming" is part of the "S7 Distributed Safety" option package and is
installed as part of the installation of "S7 Distributed Safety".
User authorizations
The installation of the software is possible only with administrator rights.
In order to work with "S7 Distributed Safety Programming", you must have logged in at least
at the user level (no guest login).
F-block libraries
During the installation, an existing "Distributed Safety (V1)" F-library on the PG/PC is
replaced with the "Distributed Safety (V1)" F-library installed by "S7 Distributed Safety, V5.4 /
SP5".
Before starting the installation, exit all applications and close the "Control Panel" window. Insert the
CD with the "S7 Distributed Safety" option package in the drive. The installation of the software is
done via a user-guided setup which is started either automatically with the Autostart function or via
Windows Explorer by double-clicking on the "SETUP" program located on the "S7 Distributed Safety"
software CD-ROM. The program is installed under the installation path of STEP 7 and cannot be
changed.
2.2.3.1 Software installation for WinCC flexible 2008 Advanced SP2 / SP3
For the installation of WinCC flexible, it must be observed that you do not select the suggested
"Complete Installation", but the "Custom Installation" (due to the required "ProAgent" option).
The following selection of the software components should be applied:
License Management
License Manager
Utilities
ProSave
"Update3" is a separate package which is provided on a project basis and must be installed in addition
to "WinCC flexible 2008 Advanced with SP2".
This add-on package is required to be able to use the auto-import function with the SiVArc Screen
Generator in conjunction with WinCC flexible.
To install it, start the "Activate.bat" file.
In order for the larger working memory provided by the "3 GB Switch" function to be made available for
32-bit systems or generally for 64-bit systems to be used by WinCC flexible, especially modified files
are required which are distributed by Volkswagen.
Simatic WinCC flexible 2008 Advanced SP2 / Update 3:
"HmiES.exe"
That means, the "HmiES.exe" file created during the installation in the installation directory of
WinCC flexible "Siemens\Simatic WinCC flexible\WinCC flexible 2008" must be replaced with the
modified "HmiES.exe" file.
Note
This "HmiES.exe" file is available in two versions, one for SP2 / Update 3 and one for
SP3 / Update 2.
This avoids storage problems during the import of very large projects.
Suppleme
nt
Fig. 2.4 3-GB switch for 32-bit XP system
Note
This "WinCC flexible Add-on" is available in two versions, one for the SP2 application and one for
the SP3 application!
In the "Device
settings", open the
"Device settings" tab Open
Make the selection before integrating in STEP 7, but do not save the setting, otherwise the body
project will be changed.
Afterwards, integrate in the STEP 7 project and save when closing.
Note
If a project was generated with 8K integrated body project and the integration fails because the
number of variables is too low, a new body project with changed device settings must be
integrated.
Afterwards, it is not possible to switch from 8K to 16K.
Autostart must be disabled on the taskbar in the "SIMATIC WinCC flexible - Start center".
2.2.4.1 Installation
Check under "Start Control Panel Software (on the "Add and Remove Programs" tab)",
whether the "Microsoft.NET Framework 3.5" file exists. If not, the "dotNetFx35setup.exe" file must be
executed.
Double-clicking on the "setup.exe" file opens the setup start page of SiVArc.
After completing the installation, the desktop features the icons of "SiVArc Screen Generator" and
"SiVArc Update Manager".
To achieve a uniform appearance of different programs and an optimal utilization of the screen or the
printout, the settings of the LAD, FBD, STL editor should be accepted as shown.
The following subitems on the "General" tab should have a check mark:
Additional Options
"Save window arrangement on exit"
"Set network title automatically"
Program status
"Control at contact"
"Terminate ONLINE connection after program
status"
Delay time "5" (seconds)
The following subitems on the "View" tab should have a check mark:
On the "LAD/FBD" tab, the following entries should be made or subitems should have a check mark:
Layout
"DIN A4 Portrait"
Address Field Width
"13"
Element
Representation "2-dimensional"
Line/Color
Reference "Status fulfilled"
Line weight "Medium"
Color "GREEN"
Place a check mark at"Type check of addresses" and
"Display comments for the interface variables".
The following subitems on the "Block" tab should have a check mark:
Additional information is
available by pressing the Help
button.
Fig. 2.19 Setting the address priority
Notice
This setting is very important.
Otherwise, the generator does not generate the robot text lists.
Notice
Only one S7 program is allowed!
If a project contains more than one S7 program, the generator aborts with this error message.
Notice
Before the generation, verify that only one S7 program exists!
Settings for the columns are made under the menu item "Options Setting Columns".
The "Date of change" column should be moved to 7th position.
The settings must be made for the two windows "User projects" and "Libraries".
Note
When sorting by the date of change, it can immediately be seen which blocks were affected by the
last change.
Only these blocks have to be loaded in the CPU (saving time).
Application settings are made under the menu item "Options Application Settings" and form a
type of template for newly created blocks (step sequencers).
Notice
Settings that are changed here have no effect on already existing step sequencer blocks.
Settings that apply to the general representation and to views as well as the behavior while saving are
made on the "General" tab.
Apply the settings as shown in the dialog.
Notice
Here, it is important to place no check mark in the "Conditions and Actions" area at "Only display
first line".
The settings on the "Compile / Save" tab are important for the behavior of the step sequencer. They
have serious effects of the runtime characteristics of the step sequencer and its memory demand.
Use the following settings as default for new blocks:
FB Parameter
"Standard"
Executability
"Independently executable"
(minimal cycle time load approx. 30 % less)
Warnings
"None"
Interface description
"Individual structures"
Enable "Load In AS"
(due to decompilability)
Sequencer properties
No "Criteria analysis data in DB"
( not allowed)
No "Skip steps"
( Minimal cycle time load can only
be determined individually)
Synchronization (V4.0 or higher)
Secured switching behavior (V5.1 or
higher)
only one step can be activated for each
simultaneous branch
this means, structure is taken into
account upon step selection
Message handling
Select "Report with Alarm_SQ / Alarm_S" (SFC17 /
SFC18) and enable both subdirectories.
Creating messages
"Alarm message" must be selected for "Interlock"
and "S7GRAPH Interlock Error" must be entered as
text.
"Alarm message" must also be selected for
"Supervision" and "S7GRAPH Supervision Fault"
must be entered as text.
Block settings are set under the menu item "Options Block Settings" and, in contrast to the
application settings, only change the behavior of the currently open block (of the currently open step
sequencer). They are not applied as defaults.
On the "Compile / Save" tab, you perform the same settings as those for the application settings of the
same tab.
FB Parameter
User-defined (V5.0 or higher)
Executability
"Independently executable"
(minimal cycle time load approx. 30 % less)
Warnings
"None"
Interface description
"Individual structures"
Enable "Load In AS"
(due to decompilability)
Sequencer properties
No "Criteria analysis data in DB"
( not allowed)
No "Skip steps"
( Minimal cycle time load
can only be determined individually)
Synchronization (V4.0 or higher)
Secured switching behavior (V5.1 or
higher)
only one step can be activated for
each simultaneous branch
this means, structure is taken into
account upon step selection.
Note
Observe the check mark "Apply as default for new blocks".
It applies any changes made as default for new blocks.
The "Messages" tab looks different than the one in the application settings (Fig. 2.27 "Messages
application settings").
Message handling
Select "Report with Alarm_SQ / Alarm_S" (SFC17 /
SFC18) and enable both subdirectories.
Note
Observe the check mark "Apply as default for new blocks".
It applies any changes made as default for new blocks.
The following subitems must feature a check mark on the "Create Blocks" tab:
Overwrite blocks
Already existing blocks in the "Blocks" folder of an S7 program are overwritten here if the compiling
process results in blocks with the same designation. In the same way, blocks with the same name that
already exist in the target system, will be overwritten during the loading process. If this option is not
selected, you have to confirm a message before the block is overwritten.
Display warnings
This option defines whether warnings will be
displayed in addition to faults after a compilation run.
Errors before Warnings
This option defines whether faults are listed before
warnings in the message window.
Create reference data
Selecting this option automatically generates
reference data when a block is created. However, the
menu command "Options Reference Data"
provides the opportunity to create or update the
reference data at a later time.
The following subitems on the "Compiler" tab should have a check mark:
Create Object Code
With this option you define whether you want to create an executable code or not. The compiling
process without this option is used only as a syntax check.
Optimize Object Code
If selected, this option optimizes the generated blocks with respect to their memory demand and
runtime in AS. It is recommended to always select this option since the optimization does not create
any disadvantages that affect the functionality of the block.
Create debug information
This option enables you to execute a test run with the debugger after the program has been compiled
and loaded into the CPU. However, the memory demand of the program and the runtimes in the AS
increase with this option. If this option is enabled, the reference data required for testing are
automatically generated.
Allow nested comments
Select this option if you want to nest several
comments into each other in your S7 SCL source.
Maximum string length
Here you can reduce the default length of the
STRING data type. The basic setting is
254 characters. The setting applies only to the
return values of an FC as well as to output and
through-type parameters. Note that the setting
applies to all STRING variables in the source. The
set value may not be less than the STRING variables
used in the program.
3 Data storage
The data storage on the destination device is located on drive "D:\".
For this reason, it is absolutely necessary to set up an identical data storage on the configuration
device as shown in Fig. 3.1 "Project data - Folder structure" since all the settings and mechanisms are
adjusted to it.
Note
When using the Windows language setting in German/English, the list separator must be set to ";"
under
"Control Panel Region and Languages Formats Additional settings Customize
Format Numbers (see also Ch. 8.1 "Multiple languages – STEP 7" because of the format
conversion "xls-csv").
The "01_Werk" directory contains general documents that are important to the system builder and
operator (e.g. car body codes, etc.). These documents will be provided by the Volkswagen Group.
3.1.2 02_S7
3.1.2.1 01_Bibliothek
3.1.2.2 02_Projekte
3.1.2.3 03_Archive
3.1.2.4 04_Gerätekatalog
The current VASS device catalog containing the device description files (GSD) that are relevant to the
current project is stored here.
3.1.2.5 05_Referenzen
Comparison projects are temporarily stored here during the commissioning phase.
They must be deleted prior to handing over the system to the operator.
3.1.3 03_SiVArc
The SiVArc Screen Generator requires certain guideline files, the so-called meta-model, for generating
the visualization.
It is provided for the project and automatically placed in the folders described below by the Update
Manager.
For more information about the operating principle of the SiVArc system, see also Chapter 6 "SiVArc".
3.1.3.1 01_Metamodell
The meta-model contains all the guideline files required for the automatic generation of the system
visualization. These files exist as XML files and are stored in the subfolders.
Configuration file:
The Meta-model main folder also contains the configuration file for operating the SiVArc
Screen Generator.
Block descriptions:
Every function block features a description file that describes the connection between
STEP 7 block and WinCC flexible faceplate and that contains the pertinent message texts.
Picture descriptions:
The picture description files contain the information for the picture design.
Device descriptions:
A separate device description exists for every device type to be configured with
WinCC flexible. It contains all the required information for the description of the device.
3.1.3.2 02_Textlisten
Text lists required during the course of the project are stored here in CSV or XLS format.
3.1.3.3 03_Sprachdatenbank
It contains all the texts available in multiple languages that are relevant to the project.
The language database is currently not being distributed.
3.1.3.4 04_Registry_Onlinehilfen
This folder contains a file that needs to be started so that the entries for using the S7 online help for
the project-specific function blocks can be made to the registry.
3.1.4.1 01_Vorlagen
3.1.4.2 02_Symbolbibliothek
3.1.4.3 03_Runtime
3.1.4.4 04_UserDictionary
3.1.5 05_Remote_Operate
The configuration data for the Remote_Operate connections are stored in this folder.
3.1.6 06_Dokumentation
3.1.7 07_ZAÜ
Note
This function is not available if the directory is created elsewhere.
Notice
To ensure the function of the online help, the supplied "VASS_Help.reg" registration file must be
executed.
The installation of "MSHelp" requires activating the "Windows Update" service. This is done under:
"Computer Management Service and Applications Services
Windows Update Manual Start".
The "Windows Update" service has now been started and is active.
Fig. 3.10 Confirming the license requirements for "Update for Windows (KB917607)"
After the "MSHelp" installation, the "Windows Update" service must be deactivated. This is done
under: "Computer Management Service and Applications Services
Windows Update Manual Stop"
Note
This function is not available if the directory is created elsewhere.
Notice
To ensure the function of the online help, the supplied "VASS_V05_HELP_W7_64bit_Vx.x.reg"
registration file must be executed.
If Block online help in German is used (file endings "_de"), then "Options Customize
Language" in the SIMATIC Manager must be set to "German". Confirm the entry with a click of the
mouse.
If Block online help in English is used (file endings "_en"), then "Options Customize
Language" in the SIMATIC Manager must be set to "English". Confirm the entry with a click of the
mouse.
4 Project creation
Principal procedure for project creation:
Copying all sources and blocks from the library to the project
Creating DB100 to DB1xx for work group and protective circuits filling them accordingly
Creating structure FCs and filling them Creating and filling F-FBs accordingly
according to the system
Finished S7 project
Blocks that are not available in the S7 project library must be created by the system supplier in
consultation with the responsible electrical engineering.
S7 base project:
The S7 base project forms the basis for creating a system-specific project.
It features all the S7-specific basic settings and an integrated WinCC flexible body project so that all
the essential communication settings are preset here.
The following must be adjusted:
Expanding the symbol table:
System-specific I/Os are generated from the EPLAN of the system and imported into the
symbol table. It already contains fundamental symbolics and comments.
Reserving bit memory address areas:
In the symbol table, the bit memory address area from M 0.0 to M 100.0 must be reserved
for the VASS system function, and the bit memory address area starting at M 4000.0 must
be assigned to the safety area. Any additional required bit memories must be created
between these areas.
Adjusting the OB:
The system OBs "OB82", "OB83", "OB85", "OB86" are already integrated in the sample
project and must be used. The STEP 7 standard OBs under the same name do not contain
all the VASS functions. OB1 is present as template and must be expanded by the user with
the calls of the structure FCs.
Creating the module components:
The SCL source files in the module FBs must be compiled for all the required system
functions.
Creating the sequence programming:
The call structure must be created according to the sequence of the system or the defined
sequence plan of the mechanical engineer.
Maintaining the PLC project:
All excess blocks must be deleted. Use the reference data to check whether any double
assignments exist.
Note
All sources must remain in the "Sources" folder and may not be deleted at all.
Device catalog:
The device catalog can be integrated in the STEP 7 hardware and contains the project-relevant device
descriptions, at least as far as they are known to date.
VWGKV04_0
1
VWGKV04_01.da
t
Reference projects:
The reference projects are fully designed model systems and serve as reference as well as an
illustrative project for design interrelationships. Form and structure of the created system project must
correspond to those of the references.
4.1 PROFINET
The basis for creating a hardware configuration with PROFINET nodes is the PROFINET naming
convention which is illustrated in the following overview (Fig. 4.4 "Structure of PROFINET device
names").
Each node receives a 22-digit PROFINET device name that results from the EPLAN circuit
documentation.
"Appendix A: PROFINET Device Names" contains a sample table for this purpose.
A "Class C network" is intended for every PLC which contains 256 IP addresses accordingly. These
256 IP addresses are assigned according to the defined scheme.
Double-clicking on "X3"
(KASTAN1-----BS-ALLGKUX) opens the window
"Properties - KASTAN-----BS-ALLGKUX (R0/S2.3)"
(Fig. 4.6 "General PROFINET settings").
Configuration:
For an IO device to be replaceable without inserting a removable medium or without the
parameterization with a PG, the check box "Support device replacement without removable medium"
at the interface of the IO controller on the "General" tab must be enabled.
Fig. 4.7 Example of the message in the consistency check of the hardware
If individual IO devices of the automation system do not support the device replacement without
removable medium, a corresponding message is output for the IO device in the consistency check.
IP address
Enter the first IP
address
Subnet mask
Enter the address of
the subnet mask
Subnet
Select the default
gateway
The other PROFINET nodes must be created in the hardware configuration according to the
PROFINET bus design and adjusted and labeled with the corresponding parameters.
Examples for all the common PROFINET nodes are located in "Appendix B: HW Configuration for
PROFINET Nodes".
For PROFINET, the update time for each node is set individually. By default, the update time is set to
"Automatic" to achieve a very short update time.
The communication
portion for PROFINET
IO must be set to
100 %, the transmission
clock pulse to 1.0 ms.
Note
The PROFINET node settings are absolutely necessary.
Deviations must be coordinated with electrical engineering.
The topological view must also be represented for the entire PROFINET IO system.
Note
It is recommended to wait with setting up the PROFINET topology until the commissioning of the
system.
First, an "offline/online comparison" must be performed to check whether all configured nodes
correspond to the actual state of the system.
--- white A module was detected that does not correspond to any
configured module and also does not contain any topological
information.
gray gray Based on the interconnection, it was detected that the module
is part of a tool (docking unit) (i.e. interconnected behind
a "changing partner port"). For such
modules, the online detection is partially not possible:
At the time of the detection process, not all modules
are connected with the network.
Graphic view
To create a graphic view, a suitable system overview picture, e.g. from the EPLAN documentation or
something similar, must be stored as BMP file.
This must be done in the following steps:
Step 1:
Select Options and open the correct BMP file via the tabs "Background pictures" and "Add…".
Step 2:
Right-click and activate the "Move Picture Mode" function.
It should be noted that the miniature view shows the zoom slider positioned completely on the left.
Step 3:
If possible, the inserted BMP file should be scaled to the entire area.
Fig. 4.15 Topology editor - Scaling the BMP file to the entire area
Step 4:
The PN nodes must be moved in such a way that the spatial assignment is recognizable.
Note
Exit the Topology editor and accept the changes.
The topological interconnection is now stored offline in STEP 7.
Save and compile the hardware configuration and load the hardware into the CPU.
To be able to use the detection of the damping values, the following setting must be made at the
PROFINET nodes in the hardware configuration.
Note
If the aforementioned port settings are not made, "no" status window is displayed in the hardware
configuration in online mode.
To obtain a complete representation of all network nodes, the pure Ethernet nodes in NetPro must be
inserted and configured either as SIMATIC-HMI stations or as other stations.
Note
The password must be managed independently by the system supplier during the implementation
phase of the project.
When handing over the system, the password must be given to the operator with the note that it
should be changed.
Notice
The watchdog must be set to 50 ms.
This setting is absolutely necessary since the Safe program in OB1 is called and a forced
shutdown may take place via the watchdog.
"Report system errors" performs an automatic generation of texts and their assignment to message
numbers. The system is based on the "ALARM_S message channel" and uses a process that is based
on message numbers for the message display. Message texts are generated with the existing
configuration and entered in the STEP 7 database. This allows the message texts to be read or
imported by display systems from Siemens AG.
Note
After every change of the hardware configuration, "Report system errors" must be generated again.
The configuration takes just a few clicks since the required diagnostic program is being generated
automatically.
The dialog boxes that open subsequently must be filled out as specified.
First define the numbers and their symbolic
designation of the blocks on the "General" tab
as specified.
If the check mark is set at "Optimized creation of messages", the following warnings may be issued
during the generation:
4.3.1 Structure FC
Blocks that are used for configuring the user program. In general, instances for the control of actuators
are defined in these blocks. Structure FC are called from within an OB.
4.3.2 Structure FB
Blocks that are used for configuring the user program. These blocks are used for the control of the
system process via step sequencers.
4.3.3 Module FB
Blocks for controlling function modules for actuators and units or other FBs that execute a certain
function.
Module FBs (starting at FB100) are generally integrated as single instance in the structure FCs (FC10
to FC99) from the libraries.
4.3.4 Module FC
Reserved 1…9
User 1 … 99
Sequential control 10 … 99
General 100 … 199
Robot 200 … 249
Robot processes 250 … 299
Machine processes 300 … 349
Drive technology 350 … 399
Clamping technology 400 … 449
Internal conveying
450 … 499
technology
/F range Technologies 500 … 549
Library 100 … 799
Job management 550 … 599
ZAU 600 … 619
FB PDE/PDA 620 … 639
Step sequencer blocks 640 … 649
Message system 650 … 659
Utility blocks 660 … 699
External conveying
700 … 749
technology
Assemblies 750 … 799
System 800 … 899
F program block 900
User 900 … 929 Protective circuit (n) 901
Additional protective
F range 902 … 929
circuits
Library 930 … 999
System 1000
Reserved 1…9
1 … 99
User
Sequential control 10 … 99
/F range
100 … 119 TXT, structures 100 … 119
Library 120 … 799
DB
System 800 … 899
F_Ablaufgruppe 900
User 900 … 929 PN/PN coupler 1 901
F range
Other PN/PN couplers 902 … 929
System 1000 … 1999 1000 … 1999
/F range User 2000 … Instance DBs 2000 …
Tab. 4.1 Overview of block distribution
4.5 Variables
4.5.1 Global variables
For global variables, a distinction is made whether they are declared in the I/O area, the bit memory
address area or in DBs.
The I/O area is essentially defined via the EPLAN project and can be exported using an export
function of EPLAN and imported in STEP 7.
I/O nodes, which can be configured in the control program only via a start address in the block, e.g.
robots, drives, measuring systems, coupler interfaces, etc., must be declared in the symbol table using
the individual bits. The declaration can be taken from the references.
This declaration is required to generate corresponding label texts for the visualization.
Bit memory address areas are declared variables of simple data type.
The following groups are available here:
System variables
PLC standard variables
Visu standard variables
Project standard variables
System-specific variables
Configuring stations
Safety replacement variables
The bit memory address area from M 0.0 to M 100.0 must be reserved for the VASS library and the bit
memory address area 4000 for the safety area.
4.5.1.3 DBs
Note
Each protective circuit receives a separate DB.
It is not allowed to declare structure variables of several protective circuits in one DB.
4.5.1.4 Instance DB
Rotary table
Valve
Valve
e.g. St110020
Roller
conveyor
Lifter
e.g. St110030
Fig. 4.33 Instance DB
Note
Each module block must be assigned an instance data block.
The assignment is done randomly in succession starting with DB2000.
Static variables are used in module FBs (library blocks and step sequencers) as auxiliary variables for
step enabling.
In the structure FCs, the auxiliary variables, which are being used as step enabling, are preferably
formed via global system-specific station variables.
The variables that are required in the structure FCs for interconnecting the parameters, are stored in
the temporary variable containers to be able to read a status in online mode.
The interconnecting structure is interconnected at the FB with the structure "12"._0050MZ11 and the
element "Frg_V1". The element is stored in the structure of data type "STB_Ventil".
The symbolic name of the structure FCs is defined via the object properties. For this purpose, right-
click on the corresponding block in the SIMATIC Manager and select the "Object Properties" menu
item.
You define the instance name of the single instance call when you integrate the module FCs in your
user program.
Note
Do not use any special characters in the declaration comments.
This keyword is used in every structure FC whose elements are shown in the visualization. This
results in a unique assignment of module FBs to one or several panels on which the visualization of
the module FBs should be placed. The keyword is used in the network comments within the structure
FC.
Syntax
"HMI=I<[1..32]>" (or: ";I<[1..32]>" for assignment to additional panels)
Example
For some of the assignments in the visualization, the variables configured for the interface of the
corresponding module FBs ("FB_Nothalt", "Meld_4" and "FB_Schutzkreis") are important.
Note
Only the symbolic names of the bit memory area declared in the symbol table may be used at the
parameters! Unused parameters remain without connection.
Temporary variables may not be used at these parameters that are required for the visualization!
This may lead to the error message "System.NullReferenceException" (Fig. 4.43 "Generating
error").
In STEP 7, the module FB is called in the structure FC, each module FB is assigned an InstanceDB.
In the symbol table, a symbolic name and a symbol comment are entered for this InstanceDB.
For the configuration in the S7 project, it must be observed that those text portions which are selected
individually must be separated by an underscore character "_".
Notice
If one or several underscore characters "_" are missing between the text portions, the text is
incorrectly selected and does not appear on the faceplate.
In case of missing or incorrect text, the faceplate does not appear in the picture. It is not being
created.
Example:
FbInstance.Name[0] FbInstance.Name[1]
_________________________________________________
FbInstance.Name[0] FbInstance.Name[1]
The labeling of each module FB is represented schematically in the list in "Appendix C: List for
Labeling Rules".
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
Note
The call structure in OB1 must be followed.
4.8 Program
The structuring of the programs is predefined according to the following scheme.
Base program
is always
present Application program
is individual
Note
The reference program "R001V03" is used as the basis for describing the structure FBs, networks,
module FBs and step sequencers.
The maximum network width is seven contacts plus one coil. If more contacts are required, the
network must be split up by using temporary auxiliary bit memories (here: type STB AS).
Replacement variables from the safety program to the standard program are designated with
"F_<variable_name>".
Replacement variables from the standard program to the safety program are designated with
"<variable_name>_F".
VKE=0, VKE=1
Only the bit memories "VKE=0" and "VKE=1" created by the FB_Steuerung must be used as
constants for the statuses "True" and "False". Other bit memories, such as "True" and "False", are not
allowed
The designation guideline for function blocks is described in detail in Chapter 4.6.5 "Introduction for
the text representation in the faceplate".
4.8.3 F Call
FC 900 F-Call
FB 900 ARG
FB 901 SK21
FB 90x …
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
In the "PoT" (production without parts) structure FC, the individual inspections are set if "PoT" is
selected.
For each station, setting the individual inspections must be programmed.
FC 900 F-Call
FC 10 PoT
--
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
In the "Basic functions" structure FC, the following basic functions are implemented for the control
program:
Zyklisches Programm OB1
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FB_Steuerung
SFC51 “RDSYSST”
FB_Visu
FB_Mobile
Meld_4
FB_PDE_Schicht
FB_PDE_Statistik
FB_Statistik_Typ
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
4.8.5.1 FB_Steuerung
The "FB_Steuerung" block is used for monitoring the contactor K0, "Steuerspannung_Ein". In addition,
the time stamp (of the real-time clock) of the control is mapped as string. The block generates two
flashing rates, 1 Hz and 2 Hz. The block provides the cycle time of the OB1 and the overall signature
of the F program for visualization.
With the system function "SFC51 RDSYSST" (read system status), you read a system status list or a
partial system status list..
The partial list with SSL-ID W#16#0x94 contains information about the expected and actual
configuration of module racks in central configurations and stations of a PROFIBUS DP master
system/PROFINET IO controller system.
4.8.5.3 FB_Visu
The "FB_Visu" block is used for connection monitoring between PLC and panel PC. The block must
be instantiated individually for every panel PC. The block communicates with the respective PC via
two bit memory variables that must be created for the respective panel PC.
4.8.5.4 FB_Mobile
The FB_Mobile block is used for coupling a mobile panel 277 RO.
When using the mobile panel, an exclusive operating mode is conjunction with the E2 lock is possible.
For this purpose, the box ID of the mobile connection box must be configured in conjunction with the
input of the E2 lock at the block.
The corresponding box ID can be found in the EPLAN documentation:
4.8.5.5 Meld_4
The "Meld_4" block acquires up to four user messages and enters the message number with status
and time stamp in the DB801 "message buffer".
4.8.5.6.1 FB_PDE_Schicht
This block initializes the switching list with a weekday-dependent day switching program (shift model)
defined on the "Init" worksheet.
The values are entered in the switching list and processed. In addition, the block calculates the shift
duration and current working time since shift start and provides early shift/late shift/night shift, shift
change pulse and break signal as output parameter.
Switching lists are displayed in the visualization for the current day and the next day.
4.8.5.6.2 FB_PDE_Statistik
This block is used for measuring times and for preparing the clock time and number of units
information for superordinated systems. For this purpose, the clock times and number of units are
entered in the "arStat" array, whereby index positions 0 to 3 are occupied. In addition, number of units,
availability and degree of utilization per shift and for the display in the visualization are created. These
data are written to the flash card with time stamp of the shift start at the change of a shift. The shift
history of the last 24 shifts is also displayed in the visualization.
The function block can be used to measure the time passed between positive edge to the "Start" input
parameter and the positive edge to the "Stop" input parameter. The time passed is output to the output
parameter during the measurement and remains after the stop occurs until the next positive edge for
"Start" is issued.
"Cfg.x1" can be used to reset the time measurement during a measurement with a another positive
edge and to start a new measurement.
The time measurement can be interrupted by setting the "Pause" input parameter. After withdrawing
the input, the time measurement continues.
The "Reset" input parameter causes the unit counter to be reset.
4.8.5.6.3 FB_Statistik_Typ
This block is used for measuring times and for preparing the clock time and number of units
information of the types used for superordinated systems. For this purpose, the clock times and
number of units are entered in the "arStat" array, whereby index positions 3 to 10 are occupied.
For this purpose, the "Eingangs_Parameter Typ_Index" must be configured with a value between 1
and 8 at the block. If another value is assigned, index 10 is allocated in the "arStat" array.
The function block can be used to measure the time passed between positive edge to the "Start" input
parameter and the positive edge to the "Stop" input parameter. The time passed is output to the output
parameter during the measurement and remains after the stop occurs until the next positive edge for
"Start" is issued.
"Cfg.x1" can be used to reset the time measurement during a measurement with a another positive
edge and to start a new measurement.
The time measurement can be interrupted by setting the "Pause" input parameter. After withdrawing
the input, the time measurement continues.
The "Reset" input parameter causes the unit counter to be reset.
In the "Preselections" structure FC, the following basic functions are implemented for the control
program:
Zyklisches Programm OB1
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FB_Vorwahl
FB_Druckluft
FB_Kuehlwasser
FB_Energie
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
4.8.6.1 FB_Vorwahl
The "FB_Vorwahl" block is used for selecting and deselecting equipment (e.g. stations) from the
visualization. It implements the functions "Release Preselection" and "Startup characteristics" for the
system restart.
4.8.6.2 FB_Druckluft
The "FB_Druckluft" block is used for switching on the compressed air. It monitors the signal of the
pressure switches whether low pressure or high pressure is enabled and, in case of an error, initiates
an error message to the message system.
4.8.6.3 FB_Kuehlwasser
The "FB_Kuehlwasser" block is used for switching on the coolant and activating the suction. It must be
configured only if machine welding guns controlled by the PLC are used in the equipment.
4.8.6.4 FB_Energie
In the "Operating Modes" structure FC, the following basic functions are implemented for the control
program:
Zyklisches Programm OB1
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
Meld_4
FB_NotHalt
FB_Schutzkreis
…..
FB_BA
FB_BA_LSP
FB_BA_UBA
FB_Sammelstatus
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
4.8.7.1 Meld_4
Every error message must be given an additional identifier which is based on the following table.
A "0" must always be entered for the 3rd character for the user-defined messages. The 4th to 7th
character is omitted.
The structure after the $ character is firmly defined.
1st character Message class
S Fault
M Messages
T TPM
2nd character Message Type
T Technical
S System-dependent
O Organizational
3rd character Radio relevance
E Forwarding with initial value
0 No forwarding
1 General forwarding
2 General forwarding, no entry in CMS database
4th to 7th
Radio number
character
An optional radio number can be specified at this point
4.8.7.2 FB_NotHalt
The "FB_NotHalt" block acquires up to four emergency shutdown messages and forwards them (time-
delayed) to the message system.
4.8.7.3 FB_Schutzkreis
The "FB_Schutzkreis" block implements the functions of a protective circuit with up to five protective
doors.
Displays must be programmed for every protective circuit. The logic must be created in "LAD" (ladder
logic).
The following logic operations are programmed:
Protective area jamming display
Display of electrode cap changes
Display of stud welding errors
The "FB_BA" block is used for creating operating modes. This block operates together with the
"FB_BA_LSP" block (see also Chapter 4.8.7.5.2 "FB_BA_LSP Block") and the "FB_BA_FRG" block.
The "FB_BA_FRG" block is required only if several load voltages are present in an OM circuit (e.g.
insertion areas, etc.). For each load voltage circuit, in which motions are performed, this block must be
called once. This block copies the "OM structure" to the "ST_BA_LSP structure" and recreates the
signals "FrHand" and "FrAuto".
The "FB_BA_FRG" block is not used in the VASS standard. It is replaced with "FB_Status_K100"
which assumes the same task and also visualizes the status of the load voltage circuit.
The operating mode must be programmed once for every protective circuit. For this purpose, the
"FB_BA" and the "FB_BA_LSP" are used as a pair.
The "FB_BA_UBA" block is used for creating operating submodes, e.g. for insertion areas. The block
is called once for each insertion area in the structure FB "operating modes". It operates like a regular
"FB_BA", but it accepts special operating mode functions, such as production without part (PoT), etc.,
from the upstream operating mode structure.
4.8.7.6 FB_Sammelstatus
The "FB_Sammelstatus" block is used to supply the visualization navigation bar with the status of an
ST (station). In addition, the status information of the ST is mapped to output variables.
In the "Station" structure FC, all station-relevant module FBs are called.
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FB_Status
FB_ST_Status
FB_ST_Status_K100
S7G_Control
AST_xxyyyy
FC_Trans_init
FC_Trans
AS_xxyyyy
Prozess Modul-FBs
FB_Statistik
FB_Statistik_Typ
FB_Taktzeit
FB_Zähler
FB_Sammelstatus
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
This is an interactive block for visualization, which toggles the "Status" IO variable upon demand and
depending on the input "Enable" and "Cfg".
This block is used to supply the visualization navigation bar with the status of an ST. In addition, the
status information of the ST is mapped to a byte output variable.
The block must be called once per station.
This block is used to supply the visualization navigation bar with the status of an ST. In addition, the
status information of the ST is mapped to a byte output variable. The block forms an operating
submode circuit with separate load voltage feedback, e.g. for insertion areas.
The "S7G_Control" block takes over the sequential control-based step sequencer management.
For each sequential control, it must be called once.
FC x Station y
The block takes over the following
functionalities:
while switching the system operating
modes from manual to automatic, it is For Fig.
used for synchronizing the step "Automatic
sequencer. If it is not in a uniquely retraction (1)"
defined state, it sets the permission for
automatic retracting of the system
components that belong to the
sequencer.
In the active "Automatic" operating
mode, the permission for the defined
hold of the step sequencer is output,
unless this is an exclusion step.
*)
1. 2.
Note
It is absolutely necessary to program the "AutoVR" function.
The following synchronization logarithm is used to check all transitions of a step sequencer:
(((Trans x) & (Trans x+1)) & uniqueness) = "Sync_1S" step + y (btw. Tx+Tx+1)
Synchronization
possible to 1
step?
In the sequential control-based "AST_xxyyyy" block, the interlocking conditions or permissions for
manual and automatic as well as the transition conditions, including the transition management, are
being programmed. Such a block must be called once for each step sequencer.
Within the "AST_xxyyyy" structure FC, the module FCs "FC_Trans_Init" and "FC_Trans" are called.
But before the block "AST_xxyyyy" can be created, the variables must be declared in the
corresponding FB "S7-Graph".
The static variables must be created by the user in the "Overview" area on the "Variable" tab under
"Environment \ Interface \ STAT".
They are required to be able to create the interlock and trans conditions in "AST FC".
Note
The stepping time "+ 10 s" must be parameterized as delay time (TUeS).
The stepping times must be written during a process by setting the bit memory "M10.7" and can be
read at the "SNO_Time" parameter in the online status.
The determination must be performed during a process in cycle time.
Note
If a system-specific requirement demands no stop in certain steps, the "_Cfg" parameter must be
connected with W#16#2 (no stop in this step). If the "_Cfg" parameter is connected with W#16#0
(wait step with time monitoring), a stop is performed in this step.
Defined hold
Step sequencer in automatic mode: "Defined hold"
The switching of the input parameter "_Cfg" at block "FC_Trans" can be used to determine whether is
allowed to hold in this step or not.
S4
Time of request
for defined hold (S6)
S5
S7
1. permissible hold step = S7
reached and motions finished
(transition fulfilled)
S8 cfg.X0 = true
Fig. 4.66 Defined hold
The programmed step sequencer is called with the sequential control-based "AS_xxyyyy" block. This
block must be programmed with GRAPH-7.
Notice
- Simultaneous branches may not be used.
- Several sequencers in a step sequencer block may not be used.
- Multi-instance calls for the step sequencer block may not be used.
Notice
If several processes are controlled in one step, it must be ensured that the permission for control of
the other processes is granted if a process is finished (cycle control).
Example: Upon releasing the robots for welding, the dropped cycle controls of the robots must be
connected in parallel. In case of a robot malfunction, it is possible that a process is no longer being
controlled.
Note
In case of multilingual projects, step comments may not contain any umlauts (ä, ö, ü).
This block is used for measuring times and for preparing the clock time and number of units
information for superordinated systems. For this purpose, the clock times and number of units are
entered in the "arStat" array, whereby index positions 0 to 3 are occupied.
This block is used for measuring times and for preparing the clock time and number of units
information of the types used for superordinated systems. For this purpose, the clock times and
number of units are entered in the "arStat" array, whereby index positions 3 to 10 are occupied.
This block is used for measuring times. The function block can be used to measure the time passed
between positive edge to the "Start" input parameter and the positive edge to the "Stop" input
parameter.
This block is used for processing (count) values. The function block allows incrementing or
decrementing values starting at a defined value.
4.8.8.4 FB_Sammelstatus
The "FB_Sammelstatus" block is used to supply the visualization navigation bar with the status of an
ST (station). In addition, the status information of the ST is mapped to output variables.
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FB_Rob_PN_A
FB_RobFolge_8
FB_Rob
FB_Rob_Korr
FB_Rob_FM
FB_Status_Global
FB_Rob_Frg_Ver
FB_Rob_Frg
FB_Rob_Kleben
FB_Rob_Schweissen
FB_RobMedien
FB_Taktzeit
FB_Rob_PN_E
FB_Sammelstatus
FB_Sammelstatus
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
4.8.9.1 FB_Rob_PN_A
This module copies the output data of the robot to the robot structure.
Depending on which sequential release ("SeqRel1", "SegRel2", ..., "SeqRel8") is available, this block
outputs the corresponding sequential number ("Seq1", "Seq2", ..., "Seq8") at the "Sequence" block
output.
This block is used to control the motion sequences of a robot and visualizing the information belonging
to the robot.
This block is used for controlling the robot process point correction via the visualization.
The robot sends the completion reports as binary-coded decimal numbers to the PLC. This module
sets the completion report that corresponds to the value. At the same time, the block reflects the value
back to the robot. In addition, one input each is available for setting or resetting all completion reports.
Interaction block for the visualization that sets the outputs "Steu_S" or "Steu_R" and provides the two
inputs "Status" and "Message" to the visualization upon demand depending on the "Status" input.
The block coordinates the interlock queries between the individual robots.
To prevent a "dead interlock" among the robots, they issue the interlock query before entering the
interlock and wait for acknowledgment from the PLC.
Note
It must be observed that robot interlock numbers must be assigned once PLC-wide.
This block is used to prepare the robot releases. The releases are internally linked with "SAK", all
releases are set with deselected robot and with "PF0". With "Cfg", the behavior can be influenced with
"PF0" and with deselected robot.
This block is used for the control of a "Bonding" process device and the visualization of the
corresponding information.
This block is used for the control of a welding apparatus and the visualization of the corresponding
information.
This block has the same function as the "FB_Medien" block. The block is used only for robots with
welding function.
This block is used for the control of media, e.g. water, compressed air, gas, etc. It monitors the flow
and initiates an error message to the message system in case of an error.
4.8.9.6 FB_Taktzeit_Plus
This block is used for measuring the clock times and their visualization. The function block can be
used to measure the time passed between positive edge to the "Start" input parameter and the
positive edge to the "Stop" input parameter.
4.8.9.7 FB_Rob_PN_E
This module copies the data of the robot structure to the input data area of the robot.
4.8.9.8 FB_Sammelstatus
The "FB_Sammelstatus" block is used to supply the visualization navigation bar with the status of the
robots and the robot process devices. A separate call of the "FB_Sammelstatus" is required in each
case for the analysis for the robot and for the process device.
4.8.9.9 "Layer"
The layer is used for "robots", "robot process devices" and "machine processes".
6 objects from the generator are placed on these pages in sequence by the robot as it locates them.
If more than 6 objects are located in a project, they should preferably be combined to groups. The
layer number is used to determine the page on which the object from the generator should be placed.
4.8.9.9.1 Robot
Note
If nothing is entered at the "Layer", the layer screen is being created, but it is empty.
The screen is stored in the XML, but the corresponding elements are not being placed.
In the "Interfaces" structure FC, signals are sent to adjacent PLCs and received.
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB_KommKon
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
4.8.10.1 FB_KommKon
4.8.11 FB "MessageFB"
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
4.8.11.1 MessageFB
This FB is used to enter messages of the module FBs in the central message archive and the central
alarm view. The texts for visualizing the messages are stored in the text libraries 0 to 7
(DB804 … DB811).
The values for the large picture display are prepared in the "GBA" structure FC.
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FB_GBA
FB_GBA_Wertanzeige
FC 99 ZAU
4.8.12.1 FB_GBA
This block is used to prepare data for the large picture display (GBA).
4.8.12.2 FB_GBA_Wertanzeige
This block is used to prepare data for the large picture display (GBA).
The "ZAU" structure FC is called if the control is connected to a higher-level control system.
FC 900 F-Call
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
ZAÜ_GrundFkt
ZAÜ_Schalt
ZAÜWerte
ZAÜSollwert
ZAÜAnlStatus
4.8.13.1 ZAÜ_GrundFkt
The entire log for coupling to a CSM is implemented in this FB. The internal interfaces of the PN CPUs
are used for this purpose. As a result, the use of the T blocks (TSEND, TRCV, TCON and TDISCON)
is required.
4.8.13.2 ZAÜ_Schalt
The switching times transferred by the CSM are evaluated with this FB. For this purpose, an ID which
is used within the switching list is assigned for each call. A comparison with the desired switching time
and the internal clock of the PLC is performed cyclically.
4.8.13.3 ZAÜWerte
This function is used to enter the actual values of the system, such as number of units and clock
times, in the value buffer in six groups of ten values each. End of shift (= 1) can be entered as send
reason.
4.8.13.4 ZAÜSollwert
This block is used for withdrawing a setpoint from the setpoint list. This list is provided by a CSM and
stored in the ZAÜ_DB.
4.8.13.5 ZAÜAnlStatus
This function is used to cyclically compile a byte for the system status from the input parameters
"Status1" to "Status8" and entered at the corresponding position in the system state for the CSM.
Note
The block for the CSM interface represents a special case.
If the interface has already been tested, then the block may not be copied since the connection
configuration will otherwise be lost.
5 S7 Distributed Safety
The PROFIsafe safety profile allows connecting fail-safe, distributed I/O devices to an F-CPU (F = fail-
safe). This makes it possible to safely and flexibly process safety information from emergency stop
switches, light barriers, two-hand operation, etc. in the S7 program. In the safety program, the
functions of the safety relays are replicated with simple LAD logic operations. Conventional
electromechanical solutions are omitted. In this case, the PROFIsafe communication operates in
conventional PROFINET systems.
The PROFIsafe safety profile requires corresponding PROFINET hardware components.
Note
In the designations used below, "F-" and "fail-safe" are used synonymously.
An address switch (10-pin DIP switch) is located on the left side of every fail-safe module. This
address switch is used to enter the PROFIsafe address of the F-module.
To obtain a unique PROFIsafe F_Ziel_Adresse at all times, the I/O start address of the respective fail-
safe module is configured as PROFIsafe address.
It must also be set as F_Ziel_Adresse via the DIP switches at the module.
Note
For ET 200 modules, a safe address can be assigned only up to 1023.
If there are fail-safe I/O modules with start addresses greater than 1023 in the system, free
addresses below 1023 must be used for this purpose.
In addition to the settings for the CPU properties described in the Volkswagen standard software
documentation, the settings for the safety program of the CPU must be performed on the "Protection"
tab and on the "F Parameter" tab.
The provided projects are set up with the password "VWKB". The passwords are adjusted and
managed by the system supplier and after system handover by maintenance for each division.
Notice
The "CPU contains safety program" check box must be enabled.
5.3.1.2 F Parameters
The number of the last block of the IP address is used as PROFINET device number.
The PROFIsafe F-Ziel_Adressen must be accepted according to the DIP switch settings. For the rules
for addressing, see also Chapter 5.2.1.1 "Address switch for settings of the PROFIsafe address".
Configure the specific monitoring times of the F-system with respect to availability. Approximate the
calculation of the minimum monitoring time by means of an Excel file.
Use the Excel file to calculate the maximum response time and ensure that the error tolerance time of
the process is not being exceeded. If necessary, the specific monitoring times of the F-system must be
reduced.
Notice
The "F_Überwachungszeit" / "F_WD_Time" must be checked and configured.
The "F_Überwachungszeit" is an influencing factor for dimensioning the clearance between the
safety switching device and the critical point. This requires a corresponding consultation with the
person conducting the hazard analysis for the system.
Fig. 5.4 Assigning name and comment for the fail-safe module
The I/O base address must be entered on the "Addresses" tab according tom the specifications from
the EPLAN.
Fig. 5.5 Setting the I/O base address for the fail-safe input module
On the "Parameter" tab, the "F_Ziel_Adresse" must be entered according to the I/O start address. See
also Chapter 5.2.1.1 "Address switch for settings of the PROFIsafe address".
The channels must be set depending on the type of connected sensor (see examples in "Appendix D:
Distributed Safety").
Note
If a fail-safe module is replaced, the DIP switch setting on the new module must be set to the
configured PROFIsafe address.
Double-clicking on a line of the ET 200S station opens the "Properties" dialog for the fail-safe module
configured in this line.
The tabs "General" and "Addresses" must be filled out according to the previously described 4/8 F-DI
module.
Fig. 5.7 Assigning name and comment for the fail-safe module
Fig. 5.8 Setting the I/O base address for the fail-safe output module
On the "Parameter" tab, the "F_Ziel_Adresse" must be entered according to the I/O start address. See
also Chapter 5.2.1.1 "Address switch for settings of the PROFIsafe address".
All channels must be activated and, if necessary or requested, monitored with "Diagnostic: Wire
break".
Double-clicking on a line of the ET 200S station opens the "Properties" dialog for the fail-safe module
configured in this line.
The tabs "General" and "Addresses" must be filled out according to the previously described 4/8 F-DI
module.
Fig. 5.10 Setting the I/O base address for the fail-safe output module
For each F-I/O devices module, an F-I/O devices DB is automatically being generated while compiling
in "HW Config" and a symbolic name is entered in the symbol table at the same time.
The symbolic name is formed by the fixed prefix "F", the start address of the F-I/O devices and the
name entered in "HW Config" in the object properties for the F-I/O devices.
The F-I/O devices DB contains variables that are used in the safety program.
Access to the F-I/O devices DB variables is done via a "fully qualified DB access" (this means, by
specifying the symbolic name of the F-I/O devices DB and by specifying the name of the variable).
Note
If an F-I/O devices DB is being accessed from whose F-I/O devices no single channel is used in
the safety program, it can lead to a STOP of the F-CPU.
The following table shows the variables of an F-I/O devices DB that can be evaluated by the user:
Variable Data type Function Default
Variables that PASS_ON BOOL 1 = Activate passivation 0
can/must be ACK_NEC BOOL 1 = Acknowledgment for reintegration 1
described required for F-I/O devices /
channel faults
ACK_REI BOOL 1 = Acknowledgment for reintegration 0
IPAR_EN BOOL Variable for re-parameterization of fail-safe 0
DP standard slaves /
IO standard devices or for SM 336;
F-AI 6 x 0/4 … 20 mA HART for enabling
the HART communication
Variables that PASS_OUT BOOL Passivation output* 1
can be QBAD BOOL 1 = Substitute values are output 1
evaluated
ACK-REQ BOOL 1 = Acknowledgment request for 0
reintegration
IPAR_OK BOOL Variable for re-parameterization of fail-safe 0
DP standard slaves /
IO standard devices or for SM 336;
F-AL 6 x 0/4 … 20 mA HART for enabling
the HART communication
DIAG BYTE Service information
QBAD_I_xx BOOL 1 = Substitute values are output to 1
input channel xx
QBAD_O_xx BOOL 1 = Substitute values are output to 1
output channel xx
Tab. 5.1 Variables of an F-I/O devices DB
Note
The parameter assignment of the ACK_NEC = 0 variable is allowed only if an automatic
reintegration is allowed for the respective process from a safety perspective.
Note
The default for ACK_NEC after creating the F-I/O devices DB is 1. If you do not require an
automatic reintegration, ACK_NEC does not have to be written to.
Note
For F-I/O devices with outputs, an acknowledgment because of required test signal connections
can be possible only in the minute range after removing the fault following F-I/O devices / channel
faults.
The modules of a PN/PN coupler are listed in the hardware catalog under "PROFINET IO Gateway
PN/PN Coupler".
Select "PN/PN Coupler" in the hardware catalog copy it to the Ethernet(1): PROFINET IO system
(100) (drag-and-drop). The device number and the device name must be entered according to the
VASS specifications.
The consistency of the data across the entire length is ensured if the mixed module (IN/OUT) is used.
The input and output start address of a module must be identical for all modules.
Fig. 5.13 Input and output start address of a module must be identical
In the hardware catalog, the corresponding page of the PN/PN coupler must be selected for each
CPU. X1 for the left side, X2 for the right side. The matching configuration file must be placed as node
in the PROFINET IO system. The transfer of the data contents must be configured for the fail-safe
data exchange via mixed modules.
Note
Important is a mutual configuration on the send and receive side that is matching the data volume!
Whatever is sent on the side X1 must be received on the other side X2.
Device
Configure PN/PN coupler with order number
6ES7 158-3AD00-0XA0 via X1 (port 1 and 2 left
side of coupler).
Module
Select mixed module with IN/OUT 6 bytes/12
bytes for slot 1 and select with same start byte
for input and output byte.
Device
Configure PN/PN coupler with order number
6ES7 158-3AD00-0XA0 via X2 (port 1 and 2
right
side of coupler).
Module
Select mixed module with IN/OUT 12 bytes/6
bytes for slot 1 and select with same start byte
for input and output byte.
Note
The data volume that is specified as OUT output on the sending side (12 bytes) must be configured
as IN input on the receiving side (12 bytes).
In the same way, the IN input data from the sending side (6 bytes) must be present as OUT on the
receiving side (6 bytes). And this must take place on the same slot!
Specific mixed modules must be configured here for fail-safe communication.
The F-application blocks are located in the "F-Application Blocks" block container of the "S7
Distributed Safety" F-library.
F_RCVDP must be called at the start of the F-program block (FB900 "ARG"), F_SENDDP at the end.
5.5.2 Variables
The following conventions must be observed for naming the variables in the safety program:
F_Name: replacement variable from F-program to default program
Name_F: replacement variable from default program to F-program
FM_Name: fail-safe bit memory
F_GLOBDB.VKE0: fail-safe bit memory with logic operation result 0
F_GLOBDB.VKE1: fail-safe bit memory with logic operation result 1
F_True: fail-safe input with 1-signal
as long as the bridge for commissioning is inserted.
Note
If safety switching devices are not yet completely installed in the commissioning phase, they may
be covered in the safety program exclusively with the "F_True" input.
In this case, risks to personnel will have to be ruled out using different measures.
This is the responsibility of the system supplier.
An example for configuring and designing the safety program can be found in the project-specific
reference projects.
In the FC900 "F_Call", the system blocks generated by the "HW Config" and the FB900 "ARG"
created by the user are called.
FC 900 F-Call
FB 900 ARG
F_RCVDP
FB 901 SK21
FB 90x …
F_SENDDP
FC 10 PoT
FC 11 Grundfunktionen
FC 12 Vorwahlen
FC 13 Betriebsarten
FC 14 1. Station
FC 15 1. Roboter R01
FC 97 Schnittstellen
FB 650 MeldeFB
FC 98 GBA
FC 99 ZAU
The FB900 "ARG" is used for configuring the safety program. The blocks for the individual start
circuits, emergency stop drives, load voltages and, if needed, the fail-safe communication via
PROFINET PN/PN coupler, are called in this block. The FB900 blocks contained in the sample
projects as well as the blocks from FB901 to FB9xx serve as template for the safety program to be
created and have to be adapted to the system conditions by the user.
Note
The change log for the safe area, including the entries for the processing person and the checksum
of the safety program must be maintained in the comment field of the FB900.
Note
It must be observed that the ID and I/O addresses have to be adapted to the FSEND and
FRECEIVE block calls.
The safe input signals for each protective circuit are evaluated in these blocks and summarized
accordingly. For improved program diagnostics, the logic operation results are forwarded using
corresponding output parameters.
In this clock, the signals of the emergency stop operator controls, the robot emergency stop circuits
and the drive switches are evaluated and summarized. Forwarding the logic operation results is done
via corresponding output parameters.
In these blocks, the previously built and safe signals are combined with each other and the logic
operation results are output to the safe IO devices. Blocks for protection control are also called in
these blocks. For each protective circuit, a corresponding Last_SK block is formed.
Notice
The maximum cycle time of the F-runtime group must be entered as 50 (ms)
Generating is possible only for valid F-runtime groups, i.e., no F-blocks may be missing in the F-
runtime group which you defined in the "Edit F-Runtime Groups" dialog.
When generating the safety program, a consistency check is performed. That means, the safety
program is checked for errors and F-blocks which you created in the block container, but do not use in
the F-runtime group. Any error messages are displayed in an error window.
Only those F-blocks that belong to the safety program receive the F-attribute. After a successful
compiling, a consistent safety program is always located in the block container consisting of all the F-
blocks with F-attribute.
The offline block container may contain F-blocks without F-attribute. These are blocks that require the
safety program, but do not have an F-attribute (e.g. SFC14).
After the successful consistency check, the additionally required F-system blocks and the
automatically generated F-blocks are supplemented.
Error messages or warnings detected during compiling are collectively output in a dialog at the end of
the generating process. Warnings are specially marked.
6.1 Introduction
6.1.1 Required basic experience
Good knowledge of SIMATIC STEP 7 and WinCC flexible is required for an understanding of this
documentation. The content is intended to explain the design of this standard to the user and to
enable him or her to independently perform the project-specific adjustments.
The information described in this documentation applies to the software versions of WinCC flexible
and SiVArc according to Tab. 1.1 "Software tools for Windows XP" or Tab. 1.2 "Software tools for
Windows 7 / 64 bit".
Note
The following screen shots are intended only as examples.
The version number shown does not correspond to the released version.
SiVArc is used to carry out various tasks. The Screen Generator automatically generates message
texts and operating screens of the visualization. The SiVArc Screen Generator represents a
connecting link between the control program of the PLC and the visualization project with
WinCC flexible. The functioning of the Screen Generator requires rules set files which are provided by
the Update Manager according to the requirements.
Double-clicking on the "SiVArc Update Manager" desktop icon opens the "SiVArc Update Manager"
window.
Select the
"Install Standard" option.
Click on "Next".
Fig. 6.4 Paths in which "Root Project" should be unpacked and "Meta model" should be stored
Note
The installation of the "VASS.zip" file requires that both directories ("HmiMetaModel" and
"RootProjects") must be entered at all times.
The Setup application properly installs the SiVArc Screen Generator in the program folder of the
system drive.
This is generally:
"C:\Programme\Siemens\SiVArc" (on German operating systems)
or
"C:\Program Files\Siemens\SiVArc" (on English operating systems)
Before starting the SiVArc Screen Generator, the CSV files generated with RSE (Report System
Errors) must be checked first. They are required for the PROFINET diagnostics.
See also Chapter 4.2.3 "Report system errors".
Note
This is required only if the supplied VASS base project is not used.
After the integration, the "HmiEs" folder was created. This folder contains the new WinCC flexible
project.
Note
The selection made becomes active in WinCC flexible only at runtime.
In engineering mode, all brand layouts are visible.
Multilingual support:
Under the "Multilingual support" menu item, a second language can be activated for a project so that
switching languages is possible in the project and message texts are also available in two languages.
Further information about Multilingual support can be found in Chapter 8 "Multiple Languages"
If the STEP 7 project to be generated does not appear in the list in the first menu item, search for it via
the "plus" symbol.
6.4.1 Settings
Right-clicking on the main window opens a context menu with different setting options.
Language
With the "Language" menu item in the context menu, you toggle the user interface language of the
SiVArc Screen Generator between German and English.
Settings
With the "Settings..." menu item (or the keyboard shortcut "<Ctrl+O>") in the context menu, clicking on
this item opens the "Settings" dialog of the same name.
Under the input field for the export path, you find a selection box named "Open last/only
WinCC flexible project after the import".
This dialog features a listing of all the system function blocks known to the SiVArc Screen Generator
and used in the project. With the know-how protection of SFBs, they are not read by the SiVArc
Screen Generator.
Note
It is absolutely necessary here to adjust the sizes of the SFBs in the project before the project
generation to the values according to Fig. 6.21 "STEP 7 Block Sizes" dialog ("Block size" column).
Close the "Enter Size" dialog with "OK" to apply your settings.
Protocol
A "SiVArc.log" log file is always created in the folder "…\SiVArc\Log". It contains the error messages
after the generation.
If all desired settings have been made, activating the "Generate" button starts the project generation.
MobilePanel 10":
This selection should be used
exclusively to generate independent
WinCC flexible projects for folding
systems.
A selection at "I1" is required.
Close the "Settings of Panel Type" dialog with "Apply" to save your settings.
Note
The generation of the WinCC flexible import file takes approx. 10 … 15 minutes.
After completing the project generation, the following window appears automatically with further notes.
Fig. 6.25
Overview of created text libraries
In the "Import type" column, select individually for every project whether it should be completely
imported or only updated according to the changes in the STEP 7 project.
A "Delta" import type is possible only if the "Complete" import type of the corresponding project was
executed previously.
Selection of the WinCC flexible project and subsequent import of the content of the corresponding
XML file into this project.
Note
For the S7 project it must also be observed that the DB804 to DB811 listed below must be loaded
into the control!
Fig. 6.26 Selection of the WinCC flexible project (Complete import type)
If a finished system project is available and new elements were added in the S7 logic (e.g. valves),
which are relevant to visualization, it is possible to supplement the visualization for these new
elements.
If faceplates change in the WinCC flexible project library or new faceplates are added, then these
changed or new faceplates are used to create a new external WinCC flexible update library. This
library is also output to the OEMs.
First, the existing WinCC flexible project in which the Delta import should be performed must be
opened. Next, an external WinCC flexible update library is opened in the "Project library" folder.
This is done by marking "Project library" right-clicking "Library" Open.
The "Open global library" window appears next.
"Open" brings up a new WinCC flexible update library (e. g. "2011.11.17 PC677 update library") under
"Library".
Marking "Update available type" and "OK" copies the faceplates from the external WinCC
flexible update library into the existing project library.
If the block exists, it must subsequently be updated.
If all blocks have been copied, the update library is closed again.
This is done by marking "Update library" right-clicking "Library" Close.
Note
This function can be used only for the version "WinCC flexible 2008 SP2 / Update 3" at the present
time!
The SiVArc Update Manager version 2.0.90 and up offers the possibility to automatically update the
faceplates contained in the project.
For this purpose, the "Update project" function under the SiVArc Update Manager must be used.
Select the
"Update project" option.
Next, the updated WinCC flexible project must be opened and the updated faceplates must be
checked.
To be able to check that the same structure names do not appear twice due to new or edited blocks,
the "Structures" folder must be opened.
Clicking on the "old" existing structure name (here e.g. "ROBKORR") opens the "old" structure.
Fig. 6.36 Adapting the variable name in the "old" structure (1)
"ROBKORR_0" is selected in the "Data type" column to accept the new functionalities.
Fig. 6.37 Adapting the variable name in the "old" structure (2)
Afterwards, the table may no longer have any entry in the "Cross-references for ROBKORR" window.
In the following figure, the new structure name is adapted in a faceplate (e.g. "SEWAMAV_0"):
As soon as all existing elements of the old structure have been adapted to the new structure name,
the old structure name should be marked in the structure folder and deleted.
As the following figure shows, only the new structure ("ROBKORR_0") remains.
Only the original structure name (without "_0", "_1", etc.) exists now, but it features the new
functionalities.
If all desired settings have been made, activating the "Generate" button starts the project generation.
GBA 15":
This selection should be used to
generate the visualization for a large
screen display.
A selection at "I33" is required.
MobilePanel 10":
This selection should be used
exclusively to generate independent
WinCC flexible projects for folding
systems.
A selection at "I1" is required.
PC677 15":
This selection should be used to
generate the visualization for the
main control station.
A selection at "I1" is required.
Fig. 6.44 Setting of the panel type
Close the "Settings of Panel Type" dialog with "Apply" to save your settings.
Note
The generation of the WinCC flexible import file takes approx. 10 … 15 minutes.
After completing the project generation, the following window appears automatically with further notes.
Fig. 6.45
Overview of created text libraries
In the "Import type" column, select individually for every project whether it should be completely
imported or only updated according to the changes in the STEP 7 project.
A "Delta" import type is possible only if the "Complete" import type of the corresponding project was
executed previously.
This requires selecting the WinCC flexible project. After that, the content of the corresponding XML file
is imported into the selected project.
Note
For the S7 project it must also be observed that the DB804 to DB811 listed below must be loaded
into the control!
Fig. 6.46 Selection of the WinCC flexible project (Delta import type)
For the "Delta" import type, you can select whether to overwrite the content in existing pictures to
generate separate Delta pictures.
Note
Note that the picture link to the template picture for Delta pictures is missing and, for this reason,
must be added manually!
Click on "Apply" (in the "Picture Selection for Device Type" dialog at the bottom right) as soon as you
have made the desired settings. The "Cancel" button (also at the bottom right) returns you to the
previous picture. (Fig. 6.46 "Selection of WinCC flexible project - Delta import type").
Note
For all static pictures (basic screen, robot, robot process devices and machine process devices),
only the "Create Delta Image" setting may be used.
After the start, a progress bar appears (replacing data) for the automatic import into the WinCC flexible
body project.
Note
The import into the WinCC flexible body project requires approx. 20 minutes.
After the project analysis is complete for the desired project, the "Import complete" message appears
under "Status".
This message represents a successful completion of the import.
Changes in the existing WinCC flexible project are displayed in the "DeltaImport.log" file (here e.g.
panel "I1").
This WinCC flexible project must now be opened and the scaling must be performed according to the
listing in the "DeltaImport.log" file.
For this purpose, the "actual" figure and the corresponding "Delta figure" must be opened.
The changes from the "Delta figure" must be cut out and inserted in the "actual" figure.
At the end, after all adaptations have been executed, the "Delta figure" is deleted.
For a control center system, all binary individual messages are co-generated by the SiVArc Screen
Generator and stored in a CSV file under the path "D:\Projects\Siemens\07_ZAÜ".
With a change in the S7 logic that does not affect the visualization, it is also possible to generate the
message list individually.
Note
If the projects become multilingual, a check mark must be placed next to "Multilingual support".
The data block must be copied to the project and the control.
7 WinCC flexible
7.1 Starting
This chapter is intended as a support for working with WinCC flexible and lays no claim to
completeness.
This is required only if the VASS base project was not used.
According to the project path information (see also Fig. 3.1 "Project data - Folder structure"), a
WinCC flexible body project with the name "PCI677.hmi" exists.
Otherwise, an installation with the SiVArc Update Manager ("VASS.zip") must be performed.
To use the TIA advantages, the WinCC flexible project must be integrated in STEP 7. With integrated
configuring, you access the configuration data of STEP 7 which you created during the configuration
of the control with STEP 7. This provides support for the system error messages and the step
sequencer visualization configured in STEP 7 in WinCC flexible and outputs them on the HMI device.
In integrated WinCC flexible projects, the communication configuration is performed in the SIMATIC
Manager.
For this purpose, select the newly integrated SIMATIC HMI station in the project window of STEP 7
and open the context menu. IN the context menu, select the "Open Object" command (<Ctrl+Alt+O>).
The properties dialog opens.
For the TCP/IP communication, an Industrial Ethernet CP must be integrated in the hardware
configuration.
In the hardware catalog under "SIMATIC HMI Station", open the "IE General" folder and select the
entry "SW V7.1…".
Add it via drag & drop to slot 1 of your hardware configuration.
In the "Properties - IE General Ethernet interface (R0/S1)" dialog window, the following settings must
be made:
Place a check mark next to "Set MAC address / Use ISO protocol" and enter the MAC
address.
Place a check mark next to "IP protocol is used". Enter IP address and subnet mask.
Select "Ethernet[1]" under "Subnet".
On the menu bar of "HW Config", select the command "Station Save and Compile".
Next, close "HW Config".
Result:
The STEP 7 connection between WinCC flexible runtime and the S7 control created in WinCC flexible
in the "Connections" editor is symbolically connected.
In the SIMATIC Manager, you change the name by clicking on the text field of the SIMATIC HMI
station. The name of the SIMATIC HMI station corresponds to the panel number.
In the VASS standard, the system starts with "I1" and counts up sequentially with additional HMI
stations up to "I32".
Renaming the SIMATIC HMI station is automatically transferred to the WinCC flexible project file. For
this purpose, "WinCC flexible ES" is briefly opened after the name change.
After the configuration in STEP 7, a new "Verbindung_1" connection is automatically created in the
WinCC flexible project. This new "Verbindung_1" connection must be removed again since the
existing variables in the corresponding variable tables see only the "S7-HMI" connection.
Result for the "S7-HMI" connection and after deleting the "Verbindung_1" connection.
Fig. 7.9 Result for the "S7-HMI" connection and after deleting the "Verbindung_1" connection
To obtain a display of the step sequencers in the system visualization, the following steps must be
carried out in ProAgent under WinCC flexible:
ProAgent is called up in the WinCC flexible project under "Diagnostics ProAgent".
1. Mark S7-HMI
Place the check mark accordingly for "S7-HMI" and wait until the progress bar disappears
Fig. 7.12 Selection of the step sequencer (sequential control) in the STEP 7 project
4. Selection of FB/DB
Selection of FB/DB in the "Schrittketten_031" picture under "Schrittanzeige_SK02 (step display)".
Fig. 7.15 Copying the prepared step display with four buttons to the station picture
Fig. 7.16 Parameterization of the "Sequential control" button by "clicking" (under events)
8. Calling up ProAgent
Result: S7 languages in German and in the selected second project language (here: Chinese).
10. All post-processing must be performed in the selected second project language (here:
Chinese).
Fig. 7.20 All post-processing must be performed in the selected second project language (here: Chinese)
The SiVArc Screen Generator generates operating screens of the following type:
Name Explanation
ST_xxyyyy_WZ_003 Manual operating screen of station
ST_xxyyyy_RB_003-Rollenbahn Manual operating screen of roller conveyor *)
ST_xxyyyy_SB_003-Stauband Manual operating screen of buffering belt *)
ST_xxxxxx_FWx_003-Framer Manual operating screen of framer *)
ST_xxyyyy_WZ_004 Tool screen of station
Rob_xxyyyy_Rzz_006 Detailed robot display with pertinent process devices
Grundbild_010 Basic screen for menu navigation
Anlagenübersicht_011 System overview
Betriebsarten_012 Operating modes
Vorwahlen_013 Preselections
Roboter_014_Layer1 Robot overview screen
Rob-Prozessgeräte_015 Overview screen of robot process devices
Maschinenprozesse_016 Machine processes
GlobaleStati_017 System completion reports
Werkerruf_018 Request screen for system operator and parts
Statistik_020 Statistics & number of units
Taktzeiten_022 Clock time overview screen
SPS+PN_030 PLC & bus info/diagnostics
PNIO-100_Stationsübersicht Status of PROFINET nodes in list form
PN-Übersicht_019 Status of PROFINET nodes based on spatial arrangement.
SPS_StatusValue SPS_StatusValue
Schrittketten_031 Step sequencer overview
PN/PN_Koppler_ARGx _101 Interfaces
Message display Screen of current messages
Meldearchiv_250 Message archive
Administration Administration
Applications Screen for starting external applications
Detail_SEW_AMA_Bin Detailed screen of SEW drive with AMA binary setpoint value
Detail_SEW_AMA_Var Detailed screen of SEW drive with AMA variable setpoint value
Detail_SEW_Modulo Detailed screen of SEW drive with Modulo
Detailed screen with expanded operating and interface
Detail_SEW_AMX_RB information
Detailed screen with expanded operating and interface
Detail_SEW_AMX_VR information
Detail_SchaltlisteSchicht_105 Detailed screen for display of switching list
Detail_MarkatorxxyyyyPR1 Detailed screen for display of stylus stamping system
Detail_Messen_Perceptron1_1M1 Detailed screen for display of measuring system
Station_Ablaufsteuerung Step sequencer display for manual operating screen
Tab. 7.1 Overview of operating screens
*) In order to use the correct template pages, the respective corresponding term "Roller conveyor",
"Buffering belt" and "Framer" must first be entered in the block symbol comment.
However, these terms may not be compiled and, for this reason, receive the ending "_@" (roller
conveyor_@, buffering belt_@ and framer_@).
Some of the operating screens are generated in such a way that they can be used in the visualization
without modification. Other operating screens require a post-processing which is described in the
following chapters.
The operating screens contain all of the brand layouts. They may not be used; otherwise, it could lead
to errors during activation in runtime mode.
Note
The automatic generating process may create additional operating screens for a main screen
which can be called with the "Next screen" navigation.
In this case, it must be checked in general whether a meaningful merging of the screen contents
allows reducing the operating screens.
7.2.3.1 Manual operating screens of the station, roller conveyor and buffering
belt
Fig. 7.21 Example - manual operating screen of the station before processing ("ST_xxyyyy_WZ_003")
Fig. 7.22 Example - manual operating screen of the roller conveyor before processing ("ST_xxyyyy_RB_003-
Rollenbahn")
Fig. 7.23 Example - manual operating screen of the buffering belt before processing ("ST_xxyyyy_SB_003-
Stauband")
Fig. 7.24 Example - manual operating screen of the framer before processing ("ST_xxxxxx_FWx_003-Framer")
Note
The status indicators are built "from bottom to top"; function blocks for the status indicator
instantiated last in S7 are output at the top position in the visualization.
Fig. 7.25 Example - step sequencer display for the manual operating screen ("Station_Ablaufsteuerung")
Fig. 7.26 Example - manual operating screen of the station after processing ("ST_110030_WZ_003")
Fig. 7.27 Example - manual operating screen of the roller conveyor after processing ("ST_210050_WZ_003-
Rollenbahn")
Fig. 7.28 Example - manual operating screen of the buffering belt after processing ("ST_210050_SB1_003-Stauband")
Fig. 7.29 Example - manual operating screen of the framer after processing ("ST_xxxxxx_FWx_003-Framer")
Fig. 7.30 Example - tool screen of the station before processing ("ST_110030_WZ_004")
Fig. 7.31 Example - tool screen of the station after processing ("ST_110030_WZ_004")
Fig. 7.32 Example - detailed robot screen with corresponding process devices ("Rob_110010R01_006")
Fig. 7.42 Example - request screen for operators and parts ("Werkerruf_018")
Notice
In exceptional cases, a post-processing may be required. It must be coordinated with electrical
engineering.
Fig. 7.45 Example - PLC & bus info/diagnostics before processing ("SPS+PN_030")
Fig. 7.46 Example - template for PLC & bus info/diagnostics ("SPS+PN_030")
Fig. 7.47 Example - PLC & bus info/diagnostics after processing ("SPS+PN_030")
Note
If an S7 project should not contain any step sequencers, all "Schrittketten_031" screens must be
deleted from the WinCC flexible project.
In addition, the "Step sequencer" button must be removed from the basic screen.
This prevents warnings from being generated when generating the "runtime".
7.2.3.25 Detailed screen of SEW drive with AMA binary setpoint value
("Detail_SEW_AMA_Bin")
Fig. 7.59 Example- detailed screen of SEW drive with AMA binary setpoint value ("Detail_SEW_AMA_Bin")
7.2.3.26 Detailed screen of SEW drive with AMA variable setpoint value
("Detail_SEW_AMA_Var")
Fig. 7.60 Example - detailed screen of SEW drive with AMA variable setpoint value ("Detail_SEW_AMA_Var")
Fig. 7.61 Example - detailed screen of SEW drive with Modulo ("Detail_SEW_Modulo")
Fig. 7.62 Example - detailed screen of SEW drive with AMX_RB ("Detail_SEW_Modulo")
Fig. 7.63 Example - detailed screen of SEW drive with AMX_VR ("Detail_SEW_AMX_VR")
Fig. 7.64 Example - detailed screen for display of switching list ("Detail_SchaltlisteSchicht_105")
Fig. 7.65 Example - detailed screen for display of stylus stamping system ("Detail_Markator120050PR1")
Fig. 7.66 Example - detailed screen for display of measuring system ("Detail_Messen_Perceptron1_1M1")
Fig. 7.67 Example - step sequencer display for the manual operating screen ("Station_Ablaufsteuerung")
All user-defined variables must be stored in the "User-defined" folder. It is created in the project path
under "Communication Variables". The acquisition cycle must be entered as 200 ms for all
variables.
Depending on the selection made for the Delta import in Chapter 6.4.2.3 "Generating the import file for
Delta import type" / Fig. 6.47 "Selection to Overwrite picture or Create Delta picture", new pictures and
Delta pictures are created after the Delta import or existing pictures are overwritten, and different post-
processing is required.
Note
For all variants (Overwrite picture, Create Delta picture and Create picture), the check mark must
be placed next to "Use Template" in each case in the pictures of the WinCC flexible project.
No special procedure is required here. You can proceed as described under Chapter 7.2.3
"Description and post-processing of operating screens".
If newly added pictures are created, it must be checked whether the picture symbols they contain must
be manually assigned to an existing picture. If this is the case, the elements should be copied to the
correct position in the existing picture. Afterwards, the new picture should be deleted.
If the elements must not be assigned to any existing picture, proceed as described under Chapter
7.2.3 "Description and post-processing of operating screens".
If delta pictures are created, it must be checked whether the picture symbols they contain must be
manually assigned to an existing picture. If this is the case, the elements should be copied to the
correct position in the existing picture. Afterwards, the delta picture must be deleted.
If the elements must not be assigned to any existing picture, proceed as described under Chapter
7.2.3 "Description and post-processing of operating screens".
Integrate the faceplate library in WinCC flexible and open the library.
To use a WinCC flexible project in runtime, it is necessary to generate a runtime project. To do so, all
temporary project files must first be deleted. On the menu bar, click on "Options" and select "Delete
Temporary Files". A corresponding message appears next in the message window.
Upon selecting the "Regenerate All…" button, the WinCC flexible project is completely being
generated.
It is located in the project path under "Project Generator".
Note
The generation of the WinCC flexible project must be free of errors.
Only error-free generated projects are transferred into the runtime loaded on the target device in
the system.
If the project should be generated after the import to WINCC flexible, two different generating
processes are available for version SP3 / Update2 with modified "HmiES.exe.config" file.
Note
For initial generation and for changes in the "HW_Config", it is mandatory to use variant 1
"Regenerate all".
The additional steps for the project generation are described in detail starting with Chapter 6.4.2.1
"Generating the import file for "Complete" import type".
Note
For each protective screen door that is detected via the module FB_105 (protective circuit) or
FB_106 (protective circuit_16), 8 screen elements are created via the generator to have one
element for each orientation.
The doors may not be rotated or mirrored, otherwise they will no longer be correctly displayed on
the GBA.
From these 8 elements, the matching one must be selected for the proper position representation
of the respective door.
The other 7 elements for this door must be deleted.
Merging the GBA figures from several WinCC flexible projects into a common WinCC flexible project.
Fig. 7.89 Merging the GBA figures from several WinCC flexible projects
Adaptation of the TCP/IP address of the HMI device while observing different TCP/IP addresses of the
controllers.
Fig. 7.90 Merging the GBA figures from several WinCC flexible projects
The "Protective circuit" template must be copied accordingly before being used.
e.g. 10 protective circuits in the system require 10 copies
Selection of the generated variable from the "@Generator" folder for "Schutzkreis_AnimFlaeche" and
"Schutzkreis_AnimText" under "Properties Animation Design".
For the system overview, the required faceplates must be placed on the real system on the
"GBA_Vorderseite" and with a copy of it on the "GBA_Rückseite".
Creation of system overview with the faceplates from the project-based GBA screens in
"GBA_Anlagenuebersicht_01".
The front and back sides are identical.
Fig. 7.94 Creation of system overview with the faceplates from the project-based GBA screens
All faceplates "Fire alarm pre-alarm" and "Fire alarm main alarm" in the system project coming from
different controllers must be placed at level 30 (and in all figures to be used).
The "Statistics" faceplates are placed before the last controller in the project sequence.
Fig. 7.97 Placing the "Statistics" faceplates before the last controller
Remove the "Bildumschaltung_01-02" pointer instrument if all the required information can be placed
in a screen "GBA_Anlagenuebersicht_01".
Fill the next "GBA_Anlagenuebersicht_02" screen, preferably only with Statistics, if the
"GBA_Anlagenuebersicht_01" screen is insufficient.
If the aforementioned screens are insufficient, the next "GBA_Anlagenuebersicht_03" screen can be
used following the above scheme.
8 Multiple languages
Overview table for multilingual texts
Message system
Message text Display of messages in Using provided resource files in
WinCC flexible D:\Projects\Siemens\03_SiVArc\01_Metamodell\
VASS\HmiMetaModel\Resources
WinCC flexible
Project texts Default texts for static Translation of project texts using the
graphics, provided user dictionary
e.g. for "Detail_SEW_AMA"
etc.
8.1 STEP 7
8.1.1 Language-neutral saving
You reach the following property view by selecting the project name, right-clicking and selecting
"Object properties".
The setting must be performed as shown in the following screenshot.
Note
For STEP 7 projects, a check mark must be placed next to "Can be opened under any Windows
language settings (language-neutral)" in the "Properties - Project" window on the "General" tab in
order to save them language-neutral.
The following language selections must be made exclusively for the languages used in the company
group:
Language
English (US)
Czech (Czech Republic)
Spanish (International Sort)
Portuguese (Brazil)
Russian (Russia)
Slovak (Slovakia)
Chinese (PRC)
Tab. 8.2 Permissible language selections
DB numbers of TextLibs
Language Identification
English en-US
Czech cs-CZ
Spanish es-ES
Portuguese (BR) pt-BR
Russian ru-RU
Slovak sk-SK
Tab. 8.4 Replacement code for country ID in symbol table
8.1.2.3.1 Preparing target language and text types for translation files / executing the
export
8.1.2.3.3 Providing the created text files from the export directory for translation
Fig. 8.6 Providing the created text files from the export directory for translation
In the export directory, an Excel file is created for each text type.
In addition, the "export.txt" log file is created with information about the export process.
In the Excel files, the corresponding text is entered in two columns.
The 1st column features the source text, the 2nd column the previous source text or already existing
text in the target language.
The target text must now be entered in the respective language.
8.1.2.3.4 Example of an Excel file with German source and target text
8.1.2.4.1 Example of an Excel file with German source and English target text
8.1.2.4.3 Filling out the "Import User Texts" dialog and executing the import
The log file that was created directly during the import, can be displayed by clicking on "Yes".
Note
For later use of the SiVArc Screen Generator, the "SymbolComment.xls" file must be stored as
"SymbolComment.csv" in the STEP 7 project.
Note
For the Russian and Chinese language, the xls files must be saved with Excel in the "Unicode-txt"
format.
Afterwards, the file extension ".txt“ must be changed in Explorer to ".csv".
The PLC makes the messages from WinCC flexible available with the FB650. The FB650 also
represents the IDs of the messages as texts.
These texts are stored in a sequence of DBs (see Table 8.1.2.2 "DB numbers of TextLibs").
The FB651 directs the pointer of the FB650 to the correct DB sequence (language selection).
In OB1, FB651 must be called before FB650.
To transfer the TextLibs required for the language selection, the "MeldeFBDB_TextLibs" IN parameter
must be supplied with a pointer at the FB 651 "LMsg" (Language Message). It points to the first
TextLib (TextLib0) in the instance DB of FB 650 ("P#DB650.DBX2.0")
Problems
The following faults are being formed:
based on checking the IN parameter "target language"
If a message number (MsgID) entered in the DB View or DB Archive cannot be found in the
DBTextLibs
Note
The two faults "MsgIDinViewNichtFind" and "MsgIDinArchivNichtFind" can also indicate that other
DB TextLibs numbers are being using as specified in the STAT area of the FB802.
Warnings
If a start for a language switch for the message view (DB View) is issued at the FB802 or the message
archive (DB Archive) without the FB802 being released, the following warnings are set and the
corresponding start bit is reset by the FB.
In this case, no processing takes place.
Messages
The following messages are displayed at a start of the language switch and an empty DB View
(message view) or DB Archive (message archive).
Under "Available languages", select the desired language and add it under "Languages installed
in the project (Chinese)".
Select the corresponding text types (see also Ch. 8.1 "STEP 7").
Import the user texts as xls files or, for Russian and Chinese, as "csv files".
Fig. 8.21 Performing the language change for the installed language (Chinese)
Fig. 8.23 Performing the language change for the installed language (German)
8.2 SiVArc
8.2.1 Provisioning the WinCC flexible project
The WinCC flexible project must be integrated in STEP 7 under "Project Integrating in Step 7…".
After integrating the body project, the second language for it must be selected in the "Project
languages" folder.
The following language selections must be made exclusively for the languages used in the company
group:
Language
English (US)
Czech (Czech Republic)
Spanish (International Sort)
Portuguese (Brazil)
Russian (Russia)
Slovak (Slovakia)
Chinese (PRC)
Tab. 8.11 Permissible language selections
In the "Languages and fonts" folder (under Device settings), a check mark must also be placed for the
second language.
After integrating the project and selecting a second project language, the "WinCC flexible" program is
saved and closed.
Activate the "Multilingual support" and then select the desired second language.
After activating the "Generate" button, you are requested to select the "SymbolComment.csv" file you
created previously, which contains the translated project texts of the symbol table (see also Chapter
8.1.2 "Managing multilingual texts").
Note
If this selection dialog is exited with "Cancel" or "Close window", only German message text DBs
are generated.
After completing the generation, the Screen Generator automatically generates the message text DBs
in German and the selected target language. They must subsequently be loaded in the PLC.
The user dictionary in WinCC flexible contains texts that occur in the same way in all projects. Project-
specifically added texts in the project must be post-edited by the system supplier.
Note
The basic user dictionary is supplied via "VASS.zip" and copied to the correct storage location with
the Update Manager.
In the work area, the texts of the user dictionary are displayed in table form. When you create a user
dictionary, you select which languages the user dictionary should contain. For each of these
languages, the table of the editor contains a column. Each table row contains a term in the reference
language as well as its translations if you applied them to the user dictionary.
8.3.1.2.1 Introduction
In a user dictionary, you store translations of terms that occur multiple times in your project texts. You
can edit a user dictionary in the "User dictionary" editor or insert terms from project texts directly from
the editors in a user dictionary.
8.3.1.2.2 Requirements
If you want to enter a term directly from the point of use in a user dictionary, use the "Texts Copy
to Dictionary" command in the "Options" menu. In the dialog, select the user dictionary in which the
term should be inserted.
8.3.1.2.5 Result
The term and, if you entered them, its translations are applied to the user dictionary. They can then be
used as translation suggestion by the "Translate Automatically" function.
8.3.1.3.1 Introduction
All user dictionaries are physically managed in a single file. The user dictionaries used in a project are
displayed in the project window in the group "Language support Dictionaries User
dictionaries".
In the context menu of the user dictionary, select the "Rename" command.
Enter a new name.
Press "ENTER".
In the menu "Options User dictionaries", select the "Add/remove user dictionary" command.
In the dialog, select the user dictionary to be integrated in the project.
Click on "OK".
After you integrated a user dictionary in a project, the process can no longer be undone. To remove
the user dictionary from the project, delete the user dictionary.
In the menu "Options User dictionaries", select the "Add/remove user dictionary" command.
In the dialog, select the user dictionary to be removed from the project.
Click on "OK".
The user dictionary is being removed from the project.
In the menu "Options User dictionaries", select the "Add/remove user dictionary" command.
In the dialog, select the user dictionary to be deleted.
Click on "Delete Permanently".
The user dictionary is being deleted.
The user dictionary is copied with Windows Explorer, e.g. when you want to use the user dictionary on
another configuration PC.
Note
Disable the "WinCC flexible Start Center" in the following cases:
- For "Copy" and "Paste".
- For copying from one version to another higher version.
- For copying from one configuration PC to another configuration PC.
Copy the files "UserDictionary.dct" and "UserDictionary_log.LDF" from the storage location listed
below.
On the configuration PC, check whether you want to overwrite the existing user dictionary. If you want
to overwrite the dictionary, insert the files under the storage location listed below on the configuration
PC.
During the uninstallation, the user dictionary is also being deleted. If you still require the data, you
should copy the user dictionary before uninstalling it.
At the storage location listed above, search for the file "UserDictionary.dct".
Copy the files "UserDictionary.dct" and "UserDictionary_log.LDF
To apply the texts, right-click again in the marked area and select "Accept Automatic Translation".
Select the complete column (second language) for which the translation is missing. Right-click in the
marked area and select "Export Texts".
By confirming with "OK" the files "Others.xls" and "Screens.xls" are generated at the selected storage
location.
8.3.3.1 Providing the created text files from the export directory for translation
The files "Others.xls" and "Screens.xls" are being generated in the export directory.
In the Excel files, the corresponding text is entered in two columns. The 1st column features the
source text, the 2nd column the previous source text or already existing text in the target language.
The texts are each framed with the tags "<text>" and "</text>". they may not be removed.
The target text must now be entered in the respective language.
8.3.3.2 Example of an Excel file with German source and target text
8.3.3.3 Example of an Excel file with German source and English target text
8.3.3.4 Importing the translated Excel files in the WinCC flexible project
Note
For multilingual projects, the steps 8 to 10 of Ch. 7.2.2 "Step sequencer display with
ProAgent". must be observed.
If an existing project should be designed as multilingual, the following steps are required:
In SIMATIC Manager:
Preparing the export of the project texts and text types (see Ch. 8.1.2.3 "Export of project
texts") for the translation files.
Selection of desired language (e.g. Spanish) in the "Language support" folder via project
languages
Under "Device settings Languages and fonts", a check mark is placed in the "Runtime
language" column for the expanded language (e.g. Spanish).
Adjusting the symbol table in the S7 project for the additional language (here Spanish). The
DB numbers of TextLibs (DB824 - DB831) must be adjusted
(from "xx-XX" to "es-ES").
Starting the SiVArc screen generator and selecting the language for multilingual support
Selection of the required CSV file (exported and translated by the plant constructor).
Clicking on "OK"
Clicking on "Accept"
Clicking on "OK"
Clicking on "Import"
Opening the WinCC flexible project after importing and finishing the manual adaptations for
the Delta import.
Open the Administrator screen and position the buttons for the selected languages.
Fig. 8.61 Positioning buttons for selected languages on the Administrator screen
9.1 PC677 B
For the VASS standard, the PC677 15" is used as main
control panel. The following chapter describes the setup and
backup options.
The Microsoft Windows operating system as well as all
required drivers, software and licenses are already part of
the image. The following section describes which
customizations must be performed by the OEM.
You call up the settings of the touchscreen via the "Start" menu dialog and the command "Programs
UPDD Settings".
If the touchscreen does not respond as expected
upon touching it, repeat the calibration. To do so,
first activate the 25-point calibration and then
calibrate the touchscreen.
First, the Ethernet network card must be selected whose interface is to be used for the
communication. By default, the SIMATIC PANEL PC 677 features two Ethernet network cards.
You change the network setting via the "Start" menu dialog and the command "Settings Network
Connections Network Adapter". Open the "Properties of Network Card Used" dialog. The
"Properties of ... " dialog opens. Mark "Internet Protocol (TCP/IP)". Open the properties. The IP
settings are made on the "General" tab.
Before starting the runtime of the WinCC flexible project, the PG/PC interface must be firmly set to
TCP/IP with the network card activated beforehand!
The data storage on the target system must be performed according to the defaults of Chapter 3 "Data
Storage".
9.1.2.2 S7 project
Note
After every change of the hardware configuration, "Report system errors" must be generated again.
This changes message DBs. They must be transferred to the controller so that the PROFINET
diagnostics works properly in the visualization.
Together with a corresponding note, you are given the option to load the standard user
program together with the safety program.
If the safety program is changed or not consistent, you are given a corresponding note and
the option to create a consistent safety program (i.e. to generate it).
4. Confirm the query about stopping the F-CPU.
Note
You perform the loading of the complete safety program only in the STOP operating state. If you
load only the F-blocks, then the block in which the F-CALL blocks are called is not loaded.
Note
After the loading in the "Safety Program" dialog, an online/offline comparison is automatically
performed for all F-blocks with F-attribute in the safety program. In the F-CPU, all F-blocks without
F-attribute are deleted. Afterwards, the F-CPU contains exactly the same F-blocks with F-attribute
as are available in the offline block container.
5. In the "Safety Program" dialog, activate the tabs "Offline" and "Online" in succession and
check whether the collective signature of all F-blocks with F-attribute of the block container
match online and offline. If they match, the loading was successful. If this is not the case,
repeat the load procedure.
6. To activate the safety mode, perform a STOP/RUN transition of the F-CPU.
Note
If the loading process is canceled, you have to repeat the loading (step 3) and the check of the
collective signatures of all F-blocks with F-attribute of the block container online and offline (step
5).
9.1.2.2.2 Loading changes of the safety program in the "Safety Program" dialog
The further procedure corresponds to that of loading the complete safety program in the "Safety
Program" dialog (see also Chapter 8.1.2.2.1 "Complete download of the safety program").
If you change a safety-relevant parameter for F-I/O devices, a fail-safe DP standard slave, a fail-safe
IO standard device or an F-CPU, then you have to regenerate and load the safety program.
The same applies to changes of the configuration of safety-related communication, particularly the
change of S7 connections for safety-related communication via S7 connections.
After the safety program, all blocks of the sequence program must be transferred to the CPU and, if
necessary, edited further.
Note
To monitor the module FBs in SCL with respect to status, it is absolutely necessary that the SCL
source files in the S7 program source files container are retained.
The WinCC flexible project to be transferred must be opened with the WinCC flexible Engineering
System.
Autostart must be disabled on the taskbar in the "SIMATIC WinCC flexible - Start center".
In the Start menu under "SIMATIC WinCC flexible Runtime 2008", start the "WinCC flexible
Runtime Loader" (variant A).
Or:
In the Start menu under "Programs Siemens Automation Runtime Systems
WinCC flexible Runtime 2008"", start the "WinCC flexible Runtime Loader" (variant B).
First, click on "Settings" and check the setting in the following dialog and adjust it, if necessary.
After the "Settings" dialog has been closed, click on "Transfer" in the
main dialog of the runtime loader.
Select "Ethernet" for "Mode" in the "Select HMI Devices for Transfer". For Panels, enter the IP
address, and for PanelPCs the computer name.
The fields "Overwrite User Management" and "Overwrite Data Records" must be activated only for the
first transfer. The check marks can be removed for subsequent transfers.
Note
If the transfer is not initiated, the old, previously loaded project starts upon restarting the panel PC.
If auxiliary control units of type MP377 or mobile panels of type MP277RO are used in the system,
they must be coupled with the main control unit (PC677) via a remote connection. This is done via the
RemoteOperate software.
In this case, the server is located on the main control unit and the client on the respective MP.
No. Description
① Port of RemoteOperate Server
② IP address of the network card of the RemoteOperate Server
③ List of available Clients
④ Status, rights, IP address and description of a Client
⑤ "Add Client" button
⑥ "Edit Client" button
⑦ "Remove Client" button
⑧ "Edit Server Settings" button
⑨ "Close Server Dialog" button
Requirements
The "Server - RemoteOperate V2" dialog is open.
Procedure
With the button, open the "RemoteOperate V2" dialog for creating a new client.
In the "IP address:" field, enter the physical address of the
client which you want to add to the list of clients.
Optional: Enter a comment in the "comment:" field.
The comment is subsequently displayed as text description of
the client next to its IP address in the "available clients" list.
Select a meaningful comment, e.g. the name or type of the
HMI device.
Fig. 9.16 Creating a new client
Result
You added a new client to the list of
"available clients". You can enter up
to six clients in the list of "available
clients" of a server.
Control Panel
In the control panel of the HMI device, you can also set the following:
Calibrating the touchscreen
Setting the computer name
Defining network settings
Depending on the mounting position and viewing angle, a parallax may occur at the touchscreen. To
avoid any operator errors resulting from it, recalibrate the touchscreen in the startup phase or during
operation.
With the "OP" icon, you open the "OP Properties" dialog ("Touch" tab).
After activating the "Recalibrate" button, the calibration dialog
opens. Briefly touch the center of the calibration cross in
each case. The new calibration is saved at the end if you
touch the touchscreen within 30 seconds.
With the "Network and Dial-Up Connections" icon, you open the following dialog window.
Open the entry "LAN90001".
The "'SMC LAN91C111 Ethernet' Settings" dialog opens.
You opened the "Network ID" dialog with the "Network ID" icon.
Enter the user name in the "User name" input field.
Enter your password in the "Password" input field.
Enter the domain name in the "Domain" input field.
Fig. 9.25 Network ID
Note
When you switch on the HMI device for the first time, the server selection list is still empty. First,
create a new server.
Password protection
If your HMI device is protected by a password, then the "Client - RemoteOperate V2" dialog also
displays the icon.
The password is requested once per connection attempt and for the following actions:
Create server
Change server properties
Delete server
Exit RemoteOperate client
Note
Limited number of servers per client:
RemoteOperate supports up to ten servers in the server selection list of a client.
Ensure that a maximum of nine servers are located in the server selection list when you want to
create a new server.
Tree path
In the "tree path:" field, enter the path
of the server within the server
selection list.
"Path" indicates under which node of
the server tree the server is created.
For example, if you specify "\Area1\",
then the IP address of the server will
subsequently be shown underneath
the "Area1" node:
Note
The path of the server selection list can be up to three levels deep. Enter a maximum of three path
levels for a server, e.g. "\Area2\Segment1\Place2\". If the path already exists in the server
selection list, the newly added server is positioned at this location. If the path does not yet exist, it
is automatically being created.
IP address
Enter the IP address of the new server in the "IP address:" input field.
Comment
Enter a designation for the new server in the "comment:" input field which is displayed next to the IP
address in the tree of the server selection list. The designation used here is the PROFINET device
name of the respective server.
Confirmation
Confirm your entries with the button.
Requirements
You switched on the HMI device.
You authorized yourself with your password if your HMI device is protected by a password.
Note
When you switch on the HMI device for the first time, the server selection list is empty. Create a
new server selection list.
Procedure
Select the name of the server with which you want to connect.
Danger
Improper operation of the server by unauthorized personnel can lead to malfunctions of the server.
Malfunctions can lead to death or serious physical injuries! Assign passwords at the HMI devices.
Create an operating authorization concept. This ensures that only authorized personnel receives
full access to the server.
Connect the client with the selected server with the button.
While the client attempts to connect with the server, the adjacent message is displayed on your HMI
device:
Fig. 9.30 Connection to the server
Note
Behavior in case of a problem of the network:
In case of a short-term or permanent problem of the network, the client continuously attempts to
establish a connection to the server. You cancel the continuous connection attempts with the
button.
Result
If a connection to the server has been established, the following options are available:
The server grants you access. The project running on the server is being displayed.
Depending on your authorization at the server, you may either view or operate the project.
The server grants you access. The Windows desktop of the server is being displayed. If you
are authorized for operation, start your project with the corresponding desktop icon.
The server grants you access. You see the Windows login window of the server. Touch the
touchscreen until the RemoteOperate toolbar is
displayed.
Fig. 9.31 RemoteOperate toolbar
Note
Set the duration until the display of the toolbar:
The time required for you to touch the touchscreen until the RemoteOperate toolbar is displayed is
defined in the "roServer.ini" file.
Once the server has rejected your access attempt, your client remains unauthorized until your server
grants explicit access.
PN connection box
If mobile panels are used in the protective circuit via PN connection boxes, an automatic exclusive
mode for the mobile panel is activated via the E2 lock.
For this purpose, it is absolutely necessary that the box ID is set according to the specification. This
setting must be checked, if necessary.
The number of the connection box must be set according to the specification (unique for body
structure), the setting is done in hexadecimal.
Note
Set the duration until the display of the toolbar:
The time required for you to touch the touchscreen until the RemoteOperate toolbar is displayed is
defined in the "roServer.ini" file.
The following table shows the special functions of the RemoteOperate toolbar:
Button Function
Executes a right-click on the server.
Follow the steps below:
- Select a screen object that features a function for the right mouse button.
List of Figures
Fig. 2.1 Selecting the software components ...................................................................................25
Fig. 2.2 Selecting ProAgent ............................................................................................................25
Fig. 2.3 WinCC flexible 2008 Advanced with SP2 / Update 3 ........................................................26
Fig. 2.4 3-GB switch for 32-bit XP system ......................................................................................27
Fig. 2.5 Installation of "WinCC flexible Add-on" ..............................................................................28
Fig. 2.6 Selection of HMI device type .............................................................................................28
Fig. 2.7 Changing the HMI device type ...........................................................................................29
Fig. 2.8 SIMATIC WinCC flexible - Start center ..............................................................................29
Fig. 2.9 Executing the "dotNetFx35setup.exe" setup file ................................................................30
Fig. 2.10 Executing "SiVArc.msi" for VASS ......................................................................................30
Fig. 2.11 Installation of SiVArc setup for VASS ................................................................................31
Fig. 2.12 SiVArc setup destination folder ..........................................................................................32
Fig. 2.13 SiVArc desktop icons .........................................................................................................32
Fig. 2.14 "General" settings ..............................................................................................................33
Fig. 2.15 "View" settings ...................................................................................................................33
Fig. 2.16 "LAD/FBD" settings ............................................................................................................34
Fig. 2.17 "Block" settings ..................................................................................................................34
Fig. 2.18 Opening the "Properties - Block folder offline" window......................................................35
Fig. 2.19 Setting the address priority ................................................................................................35
Fig. 2.20 Error message....................................................................................................................36
Fig. 2.21 Verifying before generating ................................................................................................36
Fig. 2.22 Settings of the columns .....................................................................................................37
Fig. 2.23 Differentiating settings .......................................................................................................38
Fig. 2.24 "General" application settings ............................................................................................39
Fig. 2.25 "Editor" application settings ...............................................................................................39
Fig. 2.26 "Compile / Save" application settings ................................................................................40
Fig. 2.27 "Messages" application settings ........................................................................................41
Fig. 2.28 "Compile / Save" block settings .........................................................................................42
Fig. 2.29 "Messages" block settings .................................................................................................43
Fig. 2.30 S7 SCL "Create Blocks" .....................................................................................................44
Fig. 2.31 Value (new) .......................................................................................................................45
Fig. 2.32 Value (old) .........................................................................................................................45
Fig. 2.33 S7-SCL "Compiler".............................................................................................................46
Fig. 3.1 Project data - Folder structure ...........................................................................................48
Fig. 3.2 Defining permissions for users ...........................................................................................49
Fig. 3.3 Defining the list separator ";" ..............................................................................................50
Fig. 3.4 S7 online help ....................................................................................................................54
Fig. 7.32 Example - detailed robot screen with corresponding process devices
("Rob_110010R01_006") .................................................................................................228
Fig. 7.33 Example - basic screen for menu navigation ("Grundbild_010") .....................................229
Fig. 7.34 Example - system overview screen before processing ("Anlagenübersicht_011") .........230
Fig. 7.35 Example - system overview screen after processing ("Anlagenübersicht_011") ............231
Fig. 7.36 Example - operating modes ("Betriebsarten_012") .........................................................232
Fig. 7.37 Example - preselections ("Vorwahlen_013") ...................................................................233
Fig. 7.38 Example - robot overview screen ("Roboter_014_Layer1").............................................234
Fig. 7.39 Example - overview screen of robot process devices ("Rob-Prozessgeräte_015") ........235
Fig. 7.40 Example - machine processes ("Maschinenprozesse_016") ..........................................236
Fig. 7.41 Example - system completion reports ("GlobaleStati_017") ............................................237
Fig. 7.42 Example - request screen for operators and parts ("Werkerruf_018") ............................238
Fig. 7.43 Example - statistics & number of units ("Statistik_020") ..................................................239
Fig. 7.44 Example - clock time overview screen ("Taktzeiten_022") ..............................................240
Fig. 7.45 Example - PLC & bus info/diagnostics before processing ("SPS+PN_030") ..................241
Fig. 7.46 Example - template for PLC & bus info/diagnostics ("SPS+PN_030") ............................242
Fig. 7.47 Example - PLC & bus info/diagnostics after processing ("SPS+PN_030") .....................242
Fig. 7.48 Example – PNIO-100 station overview ("PNIO-100_Stationsübersicht") ........................243
Fig. 7.49 Post-processing ...............................................................................................................243
Fig. 7.50 Example – PN overview 019 ("PN-Übersicht_019") ........................................................244
Fig. 7.51 Example – PN overview 019 after processing ("PN-Übersicht_019") .............................245
Fig. 7.52 Example - PLC status value ("SPS_StatusValue") ..........................................................246
Fig. 7.53 Example - step sequencer overview ("Schrittketten_031") ..............................................247
Fig. 7.54 Example - interfaces ("PN/PN_Koppler_ARG2_101") .....................................................248
Fig. 7.55 Example - screen of current messages ("Message display") ..........................................249
Fig. 7.56 Example - message archive ("Meldearchiv_250") ...........................................................250
Fig. 7.57 Example - administration ("Administration") ....................................................................251
Fig. 7.58 Example - screen for starting external applications ("Applikationen") .............................252
Fig. 7.59 Example- detailed screen of SEW drive with AMA binary setpoint value
("Detail_SEW_AMA_Bin") ................................................................................................253
Fig. 7.60 Example - detailed screen of SEW drive with AMA variable setpoint value
("Detail_SEW_AMA_Var") ...............................................................................................254
Fig. 7.61 Example - detailed screen of SEW drive with Modulo ("Detail_SEW_Modulo") .............255
Fig. 7.62 Example - detailed screen of SEW drive with AMX_RB ("Detail_SEW_Modulo") ..........256
Fig. 7.63 Example - detailed screen of SEW drive with AMX_VR ("Detail_SEW_AMX_VR") .......257
Fig. 7.64 Example - detailed screen for display of switching list ("Detail_SchaltlisteSchicht_105")258
Fig. 7.65 Example - detailed screen for display of stylus stamping system
("Detail_Markator120050PR1") ........................................................................................259
Fig. 7.66 Example - detailed screen for display of measuring system
("Detail_Messen_Perceptron1_1M1")..............................................................................260
Fig. 7.67 Example - step sequencer display for the manual operating screen
("Station_Ablaufsteuerung") .............................................................................................261
List of Tables
Tab. 1.1 Software tools for Windows XP..........................................................................................20
Tab. 1.2 Software-Tools for Windows 7 / 64 bit ...............................................................................21
Tab. 2.1 Hardware requirements .....................................................................................................22
Tab. 4.1 Overview of block distribution ............................................................................................86
Tab. 4.2 Call sequence and base structure of a project ................................................................101
Tab. 4.3 Structure after the $ character .........................................................................................113
Tab. 5.1 Variables of an F-I/O devices DB.....................................................................................151
Tab. 5.2 Safety program block list ..................................................................................................157
Tab. 5.3 F-application blocks in the VASS project library ..............................................................158
Tab. 7.1 Overview of operating screens ........................................................................................217
Tab. 7.2 Manual operating screen of station ..................................................................................222
Tab. 7.3 Tool screen of station .......................................................................................................226
Tab. 7.4 Detailed robot display with pertinent process devices .....................................................228
Tab. 7.5 Basic screen for menu navigation ....................................................................................229
Tab. 7.6 System overview ..............................................................................................................230
Tab. 7.7 Operating modes..............................................................................................................232
Tab. 7.8 Preselections....................................................................................................................233
Tab. 7.9 Robot overview screen ....................................................................................................234
Tab. 7.10 Overview screen of robot process devices ......................................................................235
Tab. 7.11 Machine processes ..........................................................................................................236
Tab. 7.12 System completion reports ..............................................................................................237
Tab. 7.13 Request screen for system operator and parts ................................................................238
Tab. 7.14 Statistics & number of units .............................................................................................239
Tab. 7.15 Clock time overview screen .............................................................................................240
Tab. 7.16 PLC & bus info/diagnostics ..............................................................................................241
Tab. 7.17 PNIO-100_Stationsübersicht ...........................................................................................243
Tab. 7.18 PN-Übersicht_019 ............................................................................................................244
Tab. 7.19 SPS_StatusValue ............................................................................................................246
Tab. 7.20 Step sequencer overview .................................................................................................247
Tab. 7.21 Interfaces .........................................................................................................................248
Tab. 7.22 Screen of current messages ............................................................................................249
Tab. 7.23 Message archive ..............................................................................................................250
Tab. 7.24 Administration ..................................................................................................................251
Tab. 7.25 Screen for starting external applications ..........................................................................252
Tab. 7.26 Detailed screen of SEW drive with AMA binary setpoint value .......................................253
Tab. 7.27 Detailed screen of SEW drive with AMA variable setpoint value .....................................254
Tab. 7.28 Detailed screen of SEW drive with Modulo ......................................................................255
D DB Data block
DI Digital input
DO Digital output
E ET Electronic terminal
ES Engineering system
L LV Load voltage
LVU Operator safety light barrier
O OB Organization block
OP Operator Panel
OEM Original equipment manufacturer
R RO RemoteOperate
Rob Robot
RT Runtime
Appendix
A: PROFINET Device Names
Protective circuit
Equipment designation IP ranges IP address EPLAN identifier
BMS/PLC no.
Ext. stations
designation
Plant / Unit
Segment
Station
Device
BMK
Area
CPU 319F-3 PN/DP PLC 192 . 168 . 0 . 10 =KASTAN++1BS+ALLG-KU K A S T A N 1 - - - - - B S - A L L G K U X
IM151-3PN FO 192 . 168 . 0 . 11 =KASTAN++1KV+-KA1 K A S T A N 1 - - - - - K V - - - - - K A 1
IM151-3PN FO 192 . 168 . 0 . 12 =KASTAN++1SV+-KA1 K A S T A N 1 - - - - - S V - - - - - K A 1
IM151-3PN FO 192 . 168 . 0 . 13 =KASTAN++1BS+ALLG-KA1 K A S T A N 1 - - - - - B S - A L L G K A 1
PN-PN Coupler ARG1 <> ARG2 192 . 168 . 0 . 14 =KASTAN++1BS+ALLG-K51 K A S T A N 1 - - - - - B S - A L L G K 5 1
IM151-3PN FO 192 . 168 . 0 . 20 =KASTAN++11+K1-KA1 K A S T A N 1 1 - - - - - - - K - - 1 K A 1
KP8 192 . 168 . 0 . 21 =KASTAN++11+I1-PB1 K A S T A N 1 1 - - - - - - - I - - 1 P B 1
IM151-3PN HF PROFINET devices 192 . 168 . 0 . 22 =KASTAN++11+I1-KA1 K A S T A N 1 1 - - - - - - - I - - 1 K A 1
EX245-PN-FX 192 . 168 . 0 . 27 =KASTAN++11HP+VI1-KA1 K A S T A N 1 1 - - - - H P - V I - 1 K A 1
IM151-3PN FO 192 . 168 . 0 . 28 =KASTAN++110010SF1+K1-KA1 K A S T A N 1 1 0 0 1 0 S F 1 K - - 1 K A 1
IM151-3PN FO 192 . 168 . 0 . 29 =KASTAN++110010DT1+K1-KA1 K A S T A N 1 1 0 0 1 0 D T 1 K - - 1 K A 1
SEW-MOVIPRO 192 . 168 . 0 . 30 =KASTAN++110010DT1+AE1-TM1 K A S T A N 1 1 0 0 1 0 D T 1 A E - 1 T M1
EX245-PN-FX 192 . 168 . 0 . 31 =KASTAN++110011+VI1-KA1 K A S T A N 1 1 0 0 1 1 - - - V I - 1 K A 1
EX245-PN-FX 192 . 168 . 0 . 32 =KASTAN++110012+VI1-KA1 K A S T A N 1 1 0 0 1 2 - - - V I - 1 K A 1
Note
The device name must be entered under the "General" properties view. In the "Comment" field, the
short name as well as the location identifier from the hardware plan must be entered. The device
number is formed by the last block of the IP address.
Integrating an ET200S
Integrating a switch
number
FB 308 SST_name of welding control SST_1WS3A1 Welding control
Brief function description item
FB 350 DT_110040DT1M1_T SEW_STAN
designation_T
Brief function description item
FB 351 DT_110040DT1M1_T SEW_FU
designation_T
Brief function description item
FB 352 DT_110040DT1M1_T SEW_AMA_Var
designation_T
FB 356 DT_name of rotary table_T DT_110040DT1M1_T Rotary table D D = driver
only two positions,
FB 357 DT_name of rotary table_position DT_110040DT1M1_PosR Rotary table position
PosR and PosV
FB 359 DT_name of rotary table_T DT_110010DT1M1_T Rotary table D D = driver
FB 360 DT_name of rotary table_Posnumber DT_110010DT1M1_Pos1 Rotary table position
Brief function description item
FB 364 DT_110040DT1M1_T MoviFit_AMX_VR
designation_T
Brief function description item
FB 365 DT_110040DT1M1_T MoviFit_AMX_RB
designation_T
Brief function description item
FB 378 DT_110040DT1M1_A SEW_FU_A
designation_A
Brief function description item
FB 379 DT_110040DT1M1_E SEW_FU_E
designation_E
Brief function description item
FB 380 DT_110040DT1M1_T MotorstartFRS1ex
designation_T
FB 400 MZ_cylinder name MZ_110011MZ11 Clamping cylinder
FB 401 Funktionskurzbezeichung_item designation MZ_110041MZ12 Valve hook SP
FB 402 MZ_cylinder name MZ_110020MZ12 Suction cylinder
FB 403 BT_name of component control BT_110011BT11/1 Main part
FB 404 MZ_cylinder name MZ_110041MZ12 Manual tensioner
FB 405 Funktionskurzbezeichung_item designation MZ_110041MZ12 Valve 1V 3S
FB 408 MZ_cylinder name MZ_110030MZ32 Offset cylinder
FB 409 KYP_name of switch-on valve KYP_110011VI1KYP01E Switch-on valve
FB 410 MZ_cylinder name MZ_110041MZ13 Clamping cylinder
FB 411 Funktionskurzbezeichung_item designation ST_110040M1 Twister FU_2S
FB 420 Funktionskurzbezeichung_item designation MZ_110011MZ11 Ventil_2
FB 453 RB_BMK RB_110040RB1M1 Elefant_AMX
D: Distributed safety
4/8F
entire component per channel
Type of
Behavior after Short circuit Sensor Discrepancy Reintegration after
Type Sensor evaluation sensor Discrepancy reaction
channel fault test supply time discrepancy error
interconnection
Passivating the
Disable internal 1oo2(2v2) evaluation 2-channel antivalent supply 0-value 10-30000 Test 0-Signal required
entire component
Passivating the channel Cyclic External 1oo2(2v2) evaluation 2-channel equivalent Supply last valid value Test 0-Signal not required
1oo2(2v2) evaluation 1-channel
1oo1(1v1) evaluation 1-channel
1 Passivating the channel Cyclic internal 1oo2(2v2) evaluation 2-channel equivalent supply 0-value 500 Test 0-Signal required
2 Passivating the channel Cyclic External 1oo2(2v2) evaluation 2-channel equivalent supply 0-value 500 Test 0-Signal required
3 Passivating the channel Cyclic External 1oo2(2v2) evaluation 2-channel antivalent supply 0-value 500 Test 0-Signal required
4 Passivating the channel Cyclic External 1oo1(1v1) evaluation 1-channel Standard 10 Test 0-Signal required
5 Passivating the channel Cyclic internal 1oo2(2v2) evaluation 2-channel equivalent supply 0-value 30000 Test 0-Signal not required
6 Passivating the channel Cyclic internal 1oo2(2v2) evaluation 2-channel antivalent supply 0-value 500 Test 0-Signal required
4 F-DO
entire component per channel
Behavior after Diagnostic
Type Enabled Read-back time
channel fault wire break
Passivating the
yes 1 … 400 yes
entire component
Passivating the channel no no
4 Stop cylinder
4 Drive On Enable from robot R01K61
5 IBS bridge
6 Two-hand panel
Fig. 9.36 Example of F-parameter (type 1) input 4/8 F-DI emergency stop system
Fig. 9.37 Example of F-parameter (type 1) input 4/8 F-DI emergency stop robot (VKRC2)
Fig. 9.38 Example of F-parameter (type 1) input 4/8 F-DI emergency stop multi-panel
Fig. 9.39 Example of F-parameter (type 1) input 4/8 F-DI emergency stop drive switch
Fig. 9.40 Example of F-parameter (type 1) input 4/8 F-DI mobile panel acknowledgment button
Fig. 9.41 Example of F-parameter (type 1) input 4/8 F-DI articulated flap variant 2
Fig. 9.42 Example of F-parameter (type 2) input 4/8 F-DI E2 mobile panel
Fig. 9.43 Example of F-parameter (type 2) input 4/8 F-DI non-contact safety switch
Fig. 9.46 Example of F-parameter (type 2) input 4/8 F-DI E2/protective circuit bypass
Fig. 9.47 Example of F-parameter (type 3) input 4/8 F-DI articulated flap variant 1
Fig. 9.48 Example of F-parameter (type 4) input 4/8 F-DI stop cylinder
Fig. 9.49 Example of F-parameter (type 5) input 4/8 F-DI bridge for commissioning