Professional Documents
Culture Documents
ST Pcs7sys
ST Pcs7sys
11 Customizing the OS
12 Archiving System
Name:
13 Locking functions and operating modes
This document was produced for training purposes. 16 User block – attributes and visualization
SIEMENS assumes no responsibility for its contents. The
reproduction, transmission, communication or use exploitation
of this document or its contents is not permitted without
express written consent authority. Offenders will be liable to 17 Demonstration Server-Client System
damages. Non-compliances with this prohibition make the
offender inter alia liable for damages.
Content 1
1 Introduction ............................................................................................................. 3
1.1 Learning targets (this chapter)................................................................................................3
1.2 Concept of this course ............................................................................................................3
1.3 Road map of this course.........................................................................................................4
1.4 Additional documentation .......................................................................................................4
1.5 Training equipment .................................................................................................................5
1.6 Access to systems of other students ......................................................................................5
1 Introduction
Text
Lists Requirements You create your own
Diagrams Automation of a plant with training project following
4 reactors predefined tasks during
Functional process the course
description
independent from PCS 7 System design Decentralized Process Control Determined by the available
System based on SIMATIC PCS 7, training equipment
using 1 ES/OS, 1 AS with
distributed I/O and Industrial The process behavior is
depending on PCS 7 simulated in the CPU of
Component specification Ethernet as System Bus
the AS
Commissioning
See [103] PCS 7 V8.0 Engineering System - 12_2011, 2.1.2 for more details
Content 2
2 PCS 7 Documentation and Online Support........................................................... 3
2.1 Learning target........................................................................................................................3
2.2 Documents available by PCS 7 Installation............................................................................3
2.2.1 Delivered Manuals ..................................................................................................................3
2.2.2 Delivered Readme Files .........................................................................................................4
2.2.3 PCS 7 help system .................................................................................................................5
2.2.4 Template for a plant-specific process control manual for operators.......................................6
2.3 Additional sources of information............................................................................................7
2.3.1 PCS 7 Compendium ...............................................................................................................7
2.3.2 PCS 7 on Tour (PoT) ..............................................................................................................8
2.3.3 PCS 7 Catalogs ......................................................................................................................9
2.3.4 PCS 7 in internet...................................................................................................................10
2.4 Industry Online Support Internet Portal ................................................................................11
2.4.1 Product Support....................................................................................................................12
2.4.2 Applications & Tools .............................................................................................................13
2.4.3 Multimedia-based Demonstration Systems ..........................................................................14
2.4.4 Compatibility Tool .................................................................................................................14
2.4.5 Services ................................................................................................................................15
2.4.6 Marketing Information ...........................................................................................................16
2.5 Functions of the Industry Online Support Internet Portal .....................................................17
2.5.1 Search...................................................................................................................................17
2.5.2 mySupport.............................................................................................................................18
2.5.3 My Documentation Manager.................................................................................................18
2.5.4 Online Support App (for Apple and Android Smart Phones) ................................................20
2.6 Communication in the Industry Online Support Internet Portal ............................................21
2.7 Checkpoint ............................................................................................................................23
Programming Instructions for creating driver blocks and with the title "SIMATIC
Programming Instructions Driver Blocks" can be ordered separately. These
Programming Instructions help the advanced SIMATIC PCS 7 user to create system-
conform driver blocks, which can be placed like standard blocks on system plans and
automatically parameterized and interconnected in HW Config.
ATTENTION
Each of the PCS 7 related products come with product-specific information in the
form of readme files.
Readme files contain information which is not included in manuals due to the degree
of topicality.
The information given in Readme files takes precedence over all the PCS 7 manuals.
pcs7-readme.rtf
• Most important Readme file of PCS 7
• Containing information also relevant before PCS 7 installation:
− Licensing of software to be installed
− Hardware pre-requisites and compatibles
− Software requirements regarding the operating system or system settings and the
software to be installed
− Compatibility to 3rd party products (software)
− Required installation steps/ required upgrade steps
− Basic information for update of PCS 7 projects
− Notes on usage of the product
− Summary of changes compared to the former product version
pcs7sysdocu-readme.pdf
• Contains information and additions to the manuals of the PCS 7 system
documentation with higher topicality due to the deadline for generation of electronic
manuals.
• Known misprints in delivered manuals are cleared here.
pcs7new.pdf
• “What’s new in PCS 7?” contains an extract of all new features and changes in the
current PCS 7 version.
• Summarized information given in first section “What’s new” in each product /
operation manual.
You can download the documents on the website of SIEMENS Industry Automation and
Drives Technologies Service & Support, product support. Search for “Compendium” as
shown in the figure below.
Link to supplier
The manual PCS 7 on Tour can be ordered via the Siemens Sales Support Process
Automation I IA AS S SUP PA. Please contact your local Siemens promoter or sales
department.
The manual is in the following languages available:
German, English, Spanish, Portuguese, French (coming soon)
Navigate in the
product tree to
SIMATIC PCS 7
Catalog ST PCS 7.1, Add-ons for the SIMATIC PCS 7 Process Control System
Many supplementary add-on products for SIMATIC PCS 7 have been developed by
Siemens as well as by external partners. These software packages and hardware
components authorized by the system manufacturer enable cost effective
implementation of SIMATIC PCS 7 for special automation tasks.
Catalog ST PCS 7.2, Migration solutions for the SIMATIC PCS 7 process control system.
The migration of own process control systems to SIMATIC PCS 7 is a matter of course
for Siemens, and a significant component of the continued supplier/ customer
relationship. Siemens is additionally able to offer migration solutions for process control
systems from other vendors.
Guided Tour
You are here for the first time or you would like to get to know all functions and
possibilities? Then you are right at the "Guided Tour":
http://support.automation.siemens.com/support/GuidedTours/start.htm?lang=en
Overview
The Online Support offers you a comprehensive information system for all Industry
Automation and Drive Technologies Service & Support subjects at any time.
Do you wish to extend your Know How, read up on services or exchange experiences
with users of automation systems?
Convenient functions in the online support lead you directly to the desired information.
Online Support always the first step - around the clock on 365 days of the year.
http://support.automation.siemens.com
Product tree
also for 3rd
party products
• Result:
2.4.5 Services
The service covers all areas of the product life cycle. We offer you the appropriate
service - starting from planning a plant up to its modernization and optimization.
Your advantages:
• Clear presentation of all services according to product life cycle
• When using the tree structure, you can find our service offers topic-related
• The index enables an alphabetic search for important service terms
• Always the latest information on the service
http://support.automation.siemens.com/WW/view/en/16604318
http://support.automation.siemens.com/WW/view/en/11774658
• Free Text Search: When searching via free text, the complete Portal will be searched
according to the entered term. The employed search algorithm can automatically see
similar or related terms.
− Product designation
− Order number (MLFB)
− Entry-ID
− General Terms
• Alphabetic Index: When looking for firmly defined terms, the alphabetic index will
support you.
2.5.2 mySupport
To provide a better overview and to make the use easier, all your personal data and
information is summarized in a separate area.
• Creating of new and viewing of existing queries to the Technical Support via Support
Request
• Subscribing to and changing Service & Support Newsletter
• Changing or supplementing personal data (e.g. e-mail address)
• Calling My Documentation Manager to compile personal documentation
• Personal functions from the Technical Forum (e.g. personal messages)
• Setting up of navigation filters – with myTree
To the free registration:
Function
In the My Documentation Manager you may define a customized structure for the
storage and management of your compiled documents. The following steps provide you
with a quick and easy introduction to the My Documentation Manager.
Main steps
1. Select a document - All manuals available in the Product Support section and
marked as "Manuals/Operating Instructions, configurable" are suitable for
processing with My Documentation Manager. You can find these manuals also by
using the search function and selecting "Manuals/Operating Instructions ->
Configurable documents only".
2. Retrieve a document in the My Documentation Manager - Click the "Display and
Configure" link in the relevant manual entry to open the My Documentation Manager
and to add this manual to the "Last visited" selection list.
3. Create/extend your own library - In the middle part of the My Documentation
Manager (my library) you may create your own folders (by clicking this area with
your right mouse button) or delete and rename previous folders. These folders
correspond to the relevant chapters of your individual compilation (library).
4. Transfer selected manuals into your individual compilation - Now you can "drag &
drop" (click and drop with your mouse) selected manuals from the "last visited" list
to your own folder tree (library).
5. Export - In your individual library, you may export selected manuals in different
formats (PDF, XML, RTF) and to any desired destination. To do so, click the
function "Create generation output" with your right mouse button at the relevant
position in your library.
Link
https://www.automation.siemens.com/mdm/default.aspx?GuiLang=en
User registration is required to use the full range of functionality offered by the
Automation and Drives Web.
2.5.4 Online Support App (for Apple and Android Smart Phones)
The Online Support App enables you to access more than 300,000 documents on all
Siemens Industry products, anywhere and anytime. No matter whether you face
problems implementing your project, need help with troubleshooting, want to expand
your facility or newly plan one.
You have access to FAQs, the latest firmware or software version downloads, manuals,
certificates, characteristic curves, application examples and tools, product news (e.g.
announcement of new products), information on successor type in case of product
phase-outs.
To the overview:
http://support.automation.siemens.com/WW/view/en/56297976
Technical Forum
To complete the comprehensive range we support the direct dialog between specialists.
With the Technical forum you get an attractive discussion platform in German and
English where users and experts can exchange their experience.
https://www.automation.siemens.com/WW/forum
Support Request
You can send your request directly from the Internet to a specialist in Technical Support.
http://support.automation.siemens.com/WW/view/en/56293856
What does the “Support Request” offer you?
• Solution suggestions from the Online Support before sending your request.
• Adoption of your personal data already provided in the personalization "mySupport".
• Your request is directly forwarded to the specialist in charge.
What are your benefits?
• You can solve your problems even easier using the Knowledge Base on the Internet.
• You can use the "Support Request" around the clock, every day of the year.
• As all relevant data are forwarded directly to the specialist, you will be contacted
even quicker when you make use of the Support Request.
Newsletter
The newsletters inform you precisely of the components and platforms you are
interested in - to the point and free of commercials. Determine for yourself what you
want to be informed about.
Using the newsletter requires a registration under mySupport.
http://support.automation.siemens.com/WW/view/en/38716811
Twitter
Starting immediately, information on Siemens industrial products and services is also
available via Twitter.
http://support.automation.siemens.com/WW/view/en/56294136
2.7 Checkpoint
Content 3
3 Requirements and functional process description .............................................. 3
3.1 Learning target........................................................................................................................3
3.2 In brief .....................................................................................................................................3
3.3 Process diagram .....................................................................................................................4
3.4 Functional process description ...............................................................................................5
3.5 Connection to a Signal box.....................................................................................................6
3.5.1 Overview .................................................................................................................................6
3.5.2 Layout .....................................................................................................................................7
3.5.3 Function diagram of digital signals .........................................................................................8
3.5.4 Function diagram of analog signals........................................................................................8
3.6 Checkpoint ..............................................................................................................................9
3.2 In brief
Johnsson & Co, a company supplying products for the food industry, wants to
modernize their plant to increase the production to 230 percent in the next 5 years.
Storage Shipping
Office and
Control Building
Johnsson
& Co
In three stages, with two years between them, the automation system is to be updated
using a scalable decentralized control system.
This training
The first stage is to cover the grey part in the plant overview above.
Later…
The other parts of the plant are covered in stage 2 and 3.
(V131) flow
(V121)
(V111)
Material
M110 M120 M130
LT114 LT124 LT134 Tanks
6000 kg 6000 kg 4000 kg
LT414 LT424
12000 kg 18000 kg Buffer
B410 B420 Tanks
(V422)
(V412) flow
Operation
• Each of the individual devices in the process is to be monitored and operated
manually by the decentralized control system.
• There must be an automatic mode to optimize the production quantities.
• Every reactor is to be used up to 90 percent of its capacity.
The mixture of the components in percentages and the heating temperature is to be
entered in the system and is valid for the entire production using all reactors.
AS
DI16 AI8
Industrial
Ethernet
S7-400
DO16 AO4
ET 200M
PN DP
Process
signals
Signal Box
Wiring has been made up to the front connector of the IO modules on the DP ET 200M
rack, containing both a digital and analog input and output module.
The signals can be used in various situations in later tasks.
3.5.2 Layout
The components of the Signal Box have been assigned short names. Initially these
names will be used as the so called “symbolic names”. The names may be modified for
specific use of the signals in later tasks.
Emergency
H1 S1
Off
H2 S2
Display 1 Display 2
H3 S3
spare
H1 H2 H3 H4
T1 T2 T3 T4 S1 S2 S3 S4
Relay
Emergency
Off
spare
I 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7
Digital Input – Input address # (DP ET 200M slot 4)
Display 1 Display 2
#0 #1 #2 #3 #4 #5 #6 #7
IW 512 IW 514 IW 516 IW 516
Analog Input – Input address # (DP ET 200M slot 6)
3.6 Checkpoint
Content 5
5 Project setup............................................................................................................ 3
5.1 Learning targets ......................................................................................................................3
5.2 Overview about configuration steps for AS and OS ...............................................................3
5.3 SIMATIC PCS 7 Engineering Toolset.....................................................................................4
5.4 What is a Multiproject? ...........................................................................................................5
5.4.1 Projects and libraries ..............................................................................................................5
5.4.2 Different types of stations .......................................................................................................5
5.4.3 Different types of libraries .......................................................................................................6
5.4.4 Multiproject..............................................................................................................................7
5.4.5 Master Data Library ................................................................................................................8
5.5 Initial settings of SIMATIC Manager .......................................................................................9
5.6 Setting up a multiproject .......................................................................................................10
5.6.1 Organizing a multiproject ......................................................................................................10
5.6.2 Setting up the projects “Step by Step“..................................................................................10
5.6.3 Setting up the project with the „New Project“ Wizard ...........................................................14
5.6.4 Expansion of Multiprojects....................................................................................................16
5.6.5 Multiproject-wide information to be synchronized.................................................................18
5.7 Language for Display Devices ..............................................................................................19
5.8 Archiving and retrieving a project, library or multi project.....................................................20
5.9 Task and checkpoint.............................................................................................................21
5 Project setup
5.1 Learning targets
Create hardware resources:SIMATIC S7-400 Stations Configure hardware (SIMATIC Manager, Component
(SIMATIC Manager, Component View) View)
Configure hardware (SIMATIC Manager, Component Basic settings in WinCC Explorer and OS Project Editor
View)
Assign hardware resources (SIMATIC Manager) Edit individual objects (WinCC Explorer, Graphics
Designer)
Configure Software (CFC, SFC, SCL, messages, Compile and Downwload OS (SIMATIC Manager)
archive tags)
One way
Using the SIMATIC PCS7 Engineering Toolset is the only way to program and configure
a SIMATIC PCS 7 configuration.
The figure below gives an overview of the main components of the toolset.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 7.7 for more information about
the PCS 7 applications and how they are used.
In common
Projects and libraries have some in common. They are:
• an organized amount of data
• stored in a particular folder including files and lower level folders
• managed by SIMATIC Manager and its related tools
Different
Differences between projects and libraries:
• Projects contain the data for at least one station (application specific programmable /
configurable device). Projects contain always hardware-related data.
• Libraries contain predefined functions for being used in projects. These data are
always only software related.
OS OS
(PC with WinCC) (PC with WinCC) Operator System ( OS )
Industrial Ethernet
System (Plant) Bus
AS AS
(S7-417-4) (S7 414-3) Controller ( AS )
Stations
PROFIBUS-DP
Field Bus
Sensors and
actuators
The functions available for creating S7 programs in a library are the same as for
projects, with the exception of debugging.
Libraries are structured in a hierarchical fashion in the same way as projects:
• Libraries can contain S7 programs.
• An S7 program can contain exactly one "Blocks" folder, one "Charts" folder, and one
"Symbols" object (symbol table).
• The "Blocks" folder contains the blocks which can be downloaded to the S7 CPU.
• The "Source Files" folder contains the source files for the programs created in the
different programming languages.
• The "Charts" folder contains the CFC charts.
PCS 7 Library
The PCS 7 (Standard) Library has its final update up to V7.1.3. It is not part of the
general setup of PCS 7 V8.0 and later. For mixed applications the library is to be
installed afterwards.
5.4.4 Multiproject
For configuring SIMATIC PCS 7, always use a multiproject. It binds several projects and
libraries together:
Library X
Project B
Project A
Multiproject
Library Y Library Z
Multiproject
A PCS 7 multiproject consists as minimum of only one project and one library (master
data library), but it can also include more than one project and several libraries.
The SIMATIC Manager shows all elements of a multiproject in a tree view:
Multiproject
Project
AS Station
S7-Program
Chart folder
Project library
(green book)
1
2
1. Open the desired PCS 7 library (in this example the APL).
2. Activate the detail view to get displayed the symbolic names and other details of the
blocks in the library.
3. Copy all required blocks from all libraries used for the configuration to the block
folder of the master data library. Make sure to also copy the blocks that are called
as a multi-instance by other blocks.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.7 for more details
Message
Wizards numbers
Storage
location
Language Archiving
PCS 7 V8.0
Project specific setup Each individual project contains only one AS and one OS, or all AS
and OS which a project engineer is meant to edit.
ES
Multiproject
Project 01 Project 99 Master Data
Library
AS ES/OS AS
Station granular setup As opposed to the project-specific setup, all AS and OS are filed
separately (granular) in an individual project.
ES
Multiproject
Project 1 Project 2 Project 3 Master Data
Library
AS OS ES
Distributed Engineering
With the use of several projects on different computers as a distributed engineering
system, several persons can work independently of each other on their project.
PCS 7 offers the appropriate system functions for managing, distributing and merging
the projects. The projects in this scenario can remain in the multiproject network or can
be checked out for the duration of the editing.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 6.3 for more details
3 2
1. Select the appropriate tab to create a new user project, library or multiproject.
2. When you select the "User Projects", "Libraries" or "Multiprojects" tab, the correct
object type is prepared by default. You can also change the type of the new object
in the drop-down list. The new object will then be automatically added to the tabs in
the correct order.
3. Enter the name of the new project, library or multiproject here. Do not use an
extended name. You can also select an existing name from the list above and
change it as necessary.
4. The path in which the project or library will be created is displayed here.
Again the “New Project” dialog is displayed (without the “Multiproject” tab).
An empty user project is created in the multiproject, which you can later add stations to
The typical use case for „New project“ or „Add to Multiproject“ dialogs is the integration
of additional AS/ ES/ OS subprojects into a basic multiproject, which was created using
the PCS 7 „New project“ wizard.
Empty AS station, to be
configured by HW config
Furthermore, each project needs network information, provided by subnet objects. The
network configuration is using the tools HW config and NetPro.
Subnet objects are required for configuration data of the Plant bus and the Field bus,
Terminal bus information is not configured in the SIMATIC Manager.
2. Select the CPU bundle that you are using in your project.
Detailed information about the selected CPU bundle is displayed beneath the list. In
case your CPU is not listed there, you can adjust the configuration data in the HW-
config later.
Use the button „Find“ to search for a desired MLFB number.
The „Number of communication modules“ selects the CPs for Profibus DP.
5. After clicking the button “Finish” the multiproject is created and contains one project
as shown in the preview, containing one AS, one OS (if selected) and one master
data library. The wizard creates the required project structure ready to continue with
the engineering.
The subnet for Industrial Ethernet is not created by the wizard. You have to insert it
manually.
From the project icons context menu:
Insert new Object -> Industrial Ethernet
If AS station has
not to be inserted
Station selection
similar to the „New
Project“ wizard
OS type selection
similar to the „New
Project“ wizard
2 3
The language for the display devices has to be selected in a very early project
engineering phase.
Messages and texts will be transferred to the OS in selected languages during OS
compilation.
The dialog window above shows the default setting.
Archiving
Retrieving
A new directory is created in the selected directory and the complete project directory
structure of the unpacked multiproject now appears on the same level below this
directory.
Task: Multiproject
Goal
A Multiproject as the starting point for implementing the training application.
Checkpoint
Content 6
6. Station and Network configuration........................................................................ 3
6.1 Station and network configuration – Principles and relationships ..........................................3
6.1.1 The “classic” way in STEP 7...................................................................................................3
6.1.2 The PCS 7 “fashioned” way....................................................................................................4
6.1.3 Extension of ES by a single OS..............................................................................................8
6.2 PC Station Configuration ......................................................................................................10
6.2.1 PC Station Configuration on the PC .....................................................................................10
6.2.2 PC Station Configuration in the project ................................................................................11
6.2.3 Function “PLC Configure” .....................................................................................................13
6.2.4 Task and checkpoint.............................................................................................................14
6.3 AS Station Configuration in the project.................................................................................15
6.3.1 Basic Steps ...........................................................................................................................15
6.3.2 Inserting a SIMATIC S7-400 Station ....................................................................................15
6.3.3 Editing the station configuration of a SIMATIC S7-400 Station............................................16
6.3.4 Configuring the CPU.............................................................................................................20
6.3.5 Configuring the Ethernet interface ........................................................................................22
6.3.6 Configuring the DP master ...................................................................................................23
6.3.7 Configuring the DP slaves ....................................................................................................28
6.3.8 The final Download ...............................................................................................................31
6.3.9 HW Config - Diagnostics.......................................................................................................32
6.3.10 Task and checkpoint.............................................................................................................33
6.3.11 Comparing PROFIBUS DP and PROFINET IO....................................................................34
6.3.12 Configuring the IO Controller ................................................................................................35
6.3.13 Configuring the IO Devices...................................................................................................37
IE PG/PC Interface:
e.g. MPI or
DP
ISO Industrial Ethernet
Image 1:1
Project ES
Station Configurator
AS ES „virtual“ rack
real existing CP
Plant bus, IE
Configuration of stations:
• Make an “image” 1:1 to the real existing hardware of every station in the project.
• Configuration conforming to slots:
AS hardware is structured by slots in a rack. Each slot is allocated by a hardware
component like power supply, CPU, CP…
Properties of the component in a slot include type, addresses…
Since there is no real existing slot orientation of components in a PC station, a structure
with slots similar to an AS rack is simulated by the Station Configurator.
From this follows, that the PC hardware has to be described in 2 different localizations:
• Hardware of the station, represented by the Station Configurator of the PC station
• Hardware description in the HW config of the PCS 7 project
PG/PC Interface
The interaction of your PC Station with various bus systems for networking of
automation systems (e.g., MPI bus, Industrial Ethernet,…) requires specialized
interfaces. Each of your integrated and installed interfaces is represented by an
interface parameter assignment.
“PC internal”
"PC internal" is a centrally configurable interface, which can be loaded with project-
specific settings for all stations on the plant bus. The settings are made on the ES in the
PCS 7 multiproject and downloaded from the ES.
As soon as "PC internal" is activated, the network adapter begins working in
"configured mode", otherwise it is in "PG mode".
Field-PG
MPI
PG/PC-interface:
target system DIRECT Selection of a „driver-instance“
(CPU) Download
for STEP 7 communication (S7ONLINE)
3COM ISO
ES/PC station
Working in „Configured mode“
MPI
PG/PC-interface: Download
INDIRECT Selection of „driver-instance“
CP1613 ISO
Target system?
Own or other PC „virtual rack“
or AS-CPU?? (Station Configurator)
PC station
configuration
Activating PC internal
Activate the “PC internal” interface via the Dialog “Set PG/PC Interface” in SIMATIC
Manager:
Configuration Console
All communication modules, on this station available for PCS 7, are listed here.
All access point and their assignments are listed here and can be changed
See [102] PCS 7 V8.0 PC Configuration and Authorization - 12_2011, 4.7.7 for more
details about use of SIMATIC NET configuration console as possible alternative
procedure.
Download to ES
ES
AS
„virtual“ interface:
PC internal (local)
PG/PC Interface
Plant bus, IE
The central ES has to be loaded at first with all information to get the capacity for
download to all other station (AS and OS) involved in the PCS 7 project.
The configuration data are checked during the download. Both the configuration in the
PCS 7 project and the configuration in the Station Configurator have to contain the
same information as precondition for a successful download.
Status information about "download successful / unsuccessful" is displayed in the
Station Configuration Editor.
After successful download, the ES has access to the IE network, and within access to
all connected stations:
AS and PC stations (e.g. server) can be reached and loaded via ES-CP and “its
network".
The ES got this information by configuration data of the PCS 7 project!
Download to AS
ES
AS „virtual“ interface:
PC internal (local)
PG/PC Interface
Several WinCC Applications are available being specialized for different types of PC
stations (e.g. OS, OS server or client, Batch…)
An example for single OS stations is the application WinCC Application.
If you want to use the ES also as OS Single Station, then you have to extend the PC
configuration of ES by a WinCC application for single OS stations:
AS OS ES
Plant bus, IE
Image 1:1
PCS 7 Project, administrated in the Engineering System
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.10 for more details
Rename the PC station so that its name matches that of the computer.
To do this, you can activate the "Computer name identical to PC station name"
option, which means you do not have to make as many entries and the potential for
typing errors is reduced.
A yellow arrow then appears on the PC station icon in the SIMATIC Manager to indicate
the capability of the ES to establish a connection to the plant bus via the "PC internal"
interface.
After renaming its configuration is to be opened:
6 4
7 5
Main components:
1. CPs for high performance applications:
− higher number of communication partners;
− redundant connections
− time synchronization
2. standard network adapter
3. standard object for single or multi user system
4. object for OS Client
5. object for referenced OS client
6. object for central archive server
7. (stby) stands for redundant partner
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.5 for more details
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.4.10 for more details
Goal
A configured SIMATIC PC Station, both in the project and the Station Configurator.
Checkpoint
Two questions …
• What additional components can
be added in the Station
Configuration Editor?
• What makes these components to
be listed here?
Opening HW Config
1. In this “empty“ station, all components are to be inserted using the HW config tool
2. Alternative: After creating a multiproject with the wizard, a project with a
preconfigured S7-400 is available then.
Adjusting is always possible using HW Config.
The configuration of an AS station must contain all real placed components and
modules:
User interface
1 2 3
5
6
Main elements:
1. Switching between Offline and Online window
From the HW Config you can read information from modules directly (e.g. for
diagnostics)
2. Save and Compile
After configuration of the components, the data can be saved and compiled.
3. Download to station
After compilation the data can be downloaded to the station.
4. Station window
This area is filled with racks as the main parts of a station. Also objects for
distributed IO and field devices and the required master systems (networks for IO).
5. Window for hardware catalog
To select the required components: e.g. racks, modules, interface modules.
6. Object for distributed IO device
7. Configuration table
Represents the racks and their modules, offers a certain number of slots in the
same way the real racks do.
1
2
Main areas
1. Find field
Entrance possibilities:
− In the Find field you can enter any text, catalog info or order number.
Not case sensitive
− wildcards (*, ?,….) are supported
− you can also enter a part of an key word (e.g. 331)
2. Using the pull down list “Profile“ you can select several catalog profiles.
You can adapt the profiles to your needs.
3. Object for the required module (in this case with a firmware version).
4. Information of the selected component
Versions
Many modules are available in different versions (Firmware versions).
During operation of a plant it may happen that you are forced to replace an older version
of a module by a new one with a higher version. In that case the old version remains in
the HW Config and the new module is placed.
Download
When the consistency check is error free, the required system blocks are created,
without any user interference. After that they can be downloaded into the AS.
The AS contains all the required information to test if the real configuration fits to the by
HW Config created configuration.
I will be hidden for the user that many additional features are activated, so that in the
events of failures the related messages and alarms will be generated.
To download the HW Config data into the AS, the entire communication path from the
ES PC up to the Ethernet CP in the AS must be configured properly.
For the initial download into the AS, a number of configuration steps are to be done
using the tool NetPro. It will be explained in a later stage.
Startup properties
In the Startup properties the most important is the activated option “Warm restart“.
This causes the actual process values not to be reset to the initial values.
It is a default setting for PCS 7 that is not to be changed!
Please note, that a PCS 7 AS is always to be equipped with a buffer battery and a
RAM memory card.
1 2 3
1. List of OBs assigned to cyclic interrupts (grayed out = not available fort his CPU)
2. Interval of the cyclic interrupt
3. Assigned Process image partition (PIP)
Organization blocks (OBs) form the interface between the CPU operating system and
the user program. OBs are called by the operating system and control the cyclic and
acyclic program sequence, the startup behavior of the automation system and the
processing of faults.
Start events triggering some groups of OBs are called interrupts.
Cyclic interrupts do their job with predefined time interval. They are represented by
OB30 – OB38.
OBs also control the sequence of processing the individual program blocks. The
processing of one OB can be interrupted by another OB (determined by the priority).
Before any program run, the CPU loads the signal values of the input modules into a
memory, the Process Image Inputs (PII). Because of this PII, the signal values will be
constant during the program run. During the execution of the user program, output
values are assigned to the Process Image Outputs (PIQ). At the end of the program run,
the values of the PIQ are transferred to the output modules.
To control the update of the PII at the start of a program run triggered by a cyclic
interrupt, and the update of the PIQ at the end of a program run, the so called Process
Image Partitions (PIP) are assigned to the cyclic interrupts in use.
In process automation with PCS 7, the Cyclic Interrupts (OB30-OB38) are to be used
with an assignment to a Process Image Partition.
The Process Image Partitions are required at the configuration of the signal modules.
Automation functions are “inserted” into the run sequence of an (Cyclic Interrupt) OB.
1
2
4
5
1. Device name is not relevant when this module is used for the plant bus only.
2. ISO connections
3. TCP connections, ISO over TCP connections, UDP connections
4. Creating a new subnet object
5. List of available subnet objects
The connection to the plant bus is made by selection of the related subnet object in the
properties of the Ethernet CP.
When a multiproject has been created by the wizard, the project does not contain a
subnet object for Industrial Ethernet. The required subnet can be created in the
properties of the Ethernet interface.
On a with ISO protocol running plant bus, every MAC address can be assigned only
once.
Objects
3 4
1
1. Internal Profibus interface of the CPU, default set with a DP Master system.
2. External Profibus interface: is realized by the CP 443-5 Ext.
The module can be placed to have additional DP master systems.
3. Subnet: object for a Profibus net. In its Properties you can adjust the transmission
rate and the profile. Always assign a useful name (default: PROFIBUS(1)).
4. DP master system: All slaves assigned to a master form together with the master a
master system. A master system is a part of a PROFIBUS subnet.
5. Object for a Profibus slave. Distributed IO devices or field devices are assigned a
master system as a slave object. In case of a ET200M it can be the IM 153-2, for
connecting to the Profibus.
Every node (master and slave) is assigned a Profibus address (0…126)
Orphaned master systems are put into a list that will appear when you want to assign a
master system to a Profibus interface. In that way you can connect an existing master
system, including the included configuration of distributed IO to another Profibus
interface.
Connecting with Profibus subnet and assigning the address to the interface
1
2
3
4 5
For assigning Profibus addresses, only the for that subnet available addresses can be
used.
A Profibus interface must not be assigned as a master system, but can still be
connected to a subnet. I that case the Profibus address is still in use.
Independent from separating the master system, you must disconnect the Profibus
interface from the subnet, before the address can be used by another node (another
Profibus interface).
With the setting DPV1 also DP slaves, not supporting DPV1 can be connected and
operated.
See [403] Source name, for more details on configuring PROFIBUS hardware.
1
2
3
7
5
For use in PCS 7 the racks of ET200M should be equipped with active bus modules.
2
1
Diagnostics enabled
Modules with diagnostic recognize internal and external module faults and generate
diagnostic alarms.
With the enabling of the diagnostic interrupt, the diagnostic alarms will be generated
automatically through the PCS 7 drivers after an OS compilation.
5 6
2 3
1. Measuring type must fit the Position of Measuring Range Selection Module.
2. Active channels
3. Inactive channels
4. Channel group specific Diagnostics settings
5. Enabling the diagnostic alarms for the entire module
6. Not to be set for PCS 7. This function is covered by the channel drivers.
1 2
5
6 7
1. In the tool bar, click on the Offline <-> Online button. This will switch between the
Offline and Online window, not closing the earlier window. Icons represent states
and modes. To have an impression 4 examples:
2. The CPU Stop and Run mode. Run mode is active now in the window.
3. Mismatch between preset and actual configuration: the configured module does not
exist or a different module type is inserted.
4. Diagnostics not possible: No online connection, or the module does not return
diagnostic information.
5. Fault: module has a fault.
Possible causes: diagnostic interrupt, I/O access error, or error LED detected
More diagnostic information is available after double click on the regarding module. The
Module information window allows to read the diagnostic buffer:
3
1
Goal
A configured SIMATIC S7-400 Station, to be used as the AS in the training application.
Checkpoint
Find out:
• What IO address ranges are in use,
set by HW Config?
• Be sure the address range 100 …
299 is not used, it will be used by
the process simulation.
• If used, please modify the
addresses now !
Address Assignment of
PB-Adr. 0...127 Device Name
Equipment
Stations-Nummer Number allocation Device Number
From several participants, possible only Access to Data of a From several participants, possible
reading Field Equipment reading and writing
Only one priority possible Alarms and Diagnosis Can be differently prioritized
Simple designation of Address/Name of
the device at the project (through
Over DIP-Switch or by Telegram Addressing set up Controller with support from Engineering-
Tool)
Max. 12 Mb/s (Token) Baud rate 100 Mb/s (full duplex, i.e. 200 Mb/s)
Typically Line structure; Tree or Ring
Line, Star, Tree, Ring and mixed
possible with restrictions; terminal Topology configuration possible
resistance at the last participant needed
Addressing
Profinet IO: Simple name designation
Profibus DP: Individual
through Controller with support of
addressing in each station
Engineering System
Before the distributed IO can be used by the central station it must have an address:
• For DP slaves: a number: 0 …126
• For IO devices: a device name
The device name can be assigned in different ways, e.g. by the HW Config tool of
STEP 7.
Initial Steps
5
1
4
6
1
2
1. Select in the catalog: the PROFINET IO tree, the required “family” and the Interface
module.
2. Open the device properties
3. Enter the required name. Press the Ethernet button to continue.
4. Enter the required IP address.
After closing the windows the modular IO device is ready to accept the modules.
1 2
1. Select the IO Device. The Configuration tables lists the possible slots.
2. Open the tree under the placed ET200M interface module.
3. Open the folder representing the type of modules.
4. Place the required module on the proper slot.
1. From SIMATIC Managers Options menu, open the Set PG/PC Interface
dialog window, to change the S7ONLINE access point to TCP/IP on the ES
Ethernet interface in use.
2. Create a physical cable connection from your ES to the unused port of the
PROFINET interface module, to be able to access the IO device.
Then, continue in HW Config:
1 3
5
7
4
Content 7
7 Connection to the process ..................................................................................... 3
7.1 Learning Targets.....................................................................................................................3
7.2 Component View and Plant View ...........................................................................................4
7.2.1 Component View ....................................................................................................................4
7.2.2 Plant View ...............................................................................................................................5
7.2.3 Assignments ...........................................................................................................................5
7.3 Task and Checkpoint ..............................................................................................................6
7.4 Basics for charts and blocks ...................................................................................................7
7.4.1 Device control functions..........................................................................................................7
7.4.2 Charts .....................................................................................................................................9
7.4.3 Catalog for libraries, blocks and charts ................................................................................11
7.4.4 Inserting a block into a chart.................................................................................................13
7.4.5 Block properties ....................................................................................................................14
7.4.6 I/O Properties........................................................................................................................15
7.4.7 Interconnections ...................................................................................................................15
7.4.8 Compile and Download.........................................................................................................16
7.4.9 Test mode .............................................................................................................................19
7.5 Organization blocks ..............................................................................................................20
7.6 Run Sequence ......................................................................................................................22
7.6.1 How to Adapt the Run Sequence .........................................................................................22
7.6.2 Runtime properties ...............................................................................................................24
7.6.3 Optimization of the Run sequence .......................................................................................24
7.6.4 Runtime properties for experts: Activating/Deactivating runtime groups..............................26
7.6.5 Runtime properties for experts: Switching runtime groups on and off during operation ......27
7.7 Different groups of blocks .....................................................................................................28
7.8 Driver Blocks.........................................................................................................................29
7.8.1 General .................................................................................................................................29
7.8.2 Digital Input and output.........................................................................................................30
7.8.3 Analog Input and Output.......................................................................................................30
7.8.4 Module drivers ......................................................................................................................31
7.8.5 Process Image Partitions......................................................................................................33
7.8.6 Symbolic Addresses .............................................................................................................35
7.8.7 Pcs7DiIn in brief....................................................................................................................36
7.8.8 Pcs7AnIn in brief...................................................................................................................37
7.9 Trend Display........................................................................................................................39
7.10 Dynamic Display ...................................................................................................................40
7.11 Task and Checkpoint ............................................................................................................40
7.12 Connection to the Process simulation in this training ...........................................................41
7.12.1 Method in this training...........................................................................................................41
7.12.2 Overview ...............................................................................................................................42
7.12.3 Digital Inputs .........................................................................................................................43
7.12.4 Digital Outputs ......................................................................................................................44
SIMATIC PCS 7 – Connection to the process
Training Documentation, V1.00, ST-PCS7SYS 7-1
PCS 7 System Course
1
4
2
5
1. Stations
2. Subnet objects: only renaming is possible here.
3. Shared declarations contain the elements Enumerations, Units and Equipment
Properties. They can be used by several tools and editors.
4. S7 Program folder: it is recommended to assign a unique and proper name to
prevent mistakes when identifying the station using this name. Blanks are not
permitted.
5. Symbol table: for every S7 Program (every CPU, every AS) there exists a unique
symbol table, for storing the relation between Symbolic names and addresses or
block types.
Stations and components are to be inserted first before data can be edited. Subnet
object are inserted here only, they are edited by HW Config and NetPro.
7.2.3 Assignments
Configurable objects like charts and pictures are created in the Plant View window of
the project. An assignment to a station in the Component View will organize its real
target station (AS or OS).
Goal
The starting point of the Plant Hierarchy
Checkpoint
Compare …
• the arrangement of folders on your
ES to what is listed in this task.
1 3
4 5
The control of motors, valves and other process devices (process tags) in process
control systems is done by device control functions.
They offer the control, monitoring, operating from devices by supplying the connection
to control devices and their feedback. They also include parameter setting and
diagnosing faults.
Blocks
In modular designed user applications in process control software, device control
functions are realized by technological blocks. The inner side of these blocks is hidden
for the users.
DB x DB y DB z
7.4.2 Charts
Charts are the placeholders of blocks. Each chart has a name that is unique within a
CPU. Charts will hold the blocks using a graphical representation in the CFC editor. In
general a chart contains several block, which are connected to each other.
Overview
Sheets
sheet 1 sheet 4
sheet 2 sheet 5
chart partitions,
initially one,
can be A … Z
sheet 3 sheet 6
• After inserting a new chart into the Charts folder, and opening, the chart starts with
one partition, containing 6 sheets.
• You can switch between the sheet view and overview by clicking the button in the
tool bar, or double click in a sheet (on the white background).
• As an alternative, you can use the pull down list.
• The sheet bars are used for references of connections outside of the sheet.
• Use the text box to enter a chart comment. You can position a text box in the chart
just like blocks.
1 3 5 7 9
2 4 6 8
Using the toolbar button Catalog, you can toggle the display of the catalog.
3 tabs
3 tabs at the bottom separate the catalog into 3 areas:
1 2 3 4
1. Libraries, where preinstalled and later added libraries can be displayed. In this view
the block folder of the library shows its content. When each block is assigned to a
family, blue books represent the families. Libraries contain blocks of the type FB
and FC. In general blocks of the PCS 7 libraries are used.
2. A library may contain a subfolder “Templates”, displaying the available templates:
predefined charts for control functions.
3. Blocks, initially containing a series of blue books, representing the so called Basic
Operations of CFC. They origin from the use of CFC for PLC programming. In
general the content is not used for PCS 7.
During the progress of the configuration of an AS, more blue books will appear
here, containing the block types that are used in the AS charts, grouped into
families.
The folder at the bottom of the list (in this picture “AS08”) will contain the same
series of blocks that has been copied into the blocks folder of that AS because of
the use in the charts.
4. Charts, listing the charts present in the charts folder of the AS (not the system
charts). The opened blue folder represents the active chart in the CFC editor.
Templates
Templates are predefined charts for control functions. They are available in the chart
folder (called “Templates”) of the PCS 7 library.
See [302] PCS 7 CFC for SIMATIC S7 - Function Manual - 04_2012, 7.2.2 for more
details
Block
1 header
2
4
3
Drag
You can drag blocks from the catalog (library) into a chart. The installed blocks are
assigned to the OB where the Runtime Group of the chart belongs to (this example:
OB35).
1. Block name (name of a block instance): CFC assigns a number as a name to a
block instance when it appears in a chart. The name should be changed using the
Block Properties dialog window.
The name has a maximum length of 16 characters and is displayed in the block
header. Illegal characters: / \ ." %.
Remember when assigning names that the variable name must not be longer than
128 characters for transfer to the OS. This includes not only the block name but also
hierarchy path, chart name, separator and I/O names.
2. Name of the block type: This name cannot be changed in the CFC Editor.
3. Block comment: The comment, a user-specific text, appears in the block header.
The block header can display up to 14 characters of comment. Small blocks do not
display the comment.
4. Predecessor for blocks: One block per chart will have a light green colored
Runtime properties area in the block header (instead of dark green). This indicated
the block is de predecessor block. A new inserted block for this chart will be
inserted behind it in the run sequence.
General
1
1. After a double click in the block header, the Properties dialog window appears, with
the General tab opened.
2. The name field is preset by just a number. Usually it is replaced by a more useful
name.
3. The comment field is preset by a brief block description. It can be changed.
4. Some areas in this dialog window may not be valid for a block type. The objects are
grayed out then.
I/Os
A second tab lists the properties of the individual inputs and output:
1
2
1. Inputs of a block
2. Outputs of a block
3. Several settings, initially with their default values. White fields can be changed.
1 2
1. After a double click on a block input field, the Properties dialog window of the input
will appear. When an input has been designed as a structure, first the Select
Structure Element window appears.
2. The I/O Properties dialog window is displayed.
3. The main field is the Value field. When there is no connection configured to this
input, a value can be assigned.
Other settings are explained later.
7.4.7 Interconnections
For transferring a value from a block output to a block input, an interconnection can be
configured.
In general:
• To make an interconnection, you can click at the output and then at the input (or in
opposite order).
• Alternative you can drag from the output to the input (or in opposite order).
• An output may have several connections to several inputs.
• An input can have only one connection to an output.
If interconnected block I/Os are made invisible, this is shown in the instance header
using a cyan triangle.
Block library
Compilation
S7 User Programm
Machine code
Compile
1. The Compilation process converts the functions in the charts into blocks, and
stores them in the offline blocks folder.
2. With the Scope, you select if the program is to be compiled entirely (only option for
the first time) or with changes only (compared to an earlier compilation).
Download
1
2
3 4
If you want to ensure that your program retains its ability to download changes, you
should generate a backup copy after each completed download.
See [302] PCS 7 CFC for SIMATIC S7 - Function Manual - 04_2012, 11.3 and 11.4
for more details about the system support for avoiding causes of CPU STOP
3
4
You can also toggle the Watched status of a block I/O by “Ctrl + click”.
Tasks
Our main group of OBs is the OB30s: OB30 … OB38.
They represent cyclic execution (on a regular time base).
By assigning PCS 7 blocks to these Cyclic Interrupt OBs (settings for a Runtime group),
a designed time interval is achieved.
Startup behavior
In a warm restart, execution of the program restarts at the beginning of the program with
a "basic setting" of the system data and user address areas. Non-retentive timers,
counters, and memory bits are reset. All data blocks and their contents are retained.
ATTENTION!
Warm restart = Default setting for PCS 7 and normal applications
In some situations, the block behavior at startup must differ from the normal behavior. It
may e.g. be required to suppress alarm for a number of cycles after startup.
In that case, a block must additionally be assigned to a startup OB (OB100). Due to
settings on the level of block attributes, this kind of blocks will be installed in OB100 at
creation.
When you restart (warm restart) an S7-400 (for example by changing the mode selector
from STOP to RUN or by turning the power ON) organization block OB100 is processed
before cyclic program execution begins (OB 32 - OB 38). As default, all the PCS 7
blocks that have a special startup behavior are installed in OB100.
Task (OB)
Runtime
groups
2
1
3
1. For every chart a Runtime group (blue folder) is created in the Run Sequence,
containing the individual blocks per chart. It is assigned a cyclic OB. This is
important in PCS 7, because it ensures that the channel drivers and technological
blocks will be executed in the same cycle in a run sequence.
2. The green background color represents a pointer, controlling the position (after this
one) for the next new chart.
3. The pointer can be moved using the indicated menu option.
4. Runtime Groups can be moved by dragging, within an OB or to another OB.
Manual
Change the position of the block by dragging to the new position (installs behind the
block you are pointing to):
Automatic
This function is used to optimize the program run sequence according to the data flow in
order to reduce dead times to a minimum during program runtime in the CPU: so based
on connections between blocks. Tasks and runtime groups are optimized separately.
You can select/deselect the check box in order to enable/disable the runtime group for
processing, if it is not interconnected. An interconnection always has priority.
In the detail window of the runtime editor in the column "Inactive", the mode of the
runtime group is displayed.
• The name corresponds with that of the runtime properties field of a block.
• The character "!" means that the relevant runtime group is inactive.
• The character "?" means that the "EN" of the runtime group is interconnected or
accessed by SFC. Therefore the runtime group is not in static process mode (may be
active or inactive).
You can select or deselect the option for the selected runtime group, without initiating
the object properties using the shortcut menu commands:
Switch on Runtime Group and Switch off Runtime Group
7.6.5 Runtime properties for experts: Switching runtime groups on and off
during operation
Indications in the
Indications
CFC editor in
the CFC editor
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.3.9 for more information
how to adapt the run sequence.
ES OS
Plantbus
Signal
Input drivers processing Output drivers
Input drivers Read values from the PII as process feedback, and offer them to outputs
to be read by other blocks inputs for processing.
Signal processing Processing values without users interference.
Monitoring and Controlling Monitoring and Controlling functions, including an interface to the
Operator Station. Block Icons and Faceplates in the OS offer information
about states and modes and allow process operations.
Output drivers Write values to the PIQ as the commands to the process.
Process Images
The Process Image Inputs (PII) and Process Image Outputs (PIQ) form the interface
between the signals from the I/O modules and the user program in the CPU of an AS.
Update
The transfer of values between the I/O modules and the Process Images is controlled
by properties (settings) on the CPU and the I/O modules.
The update of the information should be in the same rate as the signal processing.
ES OS
Plantbus
Chart
PII PIQ
Pcs7DiIn MotL Pcs7DiOu
4 5 6 7
PV_In PV_Out FbkRun Start PV_In PV_Out
8
3
M
2 1
1. The control signal from a channel of the output module is wired to the (control logic
of the) motor.
2. The feedback signal from the (control logic of the) motor is wired to a channel of the
input module.
3. The signals from the input module are transferred to the Process Image for Inputs
(PII), situated on the CPU.
4. The input driver reads the signal from the PII, and brings it into the chart to be
used by control blocks.
5. A control block reads the process value from the input drivers. Its logic will
generate one or more control signals.
6. The output driver reads the control signal from the control block.
7. The output driver writes the control signal to the Process Image for Outputs (PIQ),
situated on the CPU.
8. The control signals are transferred to the output module. The output module
converts them to proper electrical signals.
Process value
to be used by
control blocks
Output
driver
Input
driver
Signal to PIQ
(representing the
output to the process)
Control signal
from control block
Output
driver
ATTENTION!
No changes are allowed to the system charts since these involve system functions
(indicated by "@"). This also applies to changes to the installation in OBs or runtime
groups.
The content of runtime groups, created by the driver generator ("Generate Module
Drivers" @......) are not optimized since the correct order is already set here.
If optimization is executed after creating the module drivers, there is no guarantee
that the runtime groups of the driver blocks are in the order specified by the driver
generator. Therefore the module driver is restarted during the next compilation (the
"Create module driver" check box is activated).
T PIP2
I
AO4
AI8 1
Chart OB32 (1s) 5
5
PIP3
PIP3 Pcs7DiIn VlvL Pcs7DiOu
Pcs7DiIn
DO16
DI16
2
Chart OB33 (0,5s)
OB1
The time sequence diagram above indicates with the same colored arrows as the
picture before, on what moment the transfer is done of the signals from the I/O modules
to and from the Process Images.
ATTENTION!
Each change to the cyclic interrupt time of a CPU requires compilation of the program
and a download with STOP of the CPU.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.9.4.8 for more details
4
3
Simulating signals
The block provides the standard function "Simulating signals".
For more information on the signal status for PCS7 channel blocks, see
[113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.6.9
For more information on simulating signals, see
[113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.2.8
Simulating signals
The block provides the standard function "Simulating signals".
For more information on the signal status for PCS7 channel blocks, see
[113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.6.9
For more information on simulating signals, see
[113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.2.8
7
2
Goal
4 charts containing drivers for the I/O signals of the Signal Box.
Checkpoint
Let us summarize …
• Why have the @(..) charts
appeared in the Charts folder?
• What is the use of it?
Pcs7AnIn
AO
Process Pcs7AnOu
DI
Process value
Motor block
Name Pcs7DiIn
DO
Pcs7DiOu
Johnsson
Process
simulation
Symbol table
The process simulation (running in the CPU as a Function Block) is using the original
Process Image as an interface to the application software in the automation system.
This makes it possible for you to configure functions with channel drivers, similar to real
applications.
The symbol table contains the corresponding signal names for the process values in the
Process Image and their addresses. These addresses should not overlap the addresses
of the real hardware.
4
Johnsson
V311_O Pcs7DiIn VlvL block Pcs7DiOu
V311 3
1 V311_C Pcs7DiIn
2 V311
Process
images
7.12.2 Overview
The number of I/O is based on the devices in the plant.
The following table gives an overview of the number of devices and the related I/O:
number DI DO AI AO
open-close valves 25 50 25
status valves 5 5
motors 11 11 11
level measurement 13 13
temperature measurement 4 4
control valve 4 4 4
total 62 66 36 21 4
Goal
A running process simulation of the Johnsson plant.
After this task the functions for the plant can be configured.
Checkpoint
Consider …
• What is the use of channel driver
blocks, why not just connecting to
the I/O addresses?
Content 8
8 Basics control functions......................................................................................... 3
8.1 Learning targets ......................................................................................................................3
8.2 Introduction to APL blocks ......................................................................................................4
8.2.1 Structures and Signal Status (ST) ..........................................................................................5
8.2.2 Interconnecting structured and elementary parameters (REAL or BOOL).............................8
8.2.3 Inverting interconnected structured input parameters ............................................................9
8.2.4 Feature Parameters..............................................................................................................10
8.2.5 Monitoring the feedbacks......................................................................................................11
8.2.6 Error handling .......................................................................................................................12
8.2.7 Units in the APL ....................................................................................................................13
8.2.8 MonAnl – Monitoring of an analog process tag (Large) .......................................................14
8.2.9 MotL – Motor (Large) ............................................................................................................15
8.2.10 VlvL – Valve (Large) .............................................................................................................18
8.2.11 PIDConL – Continuous PID controller (Large) .....................................................................20
8.2.12 Comparison of Large and Small blocks................................................................................24
8.2.13 Templates .............................................................................................................................24
8.3 Textual interconnections.......................................................................................................26
8.4 Task and Checkpoint ............................................................................................................28
8.5 Alarm blocks in PCS 7 ..........................................................................................................29
8.6 Process Object View.............................................................................................................31
8.6.1 Efficient engineering with the Process Object View .............................................................31
8.6.2 Configuration of the columns in the Process Object View....................................................32
8.6.3 Order of the columns ............................................................................................................33
8.6.4 Defining your own columns...................................................................................................33
8.6.5 Defining the contents of the "Parameters" and "Signals" tab ...............................................34
8.6.6 Setting the "Parameter" or "Signal" attribute for multiple I/O's .............................................35
8.6.7 Dividing a table .....................................................................................................................35
8.6.8 Filtering .................................................................................................................................36
8.6.9 Export and import data using the Process Object View .......................................................37
8.6.10 Copy and Paste in the PO View ...........................................................................................38
8.6.11 Copy and Paste to and from Microsoft Excel .......................................................................38
8.6.12 Open exported Data in Microsoft Excel ................................................................................39
8.6.13 Task and Checkpoint ............................................................................................................39
Diagnostic Drivers
e.g. MOD_1
PCS 7 Advanced
PCS 7 Library V7.1 Process Library V8.0
Only correct
versions are
able to
cooperate!
Technological functions Technological functions
ChnBlocks for PCS 7 V8 Channel Drivers Version 7
Operation and Control Operation and Control
• Because the PCS 7 Standard Library and the PCS 7 APL can be installed either
separately or together, shared blocks are stored in the PCS 7 Basis Library. This
consists largely of driver blocks.
The PCS 7 Library is not available anymore as V8.0 with the release of PCS 7 V8.0.
The PCS 7 Library V7.1.3 is also no longer installed automatically via the frame
setup. It is provided in the directory "Additional Products" on the PCS 7 V8.0 DVD
and can be installed manually by the user if required.
• Only a single interconnection for transfer of process value and signal status is still
required.
In the PCS 7 Standard Library, the signal quality is provided as a quality code along
with the process values. This also had to be connected to the signal.
In the PCS 7 Advanced Process Library this philosophy was implemented
consistently in the form of structures. Almost every connectable parameter of an APL
block is a structure. In this way, the signal status could be carried via
interconnections of the process signals. Only a single interconnection is still required.
The operator can recognize the signal status (i.e.quality) of the signals by means of
the symbols in the APL block icons and APL faceplates.
• Configurable response using the Feature I/O
The PCS7 APL introduces what is known as the feature parameter. This parameter is
available to most blocks as an input feature and allows various block behaviors to be
set. For example, application-specific startup characteristics of motors can be set.
Using the feature parameter, industry and customer-specific requirements can be
implemented flexibly and subsequently adjusted.
Analog value
Binary value
The following figure compares how the Signal Status is implemented in the PCS 7
Standard Library and the PCS 7 APL:
Quality
code
Structure
PCS 7 APL • Value
• Status
The Signal Status Concept (symbol, value status, priority…) fulfils the standard
specification according to PA – Profile PROFIBUS & PROFINET international.
The Signal Status (ST) is displayed in different locations as symbols or hexadecimal
values:
0 16#60 Simulation
6 16#80 Good
In technological blocks, a group status is formed from the input parameters (see
description of the relevant blocks) according to the priority table below.
Note: Priority „0“ is the highest priority, “6” the lowest.
This group status is displayed in the status bar of the faceplate and of the block icon.
ATTENTION!
If “Last valid value” or “substitute value” has been configured at the channel driver
and a channel error occurs, the signal status (ST) receives the value 16#60 instead of
16#00. I.e. the symbol for “Simulation” instead of “bad device-related” is displayed on
the PCS 7 OS.
The Signal Status has a direct effect on the function of the technological block with the
parameters Trip and the three interlocks (Permit, Intlock, Protect). If there is a bad
Signal Status (16#00 or 16#28), it has the same effect like a process value = 0.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.6 for more details on
formation of the Signal Status.
In the APL most blocks have a Feature input parameter. This input can be used to
influence the way in which the block works. The Feature parameter enables the
manufacturer to realize sector-specific customer requirements as well as adjust them
afterwards. Furthermore, function expansions can be integrated retrospectively via this
parameter.
It is a structure which consists of 32 Boolean elements which can be used for setting
various behaviors at the block. For the 32 Boolean elements there are pre-assigned bits
and reserve bits. The reserve bits can be assigned by the manufacturer (Siemens) at a
later point in time.
The configuration of the individual bits of the feature parameter occur by double-clicking
the "Feature" input at the block (offline/online) as displayed above. Normally, the feature
bits should be configured in the Master Data Library in order to achieve consistency in
the multi-project.
Any change of settings on the feature parameter does not influence the block
interface. This allows modifying the block behavior without CPU stop. Advantages of
the reserve bits: Block changes can be loaded without CPU stop. The original block
behavior can further be used.
Monitoring the start-up and stop characteristics for motors or the runtime of valves
Monitoring of the startup characteristics is implemented using the parameter
MonTiDynamic.
The monitoring time specifies the period within which the feedback value, for example,
FbkStart with motors, must be available in response to a control signal. If this is not
the case, the text "Feedback error" is displayed in the standard view of the faceplate. An
error message is generated at the same time.
The block then goes to its neutral position. In the case of motors, this is always the stop
state. With other blocks, this is an neutral position you have specified (SafePos
parameter). The block signals this at the corresponding output parameter of the error
message with 1, for example, with MonDynErr = 1 for motors.
Parameters are set in seconds.
Disabling feedback
You can operate a block without feedback. To do this, set the NoFbkxxx = 1 parameter,
whereby xxx stands for the respective function, for example, NoFbkOpen for the valve.
This means, for example, that you do not have any feedbacks for the opened state of
the valve. Monitoring is thus disabled for this feedback. The feedback at the block is
adjusted according to the control signal.
Error numbers
Most blocks have an output parameter ErrorNum that can be used to output internal
error states of the block as error numbers.
If the block algorithm detects inconsistencies between associated I/Os, an error number
is output that depends on the block type. The close and open commands cannot be
output simultaneously to the valve, for example.
The signal status of the individual signals is not taken into consideration for forming
the group error. The outputs therefore always have the status, 16#80.
The APL-specific procedure for setting the unit for analog signals shall be illustrated at
the example of both blocks “Pcs7AnIn” (channel driver) and “MonAnL” (limit value
block).
The unit is represented by means of an identification number at the input PV_InUnit.
Data type, possible identification numbers see Help on the “MonAnl” block under the
keywords “Functions of MonAnl, select unit”.
Number “1342” for example represents the unit “%”. The input channel driver forwards
the unit of "PV_InUnit" to its output "PV_OutUnit". By interconnection to the
"PV_Unit" connection of the limit block the unit “%” is then displayed in the
visualization of the limit value block.
If PV_Unit input of the “MonAnl” is configured with 0, the unit can also be specified
according to the current method (attribute “S7_unit” of this connection or in the CFC
the “Unit” column of this connection in the Properties table of the “MonAnl”
connections). Not listed units can be used this way.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.13.5 for more
details.
How it works
The MonAnL block is used to monitor an analog process tag and the corresponding
limits. It also monitors the gradient of these signals. The block generates and outputs
corresponding messages if limits are violated or if a signal gradient does not meet
requirements.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.4.1 for more
information about Process value monitoring and 3.3.3 for more information about
Gradient monitoring
Warning times
Warning times for motors can be parameterized at the function block. The output
WarnAct can be used, e.g. to control a signal lamp or a horn. Workers can be warned
about the imminent start of the respective drive with these warning signals.
Warning times can be configured separately for the hand mode and the automatic
mode:
• Hand mode Input parameter WarnTiMan (unit is second)
• Automatic mode Input parameter WarnTiAut (unit is second)
If WarnTiMan or WarnTiAut have been configured with 0, the output WarnAct will not
be activated in the respective mode and therefore no warning will be given then.
The configuration of warning times causes a time delay of the actual start command by
the parameterized warning time.
Idle Time
The input parameter IdleTime is used as waiting time (in seconds) for a restart of the
motor block. If a running motor is switched off, it will only be possible to restart it after
this time has elapsed. This switch-on interlock is active in the hand mode and automatic
mode and with StartForce.
If in the local mode the drive is controlled via the block and not directly via the switching
station, the switch-on interlock is active here as well.
If the value "0" has been parameterized for the IdleTime, the respective functions
are deactivated.
Monitoring times
For the blocks of the Drives family of blocks there are two independent monitoring times
available for the feedbacks:
• MonTiDynamic
If a command for motor control is given and there is no feedback within the
parameterized time, an error message will be generated. The block output
MonDynErr will assume the actual value "1".
• MonTiStatic
If the feedback FbkRun of the motor changes during runtime, e.g. through vibrations
of the limit switch and if this interruption exceeds the set time, an error message will
be generated. The output parameter MonStaErr will assume the actual value "1".
AutAct
StartAut
WarnAct
Start
P_Start
P_Stop
IdleTime
With the PCS 7 it is not intended that other blocks will be inserted between the plant
block and the output driver.
If you deviate from this principle, ensure that when interconnecting the block, that
from the outputs of the plant block until the output driver, that all blocks that form the
output signal are installed in the same OBs.
The VIVL block serves to control a valve in two positions (OPEN/CLOSE) with
adjustable safety position.
The valve is opened or closed via a control signal. The control is monitored through the
position signals OPEN/CLOSED (feedbacks). Non-existing feedbacks can be derived
from the control in the block.
Some block I/Os of the valve block are described in the following.
Safety position
The safety position (open or closed) can be parameterized through the parameter
SafePos:
• SafePos = 0: With Ctrl = 0 the valve drive closes and with Ctrl = 1 it
opens (power-off position "Close")
• SafePos = 1: With Ctrl = 0 the valve drive opens and with Ctrl = 1 it closes
(power-off position "Open").
With the PCS 7 it is not intended that other blocks will be inserted between the plant
block and the output driver.
If you deviate from this principle, ensure that when interconnecting the block, that
from the outputs of the plant block until the output driver, that all blocks that form the
output signal are installed in the same OBs.
“Main circuit”
PIDConL
Logic for
Internal / External
setpoint mode
Deadband
Gain
SP_Ext TI
External
SP_Int TD
Internal
…….
+
PV PID
- Auto MV
Manual
Man
Logic for
Manual / Auto
mode
SP_LiOp ModLiOp
SP_ExtLi AutModLi
S S
SP_ExtOp AutModOp
1 1
SP_IntLi ManModLi
R R
SP_IntOp ManModOp
Feature.Bit4: Feature.Bit4:
0 = Button mode 0 = Button mode
1 = Switch mode 1 = Switch mode
Program mode for closed-loop controllers - interface for higher-level control functions
The interface for primary controller functions (external Advanced Control software
package) provides primary controller functions, which run on an external PC as an OPC
client, the option of using the control from the controller function block and specifying
the setpoint or manipulated variable from a remote location. This procedure is called
program mode.
You can use the Feature bit 19 (Enabling program mode) to specify whether or not the
controller block is intended for program mode.
Program mode requires an enable signal (input parameter AdvCoEn = 1) from a central
control block. If this enable signal goes from 1 to 0, for example, due to errors in the
OPC communication, the controller block returns to the operating mode it had before
program mode.
• Small blocks save memory and runtime resources in comparison to the large block.
• Small blocks are available for monitoring, motor and valve control.
8.2.13 Templates
Templates (standard types, standard solutions) are provided to support you in the
configuration of a PCS 7 plant in case of recurring technological functions.
The PCS 7 libraries (PCS 7 Advanced Process Library, PCS 7 Basic Library) contain
templates for base control functions (e.g. motor control, valve control, Standard PID
control loop) as well as for advanced control functions (e.g. PID control loop with control
performance monitoring).
A template is a prepared chart containing already all blocks necessary for the process
tag, in other words not only technologic blocks for the control function, but also driver
blocks and additional logic.
Textual
interconnection
Valve block
Output driver block for the
control signal
Input driver blocks Interlock blocks
for feedback
„Out of service“
status
Textual
interconnection Logic to form the control
system fault
Logic to merge the
„Out of service“ status
One possible procedure how to work with templates:
1. Copy the desired template into the master data library of your multiproject. Make
there your adoptions to your specific requirements.
2. Drag the customized template from your master data library into the hierarchy
folder, where the process tag has to be placed.
3. Open the resulting chart and replace all opened textual interconnections by
references to I/Os from the symbol table to connect the chart with hardware signals.
???
Interconnection target
is not existing…
.
chart name\block name I/O name
Log file
The log generated lists all closed textual interconnections and any that are still open.
Call this log in the CFC editor with the menu command
Options > Logs > "Textual Interconnections" tab
If one or several textual interconnections are not closed, a corresponding log entry is
generated. You can view this entry with the menu command
Options > Logs > "Compile" tab.
The data is compiled and a substitute value is generated for the corresponding input
(default value of the block type). An interconnection at the output is ignored.
See [302] PCS 7 CFC for SIMATIC S7 - Function Manual - 04_2012, 9.7.3 for more
details.
Goal
AS functions for Material Tank M110. Measuring and monitoring the level of the tank
and controlling and monitoring the valve and the pump, based on templates from the
library.
Checkpoint
Why …
• are the OR gates present in the
charts?
• are connections made to the left
chart bar, with a yellow triangle?
The process messages for PCS 7-compliant blocks are always generated in the AS.
They are therefore also acknowledged centrally in the AS, i.e. an OS acknowledgment
is sent to the triggering block, this accepts the acknowledgment, and sends acceptance
to all the OS that are logged on.
Ready-made alarm blocks are provided as SFBs both in the PCS 7 APL V8.0 and in the
PCS 7 Standard Library.
Typically, only the ALARM_8P and NOTIFY_8P blocks are used in PCS 7.
Message number
The message number for PCS 7 is unique within the CPU. When the OS is compiled,
the numbers required for the individual messages for the PCS 7 OS are derived from
this message number. So that the value assigned by the system cannot be changed
inadvertently, the MsgEvId input is not be visible, interconnectable, or parameterizable
in the CFC.
Message-capable Message-capable
block type A block instance
DB x
ALARM_8P
ALARM_8P
Message-capable Message-capable
block type B block instance
DB y
ALARM_8P
ALARM_8P
If blocks contain code used for accessing other blocks (multiple instance blocks), the
applicable version of these lower-level blocks must also be copied. Lower-level FBs
that are missing can be determined later by engineering. Missing FCs, however,
cannot be detected during compiling or downloading.
The alarm behavior of technologic blocks in PCS 7 is basing on the ready-made alarm
blocks as the ALARM_8P being already integrated into a technologic block, in some
cases, two ALARM_8P blocks are included.
Undo
function!
Undo function
Important to notice is that the process object view has an undo function.
Requirements:
• The selection in the hierarchy tree was not changed.
• No filter changes were carried out.
• No updates (F5) were carried out.
Efficient engineering
The process object view allows you to edit mass data. This involves the following topics:
• Displaying general data
• Editing Blocks
• Editing Parameters
• Editing Signals
• Editing Messages
• Editing Picture Objects
• Editing Archive Tags
• Editing Hierarchy Folders
• Editing Equipment Properties (SIMATIC Batch/ SIMATIC Route Control)
• Editing the Shared Declarations
• Testing in the Process Object View
... without opening individual objects (CFC charts, pictures...). This can be done directly
in the process object view, or in other tools, such as Microsoft Excel, by exporting,
editing and importing the edited data.
In the following section you can find some tips and tricks about the process object view.
2
3
3
1
Use this feature to define additional separate columns in the "General", "Blocks",
"Parameters", and "Signals" tabs of the process object view.
This allows you to add important supplementary information, for example, operator,
maintenance interval, etc., to the following objects:
• process tags
• CFC/SFC charts
• parameters and signals of process tags and CFC charts
3
1
Group I/Os by
sorting
By applying an adequate filter and sort setting, you can group block I/O's in such a way
that you can select a range of I/O's and set/reset this range completely. In the example
above, only the block I/O's with a name starting with "SimOn", of block type “PCS7DiIn”
and on charts with names starting with a “P” are shown and, by consequence, can be
set as a parameter for the process object view.
You can divide the window into two halves (left and right), so that each has an individual
scroll bar. This is a function which you may recognize from Excel, for instance.
8.6.8 Filtering
2
1
The filter settings set in the "General" tab have an effect on other tabs (except for
hierarchy folders, equipment properties, shared declarations):
Only the objects displayed in the "General" tab are then displayed on these other
tabs. This filter setting remains visible in the other tabs under "Filter general" (See
example in the top left corner of the image).
8.6.9 Export and import data using the Process Object View
Selected
hierarchy
folder
By exporting and importing attributes, you can do the following with parameter, signal,
and message information: export it to a file, edit it using standard applications and re-
import it.
These functions are particularly beneficial if you want to edit large amounts of data. You
do not need to open the individual charts with the CFC editor in order to edit the I/Os, as
the I/Os of all charts in the hierarchy folders are imported automatically.
Charts located in the selected hierarchy folder and all lower-level hierarchy folders are
edited (in accordance with the selection made in the process object view).
Filters are ignored during import/export. All data are always exported when they are
displayed in the current view without filter.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.7.6.8 for more info on how to
Import/Export Blocks, I/O's and Messages
1
3
Apart from copying names, constants, parameters etc. it is also possible to copy
interconnections in the process object view. In the example above, the interconnection
between the "Out" parameter of an "OpDi01" and the "SimOn" parameter of the input
driver of a Motor is copied to the "SimOn" of all input drivers in the selected plant
folders.
1 2
See [103] PCS 7 V8.0 Engineering System - 12_2011, 9.5.3 for more information on
how to exchange data with MS Excel or Access
Start the
data import
Goal
All devices of D210, R310 and B410 monitored and controlled in manual mode.
Checkpoint
Why …
• are not all parameters displayed in
the Parameter tab of the Process
Object View
Content 9
9 Basics Operating and Monitoring .......................................................................... 3
9.1 Learning targets ......................................................................................................................3
9.2 General ...................................................................................................................................3
9.2.1 Overview .................................................................................................................................3
9.2.2 Single station and multiple station systems............................................................................4
9.2.3 WinCC Explorer / Location of the OS Project.........................................................................6
9.3 Plant Hierarchy Settings .........................................................................................................7
9.4 OS-AS Connection ...............................................................................................................11
9.5 Project type ...........................................................................................................................15
9.6 Compilation ...........................................................................................................................16
9.6.1 Overview ...............................................................................................................................16
9.6.2 Settings .................................................................................................................................16
9.6.3 Create/ update block icons ...................................................................................................19
9.7 Layout ...................................................................................................................................21
9.7.1 Skin & Design .......................................................................................................................21
9.7.2 Settings for WinCC RT Design .............................................................................................22
9.8 Block Icons and Faceplates..................................................................................................24
9.8.1 Difference between Block Icons and Faceplates..................................................................24
9.8.2 Faceplates of APL in general................................................................................................25
9.8.3 Block Icon Representation....................................................................................................27
9.8.4 Operation in Faceplates and Block Icons .............................................................................27
9.8.5 User permission levels..........................................................................................................29
9.8.6 Create/Update Block Icons ...................................................................................................31
9.9 Tasks and Checkpoints ........................................................................................................35
9.2 General
9.2.1 Overview
The OS of SIMATIC PCS 7 is based on SIMATIC WinCC.
Process visualization
number ()
float cou
begin
if value > 0
start
cou = cou + 1
Motor ON end
end
Valve closed
Gate closed
Programming
Alarm Logging interface
(message system)
Standard
interfaces
Tag Logging
(archiving) Logging
ReportSystem Process
(reporting) communication
Together with a number of WinCC options and additional tools in SIMATIC Manager it is
used as one of the main components of a PCS 7 configuration: the Operator System.
OS Terminals
ES OS OS
Client 1 Client 32
Terminal bus
OS Servers (TCP/IP)
Server 1 Server 12
Servers contain communication to the AS, pictures, logging of tags and messages.
Clients offer the user interface.
With a multi-user system, one or more (up to 12) OS Servers supply up to 32 operator
stations (OS clients) with data (project data, process values, archives, and messages)
via a terminal bus. The terminal bus can share the transmission medium with the plant
bus or it can be designed as a separate bus (Ethernet with TCP/IP).
In this architecture, redundant OS servers may be set up to meet higher availability
requirements. Critical applications are monitored by health check for software faults. If a
fault is detected, switchover to the redundant system is triggered. Synchronization of the
redundant OS servers takes place automatically and at high speed.
The broad colored arrows in the figure above symbolize the exchange of information
between the AS and OS resp. between servers and clients.
The OS Runtime is executed on the OS servers.
Central Engineering
Whatever is the configuration of system components, it is always the Engineering
Station to be the source of everything. All configuration data are loaded from the ES to
the target system. The figure above indicates this by thin black arrows.
OS Simulation
The OS runtime of servers must not be started on an ES station! To provide the
opportunity to test OS configurations on the ES in runtime without disturbing the running
OS server, the OS can be simulated on the ES.
ES OS
Terminal bus
(TCP/IP)
In single station system architecture, all operator control and monitoring functions for a
complete project (plant/unit) are concentrated in one station. This OS single station can
be operated on the plant bus together with other single-user systems or in parallel with a
multiple station system. Redundant operation of two OS single stations is also possible
(SIMATIC PCS 7 Single Station Redundancy).
ES
Terminal bus
(TCP/IP)
The PC station configuration of the ES contains the WinCC application for the OS
project. This is the only case, where the OS Runtime is executed on the ES.
For editing the contents of an OS, the OS project is opened from the Component View
of the SIMATIC Manager: WinCC Explorer will be launched.
SIMATIC Manager
WinCC Explorer
Content window,
showing objects
related to some
of the editors
List of editors:
SITRAIN
When assigning names, please note that when you compile the OS, the tag name
must not be longer than 128 characters. The name consists of the folder names in the
hierarchy path, the chart name, the block name, the delimiter, and the I/O name.
With delimiter
A delimiter is appended in the HID to the name of the hierarchy folder. Delimiters are
used in the textual representation of the hierarchy path for clearer distinction between
the names of the hierarchy folders. The hierarchy path is the sequence of names of the
hierarchy folders through the hierarchy levels to the current object. The "\" character is
used as the delimiter. Note: There is always a delimiter after the last hierarchy folder
that is included in the designation, which means this option cannot be modified.
OS area
This defines which hierarchy level is to be valid as the OS area level. Only the top three
hierarchy levels are available as OS area levels. The default is level 1.
The way, how pictures are arranged, can be displayed in the Picture Tree Manager.
The tool is part of the WinCC Explorer.
In OS Runtime, the overview buttons and the content of the Picture Tree Navigator
represent the way pictures are arranged:
• Structure tags:
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 5.4.3 for
more details
Multiple Station OS
ES
OS Clients
Terminal bus
OS Servers (TCP/IP)
Single Station OS
ES OS
Terminal bus
(TCP/IP)
ES
Terminal bus
(TCP/IP)
It is done by NetPro:
The connection is configured between
• the WinCC Application on the PC (starting point of Insert New Connection dialog) and
• the CPU as its connection partner on the AS.
Named
connection
4
3. Select the connection partner. If you started with a WinCC Application, then the
CPU of the desired AS should be the partner.
4. Named connection: Assign a symbolic name to the connection between OS and
AS instead of the default connection ID as substitute for the connection parameters.
Use a meaningful name.
Named connection
This method of procedure is also designated as a "Named Connection". It is also
important for redundant OS server and OS simulation mode.
We recommend to use the name of the connected AS. Once the OS has been
compiled, this name will appear in the "SIMATIC S7 Protocol Suite" of WinCC tag
administration.
Color indicates a
configuration still
not being compiled
1. Use the button „Save and Compile“in the tool bar of NetPro to start the compilation
of the network configuration.
2. We recommend always including the configuration check.
3. After the configuration was compiled you have to download the new OS-AS-
connection.
No stop required
By download the connections only the AS will not be stopped.
Single User
If the system is to be used as a Single User Project, have it adapted in Project
Properties:
9.6 Compilation
9.6.1 Overview
A lot of settings to the OS data structure are done in SIMATIC Manager and the tools for
configuring the charts. It is stored in the Project database.
This OS relevant data is transferred into the OS database by a compilation process:
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 5.5.1 for
more details.
9.6.2 Settings
Settings for the compilation process are offered to you in dialog windows of a wizard:
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 5.5.3 for
more details.
1
3
2
Runtime mode must be
stopped for a complete
download of the OS. 4
1
The OS servers (or single
OS station) can remain in
runtime mode during the
download procedure.
Separate task
It can also be done as a separate task from the Plant View window of the project:
Precondition
Picture M110
As comparison…
Included levels
Picture R310
The charts are in
the 4th level
PH level: 1 2 3 4
The picture is in
the 3rd level
PH level: 1 2 3 4
In the Lower hierarchy levels included combo box, set the number of AS hierarchy
levels to be taken into consideration when creating/updating block icons.
The need for this setting is based on the different description depth between the AS and
OS.
On the AS side the charts are configured at process tag level. The charts are therefore
inserted at the lowest level and only contain the control modules with the drivers for
process connection. In our example the charts are at level 4.
On the OS side, the aim is different. The pictures do indeed describe the plant for the
lower levels in increasing detail, but not as far as process tag level. In our project the
lowest level for the pictures is level 3.
As there are no pictures at chart level, no block icons would be inserted by the
Create/Update Block Icons wizard either. This problem can be solved by setting
Lower hierarchy levels included to 1. The block icons are then simply inserted in the
pictures that are one level up.
The default setting is 1.
9.7 Layout
9.7.1 Skin & Design
In OS Runtime, the screen is divided into three parts:
Overview area
Work area /
process picture
Key set
The name of the start picture (the first picture being opened after start of OS-
Runtime) is @screen.pdl
Define your
project color
palette
Select a WinCC
skin design
Ensure that all projects in a plant have uniform settings for the design. If you change the
setting of the design, check the visualization of self generated objects and adapt these if
necessary. You can define the appearance of the user interface in process mode by
selecting one of the two designs: WinCC 3D; WinCC Classic
The WinCC designs "Glass" and "Simple" are not supported by PCS 7.
Some restrictions to the global design effects can be activated on the "Runtime" tab in
the "Computer Properties" dialog. You can improve the computer's reaction time by
switching off certain elements of the global design.
The settings made on this tab apply for all WinCC projects run on this computer.
Object properties of
the selected button
Individual color
setting
If nothing else is set in the object properties, the settings of the selected global design
apply to all graphic objects in the project.
Faceplate,
showing a
standard view View
selection Block Icon
Loop display,
showing all views
in one window
Block Icon
Faceplate,
showing a
standard view View
selection
Display and
operation
Commands and
Status operating modes
displays
Interlocks
Button for
additional
faceplate
Auxiliary
Operating values (max. 2)
area
Status displays
This area shows at the top the status (motor, valve icon,...) in the form of an icon or
symbol. Additional information and step functions are shown below it (buttons for
opening a faceplate of another block).
The additional information serves as support for the operator and it informs about the
status of the process instrumentation, e.g. whether a motor is simulated or maintenance
is carried out on it.
Interlocks
The different interlock functions are displayed in this section
Auxiliary values
Up to two additional analog auxiliary values can be displayed in the standard view of
some technological faceplates. They can be used e.g. with motors for displaying the
motor current and the coil temperature.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.3 for more details
about the faceplates
in @PCS7TypicalsAPLV8.pdl
Normal Operation,
High alarm violated Disturbed, with additional
status information
The setting for one of both variants (without / with acknowledgement) can be made
throughout the project via the internal WinCC variable @APLCommandExecutionSteps
being available in the category “Split Screen Manager” of the internal variables in the
Tag Management of the OS.
Value Representation
Message
locked Sufficient
Operation via
FB enabled authorization level
Internally
simulated
Operation due Externally
to process simulated
not possible
Value
faulty
Values, limits, etc can be changed from faceplates. A feature available only in APL is
that the operator enables and operator authorization can be graphically displayed. The
operator can distinguish which values can be changed and which can not be changed. It
can be distinguished whether:
• The operation at the block is generally blocked.
• The operation is blocked process-related.
• An operator does or does not have the appropriate authorization.
The value input also happens via a separate operating area below the faceplate. You
open this operating area by a mouse click on an adjustable value (white background
color). The value can be changed in the operating are in three ways:
• Via the direct operation, a value can be changed discretely using buttons (e.g. -2.5).
• Using the slider control, the value can be set to the desired value.
• Via the input field a value can be entered directly.
Via acknowledgement with “OK” the changed value is sent to the block.
Level 1
Depending on the user management
and access protection the operator has different
rights to operate a block in a plant/system area.
Level 2
Level 3
The following operator authorization levels from user management are used in the APL:
• Authorization level = 0
No process controlling, only monitoring.
• Authorization level = 1 (Level 5 in the "User administrator")
Process controlling (e.g.manual / automatic switchover, changing setpoint and
manipulated variables)
• Authorization level = 2 (Level 6 in the "User administrator")
Higher process controlling (e.g. changing limit values, control parameters and
monitoring times).
• Authorization level = 3 (Level 1100 in the "User administrator")
Highest process controlling (e.g.switching simulating on and off). This operator
authorization enables the following operation:
− Switching the simulation on and off in the parameter view
Simulating the values is authorization level 1
− Switching the release for maintenance on and off in the parameter view
• Authorization level = 4 (Level 1101 in the "User administrator")
Advanced operation 1 (free project-specific operator authorization)
• Authorization level = 5 (Level 1102 in the "User administrator")
Advanced operation 2 (free project-specific operator authorization)
Depending on the user management and the access authorizations instance-specific
authorizations can be assigned. E.g. all controllable blocks have the OS_Perm input
parameter, which allows you to implement individual operator control strategies by
setting the operator control permissions.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, chapter 1.3.2 Operator
permissions
Associated
value with unit
User button for
direct jump Label of the
associated value
Properties of input
UserAna1
See [1003] Application description 50249288 APL Operator Guide - 01_2012, 5.5.3
for more details about operation of APL faceplates and block icons.
• APL Versions before PCS 7 V8.0 delivered another Version of the APL “typicals” file:
@PCS7TypicalsAPL.pdl
• To remain the compatibility to former APL versions this older typical file is also
delivered in PCS 7 Version 8.0 under another name:
@PCS7TypicalsAPLV7.pdl
Each additional library also provides a template picture of this type with the required
block icons. The name of this template picture starts with "@PCS7Typicals" and also
contains a short library designation at the end. The template picture of the standard
library is called "@@PCS7Typicals.pdl".
The Create/Update Block Icons function uses these template pictures to insert the
block icons. All pictures whose names start with "@PCS7Typicals" are identified. These
are sorted alphanumerically in descending order and the top 11 template pictures are
used. A possible processing sequence might therefore be:
• @PCS7TypicalsRC.pdl
• @PCS7TypicalsBATCH.pdl
• @PCS7TypicalsAPLV8.pdl
• @PCS7TypicalsAPLV7.pdl
• @PCS7TypicalsAPC.pdl
The OS compiler
(more exactly: the wizard “Create / update Block
Icons”) finds the related block icon by this number:
@TemplateAPL.pdl
In the case of automatic creation, all block icons in the picture which also appear in
@PCS7TypicalsAPLV8.pdl but were not generated via the plant hierarchy are
deleted. For manual configuration and when post-processing pictures, therefore, use
picture @TemplateAPLV8.pdl as the template for block icons, as the type property is
pre-assigned differently in this case.
The same series of block icons are present in the picture @Template, from where the
block icons can be copied freely to any picture, and have a connection to a tag structure
(AS block) using the Dynamic Wizard “Connect picture block to tag structure”.
Goal
A running OS based on the AS functions configured up to now.
Checkpoint
What items …
• of the OS system do you think
should be customized in a later
stage to fit the best to this plant?
Goal
AS and OS function for M120 and M130 based on a copy of M110.
Checkpoint
Did we …
• forget anything for the level of
M130?
Goal
Properly connected Level bars in the process pictures.
Checkpoint
For what …
• purpose is a bar graphic useful?
Content 10
10 Basics Automatic Mode Control ............................................................................3
10.1 Learning targets ..................................................................................................................... 3
10.2 Setting the Auto/Manual mode by program ........................................................................... 4
10.2.1 Logic for control output (open/close command to valve)....................................................... 4
10.2.2 Demonstration with push buttons and switches .................................................................... 5
10.2.3 Examples for controlling the Auto / Manual mode by program.............................................. 5
10.3 Task and checkpoint.............................................................................................................. 6
10.4 Sequential control with SFC .................................................................................................. 7
10.4.1 SFC Charts ............................................................................................................................ 7
10.4.2 Elements of a Sequence........................................................................................................ 9
10.4.3 Close cooperation................................................................................................................ 10
10.4.4 Interconnections between CFC and SFC ............................................................................ 11
10.4.5 Initialization, Processing and Termination ........................................................................... 14
10.4.6 Example ............................................................................................................................... 15
10.4.7 SFC in test mode ................................................................................................................. 15
10.4.8 Task and checkpoint............................................................................................................ 16
10.4.9 Operating state logic for sequencers (sequencer OSL) ...................................................... 16
10.4.10 Operating state logic for a SFC (SFC OSL) ........................................................................ 17
10.4.11 External View ....................................................................................................................... 18
10.4.12 Task and Checkpoint ........................................................................................................... 18
10.4.13 Add a new sequencer into the chart and setup the properties ............................................ 19
10.4.14 Default behavior of an SFC ................................................................................................. 19
10.4.15 Sequencers reacting on changes of state ........................................................................... 21
10.5 Sequences on the OS.......................................................................................................... 22
10.5.1 Preparation in the ES........................................................................................................... 22
10.5.2 Steps of SFC operation in Runtime ..................................................................................... 23
10.5.3 SFC MultiChart Control........................................................................................................ 24
10.6 SFC type .............................................................................................................................. 27
10.7 Task and checkpoint............................................................................................................ 28
The diagrams below show the logic of a VlvL block regarding the control signal Ctrl
and the Auto / Manual mode.
In these simplified diagrams the influence of other signals like Local mode, Out of
Service, forcing, interlocks and feedback error are ignored.
The red arrows represents the Boolean value “true” (digital: 1) that is send from the OS,
by clicking the related button (with OK) to the related input of the block in the AS.
After processing this value by the block program, the input value is put back to “false”
(digital: 0).
VlvL
Logic for
Auto / Manual
mode
OpenAut
S CtrL
OpenMan
1
Output driver
CloseAut
R
CloseMan PIQ
ModLiOp
AutModLi
S
AutModOp
1
ManModLi
R
ManModOp
Feature.Bit4:
0 = Button mode
1 = Switch mode
T3 OpenAut S4 OpenAut
T4 CloseAut CloseAut
S1 ModLiOp S2 ModLiOp
T1 AutModLi S3 AutModLi
T2 ManModLi ManModLi
0 ModLiOp
AutModLi
2
1 ModLiOp
AutModLi 3
ModLiOp
1 4
AutModLi
ModLiOp
AutModLi
5 6 7 8
1
0
1
0
t
1. The gray rectangles represent any block offering one or two outputs that can be
used to control the mode.
2. When ModLiOp has value 0, then the mode can only be controlled by operator on
the OS.
3. The mode is controlled by the source of the connection
4. When the source changed from 0 to 1: Auto mode, operator can not change to
Manual.
When the source changed from 1 to 0: remains in Auto mode, but operator can
change to Manual.
5. Operator controls the mode.
6. Auto mode, can not change to Manual
7. Switching back to Manual mode, operator can not change to Auto.
8. Operator controls the mode.
Goal
One common switch on the OS to set the outlet valves and outlet pumps of the material
tanks in Auto mode.
When in Auto Mode, then the outlet valve and outlet pump of a material tank must follow
up the demand for the material: opening and starting when a dose valve has opened.
Checkpoint
Consider …
• a way to have the Auto mode of all
devices of D210 and R310 set by a
single operation, leaving the
devices in such a state, that the
operator can switch back to
Manual mode if required.
SIMATIC Manager
PH PO IEA
SFC Visualization
CFC SFC
STEP 7 - tools
ES
STEP 7 WinCC
AS OS
A SFC chart consists in maximum 8 sequencers for different states of the sequential
control system (e.g. default: Run, Hold, Resume, Abort...or customized: Heating,
Cooling, Dosing, Draining, etc.). An SFC chart is assigned uniquely to a CPU and is
also executed completely on this CPU.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.8 for more detail
Run Sequence
The runtime properties of an SFC chart or SFC instance determine how the SFC is
included in the chronological execution sequence within the overall structure in the
CPU. These properties determine the behavior of the target system with respect to
response times, dead times, or the stability of time-dependent structures, such as
control loops.
The insertion in the Run Sequence is done using the Predecessor for Insert Position.
The SFC chart is represented by a single object like a chart or as a part of a runtime
group like a block:
Single object
like a chart
Part of a
runtime group
like a block
Tabs represent
sequencers Alternative Jump
branch
See [304] SFC for SIMATIC S7 - Programming and Operating Manual - 12_2011,
11.2 for more details about the sequencer topology.
Controlling
Controlling devices in the process is to be done through the control blocks in CFC.
In general the Auto mode and its related input to control is being used.
For a VALVE block the input to be used is AUTO_OC. The VALVE block will have the
actual connection to the process through the output driver.
Monitoring
Monitoring the process (in general as a feedback from an earlier step) is done through a
block for monitoring the value, using a connection to the related input driver.
SFC CFC
Open command
in Auto mode
Valve is
closed
Process value of
level monitoring
Move
In CFC, an SFC access can be moved using ALT-drag.
3
5 4
1. Open the Transition properties (Double click). There is a (possibly empty) list of
conditions arranged in boxes.
Each line represents a condition. A maximum of 16 conditions per transition are
possible. They are logically linked (default logic: AND).
Each condition consists of a left address, an operator (that you can select from a list
box), and a right address.
By clicking the "Go To" button, you can jump to the point of use of the address in
whose edit box the text cursor is located (for example, to the CFC chart with the block
I/O that is the address of this statement.
2. The "Browse..." button opens a dialog box where you can select an address for the
edit box of the condition where the text cursor is located.
3. Navigate to the required block to get the corresponding I/Os displayed.
4. Select the desired block I/O.
5. In case of APL blocks with structures as I/O data type, it is necessary to open the
structure. Only a single structure element can be linked. An additional dialog offers
you the structure element to be selected.
3
5 4
1. Open the Step properties (Double click). There is a (possibly empty) list of
commands arranged in boxes.
Each line represents one statement. You can make up to 50 statements.
Each statement line consists of the following elements:
− The button with the line number for selecting the line
− The radio button that you can use to select the statement as an OS comment
− An edit box for the left address, the operator, and the edit box for the right
address
If the text cursor is located in an address box, the shortcut menu displays only the
functions needed for editing the contents.
2. The "Browse..." button opens a dialog box where you can select an address for the
edit box of the statement where the text cursor is located.
3. Navigate to the required block to get the corresponding I/Os displayed.
4. Select the desired block I/O.
5. In case of APL blocks with structures as I/O data type, it is necessary to open the
structure. Only a single structure element can be linked. An additional dialog offers
you the structure element to be selected.
Accesses to CFC blocks can also be modified in the relevant CFC chart. This
modification, however, is restricted to "rewiring" SFC accesses; in other words,
moving the access to another block I/O (with <Alt> + Drag-and-Drop).
Do not write any values to outputs of blocks and charts (CFC and SFC). Generally,
these are overwritten again by the processing of the block or chart.
Statement as an
OS comment
Drop
Drag&
Line buttons with
context menu
Textual
reference
Double click
to sort
Enter a text to
identify
Initialization
If actions have been configured here, they will be executed only once: at transition from
the previous step to this step.
Processing
If actions have been configured here, they will be executed during every program
cycle, as long as the condition for transferring to the next step is not completed.
Termination
If actions have been configured here, they will be executed only once: at the transition
from this step to the next one.
cycle
Transition fulfilled
Start Trans 2
Step active
Stop Trans 2
See [304] SFC for SIMATIC S7 - Programming and Operating Manual - 12_2011,
15.3.6.2 for more details
10.4.6 Example
Next diagram can be used for a demonstration in configuring a SFC chart:
SP=70 Action:
50 Set setpoint SP_EXT to 70
SP=50
• Conditions in transitions
• Actions in steps SP=30
• Test
L32
END
Control Operator
mode confirmation
button
Operator
commands
Goal
A first short sequence for dosing one material and to learn proper switching between
manual and automatic mode.
Checkpoint
Operator commands
See [304] SFC for SIMATIC S7 - Programming and Operating Manual - 12_2011,
15.2.5.5 for more details
Event: Error
Operating
modes
Commands Provide
and operating information
states about states
and modes to
other blocks
Execution
options
Every SFC has an external view that is displayed by the CFC editor.
• On the left parameters for controlling the states, modes and more by SFC steps and
connections to blocks in CFC charts.
• On the right parameters representing states, modes and more information to be used
in SFC transitions and for connections to blocks in CFC charts.
• The inputs need different types of values / static or dynamic (edges).
See [304] SFC for SIMATIC S7 - Programming and Operating Manual - 12_2011,
12.3.1 for more details
Goal
A sequence for dosing and heating a mixture of the 3 materials
Checkpoint
What happens …
• during a dosing step, when the
command Hold is executed?
10.4.13 Add a new sequencer into the chart and setup the properties
Insert a new
sequencer at the
corresponding Define the start conditions
position basing on the SFC OSL
Start
• When the SFC is started (button Start) for the first time, the first state change will be
from IDLE to STARTING.
• When the RUN sequencer is the only one, nothing will react on the state STARTING,
so the next program cycle the state will change from STARTING to RUN.
SIMATIC PCS 7 – Basic Automatic Mode Control
Training Documentation, V1.00, ST-PCS7SYS 10 - 19
PCS 7 System Course
Hold
When during the execution of the RUN sequencer, the SFC is held (button Hold), the
state change will be from RUN to HOLDING.
When the RUN sequencer is the only one, nothing will react on the state HOLDING, so
the next program cycle the state will change from HOLDING to HELD.
Sequencer RUN
Start condition RUN
Sequencer Holding
Start condition Holding
Sequencer RUN
Start condition RUN
Sequencer Resuming
Start condit. Resuming
OS compilation
Block icon
for SFC
Compilation
At OS compilation, have the proper check box set, which will allow you to have all the
relevant information transferred to the OS, including the creation of the pictures:
Block icons
In a similar way to OS relevant blocks in CFC, there can be representatives of SFC
charts being installed in pictures.
User-defined
button
Block icon
Faceplate
SFC browser
Section
Overview
Sequencer properties
and start condition in
runtime
Separate
windows
If you do not stretch the frame to its complete size, not all the columns will be visible.
In this case, a horizontal scroll bar is inserted to enable you to scroll through the
contents in the visible area during runtime mode.
Double click
5
Open the
SFC browser
5. Double-click the SFC MultiChart Control. The "Properties" dialog box opens.
6. Open the "General" tab and assign the desired SFCs to the control or delete them
from it.
7. Open the SFC browser.
8. Select the desired SFC and then close the dialog box with "OK". Repeat this
procedure for every SFC that you want to include in the SFC MultiChart Control. A
row is inserted for each SFC. This row includes the columns that provide SFC
information in runtime mode.
Direct jump to
the step in
the faceplate
Operating the Boxes for mode Access to the
selected SFC controlling selected SFC
SFC aborted
See [305] SFC Visualization - Programming and Operating Manual - 12_2011, 5.13
for more details
SFC CFC
A SFC type is created beforehand in a chart folder (in library or directly related to AS
system).
Steps and transitions will have access to the SFC type its own interface.
Instances
An SFC instance is derived from an SFC type and initially has properties identical to
those of the SFC type. You have an executable sequential control system only after
interconnecting the SFC instance with blocks and signals of basic automation in CFC
charts.
BATCH
SFC types can be configured to represent an Equipment Phase in a SIMATIC BATCH
application.
See [304] SFC for SIMATIC S7 - Programming and Operating Manual - 12_2011,
4.5.2 for more details
Goal
Preventing material flow when the sequence is held
Checkpoint
What else…
• … could be done in probably more
sequencers to this SFC?
Goal
Have additional ways to monitor and control the progress of the sequence changes of
state
Content 11
11 Customizing the OS ................................................................................................3
11.1 Learning targets ..................................................................................................................... 3
11.2 User administration................................................................................................................ 3
11.2.1 Basic User Authorization Concept ......................................................................................... 3
11.2.2 Extended User Authorization Concept .................................................................................. 5
11.2.3 WinCC Logon versus SIMATIC Logon .................................................................................. 6
11.2.4 Task and Checkpoint ............................................................................................................. 7
11.3 Picture navigation .................................................................................................................. 8
11.4 OS Project Editor ................................................................................................................. 12
11.4.1 Layout .................................................................................................................................. 12
11.4.2 Area ..................................................................................................................................... 13
11.4.3 Runtime window .................................................................................................................. 14
11.4.4 General ................................................................................................................................ 15
11.4.5 Message display .................................................................................................................. 16
11.4.6 Basic data ............................................................................................................................ 17
11.5 Task and Checkpoint ........................................................................................................... 17
11.6 Time synchronization........................................................................................................... 18
11.6.1 General principle.................................................................................................................. 18
11.6.2 PLC Clock Setting in OS Computer properties.................................................................... 19
11.6.3 Time Synchronization Settings in the WinCC Explorer ....................................................... 20
11.6.4 Settings in the HW configuration of the AS ......................................................................... 21
11.7 Lifebeat Monitoring .............................................................................................................. 23
11.8 Task and Checkpoint ........................................................................................................... 25
11.9 WinCC Basic Objects and special additional for PCS 7...................................................... 26
11.9.1 WinCC objects and libraries ................................................................................................ 26
11.9.2 How to make object properties dynamic.............................................................................. 28
11.9.3 Tag Connection – Working with the Tag Selection Dialog .................................................. 29
11.9.4 Dynamic Dialog.................................................................................................................... 30
11.9.5 Direct Connection ................................................................................................................ 31
11.9.6 The Dynamic Wizards.......................................................................................................... 32
11.9.7 Task and Checkpoint ........................................................................................................... 33
11.10 Group display....................................................................................................................... 34
11.10.1 Overview in Runtime............................................................................................................ 34
11.10.2 Settings for installing Group Displays.................................................................................. 35
11.10.3 Group Display to represent a single block........................................................................... 35
11.10.4 Task and Checkpoint ........................................................................................................... 36
11.11 Alarms.................................................................................................................................. 36
11.11.1 Basic Concept of the Event-Signaling System .................................................................... 36
11.11.2 Names of limits .................................................................................................................... 37
11.11.3 Events in Alarm Logging...................................................................................................... 39
11.12 Read Back ........................................................................................................................... 40
11.12.1 Changes in CFC test mode ................................................................................................. 40
11.12.2 Changes by operation on OS .............................................................................................. 41
SIMATIC PCS 7 – Customizing the OS
Training Documentation, V1.00, ST-PCS7SYS 11 - 1
PCS 7 System Course
11 Customizing the OS
11.1 Learning targets
Assigned to function
“Higher Process
Controlling”
Assigned to function
“Process
Controlling”
OS area specific
authorization
As of PCS 7 V8.0, 2 new operation levels are pre-defined in the User Administrator
being freely configurable:
• Extended operation 1 (No. 1101)
• Extended operation 2 (No. 1102)
Instance-specific parameterization
There is a new input field "Operation Level" (new attribute "Op_Level") at every relevant
operator-controllable input.
Passing
SIMATIC PC station information
Calculating the
authorizations of the user, if
the password was correct
One central administration for users/user groups is required. No central administration for users/user
groups is required.
Logon and logoff procedures are to be logged.
If you run SIMATIC Logon with a logon computer, this computer must be available at
all times and must not demonstrate any excessive peak loads; therefore, we do not
recommend using the ES as a logon computer.
The names of the newly created user groups must be written in exactly the same way
in the Windows operating system and the OS User Administrator. These names are
case-sensitive.
Users are only created in the operating system of the logon computer. Once a user
has successfully logged on via the logon computer, authorizations are then assigned
to that user in the OS.
Task: Users
Goal
Different authorizations for different users
Checkpoint
Give a recommendation …
• What do you think how many
users should be configured on a
OS Client?
Level 2 in Plant
BufferTanks.pdl MaterialTanks.pdl Reactors.pdl
hierarchy
Level 3 in Plant
B410.pdl M110.pdl M130.pdl R310.pdl R340.pdl hierarchy
Picture order
The order of pictures in the same level can be set in the specific Hierarchy folder
properties:
OS compilation
At OS compilation the options to generate the picture tree is to be set as well:
Picture Tree Manager returns the hierarchy levels you created in SIMATIC Manager
under the same names.
At the bottom of the Picture Tree Manager, you will find all of the pictures that are not
inserted in the plant hierarchy. In the PCS 7 environment, these are the pictures that
you create additionally, because, for example, you want to display them in a picture
window of the process picture.
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 9.8.1 for
more details.
PH Level 1
PH Level 2 Area Level 2
PH Level 3 Area Level 3
Areas Level 2
Pictures on the
BufferTanks.pdl MaterialTanks.pdl Reactors.pdl
same level
Areas Level 3
Pictures on the
B410.pdl M110.pdl M130.pdl R310.pdl R340.pdl same level
ATTENTION!
Avoid any direct changes in the WinCC Picture Tree Manager, for example, do not
insert additional hierarchy levels or containers, or rename pictures. The data
visualized in Picture Tree Manager are derived from the configuration data of
SIMATIC Manager.
Subsequent changes can be overwritten when you recompile the OS, if you have
selected the "Derive picture hierarchy from the plant hierarchy" check box.
Example
The overview area, on the top of the screen, contains a number of buttons representing
the areas of the plant. By default 16 buttons are present. The Project Editor can be used
to make adjustments to the buttons.
11.4.1 Layout
In the "Layout" tab, you configure the appearance of the runtime user interface.
To adapt a larger or smaller amount of areas, the number of buttons can be edited in
the "Layout" tab:
11.4.2 Area
In the “Area” tab, you configure the arrangement of the plant sections in the area
overview.
The “Area” tab of the Project Editor should be used to insert “empty buttons”.
Empty buttons can be used as placeholder for future extension or adapting a process
like arrangement of areas.
1
2
3
4
5
1 2
3 4
• Loop display mode for picture components. The windows are automatically adapted
to fit the size of the picture on opening. Their size cannot be changed. You can
configure the number and position of the windows. The loop display mode is not
relevant for faceplates of the Advanced Process Library but for the PCS 7 Standard
library.
• Group display mode for picture components and for windows in the function "Picture
by Name". The windows open with predefined dimensions which can be changed, if
you activated the "User defined" check box.
• Trend display mode for windows configured with the "Trend Online" function. The
windows are adapted to fit the size of the picture. Their size can be changed. The
configuration options are the same as for the loop display mode.
11.4.4 General
Goal
Area buttons MT, R and BT on the left, area button Signal box on the right.
Checkpoint
What do you believe …
• What is the use of displaying
several copies of a faceplate of the
same block?
OS Client
Slave
Terminal bus
AS 1
CPU CP 443-1 CP 443-5Ext
Slave Transparent Slave
DP-Master (Profibus) DP-Master (Profibus)
The CPU with integrated Ethernet interface can only be synchronized via the NTP
mode.
Operating with Local Standard Time and Coordinated Universal Time (UTC)
In PCS 7, UTC is used internally as a rule within the system. Time information displayed
to the operator in process mode can be converted from UTC to the respective local
time. This makes it possible to configure a system, for example, with the automation
system in a different time zone than the operator station. If necessary, the plant operator
can also switch back and forth between coordinated universal time display and local
time display in runtime.
See the OS Computer properties below with its preferred settings:
See [141] PCS 7 V8.0 Time synchronization - Function Manual- 12_2011, 5.5 for
more details
Plant bus
AS 1
CPU CP 443-1 CP 443-5Ext
Slave Transparent Slave
DP-Master (Profibus) DP-Master (Profibus)
AS 1
CPU CP 443-1
Slave Transparent
AS 1
CP 443-1 CP 443-5Ext
Transparent Slave
DP-Master (Profibus)
Profibus
See [141] PCS 7 V8.0 Time synchronization - Function Manual- 12_2011, 5.8 for
more details
Requirements
• The hardware configuration and network connections for all automation systems and
operator stations have been configured in SIMATIC Manager.
• An OPC connection is created in WinCC Explorer for each operator station that you
wish to monitor.
Configuration of AS monitoring
Select device
Type in a name type and
e.g. AS08 connection
The system provides a picture named @CONFIG.pdl for the Lifebeat Monitoring.
You can adapt this picture to your needs.
• AS in STOP mode
• AS in RUN again
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 13.1 for
more details
Goal
Establish the time synchronization and AS lifebeat monitoring in your training project.
Checkpoint
Graphics Designer
The Graphics designer (an editor in the WinCC explorer) is the entrance to the process
pictures. Here you can edit the process pictures of your plant as files of type .pdl. By this
editor you also find all pictures, you created before in the plant hierarchy of the SIMATIC
Manager as place holder (for instance Reactors.pdl).
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 8.8 for an
overview of dynamic PCS 7 standard objects.
Standard
Objects
Controls
The graphic objects are assorted in a tree structure, controls collected in an own tab:
Standard e.g. line, polygon, ellipse, circle, rectangle, static text
Objects
Windows Selection of windows-like operation elements
Objects
Smart Objects e.g. application window, picture window, OLE object, I/O field, bars, status display
Tube objects Selection of typical connection elements required in a flow scheme. Since PCS 7 V7.1
the polygon function is available for tube connections.
Controls The 'Controls' tab contains as standard a selection of the most important ActiveX
controls provided by WinCC. Other controls can be linked.
Direct connection
Dynamic Dialog
Cyclic triggers are a means of processing periodic actions in Value Trigger interval
WinCC. In the case of a cyclic trigger, the action is executed
when the trigger event occurs, e.g. every 20 seconds.
Tag triggers consist of one or more specified tags. The action which Value Query interval
is connected to such a trigger is executed if a change in the value of
one of these tags was detected when the query was launched.
Event-driven triggers: Actions which are connected to an event are Value Mouse action
executed whenever this event occurs. Events can be, for example,
mouse control, keyboard control, or changes in focus.
Extensive C / VBS actions increase the system load with a
Time
negative influence on picture-call times in runtime.
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 8.4 for
further information.
Application example
The bar display in a tank is to be linked with the process value of the tank level.
Select the
tag trigger
Bar displays have a
reduced configuration dialog:
The attribute to be linked is
already predefined.
Process value
to be linked
Result:
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 8.5 for
further information about the Tag Selection Dialog and the Tag sources.
Application example
Change the color of a bar level display depending on an activated simulation mode.
Tag trigger
Tag Selection
Dialog
This includes
structure tags
and internal tags
Process value
to be linked
Structure
instance
Result of linked
Dynamic Dialog:
Application example
This example shows a configuration of a button to transfer a predefined setpoint to the
temperature controller as internal setpoint by one mouse click.
Source
Open the object
properties and switch Target
to Events tab
Result of Direct
Connection:
PCS 7 specific
context
General
WinCC context
BPC: in context of
Basic Process Controls
Application example
Mouse click on an object shall cause a picture exchange in the working area.
Result of
Wizard run:
SITRAIN
Goal
Configure a button in a process picture to allow an operator to perform change to
another process picture.
Checkpoint
Do you know …
• Is it possible and usefull to get rid
of the navigation buttons in the
toolbar at the bottom of the
screen?
Collected information
from the pictures
R310 / R 320 / R330 / R340
Collected information of
all process tags in R310
You use this update when you simulate process mode from SIMATIC Manager on the Engineering Station.
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 8.14 for
more details.
In the higher
level picture Change the attribute
Reactors.pdl: Display from No to Yes
Result of the
Wizard run
Goal
Checkpoint
11.11 Alarms
11.11.1 Basic Concept of the Event-Signaling System
Origin of a message
Messages can originate in different locations within the control system depending on the
configuration. The time stamp of the message is influenced by where it originates.
The illustration below shows an example with a distributed I/O, ET 200M.
Single Station OS
1. Origin of a message in the operator station
PROFIBUS DP
Events which originate in the AS (2) or in the ET 200M (3) are transmitted as individual
messages to the OS via the plant bus. The message is transmitted along with the
corresponding time stamp. The messages appear in chronological order, with the time
they occurred, in the signal lists of the OS.
Event-signaling classes
Detected errors in PCS 7 own Process signals indicate Operating messages are
components (AS, OS, etc.). process events that take place generated when an operator
Process control signals are in the automated process, such controls process variables, for
generated by the driver blocks as limit value violations and example, changes the
in PCS 7 and do not have to be event signals. operating mode of a controller.
configured. Events signals are a subgroup Operating messages are
Such errors range from failure of process signals. They signal generated automatically when
of a component to a wire-break process variables which serve you use the faceplates which
signal for a connected I/O to evaluate a technological are provided by the PCS 7
module. variable, such as an elapsed- Libraries.
time counter.
System messages
System messages are all messages that are generated by the SIMATIC PCS 7 system.
Loop in Alarm
Process and control technology messages from technological blocks which are
visualized on the OS feature the "loop-in-alarm" function. You can use this function to
select the faceplate for this process tag straight from the signal list.
HH Alarm active
LL Alarm active
H Alarm active
L Alarm active
MO_PVHR
U_AH = HH Alarm Limit
U_WH = H Alarm Limit (Warning)
U
AH Alarm active
WH Alarm active
TH Alarm active
TL Alarm active
WL Alarm active
AL Alarm active
Scale.High
PV_AH = High Alarm Limit
PV_AH = High Warning Limit
1 2 3 4 5 6
Event: Ack Ack
LIA 224 yes
PV > U_WH time
no
Incoming alarm list in out in out
Journal list in in in in in in
Group Display
6
5
4
3
2
1
ES –
CFC (Test mode)
3
OS – Faceplate
2
Block
properties
AS
ES –
CFC offline
No change!
1 OS –
2
Faceplate
No change!
Updated!
AS
So there will be no consistency between the AS value and the value in the CFC chart
and the instance data block offline.
As soon there is made a complete compilation and download, the chart-version of the
value will be the actual value again.
This can be prevented by a Read Back…
ES –
CFC offline
OS – Faceplate
365
1
AS
Read back from
CFC Editor
Context menu
Task: Alarms
Goal
Proper settings for the limit values and applying an external alarm.
Checkpoint
Behavior/Features
The behavior of the “smart alarm hiding” in process operation is implemented as follows:
• The messages are hidden in the following alarm lists: incoming alarm list, outgoing
list, acknowledged alarm list and one line (except alarm journal, process alarm list,
operation list) and the group displays.
• During process operation you can manually hide the following lists:
− incoming alarm list
− outgoing alarm list
− acknowledged alarm list
• Currently pending messages which are hidden are displayed in the “list of hidden
messages” (except: gone messages).
• The “messages to be hidden” list contains all messages to be hidden upon arrival.
• Hidden messages can be made to reappear in the incoming alarm list or outgoing
alarm list via the “list of hidden messages”.
• Hidden messages are archived.
• If operator stations are redundant, the message archive is updated.
• The acoustic signaling (horn) of hidden messages is suppressed /acknowledged.
• The status of hidden messages is not displayed in the group displays of the process
pictures and faceplates.
• Manually hidden alarms are redisplayed after a defined time.
• Manually hidden alarms are acknowledged automatically.
• Manual alarm hiding is OS server specific.
• An operator message is generated when the operator hides and shows alarms
manually.
• When hiding and showing a message, a message with the status show or hide is
generated.
1
“Hiding Matrix”
2
STRep Rules
PIDConL
State1 (Filter)
MotL
State2
VlvL
State3
Alarms
AS
Blocks with
alarms Al
ar
m
s
STRep Archive
PIDConL
State1
MotL
State2
VlvL
State3
AS
Blocks with
alarms
See [103] PCS 7 V8.0 Engineering System - 12_2011, 6.9.4 for more details.
Plant conditions
Operating states
for hiding
• The definition of plant conditions is using enumerations which are defined in the
Shared Declarations in SIMATIC Manager’s component view. To do this, an
enumeration with the name "Operating State" is configured. Values from 1 to 32 can
now be defined as plant conditions in this enumeration. The value "0" is the
presetting for a "normal" plant condition. In this state the plant is within normal
operating limits and no alarms are hidden. You can now assign any plant conditions
to the values 1 to 32.
• In a multiproject consisting of several subprojects, the operating states are created in
the global declarations in the master data library and then updated in the multiproject.
The enumeration can of course also have a name different than "Operating State".
However, this enumeration must be explicitly selected in the properties of the
"StateRep" block. The enumeration "Operating State" on the other hand has been
preset.
The STRep block features 32 "StateX" Boolean inputs. These inputs correspond to the
values of the enumerations you have created in the first configuration step.
Block group
STRep block
Other
technological
blocks that can
generate alarms.
One technological area is composed of several technological blocks that can generate
alarms. To hide alarms for sub plants, you must combine all technological blocks of a
sub plant as one block group under an identifier (e.g. “MT”, “MaterialTanks”…).
All the blocks which are combined in a group are controlled by a STRep block. This
means that several STRep blocks have to be used where necessary to represent
several sub plants.
If the technological blocks of entire technological areas of a block group are assigned,
then this assignment is best made in the PO view.
“Hiding Matrix”
Process states
In the next configuration step you configure the “Alarm Hiding Matrix” in the PO view.
Here you can define which alarms of the group’s message capable blocks to hide for
which plant condition of the corresponding block group.
You facilitate the work by filtering the display in the process overview to the block
group currently to be configured. You filter according to “Column -> Block group” and
enter the name of the block group in “Display”.
Besides configuration in the process object view, you can also export the data to
CSV, edit (e.g. in Excel) and re-import them.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.3.18 for more details.
By hiding alarms manually, the operator can put those alarms out of sight which are
irrelevant for the present operating state.
Both, the changing of the hiding time as well as the display of the button for manual
hiding are delta download-capable.
Automatically hidden alarms are still displayed in the alarm list of the associated
faceplates. This allows you to see whether alarms are present for a measuring point
although automatic alarm hiding is active.
Goal
Smart Alarm Hiding for the Material tanks
Checkpoint
OS
States AS
Modes
Events
Process
The display can be installed into a picture as an autonomic object or as a part of a Block
icon.
Symbolic placeholder
2
3
Status Display
• Current Status: To be connected to a 1 bit, 8 bit, 16 bit or 32 bit tag. Using the
configuration dialog, a status can be formed by selecting bits from these tags.
Each bit of
Tag value
Result: Drag pictures
to State
Add a State
Status list
The status list shows the linked pictures and the specified flash frequency for all
configured states.
• States can be inserted and every setting can be changed with a pop-up menu.
• Pictures of the picture selection can be referenced by dragging them with the mouse
to the required position in the state list.
Bit Position
A state can also be assigned to a specific bit position on the tag.
0 0 0 0
0 0 1 1
0 1 0 2
0 1 1 3
1 0 0 4
Double click to
1 0 1 5
assign the picture
1 1 0 6
1 1 1 7
1. APL blocks provide output parameters Status1…4 offering 32-bit status words. The
bit allocation of these status words is described in the block help (section
“Description”, “Status word allocation for Status1 parameter”, etc…).
2. The Extended Status Display is equipped with the Attributes Status1…4 in the
theme Miscellaneous. These attributes can be linked dynamically to output
parameters of the block and give the status words 1…4.
3. The main feature of an Extended Status Display is to allow the formation of a status
value as result of a bit selection from the status words1…4. The bit selection has to
1. The group value is triggered by a tag which represents the message status. Other
dynamization types are not possible. The group value is usually interconnected with
a PCS 7 EventState. In PCS 7, this is usually the "EventState" tag of a process tag
(WinCC Tag Management, WinCC Tags).
2. The evaluation of the group value has to be activated in the Configuration dialog of
the Extended Status Display.
3. The alarm status results from the evaluation of the bits of the group value. If the
group value contains multiple bits, the priority determines which status is displayed.
4. Based on the evaluation of the group value above, pictures can be assigned:
24 23 20 3
0 0 0 0
Index calculation
includes the selected
bits of the Group value.
For the bits of the group value, you assign pictures for the "Came In" (+), "Came In
Acknowledged" (+Q) and "Went Out Unacknowledged" (-) statuses.
Goal
Status display of the stirring motors in the overview picture of the reactor
Checkpoint
What is your opinion…
• …why we recommend to export the
index table after changes?
Content 12
12 Archiving System ....................................................................................................3
12.1 Learning targets ..................................................................................................................... 3
12.2 Introduction ............................................................................................................................ 3
12.3 Archive configuration ............................................................................................................. 6
12.3.1 Preparing the OS for archiving .............................................................................................. 6
12.3.2 Alarm logging (of messages and alarms) .............................................................................. 7
12.3.3 Tag logging (of process values)........................................................................................... 10
12.4 Configuration of WinCC Controls......................................................................................... 13
12.4.1 Display of process value trends by the Online Trend Control ............................................. 13
12.4.2 Display of customized alarm lists in the process picture ..................................................... 20
12.5 Task and Checkpoint ........................................................................................................... 24
12 Archiving System
12.1 Learning targets
12.2 Introduction
AS block
OS Tag management
values and Alarm system
Tag Msg
Segments
Archives Backup
“Tag Logging Fast” archive type „Tag Logging Slow” archive type
• Acquisition cycles less than or equal to one • The Tag Logging Slow archive type is used when
minute. the acquisition cycle is longer than one minute.
• The default value of one minute can be
changed manually via the archive configuration
of the "Tag Logging Fast" archive type.
Compression and
circular logging
The archive values associated with TagLogging Fast and
also with TagLogging Slow (as of PCS 7 V7.0) are saved
in the database in a compressed state, although this does
not impair the quality of the values.
Short-term archiving
Long-term archiving
Please refer to our SITRAIN course PCS 7 OS Engineering (ST-PCS7OSE) for more
information about the design and configuration of long-term archiving in PCS 7.
Archive configuration
The system always offers two criteria for specifying the archive size of a single segment
and the overall size of the circular log:
• Definition of a time period
• Physical size in bytes
If one of these two criteria is exceeded, this will lead to a switch to the next segment in
the case of a single segment, or to the overwriting of the first segment of the entire
circular log.
Archive configuration includes settings in following tools:
• Definition of size and storing location (Logging Editors in WinCC Explorer)
• Selection of values (tags) and messages to be archived (SIMATIC Manager)
Archive size
Archive size definition consists in 2 inputs
• The maximum size of the overall archive (over all segments)
• The size of a single segment
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 11.3 for
more details.
Storage location
Short-term archive files (System archive) are always stored so that they are local to the
computer in the associated WinCC project.
To ensure complete documentation of archive data without any gap, you have to
configure backups for your archive data:
Select the
archive type
• In CFC:
I/O properties
Block properties
2 ways in CFC
Please note that in the process object view you only have access to tags intended for
representation in the Process object view.
Archive configuration
Configuration of archive size and storage location has to be done similar to the steps of
Alarm logging configuration in the “Tag logging” editor.
In contrast to archive type “TagLogging Slow”, the configuration of “TagLogging Fast”
consists in an additional tab “Archive contents”.
Calculation of the memory requirements of all segments for a specified time period
requires knowing, how many archive values are saved per second on average.
As a rule, no more than 200 single segments (for the TagLogging Fast/Slow and
AlarmLogging archive databases) may be generated in total.
See [121] PCS 7 Compendium part a - Configuration Guidelines - 03_2009, 7.4.2 for
more details.
4 6 8 10
11
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 11.13 for
more details.
Standard case You open preconfigured trend groups using buttons in process
pictures. You can analyze the trends and also manipulate the
trend fields using specified functions.
Creating or loading You open a "Trends Online" dialog box on the working range.
trend groups in
process mode
Load/configure
trend groups
Example:
Proportional area: 2
Proportional area: 1
If you create more than one trend windows in a Trend Control, then the property
„Proportional area“ allows to specify for each trend window how much of the trend
control will be taken up by it. It is a relational factor.
Example:
Trend window 1: Proportional area = 2
Trend window 2: Proportional area = 1
Result: The trend window 2 takes up twice as much space as the first trend window.
Each trend window needs for display of trends at minimum one time and one value axis.
Trend windows contain the trends which are created separately in the tab „Trends“.
Assign the
trend window
Assign the
trend window
List of available
trends
Graphical design
specifications
The trend specification consists especially in the configuration of the data connection.
You can choose between online tags and archive tags:
• 1 - Archive tags: This allows you to visualize tags written to the archive you created in
the "Tag Logging" editor.
• 2 - Online process tags: These are used to directly visualize measured values of the
process. This measured value is displayed to the operator as long as the Online
Trend Control is displayed in the process control. The measured value that is
displayed is not saved in the archive.
Tags from the archive and tags from the process can be displayed in a single Online
Trend Control.
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 11.13.5 for
more details about automatic transfer of properties for the value axis.
Data export
Values displayed in a Trend Control can be exported into a .csv file.
Enable the
Export button
for the process mode
If you export only a selection of the available data you have to select the range via
the rulers of the statistic function.
Enable the Help button of the Trend Control to provide support for online
operation/configuration in Runtime.
Moveable
ruler
Online
Trend
Control
Data Online
source Ruler
Control
i: measured
g: interpolated
• View messages without having to toggle to the message list in process mode.
• Choose what types of messages are displayed.
• Specify the information to be provided in the individual message blocks.
• Specify the exact contents of the message line.
1 3 5 7 9 11 12 13
2 4 6 8 10 14
15
You define by the Alarm Control configuration (tab „Toolbar“), which buttons will be available in
Runtime. This figure shows only a presetting.
See [104] PCS 7 V8.0 Operator Station - Configuration Manual - 12_2011, 9.3 for
more details.
Layout of the
alarm window Selection of
the desired
alarm list
Message Selection
The options available in the alarm control for the selection of messages are “Fixed
selection” and “Selections”. Both selection modes can be combined.
Result:
• Fixed selection
The fixed selection is permanently configured directly in the control, and is always
used in runtime. In addition to the fixed selection, various user-defined selections can
be configured.
• User-defined message selection
They can be enabled and disabled during runtime in the “Selections” dialog. The
selection criteria are saved for reuse: That is user defined message selections are
common WinCC project wide.
The selection dialogs created are not user specific but can be selected and
modified by all users.
The configured user-defined selections are only used in runtime if that selection is
enabled. It is possible to enable multiple user-defined selections simultaneously in
order to achieve a more precise, graduated selection.
The selection criteria created can also be made available on other clients by
configuring the standard server for SSM on one client.
It has to be considered that selection criteria which have been created on the
Engineering Station and which are transferred via a complete download to the OS
Station, will replace the existing criteria on the OS Station.
Data export
The system normally exports the data which are selected for display in the control. In
addition, the scope of data export can be defined in the “Export Data” dialog. The
options available are to export “All” or the “Selection”.
Enable the
Export
Copy selected
button
rows to clipboard
The “Copy rows” button allows to copy one or more selected rows of messages from the
control to the clipboard and then to paste them e.g. to an Excel table. The “Copy rows”
button can be enabled and disabled for selection in the “Toolbar” tab of the Control
Properties dialog.
Goal
A Trend of the material tanks, to be accessed by a button in the Reactors picture
Checkpoint
Content 13
13 Locking functions and operating modes ..............................................................3
13.1 Learning target....................................................................................................................... 3
13.2 Interlock ................................................................................................................................. 3
13.2.1 Overview of the locking functions .......................................................................................... 3
13.2.2 Locking logic .......................................................................................................................... 5
13.2.3 The interlock blocks ............................................................................................................... 6
13.2.4 The interlock faceplate........................................................................................................... 7
13.2.5 Bypassing interlocks .............................................................................................................. 9
13.2.6 Interpretation of the status displays..................................................................................... 10
13.2.7 Evaluation of the signal status "Simulation" in the technological block ............................... 14
13.2.8 Task and Checkpoint ........................................................................................................... 15
13.3 Local/Remote control and other operating modes............................................................... 16
13.3.1 Overview of the operating modes of APL ............................................................................ 16
13.3.2 Status diagram for the operating modes of APL.................................................................. 17
13.3.3 Operating mode "On"........................................................................................................... 18
13.3.4 Operating mode "Out of service" ......................................................................................... 18
13.3.5 Operating mode "Manual" and "Automatic"......................................................................... 19
13.3.6 Operating mode "Program mode" for controllers................................................................. 20
13.3.7 Operating mode "Local"....................................................................................................... 21
13.3.8 LocalSetting = 0 ................................................................................................................... 22
13.3.9 LocalSetting = 1 ................................................................................................................... 22
13.3.10 LocalSetting = 2 ................................................................................................................... 23
13.3.11 LocalSetting = 3 ................................................................................................................... 24
13.3.12 LocalSetting = 4 ................................................................................................................... 25
13.3.13 Deactivating interlocks......................................................................................................... 25
13.3.14 Forcing operating states ...................................................................................................... 26
13.3.15 Rapid stop for motors .......................................................................................................... 27
13.3.16 Priorities of operating modes and control functions............................................................. 28
13.3.17 Task and Checkpoint ........................................................................................................... 28
13.2 Interlock
13.2.1 Overview of the locking functions
Permission:
Activation (On) enable
Interlock:
Interlock without reset
Protection:
Interlock with reset
For locking drives (e.g.: “MotL” = motor control) there are three connections for the
corresponding blocks:
• "Permit" Switch on enable (enable),
• "Protect" Locking with reset (protection),
• "Intlock" Locking without reset (lock),
The function “Resetting the interlock via input signals” can only be
used in case of a feedback error or an interlock of the type "Protect".
ATTENTION!
The interlocking logic in the PCS7 standard library is the exact opposite:
A logic “0” means that the Interlock is not active and everything OK is (Good
state).
A logic “1” means that the Interlock is active (i.e. fail safe).
1
2
3
4
5
6
7
Bypassing means that the signal is excluded from the logic. If all input parameters are
bypassed the output value is defined via the “DefaultOut” parameter.
3
7 2
1
4
5 6
ATTENTION!
“NotUsed” is now used to change the color to gray. All other functions of the Interlock
block are not affected by this. This is meant to indicate to the user that this interlock
has currently no effect on the drive.
One possible application could be the interconnection of the “Motor runs” feedback
from the drive block to the NotUsed of the Interlock block which controls the enable.
If the motor runs the enable has no further meaning.
“Interconnected” faceplates can be called via the arrow keys in the Interlock faceplate.
For example, the faceplate of the MonAnL block which is interconnected with the
Interlock or the faceplate for “evaluating” MotL blocks.
Open bypass
operation
Open interlock
Valve is faceplate
locked
Result: valve is
Input is bypassed unlocked
• Interlock status:
If the locking signals are bypassed, the interlock status changes to unlocked.
• Signal Status:
If one of the interlock signals is bypassed, the signal status of the interlock block
changes to "Simulation".
• Bypass information:
If one of the interlock signals is bypassed, the signal status of the interlock block
changes to "Simulation" and the symbol for the bypass is shown instead of a signal
status.
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 6.9.8.2 VlvL standard
view and 7.1.3 Intlk02 functions for more details
Furthermore the Signal Status of the respective process signals is displayed in the
Interlock block and passed on to the technological block according to priority.
The block determines the signal status of the output signal, based on the signal status
of the input values from the configured logic operation according to the following table
(highest priority is 0):
General rules
• The best/worst signal status is generated according to the priority table for
technological blocks.
• The signal status of the output is generated from the best (lowest priority) or worst
(highest priority) signal status of those input signals (highest priority is 0), which are
interconnected and not excluded (relevant input signals) in accordance with the logic
operation and its result.
• If all inputs are excluded or not interconnected, the signal status of the output is set to
simulation 16#60).
Logical OR operation
• If the output value is 1, it has the signal status with the lowest priority of all interconnected input signals,
which have a value of 1.
• If the output value is 0, it has the signal status with the highest priority of all interconnected input signals.
• If the output value is 0 and at least one input is excluded, the signal status of the output is set to
simulation at best (16#60).
Feature Bit 23
If the Interlock block passes on the Signal Status 16#28 (bad, process-specific, red
factory) or 16#00 (bad, device-specific, red wrench), the interlock will be evaluated as
bad in any case (padlock closed, interlock effective).
You can use the Feature bit 23 (Evaluation of signal status) to specify if the signal
status of the inputs is to be checked for the values 16#00 or 16#28. The signal status of
the inputs itself remains unchanged here.
The default setting is 0.
• Bit = 0: No evaluation of the signal status. The status display within the interlock
block is always shown as "0".
• Bit = 1: the signal status is determined, an input with ST = 16#00 or 16#28 is
forwarded with value = 0. The "Negate signal" function at the input of the block has
no influence on the reaction in this case.
ST = 16#00
ST = 16#28
• If the output value is 0, it has the best signal status (lowest priority) of the relevant
input signals with a value of 0.
Example:
ST = 16#00
ST = 16#28
ST = 16#28
• If the output value is 1 and at least one input is excluded (bypassed), the signal
status of the output is set to simulation (16#60).
ST = 16#00
ST = 16#28
OR gate with
output value 1
ST = 16#28
• If the output value is 0, it has the worst signal status (highest priority) of all relevant
input signals.
Example:
ST = 16#00
ST = 16#28
OR gate with
output value 0
ST = 16#00
• If the output value is 0 and at least one input is excluded, the signal status of the
output is set to simulation (16#60).
Interlock condition is
regarded as a
bypassed signal
If the interlock signal has the status 16#60 ("Simulation") and the interlock condition is
fulfilled (e.g. Intlock = 1), the interlock is regarded as bypassed and displayed with
the icons for “bypassed” – in the faceplate.
Interlock condition is
regarded as a
simulated signal
If the interlock signal has the status 16#60 ("Simulation") and the interlock condition is
not fulfilled (e.g. Intlock = 0), the interlock is regarded as simulated and displayed
with the icons for "simulated” – in the faceplate.
If the Interlock block is interconnected with a driver block and the Interlock block
displays a yellow hand as the signal status, this will not necessarily indicate a
simulation. If the process value is faulty at the channel driver and a substitute value
was parameterized, the driver will also pass on the signal status simulation to the
interlock block and the symbol will be displayed in the OS.
Goal
Preventing to have more than one dose valves opened
Checkpoint
Controller
Automatic mode
Manual mode
Program operation
Out of service
ModLiOp = 0 ModLiOp = 1
See [113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.10 for a description
of these „Feature“-Bits. Also check the online help.
13.3.8 LocalSetting = 0
13.3.9 LocalSetting = 1
Remote 0
Local 1 No operation
Off
On
No switchover
Motor control
For LocalSetting = 1 the control signals are from the field (remote, off, on) via
channel blocks to interconnectable parameters of the motor block.
The motor block forwards the start signal via channel blocks to the MCC (Motor-Control-
Center) which switches the motor on.
The feedback of the running motor is forwarded from the MCC at the motor block via the
interconnectable parameter FbkRun.
In Local mode, no operation is possible from the faceplate. Switching to other modes is
also not possible.
13.3.10 LocalSetting = 2
Remote 0
No operation
Local 1
Off No switchover
Motor control
On
In this case the Local switch is directly connected with the MCC which can directly
switch the motor on or off.
The motor block is controlled via a tracking of the feedback message. The control of the
input signals StartLocal and StopLocal is ineffective in this case. Switching over
into another mode is not possible here, since it is switched over via LocalLi. I.e. the
Local mode is controlled from the field.
The output parameter LocalAct, which is connected to the MCC via a channel driver
Pcs7DiOu, sees to it that switching on and off locally is also only possible in Local
mode.
13.3.11 LocalSetting = 3
No operation
Off
On
Motor control
In case of LocalSetting = 3 the control signals are coming from the field level
(on/off). This setting works as in LocalSetting = 1.
The difference is that the Local mode is selected via the faceplate.
13.3.12 LocalSetting = 4
No operation
Off
Motor control
On
In case of LocalSetting = 4 the control signals are from the field (on/off).
This setting case works as in LocalSetting = 2. The difference is that the Local mode
is selected via the faceplate.
The output parameter LocalAct, which is connected to the MCC via a channel driver
Pcs7DiOu, sees to it that switching on and off locally is also only possible in Local
mode.
Via the input parameter BypProt (bypass protection) it can be specified whether
interlocks are taken into account in Local mode or not. This functionality applies for all
LocalSettings in Local mode. A “0” at the input means that interlocks are taken into
account in Local mode and a value “1” means that the interlock has no effect.
The interlock is displayed as a lock next to the Protection button in the faceplate. A
crossed-out lock refers to an interlock which is not in effect (BypProt = 1).
In case the control signals go directly to the MCC, an interlock to the MCC can become
effective through the output parameter LockAct at the motor block.
Block icon A forced operating state is shown in the block icon for motors,
valves and dose blocks by means of a red F and a crossed out
padlock.
There is no indication for controller blocks.
Activated with
feature bit 14
Rapid stop has the highest priority in all operating modes (manual and automatic mode
as well as local mode) and operating states (such as the forcing of states). It is activated
via the faceplate. This depends on the setting at the Feature bit 14 (Enabling rapid
stop via faceplate).
You issue the command for rapid stop state using the RapidStp = 1 input parameter.
When you click on the "Rapid Stop" button in the faceplate, the drive stops immediately,
shown as follows in the faceplate:
The R_StpAct = 1 output parameter is set to implement the rapid stop function for
local mode. You need to interconnect this parameter to the corresponding driver block
and in the I/O to realize the rapid stop function in the hardware.
Rapid stop is unlocked for all operating modes with the "Reset" button in the faceplate
(ResetOp = 1); in CFC it is unlocked with the ResetLi = 1 input parameter.
Rapid stop can be selected even with the motor in stop state. In this case, the motor
start is prevented.
Out of Service
BypProt = 0
Local mode LockAct
Priority
Localsetting = 2/4)
Forced operating
State
(Forcing)
Goal
Local operation of M316 using the Signal Box
Checkpoint
Content 14
14 Mass data engineering............................................................................................3
14.1 Learning target....................................................................................................................... 3
14.2 Chart Reference Data............................................................................................................ 3
14.3 The Import Export Assistant (IEA) ......................................................................................... 6
14.3.1 Process Tag Types: Overview of the procedures.................................................................. 7
14.3.2 Example: Level measurement for the reactor........................................................................ 8
14.3.3 Task and Checkpoint ........................................................................................................... 15
14.3.4 Models ................................................................................................................................. 16
14.3.5 Tasks and Checkpoint ......................................................................................................... 16
14.4 New Type Model .................................................................................................................. 17
14.4.1 Task and Checkpoint ........................................................................................................... 18
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Different views
After opening you can select a view for one or more windows:
Navigation
From several lists you can navigate to the related elements in the charts:
The function
"Support forcing” is not
set at the chart folder
Prerequisite
A master data library is required to use the function of the IEA.
Principle
Export file
PT
Export PT
PT
When data has been changed in the Process Tags
Process tags are derived as a large number of individual instances from pre-defined
process tag types by use of the Import-Export assistant.
This tool allows to create and to edit a so-called import file. After edition (using IEA, or
any editor like Notepad, Excel), the re-import of the modified file results in automated
creation of a large numbers of process tags correctly placed in the plant hierarchy.
Starting point
Starting point is the existing chart Reactors\R310\LIA314.
Based on this one, new charts are to be created for the other 3 reactors.
After completing the procedure, level measurement for 4 reactors will exist.
They will differ from each other:
• Chart name and position in the plant hierarchy
• Signal from I/O
• Scaling of the signal
• Block comment
The selecting as indicated above is not done in the opened chart, but as a part of the
creation procedure…
After the completion of this creation procedure, the Process Tag Type will be present in
the Master Data Library:
Import File
Next step is the creation of the Import File.
It will be based on a copy of the Template File, which can be created during this
procedure.
Starting point is the Process Tag Type LIA3x4 in the Master Data Library.
After clicking on OK a dialog window will be displayed to allow you to specify details for
the layout of the column groups.
In the next screen copies you will find the default setting, but marked with circles, which
is actually being used in this demo.
After clicking on OK, the File Template will be created, and will be set as the current
Import File.
Because of the matching column title in the import file and process tag type, the
assignment between the I/O points in the import file and process tag type is made
automatically:
Benefit of the creation of a template file is that the table contains 1 filled up line
representing the data of the original chart the process tag type is based on.
The table now is to be edited with data representing the new charts you want to
generate (Process Tags):
Import
The import procedure will make as many new copies of the chart, and to every copy
changes will be made due to data in the corresponding line in the import file:
Starting point is again the chart LIA3x4 in the Master Data Library:
(create cha
Select the proper import file to the process tag type. After clicking the Finish button in
the last window the import will actually start.
(create charts
1 2
1) The interconnection descriptions from the import files are not only written to the
assigned I/Os, but also to the symbol tables of resources for the relevant hierarchy
folders.
2) Any open textual interconnections are automatically closed during import.
A log will be displayed and saved in a file:
Final result
The final result:
• New hierarchy folder with new charts
• Data in the chart due to the data in the import file
Final Result
Changed symbol
for a process tag
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.7 for more details
Goal
New (temporary) charts for controlling the 5 valves of D220 and R320, based on a
Process Tag Type.
Checkpoint
What is your opinion?
• How to proceed if another person wants
to fill up the import file on an office PC?
14.3.4 Models
Models use a similar procedure as Process Tag Types, but there are differences:
Connection Will be copied only for connections Will be copied, as long it is between the objects
between blocks in the single chart of the model, including CFC - SFC - picture
Create Model…
For creating a Model you can start with an existing hierarchy tree.
At creation it will be copied to the Models folder in the Master Data Library.
If pictures are part of the model, an OS will be created in the Component View of the
Master Data Library, to contain the pictures.
Start the Create Model … procedure from the hierarchy folder displayed in the right
hand window pane!
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.9 for more details
Goal
All controlling and monitoring functions for D220/R320, D230/R330 and D240/R340,
based on a model.
Understand the use of the tool Chart Reference Data
Tool for the bulk engineering: Tool for the bulk engineering:
Import Export Assistant (IEA) Advanced ES (optional package)
Reimport of the Importfile using the IEA: Synchronization of type and instance:
Use of different Input blocks for same Use of Variants with optional Input blocks:
technological function:
Handling options
Checkpoint
Content 15
15 Final steps of configuration ...................................................................................3
15.1 Learning target....................................................................................................................... 3
15.2 AS-AS Communication .......................................................................................................... 3
15.2.1 Overview ................................................................................................................................ 3
15.2.2 Automatically configuration of AS-AS communication .......................................................... 4
15.2.3 Manually configured connection to a specified AS ................................................................ 7
15.2.4 Manually configured connection to an unspecified AS.......................................................... 8
15.2.5 Using manually configured AS-AS connections: Communication blocks in CFC charts....... 9
15.2.6 Task and Checkpoint ............................................................................................................. 9
15.3 Configuration in Run ............................................................................................................ 10
15.3.1 Existing configuration........................................................................................................... 10
15.3.2 Activate CiR capability ......................................................................................................... 10
15.3.3 Reservation.......................................................................................................................... 11
15.3.4 Check CiR Compatibility ...................................................................................................... 13
15.3.5 Adding modules ................................................................................................................... 13
15.3.6 Download ............................................................................................................................. 14
15.3.7 Save and Compile ............................................................................................................... 14
15.3.8 Workflow overview............................................................................................................... 15
15.3.9 Task and Checkpoint ........................................................................................................... 15
15.4 Simulation ............................................................................................................................ 16
15.4.1 Block-external simulation..................................................................................................... 16
15.4.2 Block-internal simulation...................................................................................................... 17
15.5 Forcing block I/Os ................................................................................................................ 19
15.5.1 Preparation: Support forcing and Add forcing ..................................................................... 20
15.5.2 Forcing active and Force value............................................................................................ 21
15.5.3 Exit forcing ........................................................................................................................... 22
15.5.4 Task and Checkpoint ........................................................................................................... 22
1.
2.
3.
AS01 AS99
Connection
AS-AS Communication:
Exchange of information
between blocks
Use cases
• Plant expansion or changed customer requirements may result in an overload of an
AS-CPU. In such cases an additional AS system can be a sufficient solution.
• Already existing automation solutions have to be integrated into a plant. This may
require also an integration of already configured AS systems. Possible plant-wide
automation functions require AS-wide communication.
AS-wide interconnections
Since PCS 7 V7.1, cross-chart interconnections are now also possible if the CFC charts
exist in different AS’s. To accomplish this, simply open the CFC charts and arrange
them in such a way that the source can be connected with the destination. If the source
and destination are located in different AS’s, an AS-AS interconnection is automatically
configured in NetPro.
Prerequisite:
The AS stations have to be part of the same ethernet segment.
If the "first" cross-chart interconnection was established between ASx and ASy, then
this interconnection need to be loaded as follows.
1. Open and compile NetPro
2. Load connection in ASx and ASy
To load the interconnection in ASx and ASy, you have several options:
− PLC > Download to Current Project > Selected Stations
− PLC > Download to Current Project > Connections and Gateways
− Download selected connections
Only the function "Download selected connections" should be used to download
the connection, to avoid an AS stop or an initialization of the existing connections and
therefore a disturbance of the plant operation.
Select the corresponding AS (e.g. ASx) in NetPro and then the connection which you
want to load.
Result in NetPro
Merging Subnets
If the AS-wide interconnection is rejected with the "NETPRO error", the cause of the
error has to be corrected, e.g. by merging the subnets in NetPro:
Edit > Merge/Unmerge Subnets > Ethernet Subnets"
After having merged the subnets, the two CFC charts have to be opened again. In one
of the charts, click the connection to be interconnected and in the other chart on the
interconnection partner. An interconnection line to the side bar should now be
established automatically. In the small field on the side bar, the AS-wide interconnection
is marked by a green triangle.
Local ID of the
Local ID Local ID connection
of AS08 of AS99
See [302] PCS 7 CFC for SIMATIC S7 - Function Manual - 12_2011, 9.7.2 for more
details
Starting
point
Connection
partner, specified
in the multiproject
After clicking the OK button, the properties of the connection are displayed:
AS06
08-00-06-9C-EA-F6
Chart in AS08
Chart in AS99
Goal
Exchanging data between two AS stations
Checkpoint
Example
As an example, here we will add 2 modules to an existing modular slave.
15.3.3 Reservation
After the activation of the CiR capability there will be objects displayed to represent
reservation of address areas supported by the CiR function:
Address
ranges left
Check
compatibility
15.3.6 Download
HW Config change
Yes
Fault?
No
Download in RUN mode (CPU online check)
Yes
Fault?
No
Close HWConfig
WITHOUT saving ! !
Goal
Modification of the configuration on Profibus during operation, without stop of the CPU
Checkpoint
15.4 Simulation
Simulation means the manipulation of a signal regardless of the actual source of the
signal or logic that generates this signal.
Simulation is carried out either at the field device (externally from the control system)
itself or at a block (internally in the control system).
During the simulation, every block is considered in isolation. There are two different
forms of simulation here, namely:
• Block-external simulation and
• Block-internal simulation.
In either case the status of the signal is set to the simulation value (16#60)
ATTENTION!
The process output is not influenced by the simulation. This means that the motor or
the valve will be operated. The only exception is the block-external simulation of the
output driver.
Simulation is
displayed
Value can‘t be
changed in the OS
In the picture above, the process value has been set to simulation.
The block-external simulation has the following effects on the functionality of the block:
• The technological functions are not influenced
• All the process-relevant output signals do not receive the simulation status. In the
case of technologic blocks, process-related output signals are parameters that
actively affect the process, e.g. "Start" for block MotL.
• In the case of blocks with operator control or monitoring functions (for example
faceplates), these signals are identified in the faceplate with the status for the
simulation as follows:
• Blocks with one or more input parameters for signals with "Generate status from
individual status" receive a group status in accordance with the priority table. This
group status is displayed in the status bar of the block icon and of the operator block
with the simulation status as follows:
For the output channel blocks, you need to specify the exact block response with
external simulation using the Feature bit 30 “Outputting a de-energized value for
block-external simulation”.
With channel blocks, ensure that the Mode parameter is set correctly during
simulation. Otherwise this is displayed on the Bad = 1 output parameter with a higher-
level error.
Simulation takes place in runtime using operator input in the faceplate's parameter view
by clicking on the "Simulation" button.
Simulation is
displayed
Value can be
changed in the OS
• The group status of the block is displayed in the status bar of the block icon and of
the operator block with the simulation status as follows:
• All the process values displayed in the faceplate that cannot be operated-controlled
in normal operation (e.g. PV).
• When the control function of the block can be manipulated, the read-back and
feedback values (for example Rbk, FbkSpd1) are adjusted according to the
manipulation of the control settings
• Associated values (for example UserAna1) cannot be simulated.
• The interlocking functions of the block are disabled and are displayed using the
corresponding icon in the faceplate and in the block icon as follows:
Introduction
During commissioning, you can simulate a variety of values for an interconnection by
permanently overwriting the value of an interconnection with a forced value.
During forcing, the interconnections between the blocks are temporarily removed and
force values are assigned to the corresponding inputs (IN or IN_OUT) of these
interconnections.
For reasons of performance, neither the chart folder nor the block inputs are activated
for the forcing. If a block input on a block is to be forced, first the chart folder and then
the desired block input(s) is/are to be released for the forcing.
You can activate and deactivate forcing at the input of the block instance at any time.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.3.15 for more details
General procedure
Forcing is controlled by the following attributes:
Forcing active
Block I/O properties. Can be done in
Test mode
In the case of forcing, a new system chart @FRC_CFC is automatically installed with
a runtime group of the same name in OB1 during compilation. The message block
FRC_CFC is added to this chart, as well as being added to the OB100.
If forcing is disabled, the block, the system chart, and the runtime group are removed
again from the program the next time you compile and download.
2. After having activated "Support forcing", "Add forcing" can be activated in the object
properties dialog box of the interconnected block inputs. Now only compilation and
download of changes are required.
The action in the CFC editor is done offline; therefore always a download of changes is
required, to make the changes active.
After the “Add forcing” action, the input parameter is marked by a green rectangle.
When the check box “Forcing active” is activated, the value of the interconnection is
permanently replaced by the force value. The value of interconnection becomes active
again when forcing is disabled. Use the "Force value" textbox to enter a value to be
applied to the block input.
After the “Add forcing" and "Forcing active" action, the input parameter is marked by a
red rectangle.
A change in CFC Test mode does not require recompiling. The "force values" have a
blue background. The “force value” is valid just after activating the checkbox “Forcing
active”.
In the process object view, the block inputs which have been added for forcing are
displayed when the corresponding attribute (S7_edit) is set. In the process object view,
the user has the option to select block inputs via a filter. There are three filter settings
available for forcing:
• Add forcing
• Forcing active
• Forcing value
• If you exit the test mode and further values have been added for forcing in this AS, a
corresponding message is displayed.
The "Forced block I/Os" list in the chart reference data provides an overview of all block
I/Os for which "Forcing active" is still activated.
• If "Support forcing" is deactivated in the chart folder, a message is displayed stating
that a complete compilation has to be performed.
Task: Simulation
Goal
Test the high warnings of LIA134
Checkpoint
Content 17
17 Demonstration: Server-Client Systems .................................................................3
17.1 Learning target....................................................................................................................... 3
17.2 System architecture ............................................................................................................... 3
17.3 Configuration Steps ............................................................................................................... 6
17.3.1 Setting up the multiproject ..................................................................................................... 6
17.3.2 Configuring the functional information ................................................................................... 7
17.3.3 Distributing the configuration information .............................................................................. 8
17.3.4 Information flow chart ............................................................................................................ 9
1.
2.
3.
4.
5.
6.
7.
8.
9.
OS server
An OS server is connected to the automation systems and receives the process data.
By using more than one OS server, you have the option of distributing data over multiple
OS servers. For example, for a large plant, you can store a plant unit on each OS
server.
The advantages of distributed systems are:
• Good scalability
• Isolation of plant units
• Higher availability as a result of good scalability and isolation of plant units
PCS 7 supports simultaneous access of an OS server to several other OS servers
(Server- Server communication).
An OS server can have also operator control and monitoring functionality only if a
maximum of four OS clients access this OS server.
OS clients
OS clients are used in process mode for operator control and monitoring. OS clients
access the data of the OS server, visualize this data and allow operators to control the
process. Data from several OS servers is displayed in a process picture that is
displayed on the OS client. You can connect up to four process monitors to OS clients.
This requires the use of multi-VGA cards.
ES
The engineering system is structured on matching applications, facilitating the central,
project-wide engineering of all the components on a PCS 7 plant. This includes also the
central configuration of OS servers and clients.
Engineering
System Operator System
Client
4
2
6 Terminal Bus
Operator System 3
Server
Plant bus
5
Automation 1
System
Field
1
5
2
4
3
Differences:
Plant hierarchy
AS project
OS project
ES Simatic Manager, Configure the stations (ES, AS, OS server and networks
HWKonfig, NetPro
User authorization
You need a defined administrator account for the administration of the operating system
and the PCS 7 installation. The user account control is to be activated. It is
recommended for the productive operation of a PCS 7 system to operate the stations
with a user account without administrative rights.
Siemens TIA Engineer is a new user group required in Windows 7: It authorizes the
respective user without administrator rights to adapt the SIMATIC PG/PC interface
including CP16x3 .
Thus, the role "project engineer" under Windows 7 / Server 2008 needs the following
rights for the ES and the respective destination stations:
• User + Siemens TIA Engineer + SIMATIC HMI
or
• Administrator + SIMATIC HMI
Power user rights are still required under Windows XP /Server 2003.
Shared folder
• Target path = Path to shared folder on target PC.
• Full access for user groups listed above or for everyone if there are no security
considerations
Computer names
Computer names must not be changed after a PCS 7 installation. We recommend using
a PC stations name identical to the physical computer name of the corresponding
station. This concerns all PC stations (ES, OS server, OS client).
The PC station name of the OS client has no further functional relevance.
PLC configure
The station configuration information has to be transferred from the project to the local
stations. This transfer occurs via a network connection using TCP/IP, in other words, in
most cases via the Terminal bus. OS clients cannot be configured.
ES Simatic Manager Create the plant hierarchy and update it in the multiproject
ES Simatic Manager Create Server data (if not already done during OS compilation)
Local Windows Explorer Distribute customized graphic files (faceplates, meta graphics)
Engineering
System Operator System
Client Defined by
Load OS server data
Client
Terminal Bus
Plant bus
Automation
System OS-AS
connection
Content 18
18 Syntax Rules..............................................................................................................3
18.1 Special Characters ...................................................................................................................3
18.1.1 General Background Information..............................................................................................3
18.1.2 PC(s).........................................................................................................................................4
18.1.3 ES .............................................................................................................................................4
18.1.4 OS.............................................................................................................................................5
18.2 Maximum Length for Names.....................................................................................................6
18.2.1 ES – CFC..................................................................................................................................6
18.2.2 ES – SFC ..................................................................................................................................6
18.2.3 ES – Blocks...............................................................................................................................6
18.2.4 ES - General Naming in Project................................................................................................7
18.2.5 OS – Alarm Logging .................................................................................................................7
18.2.6 OS – Pictures and Variables.....................................................................................................7
18.3 Rules for Naming in the PH ......................................................................................................8
18 Syntax Rules
18.1 Special Characters
This section provides information on which special characters should not be used in
your PCS 7 projects.
18.1.2 PC(s)
18.1.3 ES
18.1.4 OS
18.2.1 ES – CFC
CFC Chart naming is restricted to a length of 22 characters. Anything longer will be
truncated. Any object placed on the chart, such as a block, has a maximum character
length of 16 for naming.
18.2.2 ES – SFC
18.2.3 ES – Blocks
Note
The characters [ ' ] [ . ] [ % ] [ \ ] [ * ] [ ? ] [ : ] [spaces] within a name are converted to
the substitute character $ when you compile the OS.
The ES separator [ \ ] is converted to the [ / ] character.
If, for example, you assign the name "TICA:1" for a CFC chart (this becomes
"TICA$1" on the OS) and the name "TICA*1" for another CFC chart, (also becomes
"TICA$1"), you will receive an error message when you transfer the second chart
because the chart name already exists.
• The maximum length of a tag name is 128 characters. Remember, however, that
many of the editing windows on the OS can not display 128 characters in their
entirety. You should therefore restrict the length of the HID.
• Remember that special characters associated with certain national languages take
up two characters, thus reducing the maximum name length accordingly.
• Remember that the length of the texts transferred depends on the maximum text
length of a target block in the OS (Tag Logging, for example, event 50 characters;
origin 32 characters). When compiling the "OS" texts up to a maximum length of 255
characters are transferred.
Remedy:
Increase the maximum character length of the user text field or select a shorter HID.
• The message texts of the transfer messages are made up of the hierarchy path, chart
name, and the block name (if you decided to include the names in the HID).
Content 19
19 Tasks ........................................................................................................................3
19.1 Multiproject............................................................................................................................. 3
19.2 Station Configuration PC ....................................................................................................... 5
19.3 Station Configuration AS ....................................................................................................... 6
19.4 Plant Hierarchy ...................................................................................................................... 7
19.5 Drivers for the Signal Box ...................................................................................................... 8
19.6 Installing the process simulation.......................................................................................... 10
19.7 Material Tank M110 ............................................................................................................. 11
19.8 Everything of D210, R310 and B410 ................................................................................... 14
19.9 Launch of the OS................................................................................................................. 16
19.10 M120 and M130 ................................................................................................................... 17
19.11 Level bar objects in tanks .................................................................................................... 18
19.12 Auto Mode for the material tanks......................................................................................... 19
19.13 First Sequence for R310...................................................................................................... 21
19.14 Complete Sequence for R310 ............................................................................................. 23
19.15 Holding and resuming.......................................................................................................... 27
19.16 SFC Objects......................................................................................................................... 28
19.17 Users.................................................................................................................................... 29
19.18 OS Project editor – Area buttons … .................................................................................... 30
19.19 Time Synchronization and Lifebeat Monitoring ................................................................... 31
19.20 PCS 7 compliant picture change ......................................................................................... 32
19.21 Project Editor - Message Display......................................................................................... 33
19.22 Alarms.................................................................................................................................. 34
19.23 Smart Alarm Hiding.............................................................................................................. 35
19.24 Status display for stirring motors ......................................................................................... 36
19.25 Archiving the Material Tanks levels ..................................................................................... 37
19.26 Interlock for the dose valves ................................................................................................ 38
19.27 Local operation of M316 ...................................................................................................... 39
19.28 Valves as a Process Tag ..................................................................................................... 40
19.29 Model of the reactor............................................................................................................. 41
19.30 AS-AS communication......................................................................................................... 43
19.31 Configuration in Run ............................................................................................................ 45
19 Tasks
19.1 Multiproject
Goal
A Multiproject as the starting point for implementing the training application.
Main steps
1. In SIMATIC Managers Customize Dialog Window, check the storage locations for
projects / multiprojects, libraries and archives.
Your instructor may supply you with the current local information.
6. As a directory name for the Multiproject, select Teamxx, where xx is your team number.
Your instructor may supply you with the current local information.
7. After clicking the Finish button in the final page of the wizard, the Multiproject will be
created. This may take a few minutes.
8. After the creation, select the Multiproject icon in the Component view and activate Show
All Levels (View menu).
10. Retrieve the Course Library_V.. to the storage location for libraries.
Your instructor may supply you with the current local information.
Do not open this library in its own window, but have it inserted into the Multiproject.
12. For the project and both libraries, select two different languages as the languages for
Display Devices, with English as the Default Language.
Goal
A configured SIMATIC PC Station, both in the project and the Station Configurator.
Main steps
1. In the Properties of the SIMATIC PC Station, check the setting to have the Computer
name identical to PC Station name.
3. In the Component view, open the PC Station configuration. You will find the “WinCC
Appl.“ positioned at Index 2, because of the creation by the PCS 7 Wizard “New
Project“.
4. From the Catalog, insert the proper CP Industrial Ethernet into the Index 1 position.
Supply the module with the proper addresses (both MAC and IP) and have it
connected to the Ethernet network of your project.
5. For these changes, activate Save and Compile and close the HW Config editor.
6. From the SIMATIC PC Station icon, activate using its context menu the options for
configuring and download the station configuration.
Goal
A configured SIMATIC S7-400 Station, to be used as the AS in the training application.
Main Steps
1. Ask your instructor for all relevant details concerning the training equipment for making
the proper configuration settings.
4. Make all required properties settings for the CPU and network modules.
7. For the 8 channel analog input module: have channel 5-8 deactivated.
10. After Save and Compile and Download, switch to the Online Diagnostics to check if
the configuration is OK.
Goal
The starting point of the Plant Hierarchy
Main steps
Johnsson
Material Tanks
M110
Buffer Tanks
B410
Reactors
R-General
R310
Dose
Mix
Heat
Level 1
Level 2 Drain
Level 3
Level 4
2. Check if the assignment of all hierarchy folders is to the Charts folder of your AS.
4. Using HW Config of the AS, insert symbolic names for the 3 signals of the relay:
• output: “Relay”
• input: “Relay_NC” (normally closed)
• input: “Relay_NO” (normally opened)
Goal
5 charts containing drivers for the I/O signals of the Signal Box.
Main steps
1. Assign symbols to some channels of the 4 modules of the ET 200M rack connected to
Profibus DP. Find the signals to use now in the table below. Check the 2 function
diagrams of the digital and analog signals to identify the used channels.
3. In the “Signal Box” folder insert a new chart called “Relay”. Have it in the OB33 run
sequence.
4. Insert 1 digital output driver and 2 digital input drivers, and connect them to the
addresses of the Relay:
• Output: „Relay“
• Input: „Relay_NC“ (normally closed)
• Input „Relay_NO“ (normally opened)
5. In the “Signal Box” folder insert 2 new charts, installed in the run sequence of OB32,
called “SignalBoxAnIn” and “SignalBoxAnOu”. Have the proper Analog input and
output drivers inserted and connect them to the symbols you created earlier.
6. Make 2 charts, installed in the run sequence of OB33, called “SignalBoxDiIn” and
“SignalBoxDiOu”. Have the proper Digital input and output drivers inserted and connect
them to the symbols you created earlier.
7. Perform the Compile and Download procedure for the first time. You can only select
the Entire program at the Scope and Download mode.
8. In the CFC editor, set the Laboratory Mode in the Debug menu, and set the Watch
cycle to 1 second.
9. Activate test mode and check the update of the configured driver inputs and outputs:
• inputs of the Signal Box: just watch the outputs PV_Out of the drivers;
• output of the Signal Box: parameterize the inputs PV_In of the output drivers.
10. Make a Dynamic Display named “Digitals Signal Box” and add the signal from the
digital drivers:
• PV_Out from the Input drivers
• PV_In from the output drivers.
Watch the input values in the table and modify the values to the outputs.
11. In the chart “SignalBoxAnIn”, add some blocks to calculate the average of the two
analog inputs. Also insert a Lag block (family Math), connect its input In to the average
value and set the LagTime parameter to 10.
12. Make another Compile and Download, but from now on with the scope / Download
mode called Changes only.
14. Make a Trend Display named “Analogs Signal Box”. Use the first 4 channels for AI1,
AI2, the average value and the output of the Lag block. Connect channel 5 … 8 to the
signals of S1 … S4.
Watch the behavior of the Trend Display.
15. Connect the average and its lag version to the 2 analog outputs for displaying at the
Signal Box and have it tested.
Goal
A running process simulation of the Johnsson plant.
After this task the functions for the plant can be configured.
Main steps
1. Copy the chart “@Johnsson” from the Course Library Charts folder to the Charts folder
of your AS.
2. Open both symbol tables of the Course Library and of your AS.
4. Sort the contents of the library table for the Address column in ascending order.
5. Copy the lines with the input and output addresses (by highlighting the line numbers)
and paste them in the symbol table of your AS (put your pointer in the Symbol field of
the last line before your perform the Paste).
You should have copied 127 lines.
7. In the plant hierarchy, copy the chart “Relay” and paste it into the folder
Johnsson\Reactors\R310\Dose.
9. Open the chart, and change the 3 addresses to the addresses of V311.
10. For the output driver, parameterize input Mode with the value 16#8000FFFE
11. For both input drivers, parameterize input Mode with the value 16#8000FFFF
12. Make a new Trend Display called “Temp_V311” and connect the 3 values from the
drivers.
13. Test the function in the chart, using the Trend Display and watch the behavior of the
control signal and both feedback signals.
Goal
Configure the AS functions for Material Tank M110. Measuring and monitoring the level
of the tank and controlling and monitoring the valve and the pump, based on templates
from the library.
Main steps
1. In SIMATIC Manager, open the Library “PCS 7 AP Library V80” and select its chart
folder “Templates” (Component View).
2. Copy 4 charts into the “Process tag types” folder of your Master Data Library (Plant
View):
• AnalogMonitoring
• MotorLean
• PIDControlLean
• ValveLean
4. Before the charts will be copied into our application, we will first adapt some settings:
5. Close all charts and use the Plant view of your Multiproject to copy 3 charts:
6. For each of the 3 charts, open the “Properties CFC chart” dialog, and active the “Clear”
button in the “Process tag type” tab.
AnalogMonitoring LIA114
MotorLean P113
ValveLean V112
12. In this temporary chart, install a copy of the output driver from chart V112.
13. Connect this driver to address “V211” and set the value 1 for both inputs SimOn and
SimPV_In.
15. Open only the 3 charts of M110, have their windows arranged next to each other, and
active Test mode.
16. The content of the tank should start with 5700 kg, but when the valve is opened and
the pump in running, the content should decrease with about 3 kg per second.
17. Finish this task with the pump stopped and the valve closed.
Goal
All devices of D210, R310 and B410 monitored and controlled in manual mode.
Main steps
2. In your Master Data Library, open the Process tag type “PIDControlLean” to make
some adjustments.
3. Copy the Pcs7AnIn driver into the lower left corner of sheet 1 of this chart, and rename
it to Rbk.
4. At input PV_In, change the Interconnection to Address to the text “Read back”.
5. Connect the output PV_out of the new driver to the input Rbk of the controller block.
6. From both Or04 block, have the input In2 set to visible, and make proper connections
to the new driver.
7. Close this chart now and copy it from the Master data Library to the plant hierarchy:
Johnsson\Reactors\R310\Heat and rename it to TICA315.
8. For this chart, open the “Properties CFC chart” dialog, and active the “Clear” button in
the “Process tag type” tab.
9. Open the chart TIC315 now and use the I/O addresses:
• input for PV: TT315
• input for Rbk: CV315_X
• output: CV315
13. Open in SIMATIC Manager the Process Object View, and use the object tree on the left
window pane and the tab General on the right to make copies of the 3 charts in the
M110 folder:
14. In the right window pane, select the Signals tab, and devide the table in such a way,
that you have the columns Chart and Signal next to each other.
15. Change in the column Signal the I/O addresses to the proper ones. Do this by selecting
the folders B410, Dose, Drain and Mix one by one.
17. In the left window pane (tree) select the Johnsson folder.
18. Sort the table to the content of the Block icon column in ascending order.
19. Scroll to the bottom of the table, and fill in the 15 empty Block icon fields the value 2.
20. Filter the content of the table by column Block icon with value 2 and sort using the
column Chart in ascending order.
22. In SIMATIC Manager, also open the symbol table of your AS and sort the content to
symbols in ascending order.
23. Copy from the symbol table the content of the Comment field of some I/O addresses
and paste it in the Block Comment field of the Process Object View, to have a
representive name for the control and monitoring blocks. These names we will discover
later on the OS.
24. For the 3 new LIA… charts, adjust the Scale input of the driver to the measuring
range.
25. Don’t forget to perform at last a Optimize Run Sequence, before you send the changes
to the AS.
26. Test every single device. For the TICA315 use a Trend Display “TICA315”.
Goal
A running OS based on the AS functions configured up to now.
Main steps
4. In the Component view, select the OS and if present, delete any existing picture.
5. Copy the 6 supplied (background) pictures from the Course Library (OSLib) to the Plant
Hierarchy / regarded folders (just by drag & drop).
6. In hierarchy folder Signal Box, insert a new picture and rename it to SignalBox.
7. For the 3 pictures in the third hierarchy level, the option Derive the block icons
from … in the property dialog window is to be checked.
8. Point to one of the hierarchy folders and select the option Plant Hierarchy >
Settings …
12. In the three 3rd level pictures, move the block icons to the proper position in the process
image.
Goal
AS and OS function for M120 and M130 based on a copy of M110.
Main steps
2. In the Process Object View make two copies of the folder (including its content) M110,
on the same hierarchy level.
3. Rename the new hierarchy folders to the proper names (in the tree).
5. Change the block comments for the new operating and monitoring blocks (tab Blocks)
9. In Graphic Designer, edit the static text in the pictures M120 and M130:
10. Close the pictures and Graphics Designer and watch the pictures in Run Time.
Goal
Properly connected Level bars in the process pictures.
Main steps
3. In the left window pane, open the tree of “ES Variables”, up to the folders, chart and
block containing the value to be connected.
4. In the right window pane, find the tag element named “PV_Out#Value” and drag & drop
it into the bar element.
Goal
One common switch on the OS to set the outlet valves and outlet pumps of the material
tanks in Auto mode.
When in Auto Mode, then the outlet valve and outlet pump of a material tank must follow
up the demand for the material: opening and starting when a dose valve has opened.
Main steps
1. In hierarchy folder Material Tanks, make a new hierarchy folder M-General. In this new
folder insert a new chart M-General and a new picture M-General.
3. Connect the output Out of this operator block to both the inputs ModLiOp and
AutModLi of the VlvL and MotL blocks of M110, M120 and M130.
4. In each of the 3 charts for the Material tank outlet valve, insert a new OR04 block, and
connect its output Out to the input OpenAut of the VlvL.
V211
V112 OpenAut
VlvL Opened OR04 P113
VlvL Opened StartAut
M-General
ModLiOp MotL
OpDi01 AutModLi
Out
V212
V122
VlvL OR04 P123
VlvL
MotL
V213
V132
VlvL OR04 P133
VlvL
MotL
6. For the 3 new OR04 blocks, insert textual connections as a preparation for the valves
of the other 3 dose tanks that will appear later.
7. Compile and Download to the AS, compile the OS, and test.
Goal
A first short sequence for dosing one material and to learn proper switching between
manual and automatic mode.
Main steps
1. In the folder R310, create a CFC “R310-Gen” and insert 2 digital logic blocks Or04.
Rename these blocks to “ModLiOp” and “AutModLi”.
2. Connect the output Out of the OR block “ModLiOp” to control the input ModLiOp of
V211. Make a similar connection for OR block “AutModLi” to the input AutModLi of the
same valve:
3. In the folder R310, create an SFC “R310” and build a sequence due to the following
description:
Start
ModLiOp
Automatic Switch dose valve material 1 to Auto mode.
AutModLi
Dose closed 1 Get the feedback from dose valve material1 closed V211
Tip: Use the „In1“ of the regarding OR block for the interconnection to the SFC, to
control the operating mode of the valve by the commands ModLiOp and ManModLi.
This allows you to add more blocks to be controlled by these commands without
changing the SFC in a later stage.
5. Use OS Runtime to open V 411 in manual model. Have valve and pump of M110
(V112, P113) in Auto mode.
6. Test the new sequence by manual operation. Check, that the operator has full access to
switch the operating mode in the faceplate after complete run of the sequence.
Tip: Resize the window of the SFC and CFC and activate test mode. Switch to the
OS runtime and after to the test mode windows of CFC and SFC to observe all
windows at the same time.
Goal
Complete the sequence R310 for dosing and heating a mixture of the 3 materials
Main steps
1. Use the output Out of the blocks „ModLiOp“ and „AutModLi“ in the chart R310-gen to
control the Auto mode of devices of D210 and R310, in a similar way as you have
already done for valve V211. Make connections to the inputs ModLiOp and AutModLi
for the following charts:
• V212
• V213
• V311
• M316
• V312
• P313
• TICA315
2. For TICA315, also use the inputs SP_LiOp and SP_ExtLi to bring the PID controller in
external setpoint mode. For these interconnections do not use the OR blocks in R310-
gen. Instead of this, you have to insert additional command lines in the sequence R310.
3. Open the SFC “R310” and extend the already existing sequence due to the following
description:
Start
ModLiOp
Switch all devices to Auto mode and the temperature
Automatic
controller in External mode
AutModLi
Dose closed 1 Get the feedback from dose valve material1 closed V211
Level 3 LIA214
Amount of material 3 reached 30 kg
Closed 3 V213
Close dose valve material 3
Empty 3 LIA214
Dose tank empty ?
Open Outlet Open Outlet valve and stop stirring motor V312 / M316
5. Test the new sequence in SFC/CFC test mode and observe the process in OS runtime
at the same time.
Goal
Preventing material flow when the sequence is held
Main steps
1. In the chart R310-Gen, insert a block type ReacComd from the Course Library.
4. To the SFC of R310, add a Holding and a Resuming sequence, to prevent product
flow when the RUN sequencer is held.
5. At holding, store the commands in the input OpenAut of the valve blocks of V211,
V212, V213, V311, V312 and input StartAut of the block of pump P313 into the inputs
of the ReacComd block, before the commands are reset (set to 0).
6. At resuming, restore the commands stored in the ReacComd inputs into the OpenAut
or StartAut input of the 6 devices.
Goal
Have additional ways to monitor and control the progress of the sequence
Main steps
3. Use the dynamic wizard “Configure SFC button” twice to assign an action to the left
mouse click and to the right mouse click:
• left mouse click: to pop up the Overview windows of the SFC
• right mouse click: to pop up the Section windows of the SFC
4. In the Reactors overview picture, insert a PCS7 SFC MultiChart Control to have an
overview of the 4 Sequences (only 1 SFC is existing now, the other 3 will be added
later).
19.17 Users
Goal
5 different operators with an increasing number of authorizations
Main steps
1. Make a user group with the name “Operators” and give the group the authorization for
function 1-5.
2. Make 5 users for operators, with settings due to the table below. The number in the
headers represents the No. of the Function.
Goal
Optimized setting regarding area buttons, picture tree navigator and number of
faceplates
Main steps
1. Open the OS Project Editor, select in tab Layout Overview extended configuration
and reduce the number of areas (buttons in overview) to 6 (2 Horizontal, 3 Vertical).
3. In tab Runtime window, Picture Tree Navigator: uncheck “Close window on picture
selection”.
Pictures en objects will be updated. This process may take some time.
Goal
Have all station clocks running synchronized, based on one master.
Monitoring of the AS lifebeat by the OS.
Main steps
1. Make the required settings for OS and AS to operate with Time Synchronization.
2. Make the required settings on the OS to monitor the accessibility of the AS.
Goal
Configure a button in a process picture to allow an operator to perform change to
another process picture.
Main steps
3. Select the button “B410 not PCS7 like” and open the configuration dialog.
4. Enter the name of the target picture “B410.pdl” in the field “Change picture on Mouse
Click”. Alternatively, you can select the desired picture via the button right of this field.
5. Save the picture and test the function in Run Time. Have a look at the Picture
navigation button in the key bar.
6. Select the button “Reactors” and start the Dynamic Wizard “Picture exchange in
workspace“ (in tab “Picture Function”).
8. Save the picture and test the function in Run Time. See the difference between both
solutions.
Goal
Group Displays in the pictures
Main steps
19.22 Alarms
Goal
Proper settings for the limit values and applying an external alarm.
Main steps
1. Adjust the alarm limits of all level monitors and the temperature controller to proper
values, using OS Run Time.
2. In CFC test mode, disable the PV Low Warning and PV Low Alarm of the D210 and
R310 level monitoring, and the Rbk Low Warning and Rbk High Warning of TICA315.
3. After that, there should not be any W and A in the Overview area.
6. In the PCS7 Message Configuration dialog window, edit the event text to:
“….. Switch 1 activated”.
Goal
Smart Alarm Hiding
Main steps
2. At the Shared Declarations of your project, add 3 values to the Enumeration “Operating
state”:
• 0 = normal
• 1 = hiding1
• 2 = hiding2
3. In the chart M-General, install a copy of an STRep block (family Maint), and assign the
Block group “MT”
4. Connect the first 2 inputs to 2 switches of the Signal Box (T3 and T4).
5. In SIMATIC Managers Process Object View, select in the tree the Material Tanks
folder.
6. In tab Blocks, find the blocks for level monitoring of the 3 Material tanks, and in the
Block group field enter “MT”.
7. In the Messages tab, filter by column Block group: “MT” and Event: “*- High”. You
should have 9 lines left now.
8. Check the column “hiding1” for the High messages of M110 and M130, and “hiding2”
for M120 and M130.
Goal
Status display of the stirring motors in the overview picture of the reactor
Main steps
1. Use the help on the MotL block of the chart M316 to find the status bits of status2 of
the block, and fill it up in the table below:
2. In the picture Reactors, insert a Status Display (extended), position it near the first
reactor and resize it to 35 x 35 pixel.
3. Open the properties, and at the Properties tab, theme Miscellaneous, connect to the
attribute Status1: R310/M316/Motor.Status2.
5. Test the Status Display (extended) and if OK, then duplicate 3 times to have the
representation for the other 3 stirring motors.
Goal
A Trend of the material tanks, to be accessed by a button in the Reactors picture
Main steps
1. In OS Runtime, have the sequence of R310 running in Cyclic operation mode (check if
all required devices are in Auto mode and if V411 is opened).
4. In the OS, create a new Picture “TrendMT” (in the Component View only).
5. In the picture, install a WinCC Online Trend Control to display the 3 levels for the last
60 minutes, full screen.
6. In the Reactors overview picture, make a button “Trend MT” to change to the trend
picture, using the Dynamic Wizard “Picture exchange in workspace”.
Goal
Preventing to have more than one dose valve opened
Main steps
1. Every dose valve should be able to open only, when both other dose valves are
closed. Make connections to the Interlock block with the proper conditions.
2. Disconnect for every dose valve the Permit block and the Protect block.
3. At the In01.Value and In02.Value parameter, fill in proper short texts in the Text0 and
Text1 field (for example: “V212 Not Closed” and “V212 Closed”).
Goal
Local operation of M316 using the Signal Box
Main steps
1. In the control block for M316, make the following inputs visible:
• LocalSetting
• LocalLi
• StartLocal
• StopLocal
2. Set the parameter LocalSetting to 1 (switching to Local mode by local operation, and
control via CFC block).
3. Make the following connections from the inputs of the motor control block to the signals
of the Signal Box:
• LocalLi = S1 (switch)
• StartLocal = S2 (switch)
• StopLocal = not S2 (switch)
4. Compile and download the AS and test the function while watching the block icon and
faceplate on the OS.
Goal
New (temporary) charts for controlling the 5 valves of D220 and R320, based on a
Process Tag Type
Main steps
1. Open the current Process Tag Type “ValveLean” from the Master Data Library.
2. Change the textual interconnection at input In01 of the Interlock block to “Interlock01”.
3. Add a textual interconnection at input In02 of the Interlock block with the content
“Ïnterlock02”.
5. For the import file only use these 6 Process tag connectors:
Process tag connector Block I/O name
FBC FbkClose PV_In
FBO FbkOpen PV_in
IL1 Interlock In01 !
IL2 Interlock In02 !
OUTOC Output PV_Out
VMON-TDYN Valve MonTiDynamic
6. As the import file name, use the default name and in the dialog window for defining the
columns for the column group, check the Textual interconnection in the Parameters tab.
7. Fill in the relevant data to generate the charts of V221, V222, V223, V321 and V322.
8. Fill in textual interconnection for interlocking the 3 dose valves to each other.
Goal
All controlling and monitoring functions for D220/R320, D230/R330 and D240/R340,
based on a model
Main steps
3. Create a model of the reactor, including dose tank, starting from the hierarchy folder
R310.
4. For the I/O points, select the signals from the I/O, and the parameter Scale.High of
the driver for monitoring the reactor level. Use the sorting function of the regarding
column.
• PV_In of Input driver blocks as IEA signal. Note that they have common the I/O
comment „Input value“.
• PV_Out of output driver blocks as IEA signal. Note that they have common the I/O
comment „Output value“.
• Scale.High of the analog input driver for monitoring the reactor level.
5. Make an import to create all functions in AS and OS for the other 3 reactors with dose
tanks.
6. After completing the import, use the Process Object View to:
• rename the new pictures
• change the comments to the OS relevant blocks
8. Edit the new pictures (in every case the static texts).
Because of the appearance of the 2nd, 3rd en 4th reactor, you can complete some of
the existing pictures and charts:
9. Connect the tags of the bars of D220, D230, D240, R320, R330 and R340 in picture
Reactors.
10. Extend the MultiChart control in picture Reactors with the 3 new SFCs.
11. Make visible and position the new Group Displays in picture Reactors.
12. Check the feedback signals of the 3 x 3 new dose valves to the control logic of the
valves of every Material tank (textual interconnections should be able to close now).
13. Use the chart reference to find typical errors like still open textual interconnections
14. Find the charts containing the PIDConL block. Open the charts using the context menu
option “Go to Point of Use”.
15. The M316 was configured for a Local mode to be switched by 2 buttons. Find the
process tags M326, M336, M346, and remove there the Local mode configuration.
Goal
Exchanging data between two AS stations
1. De-activate the OS, close WinCC Explorer, and all other tools and make an archive of
your Multiproject.
2. Start PLCSIM and select in the PLCSIM toolbar the PLCSIM(ISO) connection.
7. Create a second instance of PLCSIM and download the original AS as well (HW Config
and charts).
8. Open the Plant View and insert a new hierarchy folder in level 2. Rename the folder to
AS_AS_com.
11. Open in CFC the chart LIA214 of your original AS, and the chart AS_AS_com of the
new (simulated) CPU and arrange them vertically.
12. Insert in the new chart AS_AS_com a block Add04 (take care to use in both charts the
same OB).
13. Connect the Output PV_Out of the MonAnl of the LIA 214 to the input In1 of the
Add04 (just by mouse clicks).
15. Change to NetPro, compile both AS stations and download the new connection of both
AS stations.
16. Test the communication, by using the simulation mode of the input driver.
17. When ready with this part of the task, make “reverse” engineering to return to the real
AS situation.
18. Create a connection to the AS of the team next to you. As a connection partner select
“Unspecified”.
19. At Address Details of the partner, enter the same values as your partner has in his
local area.
20. For downloading the connection, select your connection in the connection table, and
select the menu PLC – Download to Current Project – Selected Connections.
22. Test the communication, by entering values in CFCs test mode at the SEND_R block.
23. When ready with this part of the task, you may have the connection running for the
remaining time of the course.
Goal
Modification of the configuration on Profibus during operation, without stop of the CPU
The possibility to practice with hardware changes depends of the available equipment
on the training site.
Ask your instructor what can be used for this purpose.
Main steps
1. In your AS station configuration, activate the CiR capability of the Profibus network.
3. Add / change properties of a Profibus station. A new station must have a higher
address then the highest existing address.
5. Download in Run.
Goal
Testing the high warnings of LIA134
Background:
The Johnsson process simulation will “refill” the material tanks when the content is
below 5%. A tank will be filled up to 95%. When alarms limits are set above this 95%,
the violation can not be tested.
That is why we use simulation now: block internal at the MonAnl and external via the
input driver.
Main steps
1. On the OS, log in as a user with the Highest process controlling authorization.
2. Open the picture of M130 and open the faceplate of the level monitoring.
3. In the Limit values view, be sure the H-limits are set above 3800.
4. Open the Parameter view and activate the (block internal) simulation.
5. Open the Default view, and change the process value to a level above the H warning.
8. Open the chart LIA134 and resize the window of CFC to only the Pcs7AnIn driver, so
you can overlap the OS picture of M130, keeping an eye on the level monitoring (block
icon, faceplate and bar graphic).
9. At the drivers input SimPV_In enter a value, higher then the H warning limit.
Goal
Adjustable parameters for the SFC
EN IDLE
COMPLETED
Percent1 Kg1
Percent2 Kg2
Program code
TotalKg Kg3
SP_In SP_Out
OKE ENSTART
Main steps
1. From the Sources folder of the Course Library, copy the SCL Source “Amount” into the
Sources folder of your Master Data Library.
2. Open this SCL Source, and from the SCL editors Options menu, open the Symbol
Table to enter the Block type name and FB number. As a comment enter “Parameters
for SFC”.
4. In chart R310-General, insert an instance of the new block, and rename it to ParaSFC
7. Make interconnections between the CFC chart and the External view of the SFC.
8. The dotted lines represent the access by the SFC steps and transitions to be
configured. They will replace the constant values.
9. The Amount output “SP_Out” is to be used in a step as the setpoint for the temperature
controller. The successor transition must check if the temperature has approached the
setpoint up to a difference of 2 degrees. Insert an additional library block in the CFC
chart to support this transition.
10. Have the block and the interaction with the SFC tested.
Goal
A block icon for the Amount block
Main steps
2. Create a new block icon, as @Amount/1 with the layout and objects as shown below:
tag
Kg1 0.000
Kg2 0.000
Kg3 0.000
SP_Out 0.000
3. After completing, make an OS compilation to see the block icon appearing in the R310
picture.
4. In chart R320-Gen, install another Amount block, with similar interaction with the SFC.