beautypg.com

15 receive diagnostic results command, 16 request sense command – FUJITSU MCJ3230AP User Manual

Page 138

background image

Host Interface

4-66

C156-E205-01EN

4.6.15 RECEIVE DIAGNOSTIC RESULTS command

Table 4.98 RECEIVE DIAGNOSTIC RESULTS command

Bit

Byte

7

6

5

4

3

2

1

0

0

Operation Code (1Ch)

1

Reserved

2

Reserved

3-4

Allocation Length

5-11

Reserved

The RECEIVE DIAGNOSTIC RESULTS command transfers the diagnostic
results indicated by the SEND DIAGNOSTIC command to the host. The
RECEIVE DIAGNOSTC RESULT command must be issued following the
SEND DIAGNOSTIC command. If not issued continuously or if there is no data
to be transferred, the command transfers no data and ends normally.

4.6.16 REQUEST SENSE command

Table 4.99 REQUEST SENSE command

Bit

Byte

7

6

5

4

3

2

1

0

0

Operation Code (03h)

1

Reserved

2-3

Reserved

4

Allocation Length

5-11

Reserved

The REQUEST SENSE command transfers sense data to the host. Sense data
indicates detailed error information on the command whose error was reported
previously. If no error command was reported, SENSE KEY indicates NO
SENSE.

When issuing the REQUEST SENSE command to detect the device status, first
issue the TEST UNIT READY command, then issue REQUEST SENSE.

Allocation Length indicates the length of sense data to be transferred in bytes. If
Allocation Length is 0, the command transfers no data and ends normally.