Intermec IP2L Basic Reader Interface Programmer's Reference Manual (BRI versio - Page 41

Using Native Tag Selector Logic in Data Conditions

Page 41 highlights

Chapter 3 - Understanding BRI Programming Elements There are two limitations: • The comparison must be made between data that is stored in a tag and a constant value. You cannot make a comparison between two memory locations contained on a tag. The BRI returns ERR if you compare two memory locations on a tag. • The type of tags you read and write to controls the operators you can use in data conditions: • ISO 18000-6B tags support all operators • EPCglobal Class 1 Gen 2 tags support only the = and != operators. You can use these formats for data conditions: • Native tag selector logic or NOT logic lets you use all data condition operators For help, see the next section, "Using Native Tag Selector Logic in Data Conditions." • AND/OR logic lets you use only the = and != data condition operators. For help, see "Using AND/OR Logic in Data Conditions" on page 30. • EPCC1G2 select logic gives the application direct control of the EPCC1G2 select commands. Using Native Tag Selector Logic in Data Conditions WHERE [ ], [NOT ] where: is one of the data types described in "Data Field Definitions" on page 22. is one of the operators described in the following table, "Operators for Native Tag Selector Logic Data Conditions." is one of the constants described in "Constants" on page 22. Operators for Native Tag Selector Logic Data Conditions Operator = ! = > < Description The value at the specified tag memory address is equal to the comparison value. The value at the specified tag memory address is not equal to the comparison value. The value at the specified tag memory address is greater than the comparison value. This operator is not supported for EPCglobal Class 1 Gen 2 tags. The value at the specified tag memory address is less than the comparison value. This operator is not supported for EPCglobal Class 1 Gen 2 tags. Multiple data conditions must be separated by a comma or a space. A simple example of a data condition is: INT(0,1)=1 Basic Reader Interface Programmer Reference Manual 29

  • 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
Basic Reader Interface Programmer Reference Manual
29
There are two limitations:
The comparison must be made between data that is stored in a tag and a
constant value. You cannot make a comparison between two memory locations
contained on a tag. The BRI returns ERR<CRLF> if you compare two memory
locations on a tag.
The type of tags you read and write to controls the operators you can use in data
conditions:
ISO 18000-6B tags support all operators (
=
,
!=
,
>
,
<
).
EPCglobal Class 1 Gen 2 tags support only the
=
and
!=
operators.
You can use these formats for data conditions:
Native tag selector logic or NOT logic lets you use all data condition operators
(
=
,
!=
,
>
,
<
). For help, see the next section, “Using Native Tag Selector Logic in
Data Conditions.”
AND/OR logic lets you use only the
=
and
!=
data condition operators. For help,
see
“Using AND/OR Logic in Data Conditions” on page 30
.
EPCC1G2 select logic gives the application direct control of the EPCC1G2 select
commands.
Using Native Tag Selector Logic in Data Conditions
WHERE [<
Data Field
> <
Operator
> <
Constant
>], [NOT <
Data
Dield
>
<
Operator
> <
Constant
>]
where:
<
Data Field
>
is one of the data types described in
“Data Field Definitions” on
page 22
.
<
Operator
>
is one of the operators described in the following table, “Operators
for Native Tag Selector Logic Data Conditions.”
<
Constant
>
is one of the constants described in
“Constants” on page 22
.
Multiple data conditions must be separated by a comma or a space.
A simple example of a data condition is:
INT(0,1)=1
Operators for Native Tag Selector Logic Data Conditions
Operator
Description
=
The value at the specified tag memory address is equal to the comparison
value.
! =
The value at the specified tag memory address is not equal to the comparison
value.
>
The value at the specified tag memory address is greater than the comparison
value. This operator is not supported for EPCglobal Class 1 Gen 2 tags.
<
The value at the specified tag memory address is less than the comparison
value. This operator is not supported for EPCglobal Class 1 Gen 2 tags.