Scanner Interface
a.Allocation length: Byte 4
Specifies the storage area in bytes that the initiator allocates for sense data. If a 0 is set here, sense data is not transferred, but this is not treated as an error. The target terminates the DATA IN phase when it has transferred either the bytes of sense data specified in this field or all of effective sense data.
(2)Sense data: DATA IN phase (target → initiator)
The target creates sense data if its status is B’00001’ (CHECK CONDITION) or if a BUS FREE error has occurred. This scanner creates sense data when any of the errors described later is encountered.
The sense data on this scanner is shown in the following illustration.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
Byte 0 | Valid |
|
|
| Error code |
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
1 |
|
|
| Segment number |
|
|
|
| |
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FM | EOM | ILI | (Reserved) |
|
| Sense key |
| ||
|
|
|
|
|
|
|
|
|
|
3(MSB)
|
|
| Information bytes | ||
|
|
| (LSB) | ||
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
|
| Additional sense length |
| |
|
|
|
|
|
|
8(MSB)
|
|
|
|
|
| ||||||
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
| (LSB) | ||
B |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C |
|
|
|
| Additional sense code |
| |||||
|
|
|
|
|
| ||||||
D |
|
|
| Additional sense code qualifier |
| ||||||
|
|
|
|
|
| ||||||
E |
|
|
| Field replaceable unit code |
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
FSKSV
10 |
| |
|
| |
11 |
|
|
|
|
a.Valid: Byte 0
Indicates whether or not the INFORMATION BYTES field is as specified by ANSI. This scanner returns B’1’ (“specified by ANSI”).
Appendix