5-6
Section
Communications Commands
78
5-6
Communications Commands
5-6-1 READ: RD
Reads data from a Tag.
Command Frame Structure
STX
Node No.
Command
code
RD
Commu-
nications
Data
type
Chan-
nel
First read
address
No. of
read bytes
ETX
BCC
Communications
Specify the communications method with the Tag.
ST:
Single trigger
MR: Multi-repeat
SA: Single auto
L
j
: Selective access
SR: Single repeat
(
j
=
*
for Tag detect, ID number 0 to F for Tag specify.)
FT:
FIFO trigger
QT: Quick Trigger
FA: FIFO auto
QA: Quick Auto
FR: FIFO repeat
QA: Quick Repeat
ME: Multi-trigger
Data type
Specify whether the data read from the Tag is ASCII or Hex.
A: ASCII code
H: HEX code
Channel
Always 1.
First read address
Specify in Hex the first address from which data is to be read from the Tag.
Setting range: 00h to EFh
No. of read bytes
Specify in Hex the number of bytes to be read from the Tag.
Setting range: 01h to F0h (reading ASCII data)
01h to 80h (reading Hex data)
Response Frame Structure
STX
Node No.
Retry
Flag
Command
code
RD
Response
code
00
Read data
ETX BCC
Specified
quantity
Response Frame Structure for Selective Access Function (Excluding Detection Completed Response)
STX
Node No.
Retry
Flag
Command
code
RD
Response
code
00
Read data
ETX
BCC
Specified
quantity
ID
No.
1
1
1
1
2
2
2
Response code
00: Normal end
Refer to 5-12 List of Response Codes for other response codes.
ID No.
This is the temporary ID number assigned to the Tag by the Controller for the selective
access function. Normally the ID No. is between 0 and F, but the Controller will return ID
number “X” for the 17
th
and later Tags if the max. number of Tags (16) was exceeded.
Read data
Data read from the ID Tag, which consists of the following characters.
ASCII code: Number of bytes to be read
HEX code: Number of bytes to be read x 2
Note Make sure that the specified data is within the memory capacity of the ID Tag.
AUDIN - 7 bis rue de Tinqueux - 51100 Reims - France - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : [email protected]