Document: 1784en02.doc
QWTIME III MASTER CLOCK
Author: PM
Date: 2008-11-07
User Manual
Page: 46 of 61
WESTERSTRAND URFABRIK AB
P.O. Box 133
Tel. +46 506 48000
Internet:: http://www.westerstrand.se
SE-545 23 TÖREBODA
Fax. +46 506 48051
E-mail:
Protocol description
Protocol 2
The message has length 20 bytes according to:
STX F G W 20 YY MM DD HH MM SS ETX BCC
F - Flag bits
7 =0
6 =1
5 =0
4
=0 Winter time, =1 summer time
3
=1 Synced from Radio source, e.g. DCF77
2
=1 Synched from timeserver
1 0 Type of time
OFF OFF UTC
OFF ON LOC
ON OFF NOR
Example:
Assume wintertime time, synched from radio source, synchronized from timeserver, local time:
Bits 6, 3, 2 and 0 are set: 0100 1101
= 4Dh = 'M'
G - UTC offset during wintertime from letter 'P' in 1/2 hour steps.
Example:
Germany 2 x 1/2 = 1 hour, so 'P'+2 = 'R'
W
Weekday
'1' Monday .. '7' Sunday
YY
Year '00'..'99'
MM
Month '01'..'12'
DD
Day of month
'01'..'31'
HH Hour
'00'..'23'
MM
Minute '00'..'59'
SS
Second '00'..'59'
ETX 03h
BCC
Exclusive or of bytes F..ETX
The message is transmitted each second