Mode Sense Command
August 2016 Commands 111
Mode Sense Command
The Mode Sense (6) and Mode Sense (10) commands return the current operating
modes and parameters of a device to the host. The Mode Sense commands also return
the default parameters or information on which fields and bits can be changed using
the Mode Select command. The device returns a header, block descriptor, and one or
all supported pages following the block descriptor.
Note – The tape drives support both 6- and 10-byte commands.
The Mode Sense (10) command allows for a longer Allocation
length, but otherwise operates identically to the Mode Sense (6)
command.
TABLE 3-66 Mode Sense—6 Byte Command
Byte
Bit
76543210
0 Operation Code (1Ah)
1 Reserved DBD Reserved
2 PC Page Code
3 Subpage Code
4 Allocation Length
5 Control Byte
TABLE 3-67 Mode Sense—10 Byte Command
Byte
Bit
76543210
0 Operation Code (5Ah)
1 Reserved LLBAA DBD Reserved
2 PC Page Code
3 Subpage Code
4
thru
6
(MSB)
Reserved
(LSB)
7
thru
8
(MSB)
Allocation Length
(LSB)
9 Control Byte