.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
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 2 |
Default Value | on |
-ap
Access password, where xxxxxxxx is an 8 character ASCII Hex value
Type | HEX |
---|---|
Value | xxxxxxxx |
Range | 8 Hex digits |
Order In Interpretation | 25 |
Default Value | 00000000 |
-c
Include EPC checksum response
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 3 |
Default Value | off |
-da
The data to write in 4 character ASCII Hex words. Up to a maximum of 32 words
Type | HEX |
---|---|
Value | xxxx..zzzz |
Range | integer numberof HEX words |
Order In Interpretation | 22 |
Default Value |
-db
Data bank to write to
Type | Enum |
---|---|
Value | epc/tid/usr/res |
Range | epc/tid/usr/res |
Order In Interpretation | 23 |
Default Value | usr |
-dl
Length in words of the data to write, where xx is a 2 character ASCII Hex value up to a maximum of 20hex
Type | HEX |
---|---|
Value | xx |
Range | 2 Hex digits |
Order In Interpretation | 21 |
Default Value | 00 |
-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
Type | HEX |
---|---|
Value | xxxx |
Range | 4 Hex digits |
Order In Interpretation | 24 |
Default Value | 0000 |
-dt
Include date time response
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 6 |
Default Value | off |
-e
Include EPC PC information response
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 4 |
Default Value | off |
-io
Inventory only, if set to on then no select will be performed before the inventory round phase is started
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 14 |
Default Value | off |
-ix
Index number each transponder response
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 8 |
Default Value | off |
-n
No action, just set the parameters
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 29 |
-o
Output power in dBm, where nn is in the range 10 to 29
Type | Output power |
---|---|
Value | nn |
Range | |
Order In Interpretation | 13 |
Default Value | 29 |
-p
List the parameter and their current values
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 28 |
-ql
query Select
Type | Enum |
---|---|
Value | all/nsl/sl |
Range | all/nsl/sl |
Order In Interpretation | 17 |
Default Value | all |
-qm
QT mode
QT mode
n = | Description |
0 | Standard write |
1 | Write to private memory |
2 | Write to private memory short range |
3 | Write the QT control word with data –da xxxx |
Type | Numeric |
---|---|
Value | n |
Range | |
Order In Interpretation | 7 |
Default Value | 0 |
-qs
query Session
Type | Enum |
---|---|
Value | s0,s1,s2,s3 |
Range | s0/s1/s2/s3 |
Order In Interpretation | 18 |
Default Value | s2 |
-qt
query Target
Type | Enum |
---|---|
Value | a/b |
Range | a/b |
Order In Interpretation | 19 |
Default Value | b |
-qv
Q value (0..15)
Type | Output power |
---|---|
Value | nn |
Range | |
Order In Interpretation | 20 |
Default Value | 4 |
-r
Include transponder RSSI response
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 5 |
Default Value | off |
-sa
Select action
Parameter
n= | Matching Action | Non Matching Action | ||
SL Flag | Session Flag | SL Flag | Session Flag | |
0 | assert | Set A | deassert | Set B |
1 | assert | Set A | nothing | nothing |
2 | nothing | nothing | deassert | Set B |
3 | toggle | toggle | nothing | nothing |
4 | deassert | Set B | assert | Set A |
5 | deassert | Set B | nothing | nothing |
6 | nothing | nothing | assert | Set A |
7 | nothing | nothing | toggle | toggle |
Type | Numeric |
---|---|
Value | n |
Range | |
Order In Interpretation | 15 |
Default Value | 4 |
-sb
Bank to use for the select mask
Type | Enum |
---|---|
Value | epc/tid/usr |
Range | epc/tid/usr |
Order In Interpretation | 9 |
Default Value | epc |
-sd
Select mask data in 2 character ASCII Hex bytes padded to ensure full bytes, up to a maximum of 32 bytes.
Type | HEX |
---|---|
Value | xx..zz |
Range | Integer number of HEX bytes |
Order In Interpretation | 12 |
Default Value |
-sl
Length in bits of the select mask, where xx is a 2 character ASCII Hex value
Type | HEX |
---|---|
Value | xx |
Range | 2 Hex digits |
Order In Interpretation | 11 |
Default Value | 00 |
-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
Type | HEX |
---|---|
Value | xxxx |
Range | 4 Hex digits |
Order In Interpretation | 10 |
Default Value | 0000 |
-st
Select target
Type | Enum |
---|---|
Value | s0,s1,s2,s3,sl |
Range | s0/s1/s2/s3/sl |
Order In Interpretation | 16 |
Default Value | s2 |
-wm
Set the Write Mode to either single or block. Block mode is not supported by all transponders
Type | Enum |
---|---|
Value | s/b |
Range | s/b |
Order In Interpretation | 26 |
Default Value | s |
-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
Type | Enum |
---|---|
Value | a/1/2 |
Range | a/1/2 |
Order In Interpretation | 27 |
Default Value | a |
-x
Reset the parameters to defaults
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 1 |
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
Command | Response | Action |
.wr -p -n | CS: .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 -dl01 | CS: .wr -da1234 -dl01
EP: 310833B2DDD906C000001234 WW: 1 EP: 310833B2DDD906C000001235 WW: 0 EP: 310833B2DDD906C000001236 WW: 1 OK: | Write 0x1234 to a transponders |