
Chapter 2 Specification of Communication port for CPU module
2 – 31
2.2.4 NTP client function
EHV-CPU is equipped with the SNTP (Simple Network Time Protocol) client function which retrieves the current
time from the NTP (Network Time Protocol) server and the SNTP server on the network.
The interval of retrievals can be set by specifying time and minute. And this function can control when the current
time is retrieved from a user program.
The value of the calendar clock in EHV-CPU can be synchronized by retrieving the
current time using the SNTP service on intranet or Internet.
SNTP seve
SNTP service includin
roviders
Figure 2.29 SNTP client function
Table 2.15 SNTP client specifications
Item Specifications
Communication protocol SNTP(Simple Network Time Protocol)
Retrieval interval Specified by user(00:01~99:59)
Retrieved time data yyyy/mm/dd/tt/mm/ss
Where the time data is stored Special internal output area(WRF00B~WRF00F)
Update of clock using
retrieved time
Updated by software in EHV-CPU
The current time retrieved with this function is stored on the Calendar clock are (WRF00B to WRF00F), and
update is performed at the specified interval. And the current time retrieved from the NTP server is stored in the
special internal output of EHV-CPU.
WRF00B: year
WRF00C: month and date
WRF00D: day
WRF00E: time and minute
WRF00F: second
Special internal output (Calendar clock data)
WRF40B: year
WRF40C: month and date
WRF40D: day
WRF40E: time and minute
WRF40F: second
Special internal output (Time for retrieving the current time from the NTP)
Figure 2.30 Word Special internal output for NTP function
Setup
The setup for the NTP function can be specified using the Control Editor.
Table 2.16 Setup for NTP function
Item Description
1 Valid Specifies the setup for NTP function to valid or invalid.
2 Server address Specifies the address of NTP server.
3 Connection interval Specifies the interval for retrieving the current time from NTP
server.
4 Time zone Specifies the time zone.
Komentarze do niniejszej Instrukcji