Time synchronization (V8.0 SP1)

Time synchronization (V8.0 SP1)
SIMATIC
Process Control System PCS 7
Time synchronization (V8.0 SP1)
Function Manual
Valid for PCS 7 as of V8.0 SP1
05/2013
A5E02779849-03
Preface
1
Fundamentals
2
Configurations for time
synchronization of a PCS 7
plant
3
Planning time
synchronization
4
Configuring time
synchronization
5
Checking time
synchronization
6
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified
personnel are those who, based on their training and experience, are capable of identifying risks and avoiding
potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG
GERMANY
A5E02779849-03
Ⓟ 06/2013 Technical data subject to change
Copyright © Siemens AG 2013.
All rights reserved
Table of contents
1
Preface.........................................................................................................................................................7
2
Fundamentals ............................................................................................................................................11
3
4
5
2.1
Using time synchronization in PCS 7..........................................................................................11
2.2
Time synchronization options for PCS 7 components.................................................................13
2.3
Time displayed in PCS 7.............................................................................................................13
2.4
Time synchronization in distributed PCS 7 plants.......................................................................14
2.5
Central plant clock.......................................................................................................................16
2.6
Time levels for a PCS 7 plant (stratum).......................................................................................17
2.7
2.7.1
2.7.2
2.7.3
2.7.4
Time synchronization in PCS 7 - mode of operation...................................................................19
Time sources for a PCS 7 plant...................................................................................................19
Time master, time slave, and cooperative time master...............................................................20
Legend for figures used in this documentation............................................................................22
Example of the time synchronization sequence..........................................................................22
2.8
2.8.1
2.8.2
2.8.3
2.8.4
2.8.5
Network environment of a PCS 7 plant.......................................................................................24
Overview......................................................................................................................................24
Network environment within a domain.........................................................................................25
Network environment within a work group...................................................................................26
Network environment in redundant, high-availability networks....................................................26
Network environment on separate networks with one central plant clock...................................28
Configurations for time synchronization of a PCS 7 plant..........................................................................31
3.1
Overview of recommended configurations..................................................................................31
3.2
Rules for time synchronization in PCS 7.....................................................................................32
3.3
3.3.1
3.3.2
Configurations for time synchronization in a work group.............................................................33
Configuration in a work group with central time master...............................................................33
Configuration in a work group without central time master..........................................................35
3.4
3.4.1
3.4.2
3.4.3
Configuration for time synchronization in a Windows domain.....................................................36
Configuration in a Windows domain with a hierarchy with central time master ..........................36
Configuration in a Windows domain with a hierarchy without central time master......................39
Configuration in a Windows domain with multiple hierarchies.....................................................41
Planning time synchronization....................................................................................................................43
4.1
Selecting the time master............................................................................................................43
4.2
Selecting the central plant clock..................................................................................................44
Configuring time synchronization ...............................................................................................................47
5.1
Introduction..................................................................................................................................47
5.2
5.2.1
Overview of configuration steps, depending on the configuration...............................................49
Time synchronization in a work group.........................................................................................49
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
3
Table of contents
5.2.1.1
5.2.1.2
5.2.2
5.2.2.1
5.2.2.2
Time synchronization in a work group with central time master..................................................49
Time synchronization in a work group without central time master.............................................51
Time synchronization in a Windows domain...............................................................................52
Time synchronization in a Windows domain with a hierarchy with central time master..............52
Time synchronization in a Windows domain with a hierarchy without central time master.........54
5.3
5.3.1
5.3.2
5.3.3
Commissioning a central plant clock...........................................................................................56
Commissioning the SICLOCK TC x00.........................................................................................56
Commissioning GPS receivers....................................................................................................59
Commissioning the DCF 77 receiver...........................................................................................61
5.4
5.4.1
5.4.2
5.4.2.1
5.4.2.2
5.4.3
5.4.3.1
5.4.3.2
5.4.4
5.4.4.1
5.4.5
Configuring the time synchronization for PC stations with OS....................................................63
How to assign parameters for a CP 16x3 / CP 16x8 communications processor.......................63
Setting the time displayed...........................................................................................................64
How to configure the operator station display.............................................................................64
How to convert the local time zone and daylight saving time parameters...................................66
Parameter assignment for an OS server in a work group...........................................................68
How to assign parameters for an OS server in a work group with central time master...............68
How to assign parameters for an OS server in a work group without central time master..........71
Parameter assignment for an OS server in a Windows domain..................................................73
How to assign parameters for an OS server in a Windows domain with a hierarchy with central
time master..................................................................................................................................73
How to assign parameters for an OS server in a Windows domain with a hierarchy without central
time master..................................................................................................................................76
How to assign parameters for an OS client ................................................................................79
5.5
5.5.1
5.5.1.1
5.5.1.2
Configuring time synchronization for a PC station without OS ...................................................80
Overview of configuration steps..................................................................................................80
How to make DCF 77 Client Service settings on a PC station without OS.................................80
How to synchronize PC stations without OS using the NTP mode.............................................81
5.6
5.6.1
5.6.2
5.6.2.1
5.6.2.2
5.6.3
5.6.3.1
5.6.3.2
Configuring time synchronization on an AS.................................................................................83
Time synchronization with central plant clock and S7-400 modules...........................................83
Configuration 1............................................................................................................................85
Explanations for configuration 1..................................................................................................85
How to configure configuration 1.................................................................................................86
Configuration 2............................................................................................................................88
Explanations for configuration 2..................................................................................................88
How to configure configuration 2.................................................................................................89
5.7
5.7.1
5.7.2
5.7.3
5.7.4
5.7.5
Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
.....................................................................................................................................................90
Overview of time synchronization for SIMATIC PCS 7 BOX RTX and SIMATC PCS 7 AS RTX90
How to set the time synchronization source................................................................................91
How to set the OS properties......................................................................................................93
How to configure the time synchronization for the AS.................................................................94
How to set OS time synchronization............................................................................................94
5.8
5.8.1
5.8.2
5.8.3
Configuring time synchronization with multiple networks............................................................96
Configuring time synchronization for separate networks using a central clock...........................96
How to configure SCALANCE X414-3E for separation of time frames.......................................97
How to configure an OSM/ESM for separation of time frames....................................................99
5.9
5.9.1
Configuring redundant PCS 7 systems.....................................................................................100
How to configure time synchronization of OS servers with a redundant communication module
and external clock......................................................................................................................100
5.4.4.2
4
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Table of contents
6
5.9.2
How to configure time synchronization on a PCS 7 system with redundant bus system..........101
5.10
5.10.1
Configuring the time synchronization of the domain controllers (DC).......................................101
How to configure time synchronization of the domain controller...............................................101
Checking time synchronization.................................................................................................................103
6.1
How to check the time of the PC stations..................................................................................103
6.2
How to check the time on an OS server with CP 16x3 / CP 16x8.............................................104
6.3
How to configure the status check of the time master role of the OS server ............................105
Glossary....................................................................................................................................................107
Index.........................................................................................................................................................111
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
5
1
Preface
Purpose of this documentation
The time synchronization documentation provides support for the configuration and
commissioning of the "time synchronization" function in a PCS 7 plant.
The documentation provides information about the following topics:
● Time synchronization in a PCS 7 plant
● Planning time synchronization in a PCS 7 plant
● Configuring time synchronization for a PCS 7 plant
Note
You can find information on high-precision time stamping in the function manual PCS 7
Process Control System; High-precision time stamping.
Structure
The documentation is organized according to the following topics:
● Fundamentals of time synchronization mode of operation in a PCS 7 plant
● Configuration possibilities of PCS 7 with time synchronization
● Planning a PCS 7 plant with time synchronization
● Configuring the time synchronization for different plant configurations
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
7
Preface
Target group and benefit
This documentation is intended for personnel working in the fields of sales, planning, and
configuration:
Target group
Using the documentation
Target-group relevant chapters of the
documentation
Sales
Sales personnel give clear advice to their ● "Fundamentals"
customers on implementing the "time
● "Configurations for time
synchronization" function in a PCS 7 plant.
synchronization of a PCS 7 plant"
● "Planning time synchronization"
Planning
The system planner uses the information
in the documentation for optimal set up
and the components necessary in this
regard for planning a PCS 7 plant with the
"time synchronization function".
Configuration The configuration engineer is provided
with exact instructions relative to the "time
synchronization" function; these
instructions show the specific steps that
are necessary to adjust the time
synchronization at all relevant points.
● "Fundamentals"
● "Configurations for time
synchronization of a PCS 7 plant"
● "Planning time synchronization"
● "Configuring time synchronization"
Options for accessing PCS 7 documentation
Note
PCS 7 Readme
The information given in the PCS 7 Readme on the Internet takes precedence over all the
PCS 7 manuals. Please read this PCS 7 Readme carefully; it contains important information
and amendments on PCS 7.
● The PCS 7 Readme on the Process Control System; SIMATIC PCS 7 DVD contains
important information about PCS 7 and takes precedence over the supplied PCS 7
documentation.
● After installation of PCS 7, you can find the document Process Control System PCS 7;
PCS 7 Readme in the submenu SIMATIC > Product information > <Language>.
As of PCS 7 V8.0, you receive basic PCS 7 system documentation with the Process Control
System; SIMATIC PCS 7 DVD.
The PCS 7 Internet site www.siemens.de/pcs7-dokumentation (www.siemens.com/pcs7documentation) provides convenient access to the complete PCS 7 documentation. You can
find the following for current PCS 7 versions:
8
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Preface
● In the section "Hardware manuals for SIMATIC PCS 7 ..."
– The manuals for components approved for a PCS 7 version
● In the section "Software manuals for SIMATIC PCS 7 ..."
– The complete system documentation
– The separate setup program for PCS 7 documentation and the PCS 7 help system for
download. After the installation of the setup program, you can find the documentation
at the following locations on the Engineering Station:
- As online help (CHM file) for the SIMATIC Manager application
- As a PDF file in the Windows Start menu with the SIMATIC documentation
– The complete documentation for PCS 7 as a Manual Collection
Skills required
Only qualified personnel should commission and operate the PCS 7 products.
Skills in the following areas are prerequisite:
● STEP 7
● PCS 7
● "Automation technology"
● Basic WinCC skills
● For plants with a domain structure: Knowledge of the Windows administration
Changes compared to the previous version
Below, you can find an overview of the most important changes in the documentation compared
to the previous version.
New as of PCS 7 V8.0
● Synchronization for PC stations
For additional information, refer to the section "How to make DCF 77 Client Service settings
on a PC station without OS (Page 80)."
New since PCS 7 V8.0 SP1
● Central clock master SICLOCK TC 100
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
9
2
Fundamentals
2.1
Using time synchronization in PCS 7
Introduction
Plants in which Process Control Systems are used contain numerous components that
exchange data. Most plants require time synchronization for controlling processes and
information. There are additional requirements in terms of the documentation of event
sequences.
If the timing of components in the overall system is not synchronized, these tasks can only
be supported by the internal clock of the individual components.
Components that are equipped with an internal hardware clock (RTC = Real Time Clock)
include:
● Domain servers
● Servers
● Clients
● PC stations
● Automation systems
● I/O
● Sensors
26FOLHQWV
%$7&+FOLHQWV
5RXWH&RQWUROFOLHQWV
6,0$7,&,7
%$7&+VHUYHU
$UFKLYHVHUYHUV
7HUPLQDOEXV
26VHUYHU
(QJLQHHULQJ
VWDWLRQ
5RXWH&RQWURO
6HUYHU
3ODQWEXV
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
(70
+LJKDYDLODELOLW\
DXWRPDWLRQV\VWHPV
352),%86'3
)DLOVDIHDXWRPDWLRQ
V\VWHPV
352),%86'3
3&6%2;
352),%86'3
$XWRPDWLRQ
V\VWHPV$6
(70
11
Fundamentals
2.1 Using time synchronization in PCS 7
Time synchronization
Time synchronization means that one system component (time master) provides a precise
time for all the other components (time slaves). The time information (date and time) can either
be distributed by the time master, or be requested by the time slaves. This time information
must be evaluated within the system by all components for the overall task.
Time synchronization applications
The list below contains various examples of aspects requiring time synchronization of all
components within the process automation:
● Synchronizing processes
● Controlling complex sequences
● Logging and documenting sequences
● Validating processes
● Analyzing processes
● Analyzing the causes and effects of events
PCS 7 functions
The following list contains some of the key PCS 7 functions for which time synchronization is
absolutely necessary:
● Interpretation of causal relationships
● Message processing in correct sequence
● Time stamp
● Time-of-day interrupts
● Runtime meter
● Redundancy compare
● Batch monitoring
● Authentication of a domain client
12
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.3 Time displayed in PCS 7
2.2
Time synchronization options for PCS 7 components
Time synchronization for PCS 7 components
The table below shows the PCS 7 components for which time synchronization is possible:
Station
Time
synchronization
For more information, refer to the section ...
Operator station
● Via the terminal
bus
"Configuring the time synchronization for PC
stations with OS (Page 63)"
● Via the plant bus
PC stations without OS
● Engineering station
Via the operating
system
● "How to make DCF 77 Client Service settings on
a PC station without OS (Page 80)"
● "How to synchronize PC stations without OS
using the NTP mode (Page 81)"
● SIMATIC BATCH
station
● SIMATIC Route
Control station
● Process Historian
● Information Server
● SIMATIC IT
2.3
AS
Via the plant bus
"Configuring time synchronization on an AS
(Page 83)"
SIMATIC PCS 7 BOX
RTX
and SIMATIC PCS 7 AS
RTX
When integrated in a
PCS 7 plant
"Configuring the time synchronization for SIMATIC
PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
(Page 90)"
Domain controller
With a domain
controller as time
master on the
terminal bus
"Configuring the time synchronization of the domain
controllers (DC) (Page 101)"
Time displayed in PCS 7
Coordinated Universal Time (UTC)
Coordinated Universal Time (UTC) is an international time basis that takes as its precedent
the precision of atomic clocks. UTC refers to the Greenwich prime meridian in London.
UTC does not take daylight saving time into account.
Local time
East of the prime meridian, one or more hours is added to the universal time measured in
Greenwich, depending on the distance in question. West of the prime meridian, the hours are
subtracted.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
13
Fundamentals
2.4 Time synchronization in distributed PCS 7 plants
The following table shows some examples of time zones and their time differences in relation
to UTC:
Location
Time zone
Zone time
Time
Greenwich
0. Longitude
UTC = Coordinated Universal Time
UTC 12:00
Berlin
15. Eastern longitude
CET = Central European Time
UTC + 1h: 13:00
Moscow
45. Eastern longitude
MSK = Moscow Time
UTC + 3h: 15:00
Tokyo
120. Eastern longitude
JST = Japan/Korea Standard Time
UTC + 9h: 21:00
Buenos Aires
45. Western longitude
No designation
UTC – 3h: 9:00
Daylight saving time/standard time
A number of countries have introduced conversion of standard time (local time) to daylight
saving time for the summer months.
Example:
In central Europe, standard time differs by plus one hour, while daylight saving time differs by
plus two hours in relation to standardized universal time (UTC).
UTC
CET standard time
CEST daylight saving time
12:00
UTC + 1h = 13:00
UTC + 2h = 14:00
Time display in process mode
In PCS 7, the operator can toggle the time displayed on the operator station between UTC
and local time while the plant is in process mode. The operator station can display the local
time, including daylight saving time and standard time.
Note
If time-dependent data of different time zones is displayed or processed on a PCS 7
component, then use UTC for display on the operator station as well.
2.4
Time synchronization in distributed PCS 7 plants
Introduction
PCS 7 supports system configurations where subcomponents are installed at different
locations, or even in different time zones. An example would be the installation of an automation
system and an operator station at different locations. The time must be synchronized for the
entire PCS 7 plant in order to optimize the sequence of all the processes.
In PCS 7, the times of subcomponents are directly synchronized within a time zone. PCS 7
uses the "time synchronization" function to synchronize different time zones.
14
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.4 Time synchronization in distributed PCS 7 plants
Time response in distributed PCS 7 plants
The following figure shows that time jumps may occur in process control systems (for example,
in the alarm lists) if there is no time synchronization. The processes do not run synchronously:
2SHUDWRUVWDWLRQ
%HUOLQ
0HVVDJHV
$XWRPDWLRQV\VWHP
If the times for the components of a distributed PCS 7 plant are synchronized, all of the
processes will run in correct chronological order and will be archived correctly.
2SHUDWRUVWDWLRQ
%HUOLQ
0HVVDJHV
7LPHV\QFKURQL]DWLRQ
$XWRPDWLRQV\VWHP
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
15
Fundamentals
2.5 Central plant clock
Rules for configuring distributed PCS 7 plants
Since PCS 7 plants generally operate on the basis of UTC internally, their specific components
can be distributed on a global scale. In order to safeguard the interplay of components - even
across different time zones - please observe the following:
● Use UTC as the common time base in all PCS 7 plants. All plant components running with
UTC will display the same time after time synchronization.
● Set up a PC station as a PCS 7 Web server in all PCS 7 plants, using the PCS 7 OS web
option. This approach allows you to access the PCS 7 Web Servers of the PCS 7 plants
at company headquarters with multiple Web clients (in PCS 7: WebNavigator Client or
WebNavigator Diagnostics Client). You can convert the time display on the Web client to
the local system time. Please note the resulting time difference.
● If monitoring a PCS 7 plant in a different time zone on an OS, you can convert the time
displayed from UTC to the local system time using the OS control panel. Please note the
resulting time difference.
Note the following for preventing an external synchronization:
Note
Time message frames from external networks
If the process control system is distributed among several networks or there are
connections to the Internet or an intranet, time frames of external networks must not be
routed to the process control system.
Connect the company network and the systems using network components that enable
separation of the time frames, e.g., via a router. Configure those network components so
that forwarding of time message frames is blocked.
Further information
● Section "Setting the time displayed (Page 64)"
● WinCC online help
2.5
Central plant clock
Using a central plant clock
You should always synchronize all Process Control Systems using either a precise time or a
standard time. In the case of PCS 7 plants, we recommend performing synchronization by
means of a central plant clock. The central plant clock manages the time centrally for the entire
plant and synchronizes all of the other plant components via their interfaces.
Recommendation:
We recommend the use of SICLOCK TC x00 as the central plant clock. The central plant clock
should be synchronized with a time standard, e.g., with GPS or DCF 77. This will ensure that
a correct reference to the actual time is provided at all times.
16
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.6 Time levels for a PCS 7 plant (stratum)
Standard time
The following standard times are typical for PCS 7 plants:
● GPS
The GPS signal is provided by a global satellite system.
● DCF 77
The DCF 77 signal is available in the Federal Republic of Germany and in certain parts of
Europe via corresponding radio receivers.
2.6
Time levels for a PCS 7 plant (stratum)
Introduction
Time synchronization of a system involves one component synchronizing the next component
by forwarding a time message frame. Forwarding time message frames will result in time
delays. You should make allowances for this fact when setting up a PCS 7 plant.
The following figure shows an example of a PCS 7 plant configuration with several domains:
8QLW
'RPDLQ
8QLW
8QLW
'RPDLQ
'RPDLQ
6,&/2&.
&HQWUDOSODQWFORFN
8QLW
8QLW
'RPDLQ
8QLW
8QLW
7LPHGLIIHUHQFH
Definition stratum
A PCS 7 plant component such as the central time clock (SICLOCK) receives the definitive
time from an external time source (e.g. a GPS signal) and forwards it to other components to
be synchronized. As a result, the SICLOCK is the time master for those components whose
time is determined in relation to the SICLOCK time. Components which are capable of
providing a time are considered time masters if other components use their time information.
All time masters form a hierarchy that consists of higher-level and lower-level time masters.
Relative position within this hierarchy is designated with a number; the "stratum". Multiple time
masters may be located within a single stratum. These time masters use the time frame at the
same point in time to synchronize their own clock.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
17
Fundamentals
2.6 Time levels for a PCS 7 plant (stratum)
The stratum indicates the following:
● The number of time levels between the stratum in which the time master is located and the
stratum in which the time source (e.g. the GPS satellite) is located
● The time level where the components in a network are located
Time synchronization using strata
The following figure shows an example of time synchronization using strata:
8QLW
'RPDLQ
8QLW
8QLW
'RPDLQ
7LPHVLJQDO
*36'&)
'RPDLQ
8QLW
6,&/2&.
&HQWUDOSODQWFORFN
8QLW
'RPDLQ
8QLW
8QLW
6WUDWXP
6WUDWXP
6WUDWXP
7LPHPDVWHU
6WUDWXP
7LPHPDVWHU
6WUDWXP
7LPHPDVWHU
The above example shows time synchronization with the following structure:
● Stratum 0
The time source is an atomic clock. This atomic clock synchronizes the GPS satellites or
the DCF 77 senders, for example.
● Stratum 1
The central plant clock (SICLOCK) obtains the time via a radio signal (e.g. GPS decoder
or DCF 77 receiver). SICLOCK transfers the time to domain controller 1 in stratum 2.
● Stratum 2
Domain controller 1 is the time slave of the central plant clock. Domain controller 1 transfers
the time to several domain controllers in stratum 3. Domain controller 1 is the time master
of the domain controllers in stratum 3.
● Stratum 3
The domain controllers in stratum 3 synchronize the time of their own plant units in stratum
4. The domain controllers in stratum 3 are the time masters of their own plant units.
● Stratum 4
The plant unit components are time slaves.
18
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.7 Time synchronization in PCS 7 - mode of operation
Meaning of the strata for a PCS 7 plant
The higher the stratum is, the greater the possible time difference from the original source will
be for the time frame. As time forwarding in a network also takes time, the time of lower strata
time masters is more precise than the time of higher strata time masters.
Rules for planning a PCS 7 plant taking strata into account
Comply with the following rules when planning time synchronization to ensure that the time of
the time master does not deviate too much from the time of the components in the lowest
stratum:
● Use as few strata as possible.
● In most cases using a maximum of four strata is recommended.
● Use the same strata for the same structure elements.
When planning a PCS 7 plant to be synchronized, you should define exactly which hierarchy
would be best for receiving and forwarding the time.
2.7
Time synchronization in PCS 7 - mode of operation
2.7.1
Time sources for a PCS 7 plant
Overview
In PCS 7 plants, it is necessary to define which component is capable of providing the plant
with a satisfactory time in terms of quality. You can use either internal or external time sources
for this purpose.
Suitability
External time source
Internal time source
External time sources provide an ultraprecise time and are suitable for all plant
configurations.
Internal time sources supply a continuous time frame. The
time provided does not have to match the local time or
Coordinated Universal Time (UTC).
Note:
Internal time sources are generally not approved for the
validation of processes.
Examples
● GPS decoders
● DCF 77 receivers
BIOS clock for a component without external time
synchronization.
● External NTP server
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
19
Fundamentals
2.7 Time synchronization in PCS 7 - mode of operation
Internal time source for a PCS 7 plant
Using an internal time source ensures system-wide time consistency. This time does not have
to agree with real UTC or with real local time. The following table shows which internal time
source can be used for the time master:
Internal time source
Requirement
Active time master
RTC of the central plant clock
The central plant clock is connected to a PCS 7
plant network.
Central plant clock (also as NTP server)
RTC of the domain controller
The computer to be synchronized belongs to a
Windows domain.
Domain controller (also as NTP server)
For information on released domain controllers,
refer to the online PCS 7 readme associated with
the PCS 7 version.
RTC of the OS server
The real time is not important for the project.
OS server
External time source for a PCS 7 plant
Using an external time source ensures system-wide time consistency. This time matches UTC
or local time. The following table shows which external time source can be used for the time
master:
External time source
Requirement
Active time master of the PCS 7 plant
DCF 77 or GPS signal
Radio signal can be received, SICLOCK is
being synchronized
Central plant clock
NTP server
Internet connection
Domain controller
2.7.2
Time master, time slave, and cooperative time master
Introduction
To ensure that all Process Control System components operate with as precise a time as
possible, one system component must be the time source for all other components. The precise
time must be permanently available and be used for synchronization on a cyclical basis
(synchronization interval).
Time master
The component that provides the precise time within a bus system is referred to as the time
master. Only one component within a stratum can be the active time master.
Time slave
The time slaves within a bus system are components which receive or fetch their time from a
time master.
20
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.7 Time synchronization in PCS 7 - mode of operation
Cooperative time master
On OS servers, the communication processors used are selected and the “Master” option is
selected in the "Synchronization via System Bus (Master/Slave)" area of the "Time
Synchronization" editor in the OS project in WinCC Explorer.
The OS servers act as cooperative time masters, i.e., the first OS server active on the plant
bus to not receive a time frame on the plant bus switches automatically to time "master" mode.
All other OS servers on the plant bus detect the time message frame from the time master and
automatically switch to time "slave" mode.
A cooperative time master does not have to belong to a redundant server.
The following process is initiated at the startup of a PC station that is configured as a
cooperative time master. A time message frame must be received within the wait time once
the PC station has powered up. The wait time amounts to four times the set synchronization
interval.
Possible response of cooperative time masters within the phase until the wait time has expired:
● A cooperative time master that receives a time message frame from a different time master
within the wait time becomes a time slave.
● A cooperative time master that has not received a time message frame on expiry of the
wait time sends time message frames as the time master.
Within the set synchronization interval, all cooperative time masters check whether time
message frames have been received from the active time master on a cyclical basis. The first
cooperative master that detects three missing time message frames in succession assumes
the time master function. This ensures that only one time master exists.
Note
This setting applies both for the configuration with and without a central time master (central
plant clock e.g. SICLOCK TC 400).
Synchronization response
All time slaves and cooperative time masters on the terminal bus synchronize their internal
clock with the time message frames received . The time is synchronized as follows:
● Deviation ± 5 s:
Slowing/accelerating of the internal clock
● Deviation > 5 s:
Immediate reset (possible errors: Data packets sent off prior to the change will have more
recent time stamps than those sent off later)
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
21
Fundamentals
2.7 Time synchronization in PCS 7 - mode of operation
2.7.3
Legend for figures used in this documentation
Legend for configuration figures used in this documentation
Note
The individual components are identified in the figures below as follows:
● A dashed line begins at a component
Components with red dashed lines leading away from them are time masters in this
network.
● An arrow points to a component
Components to which an arrow is pointing are time slaves in this network. (Exception: (M)
on a component)
● (M) at a component next to a bus system
An (M) at a component next to a bus system marks this component as a cooperative time
master for this bus system.
26FOLHQWV
7HUPLQDOEXV
6,&/2&.
26VHUYHU
0
3ODQWEXV
$6
2.7.4
$6
Example of the time synchronization sequence
Introduction
Time synchronization in a work group with central plant clock (SICLOCK) is described in the
following.
22
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.7 Time synchronization in PCS 7 - mode of operation
The SICLOCK is the time master.
Note
CPU types with integrated Ethernet interface that support only the NTP mode are
synchronized only with the use of a central plant clock.
Time frame of the SICLOCK central plant clock is received by PCS 7 components
The following figure shows an example of the time synchronization.
26FOLHQWV
7HUPLQDOEXV
6,&/2&.
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
In this figure, the SICLOCK is the time master for the plant.
The SICLOCK sends time frames to the plant bus.
The OS servers and the automation systems (AS) receive the time frames from the plant bus.
The OS clients obtain the time frames from the OS server.
Time frame of the SICLOCK central plant clock is not received by PCS 7 components
The following figure shows an example of time synchronization for the scenario that the time
frames sent by the SICLOCK cannot be received by the PCS 7 components.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
23
Fundamentals
2.8 Network environment of a PCS 7 plant
26FOLHQWV
7HUPLQDOEXV
6,&/2&.
26VHUYHU
26VHUYHU
0
0
3ODQWEXV
$6
$6
The time frames sent by the SICLOCK cannot be received by the components on the plant
bus.
The interruption can be caused by a network interruption of failure of the SICLOCK.
If the OS servers act as cooperative time masters on the plant bus, the OS server that is the
first to detect the loss of the time frame becomes the time master on the plant bus.
The OS server that becomes the time master sends the time frame to the plant bus and the
terminal bus.
The automation systems receive the time frame from the plant bus.
Note
OS servers acting as cooperative time masters send only time frames in the SIMATIC mode.
For this reason, CPU types with integrated Ethernet interface that support only the NTP mode
are not synchronized.
The OS clients obtain the time frames from the OS server.
2.8
Network environment of a PCS 7 plant
2.8.1
Overview
Network configuration for time synchronization in PCS 7
The sections that follow provide examples of network configurations for time synchronization
in PCS 7.
● Network environment within a domain (Page 25)
● Network environment within a work group (Page 26)
24
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.8 Network environment of a PCS 7 plant
● Network environment in redundant, high-availability networks (Page 26)
● Network environment on separate networks with one central plant clock (Page 28)
2.8.2
Network environment within a domain
Central plant clock
The SICLOCK TC 400 is particularly suitable for operation as a central plant clock within a
domain, since the SICLOCK has 4 independent Ethernet interfaces.
Structure
The following figure illustrates the recommended configuration for a PCS 7 plant in a Windows
domain with a central time clock:
6,&/2&.
26FOLHQWV
7HUPLQDOEXV
'&
26VHUYHU
0
3ODQWEXV
$6
$6
Time synchronization in a domain
The time is synchronized within a domain as follows:
● Time synchronization via plant bus
The plant bus is synchronized using the SICLOCK TC 400.
The synchronization modes are dependent on the type of CPU or CP that is used.
● Time synchronization via terminal bus
The domain controllers are synchronized directly by the central plant clock using the NTP
mode.
The domain controllers synchronize all domain members using the NTP mode.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
25
Fundamentals
2.8 Network environment of a PCS 7 plant
2.8.3
Network environment within a work group
Central plant clock
The SICLOCK TC 400 is suitable for operation as a central plant clock.
Structure
The following figure illustrates the recommended configuration for a PCS 7 plant in a work
group with a central time clock:
26FOLHQWV
7HUPLQDOEXV
6,&/2&.
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
Time synchronization in a work group
The time is synchronized within a work group as follows:
● Time synchronization via plant bus
The plant bus is synchronized using the SICLOCK.
The OS servers and the automation systems receive the time from the central plant clock.
These are time slaves.
● Time synchronization via terminal bus
The OS clients receive their time from an OS server. OS clients only receive the time from
those OS servers from which they also loaded the server data.
2.8.4
Network environment in redundant, high-availability networks
Introduction
Always install redundant networks in a PCS 7 plant as a precaution against production losses
caused by failures in the network connections. This will ensure that communication via the
redundant network will remain intact if an area of the terminal bus fails. The domain controllers
synchronize one another's time based on Windows mechanisms.
26
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.8 Network environment of a PCS 7 plant
Central plant clock
The SICLOCK TC 400 is suitable for operation as a central plant clock. SICLOCK can distribute
the time frame directly to the networks of the plant.
Structure
The figure below illustrates the recommended configuration for a PCS 7 plant with a redundant
network structure (redundant terminal bus and plant bus):
6,&/2&.
'&3'&
'&
'&
7HUPLQDOEXV
26VHUYHU
0
26VHUYHU
VWDQGE\
0
3ODQWEXV
$6
$6
Time synchronization in redundant fault-tolerant networks in a domain
The time is synchronized as follows:
● Time synchronization via plant bus
The plant bus is synchronized using the SICLOCK TC 400.
The synchronization modes are dependent on the type of CPU or CP that is used.
● Time synchronization via terminal bus
The domain controllers are synchronized directly by the central plant clock using the NTP
mode.
The domain controllers synchronize all domain members using the NTP mode.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
27
Fundamentals
2.8 Network environment of a PCS 7 plant
2.8.5
Network environment on separate networks with one central plant clock
Central plant clock
If you must synchronize more than 4 networks using a central plant clock (e.g., SICLOCK TC
400) as the time source, you can use suitable switches in order to provide the time to the
individual networks. The switch is only used to distribute time message frames. The remaining
plant structure is identical to the relevant plant configuration.
Structure
The following figure illustrates the recommended configuration for a PCS 7 plant on separate
networks using a single SICLOCK as the central plant clock:
'&
6,&/2&.
6&$/$1&(
;(
7HUPLQDOEXV
26VHUYHU
26VHUYHU
3ODQW
3ODQW
3ODQW
3ODQW
Time synchronization on separate networks with one central plant clock
Note
You must ensure that each network only contains one time master for providing the time.
Separate message frame traffic between the networks.
Use the switch to transmit only the time frames from the central plant clock to the respective
network.
The function for separating message frame traffic is dependent on the components used for
connecting the networks.
● Use of suitable SCALANCE switches (e.g., SCALANCE X414-3E)
Function: Access control
● Use of an OSM/ESM
Function: Port lock
28
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Fundamentals
2.8 Network environment of a PCS 7 plant
Bidirectional communication is disabled if the corresponding function is activated.
Further information
● SICLOCK Application Note AN-002 (http://www.automation.siemens.com/mcms/topics/en/
siplus/timesynchronisation/Documents/App_Note_0002.pdf)
● Configuration Manual Industrial Communication; Industrial Ethernet Switches; SCALANCE
X-300; SCALANCE X-400
● User Manual SIMATIC NET; Industrial Ethernet OSM/ESM; Industrial Ethernet OSM/ESM
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
29
Configurations for time synchronization of a PCS 7
plant
3.1
3
Overview of recommended configurations
Introduction
Various techniques are possible for time synchronization. The structure of a PCS 7 plant with
time synchronization requires careful planning in order to prevent any undesired results. Use
one of the following configurations to support you in planning your PCS 7 plant.
Recommended configurations
Plant type
Time synchronization in a
work group
Time synchronization in a
Windows domain
Recommend Configuration
ation
1
Time synchronization with a central time master
(Page 33)
2
Time synchronization without a central time master
(Page 35)
3
Time synchronization with a central time master
(Page 36)
4
Time synchronization without a central time master
(Page 39)
Configurations in Windows domains
Note
This document divides the recommended configurations for time synchronization in a
Windows domain (recommendations 3 and 4) on the basis of hierarchy levels. The sections
that follow shows the structure in configurations with different hierarchy levels:
● "Configuration of time synchronization with central time master in a Windows domain with
one hierarchy (Page 36)"
● "Configuration of time synchronization without a central time master in a Windows domain
with multiple hierarchies (Page 41)"
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
31
Configurations for time synchronization of a PCS 7 plant
3.2 Rules for time synchronization in PCS 7
3.2
Rules for time synchronization in PCS 7
Rules
● A network may only contain one active time master.
● If the time within the PCS 7 plant is to match the local time, then time synchronization with
an external time source (e.g., GPS, DCF 77) is required.
● Central plant clocks (synchronized with an external time source wherever possible) are
high-grade internal time sources for PCS 7 plants.
● A time slave can be the time master for lower-level components and systems.
● Any domain controllers that are available in a network can synchronize all of the nodes in
this network. A synchronization cycle using domain controllers has a duration of 8 hours
by default. For reasons of precision, additional synchronization corrections using integrated
PCS 7 tools (WinCC time synchronization) are required. You can define an interval at which
the OS synchronizes its time with that of an external time source.
● The WinCC "time synchronization" application can be used to configure an OS server as
a time master, a cooperative time master, and a time slave.
● An OS server can be configured as a time master either with or without external time
synchronization.
● If the "High-precision time stamping" function is used for selected signals in an automation
system, then the direct time synchronization of the plant bus via a SICLOCK TC x00 central
plant clock is required.
If the SICLOCK TC x00 central plant clock fails, the time accuracy is not sufficient for the
high-precision time stamping.
The chronological order of the signals displayed remains intact.
Time synchronization using NTP
The following components are synchronized using NTP:
● PC stations that are not operated as OS client or OS servers
● CPU types with integrated Ethernet interface and time synchronization via the NTP mode.
Please note the following restrictions:
When there is a connection to OSM (6GK1105-0AA00), SIMATIC NET - Update 2000/025
(Incompatibility with tagged frames in Industrial Ethernet OSM networks) (http://
support.automation.siemens.com/WW/view/en/4247019) must be noted.
Criteria for time synchronization in existing PCS 7 plants
Compare the configuration of your existing PCS 7 plant with the configurations outlined in this
documentation, and configure the time synchronization according to the present configuration.
Further information
● Section "Time synchronization in distributed PCS 7 plants (Page 14)"
● Documentation Process Control System PCS 7; Released modules
32
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configurations for time synchronization of a PCS 7 plant
3.3 Configurations for time synchronization in a work group
3.3
Configurations for time synchronization in a work group
3.3.1
Configuration in a work group with central time master
Configuration
The following figure is a schematic representation of how time synchronization of a work group
with central time master should ideally be configured.
26FOLHQWV
7HUPLQDOEXV
6,&/2&.
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
Time master
Central plant clock (SICLOCK TC x00) on the plant bus
The central plant clock is either synchronized with an external signal (e.g. GPS), or operates
with the internal realtime clock.
Time synchronization on the terminal bus
● An OS server sends the time frame for process control that it receives from the plant bus
to the terminal bus.
● The OS clients are configured as time slaves in the OS project in WinCC Editor in the "Time
Synchronization" editor and receive their time frame from an OS server from which server
data are loaded.
● PC stations that do not have the WinCC Time Synchronization function, e.g. SIMATIC
BATCH stations or engineering stations, are synchronized using a DCF 77 reception
service (must be additionally installed).
An OS server is possible as a time master.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
33
Configurations for time synchronization of a PCS 7 plant
3.3 Configurations for time synchronization in a work group
Time synchronization on the plant bus
● Time master is the SICLOCK connected to the plant bus as the central plant clock.
The SIMATIC mode must be activated for synchronization of the OS servers on the plant
bus.
The SICLOCK sends a high-precision broadcast time signal to the plant bus (SIMATIC
mode) and can additionally make the NTP mode available on the plant bus.
● The OS servers are configured as so-called cooperative time masters.
If SICLOCK stops sending time frames, an OS server becomes the active time master and
now starts sending time frames on the plant bus by way of substitution.
● Configuring the automation systems:
– The automation system with an external CP 443-1 as communication interface is
configured as a time slave (SIMATIC mode).
– The CPU PN I/O with integrated Ethernet interface receives the time frames via the
internal Industrial Ethernet PN/IO interface and synchronizes its internal clock.
The CPU PN I/O with integrated Ethernet interface is a time slave on the plant bus.
● SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX are configured.
The time synchronization is configured with "WinAC Time Synchronization".
The "CP" SIMATIC mode and the "PC time" NTP mode are available for selection. To select
one of these, select the desired option in the "Configuration" group of the "WinAC Time
Synchronization" dialog box.
For the NTP mode, the NTP server must be configured in the Windows time setting.
34
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configurations for time synchronization of a PCS 7 plant
3.3 Configurations for time synchronization in a work group
Further information
● Section "Time synchronization in a work group with central time master (Page 49)"
3.3.2
Configuration in a work group without central time master
Configuration
The following figure schematically shows the recommended configuration of a PCS 7 plant
with time synchronization in a work group without central time master:
26FOLHQWV
7HUPLQDOEXV
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
Time master
The OS servers are time masters for the PCS 7 plant on the plant bus/terminal bus.
Time synchronization on the terminal bus
● The OS clients are configured as time slaves in the OS project in WinCC Editor in the "Time
Synchronization" editor and receive their time frame from an OS server from which server
data are loaded.
● PC stations that do not have the WinCC Time Synchronization function, e.g., SIMATIC
BATCH stations or engineering stations, are synchronized using a DCF 77 reception
service (must be additionally installed).
An OS server is possible as a time master.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
35
Configurations for time synchronization of a PCS 7 plant
3.4 Configuration for time synchronization in a Windows domain
Time synchronization on the plant bus
● The OS servers are configured as so-called cooperative time masters.
An OS server transmits the time frame to the plant bus.
● Configuring the automation systems:
– The automation system with an external CP 443-1 as communication interface is
configured as a time slave (SIMATIC mode).
– The CPU PN I/O with integrated Ethernet interface that can only be synchronized using
the NTP mode cannot be used in this configuration.
● SIMATIC PCS 7 BOX and SIMATIC PCS 7 AS RTX are configured.
The time synchronization is configured with "WinAC Time Synchronization" and the "CP"
SIMATIC mode is selected. You activate the "CP" SIMATIC mode in the "Configuration"
group of the "WinAC Time Synchronization" dialog box.
Note
Automation system with integrated Ethernet interface
The use of these CPU types that support only the NTP mode is not allowed in this PCS
7 configuration.
We recommend the use of a central plant clock.
Further information
● Section "Time synchronization in a work group without central time master (Page 51)"
3.4
Configuration for time synchronization in a Windows domain
3.4.1
Configuration in a Windows domain with a hierarchy with central time master
Introduction
In a Windows domain, you should synchronize the terminal bus and the plant bus directly using
the central plant clock.
The recommended central plant clock is a SICLOCK TC 400, which has 4 independent
Ethernet interfaces.
36
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configurations for time synchronization of a PCS 7 plant
3.4 Configuration for time synchronization in a Windows domain
Configuration
The following figure illustrates the recommended configuration for a PCS 7 plant in a Windows
domain with a central time master:
6,&/2&.
'&3'&
'&
26FOLHQWV
%$7&+VWDWLRQ
7HUPLQDOEXV
26VHUYHU
26VHUYHU
0
(QJLQHHULQJ
VWDWLRQ
0
3ODQWEXV
$6
$6
Time master
Central plant clock (SICLOCK TC x00) on the plant bus and the terminal bus
The central plant clock is either synchronized with an external signal (e.g. GPS), or operates
with the internal realtime clock.
Time synchronization on the terminal bus
● Active time master:
The time master is the domain controller (DC), which is configured as the main structure
master and/or the PDC emulator (usually the first domain controller installed).
● Time source:
The domain controller obtains the time from the SICLOCK central plant clock.
SICLOCK TC x00 is connected to the terminal bus via an Ethernet connection. Domain
controllers are synchronized from the SICLOCK TC x00 central plant clock via NTP.
● The Windows time service (w32tm) synchronizes the date and time of all computers of a
Windows domain.
Since the Windows-internal time synchronization is synchronized only every eight hours,
the OS servers are additionally configured as time slaves of the domain controller (PDC
emulator) via the WinCC Time Synchronization.
The PDC emulator is an operations master role of a domain controller.
The domain controller with the operations master role synchronizes the members of the
Windows domain every 8 hours.
● Passive time master:
If the authenticated domain controller (PDC operation master) fails, another domain
controller automatically takes over time synchronization within the network.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
37
Configurations for time synchronization of a PCS 7 plant
3.4 Configuration for time synchronization in a Windows domain
● Time slaves:
All other system PCs are automatically time slaves of the domain controller (PDC emulator)
due to their membership in the Windows domain.
● The OS servers are configured as time slaves in the OS project in WinCC Explorer in the
"Time Synchronization" editor.
● The OS clients are configured as time slaves in the OS project in WinCC Editor in the "Time
Synchronization" editor and receive their time frame from an OS server from which server
data are loaded.
● PC stations that do not have the WinCC Time Synchronization function, e.g., SIMATIC
BATCH stations or engineering stations, are synchronized using a DCF 77 reception
service (must be additionally installed) or a time master.
One of the domain controllers can be used as a time master here.
Time synchronization on the plant bus
● Time master is the SICLOCK connected to the plant bus as the central plant clock.
The SICLOCK sends a high-precision broadcast time signal to the plant bus (SIMATIC
mode ) and can additionally make the NTP mode available on the plant bus.
● The OS servers are configured as so-called cooperative masters.
If SICLOCK stops sending time frames, an OS server becomes the active time master and
now starts sending time frames on the plant bus by way of substitution.
● Configuring the automation systems:
– The automation system with an external CP 443-1 as communication interface is
configured as a time slave (SIMATIC mode).
– The CPU PN I/O with integrated Ethernet interface receives the time frames via the
internal Industrial Ethernet PN/IO interface and synchronizes its internal clock.
The CPU PN I/O with integrated Ethernet interface is a time slave on the plant bus.
● SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX are configured.
The time synchronization is configured with "WinAC Time Synchronization".
The "CP" SIMATIC mode and the "PC time" NTP mode are available for selection. To select
one of these, select the desired option in the "Configuration" group of the "WinAC Time
Synchronization" dialog box.
For the NTP mode, the NTP server must be configured in the Windows time setting.
Further information
● Section "Time synchronization in a Windows domain with a hierarchy with central time
master (Page 52)"
● The procedure for configuring an authoritative time server in Windows Server can be found
in the corresponding Microsoft literature on the Internet at:
http://support.microsoft.com, topic: Configuring an authorizing time server in Windows
Server (http://support.microsoft.com/kb/816042/en)
38
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configurations for time synchronization of a PCS 7 plant
3.4 Configuration for time synchronization in a Windows domain
3.4.2
Configuration in a Windows domain with a hierarchy without central time master
Configuration
The figure below illustrates the recommended configuration of a PCS 7 plant with time
synchronization and without a central time master in a Windows domain.
'&3'&
%$7&+VWDWLRQ
'&
26FOLHQWV
7HUPLQDOEXV
(QJLQHHULQJ
VWDWLRQ
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
Time master
Domain controller (DC) with PDC emulator operation master role
Time synchronization on the terminal bus
● Time source:
The domain controller receives the time via an NTP time server or a time receiver (DCF 77
or GPS module) that contains the exact time.
● The Windows time service (w32tm) synchronizes the date and time of all computers of a
Windows domain.
Since the Windows-internal time synchronization is synchronized only every eight hours,
the OS servers are additionally configured as time slaves of the domain controller (PDC
emulator) via the WinCC Time Synchronization.
The PDC emulator is an operations master role of a domain controller.
The domain controller with the operations master role synchronizes the members of the
Windows domain every 8 hours.
● Passive time master:
If the authenticated domain controller (PDC operation master) fails, another domain
controller automatically takes over time synchronization within the network.
● Time slaves:
All other system PCs are time slaves of the domain controller due to their membership in
the Windows domain.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
39
Configurations for time synchronization of a PCS 7 plant
3.4 Configuration for time synchronization in a Windows domain
● The OS servers are configured as time slaves in the OS project in WinCC Explorer in the
"Time Synchronization" editor.
● The OS clients are configured as time slaves in the OS project in WinCC Editor in the "Time
Synchronization" editor and receive their time frame from an OS server from which server
data are loaded.
● PC stations that do not have the WinCC Time Synchronization function, e.g., SIMATIC
BATCH stations or engineering stations, are synchronized using a DCF 77 reception
service (must be additionally installed) or a time master.
One of the domain controllers can be used as a time master here.
Time synchronization on the plant bus
● The OS servers receive the time frame from the authoritative domain controller (PDC
operations master) via the terminal bus.
The OS servers are configured as so-called cooperative time masters.
An OS server transmits the time frame to the plant bus.
● Configuring the automation systems:
– The automation system with an external CP 443-1 as communication interface is
configured as a time slave (SIMATIC mode).
– The CPU PN I/O with integrated Ethernet interface that can only be synchronized using
the NTP mode cannot be used in this configuration.
● SIMATIC PCS 7 BOX and SIMATIC PCS 7 AS RTX are configured.
The time synchronization is configured with "WinAC Time Synchronization" and the "CP"
SIMATIC mode is selected. You activate the "CP" SIMATIC mode in the "Configuration"
group of the "WinAC Time Synchronization" dialog box.
Note
Automation system with integrated Ethernet interface
The use of these CPU types that support only the NTP mode is not allowed in this PCS
7 configuration.
We recommend the use of a central plant clock.
Further information
Section "Time synchronization in a Windows domain with a hierarchy without central time
master (Page 54)"
The procedure for configuring an authoritative time server in Windows Server can be found in
the corresponding Microsoft literature on the Internet at:
http://support.microsoft.com, topic: Configuring an authoritative time server in Windows Server
(http://support.microsoft.com/kb/816042/en-us)
40
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configurations for time synchronization of a PCS 7 plant
3.4 Configuration for time synchronization in a Windows domain
3.4.3
Configuration in a Windows domain with multiple hierarchies
Configuration
The following figure shows an example configuration for time synchronization in a Windows
domain with multiple hierarchies:
8QLW
'RPDLQ
8QLW
8QLW
'RPDLQ
'RPDLQ
7LPHVLJQDO
6,&/2&.
*36'&) &HQWUDOSODQWFORFN
8QLW
8QLW
'RPDLQ
'RPDLQ
5RRWGRPDLQ
+LHUDUFK\OHYHO
+LHUDUFK\OHYHO
+LHUDUFK\OHYHO
Rules
In order to avoid time jumps, observe the following rules when configuring the hierarchy for
the PCS 7 plants within a Windows domain that contains multiple hierarchies:
● All identical structures must be assigned to the same levels in a Windows domain that
contains multiple hierarchy levels. This prevents unwanted time differences.
You can find additional information in the section "Time levels for a PCS 7 plant (stratum)
(Page 17)".
● Create only one hierarchy level under the root domain. Configure additional Windows
domains you may require on the same hierarchy level as the existing subdomains.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
41
4
Planning time synchronization
4.1
Selecting the time master
Selecting the time master
On a time-synchronous PCS 7 plant, you require a time master to which the additional plant
components can be synchronized. The table below lists the components that are used as time
masters, depending on the network environment:
Time master
SICLOCK
With time
source ...
Provides the time
via ...
Time master
forwards the time to...
Forwards the time to ...
Central clock:
Nonsynchronized or
synchronized
Terminal bus
Domain controller
-
Terminal bus
OS server
Terminal bus with OS servers
and OS clients
Plant bus
Automation systems
-
Terminal bus
OS clients
Plant bus
CP of the OS servers that
are active time masters
Automation systems
Terminal bus
OS server
OS clients
(e.g. via GPS or
DCF 77)
OS server
- RTC of the OS
server
- Ethernet
- GPS
- DCF 77
- NTP server
Domain controller
- RTC of the
domain controller
Plant bus, including the
automation systems
- Ethernet
- GPS
- DCF 77
- NTP server
PC
- RTC of the PC
- Ethernet
All OS servers as
time masters
- GPS
- DCF 77
- NTP server
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
43
Planning time synchronization
4.2 Selecting the central plant clock
4.2
Selecting the central plant clock
Introduction
You should always synchronize all automation processes using a standard time. In the case
of PCS 7 plants, we recommend performing synchronization by means of a central plant clock.
The central plant clock controls the time for the entire PCS 7 plant, and synchronizes all other
plant components via their interfaces.
A GPS or DCF 77 signal should be used as the time source for the central plant clock.
Selecting the central plant clock
The following table shows data of the central plant clock recommended for PCS 7:
Central plant clock
Inputs
GPS
decoders
DCF 77
receivers
Outputs
Ethernet
SICLOCK TC 400
2 x digital
GPS1000
(GPSDEC)
DCFRS industry
version
2x digital 24V
4x RJ45 or ITP
1x digital
RS422/5V
1x alarm
1x warning
SICLOCK TC 100
44
2 x digital
GPS1000
(GPSDEC)
Figure 4-1
SICLOCK TC 400
Figure 4-2
SICLOCK TC 100
DCFRS industry
version
1x alarm
1x RJ45 or ITP
1x warning
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Planning time synchronization
4.2 Selecting the central plant clock
Further information
● Information about central plant clocks on the Internet (http://www.automation.siemens.com/
mcms/topics/en/siplus/timesynchronisation/products/central-plant-clocks/Pages/
default.aspx)
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
45
Configuring time synchronization
5.1
5
Introduction
Components
To synchronize the time of your plant, it is necessary to configure all network nodes for time
synchronization. To do this configure the following components depending on configuration:
● Time receivers
If synchronizing the time using an external time source, you must configure the time
recipient for a central plant clock.
● Operator station
Configure the OS server(s) and the OS clients.
● Communications processors
Configure the CPs for time synchronization.
● Automation system
Configure the CPU and the communication processors of the automation system (CP
443-1, CP 443-5 Ext).
● Additional plant components
The following components should be included in the time synchronization as needed:
– SIMATIC BATCH
– SIMATIC Route Control
– SIMATIC PCS 7 BOX RTX
– SIMATIC PCS 7 AS RTX
– SIMATIC IT
– Engineering station
– Process Historian
– Information Server
Time synchronization modes
The time synchronization process is activated when configuring time synchronization.
The following options for synchronizing the time of network components are used in PCS 7:
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
47
Configuring time synchronization
5.1 Introduction
● Synchronization via WinCC Time Synchronization
Synchronization via the "WinCC Time Synchronization" application is used for time
synchronization of PC stations. The software for an OS server or OS client must be installed
on the PC stations.
● SIMATIC mode
The SIMATIC mode works with MAC addresses (ISO layer 2) and can thus only be used
in the local Industrial Ethernet subnet.
This time synchronization method is not routing-capable.
The SIMATIC mode provides a more accurate time synchronization than the NTP mode.
The SIMATIC mode is used for time synchronization of automation systems on the plant
bus (exception: automation systems with integrated Ethernet interface that support the NTP
mode only).
● NTP
NTP enables time synchronization across subnet borders and additional security settings.
NTP is used for the time synchronization of the following components:
– Domain controller (DC)
– Automation systems with integrated Ethernet interface that support the NTP mode only
– PC stations on which the software for an OS server or OS client has not been installed,
and which are not synchronized using the DCF 77 reception service.
Typical application for: SIMATIC BATCH, SIMATIC Route Control, Engineering Station,
Process Historian, Information Server
● Synchronization by means of DCF 77 reception service
The "DCF 77 reception service" application is used to synchronize the time of the following
components:
– PC stations on which the software for an OS server or OS client has not been installed,
and which are not synchronized using NTP.
Typical application for: SIMATIC BATCH, SIMATIC Route Control, engineering station
48
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
5.2
Overview of configuration steps, depending on the configuration
5.2.1
Time synchronization in a work group
5.2.1.1
Time synchronization in a work group with central time master
Example configuration
The following figure shows an example configuration.
26FOLHQWV
7HUPLQDOEXV
6,&/2&.
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
$6
49
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
Overview
The following table lists the topics that contain information and configuring
instructions.
What?
Configuring the central time
master
Where?
How?
-
● SICLOCK
"Commissioning the
SICLOCK TC x00 (Page 56)"
● GPS receiver
"Commissioning GPS
receivers (Page 59)"
● DCF 77
"Commissioning the DCF 77
receiver (Page 61)"
Parameter assignment of
In HW Config of the OS server on
communications processors of the engineering station
the OS servers on the plant bus
Parameter assignment of OS
server as cooperative time
master
Parameter assignment of OS
clients as time slaves
PC stations without OS
● CP 16x3 / CP 16x8
● BCE/Softnet
"How to assign parameters for a
CP 16x3 / CP 16x8
communications processor
(Page 63)"
In the OS project in WinCC
Explorer in the "Computer" object
on the engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC
Explorer in the "Time
Synchronization" editor on the
engineering station
"How to assign parameters for
an OS server in a work group
with central time master
(Page 68)"
In the OS project in WinCC
Explorer in the "Computer" object
on the engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC
Explorer in the "Time
Synchronization" editor on the
engineering station
"How to assign parameters for
an OS client (Page 79)"
On the PC station
"How to synchronize PC stations
without OS using the NTP mode
(Page 81)"
"How to make DCF 77 Client
Service settings on a PC station
without OS (Page 80)"
50
AS with CPU
In the AS project on the
engineering station
"Configuring time
synchronization on an AS
(Page 83)"
SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX
On SIMATIC PCS 7 BOX RTX and "Configuring the time
SIMATIC PCS 7 AS RTX
synchronization for SIMATIC
PCS 7 BOX RTX and SIMATIC
PCS 7 AS RTX (Page 90)"
Checking the time
synchronization
On the PC station during process
control
"Checking time synchronization
(Page 103)"
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
5.2.1.2
Time synchronization in a work group without central time master
Example configuration
The following figure shows an example configuration.
26FOLHQWV
7HUPLQDOEXV
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
Note
CPU types with integrated Ethernet interface that support the NTP mode only can only be
used in the configuration if the automation system is equipped with an additional CP 443-1
communications processor.
Overview
The following table lists the topics that contain information and configuring
instructions.
What?
Where?
How?
Parameter assignment of
communications
processors of the OS
servers on the plant bus
In HW Config of the OS server on the
engineering station
● CP 16x3 / CP 16x8
Parameter assignment of
OS server as cooperative
time master
In the OS project in WinCC Explorer
in the "Computer" object on the
engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC Explorer
in the "Time Synchronization" editor
on the engineering station
"How to assign parameters for
an OS server in a work group
without central time master
(Page 71)"
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
● BCE/Softnet
"How to assign parameters for a
CP 16x3 / CP 16x8
communications processor
(Page 63)"
51
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
What?
Where?
How?
Parameter assignment of
OS clients as time slaves
In the OS project in WinCC Explorer
in the "Computer" object on the
engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC Explorer
in the "Time Synchronization" editor
on the engineering station
"How to assign parameters for
an OS client (Page 79)"
On the PC station
"How to synchronize PC stations
without OS using the NTP mode
(Page 81)"
Parameter assignment of
PC stations without OS
"How to make DCF 77 Client
Service settings on a PC station
without OS (Page 80)"
AS with CPU
In the AS project on the engineering
station
"Configuring time
synchronization on an AS
(Page 83)"
SIMATIC PCS 7 BOX RTX
and SIMATIC PCS 7 AS
RTX
On SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX
"Configuring the time
synchronization for SIMATIC
PCS 7 BOX RTX and SIMATIC
PCS 7 AS RTX (Page 90)"
Checking the time
synchronization
On the PC station during process
control
"Checking time synchronization
(Page 103)"
5.2.2
Time synchronization in a Windows domain
5.2.2.1
Time synchronization in a Windows domain with a hierarchy with central time master
Example configuration
The following figure shows an example configuration.
6,&/2&.
'&3'&
'&
26FOLHQWV
%$7&+VWDWLRQ
7HUPLQDOEXV
26VHUYHU
26VHUYHU
0
(QJLQHHULQJ
VWDWLRQ
0
3ODQWEXV
$6
52
$6
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
Overview
The following table lists the topics that contain information and configuring
instructions.
What?
Configuring the central time
master
Where?
How?
-
● SICLOCK
"Commissioning the
SICLOCK TC x00 (Page 56)"
● GPS receiver
"Commissioning GPS
receivers (Page 59)"
● DCF 77
"Commissioning the DCF 77
receiver (Page 61)"
Parameter assignment of a
domain controller as time
master
On the domain controller
Parameter assignment of
In HW Config of the OS server on
communications processors of the engineering station
the OS servers on the plant bus
Parameter assignment of OS
server as cooperative time
master
Parameter assignment of OS
clients as time slaves
Parameter assignment of PC
stations without OS
"Configuring the time
synchronization of the domain
controllers (DC) (Page 101)"
● CP 16x3 / CP 16x8
● BCE/Softnet
"How to assign parameters for a
CP 16x3 / CP 16x8
communications processor
(Page 63)"
In the OS project in WinCC
Explorer in the "Computer" object
on the engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC
Explorer in the "Time
Synchronization" editor on the
engineering station
"How to assign parameters for
an OS server in a Windows
domain with a hierarchy with
central time master (Page 73)"
In the OS project in WinCC
Explorer in the "Computer" object
on the engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC
Explorer in the "Time
Synchronization" editor on the
engineering station
"How to assign parameters for
an OS client (Page 79)"
On the PC station
"How to synchronize PC stations
without OS using the NTP mode
(Page 81)"
"How to make DCF 77 Client
Service settings on a PC station
without OS (Page 80)"
AS with CPU
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
In the AS project on the
engineering station
"Configuring time
synchronization on an AS
(Page 83)"
53
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
5.2.2.2
What?
Where?
How?
SIMATIC PCS 7 BOX RTX
and SIMATIC PCS 7 AS RTX
On SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX
"Configuring the time
synchronization for SIMATIC
PCS 7 BOX RTX and SIMATIC
PCS 7 AS RTX (Page 90)"
Checking the time
synchronization
On the PC station during process
control
"Checking time synchronization
(Page 103)"
Time synchronization in a Windows domain with a hierarchy without central time master
Example configuration
The following figure shows an example configuration.
'&3'&
%$7&+VWDWLRQ
'&
26FOLHQWV
7HUPLQDOEXV
(QJLQHHULQJ
VWDWLRQ
26VHUYHU
0
26VHUYHU
0
3ODQWEXV
$6
$6
Note
CPU types with integrated Ethernet interface that support the NTP mode only can only be
used in the configuration if the automation system is equipped with an additional CP 443-1
communications processor.
54
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.2 Overview of configuration steps, depending on the configuration
Overview
The following table lists the topics that contain information and configuring
instructions.
What?
Where?
How?
Parameter assignment of a
domain controller as time
master
On the domain controller
"Configuring the time
synchronization of the domain
controllers (DC) (Page 101)"
Parameter assignment of
communications
processors of the OS
servers on the plant bus
In HW Config of the OS server on the
engineering station
● CP 16x3 / CP 16x8
Parameter assignment of
OS server as cooperative
time master
In the OS project in WinCC Explorer
in the "Computer" object on the
engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC Explorer
in the "Time Synchronization" editor
on the engineering station
"How to assign parameters for
an OS server in a Windows
domain with a hierarchy without
central time master (Page 76)"
In the OS project in WinCC Explorer
in the "Computer" object on the
engineering station
"Setting the time displayed
(Page 64)"
In the OS project in WinCC Explorer
in the "Time Synchronization" editor
on the engineering station
"How to assign parameters for
an OS client (Page 79)"
On the PC station
"How to synchronize PC stations
without OS using the NTP mode
(Page 81)"
Parameter assignment of
OS clients as time slaves
Parameter assignment of
PC stations without OS
● BCE/Softnet
"How to assign parameters for a
CP 16x3 / CP 16x8
communications processor
(Page 63)"
"How to make DCF 77 Client
Service settings on a PC station
without OS (Page 80)"
AS with CPU
In the AS project on the engineering
station
"Configuring time
synchronization on an AS
(Page 83)"
SIMATIC PCS 7 BOX RTX
and SIMATIC PCS 7 AS
RTX
On SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX
"Configuring the time
synchronization for SIMATIC
PCS 7 BOX RTX and SIMATIC
PCS 7 AS RTX (Page 90)"
Checking the time
synchronization
On the PC station during process
control
"Checking time synchronization
(Page 103)"
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
55
Configuring time synchronization
5.3 Commissioning a central plant clock
5.3
Commissioning a central plant clock
5.3.1
Commissioning the SICLOCK TC x00
Requirement
Refer to the SICLOCK TC x00 readme for installation requirements.
Install any software required for accessing the SICLOCK TC x00 on one engineering station
or on a separate PC station (not on components involved in the process operation).
Refer to the SICLOCK TC x00 readme/product information for more information about the
software requirements.
The SICLOCK TC x00 can also be configured directly on the panel of the device.
Overview of configuration steps
The table below shows the configuration steps that are needed to operate the SICLOCK TC
x00 as a clock for time synchronization of a PCS 7 plant:
Step
What?
1
Wire the time receiver to the SICLOCK TC x00
2
Configure the time receiver
3
Set the basic parameters on the SICLOCK TC x00
4
Connect the SICLOCK TC x00 to the PCS 7 plant
5
Configure the SICLOCK TC x00 on a plant-specific basis via Internet Explorer
By way of example, the following sections list the most important settings for configuration in
a PCS 7 plant:
● In the examples below, the central plant clock SICLOCK TC x00 receives a time signal via
a GPS radio clock.
● If you are using the central plant clock SICLOCK TC 400, terminal bus (port: ETH1) and
plant bus (port: ETH2) are synchronized directly.
● When a SICLOCK TC 100 central plant clock is used, only one bus (port: ETH1) becomes
synchronized because the SICLOCK TC 100 has only one Ethernet port.
To connect additional buses, you must use suitable switches.
You can find additional information on this in the chapter "Configuring time synchronization
with multiple networks (Page 96)".
The settings shown below for the ETH1 port also apply to the central plant clock SICLOCK
TC 100.
Factory settings of the SICLOCK TC 400
The SICLOCK TC 400 is supplied with the following default settings for the Ethernet ports:
● Subnet mask 255.255.255.0
● Port: ETH1: 192.168.1.10
56
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.3 Commissioning a central plant clock
● Port: ETH2: 192.168.2.20
● Port: ETH3: 192.168.3.30
● Port: ETH4: 192.168.4.40
Set the basic parameters on the SICLOCK TC 400
The direct parameter settings on the SICLOCK TC 400 are required as basic parameters for
connection to the network only.
1. Press the "Setup" button on the SICLOCK TC 400.
2. Enter the password and then press "OK".
The parameter list is displayed:
– Language (select German or English)
– ETH1 IP address
– ETH1 IP subnet
– ETH1 IP gateway
– ETH2 IP address
– ETH2 IP subnet
– ETH2 IP gateway
– ETH3 IP address
– ETH3 IP subnet
– ETH3 IP gateway
– ETH4 IP address
– ETH4 IP subnet
– ETH4 IP gateway
– Acknowledge events
– Version (for information only)
3. Perform the settings for the required Ethernet connections.
Configuring the SICLOCK TC 400
1. Connect the SICLOCK TC 400 to the network.
(For example, connect Ethernet port ETH1 of the SICLOCK TC 400 to the terminal bus)
2. Open Internet Explorer on a PC. Enter the network address of the SICLOCK TC 400 in the
input field (e.g. Port:ETH1 = address 192.168.1.10).
3. In the configuration portal area, click the "SICLOCK TC 400 configuration tool" link.
The configuration tool opens.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
57
Configuring time synchronization
5.3 Commissioning a central plant clock
4. Select Data Transfer > Download parameters from device from the configuration tool menu.
5. Configure the SICLOCK TC 400 in accordance with the table below.
Note
The identifier "= ..." in the "Parameters and setting" column represents the "plant-specific
setting".
Table 5-1
Settings
Folder
Parameters and setting
Description
Time
Time zone = ...
(optional = ...)
"Time zone" parameter,
"Offset between UTC and zone time" entry
Network settings
e.g. Port: Ethernet 1 (ETH1)
Enter the plant-specific network
address(es). Configure the network
connections ETH2, ETH3 and ETH4 in
the same way.
● IP adapter 1 / IP address = ...
● IP adapter 1 / subnet mask = ...
SIMATIC mode
e.g. Port: Ethernet 2 (ETH2)
● Mode = PCS 7-compatible mode, every 10
seconds
● Send condition = "No condition"
NTP server
Note: Only activate SIMATIC mode for the
ETHERNET ports on the plant bus.
● Target address = "FF:FF:FF:FF:FF:FF"
A synchronization time of 10 seconds is
recommended for PCS 7.
A broadcast frame is sent to all nodes on
this network.
NTP server
The NTP server is available at all four
Ethernet ports. Requirement:
SICLOCK TC x00 is synchronized.
● Operation = On
● Mode = 10 s
● Multicast address = ...
Display
The SIMATIC mode is available for all
four Ethernet ports.
Display:
● Language = ...
● Time / Time base = ...
Multicast address: Enter the plantspecific IP address for NTP time
synchronization.
● Language setting:
German or English
● Time base:
Local time, UTC or atomic time (TAI)
Select the time that will appear on the
display.
Note
For the purpose of time synchronization on the plant bus, activate SIMATIC mode separately
for each Ethernet port.
The settings can be password-protected.
You can find additional information on this topic in the SICLOCK; SICLOCK TC 400 Operating
Instructions.
58
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.3 Commissioning a central plant clock
Loading the configuration to the SIMATIC TC x00
This step is only necessary if the configuration is carried out offline.
Select Data Transfer > Download parameters to device from the configuration tool menu.
Backing up the configuration
To save the set SICLOCK parameters and event display (archive) to a file, select the following
menu command: File > Save.
The data (parameter settings and archive) are saved in U600 format.
Connecting the time receiver
So that the central plant clock is always supplied with an accurate time, it should be
synchronized with a time receiver. The following time receivers are recommended in PCS 7:
● SICLOCK GPS1000
● SICLOCK GPSDEC
● SICLOCK DCFRS Industry version
Further information
● Section "Rules for time synchronization in PCS 7 (Page 32)"
● Section "Commissioning the DCF 77 receiver (Page 61)"
● Section "Commissioning GPS receivers (Page 59)"
● SICLOCK; SICLOCK TC 400 Operating Instructions
5.3.2
Commissioning GPS receivers
Introduction
The GPS receiver determines the UTC via the satellite-based GPS system (Global Positioning
system). Due to the country-specific installation of Windows on the OS the sent UTC is
converted to the time valid in the respective country. For reception of the precise time reception
of the signal from one of the 24 satellites suffices. The GPS receiver also enables worldwide
use of SIMATIC PCS 7 with inter-plant time synchronization.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
59
Configuring time synchronization
5.3 Commissioning a central plant clock
Overview of commissioning tasks
The following table shows the commissioning steps when you connect a GPS receiver to a
central plant clock in a PCS 7 plant for time synchronization purposes:
Step
What?
1
First commissioning of the GPS receiver
Configure the GPS receiver with the aid of the associated commissioning software.
2
Connect the GPS receiver cable
3
Aligning the GPS antenna
Wiring
The following figure shows how the GPS receiver is connected to the SICLOCK TC400:
SICLOCK GPS 1000
SICLOCK TC 400
;
RADIO
RADIO
RADIO
RADIO
RADIO
CLOCK
CLOCK
CLOCK
CLOCK
CLOCK
GND
1A
1B
2A
2B
max. 1000 m
Note
A GPSDEC receiver may only be used as an active radio clock. The GPSDEC receiver can
be destroyed if operated as a passive radio clock.
Aligning the GPS antenna
Proceed as follows:
1. Install the GPS antenna.
2. Align the antenna vertically to the sky.
With other angles the synchronization can fail temporarily because a satellite is not in the
reception window.
Note
Do not install the GPS antenna at locations where there is a risk of lightning strikes
occurring.
If nothing else is possible, attach the GPS antenna to the inside of high windows.
60
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.3 Commissioning a central plant clock
Further information
● Additional information on the connection and optimal alignment of the GPS receiver can
be found in the Operating Instructions for the GPS receiver.
● Refer to the operating instructions of the central plant clock for more information on its
connection.
5.3.3
Commissioning the DCF 77 receiver
Introduction
The time signal broadcast by the DCF 77 transmitter is the statutory time applicable to the
Federal Republic of Germany.
The DCF 77 radio signal can be received within a range of approximately 2000 km around
Frankfurt am Main. In regions where the DCF 77 radio signal cannot be received, use of a
GPS receiver is recommended. You need a DCF 77 receiver to use this radio signal for time
synchronization of your PCS 7 plant.
Structure of the DCF 77 receiver
The following components are included in the scope of delivery of a DCF 77 receiver:
● An antenna head with or without an antenna frame.
The DCF 77 receiver is located in the antenna head and demodulates the DCF 77 signal.
● Software for installation on the target system to be synchronized
If the DCF 77 receiver is being connected directly to the central plant clock, there is no need
for any additional driver software.
Overview of commissioning tasks
The table below shows the commissioning tasks that are needed to connect a DCF 77 receiver
to a central plant clock for the purpose of time synchronization within the context of a PCS 7
plant:
Step
What?
1
First commissioning of the DCF 77 receiver
Configure the DCF 77 receiver with the aid of the associated commissioning software.
2
Connect the DCF 77 receiver cable
3
Align the antenna
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
61
Configuring time synchronization
5.3 Commissioning a central plant clock
Wiring
The following figure shows how to wire the SICLOCK TC 400 to a DCF 77 receiver:
6,&/2&.'&)56
6,&/2&.7&
;
5$',2&/2&.*1'
5$',2&/2&.$
5$',2&/2&.%
5$',2&/2&.$
5$',2&/2&.%
0D[P
Align the antenna
To optimize the alignment of your DCF 77 receiver, proceed as follows:
1. Align the DCF 77 receiver so that the control LED flashes at intervals of one second.
2. Check that the DCF 77 receiver is on the side of your building facing Frankfurt.
Note
If you are unable to receive a constant time signal, please note the following rules:
● Maintain as great a distance as possible between the DCF 77 receiver and PCs,
monitors, laser printers, motors, motorized operating mechanisms, or similar sources
of interference.
● Keep the DCF 77 receiver away from metal surfaces and steel-reinforced concrete.
Further information
● Additional information on the connection and optimal alignment of the DCF 77 receiver can
be found in the Operating Instructions for the DCF 77 receiver.
● Additional information on connecting a central plant clock can be found in the Operating
Instructions for the central plant clock.
62
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
5.4
Configuring the time synchronization for PC stations with OS
5.4.1
How to assign parameters for a CP 16x3 / CP 16x8 communications processor
Introduction
In order for the communications processor to process the time frames, its time operation must
be assigned.
Configuring time operation for a communications processor (CP 16x3/CP 16x8)
In order to assign the time operation for the communications processor, proceed as follows:
1. Open SIMATIC Manager.
2. Select the PC station to be synchronized in the tree view.
3. Open the configuration of the station in HW Config.
4. Select the communication processor (CP 16x3/CP 16x8).
5. Select the menu command Edit > Object Properties.
6. If you are using a CP16x3, perform the following steps:
– Switch to the "Options" tab.
– Select the "Time of day" check box in the "Time-of-Day Synchronization" area.
– Select the "Slave (time receiver)" option in the "Time-of-Day Synchronization" area.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
63
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
7. If you are using a CP16x8, perform the following steps:
– Switch to the "Time-of-Day Synchronization" tab.
– Select the "Accept time of day on the CP and forward" check box in the "SIMATIC Mode"
area.
8. Click OK.
5.4.2
Setting the time displayed
5.4.2.1
How to configure the operator station display
Introduction
You configure the time display for the operator station process mode on the engineering
station. You can select the "Local time zone", for example, in the "Time base for time display
in runtime" parameter.
Check the settings in the "Computer properties" dialog box.
64
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
Requirement
● You must configure the time display on the engineering station before you load the OS.
Procedure
1. Select the "[Computer name]" object in the tree view in WinCC Explorer.
The detail window displays the corresponding computer.
2. Select the "[Name of computer]" object in the detail view.
3. Select Edit > Properties.
The "Computer properties" dialog box opens.
4. Select the "Parameters" tab.
Figure 5-1
Example setting
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
65
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
5. Choose the time mode from the "Time basis for time display in runtime" drop-down list.
The time zone is only important for the display in process mode. Internally, UTC is used
exclusively; in archives, for example.
– "Local time zone"
The local time with daylight saving time and standard time is set.
– For project-specific settings, choose:
"Time zone of the server (migrated projects)", if you want to set the time for migrated
projects, or
"Coordinated Universal Time (UTC)", if you want to set UTC
6. In the "PLC clock setting" group, select the
– "The PLC is set to coordinated universal time (UTC) (preferred setting)" option
– For project-specific settings, choose:
PLC is set to the local winter time all year (WinCC V5 compatibility mode)
For this option, note the information in "Time synchronization in WinCC V5 compatibility
mode" at the end of this chapter.
7. Select the required format in the "Central date and time formatting" group.
This formatting affects the display of the time and date in the process control.
– Date in the configured format: "Configure individual components"
– For project-specific settings, choose:
Date in accordance with ISO 8601: "ISO8601-Swap format to all components"
8. Click "OK".
Time synchronization in WinCC V5 compatibility mode
Note
Contact Customer Support if you would like to use time synchronization in V5 compatibility
mode.
The WinCC V5 compatibility mode requires that time frames always be sent on the plant bus
in winter time format. The switch to daylight saving time occurs on the OS severs.
This mode is activated/deactivated in the OS server project in WinCC Explorer in the "PLC"
object on the "Parameters" tab of the "Computer properties" dialog box.
5.4.2.2
How to convert the local time zone and daylight saving time parameters
Introduction
You can convert the time displayed on the OS in process mode.
66
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
Rules
● If operating a plant across several time zones with different daylight saving time and
standard time settings, you should also use the harmonized UTC time for the time display
on the operator station. You therefore have a uniform basis for process analysis at all plant
units.
● You can configure the switch to daylight saving time or point in time for the switch for each
specific country. PCS 7 always handles internal functions on the basis of UTC. Therefore,
any conversion to daylight saving time or to a different local time does not have any impact
on the internal functions of PCS 7.
If the time display of the operator station is set to the local time of specific countries, with
automatic conversion of daylight saving time and standard time, the time is automatically
converted at the correct date and time.
Requirements
● It must be possible to operate the operating system environment.
● You must make the settings directly on the OS.
Procedure
To change the operator station to display daylight saving time and standard time, follow these
steps:
1. Open the dialog for settings of the Control Panel on the OS.
2. Double-click the "Date and Time" icon.
3. Select the "Time Zone" tab.
Ensure that the time zone displayed in your list field is appropriate for your area
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
67
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
4. Select the check box "Automatically adjust clock for daylight saving changes".
5. Click "OK".
Result
All time information for the operator station will be output in the local time of the selected time
zone, including daylight saving time changes, and it will be converted at the correct point in
time.
5.4.3
Parameter assignment for an OS server in a work group
5.4.3.1
How to assign parameters for an OS server in a work group with central time master
Requirements
● SICLOCK TC x00 is connected to the terminal bus and the plant bus.
● The OS servers are cooperative time masters on the plant bus.
68
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
● Time operation is activated for each network adapter of the OS server.
– The OS server is equipped with at least one CP 16x3 / 16x8 communications processor
(more than 8 AS or fault-tolerant AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 16x3 / CP 16x8 communications processor (Page 63)".
– The OS server is equipped with a BCE communications processor (up to 8 AS).
The BCE/Softnet communications processor cannot be configured redundantly.
● All automation systems are configured as time slaves.
Assigning the OS server parameters for time synchronization
To configure the OS server for time synchronization, proceed as follows:
1. Open the OS server in the PCS 7 project on the engineering station.
2. Select the "Time synchronization" editor in the tree view of WinCC Explorer.
3. Select Open in the shortcut menu.
The "Time Synchronization" dialog box opens.
4. Select the "Synchronization via System Bus (Master, Slave)" check box.
5. Select the "Display symbolic name of the access points" check box.
The communications processors of the OS server are displayed with a symbolic name if
they are not present on the engineering station.
6. Select the network adapter from the "Access point 1" drop-down list.
The list shows all available devices that are suitable for time synchronization.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
69
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
7. Select the "Master" option.
8. If you are using a redundant network adapter, select it from the "Access point 2" drop-down
list.
The list shows all available devices that are suitable for time synchronization.
Note
The BCE/Softnet communications processor cannot be configured redundantly.
9. Select the "Master" option.
10.Click "OK".
Result
The SICLOCK central plant clock transmits the time frames on the terminal bus and the plant
bus.
The OS servers are cooperative time masters.
70
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
5.4.3.2
How to assign parameters for an OS server in a work group without central time master
Requirements
● The OS servers are cooperative time masters on the plant bus.
● Time operation is activated for each network adapter of the OS server.
– The OS server is equipped with at least one CP 16x3 / 16x8 communications processor
(more than 8 AS or fault-tolerant AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 16x3 / CP 16x8 communications processor (Page 63)".
– The OS server is equipped with a BCE communications processor (up to 8 AS).
The BCE/Softnet communications processor cannot be configured redundantly.
● All automation systems are configured as time slaves.
Restriction:
CPU types with integrated Ethernet interface that support the NTP mode only can only be
used in the configuration if the automation system is equipped with an additional CP 443-1
communications processor.
Assigning the OS server parameters for time synchronization
To configure the OS server for time synchronization, proceed as follows:
1. Open the OS server in the PCS 7 project on the engineering station.
2. Select the "Time synchronization" editor in the tree view of WinCC Explorer.
3. Select Open in the shortcut menu.
The "Time Synchronization" dialog box opens.
4. Select the "Synchronization via System Bus (Master, Slave)" check box.
5. Select the "Display symbolic name of the access points" check box.
The communications processors of the OS server are displayed with a symbolic name if
they are not present on the engineering station.
6. Select the network adapter from the "Access point 1" drop-down list.
The list shows all available devices that are suitable for time synchronization.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
71
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
7. Select the "Master" option.
8. If you are using a redundant network adapter, select it from the "Access point 2" drop-down
list.
The list shows all available devices that are suitable for time synchronization.
Note
The BCE/Softnet communications processor cannot be configured redundantly.
9. Select the "Master" option.
10.Click "OK".
Result
The OS servers are cooperative time masters.
72
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
Rule
Note
The automation system can only be synchronized if at least one OS server is activated.
5.4.4
Parameter assignment for an OS server in a Windows domain
5.4.4.1
How to assign parameters for an OS server in a Windows domain with a hierarchy with
central time master
Requirements
● SICLOCK TC x00 is connected to the terminal bus and the plant bus.
● A domain controller is configured as the forest master.
● All operator stations are members in a domain.
● The OS servers are cooperative time masters on the plant bus.
● Time operation is activated for each network adapter of the OS server.
– The OS server is equipped with at least one CP 16x3 / 16x8 communications processor
(more than 8 AS or fault-tolerant AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 16x3 / CP 16x8 communications processor (Page 63)".
– The OS server is equipped with a BCE communications processor (up to 8 AS).
The BCE/Softnet communications processor cannot be configured redundantly.
● All automation systems are configured as time slaves.
Assigning the OS server parameters for time synchronization
To configure time synchronization for the OS server, proceed as follows:
1. Open the OS server in the PCS 7 project on the engineering station.
2. Select the "Time synchronization" editor in the tree view of WinCC Explorer.
3. Select Open in the shortcut menu.
The "Time Synchronization" dialog box opens.
4. Select the "Synchronization via Terminal Bus (Slave)" check box.
5. Select the "Use the time from a specific computer" option.
6. Enter the first domain controller in the "Computer 1" input field.
7. If you are using a redundant domain controller, enter it in the "Computer 2" input field.
8. Select the "Synchronization via System Bus (Master, Slave)" check box.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
73
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
9. Select the "Display symbolic name of the access points" check box.
The communications processors of the OS server are displayed with a symbolic name if
they are not present on the engineering station.
10.Select the network adapter from the "Access point 1" drop-down list.
The list shows all available devices that are suitable for time synchronization.
The "Master" option is selected automatically.
11.If you are using a redundant network adapter, select it from the "Access point 2" drop-down
list.
The list shows all available devices that are suitable for time synchronization.
The "Master" option is selected automatically.
Note
The BCE/Softnet communications processor cannot be configured redundantly.
12.Click "OK".
74
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
Result
The SICLOCK central plant clock transmits the time frames on the terminal bus and the plant
bus.
The OS server is a cooperative time master.
Rules
Note
OS servers in a Windows domain
Before you assign the time synchronization parameters for a PCS 7 plant in a Windows
domain, create a detailed plan of your network structure. This plan must contain all the
relevant information for time synchronization:
● Which computer is the domain controller?
● Which computers belong to the Windows domain and receive their time from the domain
controller?
● Which computers do not belong to the Windows domain and from where do they obtain
their time?
● Which computers are time masters and which are time slaves?
NOTICE
Response to change in the time setting
If a time jump of more than 5 seconds occurs, the computer that was defined as the time
master becomes a time slave. The message "Time synchronization has been permanently
switched to slave" is generated.
Note that this computer is no longer defined as a time master even after a restart.
You can restore the time master status of the computer on the OS server or the engineering
station in the OS server project.
Restoring time master status:
● On OS server.
In the OS project in WinCC Explorer, clear the "Deactivate time synchronization" check
box in the "General Settings" area of the "Time Synchronization" editor.
Close the dialog and the OS project so that the change will be applied.
Start the process control.
● On the engineering station
In the OS project in WinCC Explorer, clear the "Deactivate time synchronization" check
box in the "General Settings" area of the "Time Synchronization" editor.
Close the dialog and the OS project so that the change will be applied.
Download the OS project to the target system.
Start the process control.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
75
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
5.4.4.2
How to assign parameters for an OS server in a Windows domain with a hierarchy without
central time master
Requirements
● An NTP time server is connected to the terminal bus.
● A domain controller is configured as the forest master.
● All operator stations are members in a domain.
● The OS servers are cooperative time masters on the plant bus.
● Time operation is activated for each network adapter of the OS server.
– The OS server is equipped with at least one CP 16x3 / 16x8 communications processor
(more than 8 AS or fault-tolerant AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 16x3 / CP 16x8 communications processor (Page 63)".
– The OS server is equipped with a BCE communications processor (up to 8 AS).
The BCE/Softnet communications processor cannot be configured redundantly.
● All automation systems are configured as time slaves.
Assigning the OS server parameters for time synchronization
In this configuration, you use the NTP time server as the time source instead of a central plant
clock. The NTP time server together with a DCF 77 radio receiver module or GPS receiver
module is a reliable time source. The domain controller is the time master. Information on
configuring the domain controller as time master can be found in the Microsoft literature on
the Internet at:
http://support.microsoft.com/kb/816042 (http://support.microsoft.com/kb/816042/en-us) .
To configure the OS servers additionally as time slaves of the domain controller, proceed as
follows:
1. Open the OS server in the PCS 7 project on the engineering station.
2. Select the "Time synchronization" editor in the tree view of WinCC Explorer.
3. Select Open in the shortcut menu.
The "Time Synchronization" dialog box opens.
4. Select the "Synchronization via Terminal Bus (Slave)" check box.
5. Select the "Use the time from a specific computer" option.
6. Enter the first domain controller (DC1) in the "Computer 1" input field.
7. If you are using a redundant domain controller, enter it in the "Computer 2" input field.
8. Select the "Synchronization via System Bus (Master, Slave)" check box.
9. Select the "Display symbolic name of the access points" check box.
The communications processors of the OS server are displayed with a symbolic name if
they are not present on the engineering station.
76
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
10.Select the network adapter from the "Access point 1" drop-down list.
The list shows all available devices that are suitable for time synchronization.
The "Master" option is selected automatically.
11.If you are using a redundant network adapter, select it from the "Access point 2" drop-down
list.
The list shows all available devices that are suitable for time synchronization.
The "Master" option is selected automatically.
Note
The BCE/Softnet communications processor cannot be configured redundantly.
12.Click "OK".
Result
The OS servers are cooperative time masters.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
77
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
Rules
Note
The automation system can only be synchronized if at least one OS server is activated.
Note
OS servers in a Windows domain
Before you assign the time synchronization parameters for a PCS 7 plant in a Windows
domain, create a detailed plan of your network structure. This plan must contain all the
relevant information for time synchronization:
● Which computer is the domain controller?
● Which computers belong to the Windows domain and receive their time from the domain
controller?
● Which computers do not belong to the Windows domain and from where do they obtain
their time?
● Which computers are time masters and which are time slaves?
NOTICE
Response to change in the time setting
If a time jump of more than 5 seconds occurs, the computer that was defined as the time
master becomes a time slave. The message "Time synchronization has been permanently
switched to slave" is generated.
Note that this computer is no longer defined as a time master even after a restart.
You can restore the time master status of the computer on the OS server or the engineering
station in the OS server project.
Restoring time master status:
● On OS server.
In the OS server project in WinCC Explorer, clear the "Deactivate time synchronization"
check box in the "General Settings" area of the "Time Synchronization" editor.
Close the dialog and the OS project so that the change will be applied.
Start the process control.
● On the engineering station
In the OS server project in WinCC Explorer, clear the "Deactivate time synchronization"
check box in the "General Settings" area of the "Time Synchronization" editor.
Close the dialog and the OS project so that the change will be applied.
Download the OS project to the target system.
Start the process control.
78
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.4 Configuring the time synchronization for PC stations with OS
5.4.5
How to assign parameters for an OS client
Procedure
To configure OS clients for time synchronization, proceed as follows for each OS client:
1. Open the OS client project in the PCS 7 project on the engineering station.
2. Select the "Time synchronization" editor in the tree view of WinCC Explorer.
3. Select Open in the shortcut menu.
The "Time Synchronization" dialog box opens.
4. Select the "Synchronization via Terminal Bus (Slave)" check box.
All associated options and input fields are active.
5. Select the "Use the time from a connected WinCC server" option.
6. Click "OK".
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
79
Configuring time synchronization
5.5 Configuring time synchronization for a PC station without OS
5.5
Configuring time synchronization for a PC station without OS
5.5.1
Overview of configuration steps
In PCS 7, operator stations offer an integrated time synchronization option in the form of the
"WinCC time synchronization" application. Examples of PC stations without OS are:
● Engineering station
● SIMATIC BATCH stations without OS
● SIMATIC Route Control stations without OS
● Process Historian
● Information Server without OS
If SIMATIC BATCH, SIMATIC Route Control, or Information Server is installed on the operation
station, the PC station will be synchronized via the time synchronization of the OS.
The following time synchronization options are available for PC stations without OS:
● Recommended: DCF77 client service
You synchronize the PC stations directly with a time master (e.g., central plant clock,
domain controller, operator station)
The central plant clock can be synchronized via GPS.
You can find additional information on this in the section "How to make DCF 77 Client
Service settings on a PC station without OS (Page 80)".
● Synchronization using the NTP mode
You can find additional information on this in the section "How to synchronize PC stations
without OS using the NTP mode (Page 81)".
5.5.1.1
How to make DCF 77 Client Service settings on a PC station without OS
Introduction
If no operator station is being used on a PC station in process mode, this PC station should
be synchronized by means of the "DCF 77 Client Service" software, which you will need to
install.
You can find information about the storage location of the required software for the "DCF 77
Client service" in the PCS 7 Readme file on the Process Control System; SIMATIC PCS 7
DVD.
Requirements
● The DCF77 client software approved for the operating system is installed.
● The settings are made on the relevant PC station.
80
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.5 Configuring time synchronization for a PC station without OS
Procedure
1. Open the "Control Panel" dialog box on the PC station.
2. Double-click on the DCF 77 object.
The "DCF 77 Reception Service" dialog box opens.
3. Click on the "Change Settings" button if you need to change the settings. Make the following
settings:
Select the PC station that is configured as time master from the "Port" drop-down list (e.g.,
an OS server synchronized via NTP).
– Disable the option "Check MEZ/MESZ time zone".
– Enter the the value "500" in the input field "Permitted deviation".
4. Click "Start Service".
5. Click "OK".
5.5.1.2
How to synchronize PC stations without OS using the NTP mode
Introduction
PC stations which do not feature an integrated function for time synchronization can be
synchronized using NTP. NTP mode enables the components to actively fetch the time from
an NTP server. The NTP server in PCS 7 plants is a central plant clock.
Make the settings at the PC station using group policies.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
81
Configuring time synchronization
5.5 Configuring time synchronization for a PC station without OS
Requirements
● The PC stations must not be synchronized using any other method (e.g. by means of
"WinCC time synchronization" on an existing OS installation, or by means of an integrated
radio clock).
● Central plant clock (e.g., SICLOCK TC 400) is connected to the terminal bus and configured
as NTP server.
● You must make the settings as a PC station administrator.
● In a domain:
The local settings must not be overwritten by the group policies of the Windows domain.
Note
Group policy settings in domains
Group policies can be set in the domain. The group policies for the domain have priority
over the local settings.
Procedure
1. Go to the Start menu in Windows and select the "Run" dialog box.
2. Enter the following in the input field:
gpedit.msc
The "Local Group Policy Editor" dialog window opens.
3. In the tree view, select "Local Computer Policy > Computer Configuration > Administrative
Templates > System > Windows Time Service > Time Providers".
4. Double-click the "Enable Windows NTP Client" object in the detail view.
The "Enable Windows NTP Client" dialog box opens.
5. Select the "Enabled" option button.
6. Click "OK".
7. Double-click the "Configure Windows NTP Client" object in the detail view.
The "Configure Windows NTP Client" dialog box opens.
8. Select the "Enabled" option button.
The list displays the current settings.
9. Make the following settings:
– In the "NtpServer" input field, enter the IP address of the plant central clock SICLOCK
TC 400 on the terminal bus with the suffix ",0x1" (example: 111.222.33.44,0x1).
– Select the item "NTP" in the "Type" drop-down list.
– Enter the value "60" in the "SpecialPollInterval" input field (synchronization interval in
seconds).
10.Click "OK".
11.Close the "Local Group Policy Editor" dialog window.
12.Stop the "w32tm" service.
13.Restart the PC station.
82
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.6 Configuring time synchronization on an AS
Checking the time synchronization
You can find information about checking the time synchronization in the section "How to check
the time of the PC stations (Page 103)".
5.6
Configuring time synchronization on an AS
5.6.1
Time synchronization with central plant clock and S7-400 modules
Introduction
Time is synchronized using an external clock, for example SICLOCK TC 400 as time master.
The time master distributes the time frames via Industrial Ethernet in the SIMATIC mode and/
or NTP mode. The mode is determined by the configuration of the SICLOCK central plant
clock.
The time synchronization for the corresponding S7-400 modules is configured in HW Config.
Modules used for the configuration
Modules
Comment
CPU
Central processing units
H CPU
Central module for redundant configuration
CP 443-1
Communication processor module for Industrial Ethernet
CP 443-5 Ext
Communication processor module for PROFIBUS DP
Examples of configurations
For all versions, a SICLOCK TC 400 is used as time master on the bus.
● Configuration 1
Time synchronization with NTP or SIMATIC mode via external CP 443-1
The time is synchronized using NTP or SIMATIC mode via CP 443-1, CP 443-5 Ext and
CPU of the automation system.
● Configuration 2
Time synchronization with NTP or SIMATIC mode via CPU PN/DP with integrated IndustrialEthernet interface PN-IO
Time synchronization is performed in the NTP or SIMATIC mode via a CPU PN/DP with
integrated Industrial-Ethernet interface PN-IO and CP 443-5 Ext.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
83
Configuring time synchronization
5.6 Configuring time synchronization on an AS
Connection between configuration and version of the CPU
Modules
Configuration 1
NTP mode
SIMATIC mode
Configuration 2
NTP mode
SIMATIC mode
CP 443-1
X
-
-
CPU
X
X
-
H CPU
X
(Firmware version >= V5)
X
(Firmware version >= V6)
84
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.6 Configuring time synchronization on an AS
5.6.2
Configuration 1
5.6.2.1
Explanations for configuration 1
Time synchronization with NTP or SIMATIC mode via external CP 443-1
The following figure shows an example of the time synchronization:
&HQWUDOSODQWFORFN
1
3ODQWEXV
&EXV $6LQWHUQDOEDFNSODQHEXV
36
&3 2
&38
&3
([W
3
5
4
6
4
)LHOGEXV
)LHOGEXV
Designa Explanation
tion
①
②
③
The CP 443-1 obtains the time frames and synchronizes its internal clock.
④
The CPU and the CP 443-5 Ext receive the time frames from the C bus.
The central plant clock distributes the time frames via the plant bus (Industrial Ethernet).
The CP 443-1 distributes the time frames actively on the communications bus (C bus).
The CP 443-1 is a time master on the C bus.
CPU and CP 443-5 Ext are time slaves on the C bus.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
85
Configuring time synchronization
5.6 Configuring time synchronization on an AS
Designa Explanation
tion
⑤
The CPU distributes time frames via the internal PROFIBUS DP interface on the fieldbus
(PROFIBUS DP).
The CPU is the time master on the fieldbus.
⑥
The CP 443-5 Ext distributes the time of day actively on the fieldbus (PROFIBUS DP).
The CP 443-5 Ext is a time master on the fieldbus
You can find information on configuring in the following section.
5.6.2.2
How to configure configuration 1
Requirements
● SICLOCK TC 400
● CP for Industrial Ethernet (using CP 443-1EX30 as example)
● CP for PROFIBUS (using CP 443-5DX05 as example)
● CPU
Configuration of the modules
The following table shows the settings in HW Config in SIMATIC Manager according to the
synchronization mode.
NTP mode
SIMATIC mode
SICLOCK TC 400
NTP mode
SIMATIC mode
CP 443-1EX30
"NTP mode" group:
"SIMATIC mode" group
"Time synchronization" tab 1. Select the following check boxes
–
Activate time synchronization in NTP
mode
–
Time-of-day synchronization to the full
minute, if required
–
Apply time of non-synchronized NTP
servers
–
Forward time to station
1. Select the check box "Apply time in CP and
forward"
2. Select the "From LAN" option button.
2. Insert the required addresses in the text
box for the NTP server addresses (IP
addresses).
3. Select the time zone (GMT) Dublin,
Edinburgh, Lisbon, London in the Time
zone drop-down list so that the CPU will be
synchronized with UTC time.
4. If you have selected the "Time-of-day
synchronization on the full minute" check
box, enter the desired update interval in the
"Update interval [seconds]" input field.
86
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.6 Configuring time synchronization on an AS
NTP mode
SIMATIC mode
CPU
"Clock" group
"Diagnostics/Clock" tab
1. From the drop-down list for synchronization in the AS, select: "As slave" as the
synchronization mode.
Integrated PROFIBUS DP
interface of the CPU
1. Select "As master" synchronization mode from the drop-down list.
"Clock" tab
2. Select 10 seconds as the time interval from the drop-down list.
CP 443-5DX05
"Time synchronization" group
Options"
1. Select "From station to LAN".
"Parameterization of field devices (data set routing)" group
1. Select "Activate data set gateway".
Redundant automation system on redundant fault-tolerant plant bus
If a redundant automation system is connected to the redundant, fault-tolerant plant bus, two
CP 443-1 are required per CPU (per rack).
Make the following settings for the CP 443-1.
CP on the plant bus
Plant bus 1
Plant bus 2
CP A
Time synchronization enabled
Not connected
Not connected
Time synchronization disabled
Time synchronization disabled
Not connected
Not connected
Time synchronization enabled
(First CP 443-1 in the rack of CPU 1)
CP B
(Second CP 443-1 in the rack of CPU 1)
CP C
(First CP 443-1 in the rack of CPU 2)
CP D
(Second CP 443-1 in the rack of CPU 2)
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
87
Configuring time synchronization
5.6 Configuring time synchronization on an AS
5.6.3
Configuration 2
5.6.3.1
Explanations for configuration 2
Time synchronization with NTP or SIMATIC mode via CPU PN I/O with integrated Ethernet interface
The following figure shows an example of the time synchronization:
&HQWUDOSODQWFORFN
1
3ODQWEXV
&EXV $6LQWHUQDOEDFNSODQHEXV
36
&38
31,2
3
4
&3
([W
2
5
6
)LHOGEXV
)LHOGEXV
Designation
Explanation
①
②
The central plant clock distributes the time frames via the plant bus (Industrial Ethernet).
③
The CPU PN I/O with integrated Ethernet interface actively distributes the time frames
on the communication bus (C bus).
The CPU PN I/O with integrated Ethernet interface receives the time frames via the
internal Industrial Ethernet PN/IO interface and synchronizes its internal clock.
The CPU PN I/O with integrated Ethernet interface is a time slave on the plant bus.
The CPU PN I/O with integrated Ethernet interface is a time master on the C bus.
88
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.6 Configuring time synchronization on an AS
Designation
Explanation
④
The CPU PN I/O with integrated Ethernet interface actively distributes the time frames
on the fieldbus (PROFIBUS DP) via the internal PROFIBUS DP interface.
The CPU PN I/O with integrated Ethernet interface is a time master on the fieldbus.
⑤
The CP 443-5 Ext obtains the time frames from the C bus and synchronizes its internal
clock.
⑥
The CP 443-5 Ext distributes the time frames on the fieldbus (PROFIBUS DP).
The CP is the time slave on the C bus.
The CP is the time master on the fieldbus.
You can find information on configuring in the following section.
5.6.3.2
How to configure configuration 2
Requirements
● SICLOCK TC 400
● CP for PROFIBUS (using CP 443-5DX05 as example)
● Firmware version:
– CPU >=V5
– H CPU >= V6
Configuration of the modules
The following table shows the settings in HW Config in SIMATIC Manager according to the
synchronization mode.
NTP mode
SIMATIC mode
SICLOCK TC 400
NTP mode
SIMATIC mode
CPU
"Clock" group
"Diagnostics/Clock" tab
1. For the synchronization in the AS, select "As master"
synchronization mode from the drop-down list.
2. Select 10 seconds as the time interval from the drop-down list.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
89
Configuring time synchronization
5.7 Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
Integrated PROFINET interface
PN/IO of the CPU
"Time synchronization" tab
NTP mode
SIMATIC mode
"NTP mode" group
"SIMATIC mode" group
1. Activate time
synchronization via NTP.
This group is displayed with
S7-400 H only.
2. Insert the required
addresses in the text box for
the NTP server addresses.
1. Select "As slave" as
synchronization mode from
the drop-down list.
3. Select the time zone (GMT)
Dublin, Edinburgh, Lisbon,
London in the Time zone
drop-down list so that the
CPU will be synchronized
with UTC time.
4. Enter the value "10" in the
text box for the update
interval [seconds].
Integrated PROFIBUS DP
interface of the CPU
1. Select "As master" synchronization mode from the drop-down
list.
"Clock" tab
2. Select 10 seconds as the time interval from the drop-down list.
CP 443-5DX05
"Time synchronization" group
Options"
1. Select "From station to LAN".
"Parameterization of field devices (data set routing)" group
1. Select "Activate data set gateway".
5.7
Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX
5.7.1
Overview of time synchronization for SIMATIC PCS 7 BOX RTX and SIMATC PCS
7 AS RTX
Options
The following aspects are relevant to time synchronization for SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX.
● Type of automation system
● Installed software
● Settings for the time zone and daylight saving time/standard time conversion in Windows
● Selection of the synchronization source for the automation system (WinAC time
synchronization)
● Settings for the time base in WinCC for the automation system and process mode of the
operator station
90
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.7 Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
Plant-dependent parameter assignment of the time synchronization for SIMATIC PCS 7 BOX RTX and
SIMATIC PCS 7 AS RTX
In PCS 7, the option for time synchronization of SIMATIC PCS 7 BOX RTX and SIMATIC PCS
7 AS RTX is independent of the plant configuration. The following table shows the settings
required for time synchronization.
Settings to be made in
following environment
PCS 7 network
Single station system
Synchronization via plant
bus (external)
Synchronization via BIOS time (local)
The displayed time
should match the
synchronization source
specifications.
The displayed time
should match the local
time. Possible to switch
between daylight saving
time/standard time.
A continuous time should
be set on the AS (GMT/
UTC).
The time should be displayed uniformly across all levels and
functions.
WinAC time
synchronization Settings
(Page 91):
Source: CP
Source: PC
Source: PC
Time base: GMT
Time base: Local
Windows setting
Date and time properties
> "Time Zone" tab
Settings (Page 66):
Time zone: Local time
zone
Time zone: Local time zone
Time zone: Greenwich Mean Time
(GMT)
Select switchover between daylight saving and standard
time on a plant-specific basis
"Automatically adjust clock for
daylight saving changes" check
box deactivated
WinCC Explorer
"Computer" object
properties > "Parameters"
tab (Page 93)
Option button "The PLC is set to coordinated universal time
(UTC) (preferred setting)": Activated
Option button "PLC is set to the
local winter time all year": Activated
WinCC Explorer "Time
Synchronization" editor
You will find information on plant-configuration-dependent settings under "Configuring the time
synchronization for PC stations with OS (Page 63)"; section "Configuring the OS client for time
synchronization"
5.7.2
"Time base for time display in runtime" group: Local time zone
How to set the time synchronization source
Introduction
Make the setting in accordance with the configuration you selected.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
91
Configuring time synchronization
5.7 Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
Requirements
● The WinAC Time Synchronization software V4.0 or higher is installed on SIMATIC PCS 7
BOX RTX and SIMATIC PCS 7 AS RTX.
● In HW Config, "As slave" must have been set as the synchronization mode for time
synchronization in the AS.
● The Windows settings and settings for the computer object properties in WinCC Explorer
must be made.
Synchronizing SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX as a group via the plant bus
Set the CP of the PC station as the source for time synchronization.
1. Select PC Based Control > WinAC Time Synchronization in the Start menu under the
Siemens SIMATIC programs.
The "WinAC Time Synchronization" dialog box opens.
2. Activate the "CP" options button under "Source" in the in the "Settings" group.
3. Click "Select".
4. In the "Set PG/PC Interface" dialog box that appears, select the interface connected to the
plant bus in the "Interface parameterization used" group.
5. Click "OK" to close the dialog box.
6. Click "OK" to confirm the message that appears.
7. Click "Start" to initiate time synchronization.
8. Click "Close" to close the dialog box.
Synchronizing SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX as a stand-alone system with
PC clock
For a single station system, you need to set the PC clock as the source for time synchronization.
1. Select PC Based Control > WinAC Time Synchronization in the Start menu under the
Siemens SIMATIC programs.
The "WinAC Time Synchronization" dialog box opens.
2. In the "Settings" group under "Source", click "PC Clock".
3. Select the time base ("Time base" option button) according to the type of time display
required:
– The displayed time should match the local time, including daylight saving changes. A
continuous time should be set on the AS (GMT/UTC):
Time base: GMT
– The time should be displayed uniformly across all levels and functions: Time base: Local
Note: Daylight saving and standard time must be set manually. Please contact Customer
Support regarding automatic switchover.
4. Click "Start" to initiate time synchronization.
5. Click "Close" to close the dialog box.
92
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.7 Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
5.7.3
How to set the OS properties
Introduction
PCS 7 OS and the AS are synchronized via the local PC clock.
Requirements
● WinCC Explorer must be open.
● The procedure is relevant only for SIMATIC PCS 7 BOX RTX.
Procedure
1. Select the "Computer" object from the tree structure in WinCC Explorer.
2. Select Properties in the shortcut menu.
The "Computer List Properties" dialog box opens.
3. Click "OK".
The "Computer Properties" dialog box opens.
4. Select the "Properties" tab.
5. Make the settings for the time base in WinCC for the AS (PLC) and for process mode of
the operator station (runtime), according to the type of time display required:
PCS 7 network
Single station system
Synchronization via plant
bus (external)
Synchronization via BIOS time (local)
The time should be
The displayed time should
displayed as follows: match the synchronization
source specifications.
Parameter
The displayed time
should match the local
time. Possible to switch
between daylight
saving time/standard
time
A continuous time
should be set on the AS
(GMT/UTC).
Option button "The PLC is set to coordinated
universal time (UTC) (preferred setting)": Activated
The time should be
displayed uniformly
across all levels and
functions.
Note:
Daylight saving and
standard time must be
set manually.
Option button "PLC is
set to the local winter
time all year": Activated
"Time base for time display in runtime" group: Local time zone
6. Click "OK".
The "Computer properties" dialog box closes.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
93
Configuring time synchronization
5.7 Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
5.7.4
How to configure the time synchronization for the AS
Introduction
The following configuration is required for the AS.
Requirements
● The PCS 7 project is created.
● SIMATIC Manager is open.
● The component view is activated
Procedure
1. In the component view, select the SIMATIC PC station.
2. In the detailed view, double-click the "Configuration" object.
HW Config opens.
3. Select the CPU.
4. Open the shortcut menu of the CPU and select the menu command Object Properties.
– Select the "Diagnostics/Clock" tab.
– In the "Clock" group, select the “As slave" synchronization type for "Synchronization in
the PLC".
– Click "OK".
The dialog box closes.
5. If you are using a CP 56x1, open the shortcut menu of the CP and select Object
properties.
– Select the "Clock" tab
– Select "As master" in the "Synchronization type" drop-down list.
– Select "10 seconds" in the "Time interval" drop-down list.
– Click "OK".
The dialog box closes.
6. Select the menu command Station > Save and Compile.
7. Close HW Config.
5.7.5
How to set OS time synchronization
Introduction
The PCS 7 OS is synchronized via the local PC clock.
94
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.7 Configuring the time synchronization for SIMATIC PCS 7 BOX RTX and SIMATIC PCS 7 AS RTX
Requirements
● The WinAC Time Synchronization software V4.0 or higher is installed on SIMATIC PCS 7
BOX RTX.
● In HW Config, "As slave" must have been set as the synchronization mode for time
synchronization in the AS.
Setting the time synchronization of the OS
Requirements
● WinCC Explorer must be open.
● The procedure is relevant only for SIMATIC PCS 7 BOX RTX.
Procedure
Note
SIMATIC PCS 7 BOX RTX on the plant bus (LAN)
The following steps within this procedure are only required if the PC station is operated on
the plant bus (LAN).
1. Select the "Time synchronization" editor in WinCC Explorer.
2. Select Open in the shortcut menu.
The "Time Synchronization" dialog box opens.
3. Activate the "Synchronization via System Bus (Master, Slave)" check box.
4. Activate the "Display symbolic name of the access point" check box.
5. Go to the "Access point 1" drop-down list box and select "<Softnet(2)>": This is to be used
for synchronizing the time on the plant bus.
6. Activate the "Slave" option button, as a time master is available.
7. Click "OK".
The "Time Synchronization" dialog box closes.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
95
Configuring time synchronization
5.8 Configuring time synchronization with multiple networks
Further information
● Manual SIMATIC; Windows Automation Center RTX; WinAC RTX
5.8
Configuring time synchronization with multiple networks
5.8.1
Configuring time synchronization for separate networks using a central clock
Introduction
To ensure time synchronization for separate networks as well, only the time frame of the central
plant clock (SICLOCK TC x00) should be forwarded to the various networks.
● Use SICLOCK TC 400 to synchronize up to four networks.
● If several separated networks must be synchronized, use a suitable switch, e.g.,
SCALANCE X414-3E, for separating the frame traffic.
The following example demonstrates synchronization of 5 networks with a SICLOCK TC 100
central plant clock, using a SCALANCE X414-3E switch.
$FFHVVFRQWURO3RUW/RFN
LQDFWLYH
6,0$7,&WLPHGLDJUDPVIRUZDUGHGWRDOO
SRUWV
$FFHVVFRQWURO3RUW/RFN
DFWLYH
6ODYHWRVODYHFRPPXQLFDWLRQEORFNHG
3ODQW
3ODQW
3ODQW
6,&/2&.
6&$/$1&(;(
3ODQW
3ODQW
Function for separating message frame traffic
The following function is used to separate message frame traffic between the networks.
● SCALANCE X414-3E switch: Access control
Configure the switches using web-based management.
● OSM/ESM switch: Port lock
Configure the switch using Telnet. You can use web-based management if Java is installed
on the PC station used for configuration.
Do not install Java Runtime software on PC stations involved in process operation.
For security reasons, the Java Runtime software should only be installed on selected PC
stations.
96
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.8 Configuring time synchronization with multiple networks
Requirements
● The synchronization message frame from SICLOCK must be configured.
● The IP address of SICLOCK must be known.
● The SICLOCK (central plant clock) must be connected to a switch.
● The networks (plant 1 to plant 5 in the example figure) are not connected to the switch.
● You must configure the switches using web-based management.
Requirements for configuration using web-based management
● The IP address of the switch must be set.
There must be an Ethernet connection between the switch and PC station.
● Microsoft Internet Explorer V5.5 or higher must be installed on the PC station.
● Access to port 80 or 443 must be possible if a firewall is installed (web-based management
is based on access via HTTP or HTTPS).
● Only for OSM/ESM: JavaScript is enabled for the Internet Explorer settings.
Note
Internet Explorer must be set up in such a way that a page is not downloaded from the
server every time it is accessed.
Check the setting in Internet Explorer using Tools > Internet Options > "General" tab >
"Temporary Internet files" group > "Settings" button.
The Automatically option button must be activated in the Check for newer versions of
stored pages area.
Further information
Configure the function for separating message frame traffic according to the switch used. You
can find information about this in the following sections:
● Section "How to configure SCALANCE X414-3E for separation of time frames (Page 97)"
● Section "How to configure an OSM/ESM for separation of time frames (Page 99) ".
5.8.2
How to configure SCALANCE X414-3E for separation of time frames
Requirements
● The IP address or the URL of the switch must be known.
● Requirements for configuration using web-based management must have been met.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
97
Configuring time synchronization
5.8 Configuring time synchronization with multiple networks
Procedure
1. Open Internet Explorer.
2. Enter the IP address or the URL of the switch in the address field of Internet Explorer. The
login dialog of web-based management is displayed once a reliable connection has been
established to the switch.
3. Select the "Admin" entry in the "LoginID" selection field if you wish to edit the settings of
the IE switch (read and write access). You are only granted read access to the configuration
data of the switch if you selected the "User" entry.
4. Enter your password. The default passwords (from the delivery condition) apply if you have
not yet specified a password:
– User name: admin - Password: admin
– User name: user - Password: user
Note
You are strongly advised to change the default passwords (using the Command Line
Interface - CLI) for security reasons.
5. Click "OK" to initiate login at the switch.
6. Select the "Switch > Ports" folder from the tree view.
The "Port Status" menu opens.
7. In the "Port" column, click the number of the port to which part of the plant is connected.
The "Port Configuration" menu opens.
8. Activate the "Port enabled" check box.
9. Click the "Set Values" button.
10.Connect the networks to the switch.
11.Click "Port".
12.Repeat steps 9 to 11 for the ports of the other plants.
Result
Configuration via Web Based Management (WBM) is complete.
Note
Do not enter any Unicast addresses in the Access Control List (ACL) for the plant ports.
98
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.8 Configuring time synchronization with multiple networks
Further information
● Configuration Manual Industrial Communication; Industrial Ethernet Switches;
SCALANCE X300; SCALANCE X400, chapters "Access Control Port Configuration menu
item" and "The Port Status menu item"
5.8.3
How to configure an OSM/ESM for separation of time frames
Requirements
● The IP address of the switch must be known.
● The ports to which a plant is connected must be known.
Procedure
1. Go to the Start menu in Windows and select the "Run" dialog box.
2. Enter the following in the input field:
cmd
3. Enter the following command:
telnet <IP address>
You will be prompted to enter the login name.
4. Enter the following login name:
admin
You will be prompted to enter the password:
5. Enter the password (default password in delivery condition: admin).
The Command Line Interface (CLI) opens.
6. Enter the following command:
port
7. Enter the following command for an OSM/ESM port connected to a plant:
lock d <port number>
8. Repeat step 7 for all ports which are connected to plants.
9. Enter the following command:
Exit
Result
Configuration via Telnet is complete.
Note
Do not enter any Unicast addresses in the PDB for the plant ports.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
99
Configuring time synchronization
5.9 Configuring redundant PCS 7 systems
Further information
User Manual SIMATIC NET; Industrial Ethernet OSM/ESM Network Management
5.9
Configuring redundant PCS 7 systems
5.9.1
How to configure time synchronization of OS servers with a redundant
communication module and external clock
Introduction
The described configuration is based on redundant OS servers on a redundant plant bus.
Communications processors
Each OS server in a server pair must feature redundant communication modules.
Possible types:
● Two CP 1613 each
● Two CP 1623 each
● Two CP 1628 each
You configure the communications processor and its partner module on the engineering station
in the OS server project in the "Time Synchronization" editor.
The communications processor under access point 1. The partner module under access point
2.
You can find information about configuring the communications processors in the section
"Configuring the time synchronization for PC stations with OS (Page 63)".
Central plant clock/recommendation
● SICLOCK TC 400
● SICLOCK TC 100 with switch from the SCALANCE X product series
You can find information on configuring in the section "Configuring time synchronization
with multiple networks (Page 96)".
100
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Configuring time synchronization
5.10 Configuring the time synchronization of the domain controllers (DC)
5.9.2
How to configure time synchronization on a PCS 7 system with redundant bus system
Overview of configuration steps
The table below shows the steps that are necessary for configuring time synchronization for
redundant buses, including references to the sections in this documentation that provide a
corresponding description:
Step
What?
For more information, refer to the
section:
1
Commission the SICLOCK central plant clock
"Commissioning the SICLOCK
TC x00 (Page 56)"
2
Connect the GPS decoder to the SICLOCK central plant
clock and configure it
"Commissioning GPS receivers
(Page 59)"
3
The SICLOCK TC 400 / TC 100 central plant clock is
connected to the network redundantly (LAN A and LAN B).
4
Connect the central plant clock to the plant bus, depending
on the configuration selected:
● Via Ethernet for fault-tolerant redundant buses
"Configuring time
synchronization with multiple
networks (Page 96)"
● Via SCALANCE for separated plant buses
5
Configuring time synchronization for automation systems
in HW Config
"Configuring time
synchronization on an AS
(Page 83)"
6
OS server time synchronization
"Configuring the time
synchronization for PC stations
with OS (Page 63)"
7
OS client time synchronization
"How to assign parameters for
an OS client (Page 79)"
5.10
Configuring the time synchronization of the domain controllers (DC)
5.10.1
How to configure time synchronization of the domain controller
Options for time synchronization with a central plant clock
In PCS 7, domain controllers are synchronized with the central plant clock by default.
In a domain, always synchronize only the domain controller that manages the role of the PDC
emulator.
You can find the current PDC emulator if you enter the following command in the command
prompt of the Windows Start menu on any domain controller:
netdom query fsmo
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
101
Configuring time synchronization
5.10 Configuring the time synchronization of the domain controllers (DC)
You can find additional information on synchronizing the domain controller using NTP and on
general configuration in the section "How to synchronize PC stations without OS using the
NTP mode (Page 81)".
Further information
Microsoft literature
102
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Checking time synchronization
6.1
6
How to check the time of the PC stations
Introduction
The following control system message is displayed if time synchronization is disturbed at a PC
station, for example:
"LAN-Sync: Time synchronization with PC <xxx> is disturbed".
Requirement
It must be possible to operate the operating system environment.
It must not be possible to execute the w32tm function if command prompts have been disabled
in the process mode (runtime) configuration. If you wish to use this function, you must change
the configuration for process mode.
Methods for checking the time
You can check the time of PC stations in the PCS 7 plant by using the operating system function
"w32tm". Use the "w32tm" operating system function to set the time difference to an additional
computer.
Note
Additional information about the w32tm command is available by entering the string
"w32tm/?" in the Windows "Run" dialog window.
Checking time synchronization using w32/tm
When you enter the command "w32tm/stripchart/computer:<destination>[/
period:<time>]dataonly][/samples:<number>]", you will see a diagram that displays the
deviation (offset) of the computer currently in use to the specified computer.
Command switches
Meaning
computer:<destination>
The computer used as the base for the deviation measurement.
Domain controller "DC1" is the target in the example shown below.
period:<time>
Time in seconds between updates. The default value is 2 seconds.
dataonly:
Show only data and no graphics.
samples:<number>
Stops sampling after specified number of time samples. If this value
is not specified, time samples will be collected until you press the "CtrlC" key shortcut.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
103
Checking time synchronization
6.2 How to check the time on an OS server with CP 16x3 / CP 16x8
Example: Checking the time synchronization
1. Go to the Start menu in Windows and select the "Run" dialog box.
2. Enter the following in the input field:
cmd
The Windows command window opens.
3. Enter the following:
w32tm /stripchart /computer:<IP address of the time server>
The time difference is displayed in a table in the command prompt.
Example:
w32tm /stripchart /computer:111.222.33.44
4. Output is interrupted by pressing CTRL+C.
Monitoring the central plant clock
The SICLOCK function can be monitored using a binary alarm output. For information on
configuring this output, refer to the SICLOCK documentation.
Configure a priority "16" alarm for monitoring this output in a user program on an automation
system.
You can find additional information on configuring the alarm in the PCS 7 Process Control
System; Operator Station Configuration Manual.
Further information
● Internet: www.microsoft.com, subject: "Synchronizing the time using the Windows time
service in Windows XP (http://support.microsoft.com/kb/307897/en)"
● SICLOCK; SICLOCK TC 400 Operating Instructions
6.2
How to check the time on an OS server with CP 16x3 / CP 16x8
Requirement
● One of the following communication processors is used as network adapter for
communication between the OS server and plant bus:
– CP 16x3
– CP 16x8
● The time synchronization is activated for the communications processor (see note in
"Procedure" below).
Procedure
1. In the Start menu, select the command Siemens Automation > SIMATIC > SIMATIC NET
> Communication settings.
2. In the tree structure, open the folder Modules > <CP...> > Time of day.
104
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Checking time synchronization
6.3 How to configure the status check of the time master role of the OS server
3. Check the following settings:
– Time-of-day adjustment: enabled
– Time reception: ...<Date Time> ... <synchron>
4. Check the parameter assignment of the communications processor.
You can find additional information on this in the section "How to assign parameters for a
CP 16x3 / CP 16x8 communications processor (Page 63)".
6.3
How to configure the status check of the time master role of the OS
server
Synchronization via plant bus
The time synchronization via the plant bus/Industrial Ethernet bus is only available on WinCC
server projects. A BCE network adapter or up to two communication processors (for example
CP 1623) can be used as the access point for time synchronization.
You can view the status of the access points in process mode. Configure an I/O field for each
access point.
● For the first access point:
Assign the internal text variable "@TimeSyncDevice1State" to an I/O field.
● For the second access point:
If a second CP16x3 is available for time-of-day synchronization in the computer, assign the
text variable "@TimeSyncDevice2State" to an additional I/O field.
The following status information can be displayed in these I/O fields in process mode:
● "Slave"
● "Standby master"
● "Active master"
● "Deactivated"
Note
The configuration engineer is not permitted to create @ prefix variables. This is reserved
for the WinCC PCS7 software. It is not permitted to manipulate these system variables.
The system variables are required for fault-free operation of the product.
Additional information
Online help WinCC Information System
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
105
Glossary
CEDST
Central European Daylight Saving Time
Central plant clock
A central plant clock receives a time frame from an external clock and forwards it to the terminal
bus or plant bus.
CET
Central European Time
Clock, external
External clocks synchronize a plant using externally received time frames, e.g., of the DCF77
radio signal or satellite-based GPS signal.
Cooperative time master
A cooperative time master assumes the role of time master only when it stops receiving time
frames from the active time master.
DCF 77
DCF 77 is a time signal that is sent from the DCF 77 transmitter at Frankfurt am Main.
The time signal transmits the statutory time applicable to the Federal Republic of Germany.
Domain controller
A domain controller is a server that regulates and manages the authentication and
authorization of the computers and users a within Windows computer network.
GMT
Greenwich Mean Time
GPS
Global Positioning System
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
107
Glossary
Local time
The local time is actual time in the respective time zone.
NTP
Network Time Protocol
Passive time master
A passive time master takes over the function of the active time master if the active time master
should fail.
RTC (Real Time Clock, hardware clock)
RTC is the internal, battery-operated clock of a PC. This clock continues to run even if the PC
is switched off and it has the precision of a quartz clock.
SIMATIC mode
The SIMATIC mode works with MAC addresses (ISO layer 2) and can thus be used only in
the local Ethernet subnet.
This time synchronization method is not routing-capable.
Stratum, strata
A stratum is a hierarchy level within time synchronization. Within a stratum, the time is the
same for all components.
● The time basis (precise reference time) within the entire system is designated as stratum
0.
● Components that are directly linked to the time basis are designated as stratum 1.
● Any component within a stratum (n) that causes a time difference generates a new time
level stratum (n+1). The digit next to "stratum" indicates the number of time levels between
the time basis (stratum 0) and a stratum (n).
Time master
The time master is responsible within the time synchronization for distributing the time frame.
It forwards the time frame to the PCS 7 components configured as time slaves.
The following time master types are available:
● Active time master
● Cooperative time master
● Passive time master
108
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Glossary
Time slave
The time slaves are PCS 7 components that receive the time frames from the time master and
use these to set their own clock.
Time synchronization
With time synchronization, the date and time of all time-dependent components are unified by
a time master.
UTC (Universal Time Coordinated)
UTC is an internationally specified time base. It does not take daylight saving time into account.
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
109
Index
A
D
Aligning
Antenna DCF 77, 62
GPS antenna, 60
Antenna DCF 77
Aligning, 62
Applications
Time synchronization, 12
Daylight saving time
Setting on OS, 67
DCF 77 receivers, 61
Definition
Stratum, 17
Time synchronization, 12
Documentation
Purpose, 7
Structure, 7
Target group, 8
Domain
Configuration with central time master, 37
Configuration with multiple hierarchies, 41
Configuration without central time master, 39
Time synchronization, 24, 25, 27
B
Bus, redundant
Configuring, 101
C
Central plant clock, 83
Checking
Time, 103
Clocks
External, 20
Communications processor
Assigning parameters, 63
Checking, 104
Configuration
Domain with central time master, 37
Domain with multiple hierarchies, 41
Domain without central time master, 39
Work group with central time master, 33
Work group without central time master, 35
configurations
Recommended, 31
Configuring
Engineering station, 80
Information Server, 80
Process Historian, 80
Redundant bus, 101
Redundant OS servers with external timer, 100
SIMATIC BATCH, 80
SIMATIC Route Control, 80
Cooperative time master, 21
E
Editing, 94
Hardware configuration of the PC station as a
single station system, 94
Engineering station
Configuring, 80
Example of time synchronization, 22
External
Clocks, 20
G
GPS antenna
Aligning, 60
I
Industrial Ethernet bus, 105
Information Server
Configuring, 80
L
Legend, 22
Local Area Network, 105
Local time, 13
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
111
Index
N
S
NTP mode, 47, 83
Selection
Time master, 43
Setting
Local time on the OS, 65
SICLOCK GPS, 59
Wiring, 62
SICLOCK TC 400, 37, 44
SICLOCK TC x00, 56
SIMATIC BATCH
Configuring, 80
SIMATIC mode, 47, 83
SIMATIC Route Control
Configuring, 80
Single station system, 94
Editing the hardware configuration of the PC
station, 94
Skills, required, 9
Status
Time master role of the OS server, 105
TimeSyncDevice tag, 105
Stratum
Definition, 17
Structure
Documentation, 7
PCS 7 plant, 17
Structure - PCS 7 plant
Rules, 19
Synchronizing, 91, 93, 94
O
OS
Converting to daylight saving time, 67
Converting to local time, 65
OS Client
Assigning parameters, 79
OS server
Assigning parameters, 69, 71, 73, 76
OS Server
Time master role, 105
P
PC station, 94
Editing the hardware configuration as a single
station system, 94
PC stations
Without OS, 80, 82
PCS 7 plant
Structure, 17
Plant busses, separated
Time synchronization, 25
Plants
Distributed , 15
Plants across several time zones
Rules, 16
Process control messages, 105
Process Historian
Configuring, 80
Purpose
Documentation, 7
R
Redundancy, 101
Time master role of the OS server, 105
Time synchronization, 25
Redundant OS servers with external timer
Configuring, 100
Rules
Plants across several time zones, 16
Structure - PCS 7 plant, 19
112
T
Tag
TimeSyncDevice, 105
Target group
Documentation, 8
Time
Checking, 103
Time master, 20
Selection, 43
Time master role of the OS server, 105
Time slave, 20
Time synchronization, 91, 93, 94, 105
Applications, 12
Configuring, 86, 89
Definition, 12
In domain, 24
In domains, 25, 27
in the work group, 24, 26
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
Index
NTP and SIMATIC mode, 83, 85, 88
On separated plant busses, 25
Redundancy, 25
Time zone, 15
W
Windows domain, 53, 55
Wiring
SICLOCK GPS, 62
Work group, 50, 51
Time synchronization, 24, 26
Work group with central time master
Configuration, 33
Work group without central time master
Configuration, 35
Time synchronization (V8.0 SP1)
Function Manual, 05/2013, A5E02779849-03
113
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement