Home | History | Annotate | Line # | Download | only in drivers
driver40.html revision 1.1.1.2
      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>; See corresponding receiver
     23 		<h4>Description</h4>
     24 		<p>This driver supports the following JJY receivers sold in Japan.</p>
     25 		<ul>
     26 
     27 			<li>
     28 				<p>Tristate Ltd. JJY01, JJY02 <a href="http://www.tristate.ne.jp/">http://www.tristate.ne.jp/</a> (Japanese only)</p><br>
     29 				<dl>
     30 					<dt>NTP configuration ( ntp.conf )</dt>
     31 					<dd>
     32 						<p>server &nbsp; 127.127.40.X &nbsp; mode 1</p>
     33 						<dl>
     34 							<dt>fudge &nbsp; 127.127.40.X &nbsp; flag1 0|1</dt>
     35 							<dd>
     36 								<p>Flag1 has no effect for time synchronization. When a flag1 is set to 1, status commands are issued before DATE and STIM commands, and write a response text into a clockstats file.</p>
     37 								<table border="1" summary="fudge flag1">
     38 									<tr><td>0 (Default)</td><td>DCST and STUS commands are not issued</td></tr>
     39 									<tr><td>1</td><td>DCST and STUS commands are issued</td></tr>
     40 								</table>
     41 							</dd>
     42 						</dl>
     43 						<br>
     44 					</dd>
     45 					<dt>Interface</dt>
     46 					<dd>
     47 						<p>RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit</p>
     48 						<br>
     49 					</dd>
     50 					<dt>Time code format</dt>
     51 					<dd><br>
     52 						<table summary="CommandAndReply">
     53 							<tr>
     54 								<td>Command</td>
     55 								<td>&nbsp;--&gt;&nbsp;</td>
     56 								<td>Reply</td>
     57 							</tr>
     58 							<tr>
     59 								<td><code>date{CR}{LF}</code></td>
     60 								<td>&nbsp;--&gt;&nbsp;</td>
     61 								<td><code>YYYY/MM/DD WWW{CR}{LF}</code></td>
     62 							</tr>
     63 							<tr>
     64 								<td><code>stim{CR}{LF}</code></td>
     65 								<td>&nbsp;--&gt;&nbsp;</td>
     66 								<td><code>HH:MM:SS{CR}{LF}</code></td>
     67 							</tr>
     68 						</table>
     69 						<br>
     70 					</dd>
     71 				</dl>
     72 			</li>
     73 
     74 			<li>
     75 				<p>C-DEX Co.,Ltd. JST2000 <a href="http://www.c-dex.co.jp/">http://www.c-dex.co.jp/</a> (Japanese only)</p><br>
     76 				<dl>
     77 					<dt>NTP configuration ( ntp.conf )</dt>
     78 					<dd>
     79 						<p>server &nbsp; 127.127.40.X &nbsp; mode 2</p>
     80 						<br>
     81 					</dd>
     82 					<dt>Interface</dt>
     83 					<dd>
     84 						<p>RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit</p>
     85 						<br>
     86 					</dd>
     87 					<dt>Time code format</dt>
     88 					<dd><br>
     89 						<table summary="CommandAndReply">
     90 							<tr>
     91 								<td>Command</td>
     92 								<td>&nbsp;--&gt;&nbsp;</td>
     93 								<td>Reply</td>
     94 							</tr>
     95 							<tr>
     96 								<td><code>{ENQ}1J{ETX}</code></td>
     97 								<td>&nbsp;--&gt;&nbsp;</td>
     98 								<td><code>{STX}JYYMMDD HHMMSSS{ETX}</code></td>
     99 							</tr>
    100 						</table>
    101 						<br>
    102 					</dd>
    103 				</dl>
    104 			</li>
    105 
    106 			<li>
    107 				<p>Echo Keisokuki Co.,Ltd. LT-2000 <a href="http://www.clock.co.jp/">http://www.clock.co.jp/</a> (Japanese only)</p><br>
    108 				<dl>
    109 					<dt>NTP configuration ( ntp.conf )</dt>
    110 					<dd>
    111 						<p>server &nbsp; 127.127.40.X &nbsp; mode 3</p>
    112 						<br>
    113 					</dd>
    114 					<dt>Interface</dt>
    115 					<dd>
    116 						<p>RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit</p>
    117 						<br>
    118 					</dd>
    119 					<dt>Time code format</dt>
    120 					<dd><br>
    121 						<table summary="CommandAndReply">
    122 							<tr>
    123 								<td>Command</td>
    124 								<td>&nbsp;--&gt;&nbsp;</td>
    125 								<td>Reply</td>
    126 							</tr>
    127 							<tr>
    128 								<td><code>C</code></td>
    129 								<td>&nbsp;--&gt;&nbsp;</td>
    130 								<td>( Mode 2 : Continuous )</td>
    131 							</tr>
    132 							<tr>
    133 								<td>( Every second before 0.5 second )</td>
    134 								<td></td>
    135 								<td><code>YYMMDDWHHMMSS{ST1}{ST2}{ST3}{ST4}{CR}</code></td>
    136 							</tr>
    137 							<tr>
    138 								<td><code>#</code></td>
    139 								<td>&nbsp;--&gt;&nbsp;</td>
    140 								<td>( Mode 1 : Request&amp;Send )</td>
    141 							</tr>
    142 						</table>
    143 						<br>
    144 					</dd>
    145 				</dl>
    146 			</li>
    147 
    148 			<li>
    149 				<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><br>
    150 				<dl>
    151 					<dt>NTP configuration ( ntp.conf )</dt>
    152 					<dd>
    153 						<p>server &nbsp; 127.127.40.X &nbsp; mode 4</p>
    154 						<br>
    155 					</dd>
    156 					<dt>Interface</dt>
    157 					<dd>
    158 						<p>RS-232C, 4800 baud, 8-bits, no parity, 1 stop bit</p>
    159 						<br>
    160 					</dd>
    161 					<dt>Time code format</dt>
    162 					<dd><br>
    163 						<table summary="CommandAndReply">
    164 							<tr>
    165 								<td>Command</td>
    166 								<td>&nbsp;--&gt;&nbsp;</td>
    167 								<td>Reply</td>
    168 							</tr>
    169 							<tr>
    170 								<td>( Every second )</td>
    171 								<td></td>
    172 								<td><code>'XX YY/MM/DD W HH:MM:SS{CR}</code></td>
    173 							</tr>
    174 						</table>
    175 						<br>
    176 					</dd>
    177 				</dl>
    178 			</li>
    179 
    180 			<li>
    181 				<p>Tristate Ltd. TS-GPSclock-01 <a href="http://www.tristate.ne.jp/">http://www.tristate.ne.jp/</a> (Japanese only)</p>
    182 				<p>This driver supports the Tristate TS-GPSclock-01 in command/response mode, though it is a GPS clock, not JJY radio clock. Using the menus and the onboard switches, the TS-GPSclock-01 should be set to command/response mode and JST time zone.<br>
    183 				Besides this driver ( Type 40 ), <a href="driver20.html">the generic NMEA GPS driver ( Type 20 )</a> supports the TS-GPSclock-01 in NMEA mode.</p>
    184 				<dl>
    185 					<dt>NTP configuration ( ntp.conf )</dt>
    186 					<dd>
    187 						<p>server &nbsp; 127.127.40.X &nbsp; mode 5</p>
    188 						<dl>
    189 							<dt>fudge &nbsp; 127.127.40.X &nbsp; flag1 0|1</dt>
    190 							<dd>
    191 								<p>Flag1 has no effect for time synchronization. When a flag1 is set to 1, status command is issued before DATE and TIME commands, and write a response text into a clockstats file.</p>
    192 								<table border="1" summary="fudge flag1">
    193 									<tr><td>0 (Default)</td><td>STUS command is not issued</td></tr>
    194 									<tr><td>1</td><td>STUS command is issued</td></tr>
    195 								</table>
    196 							</dd>
    197 						</dl>
    198 						<br>
    199 					</dd>
    200 					<dt>Interface</dt>
    201 					<dd>
    202 						<p>USB ( /dev/ttyACM<em>0</em> )</p>
    203 						<br>
    204 					</dd>
    205 					<dt>Time code format</dt>
    206 					<dd><br>
    207 						<table summary="CommandAndReply">
    208 							<tr>
    209 								<td>Command</td>
    210 								<td>&nbsp;--&gt;&nbsp;</td>
    211 								<td>Reply</td>
    212 							</tr>
    213 							<tr>
    214 								<td><code>date{CR}{LF}</code></td>
    215 								<td>&nbsp;--&gt;&nbsp;</td>
    216 								<td><code>YYYY/MM/DD{CR}{LF}</code></td>
    217 							</tr>
    218 							<tr>
    219 								<td><code>time{CR}{LF}</code></td>
    220 								<td>&nbsp;--&gt;&nbsp;</td>
    221 								<td><code>HH:MM:SS{CR}{LF}</code></td>
    222 							</tr>
    223 						</table>
    224 						<br>
    225 					</dd>
    226 				</dl>
    227 			</li>
    228 
    229 		</ul>
    230 		<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>
    231 		<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>
    232 		<p><code>ln -s /dev/ttyS0 /dev/jjy0</code></p>
    233 		<p>Using RS232C to USB converter cable, the clock can be connected to an USB port instead of a serial port. In this case, typical symbolic link command is as follows;
    234 		<p><code>ln -s /dev/ttyUSB0 /dev/jjy0</code></p>
    235 		<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>
    236 		<h4>Monitor Data</h4>
    237 		<p>The driver writes each timecode as received to the <code>clockstats</code> file.</p>
    238 		<h4>Fudge Factors</h4>
    239 		<dl>
    240 			<dt><code>time1 <em>time</em></code>
    241 			<dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.
    242 			<dt><code>time2 <em>time</em></code>
    243 			<dd>Not used by this driver.
    244 			<dt><code>stratum <em>number</em></code>
    245 			<dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0.
    246 			<dt><code>refid <em>string</em></code>
    247 			<dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <code>JJY</code>.
    248 			<dt><code>flag1 0 | 1</code>
    249 			<dd>See corresponding receiver.
    250 			<dt><code>flag2 0 | 1</code>
    251 			<dd>Not used by this driver.
    252 			<dt><code>flag3 0 | 1</code>
    253 			<dd>Not used by this driver.
    254 			<dt><code>flag4 0 | 1</code>
    255 			<dd>Not used by this driver.
    256 		</dl>
    257 		<hr>
    258 		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
    259 	</body>
    260 
    261 </html>
    262