0% found this document useful (0 votes)
238 views

03 PCS7 Project 009

This document provides instructions for installing and configuring a PCS 7 project for use with CEMAT software. The steps include: 1. Installing PCS 7 and CEMAT software. 2. Creating a new PCS 7 project and configuring hardware, network connections, and general project settings. 3. Configuring the automation system, including preparing for programming, importing standard symbols and blocks, and compiling and downloading the CFC. The document then details configuring the operating system for single-user systems, server systems, standby servers, and client systems. Steps include configuring project properties, tags, alarms, authorization levels, and more. Configuration of button sets and time

Uploaded by

nanivenkat459
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
238 views

03 PCS7 Project 009

This document provides instructions for installing and configuring a PCS 7 project for use with CEMAT software. The steps include: 1. Installing PCS 7 and CEMAT software. 2. Creating a new PCS 7 project and configuring hardware, network connections, and general project settings. 3. Configuring the automation system, including preparing for programming, importing standard symbols and blocks, and compiling and downloading the CFC. The document then details configuring the operating system for single-user systems, server systems, standby servers, and client systems. Steps include configuring project properties, tags, alarms, authorization levels, and more. Configuration of button sets and time

Uploaded by

nanivenkat459
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 113

Engineering Manual CEMAT V9.

0 SP2 Installation of a PCS7 Project

Installation of a PCS 7 Project

Content
Installation of a PCS 7 Project 1
General .................................................................................................................... 3
General engineering rules ........................................................................... 6
Installation of PCS 7 ................................................................................................ 8
Installation of the CEMAT Software ....................................................................... 10
File Structure .......................................................................................................... 11
Adaptation in PCS 7 for CEMAT ............................................................................ 12
Create a new PCS 7 Project .................................................................................. 14
Hardware Configuration for a CEMAT AS ................................................ 19
Configuration of a SIMATIC PC Station .................................................... 28
Configuration of the Network Connections ............................................... 32
Download for HW Configuration and Network Connections ..................... 37
General Settings in the Multiproject ....................................................................... 39
Plant Structure definition ........................................................................... 39
Global Message configuration .................................................................. 43
Configuration of Button sets...................................................................... 45
Create a Project library .......................................................................................... 46
AS Configuration .................................................................................................... 47
Preparations for programming with the CFC ............................................ 47
Copy Standard Symbols and blocks into the PCS 7 Project .................... 48
Compile and Download CFC .................................................................... 51
OS Compile ............................................................................................... 51
OS Configuration (Single-User System) ................................................................ 52
Project Properties ..................................................................................... 52
OS Project Editor ...................................................................................... 53
Computer properties ................................................................................. 56
Tag Management ...................................................................................... 58
Alarm logging ............................................................................................ 59
Tag logging ............................................................................................... 61
User Archives ............................................................................................ 62
Add Authorization levels ........................................................................... 64
Operations and Authorization levels ......................................................... 65
Selection of area specific Authorization levels .......................................... 68
Horn configuration ..................................................................................... 69
Update the WinCC Project with Cemat Functions .................................... 71
Generation of the Template Pictures ........................................................ 74
Configuration of Button sets...................................................................... 74
OS Configuration (Server) ..................................................................................... 75
Project Properties ..................................................................................... 75
OS Project Editor ...................................................................................... 76
Computer properties ................................................................................. 78
Tag Management ...................................................................................... 80
Alarm logging ............................................................................................ 82

Copyright  Siemens AG. Alle Rechte vorbehalten. 3 -1


Edition: 03/19
N:\00_Cemat_Entwicklung\V9\V9020\30_Doku\Doku_Englisch\Engineering\000_Normal\03_PCS7_Project_009.docx
Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Tag logging ............................................................................................... 84


User Archives............................................................................................ 85
Add Authorization levels ........................................................................... 87
Update the WinCC Project with Cemat Functions .................................... 88
Generation of the Template Pictures ........................................................ 90
Configuration of Button sets ..................................................................... 90
Redundancy Settings in the Server-Project .............................................. 91
OS Configuration (Standby-Server) ....................................................................... 93
Standby-Server-Project ............................................................................ 93
OS Configuration (Client) ....................................................................................... 94
Project Properties ..................................................................................... 94
OS Project Editor ...................................................................................... 95
Computer properties ................................................................................. 98
Tag Management ...................................................................................... 99
Add User Authorization levels................................................................. 100
Update the WinCC Project with Cemat Functions .................................. 101
Configuration of Button sets ................................................................... 103
Generating and loading of the Server Data ............................................ 104
Loading of the Server Data in a Client Project ....................................... 104
Selection of a Preferred Server .............................................................. 105
Selection of area specific Authorization levels ....................................... 106
Horn configuration .................................................................................. 107
Configuration of button sets ................................................................................. 110
Time Synchronization .......................................................................................... 111
How to create a PDL Cache ................................................................................ 112

3 -2 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

General
This chapter describes the installation of a PCS 7 project on the Engineering Station (ES) and
covers all the required settings for CEMAT based on PCS 7 V9.0 SP2.
For general questions regarding PCS 7 Engineering we refer to the Engineering Manual for
PCS 7 V9.0 SP2. These items are not included in the Engineering Manual for CEMAT.
As the project structure will be different from Project to Project (depending on project size,
number of objects, number of AS, Servers, OS Clients etc) this description can only be an
example for one of many possible solutions.
The description was made based on an Example-Project with the following configuration:
3 AS
1 Engineering Station
1 redundant Server-Pair
2 OS Clients.

Copyright  Siemens AG. All Rights Reserved. 3 -3


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

The following example describes the engineering of a Multiproject CEM_MP with 6 Projects
and a Library:
To enable independent Engineering for the different AS, individual PCS 7 -Projects have been
created for each AS.
AS1 for first AS
AS2 for second AS
AS3 for third AS
ES for the Engineering Station
OS for the OS Servers and OS Clients
PRO_LIB for the Project Library

Caution: Avoid Underscore in the in the Name of the partial project for OS Server and
! Clients and also not in the name of the OS-Project for the Server because the package name
is built of those two parts and the underscore is used as a separator in the package name, e.
g. OS_OSSRV.
If you want to use the Cemat V6.0 Message Selection Function in the Alarm line, the
underscore is absolutely forbidden.

3 -4 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

The following screen shots show the Network Configuration of the Example Project.

Caution: The Terminal bus and the corresponding CPs cannot be displayed in the Network
! Configuration. Otherwise there will be errors during download to the Configuration Editor.

Network Configuration for the complete Multiproject (Cross-Project Network View)

Note: In our Example the Engineering Station has two Network Cards (1 internal CP and one
! 3COM) but no Industrial CP (CP1613, CP1623 or CP1628). In the Hardware Configuration of
the PC only one Network Card for the connection to the Plant Bus can be configured!

Copyright  Siemens AG. All Rights Reserved. 3 -5


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

General engineering rules


Before you start creating your own PCS 7 Project please get familiar with the most important
engineering rules in order to avoid double work:
- The PC Names, OS Project Names and the Addresses (MAC Addresses, TCP/IP
Addresses, PROFIBUS Addresses) used in the description have to be replaced by your
PC Names etc.
- All variable names and function name must be used exactly as it is mentioned in the
description (including Capital/small letters).
- In PCS 7 V9.0 SP2 the complete Engineering has to be done on the Engineering Station
before the OS-Project is downloaded to the PCs. Don’t carry out any engineering step on
the Server or OS Client itself.
- Never activate the OS-Project for Server on the Engineering Station if the Redundancy is
already activated. On the Engineering Station the OS-Project can be activated in
Simulation Mode with “Start OS Simulation”. In this case the OS-Project is duplicated and
the Copy is activated.
- Don’t forget to take a backup of the complete Project (or MultiProject) once in a while,
especially before you carry out extensive “Cut” and “Paste” functions and also if more
than one person is working on the project.
- Don’t forget to save the modifications you made in the CEMAT Standard part. (Function
blocks, Config Files, Standard Pictures). In case of a CEMAT Update these data will be
overwritten.
- Create a common Library for the project (based on the CEMAT Library) and make sure
that everybody working for this project is using the same blocks.
- The time synchronization is essential for the Alarm logging and Tag logging system. Make
sure that there is only one (redundant) time Server in the system and that all the Stations
(OS and AS) get the correct time. In PCS 7 V9.0 SP2 the AS has always GMT!!

3 -6 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

The following engineering manual explains all steps for the installation and configuration of
the PCS 7 Project, including AS, Engineering Station, Single Station, OS Server and OS
Client:
For the Installation of PCS 7 V9.0 SP2
→ see “Installation of PCS 7” and the Engineering Manual of PCS 7 V9.0 SP2
For the Installation of CEMAT
→ see “Installation of the CEMAT Software”
For the location of the CEMAT Software on your PC
→ see “File Structure”
For the additional settings on your PC which are required after the Installation of CEMAT
→ see “Adaptations in PCS 7 for CEMAT”
For the creation of a PCS 7 Project with AS and OS Stations (including Hardware
Configuration and Network Configuration)
→ see “Create a new PCS 7 Project”
For the definition of the plant structure
→ see” Plant structure definition (Plant view and Process Object view)”
For all the required settings in a CEMAT AS
→ see” AS Configuration”
For the Configuration of a Single Station
→ see “OS Configuration (Single Station)”
For the Configuration of an OS Server
→ see “OS Configuration (Server)”
For the Configuration of a Standby-Server
→ see “OS Configuration (Standby-Server)”
For the Configuration of an OS Client
→ see “OS Configuration (OS Client)”
For the creation of the Server Data
→ see “Generating and loading of the Server Data”
For the Project Download to the OS Stations
→ see “Project Download”

Copyright  Siemens AG. All Rights Reserved. 3 -7


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Installation of PCS 7
For each PC Station (ES, Server, Standby-Server and OS Client) the appropriate startup
procedure must be carried out. Please follow the instructions in the PCS 7 description and the
readme file which is delivered with the PCS 7 CDs.

Only a few additional remarks for the installation:

Language of the Operation System


Make sure that all PC Stations are installed with the same operation system language
(normally English or German).

Regional Settings
Make sure that the regional settings of your PC are correct for the language you want to work
with.

Computer Name
For the computer name follow the restrictions of PCS 7.
In the PCS 7 Manual "PCS 7 PC – Configuration and Authorization you find the following
note: Use only letters and numbers for the computer names.
Additional notes you find in the Online help of WinCC. Special characters are not allowed in
the PC Name.

The following characters are not allowed in PCS 7 and Cemat:


.,;:!?"'^´`~-+=/\¦@*#$%&§°()[]{}<>_
blanks
only uppercase relevant
The first character must be a letter!

Screen Resolution
The recommended screen resolution for the CEMAT Faceplates and Pictures is 1920x1080.
Four more screen resolutions are possible: 1280x1024, 1600x1200, 1680x1050 and
1920x1200. In this case a few standard pictures have to be exchanged.
For Holcim Standard (004) and Lafarge Standard (027) the screen resolution 1600x1200 is
not released.
Less than 1280x1024 is not possible; otherwise the Cemat Faceplate cannot be displayed.

Power Options
Switch off the Power saving system (for all Devices like Hard Disk, Monitor etc.) in BIOS and
in the Control Panel

Domain controller
CEMAT is not tested for the use within a domain and this configuration will not be supported
in case of problems!

3 -8 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Installation of the software for PCS 7


Please, always use the actual installation instructions, which are delivered with the PCS 7
installation CD. As installation language please select the language in which the system is
finally delivered. (Some system messages are only displayed in the installation language!)
The installation is described in the document „PCS 7 PC Configuration and Authorization“.

Hardware definition with Commissioning Wizard


When you start your PC the first time after installation of PCS 7 the Commissioning Wizard
will be started automatically in order to ask you for the Settings of the PC Station. Enter these
settings according to the Hardware of your PC.
The configuration can be checked under:
Start → Simatic → SIMAITC NET → Settings → Configuration Console.
For detail information refer to the PCS 7 Manual “PC Configuration and Authorization”

Configuration Editor
In the Configuration Editor add the WinCC Application according to the Station Type and give
the correct Station Name.

User rights for Cemat


The installation of Cemat requires Administrator rights.
During the runtime Cemat requires the rights for 'Siemens TIA Engineer', 'SIMATIC HMI' and
'SIMATIC NET'. The user must have write permissions for folder CEMAT_CS and all
subfolders.

Copyright  Siemens AG. All Rights Reserved. 3 -9


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Installation of the CEMAT Software


Caution: CEMAT V9.0 SP2 can only be installed as an update installation for a previously
! installed CEMAT V9.0 or CEMAT V9.0 SP1.

The following procedure has to be carried out on all PC Stations (ES, Single Stations, Server
and OS Client):
Start the delivered Setup Programs from the CD and follow the instructions on the screen.
- Select the installation language (English and German is possible).
- Accept the license agreement
- Select the installation package (either for an Engineering Station of for a Server/Client)

- Continue and proceed until the installation is completed.

After the successful installation of CEMAT V9.0 or V9.0 SP1 you can run the SIMATIC PCS 7
CEMAT.exe. No further selection is required, the setup will automatically update the
previously installed project standard.

3 -10 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

File Structure
After running the Setup the CEMAT specific files are located in drive D, directory CEMAT_CS.
D:\CEMAT_CS

\AddOn AddOns for Special Functions (Optional)


\BIN CEMAT IndustrialX Con
\BITMAPS CEMAT Bitmaps (zip-file)
\CONFIG Configuration Files
\DOCU Documentation in PDF format
\HARDCOPY For Print Screen functions (print faceplates)
\IMPORT Import files for WinCC Configuration Studio
\MULTIMEDIA Documents for Info-Dialog:
\AS AS Cabinet drawings
\ELECTRICAL_DIAGRAM Electrical schematic drawings
\IO I/O cabinet drawings
\LOOP_DIAGRAM Software Interlocking diagrams
\MANUAL General function descriptions
\MCC MCC cabinet drawings
\OPERATING_PROCEDURES Operating descriptions
\PERIPHERY I/O information from HW Config
\SOUND Sound replay
\VIDEO Video description for trouble-shooting
\SIMOCODE SIMOCODE files for 3UF70
\SOUNDS Sound files for alarms
\TOOLS Software Tools for CEMAT
\WinCC WinCC files:
\GraCS CEMAT Standard pictures and bitmaps
\Library WinCC Project Functions for CEMAT (C-Scripts)
\PRT WinCC Report layout
\ScriptLib WinCC Visual Basic Scripts for CEMAT
\WScripts WinCC Property configuration for CEMAT

After the installation of CEMAT you additionally find the following libraries in the system path
of PCS 7 under C:\ProgramData\Siemens\Automation\Step7\S7LIBS:
ILS_CEM Classic CEMAT Library for PS000
PRO_CEM Additional blocks for classic CEMAT Standards > PS000
KCS Block library for Optimization

Copyright  Siemens AG. All Rights Reserved. 3 -11


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Adaptation in PCS 7 for CEMAT


1. In the configuration files under D:\CEMAT_CS\Config the system can be adapted to the
project requirements.

The main configuration file C_CONFIG.CFG contains the settings for the Multimedia
Server and some general Cemat Settings which may need adaptation. Make sure that the
file C_CONFIG.CFC has identical settings at each OS Station.

Multimedia Server:
If you don't want to save the Multimedia files on every Client, you have to enter name of
the PC where the Multimedia files are located under "MServer=……..".

[MultimediaServer]
;for Example
;MServer=CLIENT62 --> The name of the CEMAT Multimedia Server is
CLIENT62
;MServer=@RM_SERVER_NAME --> The actual server for this client
with the redundancy functionality
;List here the name of the multimedia server or the redundancy
functionality
MServer=

General Cemat Settings:


The rest of the settings are used to evaluate the Process Value archive, to select the
printer option (if available), to choose the method how to open the object list, and to
configure the Path for the Adobe Reader function (which is needed for opening the help
files). For more information see 14_Tips_Tricks.pdf.

[CematSettings]
;Individual Settings for Cemat Objects (0=No, 1=Yes)
;
;C_MEASUR - see "Process Value Archive" in 14_Tips_Tricks.pdf
SkipTagArchiveName=0
;
;No Hard copy of the actual faceplate to the default printer - see
"Hardcopy to default printer" in 14_Tips_Tricks.pdf
HardCopyToDefaultPrinter=0
;
;Object List: Subobjects not expanded - see "Display mode of the
ObjectList" in 14_Tips_Tricks.pdf
ObjListExpanded=0
;
;USE_PDF_READER=1 ==> help files can read/show with an installed
pdf-reader,
;find class name with "CEMAT Window Class Finder" - see "Define
Window Class Name" in 08_OS_Engineering_009.pdf
USE_PDF_READER=1
READER_PATH=C:\Program Files (x86)\Adobe\Reader
10.0\Reader\AcroRd32.exe
READER_CLASS_NAME=AcrobatSDIWindow

3 -12 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

2. If the Windows Firewall is activated, the following Settings have to be carried out on each
Server Station under Start → Control Panel → Windows Firewall:

Select "Allow a program or feature…" and chose "CEMAT Remote Service".


After that you should see the file in window "Advanced Settings".

Copyright  Siemens AG. All Rights Reserved. 3 -13


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Create a new PCS 7 Project


Define a directory where all the PCS 7 projects will be stored in the future. We don’t
recommend using the default directories under D:\SIEMENS\STEP7\S7Proj. We recommend
creating a separate directory on D drive.
Use Options -> Customize to select the new directory under ‘Storage location for projects‘.
Use directory D:\PROJECTS to save your PCS 7 projects. If you use Multiprojects, create a
Subfolder as Storage location for the Multiproject, e. g. CEM_MP
You can use the Wizard to create a new Project or Multiproject or you can create the Project
or Multiproject manually. The wizard will create a Project Structure with Plant Hierarchy which
you can modify or delete.
In the following description the project is created manually:
In the SIMATIC Manager create a new project using File -> New.
Select Type Multiproject and define the Project name. Check the Storage location (it should
be the Multiproject directory).

Confirm with OK

3 -14 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Select the Multiproject in the SIMATIC Manager and use Multiproject -> Create in Multiproject
to create the first Project within the Multiproject.

Confirm with OK.


Repeat this step for all your Projects.

Copyright  Siemens AG. All Rights Reserved. 3 -15


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Create the Project Library using the same method. For the storage location the Folder of the
Multiproject Folder is used.

This library will be the Master Data Library for the Project. It should contain all Blocks and
Typicals used in the Project (in the CFCs of each AS-Program).

To select the library as “Master” use Multiproject -> Define as Master Data Library.

3 -16 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

For each partial Project select the display language. Select Options → Language for Display
Devices.
The first time a window will pop up for Message Number Assignment Selection.

Assign CPU-oriented unique message numbers.

Choose the installed languages in the project and select the default language.

The display language must be similar in all partial projects.

Caution: For English and Spanish you have to select English (United States) and Spanish
! (international Sort) as these languages are used in the Cemat Standard blocks and
Faceplates.

Copyright  Siemens AG. All Rights Reserved. 3 -17


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Especially if you work in a Project Language different than English or German, make sure that
the project can be opened under any Windows language settings (language neutral).

Once the Projects are created and the display language is selected, you have to create the
AS and the OS Stations according to the Hardware Configuration of your plant. New AS/OS
can be created either in the Component View of the SIMATIC Manager using right mouse
button to Insert New Object or in the Network Configuration.

Change name of the OS Stations to the real Station name (e.g. CLIENT62, SERV61). For the
AS give a meaningful and unique name (e. g. AS1 or KILN1).

3 -18 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Hardware Configuration for a CEMAT AS


The following pages show the settings in the Hardware Configuration for a CEMAT AS.
Of course it is not possible to describe the wide range of possible PLC Hardware components
in this document. In the following description we want to highlight the crucial settings in a
Cemat Project.
The Screenshots below shows the relevant settings based on two examples:
- CPU416-3 DP plus CP443-1
- CPU410-5H.
Other CPU and CP Types are possible as well, but in this case the configuration options and
the property windows may differ. For details please refer to the PCS 7 Manuals and FAQs.

Define AS Hardware
Select from Hardware Catalog -> SIMATIC 400 -> RACK-400 the Rack you want to use for
your AS and drop it to the sheet. Select a power supply, CPU and a CP according to your
hardware configuration.
Example configuration for an AS with CP416-3 DP:

When dropping the CPU create a new PROFIBUS and connect it.

Copyright  Siemens AG. All Rights Reserved. 3 -19


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Settings in tab Start-up for CPU416-3 DP:

Under “Start-up after Power ON” Warm Restart must remain selected

Settings in tab Start-up for CPU410-5H:

Under “Start-up after Power ON” Warm Restart must remain selected

3 -20 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Settings in tab Cycle/Clock Memory for CPU416-3 DP:

Enter the Scan Cycle Monitoring Time.


Enter the Minimum Scan Cycle Time of 100ms
Select Clock Memory. The memory Byte must be 0

Settings in tab Cycle/Clock Memory for CPU410-5H:

Scan cycle monitoring time and Minimum scan cycle time cannot be configured.
Select Clock Memory. The memory Byte must be 0

Copyright  Siemens AG. All Rights Reserved. 3 -21


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Settings in tab Memory for CPU416-3 DP:

On this page the minimum values for Local Data per each priority class is configured. Bigger
CPUs probably have more memory for local data.
In the screen shot the local data for Priority class 1 has already been increased (from 1024 to
1850). You have to check the required local data after completing the user program and
modify the values if necessary.
The maximum number of Communication Jobs can be increased as well.

Settings in tab Memory for CPU410-5H:

3 -22 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Settings in tab Diagnostics/Clock for CPU416-3 DP:

The AS synchronization type should be “As Slave”

Settings in tab Diagnostics/Clock for CPU410-5H:

The AS synchronization type should be “As Slave”

Note: In PCS 7 V9.0 SP2 the AS always work with GMT.


!

Copyright  Siemens AG. All Rights Reserved. 3 -23


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

When using a CP443 connect the same to the Ethernet bus.

In the Properties dialog define the Address (MAC Address or IP address) and connect the CP
with the Ethernet bus. If no Ethernet bus exists yet, you can create it here.

3 -24 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Under Time-of-Day Synchronization, SIMATIC Mode you have to activate the time-of-day
synchronization for the CP:

Copyright  Siemens AG. All Rights Reserved. 3 -25


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

When using a CPU-5H the PROFINET interface can be used for the connection to the Plant
Bus and the CP443 may not be required.

In this case the connection is only possible via TCP/IP.

3 -26 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

For the I/O Periphery again a huge variety exists and it is therefore not described in this
document.
Please define the I/O Periphery according to your plant configuration. For details refer to the
SIMATIC and PCS 7 Manuals.
After the Hardware configuration is completed, save and compile the hardware definitions and
load it to the AS.

Rename S7-Program
Back in the SIMATIC Manager you see the elements of the Hardware Configuration (CPU,
CP) under each AS Station. Below this you find the Program Container for the elements. For
better identification we recommend to rename the S7 Program Container for the CPU (e. g.
P_AS1).

Copyright  Siemens AG. All Rights Reserved. 3 -27


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Configuration of a SIMATIC PC Station


The SIMATIC PC Stations (Single Station, Server, Standby-Server and Clients) have to be
configured according to the Hardware of the PC.
Again it is not possible to describe the wide range of possible Hardware components for the
PC Station in this document. In the following description we want to show the general
procedure for adding PC Stations in a Cemat Project.
Select the appropriate WinCC Application. Select the CP Industrial Ethernet for the Plant Bus
communication according to the Hardware of your PC (Industrial CP or IE General) The Index
must be the same as the Index in the Configuration Editor. In the Properties for each CP
configure the right addresses (MAC Address; IP Address).

Note: It is important to use exactly the same Configuration as it is defined with the
! commissioning wizard.

Example for the Configuration of the Engineering Station:

In some plants the Engineering Station has two CPs (one internal CP and one 3COM) but no
Industrial CP (CP1613, CP1623 or CP1628). Instead of the Industrial CP the 3COM is used
for the communication to the Plant Bus.
In this case insert a CP "IE General" instead of an Industrial CP for the communication to the
Plant bus. The CP for the communication to the Terminal bus must not be inserted in the
Hardware Configuration.

3 -28 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Select the Object Properties for the CP in order to enter the MAC address and connect it to
the Plant Bus.

When saving the HW Configuration the OS-Project for the Engineering Station is created.
Change the OS Project name (e.g. ES). Die OS Project name must be unique within the
complete MultiProject.

Copyright  Siemens AG. All Rights Reserved. 3 -29


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Example for the Configuration of a Single-User Station or a Server:

Select the Object Properties for the Industrial CP in order to enter the MAC address and to
connect it to the Plant Bus.
When saving the HW Configuration the OS-Project for the station is created.
Change the OS Project name (e.g. OSSRV). Die OS Project name must be unique within the
complete MultiProject.
For the Standby-Server use WinCC Application (stby) instead of WinCC Application. The rest
is identical to the Server Configuration.

3 -30 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Example for the Configuration of an OS Client:

When saving the HW Configuration the OS-Project for the Client is created.
Change the OS Project name (e.g. OSC61). Die OS Project name must be unique within the
complete MultiProject.

Copyright  Siemens AG. All Rights Reserved. 3 -31


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Configuration of the Network Connections


After all the Stations are defined you have to configure the Network Connections for the
Communication between the OS Stations and the AS Stations and for the Communication
between AS.
The settings for the Network Connections between the AS are not part of this description.
This description only refers to the communication between the AS und OS Stations. For each
Connection between AS and OS Station an S7-Connection must be configured.
To define the connection, the CPs of the different Stations must be linked to an Ethernet Bus.
The CP of the AS is linked via “Plant Bus” or "Process Bus" to the Server Stations. For the
Process Communication normally ISO Protocol is used.
The OS Clients are linked via “Terminal bus” to the Server Stations. In this Network usually
TCP/IP Protocol is used.
In a complete Network this would look as follows:
Example with 3 AS, 1 redundant Server-Pair, 1 ES and 2 OS Clients:

Client Client
01 02

Terminal Bus*)

Server Server ES
Standby

Plant Bus

AS1 AS2 AS3

*) The CPs for the Terminal bus communication cannot be displayed in the Network
! Configuration of PCS 7 , otherwise the Hardware cannot be downloaded to the PC Stations.
For the communication to the Terminal bus no configuration in Netpro is needed.

In a Multiproject the Stations are often located in different Projects. Each Project has its
Network Configuration which contains Ethernet Connections to Plant Bus or Terminal bus.
To enable a Network Connections between different Network Configurations the Buses must
be merged. In the SIMATIC Manager you will find the merge function if you select the
Multiproject and use right mouse button option Multiproject → Adjust Projects.

3 -32 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Select Ethernet and press Execute and the Window for Industrial Ethernet merge/unmerge
will open and allow you to combine the Ethernet buses from different Networks.

The highlighted subnet determines the global properties for the common Network.
Under Properties you will find the S7 Subnet ID:

Copyright  Siemens AG. All Rights Reserved. 3 -33


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

After the Network is merged the Network Connections between OS Stations and the AS
Stations can be defined.

3 -34 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

To add the S7 connection, select the WinCC Application of the OS-Project or the CPU of the
AS and use right mouse button for selection of “Insert New Connection”.

Select the AS (or the WinCC Application of the OS) and press Apply. Save with ok.

We recommend changing the Connection identification for Local ID from S7 connection_1 into
a more meaningful name, e. g. COM_AS1.

Copyright  Siemens AG. All Rights Reserved. 3 -35


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Note: The Connection identification for Local ID must be identical for the connection of all
! OS-Projects to this AS.
Example:
COM_AS1 for the Communication to AS1
COM_AS2 for the Communication to AS2
COM_AS3 for the Communication to AS3
etc.
The name will be used as Connection Name in the OS Compile for “Named Connections”.

Confirm the Settings with OK.

Enter the Network Connections between all the OS Stations (Server, Standby-Server and
Single Station) and the AS.

3 -36 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Download for HW Configuration and Network Connections


After the Station Configuration is finished and the Network Connections are complete the
Configuration Data has to be transferred to the AS Stations and to the OS Stations.
Before this can be done, a few preparations are required:
In the SIMATIC Manager select the OS-Project for each Station and go to Object Properties
- For the Server
select the Path to the Target OS Computer
select the Standby-OS
- For the Standby-Server
select the Path to the Target OS Computer
the Primary Server is already selected
- For the Single Stations and OS Clients
select the Path to the Target OS Computer

Example for selection of the target OS:

Copyright  Siemens AG. All Rights Reserved. 3 -37


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Download
1. Before you can download the configuration you have to select the Access Path to PC
internal (local).
2. For the Download to the Stations always start with the Engineering Station. The Network
Configuration for the Engineering Station has to be exact in order to enable the Download
to the AS Stations and to the other PC Stations.

Check the Configuration Editor to be sure that everything is configured correctly!


3. Download the Hardware Configuration to the AS.
4. Download the Network Configuration to the AS
5. Download the Hardware Configuration for each PC Station (Single Station, Server,
Standby-Server) and double-check the Configuration Editor on each Target Station in
order to make sure that the configuration is correct.
6. The OS Clients don’t have a Configuration Editor and the Connection via Terminal bus is
not configured at all. For this reason the Hardware Configuration must not be downloaded
to the OS Clients!

3 -38 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

General Settings in the Multiproject


Plant Structure definition
In the component view of the SIMATIC Manager the Stations were inserted and the plant
configuration was defined. Now you have to use the plant view or the process object view of
the SIMATIC Manager to structure the plant according to technological criteria.
In the plant view the plant is structured technologically into plant sections (AREA), as in the
example into Raw Mill, Kiln, Cement Mill. Coincidentally we have only one Area per AS but
there could be several areas as well.
Typically the first hierarchy folder is defined as AREA (there are other options in PCS 7 but
they are less useful).

Caution: The plant structure is later on used in the overview area of the OS system.
! Therefore it is extremely important to consider the picture hierarchy from the very beginning.
The areas are shown in the selections buttons of the overview area and user rights can be
given per area. Also the messages are filtered per area.
Below the areas there can be units, to which you may assign detail pictures. Please make
sure that the CFCs area assigned to the correct units, otherwise the summarizing indication
in the overview area will not work.

Example:

Copyright  Siemens AG. All Rights Reserved. 3 -39


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

3 -40 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

The names of the hierarchy folders can be limited for maximum number of characters. The
names can be included completely or partly for the designation system.
The settings for max. number of hierarchy folders, max. number of characters, include in
designation you will find if you select a hierarchy folder with the right mouse button and use
Options -> Plant Hierarchy -> Settings.

For a Cement plant 3 hierarchy folders should be (more than) enough. For the diagnostic of
the hardware up to 8 hierarchy levels are required. If you want to derive the diagnostic
screens from the plant hierarchy, you have to select the function "Derive diagnostic screens
from the plant hierarchy".
With the OS Area you specify which Hierarchy level is used the Selection Buttons in the
Overview Area. Also the Operator right can later on be specified per Area.
The picture hierarchy must be derived from the plant hierarchy. Otherwise some functions
cannot be guaranteed any more. During OS Compile the WinCC Picture tree is then
generated automatically.
We don't recommend including the Hierarchy folder name in the Tagging system because the
tagnames would be too long.

Note: If you insist to include the Hierarchy folder name in the tagging system you have to
deselect this option for the System Chart. This is done in the Properties of the Hierarchy
folder under "Control and Monitoring Attributes".

Copyright  Siemens AG. All Rights Reserved. 3 -41


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Before a CFC or SFC can be inserted in the Plant View or the Process Object View the
Hierarchy folder has to be assigned to a chart folder in a AS. Before Pictures can be inserted
in the Plant View the OS assignment is required.
Select the hierarchy folder and open the object properties. Use tab AS and OS assignment to
select the chart folder for the assigned AS and the assigned OS.

All Elements you add to this hierarchy folder will be assigned to this AS/OS. If you pass the
Selected Assignments to the Lower-level Objects, the subordinated hierarchy folders get the
same AS/OS Assignment.

Important: Always use the Plant view or Process Object view for creating new elements
! (CFC, SFC, Pictures). If you create the elements in the component view, the plant
assignation will be missing.
Exception: Pictures which shall not appear in the overview must be assigned directly to the
OS-Project (in the component view).

3 -42 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Global Message configuration


The Message configuration will be carried out globally in the SIMATIC Manager and then
distributed to all OS Stations within the MultiProject. This is done in two steps:

Import of the PCS 7 Message System


Import file D:\CEMAT_CS\IMPORT\PCS7_MsgSysConfig\CEMAT_MasterConfig.mcf already
has the correct default settings for CEMAT.
- Colors, flashing and field lengths have been adapted to the comfort of the Operator.
- The field names for the message blocks have been adapted as well.
Of course, these settings can be modified afterwards, but they will then not match with the
CEMAT Manuals and our recommendation is to keep the settings as they are.
For the import of the CEMAT default settings proceed as follows:
In the SIMATIC Manager, use Options → PCS 7 Message System → Import

Please wait until the completed-message appears!

Configuration of the PCS 7 Message System


In order to configure the PCS 7 message system proceed as follows:
In the SIMATIC Manager, use Options → PCS 7 Message System → Configure
In Tabs “Configure message classes”, “Group display assignment”, “Display of the columns in
the message windows”, “Display of the message blocks”, “Configure Message lists” the
message configuration can be adjusted.
For further information see PCS 7 Manuals and PCS 7 online help.

Copyright  Siemens AG. All Rights Reserved. 3 -43


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

In order to make use of the global message configuration in all OS-Projects of the MultiProject
select Option “Use in PCS 7 message system” in Tab “Configure message classes”:

This step cannot be reversed; therefore the system asks you to confirm the selection of this
option.

The OS Project Editor is started in the background and will be carried out for each OS in the
Multiproject. Wait until the completed-message appears:

Note: The transfer of the message configuration settings must be started in addition! See
! next step!

3 -44 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

If you want to carry out further modification in the global message configuration, now is the
right moment to do this…
With the next steps the message configuration setting is transferred to the Alarm logging of
the OS Projects. In order to update the settings in all OS Projects within the MultiProject,
press button “Transfer to OS”.

The transfer for the settings of each Tab must be activated individually:
- Select Tab “Configure message classes” and press button “Transfer to OS” in order to
transfer the message class definition to the OS Projects.
- Select Tab “Group display assignment” and press button “Transfer to OS” in order to
transfer the group display assignment to the OS Projects.
- Select Tab “Display of the columns in the message window” and press button “Transfer to
OS” in order to adapt the column width in the OS Projects.
- Select Tab “Display of the message blocks” and press button “Transfer to OS” in order to
define the field names for the individual message blocks in the OS Projects.
- Select Tab “Configure message lists” and press button “OK” for the configuration of the
message lists in the OS Projects.
In Tab “Configure message lists” the “Transfer to OS” button is always disabled and the
transfer is carried out via button OK.

It is no longer required to modify the settings in the Alarm Logging of WinCC!

Configuration of Button sets


Like the Message configuration, the Button sets can be configured centrally in the SIMATIC
Manager under Options → Central OS Settings → Button sets in Runtime.
The WinCC Project will be opened and the available keys will be determined. After this the
buttons these can then be selected for button set 1 or 2.
During the update of the WinCC Project with CEMAT Functions additional keys will be added,
therefore we recommend carrying out the button set configuration after this. The description
you find at the end of the document.

Copyright  Siemens AG. All Rights Reserved. 3 -45


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Create a Project library


Before you start with the configuration of the individual AS, you have to create a project
library, which must contain the latest version of all standard symbols, blocks and default
charts which are used later on in the program.
The project library contains at all symbols, blocks and charts from the CEMAT library. It may
also contain additional blocks, charts and models.
During the installation of CEMAT the CEMAT library (or libraries) was (were) installed in
directory C:\….\SIEMENS\STEP7\S7LIBS:
- The CEMAT library ILS_CEM contains the S7-Program CEM_ALL with standard symbols,
blocks and charts for CEMAT.
- For project standards with key unequal to ‘000’ the library PRO_CEM contains the project
specific blocks. (For project key = ‘000’ the library PRO_CEM does not exist.)
In order to create the project library proceed as follows:
- At the moment the project library does not contain an S7 program or it contains an empty
S7 program folder (in case the wizard was used to generate the project). In the second
case you have to delete the S7 program folder.
- Then copy the complete S7 program folder CEM_ALL of the library ILS_CEM (including
all symbols, blocks and charts) into your project library.
- The program folder of the Project library can be renamed, e. g. to P_LIB.
- In case of a project standard you have to open the library PRO_CEM and to copy all
blocks into you project library as well (overwrite the existing blocks!).
- If you want to use further blocks in addition in your project you should also copy these
block into the project library.

3 -46 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

AS Configuration
Preparations for programming with the CFC
The following settings have to be carried out in the CFC Editor. This is only possible if a CFC
exists. Therefore in the component view open the chart folder of your AS and create a new
(Dummy-)CFC. With a double-click on the CFC the CFC editor will open.
Define illegal Ranges for CFC blocks:
Under Options -> Customize -> Compile/Download… you have to define the illegal ranges:

DB 1 to 999
FC 0 to 1399

The default value for Installed blocks per runtime group is 50. This leads to warnings during
the compilation of the CFC. You can increase this number (e.g. to 300).
Confirm with ok. A window appears which tells you that the CFC is already using the area
which is reserved for other applications. Confirm this as well in order to accept the changes.
The (Dummy-)CFC which you have created in the component view was only needed in order
to make the settings in the CFC-Editor. You can delete it now.

Copyright  Siemens AG. All Rights Reserved. 3 -47


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Copy Standard Symbols and blocks into the PCS 7 Project


After the project library was created which contains all symbols, blocks and charts for
CEMAT, you can copy this to the AS.
1. Copy first the symbols from the project library into the S7 Program Container of your AS.
As the AS does not contain any symbols, you can copy the complete SYMBOLS from the
program folder of the project library into the program folder of the AS.
2. Copy all blocks from the project library into the block Container of your AS.
3. Copy the system chart into the AS. The chart must be copied in the plant view!

In the chart folder of your project library you will find the system chart SYSPLC00. This
system chart is required once in each AS.

First define in the plant view a hierarchy folder for the system chart. Then copy the system
chart from the library into this hierarchy folder. Change the name of the system chart
according to the AS number (e. g. SYSPLC02).

3 -48 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

4. Make sure that the blocks from system chart are installed at the correct position in the
Runtime sequence, which should be as follows:

The Cemat blocks need to be installed in OB1, between Runtime group OB1_START and
OB1_END.

HOLCIM Standard: Parameter REL_WSTP at block C_FB_PLC must be set to 0-Signal.


Otherwise the group start will be interrupted in case of a warning:

Caution: Block C_PLC_PLC must only be configured if the CEMAT AS-AS-Coupling is


used (for communications to older CEMAT systems, e.g. CEMAT V4). Only in this case
change Parameter PLC_NO into the PLC-NO of the own AS. The CP-Address of the
CP443 for Bus A and Bus B (e. g. 16372 and 16376) must then be entered into the
parameters BUS_A_AD and BUS_B_AD.
The function block is called once in the restart (PLC_RESTART) and once in OB1
(MAIN_TASK). For detailed description see chapter AS-AS-Coupling.

Copyright  Siemens AG. All Rights Reserved. 3 -49


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

5. The following step is optional and may be used as a preparation for the CFC engineering.

After updating the Chart Folder with the Cemat blocks from the offline block folder, the
Cemat blocks are available under Catalog CEMAT.

In the CFC-Editor go to Options -> Block types. Select the blocks from the offline block
folder and copy it into the chart folder:

List of blocks, which have to be copied into the chart folder:

Absolute Symbol Task Absolute Symbol Task


FB1001 C_DRV_1D OB1 FB1034 C_SIMOS OB1
FB1002 C_DAMPER OB1 FB1038 C_ANA_SEL OB1
FB1003 C_DRV_2D OB1
FB1004 C_ANNUNC OB1 FB1055 C_SEND_G OB1
FB1005 C_ANNUN8 OB1 FB1056 C_RECV_G OB1
FB1006 C_MEASUR OB1 FB1057 C_INTERL OB1
FB1007 C_VALVE OB1 FB1058 C_INTER5 OB1
FB1008 C_PROFB **) OB1
FB1009 C_ROUTE OB1 FB1060 C_Intlk08 OB1
FB1010 C_GROUP OB1 FB1061 C_Intlk04 OB1
FB1011 C_SILOP OB1 FB1062 C_Intlk02 OB1
FB1013 C_SELECT OB1 FB1095 C_TIS_B **) OB1
FB1015 C_COUNT OB35 FB1096 C_TIS_N **) OB1
FB1016 C_RUNNT OB1 FB1097 C_TIS_S **) OB1
FB1018 C_PID3 OB35*) FB61 CTRL_PID OB35*)
FB1021 C_MAX_CYC FC1017 C_MUX OB1
FB1026 C_MEAS_I OB1 FC1018 C_ADAPT OB1

*) This block can be called from any Time interrupt OB.


**) These blocks only exist in Project Version 004 Holcim

3 -50 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Compile and Download CFC


Once the configuration settings have been made in the system chart the AS Program is
loadable and executable.

Warning: To start the AS with the Programmer only Warm Restart is allowed!
!

After these steps you can start with the AS Engineering. In chapter 6 of this manual “AS
Engineering” you find some additional advises.

You may also continue with the configuration of the OS System. To enable the OS compile,
the compile of the CFC must be carried out before. For the first time a complete compile is
required.

OS Compile
Compile the OS (for all Servers and Single User Systems). With the OS Compile, in the Tag
Management of the OS the driver SIMATIC S7 PROTOCOL SUITE is added. Under “Named
connections” you will find the variables of the group instance list and of the System chart.

Copyright  Siemens AG. All Rights Reserved. 3 -51


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

OS Configuration (Single-User System)


The WinCC Project (OS-Project) for the Single-User System was already defined with the
SIMATIC Manager or Network Configuration. The following settings have to be carried out in
the OS-Project, which means you have to open WinCC. This can be done directly from the
SIMATIC Manager through selection of the OS with right mouse button and Open Object of
from the Start Menu under Start -> Simatic -> WinCC -> WinCC Explorer.

Important: The following steps must be carried out from the beginning in the engineering
! language, which is used for the project. If you change the language afterwards the language
dependent setting must be repeated.
The language settings in SIMATIC Manager are not consistent with the settings for WinCC!!

Project Properties
Adaptations for the Project itself can be carried out under Properties.
Folder “General” contains the Project Type.
Generating a new OS-Project of type “WinCC Application“, automatically a “Multi-User
Project” is created. As in a Single User System no Server License is available you have to
select the Project type Single-User Project.

Note: Don’t delete the startup list!


!

In Folder “Update Cycles” the time values for the Update cycles are defined. The CEMAT
Symbols generally use “User Cycle 1”. The default value of this is 2000ms. You have to adapt
this value according to your requirement, e.g. 1000ms.

3 -52 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

OS Project Editor
Settings for the user interface used by the plant operator for monitoring and controlling the
plant during process operation In the OS Project Editor.

A detailed description to this item you find in the PCS 7 Configuration Manual Operator
Station. The following pages describe only the settings relevant for CEMAT.

In Tab Layout choose the screen resolution according to your Monitor. In Cemat V9.0 SP2 the
default resolution is 1920x1080, but the Cemat Standard pictures are also available for
1280x1024, 1600x1200 (not for Project Version 004), 1680x1050 and 1920x1200.
Also select the Number of horizontal and vertical area keys under Detail (Picture Tree) and
the Monitor Configuration of your PC.
Example for the Layout of a Single Station:

Note: If you select a different screen resolution (1280x1024, 1600x1200, 1680x1050 or


! 1920x1200), the standard picture @AlarmOneLine.pdl has to be replaced later.

Copyright  Siemens AG. All Rights Reserved. 3 -53


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Message display for a Single Station:

The Message filter has to be set to “Acknowledgeable messages in separate list”.


The group display should be created and updated automatically.

Note: The sorting of the message pages is only used for the Standard WinCC Alarm list, and
! not relevant for the Cemat Alarm list.
In the Cemat Alarm list the default sorting is "Latest message at the bottom". This setting can
be changed under D:\Cemat_CS_Config in file C_Messages.cfg (see chapter Tips and
Tricks).

Optional Setting:
Operator Messages created by HMI come without block comment (default setting). If you like
to see the Block comment with this kind of messages you have to select the following Option:

Note: Different to the Operator messages created in the AS, in the Operator messages from
! HMI the block comment is part of the Event Text.

3 -54 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Runtime-Window for a Single Station

Define the maximum number of windows that can be opened when faceplates and curves are
called as well as the maximum number of faceplates that can be opened on a monitor.
Set the maximum number of picture modules per monitor to 6 and the maximum number per
picture module to 3.

The rest of the settings in the OS Project Editor can remain as per default or can be adapted
later.
With “OK” all settings are carried out.

Caution: If for any reason you have to run the OS-Project Editor again, make sure that all
! files mentioned under CEMAT Specific Preparations are deselected in Folder “Basic Data”.
Otherwise the CEMAT Settings are overwritten with the delivery state of PCS 7.
→ See chapter CEMAT Specific Preparations!

Copyright  Siemens AG. All Rights Reserved. 3 -55


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Computer properties
The computer properties must be checked and adapted to the requirements of the plant. Most
of the settings can probably not be entered at the beginning of the engineering and must be
adapted later (sometimes after commissioning).
Folder General shows the Computer Name and the Computer Type

Caution: The Computer Name for all OS Projects is the name of the Engineering Station.
! During the download of the OS-Project to the individual PCs the name is automatically
replaced by the Name of the PC Station.

3 -56 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Folder Startup shows the applications which are started after Activation of the Runtime
System
CEMAT uses User Archives for Information Dialog and Object list. Make sure that “User
Archive” is selected in the startup list as well.
Under Additional Tasks/Applications you have to add the CEMATRS.exe to the Startup list.
The application is located in Directory D:\CEMAT_CS\BIN.
CEMATRS.exe should be called at the end.

Insert both, the Application and the working Directory and save with ok. Move the application
to the last position.

Copyright  Siemens AG. All Rights Reserved. 3 -57


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Tag Management
Cemat Tags
During the execution of the OS Project editor several internal variables have been created.
Unlike in former CEMAT Version the manual import in the WinCC Configuration Studio is not
needed any more, and the variables will be found in Group “Split Screen Manager”.
If the variables existed before, they will remain in Group “Cemat” or “Horn”.
Group “Cemat” or “Split Screen Manager”

Name Data Type Length


C_ALM Unsigned 16-bit value 2
C_Empty Text tag 16bit character set 255
C_Filter Text tag 16bit character set 255
C_FilterBackUp Text tag 16bit character set 255

Group “Horn” or “Split Screen Manager”:

Name Data Type Length


C_horn_alarm Binary Tag 1
C_horn_PLC Binary Tag 1
C_horn_process Binary Tag 1
C_horn_system Binary Tag 1
C_horn_warning Binary Tag 1

Redundancy Tags
CEMAT needs the Redundancy tags in any case, even if this is a Single User Station. The
easiest way to create the Redundancy tags is to activate the Redundancy temporarily (and to
deactivate afterwards).
After activating the redundancy the following internal variables have been added in group
„Redundancy“:
@RM_MASTER
@RM_MASTER_NAME
@RM_SERVER_NAME
@RM_OFFLINE_UA_NAME

Note: In case of a Single User Station you have to deactivate the redundancy!
!

3 -58 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Alarm logging
For CEMAT projects a number of adaptations regarding color definitions and
acknowledgement/flashing behavior are provided with the installation.
In order to have the same settings in all OS Stations within the MultiProject, these settings
have already been imported and configured in the Global message configuration of the
SIMATIC Manager and are now available in all OS Stations.
The Import in the WinCC Configuration Studio is no longer required.
The following definition for the message blocks has been imported from the Global Message
Configuration:

Message blocks Number of characters Flash


Date 0 0
Time 0 0
Status 2 0
Comment 7 0
Info 2 0
Tagname 24 0
Area 24 0
Event 56 0
Tag Comment 39 0
FCL 1 0

The following definition for message configuration has been imported from the Global
Message Configuration:

Color definition
Message
Message class come in went out acknowledged Flash
types
F: 255; 255; 255 F: 0; 0; 0 F: 255; 255; 255
Alarm Alarm High 0
B: 255; 0; 0 B: 0; 255; 0 B: 255; 0; 0
F: 255; 255; 255 F: 0; 0; 0 F: 255; 255; 255
Alarm Alarm Low 0
B: 255; 0; 0 B: 0; 255; 0 B: 255; 0; 0
F: 0; 0; 0 F: 0; 0; 0 F: 0; 0; 0
Warning Warning High 0
B: 255; 255; 0 B: 0; 255; 0 B: 255; 255; 0
F: 0; 0; 0 F: 0; 0; 0 F: 0; 0; 0
Warning Warning Low 0
B: 255; 255; 0 B: 0; 255; 0 B: 255; 255; 0
PLC process F: 255; 255; 255 F: 0; 0; 0 F: 0; 0; 0
Failure 0
control messages B: 255; 0; 0 B: 0; 255; 0 B: 255; 128; 128
Operator Operator F: 0; 0; 0
0
Message Message. B: 0; 255; 255
F = Font color
B = Background color

Copyright  Siemens AG. All Rights Reserved. 3 -59


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Archive Configuration
Under Messages → Archive Configuration → Properties the Archive Configuration must be
adapted according to the requirements of your project:

3 -60 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Tag logging
For archiving of the Process Values a Process Value Archive must be configured in the
WinCC Configuration Studio.
Dependent on the number of Process Values to be archived, the Acquisition and Archiving
cycle and the requirements regarding archiving period, the Process Value Archive may be
located locally on the OS Station or on a separate PC Station dedicated for Archiving, the
PCS 7 Process Historian.
For detailed information refer to PCS 7 Manuals for Process Historian and Information
Server.

For small and medium-sized applications the Process Value Archive can be located on OS
Station. For the calculation you have to consider the hard disk memory, the number of
Segments and the Segment size.

The Archive Tags will be created during the Engineering, preferable in the CFC via a selection
of the I/O for “Archiving” or “Long-term archiving”.
“Archiving”
The I/O will be archived on the OS or on an archive server
“Long-term archiving”
The values archived in the OS of on the archive server will be stored for long-term
archiving on CD, DVD, MOD, tape, etc.
During OS compilation the Archive Tags are created in the Process Value Archive named
“SystemArchive”. As acquisition cycle the minimum acquisition cycle is used. For values with
different acquisition cycle it must be adapted later in the Tag Logging.

Note: PCS 7 can only create one common Process Value Archive. Multiple Process
! Value Archives (e. g. splitted by AREA) are not supported in the automatic generation
and in general not necessary.
Archives and Archive Tags could be created manually in the Tag Logging, but it is not
recommended, because it means much more Engineering effort.

Required settings for CEMAT


In Cemat it is possible to open the Archive curve of a measured value directly via block icon
or the faceplate of the C_MEASUR block. In order to achieve this, an archive tag with correct
naming must exist for output MV of the C_MEASUR block.
Example:
Measured value name: 123_BC1/J01
Archive tag name: 123_BC1/J01.MV

Caution: If the name of the archive tag differs from the above mentioned rules, the
! CEMAT Faceplate does not find the Archive data and the archive curve of the measure
cannot be shown.
Make sure that the Tag name of the measure does not contain any illegal characters for
archive variables!

More information regarding Process Value Archives you will find in chapters AS Engineering
and OS Engineering.
In case of Archive Splitting or manual creation of Process Value Archives please refer to
chapter 14_Tips_Tricks – Process Value Archive.

Copyright  Siemens AG. All Rights Reserved. 3 -61


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

User Archives
WinCC User Archives are used for the following CEMAT Functions:

Cemat Object list


User archive C_DriveList is used to save the object list (list of objects associated to a route
or group and list of objects associated to a drive). It gets filled when you open the Object list in
the Runtime system and press the save button.
During the setup of a project this User Archive may remain empty.

Cemat Object Information


User archive C_INFO contains the object information for Display in the Information Dialog and
in the Maintenance Dialog of the Cemat Objects.
For each Cemat Object one data set must be provided, containing all the information to be
displayed. The data sets can be created with Engineering tool C_INFO.xlsx (see Engineering
Manual, chapter 09_Engineering_Tools.doc) after the completion of the software engineering.
In the Runtime System the information can be modified and/or completed.

Note: In order to allow adding of new object information, at least one (dummy) line must exist
! and therefore be created during the setup of the project.

3 -62 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

How to create the Cemat user archives


The Cemat User Archives are configured in the WinCC Configuration Studio and can be
imported from a predefined file.
Open the WinCC Configuration Studio for the User Archive
In order to import the structure use function Edit → Import, then browse to
D:\CEMAT_CS\IMPORT, select Excel Workbook Import_UserArchives.xlsx and press Button
Import.
After the import the following Archives exist:

How to create the user archive data


For the user archive C_INFO at least one line of data must be created during the setup of the
OS-Project.
Therefore directory D:\CEMAT_CS\IMPORT contains a csv-file with dummy lines for C_INFO
which can be imported. To import the data go to tab Archive data and proceed as follows:
With right mouse click on C_INFO → Archive data → Load from file, select from
D:\CEMAT_CS\IMPORT file C_INFO.csv, and press Button Import.

The user Archive C_DriveList does not need to contain data.

Copyright  Siemens AG. All Rights Reserved. 3 -63


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Add Authorization levels


Each Operation in the HMI is linked to an Authorization level which the person must have to
carry out the function. Beside the Authorization levels of PCS 7 the operations in Cemat
require additional Authorizations (18 – 29) for specific functions.
Each User group/User may get the permission for certain authorization levels in certain areas.
The Authorization levels, User groups and Users are defined in the WinCC Configuration
Studio and can be imported from a predefined file.
Open the WinCC Configuration Studio for User Administrator
In order to import the additional Authorization levels 18 - 29 use function Edit → Import,
browse to D:\CEMAT_CS\IMPORT, select Excel Workbook Import_AuthorizationLevels.xlsx
and press Button Import.
After the import you will have the following Authorization levels:

If operations shall be permitted to restricted personal only, additional user rights can be
defined.
Authorization levels “25 - Edit Recipe” and “26 – Edit Material Assignment” are currently not
used.

3 -64 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Operations and Authorization levels


The following table shows the user rights for the particular the CEMAT Functions. For some
operations it is possible to give instance specific rights via block icon attributes
“Processcontrolling_backup” and “HigherProcesscontrolling_backup” (see chapter OS-
Engineering):

Object type Operation Right/ default right Instance specific settings Project
possible via Attribute Code
C_DRV_1D Start/Stop 05: Process controlling Processcontrolling_backup all
Process parameter 22: Object Parameters all
Reset Operation 23: System Operations all
Bypass speed monitor 24: Interlocking Signals HigherProcesscontrolling_backup all
Maintenance functions 29: Maintenance all
auto/man. Interl./man. 05: Process controlling Processcontrolling_backup 006
Non Interl.
non interl. Single mode 23: System Operations 007
Rel.
non interl. Single mode 24: Interlocking Signals HigherProcesscontrolling_backup 004/007
on/off

C_DRV_2D R1/R2/Stop 05: Process controlling Processcontrolling_backup all


Process parameter 22: Object Parameters all
Reset Operation 23: System Operations all
Bypass speed monitor 24: Interlocking Signals HigherProcesscontrolling_backup all
Maintenance functions 29: Maintenance all
auto/man. Interl./man. 05: Process controlling Processcontrolling_backup 006
Non Interl.
non interl. Single mode 23: System Operations 007
Rel.
non interl. Single mode 24: Interlocking Signals HigherProcesscontrolling_backup 004/007
on/off

C_DAMPER R1/R2/Stop 05: Process controlling Processcontrolling_backup all


Process parameter 22: Object Parameters all
Reset Operation 23: System Operations all
Button “up” 05: Process controlling Processcontrolling_backup all
Button “down” 05: Process controlling Processcontrolling_backup all
Set point 05: Process controlling Processcontrolling_backup all
Release inching mode 05: Process controlling Processcontrolling_backup all
Maintenance functions 29: Maintenance all
auto/man. Interl./man. 05: Process controlling Processcontrolling_backup 006
Non Interl.
non interl. Single mode 23: System Operations 007
Rel.
non interl. Single mode 24: Interlocking Signals HigherProcesscontrolling_backup 004/007
on/off

Copyright  Siemens AG. All Rights Reserved. 3 -65


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Object type Operation Right/ default right Instance specific settings Project
possible via Attribute Code
C_VALVE R1/R2/Stop 05: Process controlling Processcontrolling_backup all
Process parameter 22: Object Parameters all
Reset Operation 23: System Operations all
Maintenance functions 29: Maintenance all
auto/man. Interl./man. 05: Process controlling Processcontrolling_backup 006
Non Interl.
non interl. Single mode 23: System Operations 007
Rel.
non interl. Single mode 24: Interlocking Signals HigherProcesscontrolling_backup 004/007
on/off
Override limit position 24: Interlocking Signals HigherProcesscontrolling_backup 004

C_MEASUR Warning Limits 18: Modify Warning HigherProcesscontrolling_backup all


Limits
Alarm Limits 19: Modify Alarm Limits all
Switching Limits 20: Modify Switching Processcontrolling_backup all
Limits
Simulation 24: Interlocking Signals all
Bypass Meas. Channel 24: Interlocking Signals all
Process Parameters 22: Object Parameters all

C_GROUP Start/Stop/Interrupt/ 05: Process controlling Processcontrolling_backup all


Local/Auto/
Single/QuickStop
Process Parameters 22: Object Parameters all
Auto 05: Process controlling Processcontrolling_backup 006
Standby mode 05: Process controlling Processcontrolling_backup 004
not empty 24: Interlocking Signals HigherProcesscontrolling_backup 004
Bypass Interlock 23: System Operations 004

C_ROUTE Select/Deselect 05: Process controlling Processcontrolling_backup all


Auto 05: Process controlling Processcontrolling_backup 006

C_SELECT Select/Deselect 05: Process controlling Processcontrolling_backup all

C_ANNUNC Process Parameters 22: Object Parameters all


Simulation 24: Interlocking Signals HigherProcesscontrolling_backup all

C_PROFB Process Parameters 22: Object Parameters 004


Simulation 24: Interlocking Signals HigherProcesscontrolling_backup 004

C_ANNUN8 Process Parameters 22: Object Parameters all


Simulation 24: Interlocking Signals HigherProcesscontrolling_backup all

3 -66 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Object type Operation Right/ default right Instance specific settings Project
possible via Attribute Code
C_RUNNT Reset 23: System Operations all

C_COUNT Reset 23: System Operations all

C_SILOP Start 05: Process controlling Processcontrolling_backup all


Process Parameters 22: Object Parameters all

CTRL_PID Set point, Output 05: Process controlling Processcontrolling_backup all


Process Parameters 21: Controller Parameters HigherProcesscontrolling_backup all

Info-Dialog All registers without 27: Info Dialog Input all


Service
Service Register 28: Info Dialog Service all
Save Button 05: Process controlling all

Operation levels and OS Permissions for Interlocks:


The operation levels for CEMAT Interlock blocks C_INTLK are defined as via Property
OP_Level in the CFC, same as in CEMAT MinAS.

OS_PermissionLog
Block
OS Commands
Feature Bit
C_INTLK2

C_INTLK4

C_INTLK8

Parameter

Set or Reset Bypass In01 x x x 21+0 21+0 Op_Level


5+24 COMMAND
Set or Reset Bypass In02 x x x 21+1 21+1 5+24 COMMAND
Set or Reset Bypass In03 x x 21+2 21+2 5+24 COMMAND
Set or Reset Bypass In04 x x 21+3 21+3 5+24 COMMAND
Permanent bypass
Set or Reset Bypass In05 x 21+4 21+4 5+24 COMMAND
Set or Reset Bypass In06 x 21+5 21+5 5+24 COMMAND
Set or Reset Bypass In07 x 21+6 21+6 5+24 COMMAND
Set or Reset Bypass In08 x 21+7 21+7 5+24 COMMAND
Set Bypass In01 x x x 20+0 20+0 5+22 In01
Set Bypass In02 x x x 20+1 20+1 5+22 In02
Set Bypass In03 x x 20+2 20+2 5+22 In03
Set Bypass In04 x x 20+3 20+3 5+22 In04
Temporary bypass
Set Bypass In05 x 20+4 20+4 5+22 In05
Set Bypass In06 x 20+5 20+5 5+22 In06
Set Bypass In07 x 20+6 20+6 5+22 In07
Set Bypass In08 x 20+7 20+7 5+22 In08
Latched output Reset latched output x x x 12 12 5 RstOut
Temporary bypass elapse
Process Parameter x x x 31 22 TmpBypTi
time

Copyright  Siemens AG. All Rights Reserved. 3 -67


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Selection of area specific Authorization levels


After the definition of the additional authorization levels for CEMAT you must define the user
groups and the users and in order to specify the authorization level for each user.
In the example we have defined the user groups “Administrator”, “Supervisor”, “Master
Operator”, “Operator” and “Guest”. Within these groups different users may exist.
You can e.g. enable a complete area or only certain operations within an area.
With the level 2 “Authorization for area” it is defined which area is released for the user.
With the level 4 "Monitoring" is defined whether the area can be monitored.
With the level 5 „Process controlling“, it is defined whether a user is allowed to operate the
area. He will then also get the messages from this area and the horn is activated.
Example:

The user Operator01 is allowed to:


open, watch → System, Demo and 001_Examples
operate → Demo
Messages are only shown for areas which are enabled for Process controlling. Operator01
will get only the messages from the Demo area and he can acknowledge only these
messages.

3 -68 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Horn configuration
Via Horn configuration the alarm sounds can be defined per message class (and if needed
dependent on Priority, Source, Area or Event).
As the alarms are linked to authorization level “Process controlling” (users with this
authorization will see the alarms), the alarm sound must be linked to the same authorization.
The Horn configuration is defined in the WinCC Configuration Studio and can be imported
from a predefined file.
Before importing the horn configuration, switch WinCC to English (using Tools → Select
Language), otherwise you may not be successful.
Open the WinCC Configuration Studio for Horn configuration
In order to import the message assignment, select tab message assignment and use function
Edit → Import, browse to D:\CEMAT_CS\IMPORT, select Excel Workbook
Import_HornMessgeAssignment.xlsx and press Button Import.
After the import you will see the following message assignment:

In order to import the Signal Assignment for the different sounds, select tab signal assignment
and use function Edit → Import, browse to D:\CEMAT_CS\IMPORT, select Excel Workbook
Import_HornSignalAssignment.xlsx and press Button Import.
After the import you will see the following signal assignment:

Copyright  Siemens AG. All Rights Reserved. 3 -69


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

In case the import of the horn configuration does not work properly, the definition must be
carried out manually in the WinCC Configuration Studio.
Message Assignment:
Select tab “Message Assignment” in order to make the following settings:
Select the message classes

- Alarm - high and Alarm - low (Alarm)


- Warning -high and Warning - low (Warning)
- System message (System, requires acknowledgement)
- Failure (PLC process control message
- Process message.

and assign Authorization level “Process controlling” and the corresponding horn Tag (the
CEMAT Horn Tags have already been imported and you will find it in the internal tags, folder
“Horn”).

Signal Assignment:
Select tab “Signal Assignment” in order to define for each variable an individual sound.
A sample of different sounds you find in directory D:\CEMAT_CS\Sounds.

3 -70 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Update the WinCC Project with Cemat Functions


In the following step the WinCC Project gets updated with the Cemat functions. During the
Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under
GraCS, Libray, PRT and Wscipts. These files must now be copied to the equivalent folders of
the OS Project.
Additionally, some PDLs are available in different Screen resolutions (1280x1024,
1600x1200, 1680x1050, 1920x1080 or 1920x1200) and must be exchanged.
GraCS-Files for which different Screen Resolutions exist:

1280x102 1600x1200 1680x1050 1920x1080 1920x1200


4
@AlarmOneLine.pdl x x x x

In order to update the WinCC Project, please go to D:\CEMAT_CS and start


'CematProjectUpdate.exe'.

The Source must be D:\CEMAT_CS


Under OS Project - Destination you have to enter destination (Directory of the OS Project)
Under OS Project Sub Directories you find the Subfolders which get copied during the
update (cannot be modified).
Select the desired Screen Resolution for your Project (1280x1024, 1600x1200, 1680x1050,
1920x1080 or 1920x1200). Via an option, during the OS Project Update the above listed
Standard pictures are exchanged according to the screen resolution.
Press button 'Update OS Project' and the files will be copied to the corresponding directories.
One by one the directories GraCS, Library, PRT and WScripts are copied into your OS
Project and after this the PDLs are exchanged by the proper Screen Resolution. You have to
acknowledge each step with OK and everything is entered into a LOG file.

Copyright  Siemens AG. All Rights Reserved. 3 -71


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

During the update procedure the following GraCS files are overwritten by Cemat files.
@AlarmOneLine.pdl Alarm line
@Language.pdl Language Selection
@Logo.pdl CEMAT Logo
@PG_Intlk02_Standard.pdl Interlock faceplate
@PG_Intlk04_Standard.pdl Interlock faceplate
@PG_Intlk08_Standard.pdl Interlock faceplate
@PG_Intlk16_Screen2.pdl Interlock faceplate
@PG_Intlk16_Standard.pdl Interlock faceplate
IM153_1N.bmp Bitmap

After the update of the WinCC Project, proceed as follows:


- Open the WinCC Project.
- Open 'Global Script' selecting C-Editor and regenerate Header. (Menu Options ->
Regenerate Header)

3 -72 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Tab “Basic Data”


Make sure that the system files which are modified by Cemat are deselected in the OS
Project Editor under Basic Data. Otherwise, the next time when you run the OS Project Editor
(e. g. in order to change the Area definition) the Cemat PDLs are overwritten by the PCS 7
system files.

Caution: The OS Project Editor is started in the background if you change the global
! message configuration in the SIMATIC Manager.

Copyright  Siemens AG. All Rights Reserved. 3 -73


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Generation of the Template Pictures


With the CEMAT project update various template pictures is copied into the GraCS folder of
the OS Project. The template pictures contain default symbols for automatic generation of
block icons from SIMATIC Manager.
The block icons of the new template pictures C_@PCS7Typicals_CemV9_000.pdl and
C_@PCS7Typicals_CemV9_004.pdl are slightly bigger than the block icons of former CEMAT
Versions and contain the attributes for the new functions. The template pictures can be used
for any screen resolution.
In each template picture you find examples for different representations of all CEMAT block
types.
- The picture C_@PCS7Typicals_CemV9_000.pdl contains the block icons for Normal
Standard and for the Project standards 006, 007 and 026 (not for 004 and 027).
(For all non-mentioned Project standards the symbols for Normal standard can be used.)
The block icons can be used for all screen resolutions.
- The picture C_@PCS7Typicals_CemV9_004.pdl contains the block icons for Holcim
(Project Standard 004).
The picture C_@PCS7Typicals_CemV8_027.pdl contains the block icons for Lafarge
(Project Standard 027).
In case of Project Standard 004 or 027, the block icons of template pictures
C_@PCS7Typicals_CemV9_000.pdl cannot be used.
- For Holcim (Project Standard 004) an additional Template picture
C_Holcim_Symbols.pdf is available. It contains picture elements (extended Status
Display) for Motors, Dampers and Valves, which are displayed additionally to the block
icon.
For the automatic generation of block icons PCS 7 V9.0 SP2 uses the picture
@PCS7Typicals.pdl or the pictures with this name plus an extension (e. g.
@PCS7Typical_1.pdl). The program searches in ascending sequence.
Before you can use the automatic generation of block icons you must create a template picture
with the name @PCS7Typicals_extension.pdl which contains the symbols you want to use in
the project.
You can use the CEMAT template pictures and rename it or you can copy parts of it into your
template picture.

Caution: Only use the block icons which fit to your Project version. Using block icons from
! different project versions does not guarantee full functionality.

Further information regarding Template pictures you find in chapter OS Engineering.

Configuration of Button sets


The Button sets can be configured centrally in the SIMATIC Manager under Options →
Central OS Settings → Button sets in Runtime.
The WinCC Project will be opened and the available keys will be determined. After this the
buttons these can then be selected for button set 1 or 2.
As the settings apply to all OS Projects, you will find the description at the end of the
document.

3 -74 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

OS Configuration (Server)
The WinCC Project (OS-Project) for the Server was already defined with the SIMATIC
Manager or Network Configuration. The following settings have to be carried out in the OS-
Project, which means you have to open WinCC. This can be done directly from the SIMATIC
Manager through selection of the OS with right mouse button and Open Object of from the
Start Menu under Start -> Simatic -> WinCC -> WinCC Explorer

Important: The following steps must be carried out from the beginning in the engineering
! language, which is used for the project. If you change the language afterwards the language
dependent settings must be repeated.
The language settings in SIMATIC Manager are not consistent with the settings for WinCC!!

Project Properties
Adaptations for the Project itself can be carried out under Properties.
Folder “General” contains the Project Type.
A Server must be a “Multi-User Project”. This is the default setting and must not be changed.
In Folder “Update Cycles” the time values for the Update cycles are defined. The CEMAT
Symbols generally use “User Cycle 1”. The default value of this is 2000ms. You have to adapt
this value according to your requirement, e.g. 1000ms.

Copyright  Siemens AG. All Rights Reserved. 3 -75


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

OS Project Editor
Settings for the user interface used by the plant operator for monitoring and controlling the
plant during process operation In the OS Project Editor.

A detailed description to this item you find in the PCS 7 Configuration Manual Operator
Station. The following pages describe only the settings relevant for CEMAT.

In Tab Layout choose the screen resolution according to your Monitor. In CEMAT V9.0 SP2
the default resolution is 1920x1080, but the Cemat Standard pictures are also available for
1280x1024, 1600x1200 (not for Project Version 004), 1680x1050 and 1920x1200.
Example for the Layout of a Server:

The recommended screen resolution for CEMAT is 1920x1080. Sometimes smaller monitors
are used for the servers which may not allow this screen resolution. Select the appropriate
screen resolution for your monitor.

3 -76 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Message display for a Server:

The group display should be created and updated automatically.

Note: The sorting of the message pages is only used for the Standard WinCC Alarm list, and
! not relevant for the Cemat Alarm list.
In the Cemat Alarm list the default sorting is "Latest message at the bottom". This setting can
be changed under D:\Cemat_CS_Config in file C_Messages.cfg (see chapter Tips and
Tricks).

Optional Setting:
Operator Messages created by HMI come without block comment (default setting). If you like
to see the Block comment with this kind of messages you have to select the following Option:

Note: Different to the Operator messages created in the AS, in the Operator messages from
! HMI the block comment is part of the Event Text.

The rest of the settings in the OS Project Editor can remain as per default or can be adapted
later.
With “OK” all settings are carried out.

Copyright  Siemens AG. All Rights Reserved. 3 -77


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Computer properties
The computer properties must be checked and adapted to the requirements of the plant. Most
of the settings can probably not be entered at the beginning of the engineering and must be
adapted later (sometimes after commissioning).
Folder General shows the Computer Name and the Computer Type

Caution: The Computer Name for all OS Projects is the name of the Engineering Station.
! During the download of the OS-Project to the individual PCs the name is automatically
replaced by the Name of the PC Station.

3 -78 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Folder Startup shows the applications which are started after Activation of the Runtime
System
CEMAT uses User Archives for Information Dialog and Object list. Make sure that “User
Archive” is selected in the startup list as well.
Under Additional Tasks/Applications you have to add the CEMATRS.exe to the Startup list.
The application is located in Directory D:\CEMAT_CS\BIN.
CEMATRS.exe should be called at the end.

Insert both, the Application and the working Directory and save with ok. Move the application
to the last position.

Copyright  Siemens AG. All Rights Reserved. 3 -79


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Tag Management
Cemat Tags
During the execution of the OS Project editor several internal variables have been created.
Unlike in former CEMAT Version the manual import in the WinCC Configuration Studio is not
needed any more, and the variables will be found in Group “Split Screen Manager”.
If the variables existed before, they will remain in Group “Cemat” or “Horn”.
Group “Cemat” or “Split Screen Manager”

Name Data Type Length


C_ALM Unsigned 16-bit value 2
C_Empty Text tag 16bit character set 255
C_Filter Text tag 16bit character set 255
C_FilterBackUp Text tag 16bit character set 255

Group “Horn” or “Split Screen Manager”:

Name Data Type Length


C_horn_alarm Binary Tag 1
C_horn_PLC Binary Tag 1
C_horn_process Binary Tag 1
C_horn_system Binary Tag 1
C_horn_warning Binary Tag 1

3 -80 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Horn Reset Tags:


For the Horn Reset Tag it depends on whether you want to acknowledge the Horn on each
Client independently or you want to acknowledge the Horn for different Clients at the same
time.
The first solution may be useful if each WinCC Client is located in a different Room. If the
Clients are located close to each other and if the same plant section can be operated and
controlled by different Clients at the same time, the WinCC clients should act in unison.
More about Horn configuration you can read in the online-help of WinCC.
In case of WinCC clients with signaling devices acting in unison you have to create one or
more reset tags on the Server. If the Horn is acknowledged on one client the variable on the
server will be reset. This leads to an Acknowledgement for all Clients which use the same
reset variable.
One or more reset variables are needed in group ”Horn“

Name Data Type Length update


HornResetMC Binary Tag 1 Project-wide

This variable must be selected in the Horn Configuration of the Client.

Redundancy Tags
CEMAT always needs the Redundancy tags, even if you may not have a redundant Server at
the moment. The following Redundancy tags get automatically created when activating the
Redundancy and will be found as internal variables in group „Redundancy“:
@RM_MASTER
@RM_MASTER_NAME
@RM_SERVER_NAME
@RM_OFFLINE_UA_NAME

Note: If no redundant Server is available (yet), the Redundancy must afterwards be


! deactivated again!

Copyright  Siemens AG. All Rights Reserved. 3 -81


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Alarm logging
For CEMAT projects a number of adaptations regarding color definitions and
acknowledgement/flashing behavior are provided with the installation.
In order to have the same settings in all OS Stations within the MultiProject, these settings
have already been imported and configured in the Global message configuration of the
SIMATIC Manager and are now available in all OS Stations.
The Import in the WinCC Configuration Studio is no longer required.
The following definition for the message blocks has been imported from the Global Message
Configuration:

Message blocks Number of characters Flash


Date 0 0
Time 0 0
Status 2 0
Comment 7 0
Info 2 0
Tagname 24 0
Area 24 0
Event 56 0
Tag Comment 39 0
FCL 1 0

The following definition for message configuration has been imported from the Global
Message Configuration:

Color definition
Message
Message class come in went out acknowledged Flash
types
F: 255; 255; 255 F: 0; 0; 0 F: 255; 255; 255
Alarm Alarm High 0
B: 255; 0; 0 B: 0; 255; 0 B: 255; 0; 0
F: 255; 255; 255 F: 0; 0; 0 F: 255; 255; 255
Alarm Alarm Low 0
B: 255; 0; 0 B: 0; 255; 0 B: 255; 0; 0
F: 0; 0; 0 F: 0; 0; 0 F: 0; 0; 0
Warning Warning High 0
B: 255; 255; 0 B: 0; 255; 0 B: 255; 255; 0
F: 0; 0; 0 F: 0; 0; 0 F: 0; 0; 0
Warning Warning Low 0
B: 255; 255; 0 B: 0; 255; 0 B: 255; 255; 0
PLC process F: 255; 255; 255 F: 0; 0; 0 F: 0; 0; 0
Failure 0
control messages B: 255; 0; 0 B: 0; 255; 0 B: 255; 128; 128
Operator Operator F: 0; 0; 0
0
Message Message. B: 0; 255; 255
F = Font color
B = Background color

3 -82 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Archive Configuration
Under Messages → Archive Configuration → Properties the Archive Configuration must be
adapted according to the requirements of your project:

Copyright  Siemens AG. All Rights Reserved. 3 -83


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Tag logging
For archiving of the Process Values a Process Value Archive must be configured in the
WinCC Configuration Studio.
Dependent on the number of Process Values to be archived, the Acquisition and Archiving
cycle and the requirements regarding archiving period, the Process Value Archive may be
located locally on the OS Station or on a separate PC Station dedicated for Archiving, the
PCS 7 Process Historian.
For detailed information refer to PCS 7 Manuals for Process Historian and Information
Server.

For small and medium-sized applications the Process Value Archive can be located on OS
Station. For the calculation you have to consider the hard disk memory, the number of
Segments and the Segment size.

The Archive Tags will be created during the Engineering, preferable in the CFC via a selection
of the I/O for “Archiving” or “Long-term archiving”.
“Archiving”
The I/O will be archived on the OS or on an archive server
“Long-term archiving”
The values archived in the OS of on the archive server will be stored for long-term
archiving on CD, DVD, MOD, tape, etc.
During OS compilation the Archive Tags are created in the Process Value Archive named
“SystemArchive”. As acquisition cycle the minimum acquisition cycle is used. For values with
different acquisition cycle it must be adapted later in the Tag Logging.

Note: PCS 7 can only create one common Process Value Archive. Multiple Process
! Value Archives (e. g. splitted by AREA) are not supported in the automatic generation
and in general not necessary.
Archives and Archive Tags could be created manually in the Tag Logging, but it is not
recommended, because it means much more Engineering effort.

Required settings for CEMAT


In Cemat it is possible to open the Archive curve of a measured value directly via block icon
or the faceplate of the C_MEASUR block. In order to achieve this, an archive tag with correct
naming must exist for output MV of the C_MEASUR block.
Example:
Measured value name: 123_BC1/J01
Archive tag name: 123_BC1/J01.MV

Caution: If the name of the archive tag differs from the above mentioned rules, the
! CEMAT Faceplate does not find the Archive data and the archive curve of the measure
cannot be shown.
Make sure that the Tag name of the measure does not contain any illegal characters for
archive variables!

More information regarding Process Value Archives you will find in chapters AS Engineering
and OS Engineering.
In case of Archive Splitting or manual creation of Process Value Archives please refer to
chapter 14_Tips_Tricks – Process Value Archive.

3 -84 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

User Archives
WinCC User Archives are used for the following CEMAT Functions:

Cemat Object list


User archive C_DriveList is used to save the object list (list of objects associated to a route
or group and list of objects associated to a drive). It gets filled when you open the Object list in
the Runtime system and press the save button.
During the setup of a project this User Archive may remain empty.

Cemat Object Information


User archive C_INFO contains the object information for Display in the Information Dialog and
in the Maintenance Dialog of the Cemat Objects.
For each Cemat Object one data set must be provided, containing all the information to be
displayed. The data sets can be created with Engineering tool C_INFO.xlsx (see Engineering
Manual, chapter 09_Engineering_Tools.doc) after the completion of the software engineering.
In the Runtime System the information can be modified and/or completed.

Note: In order to allow adding of new object information, at least one (dummy) line must exist
! and therefore be created during the setup of the project.

Copyright  Siemens AG. All Rights Reserved. 3 -85


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

How to create the Cemat user archives


The Cemat User Archives are configured in the WinCC Configuration Studio and can be
imported from a predefined file.
Open the WinCC Configuration Studio for the User Archive
In order to import the structure use function Edit → Import, then browse to
D:\CEMAT_CS\IMPORT, select Excel Workbook Import_UserArchives.xlsx and press Button
Import.
After the import the following Archives exist:

How to create the user archive data


For the user archive C_INFO at least one line of data must be created during the setup of the
OS-Project.
Therefore directory D:\CEMAT_CS\IMPORT contains a csv-file with dummy lines for C_INFO
which can be imported. To import the data go to tab Archive data and proceed as follows:
With right mouse click on C_INFO → Archive data → Load from file, select from
D:\CEMAT_CS\IMPORT file C_INFO.csv, and press Button Import.

The user Archive C_DriveList does not need to contain data.

3 -86 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Add Authorization levels


Each Operation in the HMI is linked to an Authorization level which the person must have to
carry out the function. Beside the Authorization levels of PCS 7 the operations in Cemat
require additional Authorizations (18 – 29) for specific functions.
Each User group/User may get the permission for certain authorization levels in certain areas.
The Authorization levels, User groups and Users are defined in the WinCC Configuration
Studio and can be imported from a predefined file.
Open the WinCC Configuration Studio for User Administrator
In order to import the additional Authorization levels 18 - 29 use function Edit → Import,
browse to D:\CEMAT_CS\IMPORT, select Excel Workbook Import_AuthorizationLevels.xlsx
and press Button Import.
After the import you will have the following Authorization levels:

If operations shall be permitted to restricted personal only, additional user rights can be
defined.
Under ‘OS Configuration (Single-User System)’ you find a list of the Cemat Operations and
the required Authorization level.
Authorization levels “25 - Edit Recipe” and “26 – Edit Material Assignment” are currently not
used.

Copyright  Siemens AG. All Rights Reserved. 3 -87


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Update the WinCC Project with Cemat Functions


In the following step the WinCC Project gets updated with the Cemat functions. During the
Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under
GraCS, Libray, PRT and WScipts. These files must now be copied to the equivalent folders of
the OS Project.
In order to update the WinCC Project, please go to D:\CEMAT_CS and start
'CematProjectUpdate.exe'.

The Source must be D:\CEMAT_CS


Under OS Project - Destination you have to enter destination (Directory of the OS Project)
Under OS Project Sub Directories you find the Subfolders which get copied during the
update (cannot be modified).
The Screen Resolution (1280x1024, 1600x1200, 1680x1050, 1920x1080 or 1920x1200) is
only important for OS Projects with Operation Interface. Via an option, during the OS Project
Update the Standard picture @AlarmOneLine.pdl is exchanged according to the screen
resolution.
Press button 'Update OS Project' and the files will be copied to the corresponding directories.
One by one the directories GraCS, Library, PRT and WScripts are copied into your OS
Project and after this the PDLs are exchanged by the proper Screen Resolution. You have to
acknowledge each step with OK and everything is entered into a LOG file.

3 -88 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

During the update procedure the following GraCS files are overwritten by Cemat files.
@AlarmOneLine.pdl Alarm line
@Language.pdl Language Selection
@Logo.pdl CEMAT Logo
@PG_Intlk02_Standard.pdl Interlock faceplate
@PG_Intlk04_Standard.pdl Interlock faceplate
@PG_Intlk08_Standard.pdl Interlock faceplate
@PG_Intlk16_Screen2.pdl Interlock faceplate
@PG_Intlk16_Standard.pdl Interlock faceplate
IM153_1N.bmp Bitmap

After the Update the WinCC Project, proceed as follows:


- Open the WinCC Project
- Run the OS Project Editor again in order to overwrite the Standard Pictures with the original
pictures from PCS 7 .
- Open 'Global Script' selecting C-Editor and regenerate Header. (Menu Options ->
Regenerate Header)

Tab “Basic Data”


Normally the Server has no User interface. In this case the Replacement of @Overview1.pdl
by the Cemat Version is not correct. Therefore, run the OS Project Editor again in order to
replace the files under “Basic data” by the PCS 7 Version.
If your Server has a User interface, make sure that the Cemat PDLs are used. Cemat Files
must be deselected in tab “Basic Data” and you have to run the CEMAT Project Update every
time after running the OS Project Editor (see description for a Single Station).

Copyright  Siemens AG. All Rights Reserved. 3 -89


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Generation of the Template Pictures


With the CEMAT project update various template pictures is copied into the GraCS folder of
the OS Project. The template pictures contain default symbols for automatic generation of
block icons from SIMATIC Manager.
The block icons of the new template pictures C_@PCS7Typicals_CemV9_000.pdl and
C_@PCS7Typicals_CemV9_004.pdl are slightly bigger than the block icons of former CEMAT
Versions and contain the attributes for the new functions. The template pictures can be used
for any screen resolution.
In each template picture you find examples for different representations of all CEMAT block
types.
- The picture C_@PCS7Typicals_CemV9_000.pdl contains the block icons for Normal
Standard and for the Project standards 006, 007 and 026 (not for 004 and 027).
(For all non-mentioned Project standards the symbols for Normal standard can be used.)
The block icons can be used for all screen resolutions.
- The picture C_@PCS7Typicals_CemV9_004.pdl contains the block icons for Holcim
(Project Standard 004).
The picture C_@PCS7Typicals_CemV8_027.pdl contains the block icons for Lafarge
(Project Standard 027).
In case of Project Standard 004 or 027, the block icons of template pictures
C_@PCS7Typicals_CemV9_000.pdl cannot be used.
- For Holcim (Project Standard 004) an additional Template picture
C_Holcim_Symbols.pdf is available. It contains picture elements (extended Status
Display) for Motors, Dampers and Valves, which are displayed additionally to the block
icon.
For the automatic generation of block icons PCS 7 V9.0 SP2 uses the picture
@PCS7Typicals.pdl or the pictures with this name plus an extension (e. g.
@PCS7Typical_1.pdl). The program searches in ascending sequence.
Before you can use the automatic generation of block icons you must create a template picture
with the name @PCS7Typicals_extension.pdl which contains the symbols you want to use in
the project.
You can use the CEMAT template pictures and rename it or you can copy parts of it into your
template picture.

Caution: Only use the block icons which fit to your Project version. Using block icons from
! different project versions does not guarantee full functionality.

Further information regarding Template pictures you find in chapter OS Engineering.

Configuration of Button sets


The Button sets can be configured centrally in the SIMATIC Manager under Options →
Central OS Settings → Button sets in Runtime.
The WinCC Project will be opened and the available keys will be determined. After this the
buttons these can then be selected for button set 1 or 2.
As the settings apply to all OS Projects, you will find the description at the end of the
document.

3 -90 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Redundancy Settings in the Server-Project


After the Server-Project and the Standby-Server-Project are configured, in the Server-Project
the corresponding Standby-Server-Project must be selected and the redundancy settings
have to be performed.
1. Select the Server-Project in the SIMATIC Manager and select in the Properties under
Target OS and Standby-OS the corresponding Standby-OS.
2. Open the Server-Project and carry out the redundancy settings:
- Activate Redundancy
- Select the Redundant Partner Server.
- Select the options according to your requirement.

Copyright  Siemens AG. All Rights Reserved. 3 -91


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

3. Activate the redundancy also for the user archives C_INFO and C_DriveList.

3 -92 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

OS Configuration (Standby-Server)
Standby-Server-Project
The Standby-Server-Project doesn’t contain any data. There is only a reference to the Master-
Server-Project. No additional Settings required.

Copyright  Siemens AG. All Rights Reserved. 3 -93


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

OS Configuration (Client)
The following settings have to be performed in the OS-Project of each Client.

Important: The following steps must be performed from the beginning in the engineering
! language, which is used for the project. If you change the language afterwards the language
dependent setting have to be performed again.
The language settings in SIMATIC Manager are not consistent with the settings for WinCC!!

Project Properties
Adaptations for the Project itself can be carried out under Properties.
Folder “General” contains the Project Type.
An OS Client is of type “Client Project”. This is the default setting and must not be changed.
In Folder “Update Cycles” the time values for the Update cycles are defined. The CEMAT
Symbols generally use “User Cycle 1”. The default value of this is 2000ms. You have to adapt
this value according to your requirement, e.g. 1000ms.

3 -94 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

OS Project Editor
Settings for the user interface used by the plant operator for monitoring and controlling the
plant during process operation In the OS Project Editor.

A detailed description to this item you find in the PCS 7 Configuration Manual Operator
Station. The following pages describe only the settings relevant for CEMAT.

In Tab Layout choose the screen resolution according to your Monitor. In CEMAT V9.0 SP2
the default resolution is 1920x1080, but the Cemat Standard pictures are also available for
1280x1024, 1600x1200 (not for Project Version 004), 1680x1050 and 1920x1200.
Also select the Number of horizontal and vertical area keys and the number of Servers under
Detail (Picture Tree) and the Monitor Configuration of your PC.
Example for the Layout of an OS Client:

Note: If you select a different screen resolution (1280x1024, 1600x1200, 1680x1050 or


! 1920x1200), the standard picture @AlarmOneLine.pdl has to be replaced later.

Copyright  Siemens AG. All Rights Reserved. 3 -95


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Message display for a Client Station:

The Message filter has to be set to “Acknowledgeable messages in separate list”.


The group display should be created and updated automatically.

Note: The sorting of the message pages is only used for the Standard WinCC Alarm list, and
! not relevant for the Cemat Alarm list.
In the Cemat Alarm list the default sorting is "Latest message at the bottom". This setting can
be changed under D:\Cemat_CS_Config in file C_Messages.cfg (see chapter Tips and
Tricks).

Optional Setting:
Operator Messages created by HMI come without block comment (default setting). If you like
to see the Block comment with this kind of messages you have to select the following Option:

Note: Different to the Operator messages created in the AS, in the Operator messages from
! HMI the block comment is part of the Event Text.

3 -96 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Runtime Window for an OS Client:

Define the maximum number of windows that can be opened when faceplates and curves are
called as well as the maximum number of faceplates that can be opened on a monitor.
Set the maximum number of picture modules per monitor to 6 and the maximum number per
picture module to 3.

The rest of the settings in the OS Project Editor can remain as per default or can be adapted
later.
With “OK” all settings are carried out.

Caution: If for any reason you have to run the OS-Project Editor again, make sure that all
! files mentioned under CEMAT Specific Preparations are deselected in Folder “Basic Data”.
Otherwise the CEMAT Settings are overwritten with the delivery state of PCS 7.
→ See chapter CEMAT Specific Preparations!

Copyright  Siemens AG. All Rights Reserved. 3 -97


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Computer properties
The computer properties must be checked and adapted to the requirements of the plant. Most
of the settings can probably not be entered at the beginning of the engineering and must be
adapted later (sometimes after commissioning).
Folder General shows the Computer Name and the Computer Type

Caution: The Computer Name for all OS Projects is the name of the Engineering Station.
! During the download of the OS-Project to the individual PCs the name is automatically
replaced by the Name of the PC Station.

The additional application CEMATRS.exe must not be added for a Cemat Client (not
required).

3 -98 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Tag Management
Cemat Tags
During the execution of the OS Project editor several internal variables have been created.
Unlike in former CEMAT Version the manual import in the WinCC Configuration Studio is not
needed any more, and the variables will be found in Group “Split Screen Manager”.
If the variables existed before, they will remain in Group “Cemat” or “Horn”.
Group “Cemat” or “Split Screen Manager”

Name Data Type Length


C_ALM Unsigned 16-bit value 2
C_Empty Text tag 16bit character set 255
C_Filter Text tag 16bit character set 255
C_FilterBackUp Text tag 16bit character set 255

Group “Horn” or “Split Screen Manager”:

Name Data Type Length


C_horn_alarm Binary Tag 1
C_horn_PLC Binary Tag 1
C_horn_process Binary Tag 1
C_horn_system Binary Tag 1
C_horn_warning Binary Tag 1

Copyright  Siemens AG. All Rights Reserved. 3 -99


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Add User Authorization levels


Each Operation in the HMI is linked to an Authorization level which the person must have to
carry out the function. Beside the Authorization levels of PCS 7 the operations in Cemat
require additional Authorizations (18 – 29) for specific functions.
Each User group/User may get the permission for certain authorization levels in certain areas.
The Authorization levels, User groups and Users are defined in the WinCC Configuration
Studio and can be imported from a predefined file.
Open the WinCC Configuration Studio for User Administrator
In order to import the additional Authorization levels 18 - 29 use function Edit → Import,
browse to D:\CEMAT_CS\IMPORT, select Excel Workbook Import_AuthorizationLevels.xlsx
and press Button Import.
After the import you will have the following Authorization levels:

If operations shall be permitted to restricted personal only, additional user rights can be
defined.
Authorization levels “25 - Edit Recipe” and “26 – Edit Material Assignment” are currently not
used.

3 -100 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Update the WinCC Project with Cemat Functions


In the following step the WinCC Project gets updated with the Cemat functions. During the
Cemat installation the Cemat WinCC files are copied into folder D:\CEMAT_CS\WinCC under
GraCS, Libray, PRT and WScipts. These files must now be copied to the equivalent folders of
the OS Project.
Additionally, some PDLs are available in different Screen resolutions (1280x1024,
1600x1200, 1680x1050, 1920x1080 or 1920x1200) and must be exchanged.
GraCS-Files for which different Screen Resolutions exist:

1280x102 1600x1200 1680x1050 1920x1080 1920x1200


4
@AlarmOneLine.pdl x x x x

In order to update the WinCC Project, please go to D:\CEMAT_CS and start


'CematProjectUpdate.exe'.

The Source must be D:\CEMAT_CS


Under OS Project - Destination you have to enter destination (Directory of the OS Project)
Under OS Project Sub Directories you find the Subfolders which get copied during the
update (cannot be modified).
Select the desired Screen Resolution for your Project (1280x1024, 1600x1200, 1680x1050,
1920x1080 or 1920x1200). Via an option, during the OS Project Update the above listed
Standard pictures are exchanged according to the screen resolution.
Press button 'Update OS Project' and the files will be copied to the corresponding directories.
One by one the directories GraCS, Library, PRT and WScripts are copied into your OS
Project and after this the PDLs are exchanged by the proper Screen Resolution. You have to
acknowledge each step with OK and everything is entered into a LOG file.

Copyright  Siemens AG. All Rights Reserved. 3 -101


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

During the update procedure the following GraCS files are overwritten by Cemat files.
@AlarmOneLine.pdl Alarm line
@Language.pdl Language Selection
@Logo.pdl CEMAT Logo
@PG_Intlk02_Standard.pdl Interlock faceplate
@PG_Intlk04_Standard.pdl Interlock faceplate
@PG_Intlk08_Standard.pdl Interlock faceplate
@PG_Intlk16_Screen2.pdl Interlock faceplate
@PG_Intlk16_Standard.pdl Interlock faceplate
IM153_1N.bmp Bitmap

After the update of the WinCC Project, proceed as follows:


- Open the WinCC Project.
- Open 'Global Script' selecting C-Editor and regenerate Header. (Menu Options ->
Regenerate Header)

3 -102 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Tab “Basic Data”


Make sure that the system files which are modified by Cemat are deselected in the OS
Project Editor under Basic Data. Otherwise, the next time when you run the OS Project Editor
(e. g. in order to change the Area definition) the Cemat PDLs are overwritten by the PCS 7
system files.

Caution: The OS Project Editor is started in the background if you change the global
! message configuration in the SIMATIC Manager.

Configuration of Button sets


The Button sets can be configured centrally in the SIMATIC Manager under Options →
Central OS Settings → Button sets in Runtime.
The WinCC Project will be opened and the available keys will be determined. After this the
buttons these can then be selected for button set 1 or 2.
As the settings apply to all OS Projects, you will find the description at the end of the
document.

Copyright  Siemens AG. All Rights Reserved. 3 -103


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Generating and loading of the Server Data


In order to make the Server data available for the client, the Server data (Package) must be
created on the Server Project and the OS Server must be assigned to the client.
There are three options to create the Server data:
- During OS Compile to the Server select the option “Create server data”.
- Via selecting the OS-Project of the Server with the right Mouse Button and choosing the
Option “Generate Server Data…”.
- The same function you will find in the SIMATIC Manager under Options → OS →
Generate Server Data.
In order to assign the OS Server to the Client:
- Select the OS-Project of the OS Client in the SIMATIC Manager with right Mouse button
and choose “Assign OS Server…”
- The same function you will find in the SIMATIC Manager under Options → OS → Assign
to Server…
- In order to load the Server data on the OS Client, open the OS Client Project, select
Server data → Loading…, browse to the package file in the OS Server Project and select
the Package file (.pck).
Once the Server data is loaded the package gets automatically updated during compilation of
the OS-Data.

Now open the OS Client Project. The configuration of the standard server and the selection of
the preferred server are carried out under WinCC.

Loading of the Server Data in a Client Project


To select the standard server, use context menu of Server data and select menu option
Standard server...
- Select the standard server (exclusively!) for the components Alarms, SSM and User
Archives.

SSM = Split Screen Manager (e. g. the curve selection will be stored on the here selected
Server).

3 -104 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Selection of a Preferred Server


To distribute the load for the servers uniformly it is useful to connect a part of the Clients to
one Server and the other part to the Standby-Server.
Therefore a Preferred Server must be configured under Serverdata -> Configure ...
Example:

If the preferred Server is stopped the Client automatically switches to the Partner-Server.
Once the preferred Server runs again, the Client automatically switches back to the preferred
Server.

Copyright  Siemens AG. All Rights Reserved. 3 -105


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Selection of area specific Authorization levels


After the package is loaded the user groups and the users can be defined and the
authorization levels can be defined area specific.
You can e.g. enable a complete area or only certain operations within an area.
In the example we have defined the user groups “Administrator”, “Supervisor”, “Master
Operator”, “Operator” and “Guest”. Within these groups different users may exist.
With the level 2 “Authorization for area” it is defined which area is released for the user.
With the level 4 "Monitoring" is defined whether the area can be monitored.
With the level 5 „Process controlling“, it is defined whether a user is allowed to operate the
area. He will then also get the messages from this area and the horn is activated.
Example:

The user Operator01 is allowed to:


open, watch → System, Demo and 001_Examples
operate → Demo
Messages are only shown for areas which are enabled for Process controlling. Operator01
will get only the messages from the Demo area and he can acknowledge only these
messages.

3 -106 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Horn configuration
Via Horn configuration the alarm sounds can be defined per message class (and if needed
dependent on Priority, Source, Area or Event).
As the alarms are linked to authorization level “Process controlling” (users with this
authorization will see the alarms), the alarm sound must be linked to the same authorization.
The Horn configuration is defined in the WinCC Configuration Studio and can be imported
from a predefined file.
Before importing the horn configuration, switch WinCC to English (using Tools → Select
Language), otherwise you may not be successful.
Open the WinCC Configuration Studio for Horn configuration
In order to import the message assignment, select tab message assignment and use function
Edit → Import, browse to D:\CEMAT_CS\IMPORT, select Excel Workbook
Import_HornMessgeAssignment.xlsx and press Button Import.
After the import you will see the following message assignment:

In order to import the Signal Assignment for the different sounds, select tab signal assignment
and use function Edit → Import, browse to D:\CEMAT_CS\IMPORT, select Excel Workbook
Import_HornSignalAssignment.xlsx and press Button Import.
After the import you will see the following signal assignment:

Copyright  Siemens AG. All Rights Reserved. 3 -107


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

In case the import of the horn configuration does not work properly, the definition must be
carried out manually in the WinCC Configuration Studio.
Message Assignment:
Select tab “Message Assignment” in order to make the following settings:
Select the message classes

- Alarm - high and Alarm - low (Alarm)


- Warning -high and Warning - low (Warning)
- System message (System, requires acknowledgement)
- Failure (PLC process control message
- Process message.

and assign Authorization level “Process controlling” and the corresponding horn Tag (the
CEMAT Horn Tags have already been imported and you will find it in the internal tags, folder
“Horn”).

Signal Assignment:
Select tab “Signal Assignment” in order to define for each variable an individual sound.
A sample of different sounds you find in directory D:\CEMAT_CS\Sounds.

3 -108 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Under “Properties” you can configure the Horn acknowledgement and how you want to play
the sounds.
Acknowledgement:
- For stand-alone WinCC Clients the Horn Acknowledgement is “only local”.

- For WinCC Clients with signal devices acting in unison a Reset Variable must exist on in
the Tag Management of the Server. This tag you have already created during the Server
Configuration.

In this case select the Horn acknowledgement option „Multiple acknowledgement using
tags” and after that select the reset variable from the internal variables of the Server.

- For further details refer to PCS 7 descriptions

Copyright  Siemens AG. All Rights Reserved. 3 -109


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

Configuration of button sets


As mentioned above, the button sets can be configured centrally in the in the SIMATIC
Manager under Options → Central OS Settings → Button sets in Runtime.
The WinCC Project will be opened and the available keys will be determined. After this the
buttons these can then be selected for button set 1 or 2.
After updating the WinCC Project with Cemat Functions the additional keys “area journal list”,
“area operation list” and “Display/Hide Tag” are available.
- Key “area journal list” and “area operation list” open the related Message list with Filter for
the actual AREA
- Key “Display/Hide Tag” can be used to show or hide the Tagname of the block icons
You may select the available keys into Button set 1 or 2 according to your requirement and
arrange it.

After this you need to transfer the settings into the OS-Projects. The transfer is carried out in
the SIMATIC Manager under Options → Central OS Settings → Button sets in Runtime.
Detailed Information can be found in the PCS 7 Manual „Process control system PCS 7
Operator Station“, in section „Configuring the overview area“.

3 -110 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Time Synchronization
Time synchronization can be carried out in multiple ways, depending on your hardware and
network configuration.
The easiest way of synchronization is to define the OS Servers as time Master. The AS and
the Clients are defined as slaves. Please keep in mind that the AS works with Greenwich
Mean Time and all OS Stations must be configured for the same time zone.
But you may also use an external time master (e. g. SICLOCK).
We cannot describe all possible options in this manual and kindly suggest consulting the PCS
7 Manuals and FAQs and if necessary the PCS 7 hotline support. The most important
documents you find with the following links:

For the time synchronization:


https://support.industry.siemens.com/cs/ww/en/view/109754988

For the NTP configuration of the PCs:


http://support.automation.siemens.com/WW/view/en/61931975

At this point we only want to emphasize the importance of the time synchronization in the
system. If the time is not synchronized within your control system the alarm system and the
archiving will not work properly. Even the timer functions in the Cemat blocks program are
affected by wrong time stamps.

Copyright  Siemens AG. All Rights Reserved. 3 -111


Installation of a PCS7 Project Engineering Manual CEMAT V9.0 SP2

How to create a PDL Cache


To display the runtime pictures, WinCC normally accesses the corresponding WinCC Server
and Retrieves the current pictures form it. Using the Picture Cache, it is possible to store the
WinCC pictures locally for display in runtime. When a Picture Cache is used, the WinCC
Client does not need to reload the pictures continually. Thus, shorter picture change times
can be achieved.
The required pictures must be manually saved on the computer which should use the Picture
Cache. To do this, create a folder on the computer in the standard directory
C:\…..\Siemens\WinCC\Bin\PDLCache. The name of the folder must be the symbolic
computer name of the package stored on the server, e. g. OS_OSSRV

The settings for the PDL Cache are carried out under Computer Properties, Register Runtime.
There you can select the following options for reading the Cache.
not The Picture Cache will not be used
Preferred Modified pictures will be read from Server, unchanged pictures will be
read
from the Picture Cache.
Always The pictures will always be read from the Picture Cache.
Under “Path” you have the possibility to choose a different Location where the pictures are
stored. The Path specification must only be entered up to the directory in which the
PDLCache folder is located. If the standard directory is used, the path doesn’t need to be
specified.

3 -112 Copyright  Siemens AG. All Rights Reserved.


Engineering Manual CEMAT V9.0 SP2 Installation of a PCS7 Project

Copyright  Siemens AG. All Rights Reserved. 3 -113

You might also like