Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Automation Systems
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How To Use Windows 7 As SNTP Timeserver


Introduction

Many Omron PLC's with Ethernet supports auto adjustment of the clock by using SNTP. This requires a computer with a running NTP Server. In Windows 7, the NTP Server uses a "Authoritative Time Server", which requires authentication.

Solution

The NTP server needs to be enabled without using "Authoritative Time Server" in order to work without authentication. Follow these steps to properly setup the server:

  • Open a CommandPrompt as Administrator.
  • Run the command "regedit"
  • Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags to "5"
  • Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\Enabled to "1"
  • Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider\Enabled to "0"
  • Close regedit.
  • Run the command "net stop w32time"
  • Run the command "net start w32time"
  • Close the CommandPrompt. 

More info on the windows timer server can be found at microsoft : http://technet.microsoft.com/en-us/library/cc773061(v=ws.10).aspx

 

 




Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2013-02-28
Modified 2017-12-06
Views 22881

 

You are not logged in.