Scanner Interface

(1)SET WINDOW command: COMMAND phase (initiator target) The SET WINDOW command is used to set a window.

The CDB of this command is shown in the following illustration.

 

7

6

 

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

Byte 0

 

 

 

 

 

 

Operation code X’24’

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Logical unit number

 

 

 

(Reserved)

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Reserved)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

6(MSB)

7

 

 

 

 

 

Transfer length

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Control byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a.TRANSFER LENGTH: Bytes 6 to 8

Specifies the number of window data bytes sent in the DATA OUT phase.

A zero (0) means that no data is to be transferred; this situation is not considered an error.

If the number of bytes is not enough (less than 48) to set a window, the scanner returns the following error information:

Status:

B’00001’ (CHECK CONDITION)

Sense key:

X’5’ (ILLEGAL REQUEST)

Appendix A-50