Device Description HG G-71450/1/3/5-A | English, Revision 02 | Date: 06.06.2019
30
Chapter 5 – Interfaces: RS 232/serial (HG G
-
71450)
5.3 Telegram Setup of Binary Coding (SW5 = OFF)
Example:
Figure 16
HG G-71450: Example for a binary telegram setup
Sum of A
43
, A
21
and P results in 0 (Mod256).
Example:
Bit sequence:
0000 0111 0000 1011
(Transponder code 16 bit) 070B
hex
in the
transponder.
The following bytes will be output:
The hexadecimal sum over 07, 0B, EE results in (1)00
hex
.
5.4 Resetting the Antenna
The Reset of the antenna is triggered as soon as it receives the sign DC2 (012h) with
the right parity. Then the antenna confirms the reception of this command by send
-
ing an answer telegram. After that the program resets all internal variables. Any oth
-
er signs or transmission errors are ignored.
The answer telegram is formed as follows (binary coding):
1.
Start identifier
StartofHeader
= 01h
2.
data byte with the bits 15...8 (Bit 8 = LSB of the byte) of the last read code
3.
data byte with the bits 7...0 (Bit 0 = LSB of the byte) of the last read code
4.
check byte: the sum of the telegram identification, the data bytes and this check
byte equals 0.
If the ASCII coded output is activated, the code will be displayed as shown in Table
20 on page 29. If no transponder has been read until the card is resetted, the value
0000h
will be put out.
5.5 Transponder Programming
Transponders can be programmed via the serial interface. This is described in sec
-
tion 10.3.1 on page 62.
Table 21
HG G-71450: Example telegram binary coded
Character
Hex-Value
STX
02
A43
07
A21
0B
P
EE
STX Start character (STX = 02 Hex)
Check sum