Table of Contents

.wr Write transponder Command

This command tries to write data to any transponder that meets the select criteria. It will return an error if no transponder is found. For each transponder the number of words written follows the WW: response header.

Android iOS .NET
link coming soon link coming soon WriteTransponderCommand

Parameters

Identifier Values Description
-al on/off Perform an alert after a successful write using the current alert Parameters from the .al command
-ap xxxxxxxx Access password, where xxxxxxxx is an 8 character ASCII Hex value
-c on/off Include EPC checksum response
-da xxxx..zzzz The data to write in 4 character ASCII Hex words. Up to a maximum of 32 words
-db epc/tid/usr/res Data bank to write to
-dl xx Length in words of the data to write, where xx is a 2 character ASCII Hex value up to a maximum of 20hex
-do xxxx Data bank offset, this is the offset, in 16 bit words, from the start of the block to where the data will be written, where xxxx is a 4 character ASCII Hex value
-dt on/off Include date time response
-e on/off Include EPC PC information response
-io on/off Inventory only, if set to on then no select will be performed before the inventory round phase is started
-ix on/off Index number each transponder response
-n No action, just set the parameters
-o nn Output power in dBm, where nn is in the range 10 to 29
-p List the parameter and their current values
-ql all/nsl/sl query Select
-qm n QT mode
-qs s0,s1,s2,s3 query Session
-qt a/b query Target
-qv nn Q value (0..15)
-r on/off Include transponder RSSI response
-sa n Select action
-sb epc/tid/usr Bank to use for the select mask
-sd xx..zz Select mask data in 2 character ASCII Hex bytes padded to ensure full bytes, up to a maximum of 32 bytes.
-sl xx Length in bits of the select mask, where xx is a 2 character ASCII Hex value
-so xxxx Number of bits from the start of the block to the start of the select mask, where xxxx is a 4 character ASCII Hex value
-st s0,s1,s2,s3,sl Select target
-wm s/b Set the Write Mode to either single or block. Block mode is not supported by all transponders
-wx a/1/2 Impinj Block Write Mode extension. Auto, Force 1 or Force 2 block write. Unless the transponder population is known, use Auto. This option is only valid if wm=b
-x Reset the parameters to defaults

Parameter detail

-al

Perform an alert after a successful write using the current alert Parameters from the .al command

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation2
Default Valueon

-ap

Access password, where xxxxxxxx is an 8 character ASCII Hex value

TypeHEX
Valuexxxxxxxx
Range8 Hex digits
Order In Interpretation25
Default Value00000000

-c

Include EPC checksum response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation3
Default Valueoff

-da

The data to write in 4 character ASCII Hex words. Up to a maximum of 32 words

TypeHEX
Valuexxxx..zzzz
Rangeinteger numberof HEX words
Order In Interpretation22
Default Value

-db

Data bank to write to

TypeEnum
Valueepc/tid/usr/res
Rangeepc/tid/usr/res
Order In Interpretation23
Default Valueusr

-dl

Length in words of the data to write, where xx is a 2 character ASCII Hex value up to a maximum of 20hex

TypeHEX
Valuexx
Range2 Hex digits
Order In Interpretation21
Default Value00

-do

Data bank offset, this is the offset, in 16 bit words, from the start of the block to where the data will be written, where xxxx is a 4 character ASCII Hex value

TypeHEX
Valuexxxx
Range4 Hex digits
Order In Interpretation24
Default Value0000

-dt

Include date time response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation6
Default Valueoff

-e

Include EPC PC information response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation4
Default Valueoff

-io

Inventory only, if set to on then no select will be performed before the inventory round phase is started

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation14
Default Valueoff

-ix

Index number each transponder response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation8
Default Valueoff

-n

No action, just set the parameters

TypeSwitch
Value
Range
Order In Interpretation29

-o

Output power in dBm, where nn is in the range 10 to 29

TypeOutput power
Valuenn
Range
Order In Interpretation13
Default Value29

-p

List the parameter and their current values

TypeSwitch
Value
Range
Order In Interpretation28

-ql

query Select

TypeEnum
Valueall/nsl/sl
Rangeall/nsl/sl
Order In Interpretation17
Default Valueall

-qm

QT mode

QT mode

n =

Description
0Standard write
1Write to private memory
2Write to private memory short range
3Write the QT control word with data –da xxxx
TypeNumeric
Valuen
Range
Order In Interpretation7
Default Value0

-qs

query Session

TypeEnum
Values0,s1,s2,s3
Ranges0/s1/s2/s3
Order In Interpretation18
Default Values2

-qt

query Target

TypeEnum
Valuea/b
Rangea/b
Order In Interpretation19
Default Valueb

-qv

Q value (0..15)

TypeOutput power
Valuenn
Range
Order In Interpretation20
Default Value4

-r

Include transponder RSSI response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation5
Default Valueoff

-sa

Select action

Parameter

n=

Matching ActionNon Matching Action
SL FlagSession FlagSL FlagSession Flag
0assertSet AdeassertSet B
1assertSet Anothingnothing
2nothingnothingdeassertSet B
3toggletogglenothingnothing
4deassertSet BassertSet A
5deassertSet Bnothingnothing
6nothingnothingassertSet A
7nothingnothingtoggletoggle
TypeNumeric
Valuen
Range
Order In Interpretation15
Default Value4

-sb

Bank to use for the select mask

TypeEnum
Valueepc/tid/usr
Rangeepc/tid/usr
Order In Interpretation9
Default Valueepc

-sd

Select mask data in 2 character ASCII Hex bytes padded to ensure full bytes, up to a maximum of 32 bytes.

TypeHEX
Valuexx..zz
RangeInteger number of HEX bytes
Order In Interpretation12
Default Value

-sl

Length in bits of the select mask, where xx is a 2 character ASCII Hex value

TypeHEX
Valuexx
Range2 Hex digits
Order In Interpretation11
Default Value00

-so

Number of bits from the start of the block to the start of the select mask, where xxxx is a 4 character ASCII Hex value

TypeHEX
Valuexxxx
Range4 Hex digits
Order In Interpretation10
Default Value0000

-st

Select target

TypeEnum
Values0,s1,s2,s3,sl
Ranges0/s1/s2/s3/sl
Order In Interpretation16
Default Values2

-wm

Set the Write Mode to either single or block. Block mode is not supported by all transponders

TypeEnum
Values/b
Ranges/b
Order In Interpretation26
Default Values

-wx

Impinj Block Write Mode extension. Auto, Force 1 or Force 2 block write. Unless the transponder population is known, use Auto. This option is only valid if wm=b

TypeEnum
Valuea/1/2
Rangea/1/2
Order In Interpretation27
Default Valuea

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -al, -c, -e, -r, -dt, -qm, -ix, -sb,-so, -sl, -sd, -o, -io, -sa, -st, -ql, -qs, -qt, -qv, -dl, -da, -db, -do, -ap, -wm, -wx, -p, -n

Parameter Defaults

-al on, -ap 00000000, -c off, -da, -db usr, -dl 00, -do 0000, -dt off, -e off, -io off, -ix off, -o 29, -ql all, -qm 0, -qs s2, -qt b, -qv 4, -r off, -sa 4, -sb epc, -sd, -sl 00, -so 0000, -st s2, -wm s, -wx a

Response Headers

CR CS DT EA EB EP ER IX ME OK PC PR RI WW

Examples

CommandResponseAction
.wr -p -nCS: .wr-p-n

PR: -al on -ap 00000000 -c off -da -db usr -dl 00 -do 0000 -dt off -e off -io off -ix off -n -o 29 -p -ql all –qm 0 -qs s2 -qt b -qv 4 -r off -sa 4 -sb epc -sd -sl 00 -so 0000 -st s2 -wm s -wx a -x

OK:

none
.wr -da1234 -dl01CS: .wr -da1234 -dl01

EP: 310833B2DDD906C000001234

WW: 1

EP: 310833B2DDD906C000001235

WW: 0

EP: 310833B2DDD906C000001236

WW: 1

OK:

Write 0x1234 to a transponders