COM0 / COM1 S
ERIAL
I
NTERFACES
52 / 98
6842 GPS Slim Line System - V09.01
hopf
Elektronik GmbH
Nottebohmstr. 41 • D-58511 Lüdenscheid • Tel.: +49 (0)2351 9386-86 • Fax: +49 (0)2351 9386-93 • Internet: http://www.hopf.com • E-Mail: [email protected]
5.1.3 Serial Transmission Data Format
The data is transmitted in ASCII as BCD values and can be presented with any terminal
program (TERMINAL.EXE under Windows for example). The following control characters,
among others, from the ASCII character set are used in the construction of the data string:
$20 = Space
$0D = CR (carriage return)
$0A = LF (line feed)
$02 = STX (start of text)
$03 = ETX (end of text)
Status values are to be evaluated separately (see data string construction).
5.1.4 Serial Data String Request
Serial data string requests that are not included in this Chapter are described under Data
Strings.
5.1.4.1 Serial Requests with ASCII Characters (
hopf
Standard and
hopf
2000)
The transmission of a data string can also be triggered by the user on enquiry by means of
an ASCII character. The following characters trigger the transmission of the standard string:
•
ASCII
"D"
- for Time / Date (Local Time)
•
ASCII
"G"
- for Time / Date (UTC Time)
The System answers within 1msec. with the corresponding data string.
Since this is often too fast for the requesting computer, it is also possible to realize a
response delay in 10msec. steps on request via software. For the delayed transmission of
the data string, the requesting computer transmits the lower case letters "
d
,
g
" to the clock
with a two position multiplication factor.
The clock interprets the multiplication factor as a hexadecimal value.
Example:
The computer transmits
ASCII gFF
(Hex 67, 46, 46)
The clock transmits the Time / Date (UTC Time) data string after approx. 2550 milliseconds.