Fujitsu M3097DG Scanner User Manual


 
Scanner Interface
Appendix A-70
(1) SET SUBWINDOW command: COMMAND phase (initiator target)
The SET SUBWINDOW command is used to set subwindows. If this command is issued more than
once, only the one issued directly before the READ command becomes effective.
The SET SUBWINDOW command only works if the IPC-2D or IPC-3D option is equipped. If this
command is received by a scanner without the IPC-2D or IPC-3D option, this scanner returns the
following error information:
Status: B’00001’ (CHECK CONDITION)
Sense key: X’5’ (ILLEGAL REQUEST)
The CDB of this command is shown in the following illustration.
a. Transfer length: Bytes 6 to 8
Specifies the number of subwindow data bytes sent in the Data Out phase. A 0 means no data
is to be transferred; it is not considered an error.
If the number of bytes is not enough to set a single subwindow, an error occurs.
(2) Subwindow data: DATA OUT phase (initiator target)
Subwindow data specifies details of a subwindow.
Subwindow data contains one header and one or more subwindow descriptor blocks. Each
subwindow descriptor block specifies the attributes of a subwindow (such as size, position, scan
mode).
7
8
6
5
Byte 0
1
(MSB)
Transfer length
(LSB)
2
9
Operation code X’C0’
Logical unit number
(Reserved)
(Reserved)
Control byte
7
6
5
4
3
2
1
0