Overview
The SNTP Diagnostics object presents the instances, attributes and services described below.
Class ID
405 (hex), 1029 (decimal)
Instance IDs
The SNTP Diagnostics object presents two instances:
0: class
1: instance
Attributes
SNTP Diagnostics object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
Attribute ID |
Description |
GET |
SET |
|---|---|---|---|
01 |
Revision |
X |
— |
02 |
Maximum Instance |
X |
— |
X = supported — = not supported |
|||
Instance ID = 1 (instance attributes):
Attribute ID |
Description |
Type |
GET |
SET |
Value |
|
|---|---|---|---|---|---|---|
hex |
dec |
|||||
01 |
01 |
Network Time Service Configuration |
STRUCT of |
X |
— |
|
Primary NTP Server IP Address |
UDINT |
|||||
Secondary NTP Server IP Address |
UDINT |
|||||
Polling Period |
USINT |
In seconds |
||||
Update controller with Module Time |
USINT |
|
||||
Time Zone |
UDINT |
Depends on the operating system of the configuration software. |
||||
Time Zone Offset |
INT |
In minutes |
||||
Daylight saving time bias |
USINT |
|||||
Daylight Saving Start Date - Month |
USINT |
|||||
Daylight Saving Start Date - |
USINT |
|
||||
Daylight Saving Start Time |
UDINT |
Seconds elapsed from midnight |
||||
Daylight Saving End Date - Month |
USINT |
|||||
Daylight Saving End Date - |
USINT |
|
||||
Daylight Saving End Time |
UDINT |
Seconds elapsed from midnight |
||||
Reserved |
USINT[15] |
|||||
02 |
02 |
Network Time Service Status |
UDINT |
X |
— |
|
03 |
03 |
Link to NTP Server Status |
UDINT |
X |
— |
|
04 |
04 |
Current NTP Server IP Address |
UDINT |
X |
— |
|
05 |
05 |
NTP Server Type |
UDINT |
X |
— |
Re: the server identified in attribute 03:
|
06 |
06 |
NTP Server Time Quality |
UDINT |
X |
— |
Jitter of the clock/time in microseconds/second |
07 |
07 |
Number of NTP Requests Sent |
UDINT |
X |
— |
|
08 |
08 |
Number of Communication Errors |
UDINT |
X |
— |
|
09 |
09 |
Number of NTP Responses Received |
UDINT |
|||
A |
10 |
Last Error |
UINT |
|
||
B |
11 |
Current Date and Time |
DATE_AND_TIME |
{Refer to CIP specification. |
||
C |
12 |
Daylight Savings Status |
UDINT |
|
||
| D | 13 |
Time Since Last Update |
DINT |
Amount of time elapsed since a valid response from the NTP server in 100ms increments. -1 = not updated |
||
X = supported — = not supported |
||||||
Services
The SNTP Diagnostics object performs the following services upon the listed object types:
Service ID |
Description |
Class |
Instance |
Notes |
|
|---|---|---|---|---|---|
hex |
dec |
||||
01 |
01 |
Get_Attributes_All |
X |
X |
Returns:
|
0E |
14 |
Get_Attribute_Single |
X |
X |
Returns the value of the specified attribute. |
32 |
50 |
Clear_All |
— |
X |
Clears data in attributes 6, 7, 8, 9, 10, 13 (all attributes defined in decimal notation). |
X = supported — = not supported |
|||||

