User's Guide

90 SCSI Commands
Test Unit Ready (00h)
What the Library Does With This Command
The library returns status based on its current mode and state. These are defined in the following table.
It will also return any pending Unit Attentions regardless of the current mode and state, to convey changes
within the subsystem, such as I/E station accesses, door openings, etc. The various types of Unit Attention
conditions are listed in the Request Sense command section in Table 78
on page 79.
Command Usage
The TEST UNIT READY command allows the initiator to verify that the library is ready to accept commands
or perform motion tasks. It is a suitable command for general polling to monitor the library, and receive
information via Unit Attentions on any changes within the library.
Test Unit Ready CDB Format
The TEST UNIT READY CDB format is shown in the following table.
Table 87 Test Unit Ready statuses
Mode State Status
Online Ready Good
Online Not Ready Check Condition
Offline Ready Check Condition
Offline Not Ready Check Condition
Table 88 TEST UNIT READY CDB format
Bit
Byte
76543210
0 Op Code (00h)
1 Logical Unit Number Reserved
2 Reserved
3 Reserved
4 Reserved
5 Control