User Manual

EUCHNER Hand-Held Pendant Station
Example 2:
The text "Euchner" is output on the display at the current cursor
position:
092491-07-01/09 Subject to technical modifications Page 8 / 34
Control
system
STX 6CH A5H D5H C3H C8H CEH C5H D2H DLE ETX BCC
HBAS
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)
Euchner
Euchner
XOR operator
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