Scanner Interface
(1)SEND command: COMMAND phase (initiator → target)
The SEND command is used by an initiator to send data to a target. The CDB of this command is shown in the following illustration.
| 7 | 6 |
|
| 5 | 4 | 3 | 2 | 1 | 0 |
|
| |||||||
Byte 0 |
|
|
|
|
|
|
|
|
| Operation code X’2A’ |
|
|
|
|
|
|
| ||
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| Logical unit number |
|
|
| (Reserved) |
|
| RelAdr |
| ||||||||
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| Transfer data type |
|
|
|
|
|
|
| |||
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
| (Reserved) |
|
|
|
|
|
|
| |||
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| (MSB) |
| Transfer identification |
|
|
|
|
|
|
| |||||||||
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| (LSB) |
6(MSB)
7 |
|
| Transfer length |
| |
|
|
| |||
8 |
|
| (LSB) | ||
9 |
|
|
|
|
|
|
| Control byte |
| ||
|
|
|
|
|
|
a.Transfer data type: Byte 2
Specifies the type of data to be transferred between the initiator and target. This scanner supports X’02’ (dither pattern) and X’03’ (γ pattern). If any other value is specified, this scanner returns the following error information:
∙ Status: | B’00001’ (CHECK CONDITION) |
∙ Sense key: X’5’ (ILLEGAL REQUEST)
b.Transfer identification: Byte 4 to 5
Identifies each data. On this scanner, this field is used to differentiate with a value from 0 to 4 downloadable dither patterns. If a value 5 or larger is specified, this scanner returns the following error information:
∙ Status: | B’00001’ (CHECK CONDITION) |
∙ Sense key: X’5’ (ILLEGAL REQUEST)
c.Transfer length (TL) : Bytes 6 to 8
Specifies the bytes of data to be transferred by the initiator.
If TL = 0, no data is transferred. This is not regarded as an error.
If TL ≠ 74 (except for a dither pattern of 8 x 8), this scanner returns the following error information:
∙ Status: | B’00001’ (CHECK CONDITION) |
∙ Sense key: X’5’ (ILLEGAL REQUEST)
Appendix