PageRenderTime 54ms CodeModel.GetById 42ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 1ms

/contrib/ntp/html/drivers/driver40.html

https://bitbucket.org/freebsd/freebsd-head/
HTML | 189 lines | 185 code | 4 blank | 0 comment | 0 complexity | 284415ed51fc5b46ffa8f1b7db4c65ac MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2
  3<html lang="en">
  4
  5	<head>
  6		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  7		<meta name="generator" content="HTML Tidy, see www.w3.org">
  8		<meta http-equiv="Content-Script-Type" content="text/javascript">
  9		<title>JJY Receivers</title>
 10		<link rev="made" href="http://www.bea.hi-ho.ne.jp/abetakao/">
 11		<link rel="start" href="http://www.eecis.udel.edu/~mills/ntp/html/refclock.html">
 12		<link href="scripts/style.css" type="text/css" rel="stylesheet">
 13	</head>
 14
 15	<body>
 16		<h3>JJY Receivers</h3>
 17		<hr>
 18		<h4>Synopsis</h4>
 19		Address: 127.127.40.<em>u</em><br>
 20		Reference ID: <code>JJY</code><br>
 21		Driver ID: <code>JJY</code><br>
 22		Serial Port: <code>/dev/jjy<em>u</em></code>; 9600|4800(See corresponding receiver) baud, 8-bits, no parity, 1 stop bit
 23		<h4>Description</h4>
 24		<p>This driver supports the following JJY receivers sold in Japan.</p>
 25		<ul>
 26			<li>Tristate Ltd. JJY01 <a href="http://www.tristate.ne.jp/">http://www.tristate.ne.jp/</a> (Japanese only)<br>
 27				<dl>
 28					<dt>NTP configuration ( ntp.conf )</dt>
 29					<dd>
 30						<p>server &nbsp; 127.127.40.X &nbsp; mode 1</p>
 31						<br>
 32					</dd>
 33					<dt>RS-232C</dt>
 34					<dd>
 35						<p>9600 Baud</p>
 36						<br>
 37					</dd>
 38					<dt>Time code format</dt>
 39					<dd><br>
 40						<table summary="CommandAndReply">
 41							<tr>
 42								<td>Command</td>
 43								<td>&nbsp;--&gt;&nbsp;</td>
 44								<td>Reply</td>
 45							</tr>
 46							<tr>
 47								<td><code>date&lt;CR&gt;&lt;LF&gt;</code></td>
 48								<td>&nbsp;--&gt;&nbsp;</td>
 49								<td><code>YYYY/MM/DD WWW&lt;CR&gt;&lt;LF&gt;</code></td>
 50							</tr>
 51							<tr>
 52								<td><code>stim&lt;CR&gt;&lt;LF&gt;</code></td>
 53								<td>&nbsp;--&gt;&nbsp;</td>
 54								<td><code>HH:MM:SS&lt;CR&gt;&lt;LF&gt;</code></td>
 55							</tr>
 56						</table>
 57						<br>
 58					</dd>
 59				</dl>
 60			<li>C-DEX Co.,Ltd. JST2000 <a href="http://www.c-dex.co.jp/">http://www.c-dex.co.jp/</a> (Japanese only)<br>
 61				<dl>
 62					<dt>NTP configuration ( ntp.conf )</dt>
 63					<dd>
 64						<p>server &nbsp; 127.127.40.X &nbsp; mode 2</p>
 65						<br>
 66					</dd>
 67					<dt>RS-232C</dt>
 68					<dd>
 69						<p>9600 Baud</p>
 70						<br>
 71					</dd>
 72					<dt>Time code format</dt>
 73					<dd><br>
 74						<table summary="CommandAndReply">
 75							<tr>
 76								<td>Command</td>
 77								<td>&nbsp;--&gt;&nbsp;</td>
 78								<td>Reply</td>
 79							</tr>
 80							<tr>
 81								<td><code>&lt;ENQ&gt;1J&lt;ETX&gt;</code></td>
 82								<td>&nbsp;--&gt;&nbsp;</td>
 83								<td><code>&lt;STX&gt;JYYMMDD HHMMSSS&lt;ETX&gt;</code></td>
 84							</tr>
 85						</table>
 86						<br>
 87					</dd>
 88				</dl>
 89			<li>
 90				<p>Echo Keisokuki Co.,Ltd. LT-2000 <a href="http://www.clock.co.jp/">http://www.clock.co.jp/</a> (Japanese only)</p>
 91				<dl>
 92					<dt>NTP configuration ( ntp.conf )</dt>
 93					<dd>
 94						<p>server &nbsp; 127.127.40.X &nbsp; mode 3</p>
 95						<br>
 96					</dd>
 97					<dt>RS-232C</dt>
 98					<dd>
 99						<p>9600 Baud</p>
100						<br>
101					</dd>
102					<dt>Time code format</dt>
103					<dd><br>
104						<table summary="CommandAndReply">
105							<tr>
106								<td>Command</td>
107								<td>&nbsp;--&gt;&nbsp;</td>
108								<td>Reply</td>
109							</tr>
110							<tr>
111								<td><code>C</code></td>
112								<td>&nbsp;--&gt;&nbsp;</td>
113								<td>( Mode 2 : Continuous )</td>
114							</tr>
115							<tr>
116								<td>( Every second before 0.5 second )</td>
117								<td></td>
118								<td><code>YYMMDDWHHMMSS&lt;ST1&gt;&lt;ST2&gt;&lt;ST3&gt;&lt;ST4&gt;&lt;CR&gt;</code></td>
119							</tr>
120							<tr>
121								<td><code>#</code></td>
122								<td>&nbsp;--&gt;&nbsp;</td>
123								<td>( Mode 1 : Request&amp;Send )</td>
124							</tr>
125						</table>
126						<br>
127					</dd>
128				</dl>
129			<li>
130				<p>CITIZEN T.I.C. CO.,LTD. JJY-200 <a href="http://www.tic-citizen.co.jp/">http://www.tic-citizen.co.jp/</a> (Japanese only)</p>
131				<dl>
132					<dt>NTP configuration ( ntp.conf )</dt>
133					<dd>
134						<p>server &nbsp; 127.127.40.X &nbsp; mode 4</p>
135						<br>
136					</dd>
137					<dt>RS-232C</dt>
138					<dd>
139						<p>4800 Baud</p>
140						<br>
141					</dd>
142					<dt>Time code format</dt>
143					<dd><br>
144						<table summary="CommandAndReply">
145							<tr>
146								<td>Command</td>
147								<td>&nbsp;--&gt;&nbsp;</td>
148								<td>Reply</td>
149							</tr>
150							<tr>
151								<td>( Every second )</td>
152								<td></td>
153								<td><code>'XX YY/MM/DD W HH:MM:SS&lt;CR&gt;</code></td>
154							</tr>
155						</table>
156						<br>
157					</dd>
158				</dl>
159		</ul>
160		<p>JJY is the radio station which transmites the JST (Japan Standard Time) in long wave radio. The station JJY is operated by the National Institute of Information and Communications Technology. An operating announcement and some information are avaiable from <a href="http://www.nict.go.jp/">http://www.nict.go.jp/</a> (English and Japanese) and <a href="http://jjy.nict.go.jp/">http://jjy.nict.go.jp/</a> (English and Japanese)</p>
161		<p>The user is expected to provide a symbolic link to an available serial port device. This is typically performed by a command such as:</p>
162		<p><code>ln -s /dev/ttyS0 /dev/jjy0</code></p>
163		<p>Windows NT does not support symbolic links to device files. COM<em>X</em>: is the unit used by the driver, based on the refclock unit number, where unit 1 corresponds to COM1: and unit 3 corresponds to COM3:</p>
164		<h4>Monitor Data</h4>
165		<p>The driver writes each timecode as received to the <code>clockstats</code> file.</p>
166		<h4>Fudge Factors</h4>
167		<dl>
168			<dt><code>time1 <em>time</em></code>
169			<dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.
170			<dt><code>time2 <em>time</em></code>
171			<dd>Not used by this driver.
172			<dt><code>stratum <em>number</em></code>
173			<dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0.
174			<dt><code>refid <em>string</em></code>
175			<dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <code>JJY</code>.
176			<dt><code>flag1 0 | 1</code>
177			<dd>Not used by this driver.
178			<dt><code>flag2 0 | 1</code>
179			<dd>Not used by this driver.
180			<dt><code>flag3 0 | 1</code>
181			<dd>Not used by this driver.
182			<dt><code>flag4 0 | 1</code>
183			<dd>Not used by this driver.
184		</dl>
185		<hr>
186		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
187	</body>
188
189</html>