![HP Q153090901 Скачать руководство пользователя страница 50](http://html.mh-extra.com/html/hp/q153090901/q153090901_technical-reference-manual_165572050.webp)
Commands
50
LOAD/UNLOAD
1Bh
The
LOAD
/
UNLOAD
command allows the host to specify that a tape cartridge present in the drive
is either made ready for data transfer (“loaded”) or disabled for data transfer (if Prevent Media
Removal is set). It can also cause the cartridge to be ejected from the drive (“unloaded”).
Pre-execution checks:
If an
unload
is to be performed, the drive checks if the tape is currently being loaded. If it is,
CHECK CONDITION
is reported with a sense key of
NOT READY
and additional sense of 0401h
(becoming ready).
If a
load
is to be performed, the drive checks to ensure that a tape cartridge is present. If not, it
reports
CHECK CONDITION
with a sense key of
NOT READY
and additional sense of 3A00h
(medium not present). If the media is currently being unloaded or ejected, it reports
CHECK
CONDITION
with sense key of
NOT READY
and additional sense of 0400h (cause not reportable).
Command descriptor block:
CDB fields:
Illegal Field
Reservation
Deferred Error
Unit Attention
Diagnostic Status
Media Information
7
6
5
4
3
2
1
0
0
Operation Code (1Bh)
1
Reserved (0)
Immed
2
Reserved (0)
3
Reserved (0)
4
Reserved (0)
Hold
EOT (0)
ReTen
Load
5
Control
Immed
0 The drive reports status after the command has completed.
1 The drive reports status when it starts the command (after any pre-execution checks and
prerequisite unloads have completed).
Hold
0 A normal load/unload will be performed.
1 A load will cause the cartridge to be pulled in and seated in the drive, but the tape will not
be threaded.
An unload will cause the tape to be unthreaded, but the cartridge will not be ejected.
In Hold position, the Cartridge Memory is accessible.
ReTen
This field is ignored.
Load
0 The drive performs an
unload
operation.
1 The drive performs a
load
operation.
Содержание Q153090901
Страница 28: ...Messages 28 ...
Страница 36: ...Commands introduction 36 ...
Страница 196: ...Index 196 ...