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

Example 2, The following table shows the derivation of the tag response as reported by the BRI.

Page 96 highlights

Chapter 4 - BRI Commands This example demonstrates the use of a standard EPCC1G2 read command (code C2) to read the first word of the EPCID of the tag. The equivalent BRI read command would be "r hex(1:4,2)". READ ACCESSCMD(26,17,0)=HC2408040 H3005FB63AC1F3681EC88046A H180280 READ HEX(1:4,2) H3005FB63AC1F3681EC88046A H3005 The following table shows the derivation of the command data C2408040. The command is 26 bits long, 8 Command Code, 2 MemBank, 8 WordPtr, and 8 WordCount. The handle and CRC are omitted from the command line and automatically appended to the command by the reader. The command must be comprised of an even number of bytes. In this case, C240804 would be enough to specify all the pertinent information but the value must be padded with an extra zero (C2408040) to make it an even number of bytes. # Bits Details Command Code Membank 8 2 11000010 (Read) 01 (EPC) WordPtr EBV 00000010 WordCount 8 00000001 RM 16 handle CRC-16 16 The following table shows the derivation of the tag response as reported by the BRI. Note that the data value of 3005 is the same as the equivalent "r hex(1:4,2)" but it is shifted right by the header bit to be reported as 180280. The reader does not report the handle and CRC-16 from the response. # Bits Details Header 1 1 Data RN 16 16 00110000000101 handle CRC-16 16 Example 2 READ ACCESSCMD(26,17,0)=HC2408800 H3005FB63AC1F3681EC88046A H8180 Command: # Bits Details Command Code Membank 8 2 11000010 (Read) 01 (EPC) WordPtr EBV 00000010 WordCount 8 10000000 (too many) RM 16 handle CRC-16 16 Error response: # Bits Details Header 1 1 Error Code RN 8 16 00000011 (memory handle overrun) CRC-16 16 84 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 4 — BRI Commands
84
Basic Reader Interface Programmer Reference Manual
This example demonstrates the use of a standard EPCC1G2 read command (code
C2) to read the first word of the EPCID of the tag. The equivalent BRI read
command would be “r hex(1:4,2)”.
READ ACCESSCMD(26,17,0)=HC2408040
H3005FB63AC1F3681EC88046A H180280
READ HEX(1:4,2)
H3005FB63AC1F3681EC88046A H3005
The following table shows the derivation of the command data C2408040. The
command is 26 bits long, 8 Command Code, 2 MemBank, 8 WordPtr, and 8
WordCount. The handle and CRC are omitted from the command line and
automatically appended to the command by the reader. The command must be
comprised of an even number of bytes. In this case, C240804 would be enough to
specify all the pertinent information but the value must be padded with an extra
zero (C2408040) to make it an even number of bytes.
The following table shows the derivation of the tag response as reported by the BRI.
Note that the data value of 3005 is the same as the equivalent “r hex(1:4,2)” but it is
shifted right by the header bit to be reported as 180280. The reader does not report
the handle and CRC-16 from the response.
Example 2
READ ACCESSCMD(26,17,0)=HC2408800
H3005FB63AC1F3681EC88046A H8180
Command:
Error response:
Command Code
Membank
WordPtr
WordCount
RM
CRC-16
# Bits
8
2
EBV
8
16
16
Details
11000010 (Read)
01 (EPC)
00000010
00000001
handle
Header
Data
RN
CRC-16
# Bits
1
16
16
16
Details
1
00110000000101
handle
Command Code
Membank
WordPtr
WordCount
RM
CRC-16
# Bits
8
2
EBV
8
16
16
Details
11000010 (Read)
01 (EPC)
00000010
10000000
(too many)
handle
Header
Error Code
RN
CRC-16
# Bits
1
8
16
16
Details
1
00000011 (memory
overrun)
handle