SntpSourceInfoData (STRUCT)

TYPE SntpSourceInfoData : STRUCT

SNTPSourceInfoData is a structured datatype that is used to store diagnosis data of a time source polled by the Sntp client.

InOut:

Name

Type

Initial

Comment

SrcMode

SntpSourceMode

SntpSourceMode.SRC_MODE_UNKNOWN

the mode of the source

SrcState

SntpSourceState

SntpSourceState.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