Download - Plasmon

Transcript
10.17 REQUEST VOLUME ELEMENT ADDRESS Command (B5h)
The Request Volume Element Address command is used to transfer the results of a
Send Volume Tag command. Multiple Request Volume Element Address commands
may be used to recover the results of a single Send Volume Tag command.
Bit
Byte
0
1
2-3
7
6
5
(MSB)
4-5
(MSB)
Number of Elements
(MSB)
Reserved (00h)
Allocation Length
Reserved (0)
4
3
2
1
0
Operation Code (B5h)
VolTag
Element Type Code
Element Address
(LSB)
(LSB)
6
7-9
(LSB)
10 - 11
Reserved (00h)
For each Send Volume Tag command, the medium changer device will report, in element
address order, multiple elements that match a volume tag template. Once information for
a given element address has been reported, only higher element addresses will be
reported by subsequent Request Volume Element Address commands.
VolTag equals 1 if the medium changer device is to report bar code information in the
form of volume tags, or 0 if the bar code information in the form of volume tags is not to
be reported.
Element Type Code specifies an element type to be returned as follows.
Code
0
1
2
3
4
Element Types Returned
All element types
Medium transport elements
Storage elements
Import/export elements
Data transfer elements
Element Address specifies the minimum element address to report. Only elements with
an element type permitted by the Element Type Code and the Element Address are
reported.
Number of Elements specifies the maximum number of element descriptor tags to be
reported by the medium changer device for this command. The value specified by this
field is not the range of element addresses to be considered for reporting but rather the
number of elements to report that match the last Send Volume Tag translate template.
Allocation Length specifies the length of the Element Status Data.
The structure of the Element Status Data returned is identical to that of the Read Element
Status command. See the Read Element Status command (Section 10.14) for the format
of the data returned by this command.
97706346 Plasmon Gx Libraries SCSI Reference Manual
65