Protocol description ASCII, SECS/HSMS
Customer manual
Version 1.2
LFM LP Reader
15.01.2019
Page 61 of 119
HERMOS AG
Gartenstrasse 19
Tel. +49(9279) 991-0
D-95490 Mistelgau
Fax. +49(9279) 991-100
Message examples
*):
With TCP / IP transmission in the standard ASC-I1 protocol, the checksum bytes are not transmitted.
Calculation of the XOR checksum
:
53 XOR 30 XOR 32 XOR 48 XOR 30 XOR 0D =
24
'2' '4'
Calculation of the addition-checksum
:
53 + 30 + 32 + 48 + 30 + 0D =
13A
'3' 'A'
(LSB is used)
ASCII
HEX
Description
‚S'
53
Start character
‚0‘
30
High byte message length
‚2‘
32
Lowbyte message length
‚H‘
48
Message first character
: value
‚0‘
30
Message second character
: destination address
CR
0D
End character
‚2‘
32*)
Highbyte
– Checksum XOR
‚4‘
34*)
Lowbyte
– Checksum XOR
‚3‘
33*)
Highbyte
– Checksum Addition
‚A‘
41*)
Lowbyte
– Checksum Addition