PCS7 Time Sychronization
PCS7 Time Sychronization
PCS7 Time Sychronization
Preface 2
Basics 3
SIMATIC
Configurations for time
11/2021
A5E50316918-AB
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.
1 Security information.............................................................................................................................. 7
2 Preface ................................................................................................................................................... 9
3 Basics .................................................................................................................................................. 13
3.1 Using time synchronization in PCS 7 ................................................................................... 13
3.2 Time synchronization options for PCS 7 components .......................................................... 15
3.3 Time displayed in PCS 7...................................................................................................... 16
3.4 Time synchronization in distributed PCS 7 plants ................................................................ 17
3.5 Central plant clock ............................................................................................................. 20
3.6 Time levels of a PCS 7 plant (stratum)................................................................................. 21
3.7 Operating principle of time synchronization in PCS 7 .......................................................... 24
3.7.1 Time sources for a PCS 7 plant............................................................................................ 24
3.7.2 Time master, time slave, and cooperative time master ........................................................ 25
3.7.3 Legend for figures used in this documentation ................................................................... 26
3.7.4 Example of the time synchronization sequence .................................................................. 27
3.8 Network environment of a PCS 7 plant ............................................................................... 30
3.8.1 Overview ........................................................................................................................... 30
3.8.2 Network environment within a domain .............................................................................. 30
3.8.3 Network environment within a work group......................................................................... 31
3.8.4 Network environment in redundant, high availability networks........................................... 32
3.8.5 Network environment on separate networks with one central plant clock ........................... 34
4 Configurations for time synchronization of a PCS 7 plant ................................................................... 37
4.1 Overview of recommended configurations ......................................................................... 37
4.2 Rules for time synchronization in PCS 7 .............................................................................. 38
4.3 Configurations for time synchronization in a work group..................................................... 39
4.3.1 Configuration in a work group with central time master...................................................... 39
4.3.2 Configuration in a work group without central time master................................................. 41
4.4 Configuration for time synchronization in a Windows domain ............................................. 43
4.4.1 Configuration in a Windows domain with a hierarchy with central time master ................... 43
4.4.2 Configuration in a Windows domain with a hierarchy without central time master .............. 45
4.4.3 Configuration in a Windows domain with multiple hierarchies ............................................ 47
5 Planning time synchronization ............................................................................................................ 49
5.1 Selecting the time master .................................................................................................. 49
5.2 Selecting the central plant clock ......................................................................................... 50
5.3 Time synchronization and high-precision time stamping for PROFINET IO fieldbus ............... 52
6 Configuring time synchronization ...................................................................................................... 55
6.1 Introduction....................................................................................................................... 55
6.9.2 How to configure time synchronization on a PCS 7 system with redundant bus system ...... 109
6.10 Configuring the time synchronization of the domain controllers (DC) ................................ 111
6.10.1 How to configure time synchronization of the domain controller....................................... 111
7 Checking the time synchronization ................................................................................................... 113
7.1 How to check the time on the PC stations ......................................................................... 113
7.2 How to check the time on an OS server with CP 1623 / CP 1628........................................ 115
7.3 How to configure the status check of the time master role of the OS server ...................... 116
Glossary ............................................................................................................................................. 117
Index .................................................................................................................................................. 121
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
Target group Using the documentation Target-group relevant chapters of the documentation
Sales Sales personnel give clear advice to their cus‐ • "Fundamentals"
tomers on implementing the "time synchroni‐ • "Configurations for time synchronization of a PCS 7
zation" function in a PCS 7 plant.
plant"
• "Planning time synchronization"
Planning The system planner uses the information in • "Fundamentals"
the documentation for optimal set up and the • "Configurations for time synchronization of a PCS 7
components necessary in this regard for plan‐
plant"
ning a PCS 7 plant with the "time synchroniza‐
tion function". • "Planning time synchronization"
Configuration The configuration engineer is provided with • "Configuring time synchronization"
exact instructions relative to the "time synchro‐
nization" function; these instructions show
the specific steps that are necessary to adjust
the time synchronization at all relevant points.
• PUD Manager
The "PUD Manager" an innovative tool to access documentation, comes with SIMATIC PCS 7.
Some of the highlights:
– Customize the documentation set according to your needs.
– Efficient search engine to access your information.
For more information on PUD Manager, refer Process Control System PCS 7; PUD Manager
Online Help.
• Technical Information and Solutions
For important technical information and solutions, refer to SIMATIC PCS 7 Overview (https://
support.industry.siemens.com/cs/ww/en/view/63481413).
• PCS 7 System Documentation
System documentation contains information that covers several products, such as
configuration manuals and Getting Started manuals. This documentation serves as a
guideline for the overall system and explains the interaction between the individual
hardware and software components.
• PCS 7 Product Documentation
Product documentation contains information about special hardware and software
components. The individual documents provide detailed information on the specific
component.
Full versions of the documentation are available from the "Technical Documentation SIMATIC
PCS 7" website: www.siemens.com/pcs7-documentation (https://
support.industry.siemens.com/cs/ww/en/view/109801081).
You can find additional information in the product overview Process Control System PCS 7; PCS 7
- Documentation; Section "Options for accessing the documentation".
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
Conventions
In this documentation, the names of elements in the software user interfaces are specified in the
language of this documentation. If you have installed a multi-language package for the
operating system, some of the designations will be be displayed in the basic operating system
language even after you change the language and will, therefore, differ from the designations
used in the documentation.
See also
Time synchronization and high-precision time stamping for PROFINET IO fieldbus (Page 52)
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
7HUPLQDOEXV
3ODQWEXV
352),%86'3
352),%86'3
3&6%2;
(70 (70
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.
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 synchronization
• Batch monitoring
• Authentication of a domain client
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.
The following table shows some examples of time zones and their time differences in relation to
UTC:
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.
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.
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
Additional information
• Section "Setting the time displayed (Page 77)"
• WinCC online help
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.
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:
Definition stratum
A PCS 7 plant component such as the central time clock 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 central plant clock is the time master for those components whose time is
determined in relation to the central plant clock. 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.
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
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 obtains the time via a radio signal (e.g. GPS decoder or DCF 77
receiver) and 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.
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.
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.
Note
This setting applies both for the configuration with and without a central time master (central
plant clock).
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)
Note
If the time jump exceeds more than 5 seconds in a redundant environment, the master server
of the system loses the time mastership on the plant bus. However, the OS Server (WinCC) still
considers it as the master server. Hence the standby server cannot be the active time master and
there will be no time synchronization on the plant bus.
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
26VHUYHU
Introduction
Time synchronization in a work group with central plant clock is described in the following.
The Central plant clock timer is the time master.
Note
Standard CPU types up to firmware V6.x with integrated Ethernet interface that support only the
NTP mode are synchronized only with the use of a central plant clock.
26FOLHQWV
26VHUYHU 26VHUYHU
In this figure, the central plant clock is the time master for the plant.
The central plant clock 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 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 central plant clock cannot be received by the PCS 7 components.
26FOLHQWV
26VHUYHU 26VHUYHU
The time frames sent by the central plant clock cannot be received by the components on the
plant bus.
The interruption can be caused by a network interruption of failure of the central plant clock.
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.
3.8.1 Overview
Structure
The following figure illustrates the recommended configuration for a PCS 7 plant in a Windows
domain with a central time clock:
26VHUYHU
Structure
The following figure illustrates the recommended configuration for a PCS 7 plant in a work group
with a central time clock:
26FOLHQWV
26VHUYHU 26VHUYHU
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.
Structure
The figure below illustrates the recommended configuration for a PCS 7 plant with a redundant
network structure (redundant terminal bus and plant bus):
3.8.5 Network environment on separate networks with one central plant clock
Structure
The following figure illustrates the recommended configuration for a PCS 7 plant on separate
networks using a single central plant clock:
SCALANCE
XM416-4C
26VHUYHU 26VHUYHU
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 the "Access Control" function when you use suitable SCALANCE switches. Bidirectional
communication is disabled if the corresponding function is activated.
Additional information
• SICLOCK Application Note AN-002 (https://support.industry.siemens.com/cs/de/en/view/
67638139)
• Configuration Manual SCALANCE Industrial Ethernet Switches
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
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 a central time master in a Windows domain with
one hierarchy (Page 43)"
• Configuration of time synchronization without a central time master in a Windows domain
with multiple hierarchies (Page 47)"
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 central plant clock is
required.
If the 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.
Additional information
• Section "Time synchronization in distributed PCS 7 plants (Page 17)"
• Documentation Process Control System PCS 7; Released modules
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
26VHUYHU 26VHUYHU
Time master
Central plant clock 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.
Additional information
• Section "Time synchronization in a work group with central time master (Page 57)"
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 26VHUYHU
0 0
3ODQWEXV
$6 $6
Time master
The OS servers are time masters for the PCS 7 plant on the plant bus/terminal bus.
Additional information
• Section "Time synchronization in a work group without central time master (Page 59)"
4.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.
Configuration
The following figure illustrates the recommended configuration for a PCS 7 plant in a Windows
domain with a central time master:
Time master
Central plant clock 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.
Additional information
• Section "Time synchronization in a Windows domain with a hierarchy with central time
master (Page 60)"
• The procedure for configuring an authorizing 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 (https://support.microsoft.com/en-us/kb/816042)
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.
7HUPLQDOEXV
(QJLQHHULQJ
VWDWLRQ 26VHUYHU 26VHUYHU
0 0
3ODQWEXV
$6 $6
Time master
Domain controller (DC) with PDC emulator operation master role
Additional information
Section "Time synchronization in a Windows domain with a hierarchy without central time
master (Page 62)"
The procedure for configuring an authorizing 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-us)
Configuration
The following figure shows an example configuration for time synchronization in a Windows
domain with multiple hierarchies:
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 of a PCS 7 plant (stratum)
(Page 21)".
• 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 master With time Provides the time Time master Forwards the time to ...
source ... via ... forwards the time to...
SICLOCK or Buerk tim‐ Central clock: Non- Terminal bus Domain controller -
er synchronized or Terminal bus OS server Terminal bus with OS servers
synchronized and OS clients
(e.g. via GPS or Plant bus Automation systems -
DCF 77)
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.
Additional information
• Information about Buerk timers (https://support.industry.siemens.com/cs/ww/en/view/
109760344)
Introduction
If you want to use high-precision time stamping for PROFINET IO fieldbus, the plant bus must be
divided as shown in this section.
Result
• A network (labeled "TIME-NET" here) only connects the central plant clock to the first CPU
configured for high-precision time stamping.
This CPU sends the time frames to next node in the TIME-NET.
• A central plant clock sends the time frames via Industrial Ethernet.
• There is a direct connection between the central plant clock and the integrated PROFINET IO
interface of the CPU.
• The time-of-day synchronization for the CPU is performed with the SIMATIC method.
For more information, refer to Function manual SIMATIC; ET 200SP HA; Time stamping with ET
200SP HA and Process Control System PCS 7; High-precission time stamping.
For information on which quantity frameworks and configuration guidelines apply for high-
precision time stamping with an accuracy of 1 ms when using the ET 200SP HA and PROFINET
(https://support.industry.siemens.com/cs/ww/en/view/109750520)
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 AS RTX
– SIMATIC IT
– Engineering station
– Process Historian
– Information Server
– SIMATIC Management Console
The following options for synchronizing the time of network components are used in PCS 7:
• Synchronization via WinCC Time Synchronization
Synchronization via the "WinCC Time Synchronization" application is used for time
synchronization of PC stations. The OS server or OS client must be in runtime activated 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. The time master sends broadcasts on the bus.
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
– PC stations on which the software for an OS server or OS client has not been installed.
Typical application for: SIMATIC BATCH, SIMATIC Route Control, Engineering Station,
Process Historian, Information Server
Example configuration
The following figure shows an example configuration.
26FOLHQWV
26VHUYHU 26VHUYHU
Overview
The following table lists the topics that contain information and configuring
instructions.
Example configuration
The following figure shows an example configuration.
26FOLHQWV
7HUPLQDOEXV
26VHUYHU 26VHUYHU
0 0
3ODQWEXV
$6 $6
Overview
The following table lists the topics that contain information and configuring
instructions.
6.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.
Overview
The following table lists the topics that contain information and configuring
instructions.
See also
How to synchronize PC stations without OS using the NTP mode (Page 92)
6.2.2.2 Time synchronization in a Windows domain with a hierarchy without central time
master
Example configuration
The following figure shows an example configuration.
7HUPLQDOEXV
(QJLQHHULQJ
VWDWLRQ 26VHUYHU 26VHUYHU
0 0
3ODQWEXV
$6 $6
Overview
The following table lists the topics that contain information and configuring
instructions.
See also
How to synchronize PC stations without OS using the NTP mode (Page 92)
Requirement
Refer to the SICLOCK timer readme for installation requirements.
Install any software required for accessing the SICLOCK timer on one engineering station or on
a separate PC station (not on components involved in the process operation).
Refer to the SICLOCK timer readme/product information for more information about the
software requirements.
The SICLOCK timer can also be configured directly on the panel of the device.
Step What?
1 Wire the time receiver to the SICLOCK timer
2 Configure the time receiver
3 Set the basic parameters on the SICLOCK timer
4 Connect the SICLOCK timer to the PCS 7 plant
5 Configure the SICLOCK timer 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 timer receives a time signal via a GPS
radio clock.
• If you are using the central plant clock SICLOCK TC400, 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) is 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 106)".
The settings shown below for the ETH1 port also apply to the central plant clock SICLOCK TC
100.
4. Select Data Transfer > Download parameters from device from the configuration tool
menu.
5. Configure the SICLOCK timer in accordance with the table below.
Note
The identifier "= ..." in the "Parameters and setting" column represents the "plant-specific
setting".
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.
Additional information
• Section "Rules for time synchronization in PCS 7 (Page 38)"
• Section "Commissioning the DCF 77 receiver for SICLOCK timers (Page 74)"
• Section "Commissioning GPS receivers for SICLOCK timers (Page 72)"
• SICLOCK ; SICLOCK TC 400 Operating Instructions
Requirement
Refer to the Buerk Instruction Manual DTS 41xx Timeserver (https://
support.industry.siemens.com/cs/ww/en/view/109760344)
Prepare a SSH application to access the Buerk timer on one engineering station or on a separate
PC station (not on components involved in the process operation).
Step What?
1 Wire the time receiver to the Buerk timer
2 Configure the time receiver
3 Set the basic parameters on the Buerk timer
4 Connect the Buerk timer to the PCS 7 plant
5 Configure the Buerk timer on a plant-specific basis via SSH
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 Buerk timer receives a time signal via a GPS
radio clock.
• If you are using the central plant clock Buerk timer DTS 4138S, terminal bus (port: ETH1) and
plant bus (port: ETH2) are synchronized directly.
• When a Buerk timer DTS 4128 / 4128S central plant clock is used, only one bus (port: ETH1)
is synchronized because the Buerk timer has only one Ethernet port. For two Ethernet ports
use Buerk timer DTS 4138S.
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 106)".
The settings shown below for the ETH1 port also apply to the central plant clock Buerk timer.
If these possibilities do not work out for the initial configuration, the network configuration can
be modified using a USB flash drive. For this purpose, a text file named DTS4138NW.conf is
created and filled with the corresponding parameters (not all parameters are required):
• IP1:192.168.1.3
• SUB1:255.255.255.0
• GW1:192.168.1.1
• IP2:10.0.0.7
• SUB2:255.255.240.0
• GW2:10.0.0.1
The insertion of the USB flash drive is displayed. For taking over the network settings, press the
button until the normal time display reappears.
Gateway
DNS-server
LAN 1 (DTS 4138S) DHCP Depends on the network infra‐
Configuration > Network > IPV4 IP-adress structure.
Configuration LAN 1 Subnet-mask DHCP or manual IP configuration.
Gateway
DNS-server
Gateway
DNS-server
Additional information
Section "Rules for time synchronization in PCS 7 (Page 38)"
Buerk:Instruction Manual DTS 41xx Timeserver (https://
support.industry.siemens.com/cs/ww/en/view/109760344)
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.
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 timer:
6,&/2&.*36
6,&/2&.7&
;
5$',2&/2&.*1'
5$',2&/2&.$
5$',2&/2&.%
5$',2&/2&.$
5$',2&/2&.% PD[P
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.
Additional information
• Additional information on the connection and optimal alignment of the GPS receiver can be
found in the Operating Instructions for the GPS receiver.
• Additional information on connecting a central plant clock can be found in the Operating
Instructions for the central plant clock.
Note
The SICLOCK GPS receivers cannot be used for Buerk. While using the Buerk Timeserver, it is
necessary to replace the SICLOCK GPS receiver with the Buerk GPS 4500 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.
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
Wiring
The following figure shows how to wire the SICLOCK timer 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&.% PD[P
Additional 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.
Introduction
In order for the communications processor to process the time frames, its time operation must
be assigned.
8. Click OK.
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.
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.
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".
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.
6.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.
Rules
• If operating a PCS 7 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 "Date and Time" tab.
4. In the "Time zone" area, click the "Change time zone" button.
Ensure that the time zone displayed in your list field is appropriate for your area.
5. Select the check box "Automatically adjust clock for Daylight Saving Time".
6. 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.
6.4.3.1 How to assign parameters for an OS server in a work group with central time master
Requirements
• The central plant clock is connected to the terminal bus and the plant bus.
• 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 1623 / 1628 communications processor
(more than 8 AS or high availability AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 1623 / CP 1628 communications processor (Page 76)".
– 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.
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.
Result
The central plant clock transmits the time frames on the terminal bus and the plant bus.
The OS servers are cooperative time masters.
6.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 1623 / 1628 communications processor
(more than 8 AS or high availability AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 1623 / CP 1628 communications processor (Page 76)".
– 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.
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.
Result
The OS servers are cooperative time masters.
Rule
Note
The automation system can only be synchronized if at least one OS server is activated.
6.4.4.1 How to assign parameters for an OS server in a Windows domain with a hierarchy
with central time master
Requirements
• The central plant clock is connected to the terminal bus and the plant bus.
• A domain controller is configured as the operations master PDC emulator.
• 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 1623 / 1628 communications processor
(more than 8 AS or high availability AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 1623 / CP 1628 communications processor (Page 76)".
– 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.
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".
Result
The central plant clock transmits the time frames on the terminal bus and the plant bus.
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.
6.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 operations master PDC emulator.
• 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 1623 / 1628 communications processor
(more than 8 AS or high availability AS).
You can find information about the parameter assignment in the section "How to assign
parameters for a CP 1623 / CP 1628 communications processor (Page 76)".
– 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.
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.
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.
See also
How to assign parameters for an OS server in a Windows domain with a hierarchy with central
time master (Page 85)
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.
PC station with OS
In PCS 7, operator stations offer an integrated time synchronization option in the form of the
"WinCC time synchronization" application. For time synchronization of the PC station, you must
configure the "WinCC time synchronization" application. You can find information on this in the
section "Configuring the time synchronization for PC stations with OS (Page 76)".
PC station without OS
The list below includes PC stations that you can also operate without OS:
• Engineering station
• SIMATIC BATCH stations
• SIMATIC Route Control stations
• Process Historian
• Information Server
• OpenPCS 7
• Web client
• Web diagnostics client
• SIMATIC Management Console
If SIMATIC BATCH, SIMATIC Route Control, or Information Server is installed on the operator
station, the PC station will be synchronized via the time synchronization of the OS.
For time synchronization of these PC stations using the NTP mode is recommended.
Introduction
All the PC stations of a PCS 7 plant can be synchronized using the NTP procedure. With the NTP
procedure the network components fetch the time cyclically and actively from an NTP server.
The NTP server in PCS 7 plants can be a central plant clock or a Windows based NTP server.
The settings of the Group Policy Objects (GPO) are used to configure the NTP client on the
corresponding PC stations to synchronize the system with a NTP server.
In the case of failure of the NTP server which is configured on a non-redundant PC, a project-
specific solution must be organized (for example, synchronization over the internet or another
NTP server).
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).
• NTP server with connection to terminal bus
– Central plant clock (e.g. Buerk Mobatime DTS 4138S)
– Windows-based NTP server. For more information refer: Configuration of a Windows
based NTP server (Page 94)
• You must make the settings as a PC station administrator.
• Incoming connections on UDP port 123 are allowed by the Windows Firewall.
• The service “Windows Time” (W32time) has to be started. The Startup type has to be
“Automatic (Delayed Start)”.
Object Setting
Configure Windows NTP Client Double-click the object and select the "Enabled"
option.
Object Setting
Global configuration settings Double-click the object and select the "Enabled"
option.
AnnounceFlags = 5
6. In the tree view of the "Local Group Policy Editor", select the folder Local Computer Policy
> Computer configuration > Administrative templates > System > Windows Time
Service > Time Providers. The associated objects are displayed in the detail window.
7. Make the following settings:
Object Setting
Configure Windows NTP Client Double-click the object and select the "Disabled"
option.
Enable Windows NTP Client Double-click the object and select the "Disabled"
option.
Enable Windows NTP Server Double-click the object and select the "Enabled"
option.
6.6.1 Time synchronization with central plant clock and S7-400 modules
Introduction
Time is synchronized using an external central plant clock 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 central plant clock.
The time synchronization for the corresponding S7-400 modules is configured in HW Config.
Modules Comment
CPU Central processing unit
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 central plant clock 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 PROFINET IO interface
Time synchronization is performed in the NTP or SIMATIC mode via a CPU PN/DP with
integrated PROFINET IO interface and CP 443-5 Ext. When you use CPU`s of FW V5.x and V6.x
with the internal Ethernet/PROFINET interface, time synchronization must be performed in
NTP mode. If you use CPU's of FW V7.0, H-CPU of FW V6.x and CPU 410, you can also use
SIMATIC mode for time synchronization at the internal Ethernet/PROFINET interface.
6.6.2 Configuration 1
&HQWUDOSODQWFORFN
3ODQWEXV
&3 2 &3
36 &38 ([W
&EXV LQWHUQDO$6EDFNSODQHEXV
5 4 6 4
)LHOGEXV
)LHOGEXV
Desig‐ Explanation
nation
① The central plant clock distributes the time frames via the plant bus (Industrial Ethernet).
② The CP 443-1 obtains the time frames and synchronizes its internal clock.
③ 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.
④ The CPU and the CP 443-5 Ext receive the time frames from the C bus.
CPU and CP 443-5 Ext are time slaves on the C bus.
Desig‐ Explanation
nation
⑤ The CPU distributes time frames via the internal PROFIBUS DP interface on the fieldbus (PRO‐
FIBUS DP).
The CPU is the time master on the fieldbus.
⑥ The CP 443-5 Ext distributes the time frame on the fieldbus (PROFIBUS DP).
The CP 443-5 Ext is a time master on the fieldbus.
Requirements
• Central plant clock
• CP for Industrial Ethernet (using CP 443-1EX30 as example)
• CP for PROFIBUS (using CP 443-5DX05 as example)
• CPU
6.6.3 Configuration 2
Time synchronization with NTP or SIMATIC mode via CPU PN/DP with integrated Ethernet interface
The following figure shows an example of the time synchronization:
&HQWUDOSODQWFORFN
3ODQWEXV
&38 2 &3
36 31'3 ([W
&EXV LQWHUQDO$6EDFNSODQHEXV
3 5
4 6
)LHOGEXV
)LHOGEXV
Designation Explanation
① The central plant clock distributes the time frames via the plant bus (Industrial Ethernet).
② The CPU PN/DP with integrated Ethernet interface receives the time frames via the internal
Industrial Ethernet PN/IO interface and synchronizes its internal clock.
The CPU PN/DP with integrated Ethernet interface is a time slave on the plant bus.
③ The CPU PN/DP with integrated Ethernet interface actively distributes the time frames on
the communication bus (C bus).
The CPU PN/DP with integrated Ethernet interface is a time master on the C bus.
Designation Explanation
④ The CPU PN/DP with integrated Ethernet interface actively distributes the time frames on
the fieldbus (PROFIBUS DP) via the internal PROFIBUS DP interface.
The CPU PN/DP 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 is the time slave on the C bus.
⑥ The CP 443-5 Ext distributes the time frames on the fieldbus (PROFIBUS DP).
The CP is the time master on the fieldbus.
Requirements
• Central plant clock
• CP for PROFIBUS (using CP 443-5DX05 as example)
• Firmware version:
– CPU >=V5 (SIMATIC mode: CPU >= V7)
– H CPU >= V6
Options
The following aspects are relevant to time synchronization for 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)
Plant-dependent parameter assignment of the time synchronization for SIMATIC PCS 7 AS RTX
In PCS 7, the option for time synchronization of SIMATIC PCS 7 AS RTX is independent of the plant
configuration. The following table shows the settings required for time synchronization.
Introduction
Make the setting in accordance with the configuration you selected.
Requirements
• The WinAC Time Synchronization software V4.0 or higher is installed on SIMATIC PCS 7 AS
RTX.
• In HW Config, "As slave" must have been set as the synchronization mode for time
synchronization in 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.
6.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 should be forwarded to the various networks.
• Use SICLOCK TC 400 to synchronize up to four networks and Buerk DTS4138S to synchronize
up to two networks.
• If several separated networks must be synchronized, use a suitable switch, e.g., SCALANCE
XM416-4C, for separating the frame traffic.
The following example demonstrates synchronization of 5 networks with a SICLOCK TC 100
central plant clock, using a SCALANCE XM416-4C switch.
&HQWUDOSODQWFORFN SCALANCE
XM416-4C
Requirements
• The synchronization message frame from central plant clock must be configured.
• The IP address of central plant clock must be known.
• The 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.
Additional information
Configure the function for separating message frame traffic according to the switch used. You
can find additional information on this in the section "How to configure SCALANCE X414-3E for
separation of time frames (Page 107)".
Requirements
• The IP address or the URL of the switch must be known.
• Requirements for configuration using web-based management must have been met.
Procedure
1. Open Internet Explorer.
2. Enter the IP address or the URL of the switch in the address bar 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
For security reasons, you are strongly advised to change the default passwords (using the
Command Line Interface - CLI).
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.
Additional information
• Configuration manual Industrial Communication; Industrial Ethernet Switches;
SCALANCE X300; SCALANCE X400, sections "Access Control Port Configuration menu item"
and "The Port Status menu"
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 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 module 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 76)".
See also
Configuring time synchronization with multiple networks (Page 106)
6.9.2 How to configure time synchronization on a PCS 7 system with redundant bus
system
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 (Windows command line
window).
It is not 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.
Note
Additional information about the w32tm command is available by entering the string "w32tm/?"
in the Windows command line window.
Additional information
• Internet: www.microsoft.com, subject: "Synchronizing the time using the Windows time
service (https://technet.microsoft.com/en-us/library/cc773263(v=ws.10).aspx)"
• SICLOCK; SICLOCK TC 400 Operating Instructions (https://support.industry.siemens.com/cs/
ww/en/view/73996850)
• Buerk: Buerk Operating manual (https://support.industry.siemens.com/cs/ww/en/view/
109760344)
Requirement
• One of the following communication processors is used as network adapter for
communication between the OS server and plant bus:
– CP 1623
– CP 1628
• 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 view, open the folder Modules > <CP...> > Time of day.
3. Check the following settings:
– Time-of-day adjustment: enabled
– Time reception: ...<Date Time> ... <synchronous>
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
1623 / CP 1628 communications processor (Page 76)".
7.3 How to configure the status check of the time master role of the OS
server
Additional information
Online help WinCC Information System
CEDST
Central European Daylight Saving Time
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.
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
Local time
The local time is actual time in the respective time zone.
NTP
Network Time Protocol
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
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.
A D
Aligning Daylight saving time
Antenna DCF 77, 75 Setting on OS, 80
GPS antenna, 73 DCF 77 receivers, 74
Antenna DCF 77 Definition
Aligning, 75 Stratum, 21
Applications Time synchronization, 14
Time synchronization, 14 Documentation
Access options, 10
for planning and configuration, 10
B Purpose, 9
Structure, 9
Bus, redundant
Target group, 9
Configuring, 109
Domain
Configuration with central time master, 43
Configuration with multiple hierarchies, 47
C Configuration without central time master, 45
Central plant clock, 96 Time synchronization, 30, 31, 33
Checking
Time, 113
Clocks E
External, 24
Edit, 105
Communications processor
Hardware configuration of the PC station as a single
Assigning parameters, 76
station system, 105
Checking, 115
Engineering station
Configuration
Configuring without OS, 92
Domain with central time master, 43
Example of time synchronization, 27
Domain with multiple hierarchies, 47
External
Domain without central time master, 45
Clocks, 24
Work group with central time master, 39
Work group without central time master, 41
Configurations
Recommended, 37
F
Configuring Factory settings of the Buerk timer, 68
Engineering station, 92
Information Server, 92
OpenPCS 7, 92 G
Process Historian, 92
GPS antenna
Redundant bus, 109
Aligning, 73
Redundant OS servers with external timer, 109
SIMATIC Management Console, 92
SIMATIC Route Control, 92
Web client, 92
I
Web diagnostics client, 92 Industrial Ethernet bus, 116
Configuring the Buerk timer, 69 Information Server
Cooperative time master, 25 Configuring without OS, 92
L R
Legend, 26 Redundancy, 109
Local Area Network, 116 Time master role of the OS server, 116
Local time, 16 Time synchronization, 30
Redundant OS servers with external timer
Configuring, 109
N Rules
Plants across several time zones, 18
NTP mode, 55, 96
Structure - PCS 7 plant, 23
O S
OpenPCS 7
Selection
Configuring without OS, 92
Time master, 49
OS
Set the basic parameters on the Buerk timer, 69
Converting to daylight saving time, 80
Setting
Converting to local time, 78
Local time on the OS, 78
OS client
SICLOCK GPS, 72
Assigning parameters, 91
Wiring, 75
OS server
SICLOCK TC 400, 43, 50
Assigning parameters, 81, 83, 85, 88
SICLOCK TC x00, 64
OS Server
SIMATIC BATCH
Time master role, 116
Configuring without OS, 92
SIMATIC Management Console
Configuring without OS, 92
P SIMATIC mode, 55, 96
PC station, 105 SIMATIC Route Control
Editing the hardware configuration as a single Configuring without OS, 92
station system, 105 Single-station system, 105
PC stations, 92 Editing the hardware configuration of the PC
Without OS, 93 station, 105
PCS 7 plant Skills, required, 11
Structure, 21 Status
Plant buses, separated Time master role of the OS server, 116
Time synchronization, 30 TimeSyncDevice tag, 116
Plants Stratum
Distributed, 17 Definition, 21
Plants across several time zones Structure
Rules, 18 Documentation, 9
Process control messages, 116 PCS 7 plant, 21
Process Historian Structure - PCS 7 plant
Configuring without OS, 92 Rules, 23
Purpose Synchronizing, 104
Documentation, 9
T
Tag
TimeSyncDevice, 116
Target group
Documentation, 9
Time
Checking, 113
Time master, 25
Selection, 49
Time master role of the OS server, 116
Time slave, 25
Time synchronization, 104, 116
Applications, 14
Configuring, 98, 101
Definition, 14
In domain, 30
In domains, 31, 33
in the work group, 30, 32
NTP and SIMATIC mode, 96, 97, 100
On separated plant busses, 30
Redundancy, 30
Time zone, 17
W
Web client
Configuring without OS, 92
Web diagnostics client
Configuring without OS, 92
Windows domain, 61, 62
Wiring
SICLOCK GPS, 75
Work group, 58, 59
Time synchronization, 30, 32
Work group with central time master
Configuration, 39
Work group without central time master
Configuration, 41