Chapter 3 RFID PGL Commands

Read Tag

Read Tag is not a command, but an element of the ALPHA and BARCODE commands. See “Alphanumerics” and “Bar Codes” in the IGP/PGL Programmer’s Reference Manual for more information.

Purpose Embed RFID data into an ALPHA or BARCODE data field.

Format <RDI>position,length[,format];

<RDI>

The RFID Data Indicator character, as

 

defined by the RFREAD parameter in the

 

ALPHA or BARCODE commands. See

 

the ALPHA and/or BARCODE command

 

description for details.

position

The decimal number that specifies the

 

starting position of the data inside the

 

transponder.

length

The decimal number that specifies the

 

length of the data to be read.

format

Replace the optional format parameter

 

with any non-zero number to convert the

 

data to hexadecimal format.

Example

Write tag contents, then read and insert the tag contents into an ALPHA field.

~CREATE;READTAG

//Create the READTAG form.

RFWRITE;AT1;*HELLOTAG*

//Program the string “HELLOTAG” into the tag

ALPHA

//The following ALPHA element is defined below: RFREAD@;AF1;27;3;5;0;0

//RFID Data Indicator character is “@”.

//Dynamic field number of this ALPHA element is 1.

STOP

//Terminate the ALPHA element definition.

58

Page 58
Image 58
Printronix T5000 setup guide Read Tag