How to syncronize time in CPUs using the in-built Ethernet ka21t000000Cc6tAAC | Emerson Customer Center

How to syncronize time in CPUs using the in-built Ethernet

DESCRIPTION

The firmware 9.20 adds SNTP support to the CPE305, CPE400, CPE310, and CPE330 (fw 9.21) using its in-built Ethernet. Using the SNTP Protocol, devices can synchronize its Date-Time, using a SNTP server in the network.
This article shows how to configure the CPUs in order to the DateTime be updated using the Windows SNTP Server.


RESOLUTION

​​How to setup the Windows SNTP Server (On Windows 7 and Windows 10)
  1. Open the Registry Editor. (in a Windows Command Prompt, type regedit.exe)
  2. Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
  3. Look for the Property "Enabled" and change its value to 1
  4. Navigate to the following Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
  5. Look for the Property "AnnounceFlags" and changes its value to 5
  6. Close the Registry Editor
  7. Open the Windows Services (in a Windows Command Prompt, type services.msc)
  8. Look for the service "Windows Time" and double click on it.
  9. On the General tab, change "Startup Type" to Automatic and click Apply.
  10. Reboot computer
  11. The SNTP server will be started

How to configure the CPUs to syncronize to the SNTP Server.
(PME 9.0 SIM10, PME 9.5 SIM2 or later and fw. 9.20 or higer will be required.)
  1. In "Navigator", in the "Project" tab, double click on IC695CPExxx
  2. In the "Settings" Tab, look for the "Network Time Sync" and select SNTP
  3. The "SNTP" tab will be shown
  4. Click on the "SNTP" Tab
  5. Set the property "SNTP Mode" to Unicast
  6. Add the SNTP Server IP Address for the "Primary IP Address"
  7. If there is another SNTP Server in the network, its IP Address can be added to the "Secondary IP Address"
  8. Download the HW Configuration to the Controller
  9. Even with the Controller in Stopped Mode, the CPU will acquire the time from the SNTP Server and update it

Note: NTP Protocol does not provide information about local Time or Daylight Saving Time so the time in controller can be different to the Offical Time in the location if the "UTC Offset" or "DST" settings are not properly configured in the Controller