Intermec IV7 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 46
Multi-Protocol Condition Usage, QUERYSEL
View all Intermec IV7 manuals
Add to My Manuals
Save this manual to your list of manuals |
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