beautypg.com

Log sense command (4dh) (continued) – Quantum Instruments DLT 7000 User Manual

Page 148

background image

SCSI Commands

5-44

Quantum DLT 7000 Tape System

LOG SENSE Command (4Dh) (continued)

5.8.3 Read (Page 03h) / Write (Page 02h) Error LOG SENSE Page

Each Log page begins with a 4-byte header followed by a number of log
parameter blocks. Each block consists of 8 bytes except for parameter code 05h.
The log parameter block for the parameter total bytes processed (05h) is 12
bytes, since the parameter value is 8 bytes long.

Bit

Byte

7

6

5

4

3

2

1

0

0

Reserved

Page Code

1

Reserved

2 - 3

(MSB)

Page Length

(LSB)

Figure 5–18 Read / Write Error LOG SENSE Header Format

Table 5–20 Read / Write Error LOG SENSE Header Field Descriptions

Field Name

Description

Page Code

The Page Code echoes the page code that was specified in the LOG SENSE
command descriptor block.

Page Length

The Page Length field specifies the total number of bytes contained in this
log page, not including the four bytes that make up the header.

For example, if the PPC bit is 0 and the parameter pointer is 0, the target
returns 4 bytes of page header with page length of 44h followed by 8 bytes
of parameter value data for each parameter code except code 05h (for code
05h, it returns 12 bytes). Therefore, for parameter codes 00h, 01h, 02h,
03h, 04h, 06h, and 8000h, each page will be 8 bytes.