Tag Programming
49
Using the Wv Command
The Wv command is a multifunction command that performs any erase, write, and
verification needed to program a tag in a specific protocol. The command can also lock the
data.
The format of the
Wv
command is as follows:
}Wv,b:<EPC data>,k:<kill code>,c:<access code>,
i:<TID data>,u:<user memory>,m:<lock mask>!
where:
b:<EPC data>
is the EPC ID to write to the tag.
k:<kill code>
is the kill code to be written to the reader.
c:<access code>
is the access code to be written to the tag.
i:<TID data>
is the TID data to be written tot he tag. The number of bytes varies
depending on the tag.\
u:<user memory>
is the user data to be written to the tag. The number of bytes
varies depending on the tag.
m:<lock mask>
is the lock mask to indicate which tag field to lock. Each 4-bit
nibble in the mask indicates the lock state to apply to a specific part of the tag. A mask
nibble value of 1 locks the specific part of the tag. A mask nibble value of 0 indicates
no lock is applied. For the EPC1-2, the low order bit of each nibble indicates if the
permalock bit should be set, and the next higher bit indicates if the pwd-write bit
should be set.
For the EPC1-2 protocol, the mask nibbles apply to the following fields:
To write an EPC ID value of 332233445566778899aabbcc and verify the write, enter:
}wv,b:332233445566778899aabbcc!
To write the EPC data, a kill code of A391742F, an access code of 73D97412, and lock the
EPC data and access code, enter:
}wv,b:30112233445566778899aabb,k:A391742F,c:73D97412,m:00202!
In this example, the lock mask of
m:00202
= 0010 0000 0010b and indicates that
a pwd-lock is requested for nibble 2 (access code) and a pwd-lock is requested for
nibble 0 (EPC data).
Mask Nibble
4
3
2
1
0
Tag Field
User
memory
TID data
Access
code
Kill code
EPC data
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: ......