34
10 Read Element Status—B8h
Command Description
The
READ ELEMENT STATUS
command requests that the library return the status of the
elements in the library. An element’s status includes its element address, element type,
whether it contains media, and whether it is in an abnormal state. If the library has a
bar code reader and the VolTag command option is set, media bar code information is
also returned. If an element is in an abnormal state, indicated by the Except bit in
returned data, the library also supplies sense information to indicate the nature of the
abnormal state.
This command asks the library to return the data stored in response to the
INITIALIZE
ELEMENT STATUS
command. The table below shows the CDB for the
READ ELEMENT STATUS
command. Values and meanings of field names in bold are further described in Table
10-2.
Table 10-1: Read Element Status Command—B8h
Byte
Bit
0
1
2
3
4
5
6
7
00
Operation code—B8h
01
Logical Unit Number—0h
VolTag
Element Type Code
02
(MSB)
Starting Element Address
03
(LSB)
04
(MSB)
Number of Elements
05
(LSB)
06
Reserved
DVCID
07
(MSB)
Allocation Length
08
09
(LSB)
10
Reserved
11
0
0
Reserved
0
0