M2488 PRODUCT GUIDE TAPE UNIT SCSI COMMANDS
April 1997 CG00000-011503 REV. A 4-121
Description of the Page Code 80h
This page allows user selection of Online Diagnostic Routines and control over the number of
times each routine is to be executed.
Selection of a diagnostic routine is accomplished by assigning a routine’s corresponding Execute
Count byte a non-zero value. Routines 50 to 57 are diagnostic specific to the Tape Drive logical
unit, and routines C0 and C2 are specific to the Medium Changer logical unit. Therefore, if the
Tape Drive logical unit is selected, only the Execute Count bytes corresponding to the Selftest rou-
tine (Routine 01) and routines 50 to 57 may have non-zero values. Bytes 1, 10-11, and 13-19 must
be zero; otherwise a CHECK CONDITION is returned with Sense Key set to ILLEGAL
REQUEST and Additional Sense Key set to INVALID FIELD IN PARAMETER LIST. Con-
versely, if the Medium Changer logical unit has bee n selected, only the Execute Count bytes corre-
sponding to routine C0 and/or C2 may have non-zero values. Bytes 1, 4-12, and 15-19 must be
zero; otherwise a CHECK CONDITION is returned with Sense Key set to ILLEGAL REQUEST
and Additional Sense Key set to INVALID FIELD IN PARAMETER LIST.
Selection of routines 50 and 51 do not require either DevOfl or UnitOfl to be set. Selection of rou-
tines 52 to 57, or C0 to C2 require both DevOfl and Unit Ofl to be set. If a parameter list is received
by the controller which indicates selection of any of the routines 52 to 57, or C0 and/or C2, and
both UnitOfl and DevOfl are not set, a CHECK CONDITION is returned with Sense Key set to
ILLEGAL REQUEST and Additional Sense Key is set to INVALID FI ELD IN PARAMETER
LIST.
If any error condition is encountered during execution of a routine, diagnostic result data is gener-
ated at that time and no further routine execution occurs.
Table 4-112. Page 80h - Online Diagnostic Test Page
BITS
BYTES 7 6 5 4 3 2 1 0
0Page code (80h)
1Reserved (All bits are set to zero)
2-3 Page Length (0010h)
4Execute Count (Pass Count) of Online Routine 01h (Self Test)
5Execute Count (Pass Count) of Online Routine 50h
6Execute Count (Pass Count) of Online Routine 51h
7Execute Count (Pass Count) of Online Routine 52h
8Execute Count (Pass Count) of Online Routine 53h
9Execute Count (Pass Count) of Online Routine 54h
10-11 Reserved (All bits are set to zero)
12 Execute Count (Pass Count) of Online Routine 57h
13 Execute Count (Pass Count) of Online Routine C0h
14 Execute Count (Pass Count) of Online Routine C2h
15-19 Reserved (All bits are set to zero)