Mode Sense (10)
132 SL150 Interface Reference Manual Julyl 2017
Mode Sense (10)
The 10-byte Mode Sense command (5Ah) enables the library to report its operating
mode parameters to the initiator.
TABLE 4-66 Mode Sense (10) Command
Byte
Bit
76543210
0 Operation Code (5Ah)
1 Ignored LLBA (0) DBD Reserved
(0)
2 Page Control Page Code
3 SubPage Code
4
to
6
(MSB)
Reserved
(LSB)
7
to
8
(MSB)
Allocation Length
(LSB)
9 Control Byte
Mode Sense (10) Command Definitions:
LLBA The library returns a value of 0, indicating the LONGBLA bit shall be zero in
the parameter data returned by the library.
DBD Disable Block Descriptors is ignored.
Page Control Defines the type of parameters to be returned for the Mode Sense command,
values include:
0h (00b) = Current Values:
The library returns the current parameter values, including:
Parameters set in the last successful Mode Select command.
Default values if saved values are unavailable or invalid.
Saved values if a MODE command has not been executed since the last power-
on, interface reset, or Task Management Reset.
1h (01b) = Changeable Values:
The library returns the changeable parameter masks.
All requested pages are returned
Pages indicate which parameters are changeable by the initiator
All bits of changeable parameters are set to 1
All bits of parameters that are not changeable are set to 0