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
~e!
.~
Coletor Cinza:
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:
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
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
Commissioning
.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
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.7 Checkpoint 23
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
L
l_)
2 pes 7 Documentation and Online Support
l,_)
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
oJ
U SIMATIC PCS 7 - Documentation and Online Support
Training Documentation, V1.00, ST-PCS7SYS 2-3
\...)
U
PCS 7 System Course
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'
~~ 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
.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.
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
J
J
\...)
\.._.-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
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
\.)
U
Links to the Compendium
v The compendium is divided into several parts:
J
J
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
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 Precess ConlrolSy.tem
1212011, german for VS.O
u 1212011, english forV!!.O
0612011, fr!nth lorV7.1
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.
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 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
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
V http://support.automation.siemens.com/WW/view/en/20806759/136000
Industry Online support Applicallons & Tool ..
.-. ;
8 _] Applicatio·mt .. Tooli
u
SIMATIC PCS 7 - Documentation and Online Support
Training Documentation, V1.00. ST -PCS7SYS 2 - 13
U
J
PCS 7 System Course
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"..,..
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
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
You have selected .sonware: PCS 7. Fo-rthe following versions compatibll.ty statement are availa,ble:
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
U uearee
V6.S
VruSSClLfI Enterprtse
u >
>
McAfee
S)'fl'Ufllec
ueatee
VB,S.01
ViNsSun En!!rpnse
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
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
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
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
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
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.
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
u [±] myTree
Compile Your Individual Documentation
ttl Fceum
_] My Dccumentaticn Mansg-:r
...::J CAx
u
v
I_)
\_,
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
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.
,by: ch:Cl:en
l~adil\U nowmeter pulae
by.Oreca43
2126J2012.1:14PM!
27 ~(O)!
!
.., deliatoXl002 •
,:~\ -:-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.
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
oJ ~,.
V
V
V
V
v
v
v
u
\,..)
~_)
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
u
u
v
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.
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
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
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.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
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
\_
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
J
l_)
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.
u • PCS 7 pre-installed
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):
l.J
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
J1
protection, and can be configured with up to 32 electronics
modules (2/4/8-channel)
~========~==~~~~====o=pe=r=a=tio=n=w=i=th=m==ot=o=r=st=a=rt=er=s=).======================~~
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
U
I....)
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..
Profinet
Engineering Statioo I Op&r8tor Station
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
• 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
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
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
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
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
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
..)
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
u
U
U
U
v
u
U
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 The procedure is in principle similar to the start of the first 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
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
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
u
5.2 Overview about configuration steps for AS and OS
U
Configuration steRs OS
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)
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
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
u
OS Operator System ( os )
(PC with WinCC)
u Industrial Ethernet
System (Plant) Bus
Controller ( AS )
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
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)
oJ
PCS 7 System Course
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
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
.)
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
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
.._)
"New Project" Dialog
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
.)
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
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.,"
SIMATIC BATCH
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
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 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:
u )
(os objects:
rv
r
PCS70S I
I
r. SIngle statiOn system
r IJpefiPCS 7
Preview,,»
u
U Back
II ~ I Fin ,I->
U
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
U
2. Addition of an OS (single station, multiple station, redundant OS stations).
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
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 rDefd La_09.
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
OPe
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
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 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.
L
6.1.2 The pes 7 "fashioned" way
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
"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_
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
a..__1
Download to ES
U
U
u
u
v
u
u
It
i r~- ._"[.._"~!
m l:~·~, I
t u..."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
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 .
u
AS in HW-Config V
•••••.•••• II •••••• II ••••• II .. II II .,
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
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
W See [103} PCS 7 VB.OEngineering System - 12_2011, 8.10 for more details
Select the PCinternal interface in your ES via the Dialog "Set PG/PC Interface" in
SIMATIC Manager:
Options -> Set PG/PC Interface
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:
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
u
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
SIMATICBATOI
neoene F2
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
Goal
A configured SIMATIC PC Station, both in the project and the Station Configurator.
Checkpoint
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
:~ ~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 , !
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.
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
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.
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
\......
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.
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.
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
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. -:
(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
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
~ d\V-~W'\tch '"
u ~ 0 \-,aq/ 6w",-Y Q.
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.
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
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 .
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)
I
Shoct~""': CP 443-5 Ed
u
flame: I~ ...----
~Hgoe~add<"':l26
_s:
. GenmI I
POlOl!lel ....
l~ il
~.
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
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).
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
u Subn,.,
u x
I r...-.-Rae.
I
u Protie:
u Bu, Parameters... I
v OK
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
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
\__
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
u
u
OK Cancel
u DI16dlC24V.H_
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 .;
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
u
v
u
u
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
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
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
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~ ~
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
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)
.......
r Show orijI devicet 01 the tome tJ'P" r Di,pI<» orijI oevces without n,me: ,
····~~;:···i····~~l~···i················
He\)
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.
'J
PCS 7 System Course
u
v
V
I,J
v
v
V
v
v
v
v
u
u
After opening and creating a project, its Component View will be displayed. All data will
be assigned to physical stations and components.
r
I·
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$~
i·
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
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).
v
PCS 7 System Course
.'
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
v
PCS 7 System Course
l
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 ...
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.
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~
• 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.
v
U
V
\.J
l._)
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
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
• 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.
u
L
\_
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
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.
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
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
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
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.
u
PCS 7 System Course
"-.;
\_;
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
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 ...
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
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).
~- -.-
.. .. --...----- ...-.-- ..-----.-.
.... --.. --_ ..__ .. _ __
.. .__ .__ ... _ .... _.__ ._. _._-_ .....
~ , x
P a.-.<eono<l<Jo_
C a.-.<e so,_
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
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
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
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.
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).
) 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 Oose He!p
U
U
U
~ 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
U
tnser t Runrrne Group, ..
U p.,.If~e
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
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
",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 Phase offset
u
u
u
u
SIMATIC pes 7 - Connection to the process
Training Documentation, V1.00, ST-PCS7SYS 7 - 25
u
PCS 7 System Course
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
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
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.
LJ ES
U
Plantbus
u Chart
u
u Pcs7Diin Motl Pcs7DiOu
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
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
Input
driver
r u
u
l'v &:, " \)Q_, .: v
'e" S~\ ~C1v~ U
Ov.JtCl r--<1v\\co..~ V
U
U
u
U
V
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
.-s."p.---
r: Er-fuPfO!1"""
r. 0- es ....,.
u
I W General.elT\CldUeQiversl Block Oriv~Sdtngs ...
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
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
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).
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
()
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)
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.
Iv
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
( )
~~~-: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
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~
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
(--
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)
u You can also influence this function via the input parameter DeltaVal.
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).
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
'''''' -
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
Zoom
c,,~
TrendCi!splay v
Te~liIllOs
ChatUnputsjOOlpUts
u
v
u
v
\.._."
u
U
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
(
\_)
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-
~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.
.~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...)
._) 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
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
u
u
u
v
u
SIMATIC PCS 7 - Basics control functions
Training Documentation, V1.00, ST·PCS7SYS 8-1
u
u
IJ
V
LJ
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
u
u
v
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).
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
(
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
\__
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 · 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
\._
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
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
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
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
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.
• Error numbers
V
• Process-specific errors V
L;
• Invalid signal states
V
• Mode switch over error
• Errors in channel blocks
LJ
V
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
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-
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
./
Limitvalues-tormonitormq the process
gradient and delay time ~~~--J !;-~~~L
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
u block SelfpZ
os Perm
Operator and control permissions
OpSt In
Feature
Feature parameters
FeaeureZ
Input additional analog value AV
u
u
SIMATIC pes 7 - Basics control functions
Training Documentation, V1_OO,ST-PCS7SYS 8 - 15
PCS 7 System Course
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
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
u
)
'-
PCS 7 System Course
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:
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..
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.
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
SIMATIC PCS 7 - Basics control functions
Training Documentation, V1.DD, ST -PCS7SYS 8 - 21
u
I ,
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