beautypg.com

Zpl ii commands for rfid 29, Wt œ write tag 29, Write tag command 29 – Zebra Technologies R402 User Manual

Page 37: Zpl 29, 34, Zpl ii commands for rfid, Wt – write tag

background image

ZPL II Commands for RFID

^WT – Write Tag

The format for the ^WT instruction is:

^WTb,r,m,w,s

where

^WT = Write Tag command

b = Block Number

Default value: 0
Other values: 1 to n, where n is the maximum number of
blocks for the tag

This is the starting block number. If the user sends more than a block of
data it will overflow into the next block. If the user overflows the block and
subsequent blocks cause errors (write protects, beyond range, etc.), the
write will be aborted, but blocks already written will not revert to original
contents. It’s up to the caller to ensure blocks aren’t accidentally
overwritten.

r = Retries

Default value: 0
Other values: 1 to 10, number of retries

m = motion

Default value: 0 (Feed label after writing)
Other value: 1 (No Feed after writing, other ZPL may cause
a feed)

w = Write protect

Default value: 0 (NOT write protected)
Other value: 1 (Write protect)

s = Special mode

Reserved