Sntp client, Sntp, Client – ProSoft Technology MVI69-EGD User Manual

Page 27

Advertising
background image

Configuring the MVI69-EGD Module

MVI69-EGD ♦ CompactLogix or MicroLogix Platform

GE Ethernet Global Data Communication Module

ProSoft Technology, Inc.

Page 27 of 96

November 3, 2008

2.3 [SNTP

Client]

The [SNTP CLIENT] section of the CFG file is used to specify the parameters for
the Simple Network Time Protocol (SNTP) client provided with the protocol
driver. This client is required in order to keep the driver's internal clock set
correctly. This version of the driver supports the unicast implementation of the
SNTP Revision 3 and stratum between 1 and 14.

The module can be configured to periodically synchronize its clock with a remote
SNTP server. Approximately every 6 minutes the module sends 10 consecutive
requests to the remote SNTP client (at approximately 6 second intervals). You
can check these requests and responses by looking at the SNTP Client
Configuration Menu (press the N key at the Configuration/Debug Main Menu). If
the module receives a valid response from the SNTP server, the computations
value will be also be incremented. After 10 consecutive successful requests and
responses, the module will synchronize its internal clock (an average is
performed based on all 10 responses for better accuracy). The Time Set Cnt
value is incremented every time the clock is synchronized.

After the synchronization is performed, the time valid register is set to Yes. If the
module cannot connect to the remote SNTP server after 3 consecutive attempts,
the time valid register is set to No. You can also configure the GMT settings to
use, and the database address where the date and time information can be
copied.

The following parameters in the configuration file set up the SNTP client:

[SNTP CLIENT]

NTP SERVER IP ADDRESS : 132.163.4.102 #IP address for NIST, Boulder,

Colorado

TIME ZONE : 7 #Number of hours from GMT (-11 to +11)

USE DAYLIGHT SAVINGS TIME: No #Yes or No

DATABASE REGISTER : 2500 #database word location to store time

# (-1=ignore).

#This register value should be an even

# number

The database register parameter defines a database register where the SNTP
time and date values are copied. It occupies 4 words as follows:

Word Offset

Description

0 and 1

Date and time in Unix format (long integer)

2 and 3

Microseconds (long integer)

2.3.1 NTP Server IP Address

Enter in dotted notation

This parameter sets the IP address of the NTP server to contact for time
acquisition. Select an NTP server with the greatest accuracy that is available all
the time from your network. Set this IP address to 0.0.0.0 to disable SNTP server
requests.

Advertising
This manual is related to the following products: