Herunterladen Inhalt Inhalt Diese Seite drucken

Rs232 Und Ethernet Protokoll - TAG Heuer 540 Benutzerhandbuch

Inhaltsverzeichnis

Werbung

17. RS232 und Ethernet Protokoll

RS232 Port settings:
2400, 9600, 38400, 57600 bauds
8 bits, 1 stop bit, no parity
Frame structure: Data + TAB + CS16 +CR + LF
TAB = 0x09
CR = 0x0D
LF = 0x0A
CS15 is the sum of all the data's octets (except the « # » characters if present) modulo 65536
The result in Hexadecimal is add into the frame in 4 ASCII characters
Example: print the text « Hello »
#PL Hello<TAB><CS16><CR><LF>
Data :
P = 0x50 L = 0x4C Space = 0x20 H = 0x48 e = 0x65
Sum = 02B0 (hexadecimal) = CS16
Frame:
#
P
L
0x23 0x50 0x4C 0x20 0x48 0x65 0x6C 0x6C 0x6F
Ethernet:
IP by default 192.168.001.050
Port 7000
Frame format: Data + CR + LF
CS16
Sum of all data bytes modular 65536 (cod in 4 hexa digit) in ASCII
TAB
0x09
CR
0x0D
LF
0x0A
CP540 to PC Frame ID's:
AK
PC command acknowledge (Every PC to CP540 message is acknowledge)
ID
CP540 Identification number
OP
Open Run
CL
Close Run
DS
Download Run Start
DE
Download Run End
TN
New Time data
T-
Unassigned Time
T*
Re-identified Time
T+
Manually Inserted Time
T=
Duplicated Time
TC
Cancelled Time
IR
Intermediate Result
DR
Differential Result
RR
Run Result
GR
Result add to another Run Result
VE
Speed
AN
Recalled or Downloaded Time: original
A-
Recalled or Downloaded Time: De-identified
A*
Recalled or Downloaded Time: Re-identified
A+
Recalled or Downloaded Time: Manually Inserted
A=
Recalled or Downloaded Time: Duplicated Time
AC
Recalled or Downloaded Time: Cancelled Time
TAG Heuer Timing
H
e
l
l
l = 0x6C
o
<TAB>
0
2
0x09
0x30 0x32 0x42 0x30 0x0D 0x0A
l = 0x6C
o = 0x6F
B
0
<CR> <LF>
Seite 35 / 48

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Verwandte Produkte für TAG Heuer 540

Inhaltsverzeichnis