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

Example 5, INT10

Page 71 highlights

Chapter 4 - BRI Commands If an error occurred in reading the data from the tag, the response is: RDERR OK> Example 5: READ INT(18,2),INT(20,2) This READ command with multiple [READ FIELD] parameters finds all tags and returns the data value stored at locations 18 and 19 and locations 20 and 21 on each tag found. Any [READ FIELD] parameter that fails to read returns RDERR for that parameter. When all the [READ FIELD] parameters and all tags have been processed, the BRI returns OK>. If no tags are found, the BRI returns NOTAGOK>. Here are three example responses to this READ command. This example response shows a successful read: READ INT(18,2),INT(20,2) 1234 5678 OK> This example response shows an error reading the value INT(10,2): READ INT(18,2),INT(20,2) 1234 RDERR OK> This example response shows how to add the [READ FIELD] TAGID to return the tag identifier for each tag read: READ TAGID,INT(18,2),INT(20,2) H1234567890ABCDEF 1234 5678 OK> Example 6: READ "TAG ID:",TAGID This READ command with a [LITERAL] parameter prints the string TAG ID: followed by a tag identifier and a . For example: TAG ID:H1234567890ABCDEF OK> Example 7: READ INT(0:0,4) PASSWORD=H09FB6C13 This READ command accesses the EPCglobal Gen 2 password memory bank 0. This READ may require a password. Example 8: READ INT(0:0,4) WHERE EPCID=H3003000000FF8600000F0569 This read command accesses the EPCglobal Gen 2 password memory bank 0 that has not been locked. The parameter specifies a unique EPCID to match for reading. Example 9: READ WHERE AFI=H95 Basic Reader Interface Programmer Reference Manual 59

  • 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 4 — BRI Commands
Basic Reader Interface Programmer Reference Manual
59
If an error occurred in reading the data from the tag, the response is:
RDERR<CRLF>
OK><CRLF>
Example 5:
READ INT(18,2),INT(20,2)
This READ command with multiple [READ FIELD] parameters finds all tags and
returns the data value stored at locations 18 and 19 and locations 20 and 21 on each
tag found. Any [READ FIELD] parameter that fails to read returns RDERR for that
parameter. When all the [READ FIELD] parameters and all tags have been
processed, the BRI returns OK><CRLF>. If no tags are found, the BRI returns
NOTAG<CRLF>OK><CRLF>.
Here are three example responses to this READ command.
This example response shows a successful read:
READ INT(18,2),INT(20,2)
1234 5678<CRLF>
OK><CRLF>
This example response shows an error reading the value
INT(10,2)
:
READ INT(18,2),INT(20,2)
1234 RDERR<CRLF>
OK><CRLF>
This example response shows how to add the [READ FIELD] TAGID to return the
tag identifier for each tag read:
READ TAGID,INT(18,2),INT(20,2)
H1234567890ABCDEF 1234 5678<CRLF>
OK><CRLF>
Example 6:
READ “TAG ID:”,TAGID
This READ command with a [LITERAL] parameter prints the string
TAG ID:
followed by a tag identifier and a <CRLF>. For example:
TAG ID:H1234567890ABCDEF<CRLF>
OK><CRLF>
Example 7:
READ INT(0:0,4) PASSWORD=H09FB6C13
This READ command accesses the EPCglobal Gen 2 password memory bank 0. This
READ may require a password.
Example 8:
READ INT(0:0,4) WHERE EPCID=H3003000000FF8600000F0569
This read command accesses the EPCglobal Gen 2 password memory bank 0 that
has not been locked. The <data condition> parameter specifies a unique EPCID to
match for reading.
Example 9:
READ WHERE AFI=H95