104
RS-232C Command Set
True/False Condition
Command:
/
[
ii
?
< t > /
:
< f > /
]
where:
< t >
= True condition
< f >
= False condition
ii
: 01 = Locked; 02 = Status change; 03 = Locked with max accuracy; 04 = Fault; 05 = Daylight Saving
Time change pending; ; 06 = Unlocked LED status (whether Unlocked LED On/Off)
Ordinal Condition
Command:
/
{
ii
?
<
0
> /
:
, . . . , < n > /
;
< e >
}
where:
<
0
>, <
1
>, . . . , < n >
= ordinal position
< e >
= Else condition
ii
: 01 = Time Quality (13 possible ordinals); 02 = Time Quality for True Time
format (5 possible); 03 =
Time Zone Indicator (3 possible, 0=DST active, 1=Not active, 2=UTC)
Binary
Hex
Value (worse case accuracy)
1111
F
Fault-clock failure, time not reliable
1011
B
10 seconds
1010
A
1 second
1001
9
100 milliseconds (time within 0.1s)
1000
8
10 milliseconds (time within 0.01s)
0111
7
1 millisecond (time within 0.001s)
0110
6
100 microseconds (time within 10
−
4
s)
0101
5
10 microseconds (time within 10
−
5
s)
0100
4
1 microsecond (time within 10
−
6
s)
0011
3
100 nanoseconds (time within 10
−
7
s)
0010
2
10 nanoseconds (time within 10
−
8
s)
0001
1
1 nanosecond (time within 10
−
9
s)
0000
0
Normal operation, clock locked
Table 11.7: List of Possible Time Quality Levels, Ordinal 01
Symbol
ASCII Character
Accuracy
(space)
32
locked, maximum accuracy
.
46
Error
<
1 microsecond
*
42
Error
<
10 microseconds
#
35
Error
<
100 microseconds
?
63
Error
>
100 microseconds
Table 11.8: List of True Time Quality Levels, Ordinal 02
Using Ordinals and Conditionals
An ordinal returns an ASCII character or characters (e.g. 1, 2, 3,...., good, bad, etc.) for a requested value
(e.g. clock accuracy). A conditional returns an ASCII character or characters (e.g. 0, 1, locked, unlocked,
etc.) based on a true/false request (e.g. Is there a Fault?). Illustrated below are several examples of using
1
For True Time Broadcast Mode, see Page 136