M3097G image scanners produce excellent electronic images from documents using
the high quality optical image scanning technology and output to the host system.
The M3097G can scan a single page (including a page of a book) of a double>letter
size (17 in.¥11 in.) or A3 size (420 mm¥297mm) in maximum on the standard flat>
bed. The M3097G has an Automatic Document Feeder (ADF) that can
accommodate up to 100 pages.
The M3097G outputs only binary data on the Small Computer System Interface
(SCSI).
Figure 1.1 shows outer view of this scanner.
1 $ 1
Figure 1.1 M3097G outer view
1 $ 2
1.2Features
(1)Fast reading
This scanner can read data about twice as fast as the M3096G.
For flatbed reading: 1.3 seconds (A4, 200 dpi) (M3096G: 2.3 seconds)
For ADF reading: 36 pages per minute (A4, 200 dpi) (M3096G: 18 pages per
minute)
(2)Large
>capacity document feeder
Up to 100 pages (A4, 55>kg continuous forms) can be loaded into the document
feeder. (M3096G: Up to 50 pages)
(3)High
>quality image
This scanner uses a compact optical system that provides sharper focus.
Furthermore, the use of new LSI chips produces finer images.
(4)New image processing
The standard version of this scanner has error diffusion function. Dithering or error
diffusion can be applied to those areas judged to be photographs by automatic
separation (image processing ¬ option).
(5)Compact
This scanner is small and light. (Its size is almost the same as that of the M3096G)
8Dielectric strengthAC 1 KV or more for one minute or more
AC line noise9Voltage 1.2 KV pulse duration 5 os
Height
Width
Depth
Voltage (VAC) 100 to 120, 220 to 240 VAC ±10%
Frequency50/60 Hz +2% -4%
Specification
173
696
497
SinglePhase
(between FG and AG lines)
Temperature
10
(∞C)
Relative
11Operating20 to 80 (no condensation)
humidity (%)
Vibration (G)
12
Indication (%) Operating5
13
ESD (KV)8 or more14
Acoustic
15
noise (dBA)
Operating5 to 35
Nonoperating-20 to +60
Nonoperating8 to 95 (no condensation)
Operating0.2
Nonoperating0.4
Nonoperating10
Operating53 or less(ISO DIS 9296)
Nonoperating40 or less(ISO DIS 9296)
2 $ 3
2.3Optional Circuit Feature
The following option is provided for this scanner:
fImage processing circuit ¬ (M3097E0191)
For the details, refer to Subsection 2.3.1.
fCMP II (M3097G0196)
2.3.1Image processing circuit ¬ (IPC ¬)
This option has the dynamic threshold function and image processing function.
2.3.1.1Dynamic threshold function
The main purpose of this function is to read handwritten characters.
Handwritten character recognition preprocessing invalues specifying required
values for threshold curve setting, smoothing mode, and filtering mode.
Noise removal reduces noise often found in images after dynamic threshold
processing.
Threshold curve setting, smoothing mode, filtering mode, and noise removal are all
dynamic threshold circuit (DTC) functions.
(1)Threshold curve setting
The contrast level of the dynamic threshold circuit can be changed with setting 3
bits (8 levels).
(2)Smoothing mode
The convex portion of the segment is removed and the concave portion is filled up to
smooth the segment.
(3)Filtering mode
(a) Ball>point pen mode
This mode is used when this scanner is used as the input device of OCR system.
When using writing materials caused inter>ommission, e.g. ball>point pen, the
density of the omission portion is increased according to the density of
surrounding portion to get the picture does not have inter>omission.
(b) Normal mode
This mode is used when using writing materials other than above.
(4)Noise removal
Among black>dots in the binary picture code, the black>dot for the noise is changed
to white>dot.
2 $ 4
2.3.1.2Image processing function
Table 2.3 Image processing function
No.Function nameDetails function
1Automatic separation
Line>drawing/Photo
()
automatic separation
Recognizes the photo area and Line>drawing
area in one scanning automatically, and outputs
data with applying dither processing or error
diffusion for the photo and the binarizing for the
line>drawing.
2Outline extractionExtracts the outline of the Line>drawing such as
a thick character.
3Image emphasisEmphasizes the black>white contrast to raise the
contrast.
4Overlay (*1)Overlays the pattern on the scanned data and
make the overlayed black data to white data.
5Reverse image
(White/black conversion)
Converts white into black and black into white
of read data (binary data).
6Mirror imageTurns over the both sides of read data.
7Simplified dynamic
threshold
Changes the slice level of the binarizing
according to the density of the document.
8ZoomingMagnifies or reduces the image data in the range
between 25% and 400% with 1% step.
9Subwindow4 Subwindow can be specified on Main window.
The functions above are all image processing circuit (IPC) functions.
*1 M3097G does not support overlay function.
2 $ 5
This page is intentionally left blank.
2 $ 6
CHAPTER 3CONFIGURATION
3.1Outer Dimensions
3.2Circuit Configuration
3.3Operator Panel
3.1Outer Dimensions
Figure 3.1 shows the outer dimensions of M3097G.
3 $ 1
173
Unit: mm
497
696
Figure 3.1 Outer dimensions of M3097G
3 $ 2
3.2Circuit Configuration
This scanner uses CCD image sensor scanning system. This scanner consists of
following sections;
fOptical system (including fluorescent lamp, lenses, and CCD sensor)
fVideo circuit (including amplifier and A/D converter)
fScanner driver (including stepping motor and motor driver circuit)
fControl circuit (MPU circuit)
fPower section
Figure 3.2 is the function block diagram of this scanner.
Controller
100 to 120 VAC
220 to 240 VAC
Control circuit
(MPU circuit)
CMPII
Power section
Power switch
(option)
Motor driver
circuit
Operator panel
Figure 3.2 Function block diagram
Video circuit
Image processing
circuit ¬ (option
Mechanism
section
Flatbed ADF
)
3 $ 3
3.3Operator panel
aaaaaaaaa
a
a
a
a
a
a
a
a
a
aaaaaaaaa
a
a
a
a
a
a
a
Figure 3.3 shows the operator panel and Table 3.1 shows lamp functions.
" Power
LCD
aaaaaaaaaaaaaaaaaaaaa
Mode1
aaaaaaa
aaaa
" Read
aaaaaaa
a
aaaaaaa
24 columns 2 rows
Mode2
aaaaaaa
aa
" Check
Figure 3.3 M3097G operator panel
Table 3.1 Lamp functions
Lamp nameColorFunctions
PowerGreenThis lamp lights when the power is on.
ReadGreenThis lamp lights during reading.
CheckYellowThis lamp lights when an unrecoverable error
occurs.
This lamp brinks when a paper jam occurs in ADF.
After jammed paper is removed and ADF cover is
closed, this lamp goes off.
3 $ 4
CHAPTER 4INTERFACE
4.1Physical Specifications
4.2SCSI Bus
4.3Bus Phases
4.4Commands
4.5Status
4.6Messages
4.7Command Sequence
4.8Status Transition of Logical Unit
4.9Error Table
4.10Items for Specifying Window and Subwindows
This image scanner and the host are connected via an 8>bit parallel interface. The interface
follows the ANSI (American National Standards Institute) SCSI 2 (Small Computer System
Interface 2) Revision 10c.
This chapter provides an overview of SCSI (minimum information necessary for
understanding this scanner), as well as descriptions peculiar to the scanner. For details of
SCSI, refer to the ANSI standard.
The following terms are needed to understand this section.
fSCSI device: A host adapter or a target controller that can be attached to the SCSI
bus
fInitiator: An SCSI device (usually a host system) that requests an I/O process to be
performed by another SCSI device (a target)
f Target:An SCSI device that performs an operation requested by an initiator
f Logical unit: A physical or virtual peripheral device that is addressable through a
target
Range of support
(1) System configuration
This scanner operates under the multiinitiator, multitarget environment. An
initiator function is not provided. This scanner incorporates an integrated target
and logical unit (image scanner).
4 $ 1
SCSI ID: 0 to 7, variable by EEPROM: default is 5.
Logical unit number (LUN): 000, fixed
(2) Bus phases
All phases are supported.
(3) Commands
The following commands are supported by this scanner:
f INQUIRY
f OBJECT POSITION
f MODE SELECT
fMODE SENSE
f READ
f RELEASE UNIT
f REQUEST SENSE
f RESERVE UNIT
f SEND
f SEND DIAGNOSTIC
f SET SUBWINDOW
f SET WINDOW
f TEST UNIT READY
The following statuses are supported by this scanner:
f BUSY
f CHECK CONDITION
f GOOD
f RESERVATION CONFLICT
4 $ 2
(5) Messages
The following messages are supported by this scanner:
f ABORT
f BUS DEVICE RESET
f COMMAND COMPLETE
f DISCONNECT
f IDENTIFY
f INITIATOR DETECTED ERROR
f MESSAGE PARITY ERROR
f MESSAGE REJECT
f NO OPERATION
f RESTORE POINTERS
f SAVE DATA POINTER
(6) Others
The bits and fields for which the word ™Reserved∫ is described are checked. For a
non>zero, an error is returned.
4.1Physical Specifications
The devices linked to this interface are daisy>chained with each other. A
terminator is attached to the ends of the interface. Interface specifications are
shown below.
(1) Connection
SCSI deviceSCSI deviceSCSI device
Terminator
Note:
Use shielded interface cable to avoid unintentional errors.
Terminator
4 $ 3
(2) Physical specifications
Table 4.1 SCSI physical specifications
ItemSpecification
Driver/Receiver
Connector
CableMax. cable length
Characteristic
impedance
Cable type
Stub wire
Signal
Terminator
level
Driver/receiver
Output
characteristics
Input
characteristics
Single>ended
50 Contact Shielded Low Density
6 m
132 ]
25 signal twisted pair
e 0. 1 mm (from main cable in scanner to internal
wiring)
See the figure under (3).
Open collector or three> state driver
Low level (true) = 0. 0 to 0. 5 VDC
High level (false) = 2. 5 to 5. 25 VDC
Output current = 48 mA (corresponding output
voltage e 0. 5 V)
Low level (true) = 0. 0 to 0. 8 VDC
High level (false) = 2. 0 to 5. 25 VDC
Input load = -0. 4 mA max. (at 0. 4 V input voltage)
Input hysteresis = 0. 2 VDC min.
Connector pin assignments
for signal lines
(3)Termination
See (4).
+5 V
220 ]
-signal
330 ]
4 $ 4
(4)Pin assignments
Signal namePin numberSignal name
GND126-DB (0)
GND227-DB (1)
GND328-DB (2)
GND429-DB (3)
GND530-DB (4)
GND631-DB (5)
GND732-DB (6)
GND833-DB (7)
GND934-DB (P)
GND1035GND
GND1136GND
Reserved1237Reserved
(Open)1338TERMPWR
Reserved1439Reserved
GND1540GND
GND1641-ATN
GND1742GND
GND1843-BSY
GND1944-ACK
GND2045-RST
GND2146-MSG
GND2247-SEL
GND2348-C/ D
GND2449-REQ
GND2550-I/ O
Note:
Reserved pins are connected to GND.
Figure 4.1 Pin assignment
4 $ 5
4.2SCSI Bus
4.2.1System configuration
(1)System configuration
The SCSI bus connects up to eight SCSI devices, each linked with a daisy chain. The
both ends of the daisy chain require a terminator.
Each SCSI device operates as an initiator or a target, so that a series of operations
are performed between a pair of initiator and target pair.
The system may be configured with any combination of initiators and targets as
long as the number of the initiators and targets combined does not exceed eight.
(2)Addresses of SCSI devices
Every SCSI device on the bus is assigned a unique address (SCSI ID) that
corresponds to the data bus bit number. ID#7 through ID#0 correspond to DB7
through DB0. The SCSI ID provides identification for specifying particular SCSI
device when an initiator selects a target or when a target reconnects an initiator.
SCSI ID also represents the priority for using the bus in the arbitration phase. (A
description regarding the bus phase is given later.) Priorities are given in the
descending order of data bus bit numbers (DBn), with the highest priority placed on
ID#7 (DB7) and the lowest priority on ID#0 (DB0).
(3)Peripheral equipment
With the basic specification, an initiator can designate up to eight peripheral
devices (logical units) belonging to a single target, where the peripheral devices are
used as the I/O units of the initiator. Logical units are identified and selected by
specifying their LUNs (logical unit numbers) in the IDENTIFY message or
command (CDB: command descriptor block).
This scanner is equipped with a target and a logical unit, and its LUN is 000.
4 $ 6
4.2.2Bus signals
Signal nameType of signal
Initiator
Target
DataDB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
(Data Bus n)
DBP
(Data Bus
Parity)
Control
signals
BSY
(Busy)
SEL
(Select)
RST
(Reset)
C/ D
(Control/Data)
I/ O
(Input/Output)
MSG
(Message)
Eight data>bit signals, plus a parity>bit signal
that form a DATA BUS. DB(7) is the most
significant bit and has the highest priority during
the ARBITRATION phase. Bit number,
significance, and priority decrease downward to
DB(0).
A data bit is defined as one when the signal value
is true. A data bit is defined as zero when the
signal value is false. Data parity DB(P) shall be
odd. Parity is undefined during the
ARBITRATION phase.
An ™ORtied∫ signal that indicates that the bus is
being used
An ™ORtied∫ signal used either by an initiator to
select a target or by a target to reselect an
initiator
An ™ORtied∫ signal that indicates the RESET
condition
The C/D, I/O, and MSG signals are used to
distinguish between the different information
transfer phases.
REQ
(Request)
ACK
(Acknowledge)
ATN
(Attention)
During an information transfer phase, the target
uses this signal to request the initiator to transfer
data
A signal driven by an initiator to indicate an
acknowledgement for REQ/ACK data transfer
handshake
A signal driven by an initiator to indicate the
ATTENTION condition
4 $ 7
4.2.3Bus signal drive conditions
SCSI devices drive signals of the SCSI bus. The types of SCSI devices are
summarized in the following table, showing the signals that they can drive for each
operating phase of the interface.
There are two kinds of signal driving methods, OR tied and NON>OR tied, as shown
in Table 4.2. During an interface operating sequence, the BSY signal could be
driven simultaneously by two or more SCSI units when the data bus is in the
ARBITRATION or RESELECTION phase. This situation also occurs with the RST
signal (Reset). These two signals must be ORtied. For the other signals, either of
the two methods may be used; further more, different drive methods may coexist for
a signal on the bus.
Table 4.2 Bus phases vs. signal drive sources (1/2)
!!!! Signal
Bus phase
BSYSELI/ OC/ D
MSG
REQ ACKDB7 to 0
DBP
ATN RST
BUS FREE N N N N N N N N A
ARBITRATION A W N N N N ID N A
SELECTIONI&T I N N N I I I A
RESELECTIONI&T T T T T I T I A
COMMAND T N T T T I I I A
DATA IN T N T T T I T I A
DATA OUT T N T T T I I I A
STATUS T N T T T I T I A
MESSAGE IN T N T T T I T I A
MESSAGE OUT T N T T T I I I A
4 $ 8
N:The signal shall be released, since it is not being driven by any SCSI device.
A:The signal shall be driven by all SCSI devices that are actively arbitrating.
I:If driven, this signal shall be driven only the active initiator.
T:If the signal is driven, it shall be driven only by the active target.
W:The signal shall be driven by the one SCSI device that wins arbitration.
Table 4.2 Bus phases vs. signal drive sources (2/2)
ID:A unique data bit (the SCSI ID) shall be driven by each SCSI device that is
actively arbitrating. The other seven data bits shall be released (shall not
driven) by this SCSI device. The parity bit (DB(P)) may be released or
driven to the true state, but shall never be driven to the false state during
this phase.
I&T:The initiator and target drive the signal according to the interface operating
sequence. The RESELECTION phase includes a sequence in which the
initiator and target simultaneously drive the signal.
The signal shall be driven by the initiator, target, or both, as specified in the
SELECTION phase and RESELECTION phase.
Table 4.3 Method of driving the interface signal
OR connection
False
No signal is driven by any SCSI
device. Signal status is made false by
the termination resistor circuits.
TrueA SCSI device drives the signal true.
4.3Bus Phases
The SCSI architecture includes the following eight distinct phases:
The SCSI bus can never be in more than one phase at any given time.
NON>OR connection
The signal is driven false by a certain
SCSI device (initiator or target), or is
not driven by any SCSI device.
INFORMATION TRANSFER phase
The following diagram shows how each phase transits to another.
4 $ 9
Reset
MESSAGE OUT
SELECTION
COMMAND
BUS FREE
ARBITRATION
DATA OUT
STATUS
RESELECTION
MESSAGE IN
Figure 4.2 Phase sequence
The signal delay times for each bus phase are defined as follows:
Table 4.4 Signal delay times definition (1/3)
No.ItemTimeDefinition
DATA IN or
1Arbitration
delay
2.4 osThe minimum time an SCSI device shall wait from
asserting BSY for arbitration until the DATA BUS can
be examined to see if arbitration has been won. There is
no maximum time.
2Assertion
period
3Bus Clear
delay
4 $ 10
90 nsThe minimum time that a target shall assert REQ (or
REQB) while using synchronous data transfers. Also,
the minimum time that an initiator shall assert ACK
while using synchronous data transfers.
800 nsThe maximum time for an SCSI device to stop driving all
bus signals after:
(1) The BUS FREE phase is detected (BSY and SEL both
false for a bus settle delay)
(2) SEL is received from another SCSI device during the
ARBITRATION phase
(3) The transition of RST to true.
For the first condition listed, the maximum time for an
SCSI device to clear the bus is 1200 nanoseconds from
BSY and SEL first becoming both false. If an SCSI
device requires more than a bus settle delay to detect
BUS FREE phase, it shall clear the bus within a bus
clear delay minus the excess time.
Table 4.4 Signal delay times definition (2/3)
No.ItemTimeDefinition
4Bus free delay 800 nsThe minimum time that an SCSI device shall wait from
its detection of the BUS FREE phase (BSY and SEL both
false for a bus settle delay) until its assertion of BSY
when going to the ARBITRATION phase
5Bus set delay1.8 osThe maximum time for an SCSI device to assert BSY and
its SCSI ID bit on the DATA BUS after it detects BUS
FREE phase (BSY and SEL both false for a bus settle
delay) for the purpose of entering the ARBITRATION
phase
6Bus settle
delay
7Cable skew
delay
8Data release
delay
9Deskew delay 45 nsThe minimum time required for deskew of certain
10Disconnection
delay
11Hold time45 nsThe minimum time added between the assertion of REQ
400 nsThe minimum time to wait for the bus to settle after
changing certain control signals as called out in the
protocol definitions
10 nsThe maximum difference in propagation time allowed
between any two SCSI bus signals measured between
any two SCSI devices
400 nsThe maximum time for an initiator to release the DATA
BUS signals following the transition of the I/O signal
from false to true
signals
200 osThe minimum time that a target shall wait after
releasing BSY before participating in an ARBITRATION
phase when honoring a DISCONNECT message from the
initiator
(or REQB) or ACK (or ACKB) and the changing of the
data lines to provide hold time in the initiator or target
while using synchronous data transfers. REQB and
ACKB timings only apply to optional wide data
transfers.
12Negation
period
13Power>on to
selection time
90 nsThe minimum time that a target shall negate REQ (or
REQB) while using synchronous data transfers. Also,
the minimum time that an initiator shall negate ACK (or
ACKB) while using synchronous data transfers. REQB
and ACKB timings only apply to optional wide data
transfers.
10 sec
(recom>
mended)
The recommended maximum time from power
application until an SCSI target is able to respond with
appropriate status and sense data to the TEST UNIT
READY, INQUIRY, and REQUEST SENSE commands
4 $ 11
Table 4.4Signal delay times definition (3/3)
No. Item Time Definition
14 Reset to
selection
time
15 Reset hold
time
16 Selection
abort time
17 Selection
timeout
delay
18 Transfer
period
4.3.1 BUS FREE phase
The BUS FREE phase is used to indicate that no SCSI device is actively using the
SCSI bus, and that it is available.
250 ms
(recommended)
25 µs The minimum time over which RST must be kept asserted
200 µs The maximum time required from the moment when
250 ms
(recommended)
The recommended maximum time after a hard RESET
condition until an SCSI target is able to respond with
appropriate status and sense data to the TEST UNIT
READY, INQUIRY, and REQUEST SENSE commands
selection or deselection of an initiator or target is detected
until BSY is asserted
The minimum time required for an initiator or target in
the selection or deselection phase to wait for a BSY
response before it starts the timeout procedure
The minimum allowable period, during sync data
transfer, between the start of consecutive REQ pulses and
the start of consecutive ACK pulses
BSY
SEL
others
SCSI devices shall detect the BUS FREE phase after the SEL and BSY signals are
both false for at least a bus settle delay.
SCSI devices shall release all SCSI bus signals within a bus clear delay after the
BSY and SEL signals become continuously false for a bus settle delay.
bus clear delaybus settle delay
BUS FREE phase
4 − 12
4.3.2ARBITRATION phase
The ARBITRATION phase allows one SCSI device to gain control of the SCSI bus so
that it can initiate or resume an I/O process. The procedure for an SCSI device to
obtain control of the SCSI bus is as follows:
— The SCSI device shall first wait for the BUS FREE phase to occur.
“ The SCSI device shall wait a minimum of a bus free delay after detection of the
BUS FREE phase (i.e. after the BSY and SEL signals are both false for a bus
settle delay) before driving any signal.
” Following the bus free delay in Step “, the SCSI device may arbitrate for the
SCSI bus by asserting both the BSY signal and its own SCSI ID, however, the
SCSI device shall not arbitrate (i.e. assert the BSY signal and its SCSI ID) if
more than a bus set delay has passed since the BUS FREE phase was last
observed.
‘ After waiting at least an arbitration delay (measured from its assertion) the
SCSI device shall examine the DATA BUS. If a higher priority SCSI ID bit is
true on the DATA BUS (DB(7) is the highest), then the SCSI device has lost the
arbitration and the SCSI device may release its signals and return to Step —. If
no higher priority SCSI ID bit is true on the DATA BUS, then the SCSI device
has won the arbitration and it shall assert the SEL signal. Any SCSI device
other than the winner has lost the arbitration and shall release the BSY signal
and its SCSI ID bit within a bus clear delay after the SEL signal becomes true.
An SCSI device that loses arbitration may return to Step —.
’ The SCSI device that wins arbitration shall wait at least a bus clear delay plus a
bus settle delay after asserting the SEL signal before changing any signals.
4 $ 13
bus settle
delay
BSY
ARBITRATION phase
bus free delay
SCSI
ID7
ID3
SEL
DB
BSY
SEL
DB(7)
BSY
SEL
DB (3)
bus set
delay
&
bus free
delay
bus set delay
bus free
delay
&
arbitration delay
bus clear delay
bus clear delay
+ bus settle delay
arbitration delay
BSY
ID1
&
SEL
DB (1)
bus free
delay
ID7:Succeeds in ARBITRATION
ID3:Detects the SEL signal of other SCSI unit
ID1:Detects the SCSI ID with higher priority than itself
&:The point at which the BUS FREE phase is detected by each SCSI unit.
4 $ 14
4.3.3SELECTION phase
The SELECTION phase allows an initiator to select a target for the purpose of
initiating some target function (e.g., READ or WRITE command). During the
SELECTION phase the I/O signal is negated so that this phase can be distinguished
from the RESELECTION phase.
— The SCSI device that won the arbitration has both the BSY and SEL signals
asserted and has delayed at least a bus clear delay plus a bus settle delay before
ending the ARBITRATION phase. The SCSI device that won the arbitration
becomes an initiator by not asserting the I/O signal.
“ The initiator shall set the DATA BUS to a value which is the OR of its SCSI ID
bit and the targetπs SCSI ID bit, and it shall assert the ATN signal.
” The initiator shall then wait at least two deskew delays and release the BSY
signal.
‘ The initiator shall then wait at least a bus settle delay before looking for a
response from the target.
’ The target shall determine that it is selected when the SEL signal and its SCSI
ID bit are true and the BSY and I/O signals are false for at least a bus settle
delay. The selected target may examine the DATA BUS in order to determine
the SCSI ID of the selecting initiator. The selected target shall then assert the
BSY signal within a selection abort time of its most recent detection of being
selected; this assertion is required for correct operation of the selection time>out
procedure.
The target shall not respond to a selection if bad parity is detected. Also, if more
than two SCSI ID bits are on the DATA BUS, the target shall not respond to
selection.
÷ No less than two deskew delays after the initiator detects the BSY signal is
true, it shall release the SEL signal and may change the DATA BUS. The
target shall wait until the SEL signal is false before asserting the REQ signal to
enter an information transfer phase.
SELECTION phase
bus clear delay
+ bus settle delay
I/O
BSY
SEL
DB
deskew
delay ¥ 2
deskew
delay ¥ 2
4 $ 15
4.3.4RESELECTION phase
RESELECTION is an optional phase that allows a target to reconnect to an
initiator for the purpose of continuing some operation that was previously started
by the initiator but was suspended by the target (i.e., the target disconnected by
allowing a BUS FREE phase to occur before the operation was complete).
— Upon completing the ARBITRATION phase, the winning SCSI device has both
the BSY and SEL signals asserted and has delayd at least a bus clear delay plus
a bus settle delay. The winning SCSI device becomes a target by asserting the
I/O signal.
“ The winning SCSI device shall also set the DATA BUS to a value that is the
logical OR of its SCSI ID bit and the initiatorπs SCSI ID bit.
” The target shall wait at least two deskew delays and release the BSY signal.
‘ The target shall then wait at least a bus settle delay before looking for a
response from the initiator.
’ The initiator shall determine that it is reselected when the SEL and I/O signals
and its SCSI ID bit are true and the BSY signal is false for at least a bus settle
delay. The reselected initiator may examine the DATA BUS in order to
determine the SCSI ID of the reselecting target. The reselected initiator shall
then assert the BSY signal within a selection abort time of its most recent
detection of being reselected; this is required for correct operation of the time>
out procedure. The initiator shall not respond to a RESELECTION phase if bad
parity is detected. Also, the initiator shall not respond to a RESELECTION
phase if other than two SCSI ID bits are on the DATA BUS.
÷ After the target detects the BSY signal is true, it shall also assert the BSY
signal and wait at least two deskew delays and then release the SEL signal.
The target may then change the I/O signal and the DATA BUS. After the
reselected initiator detects the SEL signal is false, it shall release the BSY
signal. The target shall continue asserting the BSY signal until it relinguishes
the SCSI bus.
RESELECTION phase
bus clear delay
+ bus settle delay
I/O
BSY
SEL
DB
deskew
delay ¥ 2
TARGINIT
deskew
delay ¥ 2
TARG
INIT
4 $ 16
4.3.5INFORMATION TRANSFER phases
Note:
The COMMAND, DATA, STATUS, and MESSAGE phases are all grouped
together as the information transfer phases because they are all used to transfer
data or control information via the DATA BUS. The actual content of the
information is beyond the scope of this section.
The C/D, I/O, and MSG signals are used to distinguish between the different
information transfer phases (see Table 4.5). The target drives these three signals
and therefore controls all changes from one phase to another. The initiator can
request a MESSAGE OUT phase by asserting the ATN signal, while the target can
cause the BUS FREE phase by releasing the MSG, C/D, I/O, and BSY signals.
Table 4.5 INFORMATION TRANSFER phase type
PhaseC/DI/OMSGDB7 to 0, PTransfer direction
DATA OUT000DataINITTARG
DATA IN010DataINITTARG
COMMAND100CommandINITTARG
STATUS110StatusINITTARG
*001
*011
MESSAGE OUT101MessageINITTARG
MESSAGE IN111MessageINITTARG
0:False
1True
INIT:Initiator
TARG: Target
* : Reserved for future standardization
4 – 17
INFORMATION
INFORMATION TRANSFER phase
Min. 0nsbus settle delaybus settle delay
BSY
SEL
C/D,
MSG, I/O
REQ
ACK
DB
TRANSFER phase
The INFORMATION TRANSFER phases use one or more REQ/ACK handshakes to
control the information transfer. Each REQ/ACK handshake allows the transfer of
one byte of information. During the INFORMATION TRANSFER phases the BSY
signal shall remain true and the SEL signal shall remain false. Additionally,
during the INFORMATION TRANSFER phases, the target shall continuously
envelope the REQ/ACK handshake (s) with the C/D, I/O, and MSG signals in such a
manner that these control signals are valid for a bus settle delay before the
assertion of the REQ signal of the first handshake. These control signals remain
valid until after the negation of the ACK signal at the end of the handshake of the
last transfer of the phase.
(1)Asynchronous information transfer
The target shall control the direction of information transfer by means of the I/O
signal. When the I/O signal is true, information shall be transferred from the target
to the initiator. When the I/O signal is false, information shall be transferred from
the initiator to the target.
a. Asynchronous transfer from target to initiator
If the I/O signal is true (transfer to the initiator), the target shall first drive the
DB(7>0, P) signals to their desired values, delay at least one deskew delay plus a
cable skew delay then assert the REQ signal. The DB(7>0, P) signals shall
remain valid until the ACK signal is true at the target. The initiator shall read
the DB(7>0, P) signals after the REQ signal is true then indicate its acceptance
of the data by asserting the ACK signal. When the ACK signal becomes true at
the target, the target may change or release the DB(7>0, P) signals and shall
negate the REQ signal. After the REQ signal is false, the initiator shall then
negate the ACK signal.
4 $ 18
After the ACK signal is false, the target may continue the transfer by driving
the DB(7>0, P) signals and asserting the REQ signal, as previously described.
BSY
SEL
C/D, MSG
I/O
REQ
ACK
DB
bus settle delay
deskew delay +
cable skew delay
deskew delay
+ cable skew delay
b. Asynchronous transfer from initiator to target
If the I/O signal is false (transfer to the target), the target shall request
information by asserting the REQ signal. The initiator shall drive the DB(7>0,
P) signals to their desired values, delay at least one deskew delay plus a cable
skew delay then assert the ACK signal. The initiator shall continue to drive the
DB(7>0, P) signals until the REQ signal is false. When the ACK signal becomes
true at the target, the target shall read the DB(7>0, P) signals then negate the
REQ signal. When the REQ signal becomes false at the initiator, the initiator
may change or release the DB(7>0, P) signals and shall negate the ACK signal.
The target may continue the transfer by asserting the REQ signal, as previously
described.
4 $ 19
BSY
SEL
C/D, MSG
I/O
REQ
ACK
DB
bus settle
delay
deskew delay +
cable skew delay
deskew delay
+ cable skew delay
4.4Commands
Commands are directions issued from an initiator to a target. This image scanner
supports the following range of the commands specified by the SCSI standard.
(1)RESERVE UNIT command: COMMAND phase (initiator Æ target)
Where a logical unit can be accessed by two or more initiators, there could be
interferences with command sequences, data, etc. This situation can be avoided by
issuing the RESERVE UNIT command before initiating a series of operations.
Once a logical unit has properly accepted the RESERVE UNIT command, it will be
occupied by the initiator that issued the RESERVE UNIT command. If the 3rd
party reservation option is supported, the logical unit might be occupied by another
SCSI unit % one having an initiator function % which is specified TPID. In this
condition, called ™reserved,∫ the logical unit cannot be accessed from any other
initiators. The reserved condition remains effective until one of the following
events take place:
4 $ 22
— The reservation is replaced by a new RESERVE COMMAND from the same
initiator that has reserved the logical unit. (Issuing another RESERVE UNIT
command with the reservation still effective does not results in an error. The
previously established reservation is released as a result of “, ” or ‘ described
below.)
“ The RELEASE UNIT command is issued from the same initiator that has
reserved the logical unit.
” The BUS DEVICE RESET message is sent from any initiator.
When a logical unit is already reserved by another initiator, if a command other
than RELEASE UNIT, INQUIRY, or REQUEST SENSE is issued, the target
returns the following status:
(1)RELEASE UNIT command: COMMAND phase (initiator Æ target)
The RELEASE UNIT command releases a reserved status. If this command comes
from an initiator that has not declared reservation, the target ignores the command
and responds with the GOOD status (the reserved status is not released).
The CDB of this command is shown in the following illustration.
This field specifies the storage area in bytes that the initiator allocates for
inquiry data. If a 0 is set here, inquiry data is not transferred, but this is not
regarded as an error. The target terminates the DATA IN phase when it has
transferred either the bytes of inquiry data specified in this field or all of
effective inquiry data.
4 $ 26
(2)Inquiry data: DATA IN pahse (target Æ initiator)
(1) REQUEST SENSE command: COMMAND phase (initiator Æ target)
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
The REQUEST SENSE command requests the sense data that shows the status of a
logical unit. On receiving this command, the target sets the unitπs status in the
sense data and returns it to the initiator.
The CDB of this command is shown in the following illustration.
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.
Indicates the completion of window reading: 1 when completed, 0 when not
completed
4 $ 31
f.ILI (incorrect length indicator) : Byte 2
Indicates that an error in logical block length has been detected
g. Sense key: Byte 2
Indicates the logical unit status using a sense key. This scanner supports the
sense keys shown in the following table:
Sense keyStatus of logical unit
!!0NO SENSE
The logical unit has no information to be specifically described in a
sense key. This status occurs because either a command has succeeded,
or because a command has terminated in the CHECK CONDITION
status since the ILI bit has been set to 1.
!!2NOT READY
The specified logical unit cannot be accessed.
!!3MEIDUM ERROR
A command has terminated because of a trouble with the medium.
Typical causes of this error with this scanner are that the ADF paper
chute is empty, paper is jammed in the ADF, or the ADF cover has been
opened.
!!4HARDWARE ERROR
An unrecoverable error was detected.
!!5ILLEGAL REQUEST
An illegal parameter exists either in a command (CDB), or in a group of
parameters sent in the DATA OUT phase following a command.
!!6UNIT ATTENTION
The target has been reset.
!!BABORTED COMMAND
The target has aborted a command.
h. Information bytes: Bytes 3 to 6
The information in this field is effective if ILI is 1. This scanner returns the
remainder (2πs complement for any negative value) so the requested transfer
amount subtracted by the actual transfer amount.
k. Additional sense code, additional sense code qualifier: Bytes C and D
A combination of these fields specifies detailed information about the error
reported in the sense key. This scanner reports the following information:
The SEND DIAGNOSTIC command is used by an initiator to request a target or
logical unit for self>test. Two types of self>diagnostic are: (a) the self>test performed
by the unit itself, and (b) the test conducted according to the instruction data from
the initiator.
This scanner supports the self>test only.
The results of self>test are reported using the status and sense data.
The CDB of this command is shown in the following illustration.
This scanner does not support parameter list length.
(2)Contents of self>test
The contents of self>test shall be an equivalent of NOP (Non Operation), provided
that CHECK CONDITION is reported if error information is withheld in the unit.
(1)TEST UNIT READY command: COMMAND phase (initiator Æ target)
The TEST UNIT READY command checks whether a logical unit is ready. This
command does not request self>test. The acknowledgment of this command reported
using the status and sense data.
The CDB of this command is shown in the following illustration.
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.
aaaaaaaaaaaaaaaaaaaaaa
0
(LSB)
aa
If the number of bytes is not enough (less than 48) to set a window, the scanner
returns the following error information:
(2)Window data: DATA OUT phase (initiator Æ target)
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
Window data specifies the details of a window. Window data contains a head and
one or more window descriptor block. Each window descriptor block specifies the
attributes of a window (size, position, scan mode, etc.).
If a target receives the SET WINDOW command when it already has window data,
the target discards all of the current window data and validates the newly received
data.
a. Header
Window data (header) is shown in the following illustration.
Byte 0
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aaaaaaaaaaa
a
7
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
a
6
aaaaaaaaaaa
5
a
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
4
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
3
a
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
2
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
1
a
aaaaaaaaaaa
(Reserved)
5
aaaaaaaaaaa
(MSB)
6
aaaaaaaaaaa
aa
Window descriptor block length
7
(a) Window descriptor block length: Bytes 6 and 7
Specifies the length in bytes of a window descriptor block. Each block has
the same length. The allowable range of length is between 40 and 248
bytes. For a length outside this range, this scanner returns the following
error information:
Window parameter data (window descriptor block) is shown in the following
illustration.
aaaaaaaaaaaaaaaaaaaaaa
0
aaaaaaaaaaa
aaaaaaaaaaa
(LSB)
aaaaaaaaaaa
aaa
aa
4 $ 39
Byte 0
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
aaaaaaaaaaaaa
a
aaaaaaaaaaaaa
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
11
12
15
16
17
18
19
1A
1B
1C
1D
1E
1F
20
21
22
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1
aaaaaaaaaaa
2
aaaaaaaaaaa
3
aaaaaaaaaaa
4
aaaaaaaaaaa
5
6
(MSB)
9
A
(MSB)
D
E
(MSB)
(MSB)
aaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
7
(MSB)
(MSB)
(MSB)
RIF
(MSB)
a
aaaaaaaaaaa
a
aaaaaaaaaaa
6
a
aaaaaaaaaaa
aa
aa
aa
aaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
5
a
aaaaaaaaaaa
(Reserved)
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aaaaaaaaaaa
a
4
aaaaaaaaaaa
3
a
aaaaaaaaaaa
Window identifier
(Reserved)
X resolution
Y resolution
Upper left X
Upper left Y
Width
Length
Brightness
Threshold
Contrast
Image composition
Bit per pixel
Halftone pattern
Bit ordering
Compression type
Compression argument
aaaaaaaaaaaaaaaaaaaaaa
2
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
1
a
aaaaaaaaaaa
Padding type
aaaaaaaaaaaaaaaaaaaaaa
0
aaaaaaaaaaa
Auto
aaaaaaaaaaa
(LSB)
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
(LSB)
aaaaaaaaaaa
(LSB)
(LSB)
(LSB)
(LSB)
(LSB)
aaaaaaaaaaa
(LSB)
aaaaaaaaaaa
aaa
aa
aaa
aa
(Reserved)
27
28
Vendor unique parameter
n
4 $ 40
(a) Window identifier: Byte 0
Specifies a unique value that identifies a window. The value may be 0 to
255. If two or more window identifiers are specified for a single set of
window data, the most recently specified identifier is validated.
This scanner allows only one window to be set. Therefore, only 0 may be
specified in this field. If a value other than 0 is specified, this scanner
returns the following error information:
(c) X, Y resolution (XR, YR) : Bytes 2 to 3 and 4 to 5
Specified here are the resolutions in the horizontal (X) and vertical (Y)
scanning directions, in pixels per inch. If 0 is specified, the default value
(400 dpi) is assumed.
If the image processing option is not equipped, the acceptable resolution
value is limited to 0, 400, 300, 240 or 200. If the option is equipped, the
acceptable value is in the range from 50 to 1600 dpi in steps of 1 dpi. If a
value is specified that does not comply with these conditions, this scanner
returns the following error information:
(d) Upper left X, Y (ULX, ULY) : Bytes 6 to 9, A to D
Specified here are the X and Y coordinates of the upper>left corner of the
window. The coordinates are expressed in units of 1/1200 inches relative to
the upper>left corner of the maximum scan area.
If the ULX or ULY value is outside the maximum scan area of this scanner,
this scanner returns the following error information:
(e) Width, length (W, L) : Bytes E to 11, 12 to 15
Specifies here are the width and length of the window, in units of 1/1200
inches. If the W or L value is outside the maximum scan area of this
scanner, the following error information is returned:
The same error is also returned if this scanner is set to less than one raster
line for vertical scanning or to less than two bytes for horizontal scanning.
Notes:
1. ULX, ULY, W, L versus maximum scan area:
0 < (ULX + W) e 14592 (in 1/1200 inches)
0 < (ULY + L) e 20736 (in 1/1200 inches)
2. Conditions for horizontal scanning:
9 e [XR ¥ W/1200] e 4864 (dot)
(Values under 0 in [ ] are omitted.)
3. Conditions for vertical scanning:
1 e [YR ¥ L/1200] e 6912 (line)
(Values under 0 in [ ] are omitted.)
4. Conditions for horizontal and vertical scanning (in 1/1200 inches):
13200 (11∫) < (ULX + W) e 14592
When this condition is satisfied, following condition must also be
satisfied (only for CMPII option equipped).
Specifies, in byte 28 and after, a vender unique parameter, including items
such as subwindow list, outline, emphasis, automatic separation, mirroring,
and paper size, as required. This parameter is specified in the following
format. This parameter does not need data until byte 3F. (It is unnecessary
to transfer the unnecessary parameter, but the intermediate parameter
cannot be omitted.)
76543210
Vender unique identification code
pattern
Outline extraction
Image emphasis
Automatic separation
Mirror image
Variance rate
DTC mode
Not supported
White level follower mode
(MSB)
(MSB)
(MSB)
Subwindow list
Paper size
Paper width X
Paper length Y
DTC selection
Reserved
(LSB)
(LSB)
(LSB)
•Vender unique identification code: byte 28
Specifies a vender unique identification code. For this scanner, X‘00’
must be specified. If other value is specified, this scanner returns the
following error information:
•Status:B‘00001’ (CHECK CONDITION)
•Sense key: X‘5’ (ILLEGAL REQUEST)
4 – 47
fd pattern: Byte 29
Specifies the d pattern number for the line art or the halftone.
Value (Hex)d pattern
00Default This scanner applies ™Normal∫.
01Normal
02Soft
03Sharp
04 to 7F(Reserved)
80 to 84User down>load d pattern
85 to FF(Reserved)
If reserved value is specified, this scanner returns the following error
information as follows:
*1 When this bit is ™0∫, the output video data is black if the gradation of the video
data is equal to or larger than threshold. When this bit is ™1∫, the output video
data is white if the gradation of the video data is equal to or larger than
threshold.
On this scanner, four subwindows can be included in one window. Thus,
bits 0 to 3 of byte 34 can be specified. If other subwindows are specified,
this scanner returns the following error information:
fPaper width X, paper length Y: bytes 36 to 39, 3A to 3D
These parameters are valid when the nonstandard size is specified in
the paper size parameter (byte 35).
The paper width and length is specified in 1/1200 inches unit.
4 $ 54
Notes:
1. If the ADF is used and this parameter has not been specified, the paper is
scanned on the default paper size (A3) of this scanner.
2. The paper size specified here concerns the sheets loaded in the ADF.
The area specified by the WINDOW bytes 6 to 15 in the window data should
be equal to or smaller than the specified paper size.
3. The ADF for this scanner positions paper relative to the center.
Therefore, if paper size is not specified in the window data bytes 6 to 15, the
window cannot be accurately positioned for the paper.
4. This parameter is only effective for reading with the ADF.
fDTC SELECTION: byte 3E
DTC SELECTION BYTE
Byte 3E
b7b6b2b4b3b1b0
b5
Reserved
DTC SELECTION
00:Default; Simplified DTC, if IPC II optioned.
01:Dynamic threshold
10:Simplified DTC, if IPC II optioned.
11:Reserved
If reserved value is specified, this scanner returns the following error
information as follows:
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 image processing II option is
equipped. If this command is received by a scanner without the image processing II
option, this scanner returns the following error information:
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.
aaaaaaaaaaaaaaaaaaaaaa
0
aaaaaaaaaaa
(LSB)
aaa
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).
4 $ 57
Up to four subwindows
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
#2#1#4
Byte 0
Header
Subwindow descriptor block
a. Header
Subwindow data (header) is shown in the following illustration.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aaaaaaaaaaa
a
7
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
a
6
aaaaaaaaaaa
5
a
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
4
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
3
a
aaaaaaaaaaa
(Reserved)
5
aaaaaaaaaaa
(MSB)
6
aaaaaaaaaaa
aa
Window descriptor block length
7
(a) Subwindow descriptor block length: Bytes 6 and 7
Specifies the length in bytes of a subwindow descriptor block. Each block
has a same length. The allowable range of length is between 40 and 64
bytes. For a length outside this range, this scanner returns the following
error information:
Subwindow data (window descriptor block) is shown in the following
illustration.
aaaaaaaaaaaaaaaaaaaaa
Byte 0
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
11
12
15
16
17
18
19
1A
1B
1C
1D
1E
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1
5
6
(MSB)
9
A
(MSB)
D
E
(MSB)
(MSB)
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
7
(MSB)
a
aaaaaaaaaaa
a
aaaaaaaaaaa
6
a
aaaaaaaaaaa
aaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
5
a
aaaaaaaaaaa
(Reserved)RIF
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aaaaaaaaaaa
a
4
aaaaaaaaaaa
3
a
aaaaaaaaaaa
Subwindow identifier
(Reserved)
Upper left X
Upper left Y
Width
Length
Brightness
Threshold
Contrast
Image composition
Bit per pixel
Halftone pattern
aaaaaaaaaaaaaaaaaaaaaa
2
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
1
a
aaaaaaaaaaa
Padding type
aaaaaaaaaaaaaaaaaaaaaa
0
aaaaaaaaaaa
(LSB)
(LSB)
(LSB)
(LSB)
aaaaaaaaaaa
(LSB)
aaaaaaaaaaa
aaa
aa
(Reserved)
27
28
Vender unique parameter
n
(a) Subwindow identifier: Byte 0
Specifies a unique value that identifies a subwindow. If two or more
subwindow identifiers are specified for a single set of subwindow data, the
most recently specified identifier is validated.
This scanner allows up to four subwindows for each main window to be set.
Therefore, a value 0 to 3 is specified in this field. If a value 4 or greater is
specified, this scanner returns the following error information:
(b) Upper left X, Y (ULX, ULY) : Bytes 6 to 9, A to D
Specified here are the X and Y coordinates of the upper>left corner of the
subwindow. The coordinates are expressed in units of 1/1200 inches relative
to the upper>left corner of the maximum scan area.
(c) Width, length (W, L) : Bytes E to 11, 12 to 15
Specified here are the width and length of the subwindow, in units of 1/1200
inches.
Notes:
1. If the area specified for any subwindow does not fit in the area of the main
window, the portion of the area outside the main window area is ignored.
Only the portion where the main and subwindow overlap (shown hatched) is
processed.
Main Window
Sub Window
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Sub window
aaaaaaaaaaaaaaaaaaaaaa
aaaaaa
2. If subwindows in a main window overlap with each other as a result of the
values ULX, ULY, W and L specified here, this scanner returns the
following error information:
Specify the halftone method and dithered pattern. For details, see the SET
WINDOW command.
(j) RIF (reverse image format): Byte 1D
This bit is used to reverse the binary image data output.
0: Output is not reversed
1: Output is reversed
4 $ 61
aaaaaa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
28
aaaaaaaaaaaa
29
aaaaaaaaaaaa
2A
aaaaaaaaaaaa
2B
aaaaaaaaaaaaaaa
2C
aaaaaaaaaaaa
2D
aaaaaa
2E
aaaaaaaaa
2F
aaaaaaaaa
30
aaaaaa
31
aaaaaaaaa
32
aaaaaa
33
aaaaaaaaa
34
aaaaaaaaa
35
aaaaaa
36
aaaaaaaaa
37
aaaaaaaaa
38
aaaaaa
39
aaaaaaaaa
3A
aaaaaa
3B
aaaaaaaaa
3C
aaaaaaaaa
3D
aaaaaaaaaaaa
3E
(k) Vender unique parameter: byte 28 and after
Specifies, in byte 28 and after, a vender unique identification parameter,
including items such as outline, emphasis, and automatic separation, as
required. This parameter is specified in the following format. This
parameter does not need data until byte 3E. (It is unnecessary to transfer
the unnecessary parameter but the intermediate parameter cannot be
omitted.)
(1)OBJECT POSITION command: COMMAND phase (initiator Æ target)
The OBJECT POSITION command controls the sheets in the ADF. When the ADF
is used for reading, document sheets are loaded with this command before the
READ command is issued.
The CDB of this command is shown in the following illustration.
This scanner supports the unload object and load object functions only. If an
other value is specified, this scanner returns the following error information:
This scanner unloads a document from the ADF. If the ADF chuter does not
contain a document when this command is received, this scanner does not
generate an error but returns the GOOD status.
The unload object function is not vital to the scanner. After completion of
reading with the READ command, the scanner automatically unloads the
document.
(b) Load object
This scanner loads the document from the ADF paper chute. If a document
is already loaded in the ADF when this command is received, this scanner
does not generate an error but returns the GOOD status.
4 $ 65
b. Count: bytes 2 to 4
This scanner does not support this field. If a value other than 0 is specified, this
scanner returns the following error information:
(The cause of the error is jammed paper, an opened ADF cover, or an empty
paper supply.)
4 $ 66
(3)Command sequence to select the ADF or FB.
Read on ADF
Read on FB
OBJECT POSITION command
(Load object)
READ command
READ command
OBJECT POSITION command
(Unload object)
Note:
If the document is shorter than the window area specified by the SET WINDOW
command, the deficient portion is supplemented by white data. The deficient
portion is supplemented so that the data covers the entire specified window area
and is tranferred.
When the disconnecting is enabled by the IDENTIFY message, the
disconnecting is performed during a loading or unloading operation and the
reconnecting is performed after the operation is complete.
4 $ 67
4.4.10 SEND command
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaa
a
a
a
a
a
aaaaaaaaa
a
a
a
a
a
aaaaaaaaa
a
a
a
a
a
aaaaaaaaa
a
a
a
a
a
The following table shows the normal sequence of the SEND command when used
with this scanner.
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:
(2)SEND data (dither pattern): DATA OUT phase (initiator Æ target)
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaaaaaa
a
a
a
a
a
aaaaaaaaaaaaa
a
a
a
a
a
a
a
aaaaaaaaaa
a
a
a
aaaaaaaaaa
a
a
a
aaaaaaaaaa
a
a
a
aaaaaaaaaa
a
a
a
Byte 0
A
B
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
1
2
3
(MSB)
4
5
(MSB)
6
7
8
9
7
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
6
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
5
a
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
4
aaaaaaaaaaa
aaa
(Reserved)
X>direction dither matrix size
Y>direction dither matrix size
(Reserved)
Dither matrix data
aaaaaaaaaaaaaaaaaaaaaa
3
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
2
aaaaaaaaaaa
a
aaaaaaaaaaa
a
aaaaaaaaaaa
1
a
aaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaa
0
aaaaaaaaaaa
aaaaaaa
(LSB)
aaaaaaa
aaaaaaaaaaaaaa
(LSB)
aaa
a. Dither matrix size
Specifies the size of dither matrix to be downloaded. This scanner supports 1¥1
to 32¥32. If any other value is specified, this scanner returns the following
error information:
Specifies the values of dither matrix in the range of 0 to 255, starting from the
upper> left corner. (Value 0 represents the darkest, with 255 the brightest.)
The number of data vlaues is the sum of the X> and Y>direction elements as
specified in the matrix size fields. If the number of data values differs from that
sum, this scanner returns the following error information:
The READ command is used by an initiator to request a target for transfer of data.
Upon receiving this command, the target returns scan data to the initiator.
The CDB of this command is shown in the following illustration.