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

PRESET, PRINT, PROTECT, Purpose, Syntax, Command Shortcut, Parameters, Examples

Page 64 highlights

Chapter 4 - BRI Commands PRESET Purpose: This command resets network readers like the IF2 and IF61. A reset performs a total software restart of the reader module. After the PRESET command is executed, the reader behaves as if external power was disconnected and then reconnected. Syntax: Note: For some readers like the IM4 or IM5, the PRESET command is the same as the RESET command. For details, see "RESET" on page 61. And, for other readers, like the IM11 installed in a CK70, the PRESET command is not supported and returns an ERR response. PRESET PRINT Purpose: This command lets you view the contents of a macro. Command Shortcut: Syntax: Parameters: PR PRINT $ = This parameter specifies the name of the macro. Examples: Example 1: This command causes the reader to return all attributes and command line parameter settings stored under the macro name MYREADMACRO: PRINT $MYREADMACRO The data is returned in a format that can be used in a subsequent BRI command. Example 2: The PRINT command can also be used to display any arbitrary strings. PRINT MY STRING MY STRING OK> PRINT MY MACRO IS: $MYREADMACRO MY MACRO IS: READ WHERE TAGID=HE2001050 OK> PROTECT Purpose: Syntax: Parameters: This command lets you turn memory access locks ON or OFF in EPCglobal Gen 2 tags. Use the ON keyword to lock and the OFF keyword to unlock. PROTECT [flex_query_selector][PERMANENT][TAGTYPE=] [WHERE][PASSWORD=] [flex_query_selector] = This parameter modifies the command for certain types of EPCC1G2 tags. For details, see "FLEXQUERY" on page 47. 52 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
52
Basic Reader Interface Programmer Reference Manual
PRESET
Purpose:
This command resets network readers like the IF2 and IF61. A reset performs a total
software restart of the reader module. After the PRESET command is executed, the
reader behaves as if external power was disconnected and then reconnected.
Syntax:
PRESET<CRLF>
PRINT
Purpose:
This command lets you view the contents of a macro.
Command Shortcut:
PR
Syntax:
PRINT $<NAME>
Parameters:
<NAME> = This parameter specifies the name of the macro.
Examples:
Example 1:
This command causes the reader to return all attributes and command line
parameter settings stored under the macro name MYREADMACRO:
PRINT $MYREADMACRO<CRLF>
The data is returned in a format that can be used in a subsequent BRI command.
Example 2:
The PRINT command can also be used to display any arbitrary strings.
PRINT MY STRING <CRLF>
MY STRING<CRLF>
OK><CRLF>
PRINT MY MACRO IS: $MYREADMACRO<CRLF>
MY MACRO IS: READ WHERE TAGID=HE2001050<CRLF>
OK><CRLF>
PROTECT
Purpose:
This command lets you turn memory access locks ON or OFF in EPCglobal Gen 2
tags.
Use the ON keyword to lock and the OFF keyword to unlock.
Syntax:
PROTECT [flex_query_selector]<ON|OFF>[PERMANENT]<READ
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
.
Note:
For some readers like the IM4 or IM5, the PRESET command is the same as
the RESET command. For details, see
“RESET” on page 61
. And, for other readers,
like the IM11 installed in a CK70, the PRESET command is not supported and
returns an ERR response.