NtpSourceInfoData
(STRUCT)
TYPE NtpSourceInfoData : STRUCT
NtpSourceInfoData is a structured datatype that is used to store diagnosis data of a time source polled by the Ntp client
- InOut:
Name
Type
Initial
Comment
SrcMode
NtpSourceMode.SRC_MODE_UNKNOWN
the mode of the source
SrcState
NtpSourceState.SRC_STATE_UNKNOWN
the state of the source
SrcAddress
INADDR
IP address of the source
Stratum
UINT
0
Stratum of the source
UpdateInterval
UINT
0
poll interval of the source, is calculated as 2^<value> in seconds
Reachability
USINT
0
reachability of the source
TimeSinceLastSample
UDINT
0
time in seconds that has expired since the last sample was received