Intermec IF2 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 34

Constants, Data Field Definitions, ANTENNA

Page 34 highlights

Chapter 3 - Understanding BRI Programming Elements Constants Keywords Reserved for Reader Error and Success Responses (continued) Keyword WRERR WROK Description Response to a write tag field command that was not successful. Response to a write tag field command that was successful. This section describes the string, hex, binary, integer, and octal constants: • String constants are specified by surrounding the string text with double quotes ( " "). String constants can include non-printable characters by using the \ notation; for example, \007. • Hex constants are specified by placing an uppercase H or lowercase h in front of the hexadecimal characters (0 to 9, A to F). Hex constants must be specified in pairs. For example, H0F. • Binary constants are specified by placing an upper case B or lowercase b in front of the binary characters (0 to 1). • Integer constants are specified using the characters 0-9. Integer values can range from 0 to 4,294,967,295. • Octal constants are specified using the characters 0 to 7. Octal values can be specified by using the \0xxx notation or the 0xxx notation. Note: Any numeric constant that contains a leading 0 (zero) will be interpreted as an octal constant. Data Field Definitions BRI commands use parameters to define the location and type of data memory stored or retrieved from the tag. These parameters are referred to as data type definitions. The BRI has reserved, predefined data type definitions associated with the tag. ANTENNA You can also use the shortcut name ANT. ANTENNA is positive integer data type associated with the tag and indicates which antenna primarily located the tag. ANTENNA is a read-only value reported during the execution of READ and WRITE commands. Additionally, this data field cannot be used in a WHERE clause. ANTENNA is a reserved keyword which, when specified in a READ or WRITE command, returns the antenna number used during the read or write. This value is returned as a decimal integer value ranging from 1 to 4. The antenna number can range from 1 to 4 depending upon the reader and the number of connected antennas. 22 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
22
Basic Reader Interface Programmer Reference Manual
Constants
This section describes the string, hex, binary, integer, and octal constants:
String constants are specified by surrounding the string text with double quotes
( “ ”). String constants can include non-printable characters by using the
\
notation; for example,
\007
.
Hex constants are specified by placing an uppercase
H
or lowercase
h
in front of
the hexadecimal characters (0 to 9, A to F). Hex constants must be specified in
pairs. For example,
H0F
.
Binary constants are specified by placing an upper case
B
or lowercase
b
in front
of the binary characters (0 to 1).
Integer constants are specified using the characters 0-9. Integer values can range
from 0 to 4,294,967,295.
Octal constants are specified using the characters 0 to 7. Octal values can be
specified by using the \0xxx notation or the 0xxx notation.
Data Field Definitions
BRI commands use parameters to define the location and type of data memory
stored or retrieved from the tag. These parameters are referred to as data type
definitions. The BRI has reserved, predefined data type definitions associated with
the tag.
ANTENNA
You can also use the shortcut name ANT.
ANTENNA is positive integer data type associated with the tag and indicates which
antenna primarily located the tag. ANTENNA is a read-only value reported during
the execution of READ and WRITE commands. Additionally, this data field cannot
be used in a WHERE clause.
ANTENNA is a reserved keyword which, when specified in a READ or WRITE
command, returns the antenna number used during the read or write. This value is
returned as a decimal integer value ranging from 1 to 4. The antenna number can
range from 1 to 4 depending upon the reader and the number of connected
antennas.
WRERR
Response to a write tag field command that was not successful.
WROK
Response to a write tag field command that was successful.
Keywords Reserved for Reader Error and Success Responses (continued)
Keyword
Description
Note:
Any numeric constant that contains a leading 0 (zero) will be interpreted as
an octal constant.