EMC Professional NET
20
21
EMC Professional NET
You have to enter the following lines into the file
ntp.conf
in order
to receive the time and date information of
EMC Prof NET (19“)
regularly:
This means, the time and date information of the device
re-
fclock-0
will be picked up by driver 12 of group 8. For testing
purposes you can enter 127.127.1.0. This makes
NTP
taking
the time and date information of the PC clock.
4.2.3 Starting NTP
To get detailled information about the quality of receive, please
use the programm
ntpq
. Start
ntpq
with the command „
ntpq -c
clocklist
“ auf.
If you start
ntpq
without further options, localhost will be the
NTP
server. You can control
ntpq
with the command line.
server 127.127.8.0 prefer mode 12
logfile /var/log/ntp
logconfig =all
driftfile /var/log/ntp.drift
status=0000 clk_okay,
last_clk_okay,
device=“HOPF 6021“,
timecode=“\x02\x0c\x09150700070703\x0a\x0d\x03“,
poll=2, noreply=0, badformat=0, baddata=0,
fudgetime1=0.000, fudgetime2=0.000, stratum=1,
refid=DCF, flags=0,
refclock_time=“c2b40b14.00000000 Mon, Jul 7 2003 15:
07:00.000 UTC“,
refclock_status=“TIME CODE“,
refclock_format=“hopf Funkuhr 6021“,
refclock_states=“*NOMINAL: 00:30:41 (94.46%); NO RE-
SPONSE: 00:01:48 (5.54%);
running time: 00:32:29“
Figure 13 ntpq -c clocklist