Last update: 3-May-2011 00:20 UTC
JJY
JJY
/dev/jjyu
; See corresponding receiver
This driver supports the following JJY receivers sold in Japan.
Tristate Ltd. JJY01, JJY02 http://www.tristate.ne.jp/ (Japanese only)
server 127.127.40.X mode 1
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.
0 (Default) | DCST and STUS commands are not issued |
1 | DCST and STUS commands are issued |
RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit
Command | --> | Reply |
date{CR}{LF} |
--> | YYYY/MM/DD WWW{CR}{LF} |
stim{CR}{LF} |
--> | HH:MM:SS{CR}{LF} |
C-DEX Co.,Ltd. JST2000 http://www.c-dex.co.jp/ (Japanese only)
server 127.127.40.X mode 2
RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit
Command | --> | Reply |
{ENQ}1J{ETX} |
--> | {STX}JYYMMDD HHMMSSS{ETX} |
Echo Keisokuki Co.,Ltd. LT-2000 http://www.clock.co.jp/ (Japanese only)
server 127.127.40.X mode 3
RS-232C, 9600 baud, 8-bits, no parity, 1 stop bit
Command | --> | Reply |
C |
--> | ( Mode 2 : Continuous ) |
( Every second before 0.5 second ) | YYMMDDWHHMMSS{ST1}{ST2}{ST3}{ST4}{CR} |
|
# |
--> | ( Mode 1 : Request&Send ) |
CITIZEN T.I.C. CO.,LTD. JJY-200 http://www.tic-citizen.co.jp/ (Japanese only)
server 127.127.40.X mode 4
RS-232C, 4800 baud, 8-bits, no parity, 1 stop bit
Command | --> | Reply |
( Every second ) | 'XX YY/MM/DD W HH:MM:SS{CR} |
Tristate Ltd. TS-GPSclock-01 http://www.tristate.ne.jp/ (Japanese only)
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.
Besides this driver ( Type 40 ), the generic NMEA GPS driver ( Type 20 ) supports the TS-GPSclock-01 in NMEA mode.
server 127.127.40.X mode 5
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.
0 (Default) | STUS command is not issued |
1 | STUS command is issued |
USB ( /dev/ttyACM0 )
Command | --> | Reply |
date{CR}{LF} |
--> | YYYY/MM/DD{CR}{LF} |
time{CR}{LF} |
--> | HH:MM:SS{CR}{LF} |
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 http://www.nict.go.jp/ (English and Japanese) and http://jjy.nict.go.jp/ (English and Japanese)
The user is expected to provide a symbolic link to an available serial port device. This is typically performed by a command such as;
ln -s /dev/ttyS0 /dev/jjy0
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;
ln -s /dev/ttyUSB0 /dev/jjy0
Windows NT does not support symbolic links to device files. COMX: 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:
The driver writes each timecode as received to the clockstats
file.
time1 time
time2 time
stratum number
refid string
JJY
.
flag1 0 | 1
flag2 0 | 1
flag3 0 | 1
flag4 0 | 1