Você está na página 1de 501

SITRAIN

Treinamento em Autornacao e
Soluc6es
, Industriais

pes 7 V 8.0

System Course

Ivoth
www.siemens.com.brlsitrain SIEMENS
.r-
I... '"

Treinamento em autornacao
,
e soluc6es
, industriais

A Siemens e uma empresa que se preocupa com 0 Meio Ambiente, e possui um


Sistema de Gestae Ambiental certificada conforme a norma ISO: 14001. Uma das
praticas que adotamos e a Coleta Seletiva.

Ajude-nos neste programa descartando 0 lixo corretamente .

~e!
.~
Coletor Cinza:

Reslduos reciclaveis limpos

Plasticos (ex. embalagens limpas e copos utilizados com aqua), alumfnio, mfdia
eletronica, clipes, papelao e papel toalha. Os coletores estarao localizados nas
copas. Nos banheiros 0 papel toalha deve ser descartado no recipiente ao lade da
pia.
No SITRAIN: • Copos plasticos utilizados com aqua.
• Papel
• Vidros
• Metais
• Plasticos

~ Coletor Preto:

Resfduos nao reciclaveis au cantaminadas

Restos alimentares, embalagens contaminadas com alimento (ex.: embalagem de


pizza suja, embalagem de salgadinho, copos plasticos com resfduo de cafe, leite,
cha, suco e refrigerante).
Nos banheiros, 05 papeis hiqienicos devem ser descartados nos recipientes
existentes nos boxes pr6ximos ao vasa sanitarlo.

No SITRAIN: • Copos utilizados com cafe, suco, refriqerante;


• Reslduos orqanicos (resto de alimentos, frutas, etc.);
• Embalagens de alimentos.

STRAIN
Coleta Seletiva. SIEM s
\...-
\...-
G
'v
G
U
lJ
U
U
U
U
U
U
U
U
u
u
u
u
u
u
U
U
U
U
V
U
U
U
U
U
U
U
U
U
u
v
v
u
v
v
)
1 Introduction

u SIEMENS
u 2 PCS 7 Documentation and Support
u
u Requirements and functional process
3
description
u
u 4
System design and component
U specification
tJ SITRAIN
Training for Industry 5 Project setup
U
U
U 6 Station and network configuration
J
.J
SIMATIC PCS 7
7 Connection to the process
U System Course
U
8 Basics control functions
U
v Course ST-PCS7SYS
V 9 Basics Operating and Monitoring
u
10 Basics Automatic Mode Control
\..)

u
11 Customizing the OS
u
\...)

u 12 Archiving System
U
U
Name:
13 Locking functions and operating modes
V
U Course from: to: ---
14 Mass data engineering
Trainer:

Training site: _
15 Final steps of configuration

u
u This document was produced for training purposes. 16 User block - attributes and visualization
SIEMENS assumes no responsibility for its contents. The
v reproduction, transmission, communication or use exploitation
of this document or its contents is not permitted without
v express written consent authority. Offenders will be liable to 17 Demonstration Server-Client System
damages. Non-compliances with this prohibition make the
v offender inter alia liable for damages.

V Copyright © Siemens AG 2011. All rights, including


particularly the rights created by to file a by patent and/or 18 Syntax Rules
J other industrial property right application and/or cause the
patent and/or other industrial property right to be granted
grant or registration of a utility model or design, are reserved.
19 Exercises

SITRAIN courses on the internet: www.siemens.com/sitrain

Course folder Version: V8.0 (for PCS 7 Version 8.0) 20


_,
u
v
u
V
U
U
U
U
u
u
u
u
u
u
u
u
u
u
v
v
V
U
u
U
U
U
V
v
V
u
u
u
U
\..J
v
v
v
u
u
u
v
u
u
v
v
v
v
u PCS 7 System Course
U
U
u
U
iJ
U
U
U
Content 1
U
U 1 Introduction 3
U 1.1 Learning targets (this chapter) 3

J 1.2 Concept of this course 3


1.3 Road map of this course .4

u 1.4 Additional documentation .4

u 1.5 Training equipment 5


1.6 Access to systems of other students 5

v
v
u
\..)

v
u

u
v
u
U
U

u
u
\.)

u
U
J
J
V
U
V SIMATIC PCS 7 - Introduction
Training Documentation, V1.0Q, ST-PCS7SYS 1- 1
U
U
'J
\
-

U
PCS 7 System Course
U
U
\_)

U
U
U
LJ
U
V
u

U
...)

U
U

V
V
U
V

V
V
V
v
U
U
V
U
V
V
V
U
U
U
v
V
V
\.)

V
SIMATIC PCS 7 -Introduction
1-2 Training Documentation, V1.00, ST-PCS7SYS J
V
PCS 7 System Course

u 1 Introduction
U
U
U 1.1 Learning targets (this chapter)
U
U The participant will learn about
U • The general way this training is
U running
• The difference between workflow
U of real-life pes 7 configuration and
u the workflow in this training

u
\.)

lJ
U
V 1.2 Concept of this course
U
U General workflow of a pes 7 project This course

Text
J Lists Requirements You create your own
Diagrams Automation of a plant with training project following
V 4 reactors predefined tasks during
Functional process the course
description

u
independent from PCS 7
v System design Decentralized Process Control Determined by the available
training equipment
System based on SIMATIC PCS 7,
\...) using 1 ES/QS, 1 AS with
distributed I/O and industrial The process behavior is
depending on PCS 7 simulated in the CPU of
U Component specification Ethernet as System Bus
the AS

Hardware and Software


v Configuration and Implementation
programming
u
Tasks on different levels using the Getting familiar to the
u Test main components of the SIMATIC Engineering Tools by
PCS 7 Engineering TQolset explanations and examples

Commissioning

Including In brief, is main subject to the


Maintenance
optimization PCS 7 service course

.J
J
v
V
SIMATIC PCS 7 -Introduction
Training Documentation, V1.00, ST-PCS7SYS 1-3
u
U
J
PCS 7 System Course u
v
u
1.3 Road map of this course
u
u
Second week

Customizing the OS v
User administration, Time synchronization,
Dynamization of process pictures, Alarms u
. Setting up-the automation system and operator stationj u
Station Configuration for EStOS and AS Archiving system
Distributed periphery connected by Proflbus and Profinet Alarm and tag logging, WinCC Controls
u
Locking functions and operating modes'
Connection to the process
Basics of the automation of the connected Signal box Interlocks, Local mode, Evaluation of signal status
u
Drivers, charts and test of the signals u

-··"~··~·~'~~~'·
"""._..._. ._.
Process simulation for the training project
Creation of the Plant Hierarchy U
u
Basics of automation with APL
Creating the basics of automation for a part ofthe plant
I Final steps of configuration
Communication between automation systems
Configuration changes during operation using CiR
Forcing on ES level
u
U
Block simulation also on the operator level u
U
Creation of user blocks
Block Attributes and visualization U
Implementing manual.and auto mode control'
U
Controlling the operating rnode Demo Multiproject with multiple station as
Creating a sequential control' AS, ES, OS Server I Clients V
V
v
1.4 Additional documentation
U
Additional to this training manual you will have available a selection of the current V
system documentation. References are made using the number in brackets.
U
Example:
U

m See [103} PCS 7 VB.0 Engineering System - 12_2011, 2.1.2 for more details
V
V
V
Below you find the way the available documentation is represented
U
iQ Application & Tools U
IE:D Brochures
m [000] PCS7 Documentation & Information - 06_2006
V

m [001] PCS7 Brochure - 02_2012


\..J

m [002] Catalog ST PCS 7 - December 2011 U


m [003] Catalog ST PCS7, 1 Add-ens - 06_200S U
'f!:1 [004] Catalog ST PCS7.2 Migration solutions with PCS7 up to V61 - 07_2007 v
'f!:1 [010] PCS7 Glossary - 12_2011
U
'f!:1 [020] Installation instructions for PCS7 help system - 01_2012
m [030] Whats new in PCS 7 VS.O - 12_2011
V
m [100] Licenses and quantity structures - 12_2011 V
'f!:1 [101] PCS7 VS.OReadme - 01_2012

SIMATIC PCS 7 -Introduction


1-4 Training Documentation, V1.00, ST-PCS7SYS
u PCS 7 System Course

L
~ 1.5 Training equipment
U
Equipment is made available for practicing to support you in getting familiar to the
U system.
v SITRAIN expects you to use the equipment for that reason only.
U The use of external storage devices (memory stick etc.) or disks is only allowed with
permission of the trainer.
U
U
U 1.6 Access to systems of other students
A local network allows you to have access to PC and AS of other students.
v Please, only do so with permission of the related persons.
u
v
u
u
u

v
u
\..)
-r'
v
V

v
v
u
v
u

IJ
U
U
\.)

\..)

v
v SIMATIC PCS 7 -Introduction
Training Documentation, V1.00, ST-PCS7SYS 1-5
u
u
\~J

U
u
I.__,

u
u
U
U
u
v
U
IJ
U
v
U
u
v
u
V
J
'.)

U
V
v
v
U
V
U
V
v
v
U
u
U
U
V
V
U
V
V
v
-....)

V
'...,)
u PCS 7 System Course

lJ
l_)

U
V
u
U

u
Content 2
v
V 2 pes 7 Documentation and Online Support.. 3
U 2.1 Learning target : """"""""""""",,,,,, 3

2.2 Documents available by PCS 7 Installation 3


2.2.1 Delivered Manuals , 3
v 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
u 2.3 Additional sources of information " ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 7
u 2.3.1 PCS 7 Compendium 7
2.3.2 PCS 7 on Tour (PoT) 8
u 2.3.3 PCS 7 Catalogs 9
u 2.3.4 PCS 7 in internet 10

u 2.4 Industry Online Support Internet Portal 11


2.4.1 Product Support 12
u 2.4.2 Applications & Tools 13
v 2.4.3 Multimedia-based Demonstration Systems 14
2.4.4 Compatibility Tool 14
u 2.4.5 Services , ",,,,,,,,,,,,,,,,,, , 15
2.4.6 Marketing Information 16
v
v 2.5
2.5.1
Functions of the Industry Online Support Internet Portal
Search
17
17
u 2.5.2 mySupport , 18
2.5.3 My Documentation Manager 18
v 2.5.4 Online Support App (for Apple and Android Smart Phones) 20
u 2.6 Communication in the Industry Online Support Internet Portal 21

2.7 Checkpoint 23

SIMATIC PCS 7 - Oocumentation and Online Support


Training Oocumentation, V1.00, ST·PCS7SYS 2 - 1

J
v..
PCS 7 System Course G

'-'

l...."
U
v
U
V
\J

U
U
0
U
U
U
U
U
U
u
u
u
V

"-)

U
U
U
V
V
U

V
v
v
V
V
U
V
U
U
V
U
U
V

SIMATIC PCS 7 -Documentation and Online Support


V
2-2 Training Documentation, V1.00, ST-PCS7SYS V
--..J
v
\.J PCS 7 System Course

L
l_)
2 pes 7 Documentation and Online Support
l,_)

U 2.1 Learning target


U
U The participant will learn about
U
• What types of pes 7
U documentation are available
U • Navigation through the Industry
Online Support
• All functions and possibilities of
the Industry Online Support

l.}

V
U
2.2 Documents available by pes 7 Installation
v
2.2.1 Delivered Manuals
u
v The pes? Readme File "pes?-readme. rtf' contains in section 2.1 "General information"
a complete overview list with pes? Manuals locally available after pes? installation.
v
Pathways to installed manuals
u
Once you have installed pes? including the pes? documentation on your computer,
you can open this documentation with
Start > SIMATIC > Documentation > English
u
v

u • SltllA II C PDf.,
~-
u cD SIr-IATICS&lriy Control
.~tIl STEP 7

,.-(J Search

ftJ Help and Support 1 KB shortcu


1 KB shortcu
DOCPRO- Creating Do(umen .. , 1 KB Shortelt
1 KB Shortcct
ope ope AM: with pe~ 7 1 KO ~hortcLt
PCS7 - Basic Documentation 1 KB shortcu
PCS7 - Configuration l'Ianual ... 1 KB Shortccc

oJ
U SIMATIC PCS 7 - Documentation and Online Support
Training Documentation, V1.00, ST-PCS7SYS 2-3
\...)

U
PCS 7 System Course

Manuals on SIMATIC PCS 7 DVD


If you do not wish to install this documentation, you can also view it at any time on the
SIMATIC PCS 7 DVD in the following folders:
"_Manuals\English" or "_Product_Information\English". v
All the manuals are stored in PDF format. You require Acrobat Reader to open the files. G
If necessary, you can install it from the SIMATIC PCS 7 DVD. v
U
r::u= Programming Instructions for creating driver blocks and with the title "SIMA TIC
V
Programming Instructions Driver Blocks" can be ordered separately. These
Programming Instructions help the advanced SIMA TIC PCS 7 user to create system- U
conform driver blocks, which can be placed like standard blocks on system plans and
automatically parameterized and interconnected in HW Config. U
'-..)

V
2.2.2 Delivered Readme Files
'-....)

l)
Pathways to installed Readme files
Once you have installed PCS 7 including the PCS 7 documentation on your computer,
you can open any Readme file with
Start > SIMATIC > Information > English

u
v
v
v
v
U
v
V
.._j

v
v'

Reason to have attention to the Readme files


v
u
ATTENTION U
Each of the PCS 7 related products come with product-specific information in the U
form of readme files.
u
Readme files contain information which is not included in manuals due to the degree
of topicality. V
The information given in Readme files takes precedence over all the PCS 7 manuals. J
V
oJ

SIMATIC PCS 7 -Documentation and Online Support


u
2-4 Training Documentation, V1.00, ST-PCS7SYS v
--J
l__j PCS 7 System Course

~~ pcs7-readme.rtf
\_J • Most important Readme file of PCS 7
J • Containing information also relevant before PCS 7 installation:
U - Licensing of software to be installed
- Hardware pre-requisites and compatibles
U
- Software requirements regarding the operating system or system settings and the
,-_J software to be installed
- Compatibility to 3rd party products (software)
u - Required installation steps! required upgrade steps

u - Basic information for update of PCS 7 projects


- Notes on usage of the product
u - Summary of changes compared to the former product version

.J
pcs7sysdocu-readme.pdf
u
• Contains information and additions to the manuals of the PCS 7 system
v documentation with higher topicality due to the deadline for generation of electronic
manuals.

tJ • Known misprints in delivered manuals are cleared here.

u
.._j pcs7new.pdf
J • "What's new in PCS 7?" contains an extract of all new features and changes in the
current PCS 7 version. :,
V
• Summarized information given in first section "What's new" in each product!
~I operation manual.
V

v 2.2.3 pes 7 help system

Implementation of the pes 7 help system


The PCS 7 help system, which can be called from SIMATIC Manager, will be updated
regularly as of PCS 7 VB.O. Service packs for PCS 7 and the products in the system
documentation will also be compiled and published.
YOLlhave to implement the pes 7 help system manually in the PCS 7 installation with
copy and paste as follows:
1. Download the zip files of the help system from the Service & Support portal by
clicking -J, riJ Info.
2. Unzip the help files into a folder.
3. Copy all help files into the folder Siemens> STEP7 > S7BIN in the PCS 7
installation.
When you open the PCS 7 help system again, it will be updated.

J
J

StMATIC PCS 7 - Documentation and Online Support


Training Documentation, V1.00, ST-PCS7SYS 2-Q
PCS 7 System Course

Access to PCS 7 System documentation by online help


Since PCS 7 V6.0 SP3, you can also open the complete system documentation for PCS u
7 in the online help format within the SIMATIC Manager through the help topics .
• You can open the "PCS 7 Basic Documentation" online help with the menu command I.J
"Help > Topics in the SIMATIC Manager."
\..J
U
U
U
U

\...)
\.._.-I
.I!l
.@J U
.IE Additional Support
"@J SafelY Inlorrnalion This chapter contains the roHowing information: \_.)
ID • Using 100 PCS 7 documentation
• Welcome to pes 7 U
!D • Wholil'$ New Wt1hPeS 7?
ffi • Getting Started ., Additional Support
m .. Conf]gu!ation - Engineering SY$\effl • Safety Information
V
ID • Configulation' Operator Station ., Using the pes 7.documentation
ttl .. SIMATIC PCS 7 BOX
• What'2 New with PCS 7? v
ID • OS Web opliQn
m• OS proc,m management • G.eltjng Started
ID • limt'il $}lf!chronizgtion • Configuration. Engineering System v
ID • Higb'piecision time ottarnping • Confiouta11Q!!· QoorIDQ( Station v
U
J
2.2.4 Template for a plant-specific process control manual for operators V
V
You can create a process control manual for the operator derived from a source
document of the actual PCS 7 OS Process Control Manual. V

~PCS 7 ·Cor/lg<.I'ation I>Ionuil!EngineefingS)'jtm


W
8 ~ (E:)PC57_V80
00 0 _Addons ~PCS
~ 7 - CC«ig<.l'..uon MornJaI. Opers;Ot St..uon
.. v
1OI€:!l~.
t:Jo.utsth V
g= I.....;J

v
WI "PCS 7 - Operating Instructions Operator Station Process Control.doc " v
(.)
El Derived from a source document of the actual PCS 7 OS Process Control Manual
El Covering the well-proven main structure of a control manual for operators
v
v
m Available in the "_Manuals\<language*>" folder on your PCS 7 Toolset DVD.
U
(* Select your regional <language>.) U
fi!j Edit the source document with MS Word V
U
\.)

SIMATIC PCS 7 -Documentation and Online Support


2-6 Training Documentation, V1.00, ST-PCS7SYS
PCS 7 System Course

2.3 Additional sources of information

2.3.1 PCS 7 Compendium

Subject of the manual


On the one hand:
• SIMATIC PCS 7 is as a distinctly open system to be flexibly adapted to a wide range
of customer needs.
• Great deal of freedom in terms of the project configuration, as well as in the design of
the program and the visualization.
On the other hand:
• Experience has shown that subsequent modernization or plant expansion work is
made much easier if the project is configured "in conformance with peS 7" as far as
possible right from the start.
• Certain basic rules absolutely must be adhered to in order to ensure that the system
functions provided will offer optimum usability in the future.
IJ The compendium directly reflects the recommended method for configuration, which is
based on the results of a great deal of practical experience. The description does not
.J cover the application itself; rather, it relates to handling the project and the parameter
J settings of the components it contains.

U
Links to the Compendium
v The compendium is divided into several parts:

V • Part A: Configuration Guidelines


l...) http://support.automation.siemens. com/WW/view/en/350 16996

V • Part B: Process Safety


I J http://support.automation .siemens. com/WW/view/en/350 16980

• Part C: Technical Functions with SFC Types


http://support.automation.siemens .com/WW/view/en/350 16990
• Part D: Operation and Maintenance
• http://support.automation.siemens.com/WW/view/en/4341 0843
• Part E: IT Plant Security (coming soon)
• Part F: Hardware Setup (coming soon)

J
J

SIMATIC PCS 7 - Documentation and Online Support


Training Documentation, V1.00, ST·PCS7SYS 2·7
PCS 7 System Course

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.

u
U
G

Manoals/contiQ!lrabl!l$IMATICProcess control System pes f


Compendium Part.A> Cot1fig JrationGuitielines 10: 35016996 IJ
'
Edition: Oll2009
Operating Manual
Document identification number: A5EOZ122S87,c02·
rorprocucts: 6ES]6.5.8c5AF17-0YA5

Manuals,configurable SIMATla Process.00ntrol System =cs 7 2009"06"24


u
oompsnrnum PartB - Prpc\1S.s Safety 10;.350169ao.
V
Edition: 06/2009
operattnq.Manual \._;,.I
DOGulna·nt.ldentiflcation number A5E02122390-02
for products: 6ES7658-5AF1.7-0YA5 U
Manuals;:configurable SIMATIC Process Control System P~S 7 '2009~03_20. \....;
.Compendium Patte - Tecbnical: Functions with SFCtypes 10::350t6990
Edifiori: 03/200.9 U
Operating. Manual
Document id!lntificatiCwnumber: A5E02122393"01' U
tor products: 6ES.7658-5AF17-OYA5 v
v
2.3.2 pes 7 on Tour (PoT)
V
Subject of the manual 1....:;-'

PCS 7 on Tour is a compact manual with the intend to provide fundamental basics on
the system functions and an approach to engineering and configuring automation tasks.
It covers major components (hardware and software) of the system and intends to
deliver a systematic approach right from the start when you begin to know or use the
system.

Link to supplier
The manual pes 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)

v
SIMATIC PCS 7 -Documentation and Online Support
2-8 Training Documentation, V1.00, ST-PCS7SYS J
u
PCS 7 System Course
lJ
U
U 2.3.3 PCS 7 Catalogs
U
The catalogs list those products of the Siemens automation product spectrum which are
U released for the process control system SIMATIC PCS 7.
U The products contained in this catalog can also be found in the e-Catalog CA 01.
U Catalogs are available in print and for download on the Product Support Portal.
U
U Information and Download Center for Industry Automation
More on Prod",,!
and Drives Technologies Navigate in the
U InfornUllion
product tree to
P(e.~M1t\fo
SIMATIC PCS 7
U C4t&Jog 3I>d o<denng

U
U ;>~-----------:...._------- . Process Control Sys {em
st.lATICPCS 7 (45)

U • ! ;.r.liCn to S!MATiCPeST (IS)

U !engliSn ~ I • Pt .... ",us Sys!e .... (13)

",ri;, SIMATIC PCS 7 Standardcatalog 5T pes 7 lor va


u eeslelklUlMlfr: PDf (._k'67e-.lll-b7-7600)

u Precess ConlrolSy.tem
1212011, german for VS.O
u 1212011, english forV!!.O
0612011, fr!nth lorV7.1

u 0612011, spaniSh fot V7.1


O€nOll ..... n forV7.1

u ., content in the order range of the .,tu8cHve Catalog CA 01·

U
U
V
SIMATIC PCS 7 Standard catalog ST PCS 7 for va
U
The catalog lists the PCS 7 hardware and software products structured in following
U sections:
U Industrial Workstation, Engineering system, Operator system, Maintenance Station,
Automation systems, Communication, Process 110, SIMATIC PCS 7 Software and,
U
System documentation, Technology components, Batch automation, Route control,
U Safety Integrated for, Process Automation, IT Security, Connection of IT systems, Other
Compact systems, Basic Packages, Previous versions, Update/upgrade packages
The products are introduced by detailed descriptions and specifications.
u
u
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
u Siemens as well as by external partners. These software packages and hardware
u components authorized by the system manufacturer enable cost effective
implementation of SIMATIC PCS 7 for special automation tasks.
u
u
Catalog ST PCS 7.2, Migration solutions for the SIMATIC PCS 7 process control system.
u
The migration of own process control systems to SIMATIC PCS 7 is a matter of course
u 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.

u
u SIMATIC PCS 7 - Documentation and Online Support
Training Documentation, V1.00, ST-PCS7SYS 2-9
u
v
I....)
\
U
PCS 7 System Course U
U
U
2.3.4 pes 7 in internet
u
U
Link to pes 7 Website
The PCS 7 site provides convenient access to the complete PCS 7 documentation - the
v
latest news about hardware and software components released for PCS 7: U
http://www.siemens.com/simatic-pcs7 u
Get into the world of SIMATIC PCS 7 with the interactive system overview. U
U
U
u
n~" 'I;!"; "~r!J,,<\ IlfSfJ.!-'lTfC ecs 1 "It;,:~ ilf1-~~tio(1"
CI:rc:t..dia.'l')"~tic~lo.
wril-b.:;b:'l!.r.;:! n::Y..I~:')s
",,;~na:-iI~(~pIHlUfl!!
ir.r. Ji'I'-Y.:i'I!:I r,xii ill ilic ps'"d
liM
u
t-,,~ lL"!"morli :!ffict::":! procesr ;:o2'ltl. ei'!i_~~ F-I'-"ier.
fMt:._l!JH,!:i:t'-M~,.;art:
hlld!
;:<>1t')'\J:;"~~! p"'.1!k~
;!!i~r.l.icr:'J. ~.J.lfJa;ly. it-,t~~I~~
p:"!l-.::t::~;f}S ~~.; '116-;J rr'.,;w.JW<'ml{,
::,;,~ti-oSdficil"lO:")'';'~!oY.!
l
...i"')".
n:t:I'.r.lld~d
!!c,.,,:,~
u
Efl!q·:lecfyc:..rpl,J"l;

u
u
u
sn-UOCFCS7

t'htSIL4TC.FtSl c,,!;t;~~:;I~S}lIift~6~b
1"'" I;:) :-e."M:i Jl'/~t~ c-..::,,\,fncy- d ... ib; __,ttl
u
!i<\'.lI'enel~_~!a~cu.t;t';M~";,,,,
c~"-;~)?PI!"dh~d"_'r":e~txptctod,..""
....!~'" 1M (1"., t::-m;('~"l>tr.t JH 51<0\1:£ PCS T ;,~_~
u
l:~ 1~!er.:a'>'1ln:)fy,t·"'~WI!£!I!se:::aty IN.!'~
uleHd~·"")::;-I.le~",~
~_.rc¥~-9
wu,
I t~±«<1 !!W~~ (I
u
u
>
u
~~!"r.;;o,:.s7Un.<1O.'(".qA~!:Jr:~
)S\!::I,l:rt;A(;I>!!C:K''J";IE.,lufIlr..
) sw."n:K!'l!.~~.,.,.';"~lo';.~<!I"(.X..·~~I~"!

) ,~ .... "iT".t~f";:t:I":();:~t~",,"f!~C'!'wth.!.JJlo.;V:
res.
) $"':nt~.£"":'''~i'' C"'i".f ~u;;)-""<1 <.i" $1-1.1",:£ 1'($ 7
u
tlyer hll.le.:!Unk.

» ~,1~ j.ll~~n o..iif


u
?-Procu~\c_:;'~"l'Ilrl;l.1
;. hta~1t:!£.;U!~ j!.~~:nI5r.!I
u
The PCS 7 portal contains links also to following sections:
u
• Presales information
v
• Online catalog and ordering system
u
• Technical information
u
U
• Support
\....
• Training
U
• Contact & Partners (Local and Solution partners)
U
W
U
U
U
V
U
v
U
V
U
SIMATIC PCS 7 -Documentation and Online Support
2 - 10 Training Documentation, V1.00, ST-PCS7SYS U
J
o
(___

u PCS 7 System Course

u
u
u
2.4 Industry Online Support Internet Portal
u
u
Guided Tour
u
You are here for the first time or you would like to get to know all functions and
u possibilities? Then you are right at the "Guided Tour":
u http://support.automation.siemens.com/supportiGuidedTours/start.htm?lang=en
u
u
u
Are you looking for directions on how to use our Service & Support Portal? You are in the right place. Our Guided Tours
u show you what information is readily available on the portal and how you can quickly access this information. Just click
011 the Guided Tour of your choice and go!
u
mySupport '" Guided Tour Product Pages
u .. Guided Tour Support Request Want to learn more about our products? Let us show you
how to obtain comprehensive information on our products.
U Want to ask a Siemens expert for advice? No problem!
Learn how to quickly and easily ask your questions.
II- Guided Tour Search
u .. Guided Tour Technical Forum Search - the correct way I We will show you how to
u Want to talk to other users? We will show you how to
establish contacts, ask questions, add to discussions, give
quickly find what you are looking for.

u advice and a lot more ...

u .. Guided Tour Newsletter


Want the latest support information? Let us show you how to
V always stay up-to-date, Subscribe to receive via email the
current information on the products and topics of interest to
you.
I..J
.. Guided Tour My Documentation Manager
U Do you want quick access to your frequently referenced
manuals? Would you like to create custom manuals (PDF, RTF
V or XMLformat) to meet your specific site requirements?
We will show you how using My Documentation Manager.
U
U
U
U
U Overview
The Online Support offers you a comprehensive information system for all Industry
u Automation and Drive Technologies Service & Support subjects at any time.

u Do you wish to extend your Know How, read up on services or exchange experiences
with users of automation systems?
U
Convenient functions in the online support lead you directly to the desired information.
u Online Support always the first step - around the clock on 365 days of the year.
u http://support.automation.siemens.com
u
u
v
v I
I

r--------------------l--------------------~
I II
I

Know How

v
v SIMATIC PCS 7 - Documentation and Online Support
Training Documentation, V1.00, ST -PCS7SYS 2 - 11
U
J
U
l

u
PCS 7 System Course u
U
\....)
U
U
U
U
U
U
U
U
U
U
U
u
V
U
U
V
\..._j

U
U
V
v
V
2.4.1 Product Support
U
The "Product Support" provides a wide range of all information concerning the products
V
and solutions of Siemens Industry Automation and Drive Technologies:
What does "Product Support" offer you? V
U
• FAQs
• Updates/Upgrades, Service Packs & Support Tools for downloading
U

• Manuals and operating instructions


V
V
• Approvals and certificates
U
• Test certificates and curves
U
V
V
U
V
J
v
U
U
V
SIMATIC PCS 7 -Documentation and Online Support
2 - 12 Training Documentation, V1.00, ST-PCS7SYS U
J
\..)
'-
u PCS 7 System Course
U
\.
Example of a product view of SIMATIC pes 7 V8.0
U
http://support.automation.siemens.comIWW/view/en/53844276
lJ . Product Support .•• ~ •
Industry Online support
U
U I-iavigation 1I Index (A-Z) -s-Display product list
-rn ....:J
--'
Product' SIMATIC PCS 7 V8.0 (6ES7658-. 0&-. )
U Indu~tliel Conltoli

ill ~ Menufedurlog Execoticn Sysl


U ttl _J PC·b:3~d AutomatIon
B ~ Precess control SystEms
U
EI ....::J SIMA TIC PCS 7
U B _] Sy~t-=m c::o:mp:oneniJ

ttl:..=t Indusuigl W04iGtsHo


Product description
U B.::J Engincc.,fing lyste-01
'SIMATIC PCS 7, SOFTWARE AS ENGINEERING VB.O
IRENTAL LICENSE F.30 DAYS E-SW, WITHOUT SW AND
U El ~ ES Softw.Ie
:DOCU. LICENSE KEY ON USB STICK, CLASS A, 5
EI
~ANGU~_ES (G, E, F~I,_S). EXECUTABLE UNDER
U _________ ill

U
U 2.4.2 Applications & Tools
U
"Applications & Tools" supports you with functional and non-branch-specific solutions.
v The main focus is not only on the individual product but on the interaction of the entire
U system.

U Your advantages:

o • Realization reliability
Functional solutions for defined tasks
oJ
Creative ideas for further customer-specific applications
U
• Planning reliability
V - Verified communication times
V
• Saving time
U Program examples can serve as a basis for your individual user program
U Compact presentation of the underlying technological principles
V Entries are tested and free of charge

U Application Examples to SIMATIC PCS 7:

V http://support.automation.siemens.com/WW/view/en/20806759/136000
Industry Online support Applicallons & Tool ..

.-. ;

8 _] Applicatio·mt .. Tooli

B.....:J laY. / Technology


Filter settings:m
;:'.J O>nl'ol Tichnology
...2J C.ommuniCition Hardware platform: ~Ia=II========"v=:1 Software LI8_1I -'v"""'l
~ Human r.•fichln.e Intelfsce Entry contents: all vi

Oriv°': Te.chnologY' Search item(s):


....:::.J Measurement l.. s.:nsOt~
!:J Salety systems . Safety Inteqr.atec
..:J Control.
'No;;? Configuration of SINAMICS and MICROMASTER Drives \~1th Drive ES in 2012·02·09
_:) Power Distribution ID: 58007228
PCS 7
....J Prcceas Autcrn atlon
PCS 7 APL Operator Guide 2012·01·31
B _:] Srandl
ID: 59249288

u
SIMATIC PCS 7 - Documentation and Online Support
Training Documentation, V1.00. ST -PCS7SYS 2 - 13
U
J
PCS 7 System Course

2.4.3 Multimedia-based Demonstration Systems "-


\.._
A demonstration system is an automatically running or interactive operable animation.
V
Complex technical contexts, products, functional correlations and user instructions are
presented as Flash films. V
This enables you to expand your know-how quickly, conveniently and easily.
http://support.automation.siemen s.com/WW/view /en/34677186/ 136000&csp Itfrm=O&css V
w=0&csbinh=7
J

8~ A~:I'Ii(:alipM& "['ooIl

8f .~~1;Y: u
e ConIrol Toechh91ogy

r= _ecmm~nica'ti_on all v
~ Hums,. Machi"., 1"lorI.at Demonstration systems j
\E::i Drive Technology
r··--------------------------------------------------------------.----------.,-, .1
~~~"--'~
i::l ~a>liTem~t&Sei"..,..

e:J SolelY ~riU - Salety In!<';Ilat&<


'.(III' Controls

.lZ!.J P"',,>er Ol$tributi<>n

Multimedia-based
COMOS andSIMATIC
demonstration
PC-S 7"
system "Integrated Engineering with
v
Multimedia~baSed -demon!;traUon system "Pharma.Demo Appllcations"
v
v
Multimedia.based Demonstration System "SIMATIC pes 7 Blogas"
ID:3295921'5
'FO.ocr&' B-Gvera~e.
pes 7
~. Phsnnao;:utic:als
SIMATle LAB
10: -J2nuS!>5
v
Waterl W.st.. Wlter
Demo System for Process Automation 2008-03-28 v
ID:'28812695

Demonstration System "Multi Purpose 8ATCH"[lnfranet] 2005·0a-2Z


ID:.21972489

u
2.4.4 v
\.)
The compatibility tool allows you to put together a compatible selection of software
products or to check the compatibility of the existing configuration.
https://support.automation.siemens.com/kompatool/pages/main/index.jsf

Welcome to the compatibility tool


\..)

You have selected .sonware: PCS 7. Fo-rthe following versions compatibll.ty statement are availa,ble:

Please select a version:


v
o V4_02SPI OV4.(l2S!'1 HFI o V4_OZ SPI Hf2 o V4_02 SPI Hf3 o V4.02SP2
o V4_02SP3 o Vo_OSP! o Vo_OSP2 o VO_OSP2 Hf2 OVS_l v
o VS_l HF2 OV5_2 o V5.2 SPI o VS.2SP2 o V5_2SP3 \,)
o V5_2SP4 o V6_0 o VB_OSP1 o VO.O SP2 o V6_0SPJ
OVa_1 o V5_1S?! o Vo_l SP2 O vs.i SP3 o V6_1 SP4 V
OVl_O o VI_OSPt o V7.0SP2 o V7_0SP3 o VI_I
o V7_1SPl o 'not SP2 o VI_l SP3 OVB.O
V
o Any software version
V

SIMATIC PCS 7 -Documentation and Online Support


2 - 14 Training Documentation, V1.00, ST-PCS7SYS

J
oJ
L PCS 7 System Course
U
U • Workflow through the Compatibility Tool:
U
snte wanten Sie elne Version:
U
o V02SPI HF3

V o V.s.05P2HF2

U o VS_2 SP2

o V8,0 SP2
.. HMI SOti. ....ldfe
Plene select a service p.lck/tlOlfix:

U o '1$,1 S~3 • SIf.il4.l1C Contro8er Pl.Cs o LlcAlee. ApP:k:a!llti Control G> J.l.cAl~e Appkation Control V5..t
,. Software forSt.lAllC Contro vs. \'Q ~
U o VHSP3 ... Software lor SlJAllC flET
L!cA.feer.lfrnf:IStcur ..~
,. SI.IATC PCS 7
0'18,0 2007
U Drive Ted'lnobgy
McAfee i\ierntl $twrty SUle
• lfcAf~e;.ppt::31~n
CCf.!101 VS.l
". Llicroso.ft Produds
2tlr>a
u ..

>
lJlCI'"030ft Wndowa
1·(ICr050ft "ternet ExpJerer UcAfee VrusScan Enterprise
> MJC(osoft SOL $t"'er (11AI Active Vrus Defense
U >
>
Uierosoft Office
Microsoft ettce Vt&\'Iet
Su'e)V7.0

> J.lictoscft J~ET L!cAfea VrusScan Etl:lerpri!e


U > tJlcrnsotPt il'ldowf Fi"ewal VB
.- FurtMt Pr'Odllct.

V ~ UcA.fee VrusScan Enferp.rise


VB.Oi

U uearee
V6.S
VruSSClLfI Enterprtse

u >
>
McAfee
S)'fl'Ufllec
ueatee
VB,S.01
ViNsSun En!!rpnse

Product tree >


U also for 3rd > PKZP
UcAfee Vl'UsScan fn.!erp(is..e
V8..7.0
party products
u
U
• Result:
V
Selected software components:
V
U Order number

pes 7VS.O
V
t.lcAfee Application Control VS.1
V
v Compatibility statement: ~ (compatible)
This software combination has been approved.
U
further compatibility statements:
This compatibility statement was made based on test results
which contain the selected software components,

u
u
v 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
oJ • When using the tree structure, you can find our service offers topic-related
J • The index enables an alphabetic search for important service terms
\...)
• Always the latest information on the service

SIMA TIC pes 7 - Documentation and Online Support


Training Qocumentation, V1,OO, ST-PCS7SYS 2 - 15
u
V
J
\.J

PCS 7 System Course V

V
u
U
U
U
U
V
U
U
U
\...)

V
\...)

u
u
u
U
V
2.4.6 Marketing Information
U
To give you an overview of the performances, facts & figures and processes of Service
U
& Support in the worldwide network, we have put several advertising brochures at your
disposal. V
Your advantages: V
• Fully edited advertising material for your presentations V
• Clear arrangement of all Service & Support performances U

• A concise summary of marketing arguments for facilitating your own marketing V


U
V
U
U
V

v
Service.S Support in the worldwide network
u
Online support guide
Support Request
u
Online Case Tracking v
·Oiiginal spare parts from Siemens
SJMATIC Remote Support Services u
Life Cycle Services for Large Drives
for;s:aYi,~&ppm!: service & Support for electrtcatmacntnes
v
Presentation tons v
Map of the world Service & Support
GOOgle Earth "Servicf) &.5upport WORLOTOUR" w
Trailer "Services in Life Cycle"
u
SIMATIC PCS 7 -Documentation and Online Support
u
2 - 16 Training Documentation, V1.00, ST-PCS7SYS v
v
oJ
, I

u PCS 7 System Course

u
u 2.5 Functions of the Industry Online Support Internet Portal
U
2.5.1 Search
U
_) The Industry Online Support offers three different functions for your search. Additionally
there are filtering functions, search in hit lists and further functions available.
U
U Free Text Search Navigation in the tree structure Alphabetic Index
U InduuryonnnoSupport IndU.tlY onnne Support

U
1I,,1gation I rt Index (1'.·21 IL _
U ABCDEfGHI JKlf.l
IIOPQR.STUVWXYZ
U - .......J A.L,;~-;"".:i? Tt-a'!l-:I~y

[i! __l
U A..~TI!iC~ St1WT-.

PARouters
f'J~t'liOrt..transitions
s,..: • .,.,
U _J 1;j.l'lt,fI'Ca~""
PROflSUSPA
S __J I~Qu"tiale:#-"'"'wI\IOltiCl" Pad'aging

U
U
V
V
• Free Text Search: When searching via free text, the complete Portal will be searched
V according to the entered term. The employed search algorithm can automatically see
V similar or related terms.
- Product designation
\..)
- Order number (MLFB)
\..)
- Entry-ID
u - General Terms
v • Alphabetic Index: When looking for firmly defined terms, the alphabetic index will
support you.

u
u
v

V
J

SIMATIC PCS 7 - Documentation and Online Support


Training Documentation, V1.00, ST-PCS7SYS. 2 - 17

V
J
"--
PCS 7 System Course U

U
l.J
U
2.5.2 mySupport
U
To provide a better overview and to make the use easier, all your personal data and U
information is summarized in a separate area.
U
• Creating of new and viewing of existing queries to the Technical Support via Support
V
Request
U
• Subscribing to and changing Service & Support Newsletter
I.._)
• Changing or supplementing personal data (e.g. e-mail address)
U
• Calling My Documentation Manager to compile personal documentation
U
• Personal functions from the Technical Forum (e.g. personal messages)
U
• Setting up of navigation filters - with myTree
U
To the free registration:
u
U
V
elcome to mySupport, V

your~rSonal Y>OI1\:ing space In the Senilce&Suppoit Portal.


U
It you already have a perscnal l09in\ you can log In dfreC\ly:
V
Under-mySupport yeo v.iU find ail personalized ififormlliion and u
fUnctions on a ~entfa' basis;
u
Befo!e you cal) use these personal functions you neeo a '09ln' \'.1lich
is created once by ditklng RegiSleL IJ
-The navigatfon ~r<m Ule lef(l1!l!pS you to gain an overvtew l?flhe V
individual fUnctions· \'>111\001
requiring alpgin·. You \\ill require a
losin,> hov,~ver; lfyeu ,'.ish 10use-the Individual functions. u
V
U
V
U
V
2.5.3 My Documentation Manager V
'-.)
My Documentation Manager (MDM) offers you to compile your own documentation from
our standard documents (manuals) available in the Product Support section. \)

Documentations compiled in one language can easily be output in any other language V
available in the system.
V
V
Function
V
In the My Documentation Manager you may define a customized structure for the
U
storage and management of your compiled documents. The following steps provide you
with a quick and easy introduction to the My Documentation Manager. V
V
\.J
V
V
SIMATIC PCS 7 -Documentation and Online Support
2 - 18 Training Documentation, V1.00, ST-PCS7SYS V
V
J
l.

L PCS 7 System Course


U
\.. Main steps
U 1. Select a document - All manuals available in the Product Support section and
marked as "Manuals/Operating Instructions, configurable" are suitable for
U
processing with My Documentation Manager. You can find these manuals also by
U using the search function and selecting "Manuals/Operating Instructions ->
Configurable documents only".
U
2. Retrieve a document in the My Documentation Manager - Click the "Display and
V Configure" link in the relevant manual entry to open the My Documentation Manager
U and to add this manual to the "Last visited" selection list.

U 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
u correspond to the relevant chapters of your individual compilation (library).

u 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
V 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
v position in your library.
v
u Link
v https://www.automation.siemens.com/mdm/default.aspx?GuiLang=en
v User registration is required to use the full range of functionality offered by the
Automation and Drives Web.
u
u
v
v [±] ~<i!rso-n3[ D3l1

I±I .=::, :;'UypOO R"'lU01t

u [±] myTree
Compile Your Individual Documentation
ttl Fceum

ttl _:) Newsletter

_] My Dccumentaticn Mansg-:r

I±I ...::J Bookm9&.sITsg.

ill _.I Gana-sting PDF·Files

...::J CAx

I±I ..::J ExtIan e Is

u
v

v SIMATIC PCS 7 - Documentation and Online Support


Training Documentation, V1.0Q, ST-PCS7SYS 2 - 19
I ,

I_)

PCS 7 System Course V

\_,

U
U
Exam pie: PCS 7 VS.O Manual Collection within the MOM
U
http://support.automation.siemens.com/WW/view/en/57415277
U
U
\..)

U
V
V

Download>
U
Displaying and configuring>
(49KB) U
V
2.5.4 Online Support App (for Apple and Android Smart Phones) U
U
V

v
v
v
u
Manual
v
Download
v
News
u
Characteristic ,_)
v
u

P a. J.. fill u<>


u
tfQmo s¢.i&'(.t\ mi~>f\Pfrt fh ....
~ t.!:¢i~
v
v
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 v
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,
v
certificates, characteristic curves, application examples and tools, product news (e.g. U
announcement of new products), information on successor type in case of product
1...,,)
phase-outs.
V
To the overview:
http://support.automation.siemens.com/WW/view/en/56297976 U
V
V
V
V
V
SIMATIC PCS 7 -Documentation and Online Support
2 _ 20 Training Documentation, V1.00, ST-PCS7SYS V
J
J
PCS 7 System Course
\._

l
L) 2.6 Communication in the Industry Online Support Internet Portal
u
U Technical Forum
U To complete the comprehensive range we support the direct dialog between specialists.
U With the Technical forum you get an attractive discussion platform in German and
English where users and experts can exchange their experience.
https:llwww.automation.siemens.com/WW/forum
u
u -+ slemens.ccm -+ Industry Automation and DriveTechnolcqles

'- FOfUh.

SlMATIC TOC, FM4S8, T400


[Q) Process Control Systems SIMATIC PCS 7 -) Support Request
SUAATIC S7 -+ Contacts Worldwide
Experts ofthlfi eenrerenee
StMATIC $51 STEP 5 -) Moderator
., Mario areqenca
u SlMATIC50S
Communication J Ne1works "J Dec
ProgrsmlnYleJ DeVices • Phantorn75
Pc-besec Automation -+ hugUV_d1, -7 Ton,
• Silent Bob
h:lushlal PC Slh\AOC PC
-+ Jeebs, ~ eeneetu,
-+ myhaye, -+ O_Moderalor,
v Decen1ral Peripherie
Industrial Software
Page 1 of 11C(2,8'.19rterns) 1
-) makdaq, -) ErikYnerbo,
-} Ivo vd E., -) satyagraha,
SIMA TIC Addons lIT 4h::fustry
~ kthloune, -) O_Moderator,
U ,J.. Prceece
pes 1
comrot Systems SIMA Tie
Topll:s ~ Hclzhaulen, 7 kkk,
? RUPPERT, -) 811alNoone,
Process Control System. WACS.
? VDHW, -) nbahmen.
V Process ConIroi System - GIUAOLOG
. cHHrtinu fOlh ive fUI SHO 011 peS1 by: tillman.€)
(rMrt.~«(O) i -e nowtre, ? TIago"'Candeias,
teepem M/YVliCC-TM IPCS7-TM
;a..
.,..~y~i~ __ 2J2812012~ 9 PM I
, -< -} 8UI, -} gOlman25,
V otner Process
ViSU65zfliion
Control Systems '~::I~:~'

,by: ch:Cl:en
l~adil\U nowmeter pulae
by.Oreca43
2126J2012.1:14PM!
27 ~(O)!
!
.., deliatoXl002 •

SIf\AJMERD( I SlMOORNES I Hell)


V MASTERDRIVES ISIMOTJON IsnMtCS
_ h,udwdl'e di.lilIlOs1.ics
by:1Ti8t.,es56
in pes 7

..) Online Help


SlM..JMERI< CNC BUiomation systems
'rreume with OS compile (plant
SlMOORIVE Converter system -) Guided Tour
V SlMOVERT MASTERORIVES
hler nr chy misl1Mtch)
by: St{~:id"i.;m
Motion Control System SlhIOTiON . - [ WinCC Tugs of S;;tO!~l (]k:c~-
V SlNAMCS
MlCROMASTER
. by: ro8i'.rJ'f<g

,:~\ -:-ov;l-:-lin~"-':-de~VI'-'C~'-:CI'~llCd
rOM r.1;- .,
DC converters SDoK>REG ~ flal1lWinCC
by: lnf1t.d'lg-el
212812012,9:01 AM
56 i~~(O)i
Process Inslll,merl.a1ion J An&lytics I _~.~by: Ihal:tla9 _
Weighilg Systems SWAREX
-- ---__J_-~-~~1
I UJ){JI dd,ltioll (16m PCS7 vG.1 to pes
by: Phanlom75 €I

v
low.volage Controls

~~~~~~~--~~------~~~-+~~-+~--~~-------------------
:v7.1
I by: .0.00
212812012,1:50AM
66 '~(O)i

Support Request
You can send your request directly from the Internet to a specialist in Technical Support.
v http://support.automation.siemens.com/WW/view/en/56293856
u What does the "Support Request" offer you?
v • 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.

v SIMATIC PCS 7 ~ Documentation and Online Support


Training Documentation, V1.00, ST-PCS7SYS 2 - 21
u
v
PCS 7 System Course

Own suggestions for FAQ (only available in Intranet)


You came across a problem, solved it and want to share the solution with other users?
So, just post your idea in our FAQ Discussion Board: v
https://workspace.automation.siemens.com/contenU1 0004288/default.aspx U
I...J
Feedback to planned Application examples (only available in Intranet) U
On the Application Sharepoint, we will regularly post the planned application topics. We U
would appreciate your input and feedback.
V
• What topics do you consider important, what topics have a lower priority?
U
• Do you miss any planned applications?
\-.J
• Would you be able to support us with your know-how or with previously created
U
solutions?
https://apps02. industry.siemen s.com/conte nU10002 594/P IannedApp lication sid efau It.as
u
~ u
u
Newsletter v
The newsletters inform you precisely of the components and platforms you are v
interested in - to the point and free of commercials. Determine for yourself what you
want to be informed about.
V

Using the newsletter requires a registration under mySupport.


V
http://support.automation.siemens.com/WW/view/en/38716811 U
U
V
-t certrel rewle+er .5J.:>tem
U
U
"Inhis area we provide gene'al in'ormo1ion as tothe trpic serviC'laSl1'Porl. Tbi! informalio,; has be," edtea and
wit hf! ::c:p.nt .tnvou n-
rAOI liAr intp.rYRI~- V
191 A&O AS cs-nne (intranet) Ll
191 Ana~t Relation lIews (intmnel.l
o
Anari.s1 R~!atio[ls Ne'N;'), -l'fJ\"! ourchasec <ju::.:ie~.in8~glts, al~rt~· end tuther
u
~ CC1 Transformation lI.wsletter (intranet) [J
~ Me SItIUMERlK doeumentatlon newsletter (intranet)
u
LI
~
lntcrmeiicn a].)M riCv'" .:'Li)!i.5ileo<1 dO:;l"lment~ti::.n
Motion ColltrollT -Security o
v
This lew~lette! irltotms ff";oJ...1 T securitv lssuee for t·..1otbn Conlrol Sy~,;;m
Sl!v1CTION i S!NJMEf~H\ elK AutOtrll'{lof, Syst-:H!:S ;;;;ld cUI"lf';atLJlIlty 01
u
M1c-wsc:ft 3:eCl.l ity U,~rjdes.
8iI Proms newsletter (mtranet]
D v
if!>:. \vam ~o keep vou posted re£lulSl'I'.1 8tO'1i the "PmdIS' promK1 intorrretlon
svstem H4s e·mBH newsietter
1;'11::011 Pt'C':ulS inr!o\'®;Jn'3,
·...vill ke.-::p ':'01J in10nrect et irre9!llar intervals (::11
r.h~rge.? and f~(';('Irp.:i errors. '1;,11'10should take (Jut iI
u
slib<:\:rt.._lI.hn to thE; P'-Q('f:S t4e·~%!etti]:r? .t.l maintemncl?: .:t<;iff, .:u..'thors frrJ?n
procfud m3n~t!:.~merT'!dev:;-lQj:;Illi:;nt, 1mns;;;tor.J VA"it: \'·!i~h to b3 kep up to
v
dote l;ibou:. ProC!S.
8 servree s support - UEWS [J
W
N>:<W3: f:)f se-vce. &,p~,cri and Taos
~ serslce & Support - IlEWS(intr.l1et) [J V
V
YUJ tilt:;! iltUlt ~Ilr1;l11t:;!1 vtew. V
Yo) will. get ~ocum~nts released 'or ths Int~net as weg as mere Intrfllet dJcurrents oxcl,siyel', inteldell for
Internal .ise. '-.)
SeBciin~ a document i~pe - this selecton gbbailz apl'lies to all news~erJopics in the "Product Support"
area:
O)ownloaas DMOdificaion logbook
T1Manuels .n:haracteri3iics FTCerlifica:es
Ll Prcduct dlsccntinustlon.
(UOdEttE)

SIMATIC PCS 7 -Documentation and Online Support


2 - 22 Training Documentation, V1.00, ST-PCS7SYS
( I

PCS 7 System Course


\__

U Twitter
LJ Starting immediately, information on Siemens industrial products and services is also
available via Twitter.
u
U I »Follow I
U http://support.automation.siemens.comlWW/view/en/56294136
V
U
u 2.7 Checkpoint
U

Let's think about this:


u
• Name some reasons for
registration in MySupport.
u • What do you think is the best way
to have always the latest version
of the required manuals for your
job with you?
u
v
u

oJ ~,.

V
V

V
V

v
v

v
u
\,..)

SIMATIC PCS 7 - Documentation and Online Support


Training Documentation, V1.00, ST-PCS7SYS 2 - 23
u
v
I I

~_)

LJ
u
v
u
u

U
V
U

V
LJ
V
U
U

V
V
V
V
U
v
u
u
u
u
u
U
v
oJ
v
v
v
u
u
v
v
V
v
v
u
....)

U
J
V
PCS 7 System Course
\,__

u
u
U
\.....1
U
Lr
V
Content 3
U
U 3 Requirements and functional process description 3
3.1 Learning target 3

U 3.2 In brief 3

I 3.3 Process diagram .4

U 3.4 Functional process description 5

U 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
v 3.5.4 Function diagram of analog signals 8
v 3.6 Checkpoint 9
v

u
u

v
v

SIMATIC PCS 7 - Requirements and functional process description


Training Documentation. V1.00. ST-PCS7SYS 3-1
u
v
PCS 7 System Course
J
U
U
V

'-...J
<:»

V
v
V

V
V
V
,--,'
U

V
l.....)

U
W
V
U

V
V
V

U
U
u
v
v
v
v
u
u
V
SIMATIC PCS 7 - Requirements and functional process description
3-2 Training Documentation, V1.00, ST-PCS7SYS

V
J
PCS 7 System Course
c__
l
3 Requirements and functional process description
U
U 3.1 Learning target
U
u
The participant will learn about
u
G • The functions Of the plant to be
controlled
• The type of devices that are used
u • The features of the Signal box used as
additional training equipment to realize
hardware related process signals

3.2 In brief
V
Johnsson & Co, a company supplying products for the food industry, wants to
IJ modernize their plant to increase the production to 230 percent in the next 5 years.
V
Material Tanks Reactors Buffer Tanks

v 000 o o 00
00
v
000
o 00
u 000
000
Storage
o o 00
00
Shipping

000
000000 Office and
Control Building
000000
000000
:.r: Johnsson
000000 &Co
000000
In three stages, with two years between them, the automation system is to be updated
using ascalable decentralized control system.

u SIMATIC PCS 7 - Requirements and functional process description


Training Documentation, V1.00, ST-PCS7SYS 3-3

v
PCS 7 System Course

\~
This training
The first stage is to cover the grey part in the plant overview above.

Later ..~
U
LJ
The other parts of the plant are covered in stage 2 and 3.

u
3.3 Process diagram
V
Next picture represents the process diagram. U
U
V
flow v
Material u
LT114 LT124 LT134 Tanks
6000 kg 8000 kg 4000 kg u
4s V122
flow
u
2s P123
V
'v'
0.25s
v
Dose V
Tanks
U
flow
4s
200'C V
CV325 CV345 v
steam W
ambient U
5s

2s
V
U
5s flow

LT414 LT424
12000 kg 18000 kg Buffer VI
8420 Tanks

(V422) v
(V412) flow
V
V

v
u

SIMATIC PCS 7 - Requirements and functional process description


3-4 Training Documentation, V1.00, ST-PCS7SYS u
PCS 7 System Course

3.4 Functional process description


u
In four different reactors, up to three components are to be dosed, mixed and heated
u up.
v
u Material Tanks M110, M120 and M130
lJ The components are coming from three material tanks, two with a capacity of 6000kg
U and a third with a capacity of 4000kg. The outlet to the dose tanks is done through a
valve and a pump for each tank.
The filling and refilling of the material tanks is not part of this project. It is done through
u valves, which states are offered to the control system for displaying.
u
Dose Tanks D210, D220, D230 and D240
u Controlling the amounts of the components to be mixed and heated, dose tanks are
u used. Dosing is done for one component at a time. The capacity of each of the dose
tanks is 400kg.
u A dose tank contains 3 inlet valves, one for each component.
The outlet valve will be the inlet for the related reactor.
v
V
Reactors R310, R320, R330, R340
v Four reactors are used for mixing en heating the components. R310 and R320 can
contain 700kg each; R330 and R340 have a capacity of 11OOkg.The inlet valve is the
same as the outlet valve of the related dose tank.
Each reactor has a single direction, single speed mixer.
Heating is done by steam piping in the inside of the reactor. A control valve is controlling
the steam flow. There is no cooling circuit.
v The outlet of the reactors is done through a valve and a pump, with destination one of
U the two buffer tanks.

Buffer Tanks B410 and B420


u Two buffer tanks, one of 12000kg and another one of 18000kg are there for storing the
product, before it is transferred to the shipping area. Each of the buffer tanks has a inlet
valve.
The transfer from the buffer tanks to the shipping area is not part of this project. It is
done through valves, which states are offered to the control system for displaying.

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
u entered in the system and is valid for the entire production using all reactors.
v
v
u
SIMATIC PCS 7 - Requirements and functional process description
Training Documentation, V1.00, ST-PCS7SYS 3-5

v
PCS 7 System Course
u
3.5 Connection to a Signal box
\_;

3.5.1 Overview v
Extra to the simulated process to be controlled, a Signal Box is available as a part of V
your training equipment: LJ
AS u
co_.
S7-400 .- Q)
..........
c U
_.
(/) Q)
::J_c v
""C_.
CW .;
.; u
.;
.; " u
.;
.; "
.;
"" V
.;
ET 200M .;
.;
.;
u
u
u
PN DP u
v
i 1
Process
V
v
signals V
\,)
Signal Box
v
Wiring has been made up to the front connector of the 10 modules on the DP ET 200M V
rack, containing both a digital and analog input and output module.
U
The signals can be used in various situations in later tasks.
U
V
U

U
V
V
v
V
V
V
U
V
u
V
V
V
U
U
SIMATIC PCS 7 - Requirements and functional process description
3-6 Training Documentation, V1.00, ST-PCS7SYS U
V
V
U PCS 7 System Course
L
L
U
3.5.2 Layout
U
U 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.
Lt
U

u
u
OH1

OH2
.S1

.S2
@ Emergency
Off

u OH3 .S3
u Source for • SOI,lrCefor.
Display 1 ~ Display 2 ~
OH4 .S4
(AOOor AIO) AIO (A01 or A11) AI1
v Wire break Shortened to M No Power
v .T1 T3 Relay 01#0 00#0 01 module

•••
Normally Opened
u Relay
T2 T4 Normally Closed
(Relay controlled by 00#0)

v
• S1 S4 are switches to be used as operator input for binary input signals.
• T1 T4 are buttons also to be used as operator input for binary input signals.
V
• H1 H4 are lamps indicating binary output signals.
J
• AID, AI1 are potentiometers to be used as operator input for analog input signals.
• The displays 1 and 2 are analog measurements indicating analog output signals or
the current input signals as set by the potentiometers.
• The switches below the displays are used to select what the display is indicating: the
analog output or input signal.
• The relay LEDs indicate a valve position simulated by a relay. The relay is controlled
by the digital output signal DO 0.0.

u
v
v
SIMATIC PCS 7 - Requirements and functional process description
Training Documentation, V1.00, ST-PCS7SYS 3-7

v
o
'. J

PCS 7 System Course u


U
LJ
~_)

3.5.3 Function diagram of digital signals ~_)

Please do realize: this is not a wiring diagram. This drawing supplies you with an V
overview of the digital signals of the Signal Box and their connection to the 10 modules.
l.J
u
U
U
U
U

H1 H2 H3 H4 V
u
T1 T2 T3 T4 S1 S2 S3 S4
u
u
u
V
\....,1

u
\...)

U
V
U
3.5.4 Function diagram of analog signals
U
Please do realize: this is not a wiring diagram. This drawing supplies you with an ..)
overview of the analog signals of the Signal Box and their connection to the 10 modules.
U
l...J
\._I

\.)
AOO A01 A02 A03
W
v
v
V
U
Display 1 Display 2
U
V
U
AI2 AI3
U
U
V
W
U
SIMATIC PCS 7 - Requirements and functional process description
3-8 Training Documentation, V1.00, ST-PCS7SYS V
V
J
PCS 7 System Course
l_
L
u 3.6 Checkpoint
u
U Let's think about this:
U
u • What is the minimum of
information that should be
lJ available in a Process and
u Instrumentation Diagram to create
the basic functionality of the
Process Control System?
u

u
u
U
U
V
U

U "
...!"

l....\
U
U

u
u

v
SIMATIC PCS 7 - Requirements and functional process description
Training Docurnentaflon, V1.00, ST-PCS7SYS 3-9
u
u
u
u
u
\.J
U
U
U
U
V
V
V
U
t....)

V
U
U
U
U
U

U
U
U
V
U
V
U
U
V
U
U
U
V
U
U
'--_ PCS 7 System Course
l
U
U
U
V
lJ
L;

U
Content 4
Ll 4 System design and component specification 3
U 4.1 Learning targets 3
4.2 Overview 3
4.3 Before engineering starts .4

v 4.4 Automation System 6


4.5 Distributed I/O system 7
4.5.1 Remote I/O systems 7
4.5.2 Field bus : : 9
v 4.6 Combined Engineering/Operator system 11
U 4.7 Networked stations and systems / Industrial Ethernet 12
..) 4.8 Simulation Tools 15 .
4.8.1 Overview 15
4.8.2 S7-PLCSIM 16
4.8.3 Steps for changing to PLCSIM 16

v 4.9 Checkpoint 19

u
u

v
SIMATIC pes 7 - System design and component specification
Training Documentation, V1.00, ST-PCS7SYS 4-1
PCS 7 System Course '--
t_
l.._)

l_)

U
V
l.J

U
LJ

U
lJ
V
V

U
I..J
"-.,1

\'_)

U
U
V
U

U
U

U
U

V
I....J
U
U

U
U
V
U

SIMATIC PCS 7 - System design and component specification


4-2 Training Documentation, V1.00, ST-PCS7SYS
(. pes 7 System Course

l..
U 4 System design and component specification
l.J
U 4.1 Learning targets
l.J
u The participant will learn about
V • The preconditions for working
with PCS 7
• The main and especially for this
training relevant system
u components of PCS 7
u
u The participant will be able to
• Work with PLCSIM in context of
u PCS 7
u
u 4.2 Overview
SIMIITIC pes 7
performance you trust

u
v
u
u
v
U

u
u
u

SIMATIC pes 7 - System design and component specification


Training Documentation, V1.00, ST-PCS7SYS 4-3
(_

\_
PCS 7 System Course
t_J

~_)
4.3 Before engineering starts
\.__)

U
Supported Operating Systems
U
LJ
U

U
V
t..J
U

U
U
u
Windows components additionally required
Message Queuing is always required u
Activate liS in case of using the PC in PCS 7 as: U
- OS Web Server V
- Central Archive Server U
- PC station, where BATCH-Archives are stored.
V
Deactivate liS in case of any other installation.
u
U
3rd party software and virus protection i...J

• Only install PCS 7 software products listed in this documentation on a PC station. U


This especially applies to PC stations for process mode (OS, SIMATIC BATCH,
W
SIMATIC Route Control).
U
• Installing and simultaneously activating applications that are not approved by
Siemens can adversely impact the PCS 7 system performance. U
• The user bears sole responsibility when third-party products are used. W
• If you require third-party products, these should be installed before you install PCS 7. U
PCS 7 and these third-party products should not run at the same time.
U
V
(jjj= This is regarding also Microsoft Office packages.
U
V
• Virus scanners and updates approved for PCS 7 can be installed later. U
U
(jjj= There are several virus scanners, which are tested for PCS 7 compliance.
U
During OS runtime it is not allowed to perform a complete scan of the PC.
U
U
U
U
V
W
U
SIMATIC PCS 7 - System design and component specification
4-4 Training Documentation, V1.00, ST-PCS7SYS V
\.)

J
l_)

"-J PCS 7 System Course


I..

L
lJ
Licenses
lJ
A license provides the right to use products. This right is in the form of:
\....J • CoL (Certificate of License): The CoL certifies the license. The product may only be
U used by the license owner or authorized persons.

u • License key: The license key is the "technical representative" of the license (also
called an "electronic license stamp").
l..I
U
PCS 7 without a license key
You may use the PCS 7 Engineering Toolset software package in a trial version for
u up to 14 days.
You can activate the trial mode the first time the software is used (instal/ation by the
u setup frame).
See also [102J PCS 7 VB.OPC Configuration and Authorization - 12_2011, 4.6 for
u more information about licensing of PCS 7 software.

u
Process Objects
v
u I Process objects in AS
As of V7.a, process objects (PO) requiring licenses are considered those that can be operated and
v monitored and can produce messages. This includes also SFC-charts, but not driver blocks.

Process objects in PC stations


u . The counting of process objects on PC stations is more complex. Take into account:
v • Number of process objects of individual SIMATIC stations that are assigned to the corresponding
OS ..
• Number of tags configured "manually in WinCC", (Calculation: Number of WinCC tags 125 = 1 PO»

v ~ \JYV>Q:.. f'o -6e...v., Qv?';QX\yv-.,<l\.~c:J.,,'\"""')~;1Q,. Z. S -bQ,.,2J>


Using PCS 7 Bundle PCs
• Recommended PC hardware configuration already taken in account

• Hardware and installation passed tests

u • PCS 7 pre-installed

• PCS 7 specific settings already made

fV\~etc) 6e_ CPU'.


~ E:.5i s~ I-j \. X -(1) -- -'"
( J 2.4> ocvF- \JYV> ~\Qh
)4)~OCAlr ~\s ~'<) ts
u
u
u
v

v
SIMATIC PCS 7 - System design and component specification
Training Oocumentauon, V1.00, ST-PCS7SYS 4-5
PCS 7 System Course

Determined by the available training equipment, for each student group there will be
used ... (next paragraphs):

4.4 Automation System


In accordance with their functionalities, the modular automation systems of the S7-400
range can be classified into:
u
_)
Alternatives particularly in small
applications: U
pes 7 AS RTX Microbox and
PCS 7 AS mEC RTX

• Standard automation systems u


57-400 U
• Fault-tolerant automation systems
} Range
• Safety-related automation systems ---- lJ
U
V
A standard automation system is used in our training, consisting of:
V
\._j
AS
S7-400 U
Main Components
U
• a central rack U
• a power supply module
• a CPU 41X with integrated MPIIDP w
and PN interface v
ET 200M
• an Industrial Ethernet u
communication processor CP 443-1 u
• an optional communication u
PN DP
processor CP 443-5 EXT as u
interface to PROFIBUS DP u
i 1
Process
• various I/O modules on ET200M \.,)
• Signal box
signals
u
Signal box u
u
Signal modules from the SIMATIC S7-400 range can be used in the SIMATIC PCS 7 u
automation system if necessary. It is recommended to take into account the diagnostics v
capability of the modules for meaningful use in SIMATIC pes 7. Application cases are
small systems with a small distributed configuration. v
u
W See [001] PCS 7 Brochure - 02_2012, page 38 for more details U
U
U
SIMATIC PCS 7 - System design and component specification
4-6 Training Documentation, V1.00, ST-PCS7SYS V
\.)
U
PCS 7 System Course

4.5 Distributed I/O system


U
4.5.1 Remote 110 systems
J
I_) In practice, automation in the field area is largely characterized by distributed process
I/0s:
)

l.J

u • ET 200 remote I/Os in conjunction with classic field/process


devices and HART field devices

u • intelligent field/process devices directly on PROFIBUS

u
U
\.J
4._)
The following standard process II0s are recommended for the SIMATIC pes 7 process
control system for automation in the field area:
u r --------------.~!'
u I 11 Distributed 1/0 system ET 200M
Modular remote 1/0 system with multichannel
u degree of protection
modules; IP20

u L~~l1.iiL.:1I.aW-""1:II. A comprehensive range of 1/0 modules of S7-300.design.:

v Oistributed 1/0 system ET 200iSP


• A modular, intrinsically-safe 1/0 system in IP30 degree of

J1
protection, and can be configured with up to 32 electronics
modules (2/4/8-channel)

Distributed 110 system ET 200S


A bit-modular distributed 1/0 system in IP 20 degree of protection
and is approved for operation in Ex zone 2 or 22 (except for

~========~==~~~~====o=pe=r=a=tio=n=w=i=th=m==ot=o=r=st=a=rt=er=s=).======================~~

u Distributed 1/0 system ET 200pro


A modular 1/0 system with high IP65/66/67 protection suitable for

U
use at machine level outside-the control cabinet.
• As a result of the innovative design, the ET 200pro has a relatively
small size and can be flexibly adapted to the requirements of the
I
'J respective automation task with regard to the connection system J
and I/0s.

v
u SIMATIC PCS 7 - System design and component specification
Training Documentation, V1.00, ST-PCS7SYS 4-7
....)

J
PCS 7 System Course

Main components of an ET 200M


What we have available for exercising is: U
\.....)
• Power supply
\___,
• an IM153-2 interface module to Profibus OP
\.__)
• several 1/0 modules (01, ~O, AI, AO)
\,
• bus modules supporting the feature of removing and inserting modules during
operation (hot swapping) U
\..J
Integration of HART-Devices (HART = Highway Addressable Remote Transducer) U
HART is a serial transmission procedure with which additional parameter data such as \...)
measuring ranges, attenuation etc. can be sent to transmitters and actuators over a 4 to
20-mA current loop.
U
U
The integration of HART-devices is supported by the distributed 110 systems ET 200M
and ET 200iSP. U
l.J
r:jj=' There is an interface module 1M 153-2 High Feature required for the ET200M. U
v
ET 200 systems in potentially explosive gas and dust atmospheres U
U
U
U
U
U
U
u
U
U
W
U
U
U
V
U
U
.PROFIBUS PA
U
U
U
V
U
W See[001] PCS 7 Brochure - 02_2012, page 51 for more details U
V
U
SIMATIC PCS 7 - System design and component specification
4-8 Training Documentation. V1.00, ST-PCS7SYS W
~I

U
I....)

PCS 7 System Course


u
4.5.2 Field bus
u
Distributed peripherals communicate with the automation systems at field level through
u a powerful real-time bus system.
u
V Profibus
J Industrial Ethernet 0
PROFIBUS in the DP or PA version is used as the
U Automation system
communications medium.
I...) The PROFIBUS is complying with the IEC 61158 and
IEC 61784 international standards.
The PA version permits digital data transmission and
power supply to the field devices over a two-wire cable.
Since PROFIBUS DP supports the HART protocol, it is
also possible to integrate HART field devices into the
u PROFIBUS DP communication via HART remote I/0s.
AFDiS
i----~~K7' Vd/
• PROFIBUS PN This communication is characterized by:
FOUNDATION
u Fieldbus H1 • Cyclic transmission of process data
(MBP)
• Acyclic transfer of alarms, parameters
and diagnostics data
u ~
N

G ~:
u RS 485·iS coupler
f-l=I--'+'-+Y Q.

0)'

v
Internal DP interface CP 443-5 Extended
in the CPU (maximum 10
u (maximum 4 per AS additional per AS)
by add-on modules)

0:::
o
0::
0..

u CP 443-5 Extended for Connecting to the Field Bus


u In addition (or as an alternative) to the PROFIBUS DP interfaces integrated in the CPU,
YOl,Jcan use the CP 443-5 Extended to interface with your distributed 1/0. With each
further CP 443-5 Extended, you can insert further DP chains and theoretically address
126 more DP slaves.
u
Routing
u Parameter assignment for the DP/PA slaves over the ES and the plant bus via the
integrated PROFIBUS DP interface or the CP 443-5 Extended.

u SIMATIC PCS 7 - System design and component specification


Training Documentation, V1.00, ST-PCS7SYS 4·9
l J
-<
PCS 7 System Course

Profinet
Engineering Statioo I Op&r8tor Station

PROFINET is the standard of PROFIBUS International for


fieldbus communication over Ethernet.
PROFINET is an integral part of IEC 61158.
Planl bus industrial Ethernet
PROFINET uses TePIIP and IT standards.
PROFINET supports real-time communication on Ethernet.
u

PROFlNET connection via


ET200M

u
\..;

U
PROFINET connection
of PA field devices via
U
l-r""';';"'''''';';'''r'-- IE/DP link.nd DPiPA
link
v
U
PROFINET ecnoecucn
DP-capable field devices
v
U
pes 7 enables installation of PROFINET networks with the following components: W
• distributed I/O devices, e.g. ET 200M with 1M 153-4PN HF U
• IE/PB link for connection of intelligent DP field devices V
• IE/DP link with subsequent DP/PA link for connection of PA field devices V
W
Internal PNIIE AS with
interface in the CPU CP443-1 U
U
U
U
V

I.J
V
U

Further Field bus systems, supported in PCS 7: u


• AS-Interface (actuator/sensor interface)

• Modbus
• Foundation Fieldbus u
u
w
SIMATIC PCS 7 - System design and component specification
4 - 10 Training Documentation, V1.00, ST-PCS7SYS

u
U
lJ PCS 7 System Course
U
U
4.6 Combined Engineering/Operator system
u
o
In this training ...
v
a workstation is used as a combined Engineering/Operator system.
U
The operator station is configured as a so-called single station system in this case.
lJ
U
U
Engineering station and
U Operator station:
U

u
LJ Industrial Ethernet

u
u Automation system
AS 400
u
U

PROFIBUS DP Dlstributed i/O


.......•........

u
u

w See [102] PCS 7 VB.0 PC Configuration and Authorization - 12_2011, 2.5.3 for more
details

u
u

u
u
u
u
u
SIMATIC PCS 7 - System design and component specltlcatron
Training Documentation, V1.00, ST-PCS7SYS 4 - 11

u
I U

PCS 7 System Course U


U
\.._)
4.7 Networked stations and systems I Industrial Ethernet U
U
Physical network communication via MPI U
MPI (Multi-Point Interface) is the integrated interface for SIMATIC products providing a U
simple network capability. Because restrictions as small scope, few communication
partners and small amounts of data, the performance of MPI is limited to handle u
communication load required by process control systems like PCS 7. U
U
Physical network communication via Industrial Ethernet U
Industrial Ethernet is tailored to the requirements in industrial environments, on the U
basis of Ethernet. Here are some advantages:
U
• Networking of different application areas such the office and production areas
U
• Robust design and electromagnetic interference immunity
U
• High transmission performance, various transmission media
U
• Switching technology and redundant network topologies available
U
One feature of data transmission over Ethernet is that the maximum data packet size is
limited. If a large amount of data needs to be transmitted, this must be split into several U
packets. This task is handled by the various transport protocols as ISO or TCP/IP. U
U
See [404J SIMA TIC NET Industrial Communication with PGPC - Basics - 06_2008,
v
2.3 for more details
U
V
U
u
u
v
u
u
u
u
u
Antage;lb;ls
In(ltJ~illIEl.hGfTI!;{
u
l(;pljs~libi\ch}

u
u
Asset rnanagementJornetw6rk U
componentsson the plant bus
U
Gateways on the plantbus .(exti;lrnal
connection of an AS) U
U
u
U
V
U
SIMATIC PCS 7 - System design and component specification
4 - 12 Training Documentation, V1.00, ST-PCS7SYS U
V
v""'
C. PCS 7 System Course

LJ
U Terminal bus:
U In case of a multiple station as, the as servers and clients are also connected to the
terminal bus. The TCP/IP protocol is used for process communication on the terminal
LJ
bus. CPs and connections on the terminal bus are not configured in PCS 7.
LJ
LJ Plant bus:
U
The CPs of the relevant stations must be connected to the plant bus for these
U connections to be loaded. The ISO or TCP/IP protocol for Industrial Ethernet can be
used for process communication on the plant bus.
U

See [121J PCS 7 Compendium Part A - Configuration Guidelines - 03_2009, 1.3 for
u more details, when ISO or rCP/IP should be used.

In multiple station systems we would recommend separating the terminal bus and plant
u bus. In small systems, a bus system with a shared plantlterminal bus can be used.
Various functions are carried out via this bus, for example loading the configuration data
u to the target systems, testing the system and process mode.

u Network address
u Each Ethernet module is assigned a unique MAC address. As a rule, the manufacturer
has imprinted this address on the module.
u
• The MAC address is fixed, if default network cards of PCs are used f6'r
communication instead of a CPo Typical field of application for this default case are
u office networks. The network administration has to consider the new MAC address of
replaced network cards.
u
• Automation systems in plants are equipped with CPs. The MAC address is
u configurable via HW config of the PCS 7 project. During download to~tbe AS, the CP
u is "rebaptized" with the new MAC address.
u The advantage of configurable MAC addresses is fast maintenance, because the
replacement part can keep the same MAC address like the defective part.
u
Beside default network cards, there are CPs available also for PC stations. The use of
such CPs can provide some more advantages:
• Increased number of communication partners
u • Fault-tolerant connections can be configured
u • Capability for time synchronization
u
u (jj= If several standard network adapters are used, the adapter for the terminal bus must
appear first. Any non-functioning network adapters which are inserted must be
u disabled. Following a PCS 7 installation, a dialog box appears in which you must
select the network adapter for the terminal bus ..

u You specify the network node address in the object properties of the Ethernet CPo The
following properties are defined:
u
u • MAC Address

u • in addition in the IP protocol: IP address/subnet mask/address of the gateway

u
u
SIMATIC PCS 7 - System design and component specification
Training' Documentation, V1.00, ST-PCS.7SYS 4 - 13
v
u
PCS 7 System Course
u
You must check/modify the MAC address only if you are using the ISO protocol (for u
example, for ISO network-independent transport connections), or if you are using the v
ISO as well as the TCP/IP protocol. Application case: Plant bus configuration
u
You must not activate the MAe address if you want to configure only communication
types that require TCP/IP protocol (Tep connections, ISO-over-Tep connections, UDP u
connections). In this case, you can not enter a MAC address and the address that is
U
imprinted on the module is maintained. Application case: Terminal bus
G

rn For more information see: U


[102J PCS 7 va. 0 PC Configuration and Authorization - 12_2011, 2.9 U
[103J PCS 7 va. 0 Engineering System - 12_2011, a.10 U
[121J PCS 7 Compendium part a - Configuration Guidelines - 03_2009, 1.3
U
[001J PCS 7 Brochure - 02_2012, page 43
U
U
Network topologies supported in pes 7 U
• Ring redundant ring structure
U
• Line structure U
• Tree structure U
• Star structure U
U
Network architecture in the course U
The engineering/operator system and the automation system have communication to U
each other through Industrial Ethernet components. Each set of equipment is using a
Scalance switch (alternatively: OSM switch) for interconnection, also to the other U
student groups.
U
U
Local network
- - -1- - - - - - - - - - r - - - - - - -r - - - - - - -1- - - - - - - -1- - - - - - - -1- - - - - - - -, - --
U
1 1 1 1 1 1 1
1 1 1 1 1 1
U
EStOS EStOS EStOS EStOS EStOS EStOS EStOS
U

U
_L L L L
1
l!ndustrial~thernet U

Switches 1 1 l l _] l U
U
AS AS AS AS AS AS AS
U
U
U
U
U
This could be an architecture in the course room.
U
Important configuration details have to be provided by the trainer as:
U
• MAC address on your training site
u
• Used communication protocols
U
U
U
SIMATIC PCS 7 - System design and component specification
4·14 Training Documentation, V1.00, ST·PCS7SYS U
U
U
U PCS 7 System Course
LJ
U "Physical" network connection and "logical" SIMATIC connections
U • Physical communication in the network happens between the Communication
Processors (CPs) on the stations: the CP in the AS as well as the CP in the PC
U
station.
l.J
• A (SIMATIC) connection is the logical assignment of two communication partners for
V the purpose of carrying out communication services (for example, the exchange of
process values). As example, the CPU of an AS on one side and the OS,
U represented by a WinCC application, on the other side, are generating/consuming the
U information. As "source/drain" of information they are connected by a logical link.

u
u The PCS 7 documentation often distinguishes between "configuring network"
(regarding physical connections) and "configuring connections" (regarding the logical
u SIMA TIC connections of several types).
u
4.8 Simulation Tools
u
u 4.8.1 Overview

u Different from the method of simulating the process in this training, products are
v available for simulation:

U
At present, the products listed below are available for testing
u OS dlents I multi-cllents and simulation of an entire SIMATIC PCS 7 system or individual
process control levels (automation level, field level ...):
u • S7-PLCSIM
SIMATIC PCS 7 standard product for the function testing of
u See
CFC/SFC application software on PCs/PGs;
main catalog ST PCS 7 for description and ordering data
• SIMBApro FAT
SIMATIC PCS 7 add-on product for field bus simulation

u L~S~SIM
--0
AS simulation
( (PROFIBUS DP and PROFIBUS PAl, including numerous func-
tions for the factory acceptance test (FAT) at unit level
• SIMIT
SIMATIC PCS 7 add-on product for dynamic plant simulation,
u e.g. for the overall plant test or the operator traininq.

u
Field devices

u
u

u
Dynamic
plant simulation
[ with SIMtT
u

u
u W See [003J Catalog ST PCS7. 1 Add-ons - 06_2008, 8 for more details

u
SIMATIC PCS 7 - System design and component specification
Training Documentation, V1.00, ST-PCS7SYS 4 - 15
u
u
PCS 7 System Course
u
4.8.2 S7-PLCSIM v
v
Introduction
v
In S7-PLCSIM you can execute and test your PCS 7 user program in a simulated
u
programmable logic controller (PLC). The simulation is executed on your PC as an v
optional part of the Engineering System ES, you do not require any S7 hardware (CPU
or signal modules) .
u
V
U
Pre req u is ites
U
The Automation System AS is emulated on the PC, that means: "it can be placed and
handled directly beside the loaded CFC/SFC program". You can save the actual state: l.J
loaded program - simulated values - operating mode and you can open this state
V
again!
You can record and play back your actions of simulation to automate tests. You have
U
memory access via Process Image: so you can change I/O-values for testing the l.J
reaction in your program (I/O-simulation). Here you can use the I/O-address or the
signal name of the Symbol Table. V
U
U
4.8.3 Steps for changing to PLCSIM
U
V
Start PLCSIM
U
V
V
V
U
V
V
U

U
U
U
u
U

1. Select the AS to be simulated. U

2. Start PLCSIM with the button "Simulation On/off' on the tool bar. U

3. Simulation is started. The view object "CPU" is opened. The PLC must be in the U
original state. Access to a real PLC is not possible during this state. U
U
r::ir S7-PLCSIM automatically changes the S70NLlNE Access Point to a simulation
subnet. During simulation, do not change the access point to an access point that is V
unknown to S7-PLCSIM with "Set PGIPC interface". S7-PLCSIM will change the v
access point back to the original setting when you end the simulation.
U
4. Switch on the simulated CPU by the option box "RUN-P".
U
U
SIMATIC PCS 7 - System design and component specification
4 - 16 Training Documentation, V1.00, ST-PCS7SYS V
U
U
Iv PCS 7 System Course

l.
U Download of the 57 program to PLC51M
U ~5IMATIC Manager· Tenm08 1!Il!113

U
U
U Cttl+Al-tO Stop Target Modules EJ
CltltX The I~ n'oO<iJe. wi! be uecoed fOl boc1n9 01 the .ystem
LJ cu-e dol ..
0 ••

U Del
M,. __j
U
U

U
Help

U
U
~c.....,eotobjecttothclptC. The n'oO<iJe CPU 414·3P1'IIOP [A OIS 311. In 1M STOP
mod..
U Do J.')U want 10 .!.t~t lhe rood.Ae now (corrplele le:!t6ltJ?

U
U Yes II No

U The blocks and hardware configuration are downloaded to the simulated PLC. The
U simulation system adopts the identity of the loaded CPU and all configured connection
data.
U
The picture shows the first download to be a complete download. Later downloads can
U be started for instance from the CFC editor as download of changes without stop of the
simulated CPU.
U
."
U
Communication to WinCe
There are different interfaces (MPI - TCP/IP - ISO ...) for communication access.
In PCS? we usually use a "named connection" between AS and OS. But: PLC51M in the
current version (V 5.4) does not support the named connection.
u
WJlCtrd: CompIle 05 13

u
u

u
SIMATIC PCS 7 - System design and component specification
Training Docurnentation. V1.00, ST·PCS7SYS 4·17
v
u
PCS 7 System Course
\_.

If you want to have a connection between an simulated AS (by PLCSIM) and an OS, l.
you have to ... U
1. Start the compilation wizard for the selected OS. U
2. Select the S7-program to be compiled. V
3. Open the "Select Network Connection" dialog. U
4. Change to the regarded Ethernet connection instead of the "named connection" and u
finish the OS compilation.
U
IJ
Check if the access point in PLCSIM fits to this connection type
..)

Q'Win[CEllplorer _ f:\adiYe\ Team08_M\Team_Prj\wincproj\0508\0508.mcp l!!!lfi] £{


u
v
v

V
IJ
I.....;

U
_J

U
U
U
V
U
1. Open the OS and check if the tags has moved into the selected channel.
V
2. Check if the access point in PLCSIM fits to this connection type.
V

Troubleshooting in case of OS with process tags without connection: U

1. Check if the access point in PLCSIM fits to this connection type. V


2. Download again a chart to be sure that the PLCSIM is executing a S7 program. u

u
U
U
U

v
u
U

SIMATIC PCS 7 - System design·and component specification


4 - 18 Training Documentation, V1.00, ST-PCS7SYS

u
u
PCS 7 System Course
u
~ Several instances of running PLCSIM:
u i:t!57-PlCSlMI ASD8\CPU414-3P./DP
- 1!I1!lE3
-- 1
u
u
u
u
u SlMAlIC Man~e, - Te4m08

u
v 57-PLCSIM2 I!Il!lEl

v
u
u
u Hara,.we~
COI'Il>¥e •..

u You can simulate up to 8 different AS (AS "instances").

u The procedure is in principle similar to the start of the first PLCSIM instance.

v 1. Open a new PLCSIM instance.

u 2. The simulation is started. A new PLCSIM object with another "CPU" object inside is
opened.
u 3. Select another AS to be simulated and download the S7 program to the new
PLCSIM instance.

See [313] Engineering Tools S7-PLCSIM V5.4 incl. SP3 - 03_2009, 3 for more details

4.9 Checkpoint
u
Let's discuss ...
u
• What is your ideal set of
equipment you would have
available to configure and test the
control system for this training?
• Please also have understanding
that we are limited in the amount
of equipment for training

v
SIMATIC PCS 7 - System design and component specification
Training Documentation, V1.00, ST-PCS7SYS 4 - 19
1-../

\'f

"-
U
U
u
u
U
LJ
U
U
v
V
V
u
v
v
v
V
U
U
V
V
V
U
V
V
V
V
U
U
V
U
u
U
U
U
V
V
V
V
V
U
V
U
U
u PCS 7 System Course
U

U
l.J
Ll
l.J
u
J
Content 5
u
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

u 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
u 5.5 Initial settings of SIMATIC Manager 9
u 5.6 Setting up a multiproject 10
5.6.1 Organizing a multiproject 10
v 5.6.2 Setting up the projects "Step by Step" 10
u 5.6.3 Setting up the project with the "New Project" Wizard 14
5.6.4 Expansion of Multiprojects 16
u 5.6.5 Multiproject-wide information to be synchronized 18
5.7 Language for Display Devices 19
u 5.8 Archiving and retrieving a project, library or multi project.. 20
5.9 Task and checkpoint 21
u

v
v
u

v
SIMATIC PCS 7 - Project setup
Training Documentation, V1.00, ST-PCS7SYS 5-1
u
PCS 7 System Course
u

L
U

v
u
U
LJ
V
U

v
v
v
v
u
v
u
v

v
u
U
V
V

v
u

SIMATIC PCS 7 - Project setup


5-2 Training Documentation, V1.00, ST-PCS7SYS

u
PCS 7 System Course

5 Project setup
U
LJ 5.1 Learning targets
LJ
LJ
The participant will learn about
V
• The main configuration steps for
an automation project
• The role of SIMATIC Manager and
ist relevant settings

The participant will be able to


u
• Set up a Multiproject for
configuring the training
u application

u
5.2 Overview about configuration steps for AS and OS
U
Configuration steRs OS

v Select block libraries to be used. Create a new project-


specific library.
u
Create hardware resources: PC Stations (SIMATIC
Create Multiproject. (SIMATIC Manager) Manager, Component View)
u
Create hardware resources:SIMATIC S7-400 Stations
Configure hardware (SIMATIC Manager, Component
u (SIMATIC Manager, Component View) View)

u , Configure
· View)
hardware (SIMATIC Manager, Component

u
s Create Plant Hierarchy Create OS object (SIMATIC Manager, Plant View or
, (SIMATIC Manager, Plant View) Process Object View)

· Assign hardware resources (SIMATIC Manager) Edit individual objects (WinCC Explorer, Graphics
Designer)

Configure Software (CFC, SFC, SCL, messages,


· archive tags

Test + commissioning (configuration tools)

u SIMATIC PCS 7 - Project setup


Training Documentation, V1.00, ST-PCS7SYS 5-3
PCS 7 System Course

5.3 SIMATIC PCS 7 Engineering Toolset


l_.J

SIMATIC Manager is the central part of the STEP 7 programming and configuring U
software for STEP 7 applications. Together with an additional number of tools and
options it is released as the SIMATIC PCS 7 Engineering Toolset. V
u
One way u
Using the SIMATIC PCS7 Engineering Toolset is the only way to program and configure V
a SIMATIC PCS 7 configuration. U
The figure below gives an overview of the main components of the toolset. V
U
V
U
U
V
U
V
U
U
U
U
V
U
U
V
U
See {103] PCS 7 VB.0 Engineering System - 12_2011, 7.7 for more information about
the PCS 7 applications and how they are used. V
V
U
V
V
V
u
u
u
u
v
u
v
U
V
U
SIMATIC PCS 7 - Project setup
5-4 Training Documentation, V1.00, ST-PCS7SYS V
U
IJ
PCS 7 System Course

5.4 What is a Multiproject?

5.4.1 Projects and libraries

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.
v
5.4.2 Different types of stations

In a SIMATIC PCS 7 project a station can be:

v • A PC (SIMATIC PC Station) for engineering or operating

V • An Automation System (SIMATIC 400 Station)


Windows Network ( TCP/IP

u
OS Operator System ( os )
(PC with WinCC)

u Industrial Ethernet
System (Plant) Bus

Controller ( AS )

SIMATIC PCS 7 - Project setup


Training Documentation, V1.0Q, ST-PCS7SYS 5-5
v
l_

PCS 7 System Course \....1


\~

5.4.3 Different types of libraries

Libraries are used for storing reusable program components. The program components
can be copied to a library from existing projects or created directly in the library
independently of projects. u
v
Standard frame ofdellyery of,SIMATIC pes 7 \18.0 PCS 7 BRAUMAT v
;r-- ....
'''''---, V
~ Optional I
I .installation V
I
V
\_)

V
U
u
v
u
v
v
u
u
v
The functions available for creating S7 programs in a library are the same as for
projects, with the exception of debugging. v
Libraries are structured in a hierarchical fashion in the same way as projects: u
• Libraries can contain S7 programs. U
• An S7 program can contain exactly one "Blocks" folder, one "Charts" folder, and one I...J
"Symbols" object (symbol table). V
• The "Blocks" folder contains the blocks which can be downloaded to the S7 CPU. V
• The "Source Files" folder contains the source files for the programs created in the IJ
different programming languages.
U
• The "Charts" folder contains the CFC charts.
V
V
pes 7 Library
V
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 VS.O and later. For mixed applications the library is to be U
installed afterwards. U

W For more information about Upgrade of PCS 7 Libraries see


U
[20SJ PCS 7 Software upgrades from V7.1SP3 to VS.Owith utilization of new U
functions - 12_2011 and V
[209J [209J PCS 7 Software update from V7.1SP3 to VS.Owithout utilization of new
functions - 12_2011 U
V
V
V
V
SIMATIC PCS 7 - Project setup
5-6 Training Documentation, V1.00, ST-PCS7SYS v
U
U
l PCS 7 System Course

L
5.4.4 Multiproject
J
For configuring SIMATIC PCS 7, always use a multiproject. It binds several projects and
LJ libraries together:
LJ
LJ
J
_)

u
u
Library X Y Z A B Project
v

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:

u
v
J{ ~@l
V
19- ~(§JS1I-I:1'1r:J1:
S-
-========-----+1-1
ProiOB ..
Multiproject 1
I I
>

$"1IDl AS08
$-111 CPU 414·3PN/DP '------+110 projec~
. S @ MOB
j··UiJ Sources AS Station
j .. ilJI
* L@ Chorts
CP 443.1
Blocks

'---------+ I S7-Program
~} ...@.
FPG53 -- .......
, ~=========-- ---,
! B-~ Wir1CCAppI. ,,'--- + SIMATIC PC-Station (here: ES/OS)
! !"'.~ OS08
, 8J·D Shered Declarations
EJ.~ Ploj99 Chart folder
. ~'1IDl ASSS
! ffi{J Shared Declarations
B~ Course LibraryV15 ------- ---~ Project library
S' S1 Course I.ibrery V15 (green book)
; i {]) Sources
: HQl Blocks
; f ~ Chart$
. L.~ OSLib
Master Data Library
E}. Lib08 --------- ---+1
(blue book)
~.@J LibOO
u l l-ffi) Sources
Ii !--wa Blocks
.-~ Charts
~"O Shared Declarations
L.lQ 05(1)

SIMATIC PCS 7 - Project setup


Training Oocumentation, \/1.00, ST-PCS7SYS 5-7

oJ
PCS 7 System Course

5.4.5 Master Data Library

In a PCS 7 multiproject, one library has to be defined as the Master Data Library.
The Master Data Library is automatically added, if the PCS 7 "New Project" Wizard was
used to create a multiproject.
The Master Data Library contains the multiproject specific standards and supports a
central update of the following items for the Multiproject:

• block types
• SFC types
• Shared Declarations v
V
Filling the Master Data Library with block types "-}

U
V
V
V

v
v
v
U
• Sbared Dedo<otion,
r!;r~p,ojSS V
i SlID ASS3
i fi; eJ Sh.,ed Dedo<alion,
$-(? C""".Ubl6(yV15
8-~ LbOO
fJ-@l LbOO
, SOUtCe>
v
iB"~
Q;.".
v
$-CJ Shored
,--t,l OS(1)
Dect.rotion.
v
v
w
1. Open the desired PCS 7 library (in this example the APL).
v
2. Activate the detail view to get displayed the symbolic names and other details of the
blocks in the library. v
3. Copy all required blocks from all libraries used for the configuration to the block v
folder of the master data library. Make sure to also copy the blocks that are called u
as a multi-instance by other blocks.
u
u
Role of the Master Data Library for bulk engineering
v
The Master Data Library is a prerequisite for efficient engineering (Import-/Export of
process tags and models). It contains all process tag types and import files, which are U
relevant for the multiproject. V
V
W See [103J PCS 7 V8.0 Engineering System - 12_2011, 8.7 for more details

v
SIMATIC PCS 7 - Project setup
u
5-8 Training Documentation, V1.00, ST-PCS7SYS v
u
u
PCS 7 System Course

5.5 Initial settings of SIMATIC Manager


u
The following global settings are valid for any PCS 7 project opened with the SIMATIC
u Manager. To take on the changed settings, the SIMATIC Manager has to be closed and
) restarted.

LJ rDef .... _fOfne·H_,/Itxarie.------..,.------.._


r'Newp"l'ct-\\\zanl

J
gart,lheWizacd$!or:

r STEP 7
I r. /W<""._, CPU<>rierted U"ique ",....go rurben
(;lao! IVyoCC ¥G. Pn>TooI¥Gand STEP 7V5.2.
You ClIO no ~convert the message ruOOers 10 pn:IfeGI..orief'ted
cclo STEP 7V5 1 ....... 9< ............ )
_) r. PCS7

~!]2i"·i,('i+i&ui§

V
... CtrlMIt
W"OIds
General " Mess09" romber.
Dale ond Tine 01Day
Arclwing
Vrew

51or"90 Iocblion lor P<~I./rWlC>r*",.----------1


...I I,
_)
SIMATICPDM

SlMATIC Version Tral


----~~---~==~~ 8row'....

U Set PG/PC lnterfece ...


Storage
\...) location
r Nation&! languaoe --" r~~
J ~ .. I er"""", 1· Exar<lIe 2 .
_och r Gom>an VELO SM.O

V r. &1!Ii'" AIl.O 504.0

.)

v
~I
[ Language J
V • Wizard: activate PCS 7 related wizards
• Message numbers: make CPU-oriented unique message numbers the default
setting for new projects and libraries
• Language: select the language used in the project (GUI of SIMATIC Manager and
representation of the project).
• Archiving (of the PCS 7 project): Select the archiving program and the storage
location of the archived project
• Storage location for projects/multiprojects (and libraries):
U Default setting is: c. \SIEMENS\Step7\S7proj
lJ All necessary access rights for this path are set by default already during the pes 7
installation. If you use another storage location, then it is a must, to use the
SimaticRights.exe tool to set the required rights. The desired project path must exist
already. Start the program on the SIMATIC PCS 7 DVD in the folder.

u
u

SIMATIC PCS 7 - Project setup


Training Documentation; V1.00, ST-PCS7SYS 5-9
PCS 7 System Course

5.6 Setting up a multiproject

5.6.1 Organizing a multiproject

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 )/

I ES/0S I v
~
__'I___ __ B _ ....

Station granular setup As opposed to the project-specific setup, all AS and OS are filed
separately (granular) in an individual project.

Project 1

v
U
.I
U
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.

r:Jr We generally recommend organizing the mu/tiproject in PCS 7 based on stations, i.e.
one subproject with one station. This setup provides the maximum flexibility during
the configuration / commissioning phase.
This applies to all automation systems and as servers. The stations for as clients
can also be created in one subproject. v
W See [103J PCS 7 VB.0 Engineering System - 12_2011, 6.3 for more details u
u
V
5.6.2 Setting up the projects "Step by Step"
\..J
The recommended and most efficient way for the creation of a multiproject is to use the
"New Project" wizard. However, you should be able to create the single elements of a
SIMATIC PCS 7 - Project setup
5 - 10 Training Documentation, V1.00, ST-PCS7SYS
PCS 7 System Course

multiproject in the SIMATIC Manager, for instance to expand an existing multiproject by


projects or stations.
To create an empty multiproject there exists also a "New Project" dialog:

.._)
"New Project" Dialog

(§jJTeam1)9 E:\aclive\Team09_M\T "aM_lAP


§;J T~_MP O;\P'ogt6M Fiet\SIEMENS\siEPr,;7p!oi\ ream09\T.
V
t..)

U
_J
Typ&;

IMLllprojeOl
J r FU1>'8l)1
U Browse .••

J
.)
c.ncel H~ I
.4.

1. Select the appropriate tab to create a new user project, library or rnultiproject.
V 2. When you select the "User Projects", "Libraries" or "Multiprojects" tab, the correct
J 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 ;
V the correct order. . ..
-;.'i

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.
V 4, The path in which the project or library will be created is displayed here.
V

._J

V
.)

SIMATIC PCS 7 - Project setup


Training Documentation, V1.00, ST-PCS7SYS 5 - 11
U
J
W
PCS 7 System Course
\..__..

Insertion of an empty user project


Create a new empty project as part of an already existing multiproject in the SIMATIC
Manager by selection of the multiproject and the menu command:
Multiproj ect > Create in Multiproj ect ...

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

Insertion of already created user projects

Add to Multiproject f3

M~">iect E:\.active\M)'P1o!ee
PI~ E:\oclive\ TeamOS_M\ Team~Pli
Pt0i99 [:\adive\ Te<oJl>OltM\Ploj99
TwnOa_Plj O;\PiOll'am FiIe,\SIEMENS\STEP7\,7ptot\leamOs\

The typical use case for "New project" or "Add to Multiproject" dialogs is the integration
of additional ASI ESI OS subprojects into a basic multiproject, which was created using
the PCS 7 "New project" wizard.

u
SIMATIC PCS 7 - Project setup
v
5 - 12 Training Documentation, V1.00, ST-PCS7SYS u
u
w
lJ PCS 7 System Course
LJ
U Addition of components to an existing project
L! 951MATIC Manager _ [MyMP (Component ylew) __E:\acUye\MyMP] I!lIiII3
L!
L! Empty AS station, to be
L! O,I+A1t+O configured by HW config
6.1"'- tIJ+;<
U C~". ·:ttH<'
t'.3:;l QrI.,"

u tt'e':".- [,_ Empty PC station as ES and/or


u Insert N.w Object • OS, to be configured by HW config
u
Access Plotectlon
u PCS 7 lice.". Information .•. Subnet objects for
u Shlired De<:1ar .lion< Plant bus / Field bus
Plant fief .rchy

SIMATIC BATCH

u Rename F2 Expanding the Project with the


Propertles ... Al+Return
u
Objea
PCS 7 "Expand Project" Wizard

v
v
u Batch ~OCt!SS eel
Enumerations, Units and
Proj«t Do<umentalion
Equipment Properties
u
u A project is structured into stations containing the configuration information for AS
stations andlor PC stations used as I;:S, OS Servers, Clients etc.
u
Cir A PCS 7 Multiproject should always consist in a PC station used as Engineering
u System (ES).
u Never select directly "OS" or "OS (Client)" from the "lnseti New Object" menu in the
SIMA TIC Manager! OS Servers, OS Clients and all other OS station types have to be
u insetted always as SIMA TIC PC Station.

Furthermore, each project needs network information, provided by subnet objects. The
network configuration is using the tools HW config and NetPro.

Cir Subnet objects are required for configuration data of the Plant bus and the Field bus,
Terminal bus information is not configured in the SIMA TIC Manager.
u
u
Shared declarations contain information about enumerations, units and equipment
properties used in the PCS 7 project.
u You can use enumerations to define textual representatives for the parameter values of
u the block or chart II0s with data types "BOOl," "BYTE," "INT," "DINT," "WORD," and
"DWORO". A suitable text is assigned to each value of an enumeration and this is
u displayed at the 1/0. Several values can be assigned to each enumeration.
u Equipment properties are parameters of a unit, such as shell material, volumes etc. The
type of equipment property is defined as a "shared declaration". Instances of this type
are used in SIMATIC 8ATCH and its attributes are individually adapted.

u
SIMATIC PCS 7 - Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 _13
u
u
PCS 7 System Course

u
u
5,6,3 Setting up the project with the "New Project" Wizard
u
The "New Project" wizard supports you step-by-step in creating a new project and offers u
default settings. The PCS 7 wizard automatically creates various objects according to
the default settings or the specific settings that you make.
v
The following pictures give you an overview about the steps of the wizard.
u
1. Start the PCS 7 "New Project" wizard in the SIMATIC Manager
u
Click "Next" to continue step by step ... \._,

u
u
u

WIZard: 'flew Project' EI


U
lJ
PCS 7 Wlzatd: 'Ne. Pi'ojed' I...J
U
llils,PCS 7 wilaid wi) ~,you aealea pes 7lfdiprojed In \he shortest ~'bf
I~. You can then begin ltrrnedIaielYlo.C«If!I(n! d1arIs and picti:XeS, U
u
I...J

U
~.J

u
u
u
u

u
w
u
w
u
u
SIMATIC PCS 7 - Project setup
5·14 Training Documentation, V1.00, ST·PCS7SYS
l_

u PCS 7 System Course


l;
v
U
2. Select the CPU bundle that you are using in your project.
G Detailed information about the selected CPU bundle is displayed beneath the list. In
LJ case your CPU is not listed there, you can adjust the configuration data in the HW-
config later.
U
Use the button "Find" to search for a desired MLFB number.
u The "Number of communication modules" selects the CPs for Profibus DP.
V
IPCS 7 WIZard: "'lew Project' a
WlVch CPU are you using In yolrprojecl? 2(4)
u
u CPU:

U Bonc'IIe: MLFB
SES7654·-010-3BO' E·STANO:5
..J 6ES7654·-010-3GO' E·STANO:5 ,1>S414-3PN V60: OC10A; UR2: OP module. optional CP44J.50X05
6ES7654·-010-3OC' E-STAND:5 AS414-3PN V6.0; .ACl0A: UR2: OP module
U 6ES7654·-D10-3GC' E-STAND:5 . AS414·3PN V6.D; DCl0A: UR2; DPmodule

U
V
V
I Number of eommunieblion modules: :::::oJ CP 443-5 V7.0 )
U
U
U Cancel

U
3. Define the depth of the Plant hierarchy.
V
Select the required configuration objects for AS and as. Regarding the as object
V you must specify the type (main architecture).
U
pes 7 WIZard: 'New Project' £I
U
I CJ Which objects are you still using? 3(4)
U ,I
PlM(~: AS objects:

( NunOer of levels: ) P"CFC~


P" SFC chart

u )
(os objects:
rv
r
PCS70S I
I
r. SIngle statiOn system

SIMATlC.BATCH Ir Mullp!e stl!tlon system


r Muklp!e ~ation system redundant

r IJpefiPCS 7

Preview,,»
u
U Back
II ~ I Fin ,I->
U

SIMATIC PCS 7 - Project setup


Training Documentation, V1.00, ST-PCS7SYS 5 - 15
u
u
PCS 7 System Course u
u
u
4. Define the storage location and the name of the multiproject.
u
PC5 7 WIZard: 'Hew Project' D
\...)

V
ThefoloWhg<ibjeds Yit be Ci!iilted: U
MUllprojeet: iTeam03;..MP lJ
PrOjeCt; TeamOO.:..Pll
\..J
Ma~e((!,at.1ilhvY.: TeamllUlIl
.J
\...)

U
V
V
.J
U
V

5. After clicking the button "Finish" the multiproject is created and contains one project u
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
v
the engineering. u
v
(jj= The subnet for Industrial Ethernet is not created by the wizard. You have to insert it
manually. v
From the project icons context menu: v
Insert new Object -> Industrial Ethernet
U
V
5.6.4 Expansion of Multiprojects V
The pes 7 wizards create the basic configuration, which you can expand with additional U
objects based on the requirements of your plant.
U
For the expansion the same dialogs have to be used as already described above in the
U
section "Setting up the projects "Step by Step":
U
• Create in Multiproject. .. (other projects or libraries)
U
• Insert into Multiproject. .. (other projects and libraries)
V
• Insert new object. .. (stations, subnets, shared declarations)
U
Furthermore, there is a PCS 7 "Expand Project" wizard available ...
U
U
U
V
U
U
U
U
U
SIMATIC PCS 7 - Project setup
5 - 16 Training Documentation, V1.00, ST-PCS7SYS U
U
U
u PCS 7 System Course

L!
V
U
Expansion of an existing project with a Preconfigured Station
U
The pes 7 "Expand Project" wizard is using similar steps as the "New Project" wizard.
LJ 1. Addition of an AS station (if required).
U
U 8 i§iI
889~
Te-""lS_MP

I e [jiiJ SI> 0pen0b)0<1 cto!,AIt-tO


a-~---- ---;-;;;---
V e :__
en,...
U If AS station has
:lj;- -
U s,~·n{]n#·:·'4
-JI. , SfMATiC 4:)J 5t&tiQn not to be inserted
~}
D Sh ~1U""ol«1
E!ll hbm9 pte

~
SJJ.lATIC 3OOStbtion
SlMATICHSt.ltion 1(3)
U ~l~--.wrn--~-ot-WM---------- SIMAnc PC Station
Oihe Station
CPU: Erndes:V1.9
U PCS 7UC~ lnfCfIMDon ..• SIMATIC 5S
00"",
&..de:
U ""
PROflWS
SIMATIC HATDt Station selection
V ~"""'" F2
PTP

Ob}«.tPr~tIe$ ..• AI\+Rellxn


similar to the "New
U Project" wizard
U
V
V
8:.;1<. I Ned I h.h I Coned Help

U
2. Addition of an OS (single station, multiple station, redundant OS stations).

u pes 1 Wizard: 'f1<pand Project' _ E3

u Which objects a(e you .Iill u.ing? 2(3)

v Plant hierarchy and


u charts are not affected
by this wizard
u
u OS object.: OS type selection
rv PCS70S similar to the "New
u r SIMATIC BATCH Project" wizard
u
u
Preview »>
u
Cancel Help

3. The storage location is displayed, but cannot be changed.


u
v W For more information about expansion of multiprojects see:
u [103] PCS 7 V8.0 Engineering System - 12_2011, 8.4.4 for insertion of empty projects
u [121] PCS 7 Compendium part a - Configuration Guidelines - 03_2009, 2.4 for
integration of additional ES/OS-projects.
u [103] PCS 7 V8.0 Engineering System - 12_2011, 6.2.2 for insertion of pre configured
u stations.

SIMATIC PCS 7 - Project setup


Training Documentation, V1.00, ST-PCS7SYS 5 _ 17
v
u
PCS 7 System Course
U
l
5.6.5 Multiproject-wide information to be synchronized
I_)

The update of multiproject-wide information is necessary typically after expansion of a


\ ..../
multiproject by additional projects llibraries and after insertion of subnets.
__)

U
Merge Subnets I Cross-project connections:
U
Ii:~Adju.t "'Olett, In fllultlDrolect <Te8",08> Ii!lIi!IEJ
..J

U
V
U

u
u
v

u
u
u
u

u
u
v
Synchronize Shared Declarations:
u
u
e;;)jSIMATlCMon"ller - {Te.mOO (Component view) --f:\a<tiv.,\T"om03_M\Teom.1'IP]
Edit rrt<ert I'lC Vi... OptIons .V/ndI:Ni' ~ u
e_:~ 12 .. :::~~!¥itlncr;flkNora.(,

u
5ha'ed Oed",,,Uon,· tlDoote m Mulh",oject u
c M(l101'1t.e"""'<P dw.!ltOl;,,,,, tf a11l>%1~ to Ih, ""'~b!O'll>
u
(i'. E><POrt ilw.a dedarlltiono 01 • ptoje<;llo anoIheI ptojeCt u
v
u
U
1...1
V
U

SIMATIC PCS 7 - Project setup


5·18 Training Documentation, V1.00, ST-PCS7SYS
i J

u, PCS 7 System Course


I._;

U
U 5.7 Language for Display Devices
U
!l;!51tlATJC Hanager - Team08 Add/Delete language, Set Default language: Proj08 £f
U ! Me EM Ins""t pte View , OptiOnS lYnda" ~

U .D ~ g1';;) I }. i.b CusIOOll2e ••• CIri+AiI-iE


English (Urited State,)
A<cB, Protl!clion F,.nch (F,ance)
~Team08 (Component VI
Chancjelog G.'1Mn (GeIma'l')
l.J Itdian(II~)
Spani,h (Spain.lrAemolionai 5011)
U

u rDefd La_09.

u ~ngli$h (UAled Slol es J

OK Coneel Help
u
v The language for the display devices has to be selected in a very early project
engineering phase.
u
Messages and texts will be transferred to the OS in selected languages during OS
u compilation.
u The dialog window above shows the default setting.
u
v (jj= The required setting is related to individual projects and libraries in a multiproject.

u
U
U
V

u
u
u

u
u
u
u
u
u

u
SIMATIC PCS 7 - Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 19
u
PCS 7 System Course
J

u
u
5.8 Archiving and retrieving a project, library or multi project V

Archiving
j

u
u
V
IJ

v
u

u
u
• Always back up the data in the following cases:
u
- At least once a day u
- After downloading the AS u
- After configuration changes u
- Before and after system component upgrades u
- Before and after the software update of the configuration software
u
• Keep at least the three most recent versions of your PCS 7 project.
v
• Use different storage media for backing up the data.
u
- LAN hard disk
- USB hard disk
u
- MOD u
- CO/OVO u
This retains availability of your data even after failure of a device.
• You can also backup your data on hard disks of PCs in a network. Simultaneous hard
disk failures on more than one PC are very unlikely.
u
u
• If necessary, upload FBs and OBs from the controller
v
• If necessary, perform a "Read back" before archiving
u
u
u
u
u
u
u
u
SIMATIC pes 7 - Project setup
5 - 20 Training Documentation, V1.00, ST-PCS7SYS

u
u
l PCS 7 System Course
\._

u Retrieving
u I9l SItlAnC Manager - Tea
1Fii; Edo1 Insert PLe Yl.!w
u New ••. Select destinatioro directory EJ
'Ne'N Project' Wlwd ...
u ~ ... @- System (C)
CJo<..e $.....Dol~[0:)
U .
I _ fl
..
, 1iJ-.,t
v ! 00- :
.J:!
u seve As ...
; _,] Rest",.
u G- WAATIC
Delete ... ~ Retrieving· 5e1«t an ardlive ! 8- PCS?

V
Reorgarile.
l>\ana;le" •
,.
Look n.1 • Pid"ives j
i
-~ Alchive;
Ib- . Lilr&lies
u Arcffi..... i ffi.. Ii1'm!!
iii . STEP 7 CIa.. lc

Pml
u PNle...Sehn ••• _
Help

u
Fie name: Ir••mOS
Fies 01 type: IpKZ4> 12.4-hmve{".zip)

v A new directory is created in the selected directory and the complete project directory
v structure of the unpacked multiproject now appears on the same level below this
directory.
V
u
5.9 Task and checkpoint
u
u
Task: Multiproject
u

v Goal
A Multiproject as the starting point for implementing the training application.
u
u
Checkpoint

What do you think ...


• Is the advantage of using the New
v Project wizard?

OPe

SIMATIC PCS 7 - Project setup


Training Documentation, V1.00, ST-PCS7SYS 5 - 21
v
\~

u
u
v
v
v
v
U
LJ
V
U
\...J
U
V
W
U
v
u
v
u
u
u
v
u
u
v
l)

u
u
u
u
u
v
u
u
v
u
u
u
V
.....
.J
V
V
V
U
l PCS 7 System Course

u
u

l.J
V
U
Content 6
V
6. Station and Network configuration 3
u 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
u 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
u 6.2.4 Task and checkpoint. 14
6.3 AS Station Configuration in the project 15
l.J 6.3.1 Basic Steps 15
6.3.2 Inserting a SIMATIC S7-400 Station 15
V 6.3.3 Editing the station configuration of a SIMATIC S7-400 Station 16
V 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
u 6.3.9 HW Config - Diagnostics 32
6.3.10 Task and checkpoint. 33
6.3.11 Comparing PROFIBUS DP and PROFINET 10 34
u 6.3.12 Configuring the 10 Controller 35
6.3.13 Configuring the 10 Devices 37

u
u

v SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00, ST-PCS7SYS 6- 1

u
\._
PCS 7 System Course
\.,
L
\.._)
V
v
V
V
\J
\J

V
G
U
V
\...)

U
V
v
U
V
U
L;

U
V
U
U
V
U
W
U
V
U
V
V
U
V
V
U
V
u
V
U
V
SIMATIC PCS 7 - Station and network configuration
6-2 Training Documentation, V1.00, ST-PCS7SYS V
V
U
PCS 7 System Course

u 6. Station and Network configuration


u
v 6.1 Station and network configuration - Principles and
U relationships
V 6.1.1 The "classic" way in STEP 7
U

u --- -- -- -- -- -- --------------- -- dmJ--- -- ----- -- -- -- -- -- ---~


LtoModUlel '
IE PG/PC Interface:
e.g. MPI or
u ISO Industrial Ethernet
u ..... ......
.....
xi
Project ES
V I ."'. c' ~ "._
(StordowdIolStEP7)
V
V
U
fCCtTllU.c:4lIonI'<ihS'M.\Tlt~
hlhtPfiIPC)

U hted«el -

u
Typical field of application
Service and maintenance on the AS hardware configuration.

u
Steps of classic way
1. Configure of the AS in the project on the Field PG as an image 1:1 of the real
hardware.
2. Connect the Field-PG to the AS and set the corresponding PG/PC interface.
3. Download of configuration data to the AS.
4. Disconnect the Field PG from AS.
The Field-PG respectively its PG/PC interface is not part of the project, but it works only
as "loading station".
v The interface has to be set individually for the selected connection type to be able to
reach the target station.

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00, ST-PCS7SYS 6-3
v
u
PCS 7 System Course

L
6.1.2 The pes 7 "fashioned" way

Overview about ES tools to configure stations and networks

Station Configurator
"virtual" rack
AS
real existing C

u
"virtual" iriterface:
PC internal (local) u
Image 1:1 PG/PC Interface
.~ •••••••••••••• 0 ..
Image 1:1 u
u
w
\...J
U
I.....)

V
U
u
AS in HW Config NetPro PC-Station in HW Config .J
\.j

U
Inserting an separate station for the ES
For every AS or PC to be used in a PCS 7 project, a station configuration is to be made. l...J
In contrast to a Field-PG, the ES is involved into the project and into the common lJ
network of all stations. Thus, all downloads can be handled with one PG/PC interface.
U
U
Configuration of stations:
U
• Make an "image" 1:1 to the real existing hardware of every station in the project.
V
• Configuration conforming to slots:
U
AS hardware is structured by slots in a rack. Each slot is allocated by a hardware
U
component like power supply, CPU, CP ...
Properties of the component in a slot include type, addresses ... V

Since there is no real existing slot orientation of components in a PC station, a structure U


with slots similar to an AS rack is simulated by the Station Configurator. U
From this follows, that the PC hardware has to be described in 2 different localizations: U
• Hardware of the station, represented by the Station Configurator of the PC station U
• Hardware description in the HW config of the PCS 7 project U
U
U
U
U
SIMATIC PCS 7 - Station and network configuration
6-4 Training Documentation, Vl.00, ST-PCS7SYS
PCS 7 System Course
(
.....

Configuration of network and communication connections:


• You specify the network assignment of components capable of communication during
hardware configuration of a station in the HW Config .
• The SIMATIC Manager tool NetPro graphically displays all configured stations and
"--' networks of a project. All bus systems and stations have their own representatives.
v
U
PG/PC Interface
U
The interaction of your PC Station with various bus systems for networking of
IJ automation systems (e.g., MPI bus, Industrial Ethernet, ... ) requires specialized
U interfaces. Each of your integrated and installed interfaces is represented by an
interface parameter assignment.
U

"PC internal"
v "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.
u
As soon as "PC internal" is activated, the network adapter begins working in
u "configured mode", otherwise it is in "PG mode".
u
u s:: Field-PG
J2 working in "PG mode"
u -
o
u
target system
(CPU)
¢= \J
.....
(j)
.....
w ~
PG/PC-interface:
DIRECT Selection of a "driver-instance"
Download.
._________. (ij for STEP 7 communication (S70NLlNE)
u 0

u -w
o
0
s::
v -
(/)
0

ES/PC station
) Working in "Configured mode"
-
s::
J2 Download
PG/PC-i nterface:
u -
o INDIRECT Selection of "driver-instance"

..
\J
target system ..... for STEP 7 communication (S70NLlNE)

¢= .....
(j)

(AS-CPU or w
~
other PC stations) (ij
0
PC internal
-w
o Target system?
0
s::
-
Own or other PC
1-' "virtual rack"
(Station Configurator)
I
(/) or AS-CPU??
0
- PC station ~St.1tion (onfii"UJAllon [ il~,·~UIIJ
"'"
configuration ""-",,,' o~"" IFooIP<lIOO'rlol
SLl60rc PCS'7S07 Modo;

u ,
!
I~tl&'ne_
1
2 :jJ. CP161J
1",,~

CPI&IJ
_ _fIng_

SIMATIC PCS 7 - Station and network configuration


Training Qocumentation, V1.00, ST-PCS7SYS 6-5
PCS 7 System Course

Activating PC internal
Activate the "PC internal" interface via the Dialog "Set PG/PC Interface" in SIMATIC
Manager:
~SJI1ATICHanager Set PG/PC Interface EI

l.J
V
l.J
U
V
\_}

\..;
\_)

u
\...._I

LJ
W
Configuration Console
V
LJ
S7{)fIUtIt~ DE.'!

Jj:;;""...,,""tom.>tioo V
[iiJ Aut_""'lkw .... _
lW_ Se-wity CMb'oftr V
~ Sta"'" c",,",",.""
Ji, DQ(\mmtation
J1 Opt;x" <n1Too!:I V
\Il Sir-lAnc
ti,lisL
.....
nc_ U
4J SATCH
~ -..,."totio!'l .)
,jJ rn!'a""tion
i.II SIl'.ATtCl""""
!» Sl><AnCIfl W
V
U
U
V
U
U
V
All communication modules, on this station available for PCS 7, are listed here.
U
All access point and their assignments are listed here and can be changed
u
u
See [102J PCS 7 VB.0 PC Configuration and Authorization - 12_2011, 4.7.7 for more
\.)
details about use of SIMA TIC NET configuration console as possible alternative
procedure. U

SIMATIG pes 7 - Station and network configuration


6-6 Training Documentation, V1.00, ST-PCS7SYS
PCS 7 System Course

a..__1

Download to ES
U
U

u
u
v
u

~ .r',i1-:" co..Ii;: [~"UH.,·-;:;:y·';Jh,jI'lJ I rlt..iilJ


~~., ";.,(j"- ,,-'! _. 't.,:"'" ,,.,~. ,... •• ~ ,

u
It
i r~- ._"[.._"~!
m l:~·~, I
t u..."J

<:l "~ ;r;..J _ _;,:_;__.__'

v l1 i-
..&-

PC-Station in HW-Config
)

u 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
v same information as precondition for a successful download.
u 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".

u The ES got this information by configuration data of the PCS 7 project!

u
u
SIMATIC PCS 7 - Station and network configuration
Training Documentation, V1.00;·ST-PCS7SYS 6-7
PCS 7 System Course

Download to AS
•• II If II 11 II .. II" 11 II ••••••••••••• II ••••••• II •••• II .111111.11" II II •• 11 II II "" II .. II .. II II II .. If. II II II •• II 11 ••••• II II II ••• ~

AS ~" .A , ..

; "virtual" interface: 1
l PC internal (local) 1
1 PG/PC Interface :
~ o .

Plant bus, IE real existing CP

u
AS in HW-Config V
•••••.•••• II •••••• II ••••• II .. II II .,

After successful downloading to ES the AS hardware configuration can be downloaded


to the AS station. The configuration data are checked during the download. LEDs on the 'vi
front side of CPU give status information about "download successful/unsuccessful". W
\....;

6.1.3 Extension of ES by a single as V


'-..-
Insertion of an application for a PC station U

Each PC station requires additional information for what purpose it is applied in the PCS U
7 project (e.g. as, as server or client, Batch ... ).
U
The desired software component is represented as an object of type "WinCC
U
Application" and has to be placed like a hardware component:
U
• in the virtual rack of the Station Configurator
V
• in the HW config of the regarding station in the PCS 7 project
u
r:jj= The following phrase may give a hint: W
The CPU of AS needs a partner on the PC: a "CPU of visualization" for the This as. u
is the job of the "WinCC Application". Following this analogy, the WinCC application
U
is placed in the hardware configuration of a PC station like a CPU in the AS rack.
V
W

Several WinCC Applications are available being specialized for different types of PC '-'
stations (e.g. as, as server or client, Batch ... ) U
An example for single as stations is the application WinCC Application. U

SIMATIC pes 7 - Station and network configuration


V
6-8 Training Documentation, V1.00, ST-PCS7SYS V
V
U
PCS 7 System Course

l_ 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:
lJ
f.3
v Station Configuration Editor - (OIIUNE)

~. I[lagno"'" ICorftgtBion Wo I
u
U
l...)
U 4 ,

V
v Configuration of network and connections
)

u
AS
v
u ..................................................
U Plant bus, IE

u
v
lJ

u
V

v
v
NetPro

Communication connections (connections, for short) must always be configured, when


data exchange between the automation systems or the automation system and a PC
station (for example, an OS station) is required.
The figure above illustrates the relation between communication partners.
v • The "true communication partners" are CPU of AS at the one side and the CPU of
OS / WinCC at the other side (-7 red point): they are the end of a "logical
connection" .
• The CPs are interface of the network (-7 green line): they are the end of a "physical
u connection".
Once the stations have been arranged and configured, the connections between the
ES/OS station and the automation systems, as well as those between the automation
systems themselves, are configured (as 1:1 image) and downloaded to the concerned
stations - just like the configuration of stations.

W See [103} PCS 7 VB.OEngineering System - 12_2011, 8.10 for more details

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00, ST-PCS7SYS 6-9
v
PCS 7 System Course

6.2 PC Station Configuration


6.2.1 PC Station Configuration on the PC

Select the PCinternal interface in your ES via the Dialog "Set PG/PC Interface" in
SIMATIC Manager:
Options -> Set PG/PC Interface

Set PG/PC lot.doce 1!3

For a combined Engineering I Operator Station with a single network connection


• a network interface for Industrial Ethernet (CP or IE General)
• the WinCC Application
have to be added. You are free choosing a slot (see column "Index"), because it is "only
a virtual rack" for the PC.
v
u
V
u
U
U
V
U
_)

U
V
U
V
SIMATICPCS 7 - Station and network configuration
6 - 10 Training Documentation, V1.00, ST-PCS7SYS V
U
U
"- PCS 7 System Course
L
LJ
U
6.2.2 PC Station Configuration in the project
V
l_., In the project a SIMATIC PC Station is to be inserted:

LJ ~ Team08 (Component view) •• O:\SI"lAnC\PCS7\Projects\Team08\Team_NP


B- §;J T earnOa
G . e'llrm1'
~ c:o..., ~ Object Ctrl+Alt-Kl
U ~ Ll>O! ::ut
:(4JY
V PM('"

V
U ~1U~oject
PLC
U
-,., .......~ __ .,..-_____ oth<r Slatio<1
V S 1l.icense_lnfurmabon •.• ~. SIMAT1",C",SS>-~_~1

fJ
It is to be renamed to the computer name.
This applies to all PC stations. The name of the PC station must match the station name
in the Station Confiquraticn Editor, which already has the preset computer name.

v
r:u= Rename the PC station so that its name matches that of the computer.
u
To do this, you can activate the "Computer name identical to PC station name"
U option, which means you do not have to make as many entries and the potential for "
typing errors is reduced.
v
U
U 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.
l.J After renaming its configuration is to be opened:
Properties· SO·IAne PC Station
---===~~
13 ===============----------
u Geneli!l ISeHoogs I CorIiguatlon I EH~ TeomOS
t;J.~ PfoiOO
Name: Jiim 1 $1ilI ASOB
j $.~ lfPG53'
Project pa!!>: if'rojOS\FPGS3 i oo-D Shered Declafatiom
I ~~ Cowtc LibfafY V14
Storage l<>calion
ffi-~ LibOS
of the projed:

~hor:

u Date credle<!; 0311912012 1l:00:02 PM

v Last modilcd: 031191201205:16:11 PM


Commeti:

u
u

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00, ST·PCS7SYS 6· 11
PCS 7 System Course
\~

On the same position as in the Station Configuration Editor an IE interface is to be


inserted and supplied with the proper addresses and network assignment:
After completing the configuration, it is to be saved and compiled and downloaded.

~ltW Confl9 • {fPGS3 (Collfl9uration) •• PrajOS) 1i![!1f3

SPOSAApplication
WinCe Applicalion ---I
WioCCAppliC6lion (sibYl
WIllCCAppli~ "",,:"ro,_~
wlOCe Appl. Client Ref v
Wn:CApplicalion Ref
WInCC CASAppblion u
oIJ-~ WinCe CAS Appl. (;tby)
V
V
U
Main components: u
1. CPs for high performance applications: U
- higher number of communication partners;
V
- redundant connections
U
- time synchronization
2. standard network adapter
3. standard object for single or multi user system
u
4. object for OS Client
5. object for referenced OS client u
6. object for central archive server
v
7. (stby) stands for redundant partner u

W See [103J PCS 7 V8.0 Engineering System - 12_2011, 8.5 for more details u
V
U

SIMATIC PCS 7 - Station and network configuration


6 - 12 Training Documentation, V1.00, ST-PCS7SYS v
(_J

"- PCS 7 System Course


L
LJ 6.2.3 Function "PLC Configure"
U
From PCS 7 V7.0, the function "PLC configure" provides a comfortable approach for
V configuration of SIMATIC PC stations. With this function, you must no longer twice work
on the configuration (in the project on the ES and in the station configuration editor on
the local PC station).
U
However, there are important prerequisites:
J
• The PCS 7 software is installed on the station to be configured.
U
• The station has to be accessible in the network.
v
Conrlgure 13
lJ
u
V
V
J ----- ---
U Pm!

SIMATICBATOI

neoene F2

v Objecl Properties ... AJt.me:tlIn

u
U
l.J

u
u
Procedure for configuration of PC station of the ES
1. Configure the SIMATIC PC station of the ES in the project (ending with a Save and
Compile, not a Download)
2. In SIMATIC Managers Component view, transfer the PC configuration of the project
u to the PC by the function "PLC configure". The virtual rack of Station Configuration
Editor is overtaking the PC configuration already prepared in the project.
3. Download of the configuration.

W See [103] PCS 7 VB.0 Engineering System - 12_2011, 8.4.10 for more details

SIMATIC pes 7 - Station and network configuration


Training Documentation, V1.00, ST-RCS7SYS 6 - 13
PCS 7 System Course

6.2.4 Task and checkpoint

Task: Station Configuration PC

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? U
• What makes these components to
be listed here? l..J
V
V
\...J

V
V
u
\J
u
u
v
v
U

I..J
V
U
V
V
u
V
U
V
U
u
U
V
~
V
SIMATIC PCS 7 - Station and network configuration
6 - 14 Training Documentation, V1.00, ST-PCS7SYS V
V
v
l
(_ PCS 7 System Course
l
L
6.3 AS Station Configuration in the project
\J
\.) 6.3.1 Basic Steps
l.J
Inserting a preconfigured station into SIMATIC Manager
U
u
Opening HW Config
LJ
Setting the object properties of the CPU and CP

v Inserting and configuring de central stations

Saving and compiling the configuration

Downloading the configuration into the AS


v
u
6.3.2 Inserting a SIMATIC S7-400 Station
u To represent the automation system, a SIMATIC S7-400 station is inserted into the
u project
u

v
:~ ~e ~ __

.~I~'~~!l1:ll~.
I
StMATIC 300 Station
SU-IATIC H Station
51>IATIC PC S.. bon
OU,., S""I4;;,;;Ii<ln;;.__._--,

u
f1n;;" \'ind

=~
PlC ....-.... Options
! 5ta_
i
:1,
llal Which CPU "'It you uolng In your pn>jed? 1(3)

I
I
1--------71-
! ::.. ;,re.
CPU e..ndos:Vl.9
u ~780
::J:rJfl ~e Ii

5>",00-_

~ ;;~~ ~r~ • I
!jj.7iaW'~~1
;_::_tr~"2f~Ob;~:t:. _ _ I
! Batch objects , !

[1"""3 CP 44>-5 V7.0


PreV)eW )'»

Help

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
u preconfigured S7-400 is available then.
u Adjusting is always possible using HW Config.

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00; ST-PCS7Sl'{S 6 - 15
PCS 7 System Course

6.3.3 Editing the station configuration of a SIMATIC 57-400 Station

To open the HW Config tool, select the object of the AS station in the component view
of SIMATIC Manager:

\_/

v
V
The configuration of an AS station must contain all real placed components and
IJ
modules:
Iv
v
u
........... V
,-)
..........
-........'.
~
'. -.......
'.
._)

V
L./
V
U
v
U
U
V

U
U

w
v
u
u
u
v
u
V
U
V
SIMATIC PCS 7 - Station and network configuration
6 -16 Training Documentation, V1.00, ST-PCS7SYS V
V
v
PCS 7 System Course

User interface
J
08) I!llill3
V
U
jj'IIJ)UA2"~ • "
V PS 40710A

V 3 CPU 414-3 PNIDP

L; IFI
XI
X
X5
X5PIR
X5P2R

u
u

u DI16yDC24V.lnlellupt £ES7321·7BHOI·M80
DOlS><DC24VIO.50. GES7322·1BH01·QOAD
0... 1
0 ... 1
AlIl><I2B. GES73.11.7KF02·M80 512 527
AOM2Bit 6ES7332·5HD01-O'>.BO 512...519

u I
: Pross F 1 to 9"t Help.

u
u Main elements:
1. Switching between Offline and Online window
From the HW Config you can read information from modules directly (e,g. for
diagnostics)
u
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 10 and field devices and the required master systems (networks for 10).
5, Window for hardware catalog
To select the required components: e.q. racks,modules, interface modules.
6. Object for distributed 10 device
7. Configuration table
Represents the racks and their modules, offers a certain number of slots in the
same way the real racks do.

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1 ,QQ, ST-PCS7SYS 6 - 17
( )

PCS 7 System Course

Working with the Hardware Catalog


When the window "Hardware Catalog" is not display, select the menu command:
View -> Catalog

Hardware Catalog £i

"-..1
Bl~ f~X,..Y!~"""""""_,,,,~.,,
rtl- PROFIBUS·DP
ffiW PAOFIBUS·PA
~T~W PROFINET 10
S"~ SIMATIC 400
i rn·fEll CP·400
I $'€] CPU·400
! ! l!1 eJ CPU 400+1
I $·61 CPU 414·3 DF \..J
EJ·Ql CPU 414-3 PNIDP
! rB'l2l SES7 414<~EM05,lWlO u
I EH£) GES741 v
1 &11.
-s tE:l CPU 41&·2 DP U
€3.l CPU 416·3 DP
~ CPU 416·3 PNID? V
i CPU 417·4
i!HE!1 FM,400 v
[~}tt:J IhHOO
tBd.2J PS·400
u
rB,e RACK,400 v
L ~=~!~_:400_"._. U
I..J
\..J
U
Main areas V
1. Find field V
Entrance possibilities:
V
- In the Find field you can enter any text, catalog info or order number.
Not case sensitive V
- wildcards (*, ?, .... ) are supported U
- you can also enter a part of an key word (e.g. 331) U
2. Using the pull down list "Profile" you can select several catalog profiles. V
You can adapt the profiles to your needs.
V
3. Object for the required module (in this case with a firmware version).
V
4. Information of the selected component
U
U
Versions
U
Many modules are available in different versions (Firmware versions).
U
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 V
the HW Config and the new module is placed. V
V
V
U
V
SIMATIC pes 7 - Station and network configuration
6 - 18 Training Documentation, V1.00, ST-PCS7SYS V
U
oJ
PCS 7 System Course

\......

L Save and compile


U At Save and Compile a consistency check is performed, e.g.:
V • Do all modules fit to each other?
• Are addresses assigned twice?
L; This is the case in the result window below:

U ~HW conflg - [AS08 (Configuration) -- Proj


OptiOns
V
u
v
Save and Compile f3
u 3 Li.t 01Meuages:
P,oieci 'P,ojOS' ,stalion :1>.508','PROFIBUS intelface CP 443·5 E~' ,slIbnei 'PROFIBUS{l),: <
PlO'eel 'P,' ,slation :1>.508','PROFIBUS illte,face MPiIOP' • subnet' PROFI8US 1, add,e

u
u
v
U
U
U
U II I. Clore Save Help

U
U
Download
U 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.
V
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
u 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.

SIMATIC Pes 7 - Station and network configuration


Training Documentation, V1.00, ST-PCS7SYS 6 - 19
PCS 7 System Course \._
lJ

6.3.4 Configuring the CPU

SIMA TIC PCS 7 uses default optimized settings for a CPU, so just a limited number of
properties are to be adjusted to the project conditions.
'--.;

Startup properties
'0

v
*WCA-YM re.s-tcN--t: v
'("l<NY':t7~ yV'? (') ; \,) <L .:
' ....,.1

V
1<2..{Q_Y;~\ ~~.
'w
~H(i-t Y<2.;:;.1,o-.\-1;:~, V
,,;s. 'yV')e.,y ....
,.., c\-\ !1',S \~ \
U
z, I{')'O(_() -YQ.,-t-Q,,,,t·,"i <1'\":> . ..J
V
\....)

U
U
U
U
Iv
~
\........J

\..J
V
In the Startup properties the most important is the activated option "Warm restart".
U
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! U
U
(jJ= Please note, that a PCS 7 AS is always to be equipped with a buffer battery and a
RAM memory card. U
U
V
U
U
U
U
U
I....)

V
\'_)

V
U
SIMATIC PCS 7 - Station and network configuration
6 - 20 Training Documentation, V1.00, ST-PCS7SYS V
U
u
I.

PCS 7 System Course

L
L Organization blocks, cyclic interrupts and Process image partitions
Properties - CPU 414-3 PN/DP - (RO/Sl) f3

u
u
u
u
I

1
I r=
-=====~----------------------------------~--~~~!
I OK Cancel Help. 1'1,
I.

1. List of OBs assigned to cyclic interrupts (grayed out = not available fort his CPU)
U 2. Interval of the cyclic interrupt

LJ 3. Assigned Process image partition (PIP)

U 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. -:

v Start events triggering some groups of OBs are called interrupts.


Cyclic interrupts do their job with predefined time interval. They are represented by
0830 - 0838.
OBs also control the sequence of processing the individual program blocks. The
u 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 (PI I). Because of this PII, the signal values will be
u 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.

(jij= In process automation with PCS 7, the Cyclic Interrupts (0830-0838) are to be used
with an assignment to a Process Image Partition.
u 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) 08.

u
SIMATIC PCS 7 - Station and network configuration
Training Documentation, V1.00; ST.-PCS7SYS 6 - 21
pes 7 System Course

6.3.5 Configuring the Ethernet interface

An S7-400 automation system can include a CP443-1 as an interface to the plant bus.
Both the ISO protocol and the TCP/IP can be used.

IJ
U

V
I...J
U
I.....J
1....)

U
\J

U
U
U

1. Device name is not relevant when this module is used for the plant bus only. U

2. ISO connections \..J


3. TCP connections, ISO over TCP connections, UDP connections W

4. Creating a new subnet object '-.)

5. List of available subnet objects v


The connection to the plant bus is made by selection of the related subnet object in the U
properties of the Ethernet CP. U
When a multiproject has been created by the wizard, the project does not contain a
W
subnet object for Industrial Ethernet. The required subnet can be created in the
properties of the Ethernet interface. u
On a with ISO protocol running plant bus, every MAC address can be assigned only U
once.
U
W
U
U
U
U
U
U
U
U
U
SIMATIC PCS 7 - Station and network configuration
U
6 - 22 Training Documentation, V1.00, ST-PCS7SYS U
U
U
PCS 7 System Course

6.3.6 Configuring the DP master


lJ
V Objects
L1
~HW Ccnflg· (AS08 (Configuration)·· Proj08) I!l!l£l
Edit Insert PlC \lew Opbons \'indo'N HeP
~~G e..\')ck.r~<;_Q ~
~i\ 6<J '{ \
\...J YJ '\ C1\.,

~ d\V-~W'\tch '"
u ~ 0 \-,aq/ 6w",-Y Q.

.) S <J "\.I'Y) QYl t e: '.( ¢-.\ \ \ ~

G ~ '<-v> ~ <3 \' Q..<i() ctdo <C).

U /. '\-' \ .
me:s yY)<> e. '( e,\ y-)\ c, Il'-~ <:"
U
....J ()~~ '\J)J
V 1 t
v r -6~ "'!.!!j (3) 1M153·2. Red<lidatlCy
U k" - 32-
Slot I] Module O,d., NumbeIO'. I... '"QO'. COO'II1\6nt
U 5. \~ .? Iii 114 /fI.?.?
l.J ~ g 3

1.I
;;, 0 Press F I to get He\l.

1- - 2 1. Internal Profibus interface of the CPl,J, default set with a DP Master system.

I- 2. External Profibus interface: is realized by the CP 443-5 Ext.


The module can be placed to have additional DP master systems.
II ~) 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 )).

u
L\O~ ~~~y~
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.
'b'e~~) 5.
Object for a Profibus slave. Distributed 10 devices or field devices are assigned a
\ V\ { master system as a slave object. In case of a ET200M it can be the 1M 153-2, for
.)....--t> es \"'e connecting to the Profibus.
~ Y0'\~~'5Every node (master and slave) is assigned a Profibus address (0... 126)

u
u
u
u

u
u

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00; ST·PCS7SYS 6·23
u
PCS 7 System Course
I~

Adding (inserting) and disconnecting, orphaned master systems


The internal Profibus interface is default assigned a DP master system. When more
Profibus CPs are available, then additional master systems are to be assigned.

a~H\'1Config • [AS08 (Conf'l!luraUon) •• ProJOB] Il!IIiI i3

1. External Profibus interface u


2. Already existing DP master system V
It may happen, an already completely configured master system is to be assigned to
G
another DP interface (e.g. from the internal Profibus interface of the CPU to the
additional CP 443-5 Ext). V
In that case the master system is disconnected from the interface, and will be available W
as an "Orphaned" master system. The configuration of the distributed 10 will remain
I..J
unchanged.
V
V
U
U
u
U
W
J
U
J
U
.J
U
U
1. Already completely configured master system U

2. Internal Profibus interface as Profibus master U


3. Orphaned master system U
V
SIMATIC PCS 7 - Station and network configuration
6·24 Training Documentation, V1.00, ST·PCS7SYS

u
u
PCS 7 System Course

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
U system, including the included configuration of distributed 10 to another Profibus
..J interface .

U ~tfW ConflO • (MOB (C.onfiguration) -- PfO)08) I!lIiJEJ

WI
XI
X
xs
XSPIR

J
'v
x

u $~rwn6
$·I.oI:II'-'UI

U
• Delete
...J
V
..)
1. Orphaned master system
V
2. External Profibus interface as Profibus master
U
U
Connecting with Profibus subnet and assigning the address to the interface
U
n
!
ro_-
G<ne<aI
CP 443·5 fxt - (RO/58)

l.Ado>essesl Op.... '"'l Mode I 0pI"", llMglo~ico I


131

I
Shoct~""': CP 443-5 Ed

,PROfIBU CP: OP ""'~.rwth SYHCIfREEZE and redu1d'""'f. <!rect d


~". exchange. """""'" bus cycle""'. SENDIRECEIVE
ponm..ncation. tine-d-<lay S)OOYtnli'Jhon,
""aee.
roU.l"lg. data record roulI'Ig.
57
pPV1. ffltM'are V1.0 I

PlOp.rtl~ - PROFIBUSinterface <P 443·5 fxt (RO/58)


O<d<r tlo./ftmwa,.: 6GK7443-SDXDSllXEO IV7.0

u
flame: I~ ...----

~Hgoe~add<"':l26
_s:
. GenmI I
POlOl!lel ....

l~ il
~.

t!1.I: <:» TrcmnisStOnr¥e:l.5~

L.-~-~..L--=P=top«1los==..==..JI &i>ne<:
Conrn<tt: net~~o'Ori<iamiled~-;.;.€;;.·iIIli;,;.r.I
~r:~:-.~noIili: • NOW_".-::--,
P~ ..,

Delete

u
u
II OK

OK Cancel

1. For diagnostics: assign useful name


2. Available Profibus addresses
3. Disconnecting from the subnet
4. Connecting to the subnet
5. Adjusting Profibus properties.

SIMATIC pes 7 - Station and network configuration


Training Documentation, V1.00, ST -PCS7SYS 6 - 25

u
pes 7 System Course

For assigning Profibus addresses, only the for that subnet available addresses can be
used.

r:i!r 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).

Operating mode of the Profibus interface


Check in the Properties dialog, in tab "Operating mode", if the DP mode "DPV1 "is used.

u
v
v

v
v
U
I.J
W
\._)

v
The DP mode "DPV1" contains extensions for process automation. u
More specific: acyclic data exchange for parameter settings, operating, visualization, w
and interrupt control of intelligent automation devices, parallel to the cyclic data
exchange.
u
u
r:i!r With the setting DPV1 also DP slaves, not supporting DPV1 can be connected and \.,oJ
operated.
v
v
u
u
u
u
u
u
u
u
v
SIMATIC PCS 7 - Station and network configuration
u
6 - 26 Training Documentation, V1.00, ST-PCS7SYS u
u
u
PCS 7 System Course

Properties of a Profibus subnet


_}
Properties - PROfIBUSlnl_ce CI' 443-5 txt (ROISS) f3
U Genem Parametef1 I
U .Adaeu. rr-3
~_:12G ~
'- TransrmSlOO rae. 1.5 ~

u Subn,.,

u x

) Delete Ne'wo,i< Setmgs I


U I =~R(1F18US

I r...-.-Rae.
I

u Protie:

u Bu, Parameters... I

v OK

v 1. The default Profile "OP" should not be changed for pes 7.


u 2. Set the Transmission Rate dependent of the connected OP slaves aQd the segment
u length. The default Transmission Rate of 1.5 Mbitls can be increased to 12 Mbitls in
individual cases, to achieve shorter cycle times.
u
3. Using the button "Options" you can enter your cable configuration, to-have the OP
u bus parameters optimized for your process. .,
u
W See {403] Source name, for more details on configuring PROFlBUS hardware.

u
u

u
u
u

u
SIMATIC pes 7 - Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 27

u
PCS 7 System Course

6.3.7 Configuring the DP slaves

Placing the modules


u
~flW Confrg - [ASOB(Configuration) •• "rGIOa) 800 Ei

u
U
l..J
U
U
\,J

v
U
\_,

U
U
U
U
U
U
1. Finding using an order number
V
2. Profile with released modules
U
3. open the tree under the field bus
4. DP slave "family"
U
U
5. Select the interface module as a DP slave. Drag & Drop it on top of the DP master
system. The dialog "Properties - PROFIBUS interface ... "opens, where you can set: U
- Properties of the PROFIBUS subnet (transmission rate etc.) V
- the address of the DP slave
U
6. Profibus address. The address must fit to the address set on the module (for
ET200M Dip switches are used).
V
U
7. Configuration table of the DP slave. A symbol for the DP slave is connected to the
line representing the DP master system. In the lower window pane a table is U
displayed with the available slots.
U
8. Signal module: Drag & Drop the modules in the Configuration table. For modular
l,)
DP slaves, the usable modules are organized in the "Hardware catalog" in lower
level folders representing the DP slave "family". For the family ET200M S7-300 J
modules are used.
U
U
SIMATIC PCS 7 - Station and network configuration
U
6 - 28 Training Documentation, V1.00, ST-PCS7SYS U
U
U
I I

\__

G PCS 7 System Course

LJ
u Configuring the ET200M interface module
LJ CPU 414-3 PN/OP

U
#PI/1)P DP slav .. properties 13
u IF 9&4·DP lme-of·Day St~

v PN-IO
PM!
IsocIvonous Mode

Potf2
u
'CP 443-1
o PNIO
POt( 1
P0t(2

u SlcI Older _Of


1.2 - GES71!J5:7HAoo-oXAOor 6E57195-7HDIO-OXAD
u 4.5
6.7
6ES7195-7HBIJO-OXo.o
6ES7195-7HBlJO-Oxo,o

u
u
u
OK Cancel

v Be sure, there is a check mark at "Replace modules during operation".


u
u
u
r:jfj For use in PCS 7 the racks of ET200M should be equipped with active bus =: <.- ~(i[(>' ~'~
\ (})'
'I

~cs ~~::~ C~0\'9()~? ~0 ~~'

u Configuring signal modules


. \ " ...
~ c*-.3"\\)':,:
: '0 dj,.'-.)<7--\
(\ \I.sCl"Y'
v
Properties' OIl6xDC24V.lntenupt • (R'/S4) EI

u DI16dlC24V.H_

u H Ii!rt- .;. i).} 1'1."1", i


Qrd.e-I~o.• 6ES7321·7BH01·0.A.ao
~F:"3 I
Nere: I tlll:t1. tfll'lttWrtl I
u
u

u
u
u
u
1. Select useful names (diagnostics)
2. Select a Process Image Partition (PIP). It should have been set in a earlier stage in
the CPU properties of a cyclic interrupt OB. Doing so, the 10 signals are
synchronized with the Process images due to the cyclic interrupt OBs.
This setting affects all channels of the module.
u
SIMATIC PCS 7 - Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 29
u
u
PCS 7 System Course
U
LJ
Diagnostics enabled
Modules with diagnostic recognize internal and external module faults and generate
LJ
diagnostic alarms. U
With the enabling of the diagnostic interrupt, the diagnostic alarms will be generated
automatically through the PCS 7 drivers after an OS compilation.
v
u
Channel specific settings
J
In general, a channel of a module should only be activated, when the related sensor,
actuator or replacement resistor has been connected. U
That is to prevent unwanted diagnostic messages on the PCS 7 OS in Runtime. LJ
At some modules, channels are grouped to channel groups. In that case the settings are V
common for the channels of the channel group, e.g. for the AI8x12Bit module: 4 groups
of 2 channels each. The group is to be activated when a signal is connected to 1 U
channel. Then a resistor is to be connected to the other channel. U
LJ
Example: Configuring an Analog Input module U
u
U
U
U
U

Me~T)'I)e: u
Mea$IIYIg ~; u
PoSftion of ~asuIlg
Range.~f;~; u
Ilntederencef~m ..~ u
TrlggerforHardwn ntenupl u
HghUM:
low I.inl:

;,.)

U
1. Measuring type must fit the Position of Measuring Range Selection Module.
U
2. Active channels
U
3. Inactive channels
U
4. Channel group specific Diagnostics settings
U
5. Enabling the diagnostic alarms for the entire module
U
6. Not to be set for PCS 7. This function is covered by the channel drivers.
U
u
u
u
u
SIMATIC PCS 7 - Station and network configuration
6 - 30 Training Documentation, V1.00, ST-PCS7SYS

u
LJ PCS 7 System Course

U
u 6.3.8 The final Download
u 5e:1ed:.Node Addres t3
u l~Sta~.Ecit ., __ I
IDf2;~·
u I Ra.±
u ,
,~:~f
, I S""
13
!~:~II~1
Select Target ttodu'e

~ad --.._

u ~M~~~----------~~~~
'•• I,·ttlt:arll]·

u
u

LJ
U , Tho(okwW9rno:xUctwibedowe:d'Of~ollhe~
dol.
x
U Sldtion:
AS1)8 ',@§IIF§SP"
U
...............
t.!odok lhe~CPU ·n4·)pt.1I0P(A OJS3]1I nlh$STOP
100000]CFtI.(1.4-)PN"{)P ,.-_
Do}'OU wol'1l.lost/llllhe ~ now (cul'fMtc ICtt.tJ?
V ----
j_ ...._
, .----j
U
U
1. In HW Config, perform a Save and Compile. There should be no error.
U
2. Initiate the download procedure, using the button Download to Mo,~ule.
U .;

3. The target module should be the CPU, click on OK. ._


U
4. Select the protocol for downloading (only when both TCP/IP and ISO have been
U selected at the properties of the Ethernet interface module). :-
U 5. The download will start, but will be interrupted when the CPU is in Run mode ...
U 6, Click on OK when you agree to put the CPU in Stop mode, the download will
continue then.
7. After completing the download, you can have the CPU in the Run mode again.
Therefore, click the Yes button.

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00, ST-PCS7SYS 6 - 31
u
\.__

PCS 7 System Course ~J

6.3.9 HW Config - Diagnostics V


l.-
In brief the Online view of HW Config:

II v
m....··....· v
v
'~ u
v
111 U

II lJ
V
U
V
V
U
1. In the tool bar, click on the Offline <-> Online button. This will switch between the U
Offline and Online window, not closing the earlier window. Icons represent states
and modes. To have an impression 4 examples: V
2. The CPU Stop and Run mode. Run mode is active now in the window. tv
3. Mismatch between preset and actual configuration: the configured module does not V
exist or a different module type is inserted.
u
4. Diagnostics not possible: No online connection, or the module does not return
V
diagnostic information.
\..J
5. Fault: module has a fault.
Possible causes: diagnostic interrupt, 1/0 access error, or error LED detected U
U
More diagnostic information is available after double click on the regarding module. The u
Module information window allows to read the diagnostic buffer:
U
U
U
U
U
U
U
U
U
u
U
U
U
SIMATIC PCS 7 - Station and network configuration
6 - 32 Training Documentation, V1.00, ST-PCS7SYS V
U
U
PCS 7 System Course

1. Status of the module from the viewpoint of the CPU


2. In the diagnostic buffer the diagnostic events are displayed in the order they occur.
The first entry contains the newest event.
3. If you select an event in the list, a detailed description will appear in this box:
- Name of the event and event number
v - Additional information, depending on the event, such as the address of the
V command that caused the event and the mode transition that was caused by the
diagnostic event.
l
- Event state being entered or left
\....I

6.3.10 Task and checkpoint


u
Task: Station Configuration AS
u
u
Goal
u
A configured SIMATIC S7-400 Station, to be used as the AS in the training application.
u
Checkpoint
u
Find out:
u • What 10 address ranges are in' use,
.) set by HW Config?
u • Be sure the address range 100 ...
299 is not used, it will be used by
u the process simulation.
u • If used, please modify the
u addresses now!

u
v

u
u

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1.00, ST-PCS7SYS 6 - 33

u
PCS 7 System Course ~-
Iv
l.J
U
6.3.11 Comparing PROFIBUS DP and PROFINET 10
L!
V
Why PROFINET 10? l._)
Future requirements regarding system performance and sizing will have field busses
U
reach their limits.
Because of continuous technological development Ethernet provides future-proof u
communication platform with high performance. v
Merging the areas office and automation, vertical integration offers productivity v
improvement potential.
V
In the office sector, Ethernet is the unchallenged standard in the fields of installation Q).-k-rn\Il~;"\\"
'1)e_{o.y~\';\st\c~ technology and protocols. ~ U
LJ
~ PROFIBUS DP
V
PROFIBUS I RS 485 v
I._j
DP-Mastersystem
\.J
DP-Master
V
J
V
Master Classe 2
.J
PROFIBUS DP V
u
PB-Adr.O ...127
U

Stations-Nummer M.:\~l '"fl'~t"lll:\'~ U


~\'5\'i)O\t\\F!,-> U
PROFIBUS DP W
V
V
U
U
U
Not allowed
U
From several participants, possible only
reading U

Only one priority possible U


U
Over DIP-Switch or by Telegram U
it
'<''''''',
U
M~x. 12 Mbfs (Token)

lI1ypicallY!,ine structure; Tree or Ring


u
possible with restrictions; terminal W
'resistance 'at the last participant needed
U
V
SIMATIC PCS 7 - Station and network configuration
6 - 34 Training Documentation, V1.00, ST-PCS7SYS v
u
u
PCS 7 System Course

l
u 6.3.12 Configuring the 10 Controller
u
u Addressing
u Profinet 10: Simple name designation~:;'
,_~r~fi.busDP: Individual
u addressing in each station
through, Controller with support 'of ¢~r.~~
Engineering System ,.' < .': ,- .J. ,~., ;--;:
l.;

V
l'
V
U
U
V
u
U
U

v Before the distributed 10 can be used by the central station it must have an address:
u • For DP slaves: a number: 0 ." 126
V • For 10 devices: a device name '" ,
u The device name can be assigned in different ways, e.g. by the HW Confiq tool of
STEP 7,
u
; .
v
Initial Steps
V .~. .
lJ Open the Properties of the Ethernet interface:
U
U ! 1 IJ PS 40710A

I 3 W CPU 414-3 PN/OP


:
! IF!
v IXI
,X
MPJ/l)P
IF 964-OP
(iQlo---
Fiter Assigned I>Io<Ues

u ~ ,
, X5PI R POll I
u i X5P2R
, 5
Po.12

u I 6 ~CP 443-1
! XT lJ PN·K) en- ,1~.:vx~
H-ltl-'o'-pOII'-=-T ---, ---
i X1PTR Assign Asset 1D ...
X1P2R II P0II2

I9 ~"""~ I

v
u

SIMATIC PCS 7 - Station and network configuration


Training Documentation, V1 ,00, ST-PCS7'SYS 6 - 35
u
u
u
PCS 7 System Course

Then proceed with the following steps:


u
v
v
v
u
V
v
V
v
U
v
V
V
U
LJ
U
V

1. Enter the required Device name. U

2. Notice that the interface is not assigned an Ethernet subnet yet. Continue with the V
Properties button.
V
3. Enter the required IP address and subnet mask fort the new Ethernet subnet. I.._..,
4. Click the New button to actually create the subnet. I.._.I
5. Enter the required name of the subnet.
v
6. After closing the last window, notice that a subnet has been created and assigned
to the interface module.
v
u
V
Inserting the PROFINET 10 System
u
U
U
U
U
U
V
U
U
U
1. In the Ethernet interface module, select in the context menu: U
Insert PROFINET 10 System V
2. The PROFINET 10 System is displayed now, based on the connected subnet. V
W
SIMATIC PCS 7 - Station and network configuration
6 - 36 Training Documentation, V1.00, ST-PCS7SYS U
U
U
\... PCS 7 System Course

lJ
u 6.3.13 Configuring the 10 Devices
U
u Inserting the ET200M Interface module
v
u
u IFI
XI
u • X
.)G

. XSPlR
v : X5P2R

6
.XI
XIPIR

u XlP2R

v
x

u 11oI15l-4PN

v PROF'iflET1()de~ed"""

2..... fW""",,,
~ 1M 15W'N Hf (ERTEC2OOjf« S7<300~
~"". fM 350 10 fM 351. fM 357. CP 340. CP34I. CP343-2. PROm ET "'<!<faa :::J
I>n<f ... M' ... ciog>o .... ' I&M~ IRT"", ~
IPad<>eu, r~~----------'
(:; !'I~utel~ ~

u Onlu"" ,_. 6ES715l-4~'VJ.0


~mask:
,r '01' It:
r---- -.
Fomly ET200101

ImooM-Oa
u rNodellPAOFltiETIO Sr.;tem---------------,

v O'''' e .....t>cr. II

150.~L10.IS
IpROFltiET-K3-Systom

&>..n-.et.. 1
(100)

u
u
1. Select in the catalog: the PROFINET 10 tree, the required "family" and the Interface
v module.
v 2. Open the device properties
3. Enter the required name. Press the Ethernet button to continue.
v 4. Enter the required IP address.
After closing the windows the modular 10 device is ready to accept the modules.

u
u

SIMATIC pes 7 - Station and network configuration


Training Documentation, V1.00, ST-PC.S7SYS· 6 - 37
PCS 7 System Course

Inserting the 10 modules


\_..)

lJ
G
G
V
V
V
V
V
V
v

v
V
LJ
V
V
LJ
1. Select the 10 Device. The Configuration tables lists the possible slots.
V
2. Open the tree under the placed ET200M interface module.
V
3. Open the folder representing the type of modules.
v
4. Place the required module on the proper slot.
V
V
Assigning the Device name to the real 10 device
J

U
V
U
l....J
U
ltv'
V
V
V
v
V
v
u
V
V
V
SIMATIC PCS 7 - Station and network configuration
6 - 38 Training Documentation, V1.00, ST-PCS7SYS V
U
U
PCS 7 System Course

1. From SIMATIC Managers Options menu, open the Set PG/PC Interface
dialog window, to change the S70NLlNE access point to TCPIIP 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 10 device.
Then, continue in HW Config:

Configuration) -- ProjOS)

:J pte '''w Optioos I'fondow "'I>


e eo..rload... ctrt ....
- ~ ...

• ••• 133· Device lET 200M

.......
r Show orijI devicet 01 the tome tJ'P" r Di,pI<» orijI oevces without n,me: ,
····~~;:···i····~~l~···i················
He\)

1. After selecting the desired device, activate from the menu:


PLC > Ethernet > Assign Device Name ...

2. In the dialog window, have the device name in the Device name pull down list.

3. The table Available devices should display the accessible devices on the
network.
4. You can use 2 predefined filter settings.
5. When you have eye-contact with the 10 device, use the Node flashing test
feature to improve the identification of the device.
6. After highlighting the desired device, click on the Assign name button.
7. Put back the cable connector to where it come from.
8. For the PG/PC interface, select the PC internal mode.

SIMATIC pes 7 - Station and network configuration


Training Documentation, V1.00. ST-PCS7SYS 6 - 39

'J
PCS 7 System Course

7.12.5 Analog Inputs 45


7.12.6 Analog Outputs 45
7.13 Task and Checkpoint 46

u
v
V
I,J

v
v
V

v
v
v

SIMATIC PCS 7 - Connection to the process


7-2 Training Documentation, V1.00, ST-PCS7SYS
PCS 7 System Course

7 Connection to the process


u
7.1 Learning Targets
"--I
u
The participant will learn about
v
V • the use of the Component view and the
Plant view in a Multiproject
\J
• The basics of charts and blocks and
V how to work in the CFC editor
U • The use of symbolic names to every 10
signal
• The features for testing 10 signals
u
v The participant will be able to
v • Configure charts containing drivers to
all signals of the Signal Box,
representing some live process signals
• have the Johnssons process simulation
u installed and tested as a preparation for
creating the automation functions to the
training application
u
U
U
V

v
u
u

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00_ ST-PCS7SYS 7-3
PCS 7 System Course

7.2 Component View and Plant View


7.2.1 Component View

After opening and creating a project, its Component View will be displayed. All data will
be assigned to physical stations and components.

r

I t'El·@a TeamOS
I $~lR ~ SUBNET
.: IPF8106
Ii 8001 ASOs
!
1
I
I!
..
~'_fj) CPU 414·3 PHI
E>@l AS08
Hatdwate
, .. ..••
..
gJ- FBI07
&'l' FB128
RACK
CPU_RT
v
@l"
!

I
: :B~
l
,.fii) Sweet

r'~~O:
CP443·1
If'
CPU4'~
ASOO-'
••
~
Souree1 .."
.
PF81804
tpF81828
iiJo F81869
AVelage
Lag
Pcs7Anin
V
\J
ft>.@. fPG53 PNIOP ••
· ..• ifl' FB1870 Pot7AnOu
!
~:~
ttL! Shared Declalaliom
=eLibr6fl/V14
••,
, ~
••..
••
[jJ\ ~
Bloct.s
.. .,. PFB1871 Pcs7Diin

•, Cooneclion;
~.~ PT0i99 CP443·1 •
.• ~'.
..d-------------~
··•
·· Chaltc'.,
••
.•..
•.. Sigl'l~oxD~n Sig~o~DiOu

'vi
tv
V
1. Stations v
2. Subnet objects: only renaming is possible here. V
3. Shared declarations contain the elements Enumerations, Units and Equipment U
Properties. They can be used by several tools and editors.
U
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 V
permitted. U
5. Symbol table: for every S7 Program (every CPU, every AS) there exists a unique U
symbol table, for storing the relation between Symbolic names and addresses or
block types. U

(jft=' 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.

v
u
V
V
V
SIMATIC PCS 7 - Connection to the process
v
7-4 Training Documentation, Vl.DD, ST-PCS7SYS

u
l_ PCS 7 System Course
\.

t
7.2.2 Plant View

For PCS 7, another view is important: the Plant View for displaying the Plant Hierarchy.
The Plant Hierarchy shows the hierarchical relationships of your plant (units, equipment
modules ... ) in a tree of hierarchy folders. The folder names have to identify the
components of the plant.
u

u
AS OS
V e--IJI CPU 414·3PN/DP
i G'@] AS08
L1 H:iiJ S<Xl1ces
~ tel Block$~

1
.JiIIO-~i~: -_.. ~ alalts ~ fiJi
j
! ~CP443'1
S·.@. FPG53
i : 8- [] WII'lCC Appl
-+-+-Jl:}C>-+-+' -+ !...~ osoe --.'"
+. Shared Declarations
1 Eb'eD Ploi99
f r;J. fW] AS 99 .
! I s-Im CPU 414·3PN/DP
, ' ~ ~-@] AS99
u . i CirJ S(Xl1ces
; Il:B Blocks
u
u l I±l
* L~
CP443·1
alalts

. Shared Decleretions
~ ~ Course LillIaty V15
.~ uos
J
V

v Different Representation of the Master data library


• In the component view: An S7 program with the folders for
- Source files
- Blocks
- Charts
- and one folder for shared declarations
• In the plant view: The folders for
- Process tag types
- Models
- Shared declarations

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).

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7-5

v
PCS 7 System Course

.'

AS08\CptJ 414-3 ptl/DP", fPG53\WtrCC AwL\.,


AS08\CPU A14·3 PNlOP,.. FP(i53\W.,r_c AwL \,.
ASOO\CPU 414-3PNiOP__ FPG53\W...cCAppl.\ ..
AS08\CPU 414-3pt.liOP... FPG53\W...ccAwL \ ..
AS08\CPU 41HPN/OP... fPG53\W...ccAwL\.. R·Ge .... ''''
FPG53\W...cc AwL \.. ._

Iv
V

l....}

L;-

V
V

V
7.3 Task and Checkpoint l.J
V
Task: Plant Hierarchy V
U
Goal" V
The starting point of the Plant Hierarchy V
V
Checkpoint \..J

Compare ... u
V
• the arrangement of folders on your
U
ES to what is listed in this task.
V
I....J
U
U
V
U
U
V
V

SIMATIC PCS 7 - Connection to the process


u
7-6 Training Documentation, V1.00, ST-PCS7SYS v

v
PCS 7 System Course
l

7.4 Basics for charts and blocks

7.4.1 Device control functions

Every device in the plant will be represented by a chart with blocks in the engineering
station, and a block icon/faceplate on the operator station. Predefined blocks are
available in a library.
)

u
u
u
v

u
.......
u
U Convnand

U C
Execution
U
1. Drive in the plant
2. Chart in the engineering station
3. Block representing the drive
4. Controlling, monitoring, interlocking ...

u 5. Control signal to the drive


6. Block type in the library
7. Operating and monitoring
u
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.

u SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7-7
PCS 7 System Course

Block types and block instances


Predefined device control functions are offered in process control libraries.
For example, the control of a motor can be done in pes 7 using a motor block MOTOR
from the standard library or the MotL from the Advanced Process Library (APL).
They differ in the scope of control features and their graphical representation for
monitoring and controlling. L

Block instances:
u
Block types:
V
-Type name ·Are generated from.the block type V
- Data interface (input and -Many block instances possible
output parameters)
LJ
-Alqorilhm Iv
- Available in libraries
v
• Central managemenVupdate
in the Master Data Library IJ
V
U
V
Instance data blocks: V
• Created for every block instance u
u
LJ
V
u
u
u
v
w
u
u
u
U
U
V
U
U
V
U
U
V
V
V
SIMATIC PCS 7 - Connection to the process
u
7-8 Training Documentation, V1.00, ST-PCS7SYS u
v
v
PCS 7 System Course

7.4.2 Charts

Charts are the placeholders of blocks. Each chart has a name that is unique within a
u 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.
v
u
Sheet view and navigation
Each chart consists of up to 26 chart partitions each with 6 sheets. You can see all of
u the sheets in the Overview:
u
I~---- =====================================================,
v ! ~ (h&'t Edt Insert CPU C>ebU9 VIeW Options ~ Help

I D (2; (§ I :t. ~ e lID ~ o,§ '¥' (i!{ -tI , ell I6bi I "S
l..J

u
v
u

v
u chart partitions,
initially one,
u can be A ... Z

- -
• ,i:
-. . ~
It;
r Sheet view U Pull down list to
~select a sheet
l _. D x .
fii'l eh... Edt Insert CPU DelxJQ View Opt"", Window Help "'-.....\ ~Kli
D e;l; ~,
w _"
7, It' @ I lID 19
........
_ ...'1
D§ '¥' I~ -tI 1 ell 01 'S 4" ~ ""l ~; :x: I €VlrDl !_;; ~"2.E3rnilt? I j

u
I
t
....".
._ ........... .."
I =rt=
. -
;;::--

:~
'2
3
4
1
I
i
J :

... ~ ~~
5
6
J :-:--~_ I
= U~~~ - I
~. "
. .
"m:;; J
IL::::§ ._"
._. ..~·,'I ..
:~ I
.. ~
, ,.
.;~ I

II
~ lEt I:" ~I I
!
,,

u - ~extboxfor !
I?' r;;:;;;i chart comments
- j

v
I
I
Sheet bar
- r'"
~
Sheet bar JI
::illJWl1 • r - - .- - - - I.!JI
t PltlS~ Fl tOf beb. I ~!iVShee!. 1 10832 V312 V312'1OA.00S ..J~

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7·9
PCS 7 System Course "-_

• 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.

CFC editor tool bar:

v
U
V
\.J
l._)

1. Show the CFC catalog \J


2. Show the chart I/O view v
3. Show the run sequence view U
4. Show the technological I/O view v
5. Compile charts v
6. Download the S7 program v
7. Switch to the CFC test mode V
8. Open the Chart Reference Data I...J
9. Zoom in/out the sheet view U
V
V
\..J
V
U
U
V
U
U
V
V
U
U
V
V
V
SIMATIC PCS 7 - Connection to the process
V
7 _ 10 Training Documentation, V1.00, ST-PCS7SYS v
U
v
U PCS 7 System Course

L
U
U 7.4.3 Catalog for libraries, blocks and charts
U
LJ Using the toolbar button Catalog, you can toggle the display of the catalog.

U
U 3 tabs
3 tabs at the bottom separate the catalog into 3 areas:
12\CK"UJ6
OWl Edt [Metl

v
e- PeS 7 AP lbOI)' \'30 r~/..!e-Ilo-.ort j--'f.: PllJ [t'I.otor:~~edandS''''1
_)
I~;~H=S
I~

I
1:§;;kHT~E
@J ~".ontotno_Fb [AI
ANlO
I
f

ffi..
~r~TI!X1
.-~jJbIod<s

$ .COWAAE
BlrJ-GC
r-l2l P}43 {Motor: SrIQI.e Speed ~
i-l±'lIUlO-Gtn
~[ib Rl20-Gtn
~(&l RJ30.(iSl
s

!
! .
I:1i!l c~_eCon.~
0 C4~on!rol.ean
~ c.sc_
(Castad

(c.scodo<On'
[C~ ffi-.
"'-.cCt<lan
FtlPfta>
i-@l Rl"'-Gen
t-~R&'1
· @) sq,.ISoxAnln
ID-.
~j

,~.
AI
;!!5Y5TEM
cNrneI
@1liO..:a._I»(ilg(lliOtl
'0""" ....""'I»(ilg(Oioi'aI
..
..
1tl.'.....
MAlH FP
MAlH_INT
nax
~ ~ 5g\a.'BoXAnO.J
t--l2I~xOiln
.QJ(..fltiC
$-.=I_FLOC
-.C"'~01
.~ IliOIaMori'omoJb (l><
[B Doselean [Dosno fl.nct;.
. @""' sete anJb{lle"'Ofu
$-.
.,SHIF1'
""".lGC
i-i21 sq,.ISoxO<:>.>
~ @jT1CA3t5
'-L@l nCAlI'
[Sl1ndardPIDIoop'o';-iit
[SlMd¥dPIOIooo";~
'" 1 I2l TlCA33S

0.""-'.c""""" ® Drive (Conver"" and,~ (Stand.d PlO loop wilt

r». -.C<Ul'
~.'LtlCT
~ ~din
$~'f.o...n."~'1
(Adop", ;·123 nCAm
t_ ~
i-@)Yl22
(S,ood4rd"to 1000 "'~
Vil2 {VaNe; stVeOrr.~andOu
{'Va.\>e:~Orh·t:wOu

OV.OP 0,...._...,,,,,,,..
-@~(Gan~
1t< (e j-IZlVI12
i ~V211
(Vatve:stgeOri'~~()J
[VaNe: StgeOri\'c ¥4tXJ
8.0""ee G£),.W'<eCon (loIod., prod.
r-@) V212 (V,y...·e: sn;,k Drive an:! OJ
r- p Moll. {FBtSSO: HolDI ID-~ ,·\otof2Speed [1·10101': Dr.
r-~
u L_p
p HotRht
:'1otS
[F81851: R
{f81910; ""IOto
i .1221 l-Iotor
~ MotOflean
_AV _EvtntTs
(MotOt:
(1'-101
Sir10k , .@J
v213 [Vdl':e: Sintjc OriveardOu
i-@)V221 (Valve:5n9le(){J"tM:!Ou
Y222 (V4lve: Si"ge Drive an:! Ou
P "".otspdQ (FB15S'4: ~ MotOfR.~Vefsh'1! [Motor:
~ffiI V223 [VMve: Sntie Offle and Ou
po HotSpd. {F61856: 0 @ ~ Mot«SpoedCoo~_ ~
i~ffiJ V2l rv,.,.,_...u 5e"ge DciYe Md Ou
-p 51 [FBI"4,' @) O'.~ [O>.'erri(
~[ibV2J ~CIrI:"·e.v.dc...
-p 'v1v (fB1897: I ($ Oven» enide con
~~V23 I !iI"lgeDrivea"ldDJ
i"P \~ .........
I' 1896: kv.g , [$ P~ elt·1on [SI
~-~V2il t 'e:~Otf\"~andOtJ
r-P'r1vL [fB1S99: Val-or $--~ PIDCora_C~Mon (5 , ·121
\12-12 (Valve: ~I! Orl\~ a-d

u ,-p yjo,.,o~ ('61900,


-p """'S('S"", ,M·.
H< ~
o
PIDControLun
PlOConlrol.",_fb
{Standa.
(5 ...
;- [!b V2;] (Vdlve: &ge Ori'.-e .v-d DIJ
;..rib V31 t (Valve: SI"9t Drive Md Du
[B"~GetVator ~P"><S">C (:;-d..-oopr()(
• 312 tv""''' sng.er-""' .... OU
r "'!n1t<1d< ;-0.;; PtocSn-.s f3rdordtt po' ...
i:- ~ VJ21 lYe: 5i--* Oti ve: u.d"D.d

I

• 1I
fi-, ~"""'"
"to-"",

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
u 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
v 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.

SIMATIC PCS 7 - Connection to the process


-Training Documentation, V1.00, ST·PCS7SYS 7·11

u
L
\_

PCS 7 System Course

Templates

Templates are predefined charts for control functions. They are available in the chart
folder (called "Templates") of the PCS 7 library.
"-.,1

G
G
U
LJ
V
G
V
U
l_)

LJ
V
U
U
U

They can be used in an application in different ways: V


• by copying into a project (plant hierarchy folder) and the adjusting the signals and
parameters. w
• by copying into the Master Data Library of a Multiproject. Then it is to be used as a so v
called "Process Tag Type". More details later.
u
See [302J PCS 7 CFC for SIMA TIC S7 - Function Manual- 04_2012, 7.2.2 for more u
details
u
V
u
u
v
u
u
v
u
u
u
u
\..)
-
V
U
SIMATIC PCS 7,;_ Connection to the process
7 - 12 Training Documentation, V1.00, ST-PCS7SYS U
U
U
U PCS 7 System Course
L
L
U
7.4.4 Inserting a block into a chart

When you insert a block in your CFC chart, you generate an instance of this block type.
u In this context, "instance" refers to an instance of the selected block type.
u rmac -(temp -- Proj08\AS08\CPU 414-] PN/OP\_)
~ Cha,t Edt Insert CPU Debu9 'llew Options Window tioeIp

· • Genrator
: -. Interid<
· o.l.o9icAn
v · • L<¢Ji

_) e-.
[j} ~

·
,·laint
~Iolh
P Addo4 (F<:3S1: Add..- wit!> , volJe<)
-9 AddOS [FC352: Add..- ",t!> a val"es]
0 Drag
~Ia.,..-....;;:....--..,
p '",e,* [F6tBO'!:Ave,* determination:
.- po Deadrrne [F61807: rim. delay]
-p a.rlv.Dve [F6180S: lAfferenHato< . !Tope;
, 'P 0;.,02 [FOSS: Divider)
u
u
I

'r
I Fhd Inlialletter
~ __~~~ __~~~=
u You can drag blocks from the catalog (library) into a chart. The installed blocks are
v assigned to the OB where the Runtime Group of the chart belongs to (this example:
OB35).
U
1. Black name (name of a block instance): CFC assigns a number as a name to a
l.J block instance when it appears in a chart. The name should be changed using the
u Block Properties dialog window.

The name has a maximum length of 16 characters and is displayed in the block
u (jJ=
header. II/egal characters: I \ . %. II

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
u hierarchy path, chart name, separator and 110 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.

v 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.

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7 - 13
PCS 7 System Course
l..._,.

7.4.5 Block properties

General

0
0
0
0
reus:
1<__ .,,,
FCl51

-~
_OB:

r..,:
/aha:
MdI)t

M.oh

hMb1lO
v
u
V
l.J
V
U
L..J
1. After a double click in the block header, the Properties dialog window appears, with U
the General tab opened.
'vi
2. The name field is preset by just a number. Usually it is replaced by a more useful
name. U

3. The comment field is preset by a brief block description. It can be changed. V


4. Some areas in this dialog window may not be valid for a block type. The objects are \...J
grayed out then. U
U
II0s V
A second tab lists the properties of the individual inputs and output: V
U
v
U
U
V
U
U
V
U
W
U
1. Inputs of a block U
2. Outputs of a block V
3. Several settings, initially with their default values. White fields can be changed.

SIMATIC· PCS 7 - Connection to the process


.7- 14 Training Documentation, V1.00, ST-PCS7SYS
PCS 7 System Course

u
J 7.4.6 110Properties

-.c:::~~
U
n ... eADD
[ti- ~
",petties - Input/Output 13
U Add04
Adder wi I Bk>ck
AddJ4.nameADO

V o.o
0.0
! I/O
VoLe . I"[REAL)

1m
U 0.0
0.0
~~~~~llmaam=mI•• I' V<We:

u V.weIREAl)·ValJe' 00 IValue
u
u Alchiva:

u Opela(Of atJthofization evet v OS addilionalle>i:

u
u Precess obiecl \'tew----.
r P.. omtIlf
u : r Siglal
u
u
v OK H.tp

u
u 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.
u 2. The 1/0 Properties dialog window is displayed.
u 3. The main field is the Value field. When there is no connection configured to this
input, a value can be assigned.

u Other settings are explained later.

u
v 7.4.7 Interconnections

For transferring a value from a block output to a block input, an interconnection can be
configured.

nar.eADD Yact.or

u Add04
Adder wi nO; ~
Hul04
Mult1pli 1'2
CS~S

u 0.0
0.0
- In1
- 1n2
I Quo In1
1.0- 1112
I OUo-

V 0.0
0.0
- 1n3
- 1n4
1.0- 1n3
1.0- 1n4

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.

SIMATIC PCS 7 - Connection to the process


Training Documentation; V1.00, ST-PCS7SYS 7 - 15

u
PCS 7 System Course

Display of instances with invisible interconnected block II0s


v
u
U
G
L,

"-.;

\_;

Go
\....)
\..J
U
V
U
V
V
l-l
If interconnected block II0s are made invisible, this is shown in the instance header \.....)
using a cyan triangle.
V

U
7.4.8 Compile and Download
V
LJ
Data flow of configuring in CFC
U
After creating the required functions in the charts, they are to be send to the CPU:
U
V
I...J

U
V
CFC Editor
U
U
V
U
U
V
U
U
Download U
~.)

Machine code V
U

SIMATIC PCS 7 - Connection to the process


U
7 - 16 Training Documentation, V1.00, ST-PCS7SYS V
U
V
I
'-- PCS 7 System Course

U
t..J Compile
U
U
Compile program EI
U
U
CPU; CPU 414-3 PN!OP
Programname; AS08\CPU 414-3 PNlDP\AS01!

u
u ~ Ge1-.Ite IT\OdoJe dnvers Block Oliver Se!tngs ...

r Generate 5CL $OU'ce


u

v
U
I. OK Cancel Help

U 1. The Compilation process converts the functions in the charts into blocks, and
V stores them in the offline blocks folder.

V 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).
U
,)
Download
U
u J. x
57 Download I
CPU: CPU 414-3 PN/DP
Program name: A.S08\cPU 414·3 PNIDP\ASOS
u
rDownioadmode---------=-,---~-
U r. Entre progtam
r ..f.')
01" l}"" ....
~------:---+r Totest CPU (entireprogram)

1
CoM f"-'r0- ~ <0

fr<l~V(1.,Vh"'- 1\J1< <e'S~ l1X:


A S, ~ i r;;areaov.1io1ld' .ng this S7program
I
f()(lhe first tine ortne last f'" downlo8dwas
I-i; 'V ""'"" eS'0-:><::> I plete. Your: only now Is to do\\nload
option
u
Q...
OW
1.'< s,<;:
\
~&«.~G\.. i entire J)ro!Jam. Before yoo downloadthe entire program. the CPU ....ill be
TOPand all bIOcks ....1IIbe deleted. Download S7Jlf09film?
set to

w
Oo,I''rc.~(),,_r. I ;:::====;-
Read the no(es in the or*l6 help ~ possible elf'ed.s -;--~

J
I OK C~
u
1. With Download, the blocks are copied to the CPU.
u
2. With the Download mode, you select if the entire series of block are copied to the
CPU (only option for the first time) or only the changed (new) ones (compared to an
u earlier download).

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7 - 17
PCS 7 System Course

Compile and Download


When the download button is clicked, without performing a compilation beforehand, a
message box appears, prompting that you can do both in one session:
(244,.Sf)8)

~- -.-
.. .. --...----- ...-.-- ..-----.-.
.... --.. --_ ..__ .. _ __
.. .__ .__ ... _ .... _.__ ._. _._-_ .....
~ , x

P a.-.<eono<l<Jo_
C a.-.<e so,_

1. Click on the Download button


2. A message box prompts you about compilation v
3. Check the settings for compilation v
4. Check the settings for Download

l.J
What you should know about downloading changes U
In cases where plants change during operation but must not be set to STOP mode V
under any circumstances, the possibility of downloading changes to them must be
ensured. U
U
If you want to ensure that your program retains its ability to download changes, you
should generate a backup copy after each completed download.
u
See [302] PCS 7 CFC for SIMA TIC S7 - Function Manua/- 04_2012, 11.3 and 11.4
for more details about the system support for avoiding causes of CPU STOP
u

u
Downloading a modified program to a test CPU
u
With the option "Download to test CPU" in the S7 download dialog, you can download a
changed program for testing to a different CPU or to PLCSIM. The ability to download u
changes is not lost. u
u
u
w
V
U
SIMATIC PCS 7 - Connection to the process
7 - 18 Training Documentation, V1.00, ST-PCS7SYS

-
V
PCS 7 System Course

7.4.9 Test mode


l)
.J General settings for blocks
\_)

IJ

u x

u
u
u
na!!:e.A!lD
Add04
Adder wi .~ '~'U:

u S.O - In1 I Cut -
1.0- In2
u 0.0 - Tn3
0.0 - rn4
u
1. Toggle button for Test mode
U
2. Watch cycle, minimum is 1 second.
'...J
3. Switch to Watching on mode for the whole block
.)
4. Switch to Watching off mode for the whole block
U
• Process mode: After switching on the Test mode, all blocks are in Watching off
u mode.
U • Laboratory mode: After switching on the Test mode, all blocks are in Watching on
u mode.

U
General settings for I/Os
u Focent..i_o::etterl
Pc-!'1}, . ''lIn When a value is not Po&entiQn!terl
Pe~1.\nln Or click on the right to
083-2 :.83;:

u en the S
display ed in test mode ... On the S
perform an Add I/O ...
=...-
211 Zf1
- WIn Bad ~ PV In Bdd f-
u tOO.O-
1001-
Scale
'iV lnU:11
PV Out
FV OUt-Un -
100.0
1001-
Scale
PI taUn1 Py OUt.Un ~'''~I~'
_ a~ll~ i
0-
0.0
5ir.u"n
Sutl'V In
ScaleOut.
oesxee
-
-<l 0.0
0 SimOn
SiJ.N_In
SC41t:Out
OosAct 0
Objec:tProper~ ••• AlttRctlnl I
0.0 Suh"PV I 0.0 SUh!f\' I

u -HS
0 MS R!:leA
->IS
0 M3 ae tee

- Mode - }'.ode
- DueXcbq -- ~u.Xchq

u Fotencfo~t:erl
Pc~7Anln
On the 5 ;,Ill
:El~
... use t he "mouse over" to
Potentlozet.erl
Pe51A..rlln
On the 5 2-.1..
C33,
... to have the c urrent value
displayed conti nuously.
have an info box displayed
u '2Y In Bdd

. with the current value.


'2Y In Bed

J
100.0 Scale PV Out 100.0 Sc41e PV Ou< 62. HO..l.4
1001- P" InUni PI OutUn 1001 PI! InlJnl PV OUtUn I-
0 SilIDn ScaleOUt. "".Out
OUT·STRtXT 0 31.:Ci"n ScaleOut f-
0.0 SirJV In 005Act YM.Ie! 62.000+1 0.0 SUPV In Otl.,Act. G
0 .o Sub,PY 1 sr. 16;80 0.0 Sub3PV 1
0 Rel~1l
Proces.s ".we rd. S I
HS ae tee
)01.5 0
->IS -lG
- }'.ode ~
~ D~t~Xchq ~
l'.ode
o..U.Xc:hq You can watch
u In fact you are controlling a setting in the I/O properties. and alter the
setting there

u
U
I~ I
SIMATIC pes 7 - Connection to the process
Training Documentation. V1.00. ST·PCS7SYS 7·19

u
PCS 7 System Course

7.5 Organization blocks


Function Blocks (FBs) in a chart represent functions with a program. The program code
is to be executed in a regular way.

Organization Blocks (OBs) form the interface between the operating system of the CPU
and the application. Different OBs (numbers) can be used. To every OB belongs a
trigger from the operating system.

Blocks are to be assigned to at least one OB.

Every 08 represents a Start Event, controlled by the operating system of the CPU.

Tasks
Our main group of OBs is the OB30s: OB30 ... OB38.
They represent cyclic execution (on a regular time base).

OB Start event Priority


1 Free cycle 1
10 17 Time-of-day interrupt 2
20 23 Time-delay interrupt 3 6
30 38 Cyclic interrupt 7 15
40 .. .47 Process interrupt 16 23
55 ... 57 DPV1 interrupts 2
60 Multi-computing 25 u
70 73 Red. error (H-CPU) 25
80 87 Async. error al. 26,28 v
100,101 Startup 27
121,122 Synchr. error al. like error- u
generating .
OB
u
u
(See system software for S7-300/400,
System and Standard Functions) w
* User-/process-specific start event
v
** CFC-/block-specific start event
u
By assigning PCS 7 blocks to these Cyclic Interrupt OBs (settings for a Runtime group),
u
a designed time interval is achieved. u
U
Startup behavior U
In a warm restart, execution of the program restarts at the beginning of the program with U
a "basic setting" of the system data and user address areas. Non-retentive timers, lJ
counters, and memory bits are reset. All data blocks and their contents are retained.
u
ATTENTION!
Warm restart = Default setting for PCS 7 and normal applications u
u
In some situations, the block behavior at startup must differ from the normal behavior. It V
may e.g. be required to suppress alarm for a number of cycles after startup. J
In that case, a block must additionally be assigned to a startup OB (OB100). Due to
U
settings on the level of block attributes, this kind of blocks will be installed in OB1 00 at
creation. U
U
U
SIMATIC PCS 7 - Connection to the process
7 - 20 Training Documentation, V1.00, ST-PCS7SYS U
V
V
._)

\~ PCS 7 System Course


l._)

) 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 OB 100 is processed
U before cyclic program execution begins (OB 32 - OB 38). As default, all the PCS 7
U blocks that have a special startup behavior are installed in OB 100.

l..J
J Cyclic interrupt CBs
\_) The properties of the Cyclic Interrupt OBs can be watched via CFC's Options menu:

u I Options I'fll1dow Help


Customize
Memor,llrtem;pts I Oi~gno~jr..$1Oock I T_-oI·Oay W~s
CoOseTextuallntefconnections
.J Delete Textuallntercome<:tloos .•.
Sy,ldvon>ze AS'l\ide 1n~rcOMe(1ions Pnonty ExeCtJliOn PhMeoilsei lktl Precess im~ge Pilft~ion
l.J Logs ... OB3D r 1<;;:_: p-- 8 1-· _.:j
Chart Reference Data CtrI+AlttR
OB31 I- ~ r- F31- ~
I
M*::P",S
OptimiZe Run Sequence ...
Q 0632: rr
'" !iOOO ~ n If.".: .!.l
u ,
1-
Blod(T~s ..• 0633: fiG rsoo- ~ ~ Ipn il
,
I
Open Symbol Table Ctrl+AltH 063-4' [i1 ~ ~ F-3 I .!.l
u Synchronize with Syn'bolTabie Ctrl-H'5 0835: [12 roo- ~ Fs3 1- ..:J
OBJ!; JC ~ rc--: F"3 1-· .!.l
IJ
OBB7 r ~ r;-- r;;3 1-- .!.l
OB(3b r po- r-: v:-3 1- ::J
v
U -.

U Oose He!p

U
U
U

SIMA TIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCSVSYS 7 - 21
u
PCS 7 System Course

7.6 Run Sequence


7.6.1 How to Adapt the Run Sequence

Principle of the run sequence


When you insert blocks in the chart, they are automatically installed in the run
sequence. The installation position is decided by the "Predecessor for Installation".
Certain blocks are also installed more than once in tasks depending on the entry in the
task list assigned to the block type by the system attribute (S7_tasklist). Blocks with
startup characteristics are, for example, also installed in OB 100.

Chart Installation Pointer

~ Task (08)
@l31

Runtime
v
v
U
V
U
..)

v
U
J
:5l"<;E:CINIJi;!j\"W#'
Object PropertiM ...

1. For every chart a Runtime group (blue folder) is created in the Run Sequence, u
containing the individual blocks per chart. It is assigned a cyclic OB. This is u
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. v
2. The green background color represents a pointer, controlling the position (after this
one) for the next new chart. l,.,'
3. The pointer can be moved using the indicated menu option. u
4. Runtime Groups can be moved by dragging, within an OB or to another OB. V
\..J

SIMATIC PCS 7 - Connection to the process


7 - 22 Training Documentation, V1.00, ST-PCS7SYS
U
LJ
lJ PCS 7 System Course
LJ
lJ
U
Setting Installation Pointers
U
Installation pointers determine the installation position for the next unit of the run
U sequence. These are the different pointers:
U • Chart installation pointer
U • Block installation pointer
U Chart installation pointer Block installation pointer
U m 0616 [Totne-o/-d3y lnterlup(6)
ill 0617 [Tiw.>O()/-d3ylnterrupt7j
U ill 0620 [Time41.y InlcrruptO)
Before defining as After defining as
ill 0621 (Tiw.>..<felbyinterr·uptll predecessor predecessor
U ill 0622 [fune-<klbY nierrupt2J
ill 0623 [Tune-del.y irMrrupt3J
U ill 0630 [cyd, int .. rupl OJ (5,0 s)
-ill 0631 [CydcinterrupllJ (2,Os)
U . iII "....- ___,
__ --,
U
U
Ctrl+F

U
tnser t Runrrne Group, ..

U 5-. { ...Ii -:.! J.~.,,' 00 (i. "!..fl


5'.4 thoffkl 11'!~C.tJ;'I

U p.,.If~e

Predecessor fOlI~t Position ~+FII


U
Opfullze Groups/T .sks ...
U r£ '--
ill e G) '.)O..:::t
l:l q Sf( E,,,,,,I\EI " _ '.,
U ill 01, Object Properties... Alt -Ralcm
ill d,.","(\..".,.....~"'r~w'm>.,.....---"'"
U m 06"J6 [Cyclic interrupl6J (SO ms)

U You can modify the installation pointers as follows:


U • Chart installation pointer (default OB 35)
U In the run sequence editor select the required OB or a block from the OB level (not
U within a runtime group) or a runtime group within the OB.
Select the runtime editor menu command

u Edit> Predecessor for Installation Position.

u • Block installation pointer


You cannot set the block installation pointer in the runtime editor.

u In the CFC editor select the block after which all other blocks are to be installed.
In the chart, select the menu command
Edit> Predecessor for Insertion positiQn.
u
If the block specified as the predecessor for installation is deleted, the block
u installation pointer is set to the block installed before the deleted block. This also
u applies if the block is moved to a different chart. The block installation pointer in the
destination chart is not changed. The moved block retains the installation position it
had in the previous chart.
u
u
u

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7 - 23
I.._I

PCS 7 System Course u


U
G
7.6.2 Runtime properties
V
At inserting of a block into a chart, the block is assigned Runtime Properties. The block
\.J
will be installed in a Runtime group that is part of an OB sequence (Task).
U
Runtime groups are there to structure and split the tasks of an OB. They are
automatically created at the creation of a chart. U
Every block header in CFC contains a green rectangle showing the runtime properties. U
A double click in this rectangle shows the block position in the Run sequence (using the
Runtime editor). U
~...J
V
U
U
\J
U
U
U
U
U
V
U
U
U
U
U
U
V
7.6.3 Optimization of the Run sequence U
U
Changes can be made to the order of program code execution of blocks:
U
U
Manual
U
Change the position of the block by dragging to the new position (installs behind the
block you are pointing to): U
U
6'" "@ OB32fcydiciilterrupt2j (1,05)
, ro," f) R320-Gen (110 s) U
8" Ell1CA32S (l..0 $) U
. I---<:ff!t JOhnsSOO~3Ctors'R320lHeat\\TlCA32.51pV
i·~:EtlJ-;h~;:;ift=;;cto~:;>R320~;;i\\nCA3iSttVl ---- U
i--:t:r J~~'~~~i;;\fi'320'fi;at\\nCAi2S~bk U
I· .:Et JQ~ 'R~ctor5Vl.320'Heat\\TlCA325\OutofSefvice
U
i~<:Gt Johnsstm 'fte:actor$~S20lfieat\\TICA32S~ldDevi'e£rror
j L~ I"" _; at\\TICA3251pID ~ V
!!l..,e UA224 (1,) $) U
W'" tJ LlA324 (1,0 5)
.rh ~ H~=-!i. r« ~ _.\ U
U
SIMATIC PCS 7 - Connection to the process
7 - 24 Training Documentation, V1.00. ST-PCS7SYS V
U
U
(_)
u
u PCS 7 System Course

U
u Automatic
u 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
u on connections between blocks. Tasks and runtime groups are optimized separately.
u I Opbon. I'.'indow Help

u CustolTize

Close Textual In~come<tions


u Odete Textual Int ... ,,,",,,,cUOt1$ ...
Syndlrorize AS...Wlelnte({OMec!ioos
u , lOQS ...

u Ch.>rt Reference Data CIrt+Alt+R

OBsfTasl;s ... OplimizeRuRSequence 13


u BIod< Types ... The .00 se queM. 01 U'" block ..... b. chal'l\)ed and orAimized
u Open symbol Table CIrt+A1tH
accoIdinglo tl16 datallow.

",th SymbolTable tm
u Syndvome ctrl-lf'S You c<lnl'l<llundo action. It i. U..... IOIeadvi.able to a.chive
the cUlent PlogJam belo<e st .. ting U'" optir~tion.

u
u OK Cancel Help

u
u
Uncheck the optimization
u
The option Optimize Run Sequence is valid for all blocks of all charts of the related
u chart folder.
u
u
Single charts can be unchecked for this optimization process:
__ ---------------- __
Optimize the full task,
u -'ElRuntime editor -- Proj08\A508\CPU 414-3 PN/DP\_ including all enabled
ill 0631 runtime groups
u '$
[Gydk:.,tenuptl] (2,0 s)
0832 (Cydic.,te«upt2) (l,Oo) Optimize Run Sequence

u I R320-Geo (1,0 s)
(I1CA)2S (1,0 sj'

u fi Johnsson 'flea (' A "ntime IJOUPS only


'. :Et Johnssoo'/teact ~320'f1eat\\T1CA325~bk
u ,,fi Jolmsson'fleactors
;--
fi John ss..onIReactors'll.3
2O~al\\T1CA325\OulO(S.'vice
~al\\T1CA325'fieldoevkeError Optimize only the
u i .fi Johllsson'/teactorsVt320 at\\T1CA32SlpID enabled runtime
fi JoI'msoo'fleactorsVt320\f!e \nCAT25\"!V
groups of a task
Properties - Runtime Group 13
0832 Exclude the full task
i±J-
u ...;.,
'e - including its
~Iame: runtime groups -
u Comment: from optimization
u Reduction '3tio:

u Phase offset

I Optimize flUi sequence Single charts can


AcliYe: be unchecked for
u optimization
f I OK Cancel

u
u
u

u
SIMATIC pes 7 - Connection to the process
Training Documentation, V1.00, ST-PCS7SYS 7 - 25

u
PCS 7 System Course

7.6.4 Runtime properties for experts: Activating/Deactivating runtime groups

Properties - Runtime Group i3


ht!<: OBJ2

o.
c.
o.
o.
Result in the CFC
editor: indication that
the instances .aren't
executed \J

U
l.J
U
t;J':l!} 01m [Cy<ucntefluPl2] (I,Os)
I 1-'fi f9:{2)\UR2_1
. ltJ··eJ R3Z~Gen (I,Os) R..-tl", 2/-
$ eJ lKA325 (1,0,) Runti". 3/- L1
EB-eJ Interbclfxomple (I,D s) R..-ti ... i/-
:iJ·LJStatus (1,0,)
R..-tr", 5/' l.J
ffi.-C'.:!tf9Ii.~twt (1,0$) R<rii". 6/-
e··C'.:!ffi~Gi~
\tj ..l2:!lllA224 (1,0 s)
R<rii ... 7/-
I $..12:!l UA3t4 (I,O~) R..-tj,,_ 8/·
aL
u
u
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. u
In the detail window of the runtime editor in the column "Inactive", the mode of the u
runtime group is displayed.
u
• The name corresponds with that of the runtime properties field of a block.
U
• The character "!" means that the relevant runtime group is inactive.
• The character "?" means that the "EN" of the runtime group is interconnected or U
accessed by SFC. Therefore the runtime group is not in static process mode (may be
active or inactive). U
You can select or deselect the option for the selected runtime group, without initiating U
the object properties using the shortcut menu commands: U
Switch on Runtime Group and Switch off Runtime Group

u
Process Object view u
It is also possible, to activate/ deactivate runtime groups in the PO-View in the SIMATIC u
Manager. You can do this in the Tab "General"
u
u
u
u
u
u
v
u
v
u
SIMATIC PCS 7 - Connection to the process
7 - 26 Training Documentation, V1.00, ST-PCS7SYS u
u
U PCS 7 System Course

LJ
U 7.6.5 Runtime properties for experts: Switching runtime groups on and off
U during operation
U
Insert/Mod,F,. Interconnedlon to Runtime Group - -- - EJ
u 2
08sJt.,ks:
SctuDiIn
u Sepat610i I '17/1
OB32
108321') ICyo&cinte.'VIlI2)
-In I
u I Intefcomectlon to Address ...

u Object Properties ...

u
u
u I
u ~~~~~ ~~ __~~P;S-~SM.~tme
CONEC ~ ! ~_'__
__
u R320-Gen Rtni... 2/- 1,0s
OK Canee! I Help
u DTICA325
o Interiocl<Ex.~I.
---------- I,OS

1,0 s
u StatlY.; I,Os neJlleADI)
HighLovelCtlott. 1,0 s Add04 (OB3Z)
u EJ Fistch"rt::- ~ 1,0 s
LlAZ24 ItO S 0.0
u DLlA3Z4 R.nl... 9/- 1,0 s 0.0

ClVnl 0.0
u R.....u., 10/- 1.0 s
0.0

u
u
u w See [103J PCS 7 V8.0 Engineering System - 12_2011,8.12.3.9 for mole information
how to adapt the run sequence.
u
u
u
u
u
u
u
u

u
u
u

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7 - 27

u
PCS 7 System Course

lJ
7.7 Different groups of blocks
\....)
The picture below shows the main groups of blocks that will appear in charts: U
U
ES
"---J
V
Plantbus
V
Automation system (CPU)
J

Monitoring and V
Controlling
IJ

Signal
Input drivers processing Output drivers

v
u
v
Actuator
Input module
Process
u
Sensor v

Input drivers Read values from the PI! as process feedback, and offer them to outputs u
to be read by other blocks inputs for processing.
u
Signal processing Processing values without users interference.
v
Monitoring and Controlling Monitoring and Controlling functions, including an interface to the
Operator Station. Block Icons and Faceplates in the OS offer information v
about states and modes and allow process operations.
Output drivers Write values to the PIQ as the commands to the process.

v
Process Images I..)
The Process Image Inputs (PI!) and Process Image Outputs (PIQ) form the interface
U
between the signals from the 1/0 modules and the user program in the CPU of an AS.

Update
The transfer of values between the 1/0 modules and the Process Images is controlled
u
by properties (settings) on the CPU and the 1/0 modules.
The update of the information should be in the same rate as the signal processing. v
v
U
U
V
SIMATIC PCS 7 - Connection to the process
7 - 28 Training Documenlation, V1.00, ST-PCS7SYS

u
\..
L PCS 7 System Course

LJ
U 7.8 Driver Blocks
LJ
7.8.1 General
LJ
U Drivers form the interface between the process signals and the application.

U They are a relevant part of the control loop:

LJ ES
U
Plantbus

u Chart

u
u Pcs7Diin Motl Pcs7DiOu

PV_ln PV_Out FbkRun Start


u
u

u II
u
u
u
u
..,.___--8 +----11-
u 1. The control signal from a channel of the output module is wired to the (control logic
of the) motor.
u 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
u (PH), situated on the CPU.
v 4. The input driver reads the signal from the PII, and brings it into the chart to be
u used by control blocks.

u 5. A control block reads the process value from the input drivers. Its loqic 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.
u

SIMATIC PCS 7 - Connection to the process


Training Oocumentation, V1.00, ST-PCS7SYS 7 - 29
u
PCS 7 System Course

7.8.2 Digital Input and output

Process value
to be used by
control blocks

v
Signal from PII U
(representing the input \J
from the process)
U
Ll
Control signal Signal to PIQ U
from control block (representing the
output to the process)

U
IV
7.8.3 Analog Input and Output
U

Signal from PII Process value


(representing the input to be used by u
from the process) control blocks
V
V
)

Input
driver

r u
u
l'v &:, " \)Q_, .: v
'e" S~\ ~C1v~ U
Ov.JtCl r--<1v\\co..~ V
U
U
u
U
V

SIMATIC PCS 7 - Connection to the process


7 - 30 Training Documentation, V1.00, ST-PCS7SYS
\.__

\_ PCS 7 System Course

U
U
U
7.8.4 Module drivers
lJ
Module drivers are blocks created by the driver generator. This generator is activated by
U
default at the compilation of charts:
lJ Compile program EJ
U
CPU: CPU 414·3PNlOP

U I'rog.m""",,' AS08'CPU ",.J PN!OP\'S08

.-s."p.---

r: Er-fuPfO!1"""
r. 0- es ....,.
u
I W General.elT\CldUeQiversl Block Oriv~Sdtngs ...

u "GefWOI:e SCl WJrCe

u
u
u
u The driver generator ...
• Finds an 1/0 module that belongs to the 1/0 address connected to the channel drivers
u • Creates charts "@(1) ... @(7)" with blocks (module drivers) for diagnosing
u information when errors appear in the 1/0 circuits

v • Makes connections between module drivers and channel drivers to supply the
channel drivers with information about the 1/0 modules.

u AlexI2Bit._1
HOD_Dl
Diaqllost ~~ W

512
Ell
LADDR
QRACKF -
QIIODF - .
u 1611
1 50011 TIP
·SlJIjlll ID
QPERAF -
OIlS ~ohns5011\Reactot8\R3,10\Heae\ \TIeA3lS (A, 1) \ ValvePositio
16IFf 500112 ID EXT STAT- ~S Hel.ntenance ,cace
16#3 RACK 110 OIIODI'.:00 ~OIU\S8on\Re8ctors\R310\Heae\\TICAS1S(A,I)\T~~er8ture
v 1616 SLOT 110 OHODI'.:01 ~S Maintenance :5eet.e
161203 IIODE 00 OHODE 02 Johns:5on\Reactot,\R310\Drein\\LIAS14(A,11\Ane.10(1 Input-
v 161203 1I0DE 01 L.Qlj.Q.DE ea MS l1aintenellce 5C6te

u 161203
161203
MODE 02
tlODE 03
DXCHG 00
DXCHG 01
~Ohn~$on\ReaOtOl:"\R310\DOSe\
'IS Maincenl'lllce Beau
\LIA214(A,l) \ Analog' Inp\ll:

u 1610
1610
)IODE 04
HODI') 05
DXCHG OZ
DXCHG 03
- Jo~~sson\Reactors\R310\Dose\\LIA214(A,I)\An61o~
~ode Quality and Bode
Input

16/0 Hom: 06 pOllnSSOn\Reactor5\R310\Dnnn\ \LIA314 (A,I) \AIl"loq Input


1610 HODE 07 'fode Quality and Bode
16'0 liS Polu13son\Reactors\R310\Hea,,\ \TICA31S (A,I) \Valvel'o""iLio
~

1
CPU DrAG
RAe DIAG
Ace 1I0DE
I
'lode Quali cv end Bode
Jolulsson\Reactor,,\R310\l!eat\
:Iode Oua1:Lty anci !lode
\ TrCA31S (01.,11\ T .... pe1:ature I
ohn"sotl\Re&ctot"\R310\Do,,e\\LIA214(A,l)\An~og Input.
DateXchg Data exchanllfl
John""on\Reactors\R310\Drain\\LLA314(A,1)\Analog Input
il6teXchq Data excnence
JobnssOll\Reaceor.\R310\Heet\\TleA31S(A,l)\V61VePos1tio
D6teXohg Daea e){chllnge
Jobnsson\Reacto.rs\R31O\Heat\ \ TICA315 (A,l) \ Tetape z at.ur e
DataXchq Data e.xchl'lllqe

Indicated above is one of the connections to the channel drivers.


This "line" offers diagnostic information to the channel driver, to be used in the
application.

SIMATIC PCS 7 - Connection to the process


Training Documentation, Vl.00, ST-PCS7SYS 7 - 31
u

u
PCS 7 System Course

ATTENTION!
No changes are allowed to the system charts since these involve system functions
(indicated by "@'J. 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.
lt 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).

Channel driver and Signal Status


After the generation of the module drivers, every channel driver will have connections to u
a module driver. Through the connections diagnostic information is offered to the
channel driver.
u
The main output of the input driver, PV_Out is set up as a so called "structure". It is
U
bundling the actual Process Value and the related Signal Status. I._)

The Signal Status may have different values, and may finally result in icons displayed v
on the Operator Station:
u
U

u
Select Structure f1ement V
,slluCfure: U
PI_Oul [STRUCT[ Process "abo hl ST'
t,Value I.REAL)'V4lue' V
1.- ST IBYTE)' s~ Statu~
V
V
U
Signal status icon Value Meaning
U
reseo Good
U
16#78 Uncertain. process related: U
Umltation of input parameter p"_ln is active (analog QUtpY!
channel blocks only) V
16#80 Simulation, substitute value 0( last valid value
U
16#00 Bad. device felated (value not valid) U
V
U
U
U
U
U
U
U
V
SIMATIC PCS 7 - Connection to the process
7 - 32 Training Documentation, V1.00, ST-PCS7SYS U
U
u
()

t_ PCS 7 System Course

U
lJ 7.8.5 Process Image Partitions
U
The picture below shows an example of settings concerning the Process Image
LJ Partitions.
u
U
LJ
U
U
V A04

U
------0832
II (is)
U

...... .}-t
P'P3
I I
-+'pcs7DiOI,l1 ........ [Jl=i i
u "\ "~ :

u I
..___.... - ~Z
I "\ D016
"\ DI16
u II
v ------0833 (0,55)

1. Assuming the function in the chart for a temperature control is to be processed


every 1 second. The chart is installed in the run sequence of OB32.

U 2. Assuming the function in the chart for a open/close valve control loop is to be
processed every 0,5 seconds. The chart is installed in the run sequence of 0833:
U
3. Setting has been made to the CPU, activating the PIP2 by 0832 and PIP3 by
0833.
U 4. PIP2 is set in the properties of the input and output modules, whose signals are to
be transferred to and from the process images, triggered by PIP2 (related to 0832).
U
5. PIP3 is set in the properties of the input and output modules, whose signals are to
V be transferred to and from the process images, triggered by PIP3 (related to 0833).

u
u
Oms 500ms 1000ms time 1500ms 2000m

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.

SIMATICPCS 7 - Connectionto the process


TrainingDocumentation,Vi.00, ST-PCS7SYS 7 - 33
PCS 7 System Course (_.'

Iv

Settings for CPU and I/O module U


Below the settings concerning the Process Image Partitions, to be made on the CPU U
and I/O module. U
-3 PII/IJP - (RO/53) \._.J

U
l.J
U
U
V
LI
U
v
u
v
U
G
J

U
U
\J
ATTENTION! U
Each change to the cyclic interrupt time of a CPU requires compilation of the program
V
and a download with STOP of the CPU.
V
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.9.4.8 for more details
v
V
u
v
u
V
LJ

u
v
u
v
u
u
v
v
v
SIMATIC PCS 7 - Connection to the process
u
7 - 34 Training Documentation, V1.00, ST-PCS7SYS u

u
( )

u PCS 7 System Course


v
u 7.B.6 Symbolic Addresses
U
All I/O signals will be assigned absolute addresses at the moment the modules are
LJ positioned in the station configuration of the AS (tool HW Config).
u In general Symbolic addresses (short: Symbols) will be assigned to every I/O address. It
is stored per every AS in the so called Symbol table:
LJ
• Entering via HW Config:
U
U
ii'l AS08 (configuration) -_Pl'Oj08 1. Select the I/O rack containing the module whose
symbolic addresses you want enter. The editing
table will show the modules.
u 2. In the editing table, select the module and open the
context menu.
v i:============i:_------, 3. Select Edit Symbols ...
u 4. Enter the Symbols and optionally the Comments.
r.=1-"'--===----+==::..__-+"-"~~="'1..:;=.::,--~ When ready, click OK.
I.:;-hr;;===:-:-:-b=""'~:;;;;-t,;_;.__.-f-_=...k=== 5. The symbolic names are added to the symbol table.
u
tIIf .tit Symbols - 0016xOC24V/O.5A £I
u Address , Syrrbcl Dalatype Ccnmer.t .
Q

~~~-:O.1
0.0
HI BOOl Llftl) Hl oolhe $igtw.Bo.x
Q 0_2
EHH-~23--~eO~OC~~.~~,~.~~~.~~I~X---------JI
BOOl
l H" n '" eo
laf'll) Hl on the Sj,gnll Box

u H' BOOl Laf!1) H.: on the SiOnaJBox

~ Team08 (Component VIew) -- D:\5U1ATIC\PC51\Projects


I
: siS;! h~
aflp P,~ [1[J (Q]
u Iii] ASO$
13 W CPU .'.-3P111D
$WCM
B"""
• 8@riml
u -Gil Scuce.s
HillBk>ch ~ ~
LfilJ
U 1iJ-:if. CP443-1
C""h Chai" S""bo:s

• Connection to the channel driver: It is strongly recommended _touse symbolic names


u for all I/O signal. This is the way how to connect to the channel drivers:
v 1. In this example a digital output channel driver is to be connected to an
U address. Click right on the output PV _ Ou t and select
Interconnection to Address ...
u
u
2. A table shows the existing boolean
symbols. Select the required symbol.
16

L~"'P_Hl
PC37D!Ou
CS33
Vl~lt~l 1/1
- PV In SAd - "Hi" QO.1
- SUCn PI OUt
3. The connection is displayed in CFC
- Si.:r.PV In FV cnnsr - up Hi on the Si<,lnol Box
Oo.Act - as a line to the sheet bar, with all
- St.artV.1
0 -liS Reiee llf-t-- _ information from the symbol table in
HfO - !'.s the table column.
16iO - f!ooe
16.0 - Da,taXch~

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1_00, ST-PCS7SYS 7 - 35
u
PCS 7 System Course

7.8.7 Pcs7Diin in brief


L.J
~~
!Pcs70iIn
'!>cs7DiIn
u
OB32
Digital 9/8 \_;
,
Process value (Raw value -link with Dil :pv In Bad Processvalue is not valid
Feature parameter 'FeatuJ::e pv' Out Standard value (phvsical variable)
!SimOn SimAct Simulation active
Inputs for simulation and substitute value ISimPV In ModE!:!: Module I device faulty-
u
:SubsPV I Corresoondino error number(s)
EJ::J::oJ::Num U
Maintenance release from faceplate ,MS Relea Oo:sAct Out of service is active
",automatically interconnected 'M3 LJ
to the diagnostic block 'FlutEn
MOD during "Generate
Flutter suppression
,FlutTInln
U
Module drivers" \Mode
U
'DataXchq
U

Obtaining the standard value


The digital value of the process image (partition) is sent to output parameter PV_Out
with the signal status 16#80.
J
U
Holding the last value if raw value is invalid
U
If the module is to hold the most recent valid value when the raw value is invalid, you
must activate this function on Feature bit 30 (Issuing last valid value if raw value is U
invalid).

Output substitute value if raw value is invalid


If the module is to output a substitute value SubsPV _ In when the raw value is invalid,
\.)
you must activate this function on Feature bit 29 (Issuing substitute value if raw value
is invalid). U
V
Output of invalid value if raw value is invalid \J
If the module is to output an invalid value (PV_Out = PV_In), you must activate this U
function on Feature bit 28 (Output invalid raw value). V
This function is pre-selected.

v
Signal status for PCS7 channel blocks
v
The block provides the standard function "Forming and outputting signal status for
blocks". u
v
Simulating signals
The block provides the standard function "Simulating signals".

m For more information on the signal status for PCS7 channel blocks, see
[113] PCS 7 VB.0 Advanced Process Library - 12_2011, 1.1.6.9
For more information on simulating signals, see
[113] PCS 7 VB.0 Advanced Process Library - 12_2011, 1.1.2.8

SIMA TIC PCS 7 - Connection to the process


7 - 36 Training Documentation, V1.00, ST-PCS7SYS
(_)

l_J pes 7 System Course

(--

U
7.8.8 Pes7 Anln in brief
LJ
Pcs7AnIn
U Pcs7AnIn
OB32
Analog i I~
U 9/9
Process value (Raw value -link with AI) PV In Bad Process value is not valid
C.J Scaling of the process value as structure I Scale PV Out
Standard value (physical variable)
Unit of the process value PV InUni PV OutUn
and its unit and scale
Feature parameter Featu~e ScaleOut
SimOn PV HiAct
U Limit value violation of the process value active
Inputs for si mulation and substitute value SimPV In PV LoAct
lJ SubsPV I SimAct Simulation active
Maintenance release from faceplate MZ Relea ModEn Module I device faulty-
J ... automatically interconnected MZ Eno~Ntun Correspondinq error number(s)
to the diagnostic block FlutEn OosAct Out of service is active
MOD during "Generate
module drivers"
I Flutter suppression
FlutThlIn
Mode
DataXchg
u
u
Obtaining the standard value
u
The standard value (a physical quantity) is obtained from the raw value using
u parameters Scale and Mode. Set two scale values on the structured parameter Scale.
u • High scale value (Scale. High)

• Low scale value (Scale. LOw)


,
The settings of the parameter Scale are copied to the output parameter ScaleOut.
The output parameter can be interconnected to a corresponding input parameter of a
technological block (e.g. PV_OpScale),
u
The standard value is obtained using a linear characteristic. Scale. Low is the lowest
physical value that the process variable can take and Scale. High is the highest.
u If Scale. Low = 0 and Scale. High = 100 a percentage is obtained.

Holding the last value if raw value is invalid


If the module is to hold the most recent valid value when the raw value is invalid, you
must activate this function on Feat ure bit 30 (Issuing last valid value if raw value is
u invalid).

u You can also influence this function via the input parameter DeltaVal.

• DeltaVal .,; 0: the last value is retained and is not influenced

• DeltaVal > 0: the last or the next to last value is output


If you set the parameter Delt a Val > 0, the last PV_ 01,1t (k -1) or next to last
PV_01,lt (k-2) valid output value is output (pv_01,lt (k ) is the current value, k is the
current time).
At parameter DeltaVal you can preset a permitted process value change (pv_Out)
between two calls. You have the following options:
• For invalid raw values and DeltaVal > 0:
- If I pV_Out (k-1) - pV_Qut (k-2) I > DeltaVal, then PV Out =
pV_Out (k-2) (last but one valid output value is output)
- If I pV_Out (k ) - pV_Out (k-1) I .,; DeltaVal, then pV_Out pV_Out (k -
1) (last valid output value is output)

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.00, ST-PCS7SYS 7 - 37
v
PCS 7 System Course

• For valid raw values and DeltaVal > 0:


I pv_out (k) - pV_Out (k-l) I > DeltaVal, so for one cycle pV_Out
pV_Out (k-1) is output, i.e. DeltaVal is used to limit the change made to the valid
raw value. In addition, the signal status at the output parameter PV_ Out is set to
16#60 and the output parameter is set to Bad = 0.
The value of Del taVal should be selected with due care. If the value is too low, the
quality code may flutter between16#80 and 16#60, regardless whether or not the raw
value is OK.

Output substitute value if raw value is invalid J

If the module is to output a substitute value SubsPV _In when the raw value is invalid, V
you must activate this function on Feature bit 29 (Issuing substitute value if raw value /
is invalid).

Output of invalid value if raw value is invalid


If the module is to output an invalid value (pv_Out PV_In), you must activate this
function on Feature bit 28 (Output invalid raw value).

This function is pre-selected.

Value acceptance delay


After a restart, or if the output parameter Bad changes its value from 1 to 0, the signal
status and the value of output parameter pV_Out are not updated until the number of
cycles for delayed acceptance of the value (input parameter CountLim) have elapsed.
During the value acceptance delay the signal status at the output parameters is pV_Out
= 16#00 and Bad = 1. The last value is retained during the value acceptance delay. If
v
CountLim = 0, the function is deactivated. v
V
Signal status for peS7 channel blocks v
The block provides the standard function "Forming and outputting signal status for
V
blocks".

Simulating signals v
The block provides the standard function "Simulating signals".

U
m For more information on the signal status for PCS7 channel blocks, see lJ
[113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.6.9
V
For more information on simulating signals, see
[113] PCS 7 V8.0 Advanced Process Library - 12_2011, 1.1.2.8
u

v
v
SIMATIC PCS 7 - Connection to the process
7 - 38 Training Documentation, V1.00, ST-PCS7SYS
\_) PCS 7 System Course
(~

u 7.9 Trend Display


u
The CFC editor has a build in tool for trending. It is available for short term trending
u during commissioning and trouble shooting.
U A maximum of 12 values can be recorded at one time.
J xl

U
'''''' -
ToI:alnurbefolvGbe~(10 •. 16OOOJ'
rm-I
~i
c......
v .-"""" RKOIdr7lmode ~
h@1ht:Z r. Corl;n..o..n
II
LJ re~...atl».> r C«Uu:lut wiIh d!ut C(l'dUxu I

v ."Toobor
r Oroe-ur~
_, I
I

u
.
.L

· ·
··· ····
u ·
v

u
u
u
u 1. From CFC's View menu, select Trend Display.
u 2. The Trend Display window will share the work area of CFC with the chart windows.
u Add, delete and rename a Trend Display. Make a proper arrangement of the
windows.
u 3. Choose suitable recording parameters: number of values (10 ... 16000), acquisition
cycle (1 ... 9 s, 10 ... 90 s) and Recording mode.
u 4. Use dragging to assign any input or output of a block to each of the up to 12
channels of a Trend Display. Values from several blocks and from several charts
u can be assigned.
u 5. Set the High and Low limit values to fit the vertical axis (for each channel).
When Boolean values are used, a predefined range in the vertical axis is used per
channel to display the values false and true. Determine the number of values to be
displayed in the horizontal direction.
6. The "Start" button is active only in test mode. After starting, the start button changes
into a "Hold" button and is relabeled accordingly. You can then use it to stop
recording at any time.
7. Export the stored data to a file. You should check the settings for export using the
u menu command
u Options > Customize > Export Trend Data

SIMATIC pes 7 - Connection to the process


Training Documentation, V1.00, ST -PCS7SYS 7 - 39
PCS 7 System Course

7.10 Dynamic Display


Similar to the Trend Display, the Dynamic Display can be used in CFC test mode. It
offers a table that can have values of several blocks of several charts. All values can be
watched, and values of inputs without connection can be changed.

C~~ 2I'1iOns wmo.. ~

Zoom

c,,~
TrendCi!splay v
Te~liIllOs
ChatUnputsjOOlpUts

u
v

u
v
\.._."

u
U

1. From CFC's View menu, select Dynamic Display.


2. The Dynamic Display window will share the work area of CFC with the chart
windows. Make a proper arrangement of the windows and use dragging to assign
any input or output of a block to a line of a Trend Display.
3. Add, delete and rename Dynamic Displays.
v
v
U
7.11 Task and Checkpoint
V
V
Task: Drivers for the Signal Box

u
Goal W
4 charts containing drivers for the I/O signals of the Signal Box.
V
V
Checkpoint U
Let us summarize ... U
U
• Why have the @( ..) charts
appeared in the Charts folder? U
• What is the use of it? W
V
U
SIMATIC PCS 7 - Connection to the process
7 - 40 Training Documentation, V1.00, ST-PCS7SYS

u
(
\_)

l PCS 7 System Course


o
U 7.12 Connection to the Process simulation in this training
v
U 7.12.1 Method in this training

o There are several reasons that we do not offer you a real process for practicing.
A suitable process simulation will replace it, offering you I/O to represent a process in
work.
The picture below gives you an impression of the relationship between process I/O and
the application running in the automation system, and the simulation representing the
process.

Hardware Software
I/O Modules Driver blocks
I Process
·
I-
images
I i- Control block
· I Pcs7Anin _l-
I I 1,- ~
·I
: pcs7AnOul-1-

·I Process value

·I Nar e
f-

r : Pcs7Diin 1_ Motor block

~I ·
I
: Pcs7DiOll 1"_ l-

·I Johnsson
.
·I Process
,
,
simulation
·I
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.

SIMATIC PCS 7 - Connection to the process


Training Documentation, V1.0Q, ST·PCS7SYS 7·41
PCS 7 System Course

.~J
signal address data type description
name
M336_O 1108.5 BOOl R330 Reactor Stirring motor Feedback On
u
V341_C 1109.0 BOOl R340 Reactor Inlet valve Feedback Closed
V341_O 1109.1 BOOl R340 Reactor Inlet valve Feedback Opened
P343_O 1109.2 BOOl R340 Reactor Outlet pump Feedback On
V342_C 1109.3 BOOl R340 Reactor Outlet valve Feedback Closed
V342_O 1109.4 BOOl R340 Reactor Outlet valve Feedback Opened
M346_O 1109.5 BOOl R340 Reactor Stirring motor Feedback On
V411_C 1110.0 BOOl B410 Buffer tank Inlet valve Feedback Closed u
B410 Buffer tank Inlet valve Feedback Opened
V411_O 1110.1 BOOl u
V412_O 1110.2 BOOl B410 Buffer tank Outlet valve Feedback Opened
V421_C 1110.3 BOOl B420 Buffer tank Inlet valve Feedback Closed
V421_O 1110.4 BOOl B420 Buffer tank Inlet valve Feedback Opened l)
V422_O 1110.5 BOOl B420 Buffer tank Outlet valve Feedback Opened
\..1
I...)

7.12.4 Digital Outputs U

signal name address data type description U


P113 0100.0 BOOl M 110 Material tank Outlet pump
V
V112 0100.1 BOOl M 110 Material tank Outlet valve
P123 0100.2 BOOl M120 Material tank Outlet pump U
V122 0100.3 BOOl M 120 Material tank Outlet valve
P133 0100.4 BOOl M130 Material tank Outlet pump
V132 0100.5 BOOl M 130 Material tank Outlet valve u
V211 0101.0 BOOl D210 Dose tank Inlet valve 1
u
V212 0101.1 BOOl D210 Dose tank Inlet valve 2
V213 0101.2 BOOl D210 Dose tank Inlet valve 3
V221 0101.3 BOOl D220 Dose tank Inlet valve 1
V222 0101.4 BOOl D220 Dose tank Inlet valve 2
V223 0101.5 BOOl D220 Dose tank Inlet valve 3
V231 0102.0 BOOl D230 Dose tank Inlet valve 1
V232 0102.1 BOOl D230 Dose tank Inlet valve 2
V233 0102.2 BOOl D230 Dose tank Inlet valve 3
V241 0102.3 BOOl D240 Dose tank Inlet valve 1
V242 0102.4 BOOl D240 Dose tank Inlet valve 2
V243 0102.5 BOOl D240 Dose tank Inlet valve 3
V311 0103.0 BOOl R310 Reactor Inlet valve
P313 0103.1 BOOl R310 Reactor Outlet pump
V312 0103.2 BOOl R310 Reactor Outlet valve
M316 0103.3 BOOl R310 Reactor Stirring motor
V321 0103.4 BOOl R320 Reactor Inlet valve
P323 0103.5 BOOl R320 Reactor Outlet pump
V322 0103.6 BOOl R320 Reactor Outlet valve
M326 0103.7 BOOl R320 Reactor Stirring motor
V331 0104.0 BOOl R330 Reactor Inlet valve
P333 0104.1 BOOl R330 Reactor Outlet pump
V332 0104.2 BOOl R330 Reactor Outlet valve
M336 0104.3 BOOl R330 Reactor Stirring motor
V341 0104.4 BOOl R340 Reactor Inlet valve
P343 0104.5 BOOl R340 Reactor Outlet pump
V342 0104.6 BOOl R340 Reactor Outlet valve
M346 0104.7 BOOl R340 Reactor Stirring motor
V411 0105.0 BOOl B410 Buffer tank Inlet valve
V421 0105.1 BOOl B420 Buffer tank Inlet valve

SIMATIC PCS 7 _ Connection to the process


7 - 44 Training Documentation, V1.00, ST-PCS7SYS
L PCS 7 System Course
(.J
,__j
7.12.5 Analog Inputs
I_J
,J signal name address data type description low range high range unit
LT114 IW208 WORD M110 Material tank Level 0 6000 kg
U LT124 IW210 WORD M120 Material tank Level 0 6000 kg
LT134 IW212 WORD M130 Material tank Level 0 4000 kg
J
LT214 IW216 WORD D210 Dose tank Level 0 400 kg
,_j LT224 IW218 WORD 0220 Dose tank Level 0 400 kg
LT234 IW220 WORD 0230 Dose tank Level 0 400 kg
J
LT244 IW222 WORD 0240 Dose tank Level 0 400 kg
.J LT314 IW224 WORD R310 Reactor Level 0 700 kg
TT315 IW226 WORD R310 Reactor Temperature 0 200 degr C
V
CV315_X IW228 WORD R310 Reactor Temperature control valve feedback 0 100 %
V position
LT324 IW232 WORD R320 Reactor Level 0 700 kg
U TT325 IW234 WORD R320 Reactor Temperature 0 200 degr C

._) CV325_X IW236 WORD R320 Reactor Temperature control valve feedback 0 100 %
position
LT334 IW240 WORD R330 Reactor Level 0 1100 kg
U
TT335 IW242 WORD R330 Reactor Temperature 0 200 degr C
J CV335_X IW244 WORD R330 Reactor Temperature control valve feedback 0 100 %
position
I".)
LT344 IW248 WORD R340 Reactor Level 0 1100 kg
I:_) TT345 IW250 WORD R340 Reactor Temperature 0 200 degr C
CV345_X IW252 WORD R340 Reactor Temperature control valve feedback 0 100 %
V position
I,..T414 IW256 WORD B410 Buffer tank Level 0 12000 kg
LT424 IW258 WORD B420 Buffer tank Level 0 18000 kg

U
7.12.6 Analog Outputs
I..J
signal name address data type description low range high range unit
CV315 QW208 WORD R310 Reactor temperature control valve 0 100 %
U CV325 QW210 WORD R320 Reactor temperature control valve 0 100 %
CV335 QW212 WORD R330 Reactor temperature control valve 0 100 %
U
CV345 QW214 WORD R340 Reactor temperature control valve 0 100 %
...)

v
W
U

v
u
u

SIMATIC PCS 7 _ Connection to the process


Training Documentation, V1.00, 8T -PCS7SYS 7 - 45
PCS 7 System Course

7.13 Task and Checkpoint

Task: Installing the process simulation

Goal L
A running process simulation of the Johnsson plant. \..1
After this task the functions for the plant can be configured. \.J

Checkpoint
Consider ...
• What is the use of channel driver
blocks, why not just connecting to
the 1/0 addresses?

I..j

U
_)

U
U
U
W
U
V

v
v

v
u
u
SIMATIC PCS 7 - Connection to the process
U
7 - 46 Training Documentation, V1.00, ST-PCS7SYS \....1

u
u PCS 7 System Course

LJ
U
U
U
U
U
U
U
Content 8
\.)
U 8 Basics control functions 3
U 8.1 Learning targets 3

U 8.2 Introduction to APL blocks ..4


8.2.1 Structures and Signal Status (ST) 5
U 8.2.2 Interconnecting structured and elementary parameters (REAL or BOOL) 8
U 8.2.3 Inverting interconnected structured input parameters 9
8.2.4 Feature Parameters 10
U 8.2.5 Monitoring the feedbacks 11
8.2.6 Error handling 12
U
8.2.7 Units in the APL 13
U 8.2.8 MonAnl- Monitoring of an analog process tag (Large) 14
8.2.9 MotL - Motor (Large) 15
U 8.2.10 VlvL - Valve (Large) 18
U 8.2.11 PIDConL - Continuous PID controller (Large) 20
8.2.12 Comparison of Large and Small blocks 24
U 8.2.13 Templates 24
U 8.3 Textual interconnections 26
U 8.4 Task and Checkpoint 28
V 8.5 Alarm blocks in PCS 7 29
U 8.6 Process Object View 31
8.6.1 Efficient engineering with the Process Object View 31
U
8.6.2 Configuration of the columns in the Process Object View 32
U 8.6.3 Order of the columns 33
8.6.4 Oefining your own columns 33
8.6.5 Defining the contents of the "Parameters" and "Signals" tab 34
u 8.6.6 Setting the "Parameter" or "Signal" attribute for multiple 110's 35
8.6.7 Oividing a table 35
u 8.6.8 Filtering 36
u 8.6.9 Export and import data using the Process Object View 37
8.6.10 Copy and Paste in the PO View 38
u 8.6.11 Copy and Paste to and from Microsoft Excel 38
u 8.6.12
8.6.13
Open exported Data in Microsoft Excel
Task and Checkpoint
39
39
u
u

u
u
u
u
v
u
SIMATIC PCS 7 - Basics control functions
Training Documentation, V1.00, ST·PCS7SYS 8-1

u
u
IJ

PCS 7 System Course IJ


U
IJ
IJ
IJ
U
v
LJ
lJ
\__)

V
LJ
U
U

U
U
U
U
U
U
U
U

U
U
U

U
U
U
U

u
u
v

SIMATIC PCS 7 - Basics control functions


8-2 Training Documentation, V1.00, ST-PCS7SYS
LJ
U PCS 7 System Course

G
u 8 Basics control functions
u
u 8.1 Learning targets
u
u The participant will learn about
u • The templates that are available as
u a base for setting up the basic
u automation tasks
• The manual control mode for the
u initial testing of every loop
u
u The participant will be able to
u • Configure and test basic control
u functions to devices in the plant,
u based on the templates of the
PCS 7 AP Library
u
u
U
U
U
U
U

u
u

u
u
u
u
u

u
u
v
v
u SIMA TIC PCS 7 - Basics control functions
Training Documentation, V1.00, ST-PCS7SYS 8-3

u
u
~
PCS 7 System Course (_;
U
U
8.2 Introduction to APL blocks
U
The PCS 7 Advanced Process Library (APL) is a block library for PCS 7 being \J
introduced in PCS 7 Version 7.1.
It principally contains all blocks and functions of the former pes 7 Standard Library.
It also offers additional functions in existing blocks as well as completely new blocks.
The PCS 7 Standard Library, however, is still available. It is also possible to use both
libraries at the same time (i.e. use blocks from both libraries in a CFC).

PCS 7 Basis Library vs.o J


L;

LJ
U
u
U
PCS 7 Advanced V
Process Library va.a
V
I....J
V
U
U
U

• 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 u
consists largely of driver blocks.
v
The PCS 7 Library is not available anymore as VS.Owith the release of PCS 7 VB.O.
The PCS 7 Library V7 .1.3 is also no longer installed automatically via the frame U
setup. It is provided in the directory "Additional Products" on the PCS 7 V8.0 DVD V
and can be installed manually by the user if required.
V
• Only a single interconnection for transfer of process value and signal status is still
required. U
In the PCS 7 Standard Library, the signal quality is provided as a quality code along U
with the process values. This also had to be connected to the signal. U
In the PCS 7 Advanced Process Library this philosophy was implemented U
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 U
interconnections of the process signals. Only a single interconnection is still required.
U
The operator can recognize the signal status (i.e.quality) of the signals by means of
U
the symbols in the APL block icons and APL faceplates.
V
• Configurable response using the Feature I/O
U
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 U
set. For example, application-specific startup characteristics of motors can be set.
V
Using the feature parameter, industry and customer-specific requirements can be
implemented flexibly and subsequently adjusted.
U
V
u
SIMATIC PCS 7 - Basics control functions
u
8-4 Training Documentation, V1.00, ST-PCS7SYS u
u
u
(

\.. PCS 7 System Course

LJ
U 8.2.1 Structures and Signal Status (ST)
U
A new feature of APl is the use of structures. Each process interconnectable parameter
LJ of a block is of the Structure type. This structure consists at least of 2 bytes, whereby at
least one byte determines the actual value (e.g. type BOOl) and one byte characterizes
V
the signal status (ST) of the transferred signal.
U
Analog Value [STRUCT]: Value [REAL] +1 Byte Signal Status (ST) [16# ]
U Binary Value [STRUCT]: Value [BOOl] + 1 Byte Signal Status (ST) [16# ]
U The following figure shows interconnectable parameters in the CFC and their structure.
U Inpuel UonArlaloQ
U Pcs7Anln
nB .~
MOnAnL
0532
Analoq i Analoq III I: 112
U PV In Bad MS Relea f-
100.0- Scale PV Oue
I 1.0- La<fI'ime )\ I PV Out f-
U .,!,
1001 PV InUn1 PV OutUn

U 0.0-
0- S11110n
SimPV In
scai eoue
OosAce
~ j-:' Slluelll.: Analog value
j
I
U 0.0- SubsPV I I -: ~ISTRUCT),P'O()(:S$VbIUe[AMlog.?
ns Relea ~ ;--ValueIREAL}'Vallle'
_ ~TJBYf£J' Signal Status'
U 16'0- 115
16680000203- Hade
16,0- Da~chg "-

Inpuel

u PC57DiIn
Digieal
(illffi If0nDilli
tal
t;'n\
.. -
MonDiL
0832
u PV In Bad Binary v
312
0- SimOn PV Out liS Re Lea
u 0- SimPV In OosAce
..
f"!"~""I,,t-""'T"'" U\
n"," __

0- SubaPV I !
u tiS Relea

u 16NO- tiS
, I. SI,"eILHS:
InISTRUeT) 'DlgilallnP'11vaRl.'
-....... Binary value I

161S000ffFT- Hade
1610- Data)(chll -, Volue IBOOl}' Velue'
..:.. ST IBYTE)' Signal Stetus'
_;) .
'L

The following figure compares how the Signal Status is implemented in the PCS 7
u Standard Library and the PCS 7 APL:
u
P CS 7 Standard Library I1IPIIT HEAS_MOII
eH_AI IlEAS_MOIi
OBn
u Analoq I m,n~ ~V:lue Ueas,val l2/2
IIODE QBAD CSf OM ALl!
u VALUE V U aL ALl!
VIIRAlIG£ QUALITY QC U QU 10JRR
u VLRAIIG£ UAH QL t.JJlH

u
u
SIM OU
SIH V
LAST 0)1
LAST BAD
~i ~
0
5.0
UIIH
U IlL
U AL
HYS
u
PC S 7 APl Inputl
--- Structure
MonMalol1
.- ~-.-
• Value
Pes7AnIn
.~ lI01>AnL
OB32

~-PV
Anelog i
::=:11'11 <, Status Analog ,;
112
In Bad 'V PV liS Relea
_I
u ~-
H
Scale PV Out. 1.0- LagTilDe PV Out.
- PV InUni PV QutUn PV OpSea PV Grad
u - SiROn sealeouq I PV_Unit
Si.ltPV In
OUT·
PVO~ STRUCT r~ _j
OosAeq 0.0 0.0- De!idBand
C SubsPV

_.
r PrO(e-~svalue "I. Sf OotoLi
~-ns Relea 0- Tim.face
- MS CSY
- Mode
.i: Dat.8Xehv
"_ • ..=._;c . ,__j
SIMATIC PCS 7 - Basics control functions
Training Documentation, V1.00, ST~PCS7SYS 8·5
u
\__

PCS 7 System Course '---


V
The Signal Status Concept (symbol, value status, priority ... ) fulfils the standard V
specification according to PA - Profile PROFIBUS & PROFINET international. G
The Signal Status (ST) is displayed in different locations as symbols or hexadecimal G
values:
v
Symbol Priority Hexadecimal value Value status V
G
:~ 0 16#60 Simulation
G
1 16#00 Bad, device-related V
l,/*
V
2 16#28 Bad, process-related
Iii V

:.J!a 3 16#68 Uncertain, device-related V


GZi
U
§ 4 16#78 Uncertain, process-related
IJ

5 16#A4 Maintenance request IJ


~
IJ
6 16#80 Good
lUI lJ
U
In technological blocks, a group status is formed from the input parameters (see
description of the relevant blocks) according to the priority table below. U
U
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. V
V
ATTENTION! V
If "Last valid value" or "substitute value" has been configured at the channel driver U
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 V
the PCS 7 OS. V
U
Structures and effect of the Signal Status U
If process values are connected via a channel driver (Pcs7Anln, Pcs7Diln, Pcs7DiOu, u
etc.) directly with the technological function block (e.g. Motl), the Signal Status is
displayed directly in the faceplate.
V

For other blocks such as And04 or Or04 the Signal Status is passed on to the output U
according to a logic. I...)
When the Signal Status of the outputs is formed the following is taken into U
consideration:
U
• If any input of a gate causes a signal change at the output, the worst Signal Status of
the input must be taken as every signal can influence the output. U

• If several inputs have equal priority with the effect that the output cannot change, U
these inputs will take the best Signal Status as the output is clearly defined by this U
signal.

u
v
u
SIMATIC PCS 7 - Basics control functions
u
8-6 Training Documentation, V1.00, ST-PCS7SYS u
u
u
PCS 7 System Course

u
U The result is based on the following rules:
LJ
U [worst Signal Status,
Symbol Priority
R I f
ue or
0 f
pera Ion
AND
:
but highest priority
~
U
• If the actual value of the binary output is "1", the Signal Status of the output gets r- 0
U ~
the worst Signal Status of all interconnected inputs.
U -_
U
· If the actual value of the binary output is "0", the Signal Status of the output gets
the best Signal Status of all interconnected inputs, which have a value of O.
1

:~ 2
U And04 In1 In2 In3 In4 Out
U Value 0 0 0 0 0 :},:!:1
ti, 3
ST 16#80 16#80 16#28 16#00 16#80
U
Value 1 1 1 0 0
ST 16#80 16#80 16#80 16#28 16#28 ~ 4

Value 1 1 1 1 1
ST 16#80 16#80 16#28 16#00 16#00 if 5
u
[ Best Signal Status, ~
u but lowest priority 0 6

u Worst Signal Status,


Symbol Priority
u but highest priority
Rule for Operation OR:
u ~
'" ~
u · If the actual value of the binary output is "1 ", the Signal Status of the output gets
the best Signal Status of all interconnected inputs, which have a value of 1.
0

._.
"'_
u · If the actual value of the binary output is "0", the Signal Status of the output gets
the worst Signal Status of ali interconnected inputs.
1

u :~ 2
u Or04 In1 In2 In3 In4 Out
Value 0 0 0 0 0 'J>
~)
3
ST 16#80 16#80 16#28 16#00 16#00
..
Value 0 0 0 1 1
ST 16#80 16#80 16#80 16#28 16#28 l§ 4
u Value 1 1 1 1 1
ST 16#80 16#80 16#28 16#00 16#80
u ~ 5

U [ Best Signal Status, ~


but lowest priority .r::" D 6
u
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). Ifthere is a bad
u Signal Status (16#00 or 16#28), it has the same effect like a process value = O.
U
U See [113] PCS 7 VB.OAdvanced Process Library - 12_2011, 1.1.6 for more details on
formation of the Signal Status.
U

SIMATIC pes 7 - Basics control functions


Training Documentation, V1.00, ST-PCS7SYS 8- 7
\.___

PCS 7 System Course \._j

U
\._

u
8.2.2 Interconnecting structured and elementary parameters (REAL or BOOL)
\..._;

For the interconnections between structured and elementary parameters (e.g. blocks v
from the Standard Library), so-called conversion blocks are available in the APL. This
involves blocks for converting: ~
u
StruAnln separating an analog structured StruAnOu creating an analog structured variable V
variable
LJ
StruDiln separating a digital structured StruDiOu creating a digital structured variable U
variable
V
StruScin separating a display area into two StruScOu merging two variables into a display
variables area \J
STln separating the signal status into STOu merging individual binary signals into v
individual binary displays a signal status
U
MSTln separating the maintenance status MSTOu merging individual status displays into
into individual status displays a maintenance status
V
V
V
V
u
V
U
V
V
U
v
u
U
V
u
U
I..• ..J
U
U
U
U
U
U
V
u
U
u
SIMATIC PCS 7 - Basics control functions
u
8-8 Training Documentation, V1.00, ST-PCS7SYS u
u
u
l)
l_J PCS 7 System Course

LJ
U 8.2.3 Inverting interconnected structured input parameters
U
U PCS7 V7.1 (APL V7.1 und APL V7.1 + SP1)
U Operator Input Inver s rcn OUtPUt
01'1)101 IloeOl Mol\l)iL
U Binaty v "p;:! ,.w'1: 1I_lIsee b If .~ ~ Binety v 915
0832

0- LiOp Out In II Out. In HS Rolea r-


U 0- S.tLi Oo.Act f- 0.0 Flut1'llIn Out I-
0- R."Li OnAct r- 2 Flutfact nuUct I-
U 0- Thkln ErrorNum I- 1610- Color Oos .!.et I-
1- Intloc~ 0- 0051i OnAct r-
U 0- Oo.Li 0- CSf [nor""", r-
1610- Evenr.TsI
U _,

U PCS7 VS.O I PCS7 V7.1 + SP1 (APL V7.1 + SP3)


U

u
u
v

u
u
New as of PCS7 V7.1 + SP1
u
Interconnected inputs of the data type STRUCT with the element "Value'tof the data
u type BOOl and the second element "ST" of the data type BYTE can be inverted directly
u at the connection, such as inputs with the elementary data type BOQL.

u
u
u

u
u
u

SIMATIC PCS 7 - Basics control functions


Training Documentation, V1.00, ST -PCS7SYS 8-9
u
PCS 7 System Course

8.2.4 Feature Parameters

Select Strutture [Iemellt EJ

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 u
the reserve bits: Block changes can be loaded without CPU stop. The original block w
behavior can further be used.
See [113J PCS 7 VB.O Advanced Process Library - 12_2011,
u
1.1.10 for configurable functions with the Feature 110 (Assignment of Feature-Bits). u
u
u
u
u
v
U
U
V
SIMATIC pes 7 - Basics control functions
8 - 10 Training Documentation, V1.00, ST-PCS7SYS U
U
U
( )

I)
\_J PCS 7 System Course

LJ
U
U 8.2.5 Monitoring the feedbacks
LJ
The effectiveness of control signals is not of course known to a technological block.
u Feedback input parameters allow to include the effectiveness of the control signal into
U the internal logic of a technological block:

u You can use the following monitoring functions:

u
u Monitoring the start-up and stop characteristics for motors or the runtime of valves
u Monitoring of the startup characteristics is implemented using the parameter

u MonTiDynamic.

The monitoring time specifies the period within which the feedback value, for example,
u FbkStart with motors, must be available in response to a control signal. If this is not
u 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
u state. With other blocks, this is an neutral position you have specified (SafePos
u parameter). The block signals this at the corresponding output parameter of the error

u message with 1, for example, with MonDynErr =


1 for motors.

Parameters are set in seconds.


U
u
Monitoring the operation of motors or the maintenance of the position of valves
Monitoring of the operation or the maintenance of the position of valves is implemented
u using the parameter MonTiStatic. The monitoring time specifies the period in which
u the feedback value can change its value briefly without an error message being output.
An example would be a running motor with the feedback via the input parameter
u FbkStart. This parameter should be static in accordance with the control function.
u Parameters are set in seconds.
u
u (iff" Please note that
MonTiDynamic;::: MonTiStatic and MonTiDynamic ;:::SampleTime
have to be configured. If something is set outside these limits, the block always
returns the respective limit at the input.

Disabling the monitoring


u
You can enable/disable monitoring of the feedback.
U
This monitoring function is enabled via the Monitor = 1 input.
U
Static and dynamic errors are reset by disabling the monitoring (Moni tor = 0). If you
reactivate monitoring during the plant runtime, only dynamic monitoring
(MonTiDynamic) will be performed.

Disabling feedback
u 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.
v This means, for example, that you do not have any feedbacks for the opened state of
u the valve. Monitoring is thus disabled for this feedback. The feedback at the block is
adjusted according to the control signal.

SIMATIC PCS 7 - Basics control functions


Training Documentation, V1.00, ST-PCS7SYS 8 - 11
l
\,/
PCS 7 System Course \._'
~
\___J

8.2.6 Error handling lJ


V
The channel and technologic blocks feature error handling routines. A distinction must
be made between the following areas: U

• Error numbers
V

• External process control fault (CSF)


L-

• Process-specific errors V
L;
• Invalid signal states
V
• Mode switch over error
• Errors in channel blocks
LJ
V

External process control fault (CSF)


u
U
An external process control fault always lies outside the process - it exists in the form of
device or other hardware faults. If, for example, a run-time error occurs at a valve, there I..J
is an error or fault in the pneumatic system.
U
A process control fault is output if an external fault is set at the input CSF. You can
U
enable this output function, for example, by interconnecting output Bad of the channel
block with input CSF of the technologic block. V
The error does not affect the internal logic of the technological block. Several sources U
(e.g. Bad outputs of several channel driver blocks) may be included by digital logic u
blocks (e.g. OR04).
U
LJ
Error numbers
U
Most blocks have an output parameter ErrorNum that can be used to output internal
error states of the block as error numbers. U

If the block algorithm detects inconsistencies between associated I10s, an error number U
is output that depends on the block type. The close and open commands cannot be
output simultaneously to the valve, for example.
u
u
Outputting group errors
u
The GrpErr output parameter assembles the faults of a block and makes them
available to you. A group error is compiled from the following error information: u
• Feedback errors (static or dynamic feedback monitoring) u
• External errors
u
• Motor protection (only for motors)
u
• Module errors (only for hardware controllers)
u
• 1/0 access errors (only for hardware controllers)
u
• Parameter assignment errors (only for hardware controllers)
u
How the signal is formed for the group error at the GrpErr output parameter, depends
u
on the corresponding block. u
u
(ifr The signal status of the individual signals is not taken into consideration for forming V
the group error. The outputs therefore always have the status, 16#80.
u
SIMATIC PCS 7 - Basics control functions
V
8 - 12 Training Documentation, V1.00, ST-PCS7SYS U
U
U
()
u
U PCS 7 System Course

LJ
u 8.2.7 Units in the APL
U
u See online help for a complete list of available units

u e 0 .......
Percent

U
LJ
\lnput.l
PC97AnIn
Ana10Q 1 mt ID~
~·~rSJ
L 62118
~
Hon/Ulelo'1
llonAnL
Level Un 7/2
OB'J2

'l\¥_ In Bad PV lIS Relea I---


U I
-- PV Out. 95.0 PV AH L1 PI' Out; c!--
<:1342- PV InUni ~PV Ouill 90.0 py WI L1 PV Grad i-
u

I
Seal.Out/ 85.0 py nt L1 PV GradP i-
S1"PI' In Oo.Acf 15.0 py TL L1 PI'_GradJol i-
V 0.0- Sub.Py I 10.0 PV t.lL L1 PV WI Ae I---

I
us Relea S.O PV AL L1 PV ilL Ae I---
U --- liS 1.0- LagT1a. GradHUpA I-
-- Mode ry OpSee GradHDnA I-
DateXcllq PI' Unit. GtadLAct; i-

u f
0.0 DeadBand
OO3Li
OosAct. i-
OnAce i-

u Unit output for 0 Tille-Fact.


CST
£rrot:Ul1Ii I-

interconnecting
u with other blocks
16'0- Event-Tor

<,

v The APL-specific procedure for setting the unit for analog signals shall be illustrated at
the example of both blocks "Pcs7 Anln" (channel driver) and "MonAnL" (limit value
u block).
u The unit is represented by means of an identification number at the input PV_ InUni t.
u
u
u
w Data type, possible identification
keywords "Functions of MonAnl,
numbers see Help on the "MonAn!" block under the
seiect unit".

u
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
u "PV_ TJni t" connection of the limit block the unit "%" is then displayed in the
visualization of the limit value block.
u
If pv_ Uni t input of the "MonAn!" is configured with 0, the unit can also be specified
u according to the current method (attribute "S7 _/)nit" of this connection or in the CFC
the "Unit" column of this connection in the Properties table of the "MonAn!"
connections). Not listed units can be used this way.

See [113] PCS 7 VB. 0 Advanced Process Library - 12_2011, 1.1.13.5 for more
u details.

u
u
u

SIMATIC PCS 7 - Basics control functions


Training Documentation, V1.00, Sl'-PCS7SYS 8 - 13
u
PCS 7 Sysiem Course

8.2.8 MonAnl- Monitoring of an analog process tag (Large)

./
Limitvalues-tormonitormq the process
gradient and delay time ~~~--J !;-~~~L

as display range, unit of measure and width nt"' ........


..:--~-l I!-.......~--t-~~~~~~~~~~~-----l
dead band

Delay time for incoming I outgoing Ii


violations

Enables for the limit value monitoring

Operator inputs: On lOut of service tp:.=:.:!:-----l


Outof service via interconnection b:.==:~==1

u
u
u
u
u
v
The block is used for the following fields of applications:
u
• Monitoring an analog process process value, e.g. from a channel driver block
• Monitoring of the gradient of an analog process value
u

u
How it works
u
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 u
corresponding messages if limits are violated or if a signal gradient does not meet u
requirements.
v
See [113] PCS 7 VB.0 Advanced Process Library - 12_2011, 1.1.4.1 for more v
information about Process value monitoring and 3.3.3 for more information about
Gradient monitoring
v
V

SIMATIC PCS 7 - Basics control functions


8·14 Training Documentation, V1.00, ST·PCS7SYS
_)

lJ PCS 7 System Course


l.J
LJ 8.2.9 MotL - Motor (Large)
I._)
The functionality of the motor block MotL can be compared with the motor block FB66 of
lJ the PCS7 standard library. It is used to control motors with one control signal
\..)
110eL
l{oCL
U Moeo~ -
0532
8/1
U Sta~tAut MonDynE~
Start and Stop commands in "Manual" resp. StopAut HonStaE~ Feedback error. rapid stop resp. interlock
U "Automatic" mode Sta~tMan R StpAct active
StopHan LockAce
U ~lodLiOp RdyToSta Readiness for active start or reset in "Automatic"
U AutHodOp RdyToRes mode
HanModOp Sta~t
Operating mode selection: Control of the motor and pulse signals for
AutModLi P Sea~t
"Manual", "Automatic", "Local" resp. .Out of starting and stopping the motor
Man}lodLi P Seop
service"
u LocalLi LocalAct
Via interconnection resp _operator
LoealOp AuCAet
Display of active operating mode
OosOp ~lanAct
u OosLi
Sta~eLoc
OosAct
FbkRtmOu
Start and Stop command s in "Local" mode Display of feedback for starting
StopLoea Run
and parameters for the local mode Motor is running, motor is stopped
LoealSet Stop
u FbkRun os Pe~mO
Display of the operator control permissions
Feedback signal and parameters for the Honito~ OS_Pe~mL
Feedback monitoring MonTiSta
u MonTiOyn
Pulse width of start resp. stop pulse signal and PulselJid
u Rapid stop RapidSep
RstOp
Inputs for resetting and thermal overloa d Rs t.Lf,
u T~ip
Pem.ie
u Inputs for Interlock functions Ineloek
P~otect
Sta~eFo~
F arced start and stop signals
u StopFo~c
Uaer Ana.l

u Analog auxiliary values for the faceplate and UAhmie


their unit UserAnaZ
UAZunie
Control svstem fault C5F
Jump to the faceplate of the interconnected Selfpl

u block SelfpZ
os Perm
Operator and control permissions
OpSt In
Feature
Feature parameters
FeaeureZ
Input additional analog value AV

u Manual mode/automatic mode changeover


The changeover can be carried out either by the operator on the OS or automatically via
the connection in CFC/SFC. The inputs "ModLiOp - AutModLi - and ManModLi" are
available at the MotL block for the changeover in CFC/SFC_
u The selected mode is displayed in the faceplate on the OS. The block outputs AutAct
and ManAct are available for requesting the mode in a logic CFC/SFC.

u
u
SIMATIC pes 7 - Basics control functions
Training Documentation, V1_OO,ST-PCS7SYS 8 - 15
PCS 7 System Course

ON . OFF control in the automatic mode


If the automatic mode was preselected (AutAct =1) the drive can be switched on or off
with a logic in CFC or via the SFC. The two block inputs StartAut and StopAut are
available for control. Whether either inputs are used or only the input StartAut is used
for the control is determined via the Feature Bit 4 "Switch or button mode":

• Switch mode (Feature Bit 4=1)


In the switch mode the drive is switched on and off via the input StartAut. The input
StopAut has no function in the switch mode.

• Button mode (Feature Bit 4 0) =


In the button mode the motor is switched on via the input StartAut = 1. The motor
is switched off via the input StopAut =
1. Both inputs must not have the actual value
"1" at the same time. A 1 at both inputs will be displayed on the OS and indicated at
the Motl block at the output ErrorNum with "51".
Switching the drive on and off can only be carried out though if the respective enables u
exist and/or no interlocks are active (Permit, Interlock, Protect).
v
u
Warning times
V
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 U
about the imminent start of the respective drive with these warning signals. l.J
Warning times can be configured separately for the hand mode and the automatic U
mode:
U
• Hand mode Input parameter WarnTiMan (unit is second)
U
• Automatic mode Input parameter WarnTiAut (unit is second)
U
If WarnTiMan or WarnTiAut have been configured with 0, the output WarnAct will not
U
be activated in the respective mode and therefore no warning will be given then.
V
The configuration of warning times causes a time delay of the actual start command by
the parameterized warning time. V
V
Idle Time V
The input parameter IdleTime is used as waiting time (in seconds) for a restart of the U
motor block. If a running motor is switched off, it will only be possible to restart it after
V
this time has elapsed. This switch-on interlock is active in the hand mode and automatic
mode and with Start Force. W
If in the local mode the drive is controlled via the block and not directly via the switching U
station, the switch-on interlock is active here as well.
U
U
(jj= If the value "0" has been parameterized for the IdleTime, the respective functions
are deactivated. U
U
U
V
V

u
SIMATIC PCS 7 - Basics control functions
8 -16 Training Documentation, V1.00, ST-PCS7SYS
(_)
'_I
U PCS 7 System Course

L
LJ
I_)
Monitoring times
U
For the blocks of the Drives family of blocks there are two independent monitoring times
\...J available for the feedbacks:
\..) • MonTiDynamic
If a command for motor control is given and there is no feedback within the
U parameterized time, an error message will be qenerated, The block output
LJ MonDynErr will assume the actual value "1".

U • MonTiStatic
If the feedback FbkRun of the motor changes during runtime, e.g. through vibrations
V
of the limit switch and if this interruption exceeds the set time, an error message will
u be generated. The output parameter MonStaErr will assume the actual value "1 ''.
LJ
V Block outputs for drive control
LJ There are 4 outputs available at the MotL block for motor control and warning device
control. The signal curves of the block outputs are shown in the following diagram as an
u example.
u The following time values have been parameterized at the MotL block:
v WarnTiMa = 3s, WaJ:;'nTiAu=3s and IdleTime = 20s
u
u A I,J tAct
U
U
StartAut __j 11--_......1
U
WarnAct ____fIL...-_----------_-__.n ....
---
U
Start
U
U P_Start ___ ......Ir-l~ ~ r-1__
U
U P_Stop

U
IdleTime
U
U
U Forcing of the ON or OFF state
U
Adverse process states (e.g. overpressure) can require that drives are switched on or
U off even if there are no enables or against the interlocks. There are two Force inputs
available for this.
U
U
• Forcing motor ON StartForce =1
• Forcing motor OFF StopForce = 1
U
U
(jj= With the PCS 7 it is not intended that other blocks will be inserted between the plant
U block and the output driver.
U 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
U output signal are installed in the same 08s.
U
SIMATIC PCS 7 - Basics control functions
U Training Documentation, V1.00, ST -PCS7SYS 8 - 17
U

u
PCS 7 System Course

8.2.10 VlvL - Valve (Large)

VlvL
1I1vL 0832
Valve - 8/2
OpenAut MonDynE~
Open and close commands in .Manual" resp. ;CloseAut MonStaE~ Feedback error, interlock active
.Autornatic" mode -OpenHan LockAct
CloseMan RdyToSta Readiness for active start or reset in
~
,ModLiOp RdyToRes "Automatic" mode
!AutModOp. 1Ja~nAct Prewarnino for valve movement active

"
o . d I . ,ManHOdOP
pe~~~lng mo" e se ectton; iAutModLi
Ct~l
Control of the valve and pulse signals or
v
P Open
"Manual, "Automatic, "Local resp. "Out o_f 'H8nHociL1
service' .
P Close
opening and closing the valve
v
LocalAct
Via interconnection resp. operator~
AutAct
_.
Display of the active operating mode.
ManAct
IlOosti OosAct

O •• n and 010.. cernrn an d In .Local" mOd~


FbkOpenO
Display of feedback for open resp. closed
u
FbkClose
and parameters for the local-mode' "
Opened
Closed
Valve is opened/ closed / openlng:/ closing
Opening-
Feedback signals and parameters for the" ""
F db k .. 'Moni to I: Closing- .........
ee ac mOnitoring ;HonT1Stti .
os Pe~mO
Display of the operator control permissions
lMonTiDyn' OS..'Pe~mL
!MonSafeP
Safe state parameters;
iSafePos
"
iRstop _)
Inputs for resetting
°RstLi
lPe~mit U
Inputs for the Interlock functions !Intlock
iP~otect
V
OpenFoJ:c
Forced opening and closing of the va Ive U
'eloseFo~
" UseJ:Anal' V
A"io<L,,,,dlt,,, va lues tor the faceplate an~
their unit U
" >;
v
Activation/deactivation of the simulation . Op
Via interconnection resp. operator SimOn Li V
Control system fault· 'esF .
Jump to the faceplate of the interconnected SelFpl
blocks :SelFp2
105 Pe~m
Operator control permissions-
!OpSt In
Jump to the faceplate of the interconnected Fe atuJ:e
blocks Featu~e2
u
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
v
position signals OPEN/CLOSED (feedbacks). Non-existing feedbacks can be derived
from the control in the block.
Some block II0s of the valve block are described in the following.
u
u
Manual mode/automatic mode
u
The changeover of the operating mode is equivalent to the motor block. The inputs
"ModLiOp - AutModLi - and ManModLi" are available in CFC/SFC.
v

SIMATIC PCS 7 - Basics control functions


8 - 18 Training Documentation, V1.00, ST-PCS7SYS

u
)

'-
PCS 7 System Course

Open - Close control


The two block inputs OpenAut and closeAut are available for control in the automatic
mode. Whether both inputs are used or only the input OpenAut is used for the control is
determined via the Feature Bit 4 (button mode or switch mode) like with the motor
block.
Opening or closing the valve can only be carried out though if the respective enables
exist and/or no interlocks are active (Permit, Interlock, Protect).

Warning times and monitoring times


Warning times can be configured for the valve block like for the drive blocks separately
for the hand mode and automatic mode:

• Hand mode: Input parameter WarnTiMan (unit is second)

• Automatic mode: Input parameter WarnTiAut (unit is second)


If WarnTiMan or WarnTiAut has been configured with 0, the output WarnAct will not
u 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 command by the
..) parameterized warning time .

u The monitoring times which are already known from the motor block are also available
for the valve.
U
u
~.9/of~erating states
u Like with motors it may become necessary with valves to open or close them against
l.; enables or interlocks. There are two Force inputs available for this:

• Forcing valve OPEN OpenForce = 1


v • Forcing valve CLOSE Close Force =1
u
u Safety position
u The safety position (open or closed) can be parameterized through the parameter
SafePos:

u • SafePos = 0: With ctrl = 0 the valve drive closes and with Ct.r I = 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").

u r:Jr With the PCS 7 it is not intended that other blocks will be inserted between the plant
block and the output driver.
u
If you deviate from this principle, ensure that when interconnecting the block, that
v from the outputs of the plant block until the output driver, that all blocks that form the
output signal are installed in the same 08s.

u
v
SIMATIC pes 7 - Basics control functions
Training Documentation, V1.00, ST-PCS7SYS 8·19

u
I..

PCS 7 System Course

8.2.11 PIDConL - Continuous PID controller. (Large)

The block is a PID controller with continuous output signal (manipulated variable). It is
used to activate a final controlling element with continuous action input.
The block functions following the PID algorithm with a delayed D action and an
integrator with double precision.

..I
"Main circuit"

PIDConL

Logic for LI
Internal! External
setpoint mode V
~
I Deadband
I
I Gain
J
- SP_Ext
I

TI
Externa0--- U
SP_Int TD
Internal
.......

I
+
I
u
- PV PID
_
I Auto
I
I MV - u
I
I
Manual
I U
I
Man I
I
I
\....J
Logic for
Manual! Auto
k2J V

mode V
v
V
V
I Logic for Manual! Auto mode
v

U
U
U
U
U
U
[ZJ [ZJ
Feature.Bit4: Feature.Bit4: U
o = Button mode 0= Button mode U
, 1_=:. .?~i!~~!l:!Qg~ _ , 1_=:. .?~i!~~!l:!Qg~ _
V
U
SIMATIC PCS 7 - Basics control functions
8 - 20 Training Documentation, V1.00, ST-PCS7SYS

u
v
(

L PCS 7 System Course

L.
LJ "Manual" and "Automatic" modes for control blocks
I~) In "manual mode", the control settings for the device are made manually by the
operator. The operator decides how to change the block's manipulated variable (output
U signal). The manipulated variable can be analog or binary.
U In "automatic mode", the control settings for the controller are made automatically as
U calculated by the control algorithm.

LJ
\J Changing between operating modes
) The switchover between manual and automatic modes takes place as shown in the
following schematic:
V
• Switch over initiated in the faceplate (ModLiOp = 0): The changeover between
U operating modes is carried out in the standard view of the faceplate. In the function
block, the parameters ManModOp for "manual mode" and A1,ltModOp for "automatic
mode" are used.
v If both signals (ManModQp =1, Aut.Modop = 1 ) are set, ManModOp = 1 has priority.
U • Switch over per interconnection (CFC or sFC instance) (ModLiOp 1): The =
v switchover between the operating modes is carried out with an interconnection on the
function block. The parameters ManModLi for "manual mode" and AutModLi for
._.J
"automatic mode" are used in pushbutton operation. In switch mode (requirement:
U Feature Sit 4 = 1) connection ManModLi is used exclusively.
If both signals (ManModLi =1, AutModLi = 1 ) are set, ManModLi = 1 has priority.
V
U
U Setpoint specification internal & external
First you define whether the setpoint specification is to be carried out by means of a
U
CFC/SFC program or by means of the faceplate. In the next step you specify whether
LJ the internal or the external setpoint is to be used.
• Setpoint specification by means of faceplate or interconnection:
With the SP _ LiOp parameter, you define whether the setpoint will be set by a
u CFC/SFC program or using the faceplate.
u - Parameterize Sp_LiOp with 0 so that the setpoint specification is carried out by
U means of the faceplate.

U - Parameterize SP _ LiOp with 1 so that the setpoint specification is carried out by


means of a CFC I SFC program.
U
• Setpoint specification internal & external:
You have to set the corresponding parameters depending on how the setpoint
specification is to be carried out.
If the setpoint is set in the faceplate (SP_LiOp = Q), you have to set the parameter:
u
- SP _IntOp = 1 in order to achieve an internal setpoint specification by means of
the faceplate.
u - SP ExtOp = 1 to have an external setpoint set in the faceplate.
u If both signals are set, SP_lntOp = 1 has priority. If the setpoint is set by a CFC I
u SFC program (SP_LiOp =1), you have to set the parameter:

u - SP_IntLi = 1 to have an internal setpoint set by a CFC I SFC program.

u - SP _ ExtLi = 1 in order to achieve an external setpoint specification by means


of a CFC I SFC program.
u If both signals are set, SP_IntLi = 1 has priority.
u

u
SIMATIC PCS 7 - Basics control functions
Training Documentation, V1.DD, ST -PCS7SYS 8 - 21

u
I ,

PCS 7 System Course

Program mode for closed-loop controllers - interlace 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 s