Sequence
|
Action
|
Result
|
---|---|---|
1
|
An SNTP client requests a time synchronization signal from an SNTP server. (The request is sent over an Ethernet network.)
|
The SNTP server responds with a signal.
|
2
|
The SNTP client stores the time.
|
–
|
3
|
The SNTP client sends a message to the controller’s clock system counter.
|
The controller updates its internal clock.
|
4
|
Use the R_NTPC function block in either MAST, FAST, or interrupt sections to read the clock from the PLC application.
|
–
|
Model
|
Starting date
|
---|---|
Modicon Quantum with Control Expert
|
January 1st 1970 00:00:00.00
|
Setting
|
Action
|
---|---|
NTP Server Configuration:
|
|
Primary NTP Server IP Address
|
The IP address for the primary SNTP server.
|
Secondary NTP Server IP Address
|
The IP address for the back-up SNTP server.
|
Polling Period
|
The polling period is the time (in seconds) between updates from the SNTP server. To obtain optimal accuracy (and if your network allows), reduce the polling period to a small value. The default is 5 seconds.
Valid values include:
|
Time Zone:
|
|
Time Zone
|
Select the desired time zone from the drop-down list. The default value is your current system time zone (as found in Windows). You can also select Custom Time Zone.
|
Time Zone Offset
|
If you selected Custom Time Zone, enter a value in the range of (24 hours * 60 minutes - 1) [1-minute step].
|
Daylight Saving:
|
|
Automatically adjust clock for daylight saving change
|
If this setting is:
|
Start Daylight Saving
|
If automatic daylight savings adjustment is disabled, select values for:
|
End Daylight Saving
|
If automatic daylight savings adjustment is disabled, selection values for:
|
CPU Time Update:
|
|
Update CPU time with this module
|
|