beautypg.com

Datamax-O'Neil I-Class RFID HF & UHF Option User Manual

Page 11

background image

9

STX KtR

Read Data from RFID Tag

This command instructs the RFID device to read data from the tag and then put that data into a
replaceable field. It is expected that the tag transponder will be within the read / write distance of
the RFID programming device; otherwise, “Void” will be printed in the text or bar code label
field(s).

Syntax:

KtRUn

1…

n

16

Haaabbbcdee

Un

1

…n

16

- (Optional) Where n

1

…n

16

is the Unique Identifier (UID) in

hexadecimal format. Must be sixteen characters long.

H

- (Optional) Hexadecimal data – An “H” may be added directly

after “R” to return a two character hex value of the data. Since
there are two digits per hex value, replaceable fields should be
twice as long than if using ASCII data (e.g., the character “A”
would be returned as “41”).

aaa

- Starting block number (000  maximum block number).*

bbb

- The number of blocks to read (001  maximum block

number).*

c

- The number of retry attempts, 0-9.

d

- Reserved. Should be 0.

Where:

ee

- Field number in which to place the data (must be 01, 02, 03,

etc.) matching the order of Label Formatting command, U.

Note: The 00 value will send tag data to the host with no printing.


Sample:


L
1911A1802000010TEXT
U
X
KtRUE00700ABCDEF1234H0000015001
G

The sample creates a replaceable text field (01), recalls data from the RFID tag block zero (reading
only one block, which is attempted nine times), and prints the data in the location specified by
replaceable field.

* Dependent on transponder manufacturer.

Note: When using addressed commands and the tag with the specified UID cannot be found, a standard

RFID read/write fault will be issued.