EUCHNER HBAS 094594 Benutzerhandbuch
Seite 50

EUCHNER
Hand-Held Pendant Station
HBAS-094594
095640-02-02/06
Subject to technical modifications
Page 10 / 40
Example 2:
The text "
Euchner
" is output on the display at the current cursor
position:
HBAS
STX
6CH A5H D5H C3H C8H CEH
C5H D2H
DLE ETX BCC
ETX
Control
system
DLE
DLE
Byte 1
STX
Byte 2
6CH
LCD identifier byte
Byte 3
A5H
Byte 4
D5H
Byte 5
C3H
Byte 6
C8H
Byte 7
CEH
Byte 8
C5H
Byte 9
D2H
Byte 10
DLE
(10H)
Byte 11
ETX
(03H)
Byte 12
BCC
(formed across bytes 2 to 11)
Calculation:
6CH
XOR
A5H =
C9H
Byte 2 XOR Byte 3
C9H
XOR
D5H =
1CH
XOR Byte 4
1CH
XOR
C3H =
DFH
XOR Byte 5
DFH
XOR
C8H =
17H
XOR Byte 6
17H
XOR
CEH =
D9H
XOR Byte 7
D9H
XOR
C5H =
1CH
XOR Byte 8
1CH
XOR
D2H =
CEH
XOR Byte 9
CEH
XOR
10H
=
DEH
XOR Byte 10
DEH
XOR
03H
=
DDH
XOR Byte 11
BCC
= DDH
Simplification by combining
DLE
and
ETX
:
6CH
XOR
A5H
XOR
D5H
XOR
C3H
XOR
C8H
XOR
CEH
XOR
C5H
XOR
D2H =
CEH
CEH
XOR
13H
= DDH
Euchner
Euchner
XOR operator