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

ERASE, FACDFLT, Purpose, Syntax, Parameters, Errors, Examples

Page 57 highlights

Chapter 4 - BRI Commands ERASE Purpose: Syntax: Parameters: Errors: This command allows you to perform a block erase of EPC Gen 2 tags. The ERASE command must operate on even data lengths. ERASE [flex_query_selector][DATA FIELD][TAGTYPE=] [WHERE] [PASSWORD=] [flex_query_selector] = This parameter modifies the command for certain types of EPCC1G2 tags. For details, see "FLEXQUERY" on page 47. [DATA FIELD] = This parameter can be any data type defined in "Data Field Definitions" on page 22. For more details, see "Understanding [READ FIELD] and [WRITE FIELD] Parameters" on page 85. [TAGTYPE] = This parameter represents the type of tag that is written. [WHERE] = This parameter can be any expression defined in "Data Conditions" on page 28. [PASSWORD] = This specific keyword is used to specify a password to access the data fields that are locked. The following errors are reported by the ERASE command. Error 1: ERASEERR OK> This error indicates that hat the tag has failed to erase the data in the tag. Error 2: PVERR OK> This error indicates that the data at the specified address has been previously locked. Error 3: Examples: PWERR OK> This error only applies to EPC Global Class 1 Gen 2 tags and can be returned to any command that writes to a tag. ERASE STRING(18,5) This ERASE command erases all data at address 18 on any tags currently in the reader field. An example of the response for a single tag is written is shown below: ERASEOK OK> FACDFLT Purpose: The factory defaults are the set of attribute, macro, and trigger values defined by the manufacturer. The FACDFLT command resets all attributes, macros, and triggers to the original configuration. For a list of default values, see "Default Factory Configuration" on page 3. Basic Reader Interface Programmer Reference Manual 45

  • 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
45
ERASE
Purpose:
This command allows you to perform a block erase of EPC Gen 2 tags. The ERASE
command must operate on even data lengths.
Syntax:
ERASE [flex_query_selector][DATA FIELD][TAGTYPE=<tagtype_list>]
[WHERE<data_condition>] [PASSWORD=<“access_password”>]
Parameters:
[flex_query_selector] = This parameter modifies the command for certain types of
EPCC1G2 tags. For details, see
“FLEXQUERY” on page 47
.
[DATA FIELD] = This parameter can be any data type defined in
“Data Field
Definitions” on page 22
. For more details, see
“Understanding [READ FIELD]
and [WRITE FIELD] Parameters” on page 85
.
[TAGTYPE] = This parameter represents the type of tag that is written.
[WHERE] = This parameter can be any expression defined in
“Data Conditions”
on page 28
.
[PASSWORD] = This specific keyword is used to specify a password to access the
data fields that are locked.
Errors:
The following errors are reported by the ERASE command.
Error 1:
ERASEERR<CRLF>
OK><CRLF>
This error indicates that hat the tag has failed to erase the data in the tag.
Error 2:
PVERR<CRLF>
OK><CRLF>
This error indicates that the data at the specified address has been previously locked.
Error 3:
PWERR<CRLF>
OK><CRLF>
This error only applies to EPC Global Class 1 Gen 2 tags and can be returned to any
command that writes to a tag.
Examples:
ERASE STRING(18,5)
This ERASE command erases all data at address 18 on any tags currently in the
reader field. An example of the response for a single tag is written is shown below:
ERASEOK<CRLF>
OK><CRLF>
FACDFLT
Purpose:
The factory defaults are the set of attribute, macro, and trigger values defined by the
manufacturer. The FACDFLT command resets all attributes, macros, and triggers to
the original configuration. For a list of default values, see
“Default Factory
Configuration” on page 3
.