Mode Sense (6)
100 SL150 Interface Reference Manual Julyl 2017
Mode Sense (6)
The 6-byte Mode Sense command (1Ah) enables the library to report its operating
mode parameters to the initiator.
• The initiator can request one page or all pages of the mode parameters.
• The initiator can use the Mode Select command to change the values of certain
mode parameters.
• Before issuing any Mode Select commands, an initiator should issue a Mode Sense
command with the Page Control field set to 01h, and the Page Code field set to
3Fh to determine:
• Supported pages
• Changeable parameters within the pages
• Supported length of each page
TABLE 4-48 Mode Sense Command
Byte
Bit
76543210
0 Operation Code (1Ah)
1 Ignored Rsvd DBD Reserved (0)
2 Page Control Page Code
3 SubPage Code
4 Allocation Length
5 Control Byte
Mode Sense (6) Command Definitions:
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.