M2488 PRODUCT GUIDE MTU DIAGNOSTIC SPECIFICATIONS
April 1997 CG00000-011503 REV. A H-3
H-4 MTU DIAG PARAMETER
H-4.1 DIAG activation parameter
The total data requirement for the MTU DIAG activation is 480 bytes.
H-4.2 Explanation
The parameter for the DIAG activation is composed of 16 groups. Each group requires 30 bytes.
After the DIAG test of group 1 has been completed, the test of group 2 is executed and so on. If data
0xff or 0x0C is specified for the DIAG command code, the DIAGs of subsequent groups are not exe-
cuted and all DIAGs are terminated. If an error is detected during a DIAG execution, that test is ter-
minated.
struct diag parm {
unsigned char diag command;
unsigned char diag parameter [9];
unsigned long execute time;
unsigned long stop time;
unsigned long execute count;
unsigned char reserve [8]
} diag input parm [16];
DIAG command code:
Specifies the command code of the DIAG to be executed.
DIAG parameter 1 to 9:
Selects the mode according to the DIAG to be executed.
COMBINATION test
Combination test FWD READ Forward read test CMD CD : 0x01
BWD READ BACKWARD READ test. CMD CD : 0x02
WRITE Write test. CMD CD : 0x03
D.S.E D.S.E.test CMD CD : 0x04
LOCATE Locating CMD CD : 0x05
REWIND Rewinding to wrap1-BOT CMD CD : 0x06
LOAD Load CMD CD : 0x07
UNLOAD Unload CMD CD : 0x08
EJECT Eject CMD CD : 0x80
TP PATH tape path test CMD CD : 0x0B
REPEAT Set next execution group and
repeat counter. CMD CD : 0x0A
RUNNING END TEST. CMD CD : 0x0C or 0xFF
ERROR RESET CMD CD : 0x70 or 0xF0
diag_parameter 1 ------ For the read/write DIAG, set the operation mode.
------ For the locate DIAG, specify a sector.
diag_parameter 2 ------ For the read/write DIAG, specify a test wrap.
------ For the load/unload DIAG, specify “LOADER“ or
“THREADER”.