4 Event Transmission (TCP, UDP)
KW2D Series Smart RFID Reader User’s Manual
4-23
4
Co
m
m
un
ica
tio
n F
un
ctio
n
The structure of the data fileds (67 bytes) is as follows.
Data
storage
location
Number
of bytes
Contents
Description
1
1
Sequence
number
0 (30h) to 9 (39h), A (41h) to 5 (46h)
Send a number different from the previous number sent.
2
1
Verification
result
0 (30h): NG
1 (31h): OK
2 (32h): No tag list
3
1
Status
0 (30h): Operation mode (running)
1 (31h): Tag edit mode (registering)
2 (32h): Tag edit mode (deleting)
4
1
Reserved
0 (30h)
5
1
KW2D special
tag detection
0 (30h): KW2D special tag not detected
1 (31h): KW2D special tag detected
6, 7
2
Authority
Converts the authority 00 to FF (0 to 255) to ASCII code and stores it.
Example: Authority is 123 (Dec).
8
1
Space
Stores the character string “ ” (20h).
9 to 28
20
UID
The UID is stored in ASCII code from the first digit. NULL (00h) is stored after the last
digit of the UID.
Example: 8-digit UID with the value of input register 0004 being 1234h and 0005
being 5678h.
29
1
Space
Stores the character string “ ” (20h).
30 to 47
18
Name1
The character codes of Name1 are stored with no conversion. NULL (00h) is stored
after the termination character.
Example: Name1 is "IDEC".
48
1
Space
Stores the character string “ ” (20h).
49 to 66
18
Name2
The character codes of Name2 are stored with no conversion. NULL (00h) is stored
after the termination character.
Example: Name2 is "KW2D".
7
(37h)
B
(42h)
Authority: 123=7Bh
Input register 0004=1234h
NULL
(00h)
...
NULL
(00h)
9th bype
20th byte
1
(31h)
2
(32h)
3
(33h)
4
(34h)
5
(35h)
6
(36h)
7
(37h)
8
(38h)
Input register 0005=5678h
Name1: IDEC
Termination
Character
18th byte
NULL
(00h)
...
NULL
(00h)
I
(49h)
D
(44h)
E
(45h)
C
(43h)
NULL
(00h)
Name2: KW2D
Termination
Character
18th byte
NULL
(00h)
...
NULL
(00h)
K
(4Bh)
W
(57h)
2
(32h)
D
(44h)
NULL
(00h)