03 PCS7 Project 009
03 PCS7 Project 009
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
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.
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.
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.
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!
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”
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.
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.
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!
Configuration Editor
In the Configuration Editor add the WinCC Application according to the Station Type and give
the correct Station Name.
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)
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.
File Structure
After running the Setup the CEMAT specific files are located in drive D, directory CEMAT_CS.
D:\CEMAT_CS
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
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=
[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
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:
Confirm with OK
Select the Multiproject in the SIMATIC Manager and use Multiproject -> Create in Multiproject
to create the first Project within the Multiproject.
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.
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.
Choose the installed languages in the project and select the default language.
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.
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).
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.
Under “Start-up after Power ON” Warm Restart must remain selected
Under “Start-up after Power ON” Warm Restart must remain selected
Scan cycle monitoring time and Minimum scan cycle time cannot be configured.
Select Clock Memory. The memory Byte must be 0
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.
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.
Under Time-of-Day Synchronization, SIMATIC Mode you have to activate the time-of-day
synchronization for the CP:
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.
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).
Note: It is important to use exactly the same Configuration as it is defined with the
! commissioning wizard.
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.
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.
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.
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.
Client Client
01 02
Terminal Bus*)
Server Server ES
Standby
Plant Bus
*) 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.
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:
After the Network is merged the Network Connections between OS Stations and the AS
Stations can be defined.
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.
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”.
Enter the Network Connections between all the OS Stations (Server, Standby-Server and
Single Station) and the AS.
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.
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:
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".
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).
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!
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.
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.
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).
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.
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:
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.
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.
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.
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: 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.
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!
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.
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.
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”
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!
!
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:
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
Archive Configuration
Under Messages → Archive Configuration → Properties the Archive Configuration must be
adapted according to the requirements of your 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.
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.
User Archives
WinCC User Archives are used for the following CEMAT Functions:
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.
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.
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
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
Object type Operation Right/ default right Instance specific settings Project
possible via Attribute Code
C_RUNNT Reset 23: System Operations all
OS_PermissionLog
Block
OS Commands
Feature Bit
C_INTLK2
C_INTLK4
C_INTLK8
Parameter
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:
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
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.
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
Caution: The OS Project Editor is started in the background if you change the global
! message configuration in the SIMATIC Manager.
Caution: Only use the block icons which fit to your Project version. Using block icons from
! different project versions does not guarantee full functionality.
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.
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.
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.
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.
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.
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”
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
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:
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
Archive Configuration
Under Messages → Archive Configuration → Properties the Archive Configuration must be
adapted according to the requirements of your 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.
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.
User Archives
WinCC User Archives are used for the following CEMAT Functions:
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.
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.
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
Caution: Only use the block icons which fit to your Project version. Using block icons from
! different project versions does not guarantee full functionality.
3. Activate the redundancy also for the user archives C_INFO and C_DriveList.
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.
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.
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: 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.
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!
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).
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”
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.
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
Caution: The OS Project Editor is started in the background if you change the global
! message configuration in the SIMATIC Manager.
Now open the OS Client Project. The configuration of the standard server and the selection of
the preferred server are carried out under WinCC.
SSM = Split Screen Manager (e. g. the curve selection will be stored on the here selected
Server).
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.
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:
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
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.
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.
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“.
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:
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.
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.