show the entry list
Industrial Ethernet S7-300/400 CPs -- Setting up and parameterizing hardware -- Synchronizing time
Time synchronization - Time synchronization in the automation environment
How do you configure the SIMATIC S7-300 as time master or time slave for time-of-day synchronization via Industrial Ethernet in SIMATIC mode?
How do you configure time synchronization?
Where can you find information on the Siclock system?
Which SIMATIC S7-300/S7-400 modules support the NTP time-of-day message and how do you activate this kind of time synchronization?
How can you calculate the actual local time (summer time or winter time) in the S7-300/400 CPU and then use it on the panel as system time?
How do you configure the SIMATIC S7-400 as time master or time slave for time-of-day synchronization via Industrial Ethernet in SIMATIC mode?
How do you configure a PC as NTP server?
Why can't you use the IEEE Standard 1588 for synchronizing SIMATIC controllers?
How do you configure a PC as NTP server?
Part number:

Description
The Network Time Protocol (NTP) is a standard for synchronizing computer system clocks over package-based communication networks. Although this is usually done by means of UDP, it can also be transported by other Layer 4 protocols such as TCP, for example. It was specially developed to enable reliable time relaying over networks with variable package runtimes.

The Simple Network Time Protocol (SNTP) is a simplified version of NTP. It is described in RFC 2030. The Network Time Protocol (NTP) is described in RFC 958.

Instructions for Windows 2000, Windows XP, Windows Server 2003 and Windows Server 2008 (32-bit)
Follow the instructions to configure your local PC as NTP server. In this way you can synchronize other devices with the local PC.
 
No. Procedure
1 Open the registry editor with "Start -> Run... -> regedit".
2 Search for the code
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\Services\W32Time\Parameters".
3 Edit the "LocalNTP" value and set it to 1.


Fig. 01

Note

  • If the "LocalNTP" value does not exist in your system, create a new DWORD value.
  • 0 means deactivated, 1 means activated.
4 Restart the computer to make the changes effective.

Instructions for Windows 7 (32-bit and 64-bit) and Windows Server 2008 R2 (64-bit)
Follow the instructions to configure your local PC as NTP server. In this way you can synchronize other devices with the local PC.
 
No. Procedure
1 Stop the "Windows Time" service under START > Control Panel > System and Security > Administrative Tools > Services.


Fig. 02

2 Open the registry editor with "Start -> Run... -> regedit".
3 Search for the code
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\services\W32Time\TimeProviders\NtpServer".
4 Set the "Enabled" value to 1.


Fig. 03

5 Search for the code
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config".
6 Set the "AnnounceFlags" value to 5.


Fig. 04

7 Start the "Windows Time" again and set the start type to "Automatic" if not already done.

Note
The instructions below are for configuring the Windows Time service when using an internal hardware clock and an external time source:
 
Windows Operating System Instructions
Windows 2000 http://support.microsoft.com/kb/216734
Windows XP http://support.microsoft.com/kb/314054
Windows Server http://support.microsoft.com/kb/816042

If the firewall is enabled, it must be configured to permit external access to Port 123. This is necessary because the time server service expects external request messages.

Warning
Changes in the Registry can lead to unexpected problems requiring you to reinstall your system. We cannot guarantee that problems arising from changes in the registry can be solved. Changes in the Registry are entirely at the user's own risk.

 Entry ID:22144502   Date:2014-03-12 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour