xref: /freebsd/contrib/ntp/html/drivers/driver3.html (revision 416ba5c74546f32a993436a99516d35008e9f384)
19c2daa00SOllivier Robert<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29c2daa00SOllivier Robert<html>
39c2daa00SOllivier Robert<head>
49c2daa00SOllivier Robert<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
59c2daa00SOllivier Robert<meta name="GENERATOR" content="Mozilla/4.01 [en] (Win95; I) [Netscape]">
69c2daa00SOllivier Robert<title>PSTI/Traconex 1020 WWV/WWVH Receiver</title>
7ea906c41SOllivier Robert<link href="scripts/style.css" type="text/css" rel="stylesheet">
89c2daa00SOllivier Robert</head>
99c2daa00SOllivier Robert<body>
109c2daa00SOllivier Robert<h3>PSTI/Traconex 1020 WWV/WWVH Receiver</h3>
11*2b15cb3dSCy Schubert<p>Author: David L. Mills (mills@udel.edu)<br>
12*2b15cb3dSCy SchubertLast update:
13*2b15cb3dSCy Schubert  <!-- #BeginDate format:En2m -->11-Sep-2010  05:56<!-- #EndDate -->
14*2b15cb3dSCy Schubert  UTC</p>
159c2daa00SOllivier Robert<hr>
169c2daa00SOllivier Robert<h4>Synopsis</h4>
179c2daa00SOllivier Robert<p>Address: 127.127.3.<i>u</i><br>
189c2daa00SOllivier Robert  Reference ID: <tt>WWV</tt><br>
199c2daa00SOllivier Robert  Driver ID: <tt>WWV_PST</tt><br>
209c2daa00SOllivier Robert  Serial Port: <tt>/dev/wwv<i>u</i></tt>; 9600 baud, 8-bits, no parity<br>
219c2daa00SOllivier Robert  Features: <tt>tty_clk</tt></p>
229c2daa00SOllivier Robert<h4>Description</h4>
239c2daa00SOllivier Robert<p>This driver supports the PSTI 1010 and Traconex 1020 WWV/WWVH Receivers. No specific claim of accuracy is made for these receiver, but actual experience suggests that 10 ms would be a conservative assumption.</p>
24ea906c41SOllivier Robert<p>The dipswitches should be set for 9600 bps line speed, 24-hour day-of-year format and UTC time zone. Automatic correction for DST should be disabled. It is very important that the year be set correctly in the DIP-switches; otherwise, the day of year will be incorrect after 28 April of a normal or leap year. As the there are only four dipswitches to set the year and the base value of zero correspondes to 1986, years beyond 2001 recycle with the value of zero corresponding to 2002. The propagation delay DIP-switches should be set according to the distance from the transmitter for both WWV and WWVH, as described in the instructions. While the delay can be set only to within 11 ms, the fudge time1 parameter can be used for vernier corrections.</p>
259c2daa00SOllivier Robert<p>Using the poll sequence <tt>QTQDQM</tt>, the response timecode is in three sections totalling 50 ASCII printing characters, as concatenated by the driver, in the following format:</p>
269c2daa00SOllivier Robert<pre>
279c2daa00SOllivier Robertahh:mm:ss.fffs&lt;cr&gt; yy/dd/mm/ddd&lt;cr&gt;
289c2daa00SOllivier RobertfrdzycchhSSFTttttuuxx&lt;cr&gt;
299c2daa00SOllivier Robert
309c2daa00SOllivier Roberton-time = first &lt;cr&gt;
319c2daa00SOllivier Roberthh:mm:ss.fff = hours, minutes, seconds, milliseconds
329c2daa00SOllivier Roberta = AM/PM indicator (' ' for 24-hour mode)
339c2daa00SOllivier Robertyy = year (from DIPswitches)
349c2daa00SOllivier Robertdd/mm/ddd = day of month, month, day of year
359c2daa00SOllivier Roberts = daylight-saving indicator (' ' for 24-hour mode)
369c2daa00SOllivier Robertf = frequency enable (O = all frequencies enabled)
379c2daa00SOllivier Robertr = baud rate (3 = 1200, 6 = 9600)
389c2daa00SOllivier Robertd = features indicator (@ = month/day display enabled)
399c2daa00SOllivier Robertz = time zone (0 = UTC)
409c2daa00SOllivier Roberty = year (5 = 91)
419c2daa00SOllivier Robertcc = WWV propagation delay (52 = 22 ms)
429c2daa00SOllivier Roberthh = WWVH propagation delay (81 = 33 ms)
439c2daa00SOllivier RobertSS = status (80 or 82 = operating correctly)
449c2daa00SOllivier RobertF = current receive frequency (4 = 15 MHz)
459c2daa00SOllivier RobertT = transmitter (C = WWV, H = WWVH)
469c2daa00SOllivier Roberttttt = time since last update (0000 = minutes)
479c2daa00SOllivier Robertuu = flush character (03 = ^c)
489c2daa00SOllivier Robertxx = 94 (unknown)</pre>
499c2daa00SOllivier Robert<p>The alarm condition is indicated by other than <tt>8</tt> at <tt>a</tt>, which occurs during initial synchronization and when received signal is lost for an extended period; unlock condition is indicated by other than <tt>0000</tt> in the <tt>tttt</tt> subfield.</p>
509c2daa00SOllivier Robert<h4>Monitor Data</h4>
519c2daa00SOllivier Robert<p>When enabled by the <tt>flag4</tt> fudge flag, every received timecode is written as-is to the <tt>clockstats</tt> file.</p>
529c2daa00SOllivier Robert<h4>Fudge Factors</h4>
539c2daa00SOllivier Robert<dl>
549c2daa00SOllivier Robert  <dt><tt>time1 <i>time</i></tt>
559c2daa00SOllivier Robert  <dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.
569c2daa00SOllivier Robert  <dt><tt>time2 <i>time</i></tt>
579c2daa00SOllivier Robert  <dd>Not used by this driver.
589c2daa00SOllivier Robert  <dt><tt>stratum <i>number</i></tt>
599c2daa00SOllivier Robert  <dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0.
609c2daa00SOllivier Robert  <dt><tt>refid <i>string</i></tt>
619c2daa00SOllivier Robert  <dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <tt>WWV</tt>.
629c2daa00SOllivier Robert  <dt><tt>flag1 0 | 1</tt>
639c2daa00SOllivier Robert  <dd>Not used by this driver.
649c2daa00SOllivier Robert  <dt><tt>flag2 0 | 1</tt>
659c2daa00SOllivier Robert  <dd>Not used by this driver.
669c2daa00SOllivier Robert  <dt><tt>flag3 0 | 1</tt>
679c2daa00SOllivier Robert  <dd>Not used by this driver.
689c2daa00SOllivier Robert  <dt><tt>flag4 0 | 1</tt>
699c2daa00SOllivier Robert  <dd>Not used by this driver.
709c2daa00SOllivier Robert</dl>
719c2daa00SOllivier Robert<h4>Additional Information</h4>
729c2daa00SOllivier Robert<p><a href="../refclock.html">Reference Clock Drivers</a></p>
739c2daa00SOllivier Robert<hr>
74ea906c41SOllivier Robert<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
759c2daa00SOllivier Robert</body>
769c2daa00SOllivier Robert</html>
77