Howtorfid – Avery Dennison RFID User Manual
Page 37

HowToRFID
Revision: 13
Date: 31 August 2009
Page 37 of 53
5.3.4
Read and Write operations
Reading and/or writing data requires always the use of a variable + two explicit commands
1) Define a variable using #VDT (or #VDE / #VDD)
2) define target field (or data type) with
#SRF command
3) read or write data with
#VR/T or #VW/T command using the variable defined in 1) or an constant expression
The source of data to be written to the tag can be any variable or any constant expression used as DATA
parameter in the #VW/T/ command.
The sink of data read from the tag can only be a text variable.
After reading data from the tag the data can be modified using the functions provided by the variable data handling
mechanism, printed to the label or sent back to the host using the EasyPlug interface.
Order of execution
RFID operations are executed in the order which is given by the EasyPlug job. All RFID operations must complete
before continuing with the regular printing of label. If there is a failure (due to an undetectable or bad RFID inlay or
a verify after write error) the label is marked as invalid and processing is repeated with the next label of the web.
Note: if an error occurs no update of incrementing fields is made.
5.3.4.1
#SRF - RFID Read / write target definition
Definition
Command defines the target or source field and address of any following #VW/T or
#VR/T command
Command must be placed between #ER and #Q!
Syntax
#SRFt/bfs/n/r#G
RFID printer
#SRF
t/bfs/n/r#G
t
=
int
data type / field
0 = BLOCK (*1, *2)
1 = TID (EPC Gen2), or UID (HF / ISO 15963) (*3)
2 = EPC (EPC Gen2)
3 = KILL Password (EPC Gen2)
4 = ACCESS Password (EPC Gen2)
5 = MEM BANK (EPC Gen2; Note: applies to read operations only) (*2)
6 = AFI
7 = MEMBLOCK (EPC Gen2; see note address calculation) (*1,*2)
8 = DSFID (HF / ISO 15963)
Notes:
*1) “s” parameter required