User manual
Using the NTPTime Service
248
33002479 06 07/2008
R_NTPC
Parameter
Description
Description of parameters:
Parameter Data Type Description
Display_NT
PC
(OUT1)
DT + INT NTP clock value displayed in:
z year, month, day, hours, minutes, and seconds using the DT
format
z milliseconds as an INT
Calc_NTPC
(OUT2)
UDINT+INT NTP clock value displayed in:
z seconds as an UDINT
z fractions of a second as an INT
Status INT Low Byte High Byte Description
0 0 un-initialized state
1 0 illegal
0 1 The CPU is out of synchronization
with the NTP server, but the clock
has been updated at least once by an
external server.
1 1 normal operation
The low byte is managed by the controller
z Set = 0
z The clock value is NOT available.
z The date/time is NOT updated within last two minutes.
z Set = 1
z The date/time is updated within the last two minutes.
z The date/time is acceptable.
The high byte is managed by the NOE.
z Set = 0
z The NTP server clock value is not available.
z Set = 1
The updated date/time is received from server and sent to
the module (at least once).
z within two-minute time interval
z acceptable (10 ms or less error)
For a valid time in the CPU, the low and high bytes of the
STATUS parameter must be set to 1.