beautypg.com

Format of the spa time string – Meinberg PZF600 User Manual

Page 35

background image

35

Format of the SPA Time String

The 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 characters
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 all previous characters,
displayed as a HEX byte (2 ASCII characters 0..9 or A..F)

Carriage Return, ASCII Code 0Dh