Tag Programming
47
Writing the Tag
Three CHUMP commands can be used to write to an EPC1, Gen2 tag:
Wa
,
Wt
, and
Wv
.
Wa
writes to any tag in the field and is typically used to write the EPC ID to tag.
Wt
writes
to a specific tag, as defined in the input parameter list, and is typically used to write to user
data on a tag.
Wv
is a multifunction command that erases, writes, and verifies a tag.
Using the Wa Command
The format of the
Wa
command is as follows:
}Wa,a:<blk addr>,b:<blk data>[,l:<# blks>][,s:<offset>]
[,f:<xxx>]!
where:
a:<blk addr>
is the block address (0 by default). For EPC1, Gen2
0=Reserved,1=EPC, 2=TID, 3=USER memory bank
b:<blk data>
is the block data to write. Must be 16-word multiple.
l:<# blks>
is the length in 16-bit words. Defaults to length of data if missing.
s:<offset>
is the offset to start the write (EPC1, Gen2 only). Defaults to 0 if.
f:<xxx>
is protocol specific flag data. Set f=1 for read back/verify. EPC1, Gen2 tags
provide SUCCESS/FAIL feedback. Defaults to 0.
To write an EPC ID value of 332233445566778899aabbcc onto a tag with the Protocol
Control field set for a 96 bit tag, enter:
}wa,a:1,s:2,b:332233445566778899aabbcc!
To add the length field, enter:
}wa,a:1,s:2,b:332233445566778899aabbcc,l:6!
To request a read/verify cycle following the write operation, enter:
}wa,a:1,s:2,b:332233445566778899aabbcc,l:6,f:1!
In order to write an EPC ID to a blank tag, the Protocol Control bits must also be set. This
can be accomplished in a single write command since the Protocol Control bits are
contained in the same memory bank as the EPC ID. Following the previous example, the
command would include setting the Protocol Control to 3000 as follows:
}wa,a:1,s:1,b:3000332233445566778899aabbcc!
The Kill and Access Passwords are contained in the Reserved Memory bank. Each
password can be written with separate
Wa
commands or a single command:
To write a 32-bit Access password at offset 2, enter:
}wa,a:0,s:2,b:55667788!
To write both Access passwords with a single command, enter:
}wa,a:0,b:3322334455667788!
Summary of Contents for MP9311 Series
Page 1: ...User s Guide MP9311 Low Power UHF Reader Module THE POWER TO CHOOSE...
Page 6: ...MP9311 User s Guide iv...
Page 12: ...MP9311 User s Guide 6...
Page 34: ...MP9311 User s Guide 26...
Page 58: ...MP9311 User s Guide 50...
Page 59: ......