Intermec IV7 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 46

Multi-Protocol Condition Usage, QUERYSEL

Page 46 highlights

Chapter 3 - Understanding BRI Programming Elements You can use the QUERYSEL and QUERYTARGET attributes with the WHERE SELECT syntax to select a sub-population of tags. For more information, see "QUERYSEL" on page 94 and "QUERYTARGET" on page 94. This example selects all tags that match 0x1001E (the 19 MSB bits) at memory bank 1, bit location 0x28 (decimal 40) for 19 bits: ATTRIB QUERYSEL=3 READ WHERE SELECT(4,0,0,1:0x28,19)=b0001000000000001111 This example selects tags with EPC IDs that are 12 bytes long and begin with 0x12 (8 bits): ATTRIB QUERYSEL=3 READ WHERE SELECT(4,0,0,1:0x10,5)=b00110, SELECT(4,1,0,1:0x20,16)=b00010010 Multi-Protocol Condition Usage READ and WRITE commands can be applied to multiple tag types. The BRI attribute TAGTYPE specify global values that apply to READ and WRITE operation by default. These global values can be overridden locally by specifying TAGTYPE. In the following example, the TAGTYPE stipulates that only ISO180006B tags will be read: READ TAGID TAGTYPE=ISO6BG1 However, in the following example, the TAGTYPE stipulates that both ISO180006B and EPCC1G2 tags will be read: READ TAGID TAGTYPE=ISO6BG1, EPCC1G2 Note: The order of the tag types specified also determine the order in which the tags are identified. 34 Basic Reader Interface Programmer Reference Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

Chapter 3 — Understanding BRI Programming Elements
34
Basic Reader Interface Programmer Reference Manual
You can use the QUERYSEL and QUERYTARGET attributes with the WHERE
SELECT syntax to select a sub-population of tags. For more information, see
“QUERYSEL” on page 94
and
“QUERYTARGET” on page 94
.
This example selects all tags that match 0x1001E (the 19 MSB bits) at memory
bank 1, bit location 0x28 (decimal 40) for 19 bits:
ATTRIB QUERYSEL=3
READ WHERE SELECT(4,0,0,1:0x28,19)=b0001000000000001111
This example selects tags with EPC IDs that are 12 bytes long and begin with
0x12 (8 bits):
ATTRIB QUERYSEL=3
READ WHERE SELECT(4,0,0,1:0x10,5)=b00110,
SELECT(4,1,0,1:0x20,16)=b00010010
Multi-Protocol Condition Usage
READ and WRITE commands can be applied to multiple tag types. The BRI
attribute TAGTYPE specify global values that apply to READ and WRITE operation
by default. These global values can be overridden locally by specifying TAGTYPE.
In the following example, the TAGTYPE stipulates that only ISO180006B tags will
be read:
READ TAGID TAGTYPE=ISO6BG1
However, in the following example, the TAGTYPE stipulates that both ISO180006B
and EPCC1G2 tags will be read:
READ TAGID TAGTYPE=ISO6BG1, EPCC1G2
Note:
The order of the tag types specified also determine the order in which the tags
are identified.