beautypg.com

Format of the abb spa time string – Meinberg GPS169PCI User Manual

Page 32

background image

32

Format of the ABB SPA time string

The ABB SPA time string is a sequence of 32 ASCII characters starting with the
characters ">900WD" and ending with the (Carriage Return) character. The
format is:

>900WD:yy-mm-tt_hh.mm;ss.fff:cc

The letters printed in italics are replaced by ASCII numbers whereas the other charac-
ters are part of the time string. The groups of characters as defined below:

yy-mm-tt

the current date:
yy

year of the century

(00..99)

mm month

(01..12)

dd

day of month

(01..31)

_

Space (ASCII code 20h)

hh.mm;ss.fff

the current time:
hh

hours

(00..23)

mm minutes

(00..59)

ss

seconds

(00..59, or 60 while leap second)

fff

milliseconds

(000..999)

cc

Check sum. EXCLUSIVE-OR result of the previous characters,
displayed as a HEX byte (2 ASCII characters 0..9 or A..F)

Carriage Return (ASCII code 0Dh)