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

Errors, cleanly. All commands except ATTRIBUTE, READ POLL, WRITEGPO, READGPI

Page 68 highlights

Chapter 4 - BRI Commands • REPORT=EVENT enables Continuous mode with event messages. The collected tags are stored in the tag list, and a tag event message is immediately reported for each detected tag that is not already on the tag list. The event message is delayed if the RPTTIMEOUT attribute is set to a non-zero value; for help, see "RPTTIMEOUT" on page 95. The Tag event message is sent only once: when the tag is first added to the tag list. If a tag exits the field and is later identified again, no Tag event message is sent because the tag is already on the tag list. You can send the READ POLL command to clear the tag list. After you clear the tag list, if a tag is identified again, the tag is added to the tag list (because the list was empty) and the Tag event message is sent. If the tag list becomes full, the oldest tag is removed from the tag list. • REPORT=NO enables Continuous mode with no event messages. The collected tags are stored in the tag list, but no event messages are reported. If the tag list becomes full, the oldest tag is removed from the list. You can send the READ POLL command to return the contents of the tag list. • REPORT=EVENTALL enables Continuous mode with event messages. The collected tags are store in the tag list, and a tag event message is immediately reported for each detected tag that is not already on the tag list. In this mode, tags will continuously be reported as they are read.The event message is delayed if the RPTTIMEOUT attribute is set to a non-zero value; for help, see "RPTTIMEOUT" on page 95. If the reader is in Continuous mode and a new command with REPORT=EVENT or REPORT=NO is received, the reader ends the collection process based on the previous command and restarts the collection process based on the new command. [POLL] = You issue the READ POLL command with no other parameters. If the reader is in Continuous mode, the READ POLL command reports the contents of the tag list and removes each reported tag from the tag list. If the reader is in Singleshot mode, the READ POLL command returns OK>. [STOP] = You issue the READ STOP command with no other parameters. If the reader is in Continuous mode, the READ STOP command clears the tag list, does not report the contents of the tag list, and enables Singleshot mode. If the reader is in Singleshot mode, no tags are reported, and the reader remains in Singleshot mode. Note: The READ STOP command forces the reader to exit Continuous mode cleanly. All commands (except ATTRIBUTE, READ POLL, WRITEGPO, READGPI, TRIGGER, TRIGGERREADY, and PING) force the reader to exit Continuous mode. Errors: These error codes are reported by the READ command. Error 1: ERR OK> This error indicates that a general BRI error has occurred. Error 2: RDERR OK> 56 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
56
Basic Reader Interface Programmer Reference Manual
REPORT=EVENT enables Continuous mode with event messages. The collected
tags are stored in the tag list, and a tag event message is immediately reported for
each detected tag that is not already on the tag list. The event message is delayed
if the RPTTIMEOUT attribute is set to a non-zero value; for help, see
“RPTTIMEOUT” on page 95
. The Tag event message is sent only once: when
the tag is first added to the tag list. If a tag exits the field and is later identified
again, no Tag event message is sent because the tag is already on the tag list. You
can send the READ POLL command to clear the tag list. After you clear the tag
list, if a tag is identified again, the tag is added to the tag list (because the list was
empty) and the Tag event message is sent. If the tag list becomes full, the oldest
tag is removed from the tag list.
REPORT=NO enables Continuous mode with no event messages. The collected
tags are stored in the tag list, but no event messages are reported. If the tag list
becomes full, the oldest tag is removed from the list. You can send the READ
POLL command to return the contents of the tag list.
REPORT=EVENTALL enables Continuous mode with event messages. The
collected tags are store in the tag list, and a tag event message is immediately
reported for each detected tag that is not already on the tag list. In this mode,
tags will continuously be reported as they are read.The event message is delayed
if the RPTTIMEOUT attribute is set to a non-zero value; for help, see
“RPTTIMEOUT” on page 95
.
If the reader is in Continuous mode and a new command with REPORT=EVENT or
REPORT=NO is received, the reader ends the collection process based on the
previous command and restarts the collection process based on the new command.
[POLL] = You issue the READ POLL command with no other parameters. If the
reader is in Continuous mode, the READ POLL command reports the contents of
the tag list and removes each reported tag from the tag list. If the reader is in
Singleshot mode, the READ POLL command returns OK>.
[STOP] = You issue the READ STOP command with no other parameters. If the
reader is in Continuous mode, the READ STOP command clears the tag list, does
not report the contents of the tag list, and enables Singleshot mode. If the reader is
in Singleshot mode, no tags are reported, and the reader remains in Singleshot
mode.
Errors:
These error codes are reported by the READ command.
Error 1:
ERR<CRLF>
OK><CRLF>
This error indicates that a general BRI error has occurred.
Error 2:
RDERR<CRLF>
OK><CRLF>
Note:
The READ STOP command forces the reader to exit Continuous mode
cleanly. All commands (except ATTRIBUTE, READ POLL, WRITEGPO, READGPI,
TRIGGER, TRIGGERREADY, and PING) force the reader to exit Continuous mode.