Howtorfid – Avery Dennison RFID User Manual
Page 39

HowToRFID
Revision: 13
Date: 31 August 2009
Page 39 of 53
5.3.4.2
#VR/T – Reading data from tag
Use #VR/T/
5.3.4.3
#VW/T – Writing data to the tag
Use the #VW/I/
5.3.5
Sending data (read from tag) to an interface
Sending data that was written to the tag or read from the tag back to the host requires the use of a variable + two
explicit commands
1) Define a variable using #VDT
2) Read data from tag using #VR/T (or write data to tag using #VW/T)
3) define response format and point on time / condition (trigger) with
#SI command
4) send data with
#VW/I command using the variable defined in 1)
5.3.5.1
#SI – Response format definition
Definition
There is a response string made of header h and requested data that is send back to the
host via EasyPlug Interface. If parameter n is different from zero the return string is
trimmed to byte count n. If respond string is less than n bytes it is filled with blanks (hex
code 0x20), otherwise respond string is truncated to fit into n bytes.
Command must be placed between #ER and #Q!
Syntax
#SIr/n/h#G
RFID printer
#SI
r/n/h#G
r = int
logical point in time concerning print control that defines when to send data
(trigger point)
1 = at start of a new EasyPlug format
2 = at restart of a previous EasyPlug format (#Q without #ER)
3 = at start of a single label operation
4 = at start of RFID operation
5 = at end of successful RFID operation(s); if read/write operations fail the
trigger doesn’t fire
6 = at start of the real print process
7 = at end of the real print process
8 = at end of a single label operation (label printed without error)
9 = at end of an EasyPlug format (#Qn label printed)
10 = at any motion control error
11 = at any RFID error (tag read or tag write error); triggered together with the
Bad Tag Signal