C150-E103-01EN M3097DG Image Scanner OEM Manual
REVISION RECORD Edition Date published 01 Dec. 1997 Revised contents First Edition Specification No.: C150-E103-01EN The contents of this manual is subject to change without prior notice.
This page is intentionally left blank.
CONTENTS Chapter 1 General .......................................................................................................... 1-1 1.1 General description ..................................................................................................................... 1-1 1.2 Appearance and parts name ......................................................................................................... 1-2 Chapter 2 Specifications...........................................................
4.1 Packaging box and storage condition............................................................................................ 4-1 4.2 Components in the packaging box ................................................................................................ 4-2 4.3 Installation procedure .................................................................................................................. 4-2 4.3.1 Removing the carrier fixing bracket ............................................
A.4 Commands................................................................................................................ Appendix A-20 A.4.1 RESERVE UNIT command ................................................................................ Appendix A-22 A.4.2 RELEASE UNIT command................................................................................. Appendix A-24 A.4.3 INQUIRY command ...........................................................................................
Appendix C Throughput................................................................................Appendix C-1 iv C.1 Offline test .................................................................................................................. Appendix C-1 C.2 Online test ..................................................................................................................
Chapter 1 General 1.1 General description M3097DG image scanner is an ideal input device for Electric filling systems, Facsimiles, optical character readers (OCR), computer aided design (CAD) systems, and automatic publishing systems. M3097DG is basically the scanner which have the duplex scanning feature with the basis of M3097G+ and with the interface compatibility to M3097G+ and M3093DG. The features of the scanner are focused on as follows.
General 1.2 Appearance and parts name Appearance and parts name is shown in Fig. 1.1. Figure 1.
Chapter 2 Specifications 2.1 Basic specifications Basic specifications of M3097DG are shown in Table 2.1. Table 2.
Specifications 2.2 Option specifications Following options are available for this scanner. Table 2.2 Option of the scanner Name Parts Number When the option required? IPC-2D CA01952-0192 IPC-3D CA02919-0511 - When the image processing of Section 3.3 required. Either IPC-2D or IPC-3D can be installed at a time. Memory TBD - When reading 601 dpi or more One memory option can be installed per scanner. (See section 2.3) Remarks 16 Mbyte, 72 pin, EDO SIMM 60 ns, non-parity Figure 2.
2.3 Reading limitation depending on the memory installed 2.3 Reading limitation depending on the memory installed M3097DG have the limitation of reading depending on the memory installed as shown in Table 2.3 and 2.4. Table 2.3 The reading limitation of M3097DG without option Output resolution Binary Simplex Grayscale Duplex Simplex Duplex Not supported *2 Not supported *2 100/150/200 dpi 300/400 dpi Supported (No additional memory) 600 dpi *2 Setting itself may be rejected. Table 2.
Specifications 2.4 Physical specifications Table 2.5 Physical specifications No. 1 2 3 Item Height Width Depth Weight (Kg) Power requirements 4 5 6 7 8 9 Voltage (VAC) Phase Frequency Power consumption (VA) Heat capacity Surge current (A) Momentary power failure Leakage current (mA) Dielectric strength 10 11 AC line noise Temperature (°C) 12 Relative humidity (%) Vibration (G) 13 14 15 16 2.
2.6 Document specifications 2.6 Document specifications When using the flatbed, any condition of the paper can be read except paper size and ground color specification. 2.6.1 Paper size A B ↑ Feeding direction (Unit : mm) Maximum Minimum A B A B 297 432 148 105 105 148 Figure 2.3 Paper size Paper size conversion table Category Letter Legal Ledger Executive Dimensions 8.5 x 11 in (216 x 279 mm) 8.5 x 14 in (216 x 356 mm) 11 x 17 in (279 x 432 mm) 7.25 x 10.
Specifications 2.6.2 1) Paper conditions Paper type • Woodfree paper • PPC paper, Specified by XEROX Corporation When using another paper, check that it is successfully fed by ADF before performing a scanning operation. 2) Paper weight 13.9 lbs (52g/m 2 ) to 27.8 lbs (104g/m2 ) 3) Items to avoid • The following documents may be hard to read by ADF. Before you start the large quantity reading, check that the document is read appropriately.
2.6 Document specifications Replacement of parts: The life of the pad and the pick roller may be shorter than the case that PPC document is fed. Replacement cycle of the pad and the pick roller may be around 100,000 sheets depending on the paper quality and cleaning cycle. Note 3: Paper should be straightened to fit the condition below.
Specifications 2.6.3 ADF capacity The number of pages that can be loaded into ADF chute depends on the paper size and ream weight. This information is shown in the following Figure: 52 64 81 g/m 104 127 2 Figure 2.4 ADF capacity Paper weight conversion table Country Conversion Japan Kg/ream 45 55 64.6 77.5 90 109.8 135 USA lb 13.9 17 20 24 27.9 34 41.
2.6 Document specifications 2.6.4 Areas that must not be perforated (for ADF reading only) Perforations in the shaded areas may cause Jam error. If you must read data from such paper, use the flatbed Figure 2.
Specifications 2.6.5 Grounding color area The color of the shaded area shown in Figure 2.6 should be paper grounding color (white) or dropout color. If not, set White level following OFF (Photograph) before reading. Figure 2.
2.6 Document specifications 2.6.6 Job separation sheet The following figure shows the basic shape of the Job separation sheet. When Job separation sheet is scanned, the scanner can detect and inform it to the Host computer (See section A.4.11 READ command/Detected paper information). Paper condition is such that described in section 2.6.1 or 2.6.2. And the paper size must be A4 or larger (210 mm or wider) Figure 2.
Chapter 3 Image Functions 3.1 Overview of the image functions The image functions of this scanner are summarized in Table 3.1 and Table 3.2. Table 3.1 Image functions Section No. and Image function 3.2.1 Output resolution 3.2.2 Main Window clipping (1) Offset and size (2) Page end detection 3.2.3 Binary reading 3.2.4 Halftone reading (1) Dither (2) Error diffusion 3.2.5 Grayscale reading 3.2.6 Compression (1) Pre-filter (2) Gradation 3.3.1 DTC mode *1 *2 3.3.
Image Functions *4 In IPC-3D, a seven step parameter is used like as with the Simplified Dynamic Threshold but the algorithm is different. *5 In IPC-3D, if both Simplified DTC and Image Emphasis are specified, the Simplified DTC algorithm is activated. At that time, both the Simplified Dynamic Threshold and Image Emphasis High/Mid/Low parameters are in affect. *6 In IPC-3D, if Automatic Separation is specified, then Simplified Dynamic Threshold and Image Emphasis/Smoothing are ignored.
3.2 Basic image functions o: Can be specified. x: Cannot be specified. ▲: Enabled if automatic separation is specified, otherwise ignored. : Can be specified but not enabled. *1 If DTC is specified, IPC can be specified but not enabled. *2 The image is not guaranteed. *3 Can be specified but not enabled if Image Emphasis is also specified. *4 Can be specified but not enabled if Outline Extraction is also specified. *5 Not recommended because the compression is inefficient. 3.
Image Functions Table 3.3 Mechanical offset error of the scanner *1 Output resolution X0 (dots) *1 Y0 (dots) *1 600 dpi 18 ± 18 24 ± 24 400 dpi 12 ± 12 16 ± 16 300 dpi 9± 9 12 ± 12 240 dpi 8± 8 10 ± 10 200 dpi 6± 6 8± 8 150 dpi 5± 5 6± 6 100 dpi 3± 3 4± 4 When the document skewed, X0 and Y0 represents the minimum length of the offset along with the edge. Origin point of ULX, ULY Y0 X0 Actual origin point of the sheet Size is the length of W and L in Figure 3.1 and 3.
3.2 Basic image functions b) Output lines in sub-scanning direction Scanning length L (1/1200 in) = 13200 Output resolution YR (dpi) = 400 Output line = [YR x L/1200 ] = [400 x 13200/1200 ] = 4400 (line) * * Values under 0 in [ ] are omitted The physical limitations of the Main Window Clipping at Flatbed (FB) and ADF reading are illustrated in Figure 3.1 and 3.2 respectively. NOTICE: This is not the guaranteed specification but the scanner may read the long document which fits the following condition.
Image Functions 14592 (@ 1/1200 in.) = 12.16 in. (308.8 mm) X1 ULY Origin point of the clipped area L Feed direction 20736 (@ 1/1200 in.) = 1728 in. (438.9 mm) W 19842 (@ 1/1200 in.) = 16.54 in. (412.0 mm) ULX 13200 (@ 1/1200 in.) = 11 in. (279.4 mm) Figure 3.2 The window position and limitation of ADF reading The Matrix size of the clipped Main Window is limited as shown in Figure 3.3. The unit of the number in Figure 3.3 is 1/1200 in.
3.2 Basic image functions W 9278 dots 7296 dots L 10368 line 13824 line Maximum output size without Extended Memory option Maximum output size with Extended Memory option Note: W must be greater than 9, and L must be greater than 1. Figure 3.
Image Functions (2) Page End Detection [A.4.11 READ command / Detected paper length] This function cuts the reading operation when page end is detected, even if all of the window length L (sub-scanning length) is not read yet. This function is useful to reduce the image data and increase the throughput. When Page End Detection is set ON, the image data which is out of the page end is deleted.
3.2 Basic image functions 3.2.3 Binary reading [A.4.7 SET WINDOW command / Image Composition = X’00’] Following three parameters are available when binarizing the image. The 256 levels of the density at each pixel is processed by Contrast and binarized by Threshold. When the White level following is se ON, the white level of the CCD output follows the background of the document. So this is useful for line art drawing but not for photograph. Table 3.
Image Functions 3.2.4 Halftone reading [A.4.7 SET WINDOW command/Image Composition = X’01’] This scanner supports two types of halftone image, that is Dither and Error Diffusion. (1) Dither [A.4.7 SET WINDOW command / Halftone type = X’01’] This is a way of producing halftone images with white and black pixels. The scanned image is processed by the unit of group of pixels. At first a reference table called “dither matrix” is specified.
3.2 Basic image functions Table 3.
Image Functions Grayscale reading 3.2.5 [A.4.7 SET WINDOW command / Image Composition = X’02’] Eight bit Grayscale reading is available. Following image processing functions can be specified for grayscale reading. (See Table 3.2) • X,Y resolution (XR,YR) • Main window offset (ULX, ULY) • Main window size (W, L) • Contrast • Black and White reverse NOTICE: The throughput of the grayscale reading may 1/2 slower than binary reading. NOTICE: The output resolution is limited as shown in Table 2.
3.3 Optional image function 3.3 Optional image function Image functions in this section are available when IPC-2D or IPC3D option is installed. The name of command and data in [ ] beneath the section title show the location for the reference in Appendix A. 3.3.1 DTC mode function (Auto I mode) [A.4.7 SET WINDOW command / DTC selection = X’40’] This mode is designed to scan for better image quality to provide OCR (Optical Character Reader).
Image Functions (1) Pre-filter [A.4.7 SET WINDOW command / DTC mode] The pre-filter performs filtering before processing the Dynamic Threshold. Ordinary and Ballpoint Pen are selectable in Pre-filter. Table 3.7 Parameter of Pre-filter Name of parameter value Effect with IPC-2D Ordinary X’00’ Linear gamma curve High Contrast X’10’ Makes low contrast Image clear (for dark background document) Effect with IPC-3D Default Linear gamma curve X’00’ Use Ordinary basically.
3.3 Optional image function (2) Gradation [A.4.7 SET WINDOW command / DTC mode] Gradation specifies the gamma curve correction before processing Dynamic Threshold. When scanning news papers or old documents which background is dark, it is desirable that the gamma curve has coarse steps in the lighter side and fine steps in the darker side. This is called High Contrast gamma curve.
Image Functions (3) Dynamic Threshold Curve [A.4.7 SET WINDOW command/DTC mode] For the Dynamic Threshold function, the threshold is changed with the average optical density of a small area (e.g. 5 x 5 pixel area). Relation between the threshold and maximum density is formed as a curve when the threshold is expressed in the Y-axis and the maximum density in the X-axis. This curve is called “threshold curve”. This function allows a customer to select a threshold curve.
3.3 Optional image function (4) Equal to White [A.4.7 SET WINDOW command/DTC mode] Equal to White specifies the result of binaizing when the value of a pixel equals the threshold. The default is Equal to White OFF. The effect of this parameter is slight but, if the scanned image text is bold, set to Equal to White. If the scanned Image text is too narrow or lost, set to Equal to Black (Equal to White OFF). Table 3.
Image Functions (5) Noise Removal [A.4.7 SET WINDOW command / DTC mode] Noise Removal reduces the isolated spot noise after Dynamic Threshold. If the image is noisy. Turn on the Noise Removal and set the granularity to the size of noise to be removed. The parameter of Noise Removal is as follows. Table 3.
3.3 Optional image function (6) Smoothing [A.4.7 SET WINDOW command / DTC mode] Smoothing in DTC mode is done after binarizing. This function smooths a slant line or curve by eliminating jagged edges on the line. An irregularly protruding portions are removed and an Irregularly cut portions are filled In. The parameters of smoothing are as follows. The Image Smoothing do no smoothing. If an image scanned in low resolution and the outline is jagged, specify the OCR smoothing.
Image Functions 3.3.2 IPC mode (Auto II mode) [A.4.7 SET WINDOW command/DTC SELECTION = X’00’ or X’80’] In this mode, the algorithm of dynamic threshold is deferent between IPC-2D and IPC-3D. This mode is recommended for general electric filing purpose.
3.3 Optional image function b) IPC2 like Simplified Dynamic Threshold IPC-3D supports IPC-2 like Simplified Dynamic Threshold for compatibility purpose. When both Image Emphasis and Simplified Dynamic Threshold are set, it is regarded as IPD-2 like Simplified Dynamic Threshold. In this case, IPC-3D Sensitivity parameters in Simplified Dynamic Threshold are used as the Variance Rate, and Image Emphasis parameters are used for emphasis. The IPC-2 like Simplified Dynamic Threshold increases resolution.
Image Functions (1) Image Emphasis [A.4.7 SET WINDOW command / Image Emphasis] Image Emphasis performs filtering to emphasize image edges or to smooth (IPC-2D) or remove background noise (IPC-3D). If text edges are not clear or faint, turn on the Image Emphasis. Three levels of Image Emphasis, High/Mid/Low, are available. As a side effect, Image Emphasis also emphasizes the noise. It is better to set Image Emphasis higher to obtain good image, until the noise is not perceptible.
3.
Image Functions (2) Outline Extraction [A.4.7 SET WINDOW command / Outline extraction] The Outline function extracts the edges from images. This function is rarely used. It may be used in DTP for image effects or image sensing. Table 3.14 parameter of Outline Extraction 3-24 Parameter Value Effect OFF X’00’ Outline Extraction is disabled. ON X’80’ Outline Extraction is enabled.
3.3 Optional image function (3) Automatic Separation [A.4.7 SET WINDOW command / Automatic Separation] With this feature, the scanner automatically recognize the text areas and photo areas on the document. For the areas that are recognized as text areas, scanned data are processed as pure binary with no halftone algorithm (fixed threshold or automatic binarization). For areas that are recognized as photo areas, scanned data are processed with a halftone algorithm (Dither or Error Diffusion). Table 3.
Image Functions (4) Mirror image [A.4.7 SET WINDOW command / Mirror image] A scanned image is turned over symmetrically in the main scan direction, generating a mirrored reflection of an image. Table 3.
3.3 Optional image function (5) Black and White reverse [A.4.7 SET WINDOW command/RIF (reverse image format)] Black and White Reverse turns the black part of the image white and white part of the image black. This effect is similar to the negative/positive image from camera. Table 3.17 Parameter of Black and White Reverse 3.3.3 Parameter Value Effect OFF X’00’ Black and White Reverse OFF ON X’80’ Black and White Reverse ON Default OFF Sub-Window [A.4.
Image Functions 3.3.4 Zooming [A.4.7 SET WINDOW command/X,Y resolution] Zooming is the function to enlarge or reduce the image from 400 dpi. X and Y independent variable resolutions are supported. This zooming is processed in grayscale, so smooth and non-distorted images can be obtained even when halftone is applied. NOTICE: Resolution is converted by an electrical method.
Storage and Installation Chapter 4 Storage and Installation 4.1 Packaging box and storage condition Physical specification of the packaging box are listed in Table 4.1 Table 4.1 Physical specifications of the packaging box Item Size of the box Specification Width 670 mm Depth 915 mm Height 375 mm Remarks Weight of the box 29 kg Doggy door Yes (size : 285 × 50 mm) Label for scanner identification Attached on the side of the packaging box. See Figure 4.
Storage and Installation 4.2 Components in the packaging box Following components are included in the packaging box. Note that the power cable is deferent between the scanner for USA/North America and the scanner for Europe. Table 4.2 The components in the box Name of the component Description Quantity per box USA, North America version Europe version Scanner 1 1 Inspection report 1 1 Operator’s Guide 1 1 Manual Cleaning and maintenance 1 1 Manual Pad ASY 1 1 See Section 5.
4.3 Installation procedure 2) Look at the bottom of the scanner to find the carrier fixing bracket. 3) Remove the screw, and remove the carrier fixing bracket from position A . Then install the carrier fixing bracket at position B .
Storage and Installation 4.3.2 Connections Connect the cables as follows; (1) Set the power switch OFF. (see Figure 1.1) (2) Connect the power cable. Connect the power cable to the power inlet (see Figure 1.1) on the back of the image scanner. Connect the other end of the power cable to a power outlet. (3) Connect the interface cables Connect the interface cables to the interface connectors (see Figure 1.1) and fasten the cables with catches or screws.
4.3 Installation procedure 4.3.4 SCSI-ID setting The default of SCSI-ID is 5. SCSI-ID is set by Setup mode of operator panel. The procedure to set SCSI ID is; (1) Turn the power ON by pressing “I” side of the power switch (see Figure 1.1). The scanner displays “Scanner Ready” on the lower line of LCD. Scanner Ready (2) > Then press “Next” button. The scanner displays “Mode select 1”. Mode select 1 Manual mode change? (3) Then press “Next” button.
Chapter 5 Operation and Maintenance 5.1 Operator panel operation 5.1.1 Operator panel function Operator pane has one LCD, six buttons and three LEDs as follows. The functions of each button and LED are shown in Table 5.1. Paper counter (↑) Scanner Ready 50 100000 (↓) Previous Next ç è (STOP) Exit 0 Power (START) 0 READ Enter 0 Check Abrasion counter Table 5.
Operation and Maintenance 5.1.2 Manual Feed mode In this mode, the scanner waits for some predetermined time without issuing “Hopper empty” after all documents are read. This predetermined time (time-out limit) is specified by Setup mode. Therefore you can set next documents on ADF chute without interrupting reading operation. The procedures for setting manual feed mode are as follows. (1) Turn the power ON by pressing “I” side of the power switch (see Figure 1.1). The scanner displays “Scanner Ready”.
5.1 Operator panel operation 5.1.3 Setup mode Operator can set following items by Setup mode. Table 5.3 Functions of Setup mode No Item Description Selectable parameters Default 1 Double feed check Double feed is detected by checking the document length one by one. Tolerance: No IPC pre-setting Scanner automatically sets the recommended reading parameters. Five sets of recommended parameters are available.
Operation and Maintenance The procedures for setting Setup mode are as follows. (1) Turn the power ON by pressing “I” side of the power switch (see Figure 1.1). Then the scanner displays “Scanner Ready” Scanner Ready (2) > Press “Next” button. Then the scanner displays “Mode select 1”, Mode select 1 M Manual mode change? (3) Press “Next” button again. Then the scanner displays “Mode select 2” Mode select 2 ! Setup mode Change? 5-4 (4) Press “Enter” button. Now the scanner is in Setup mode.
5.1 Operator panel operation M3 S31 Enter Next Previous S41 M4 Enter Mode select 2 ! Setup mode Change? Next To M1 (Figure 5.
Operation and Maintenance 5.1.4 Function of CE mode CE mode is available only for maintenance person, so the details of the CE mode are shown in the maintenance manual of this scanner. In this section only the items of the CE mode is shown in table 5.4 as a reference. Table 5.4 Function of CE mode Items Features T01 Single Test feed Scanner tests the FB or ADF single sheet reading. Scanner tests not only the feeding but also AGC control of carrier unit and Optical unit.
5.2 Document setting 5.2 Document setting 5.2.1 Document setting on ADF paper chute The procedures for setting the document on ADF are as follows. NOTICE: Note that the documents follows section 2.6 “Document Specifications”. (1) Pull up the ADF paper chute as follows: Hold the document feeder with one hand and pull up the ADF paper chute with the other hand to set the shaft in position B.
Operation and Maintenance 5-8 (3) Angle the document edges as follows to avoid double feed. a) Lift the documents holding the both ends with both hands. b) Hold the documents tightly with your left hand, and bend the documents as shown in B. c) Grip tightly with your right hand, loosen the grip of your left hand, and straighten the documents as shown in C.
5.2 Document setting NOTICE: (6) The number of the documents to be placed on ADF paper chute is limited as described in section 2.6.3. Start read operation. After reading, remove the documents from the stacker. NOTICE: If a wrong document size or mode is selected, the document may not be read correctly. For example; - Portrait and landscape setting - If 3mm of the leading edge of the document is not white or drop-out color, set White level following OFF.
Operation and Maintenance 5.2.2 Document setting on flatbed The procedures for setting the document on ADF are as follows. (1) (2) (3) (4) (5) (6) 5-10 Open the document cover. Place the document with face down on the document bed. Correct any curled or folded parts of the document. Position the long side (in landscape mode) or the short side (in portrait mode) of the document to the left side of the document bed. Position the left top corner of the document to the reference mark.
5.3 Cleaning 5.3 Cleaning Cleaning is important to keep stable scanning. Cleaning section, tool and cycle are explained in Table 5.5. Table 5.
Operation and Maintenance 5.4 Consumable Operator needs to replace following parts. It is recommended to use abrasion counter on the operator panel and schedule the replacement of parts. Parts to be replacement cycle are as follows. The parts replacement procedures are described in the Operator’s Guide. Table 5.
5.4 Consumable (Two rollers are included) Figure 5.
Chapter 6 Error display and Recovery 6.1 Error display 6.1.1 Temporary error (1) Hopper empty (2) Paper Empty This message is displayed if there is no more paper on the ADF paper chute during a read operation in ADF mode. Fill the ADF paper chute with paper. To enable the read operation, press the stop button Paper Jam This message is displayed if a document is jammed in the ADF. See section 6.2 for removing jammed documents.
Error display and Recovery (3) FB mechanism alarm Mechanical Alarm (4) Motor fuse alarm Motorfuse Alarm (5) Lamp fuse alarm Lampfuse Alarm (6) Image transfer alarm Image Transfer Alarm (7) Memory alarm Memory Alarm (8) EEPROM alarm EEPROM Alarm 6.2 Jam clearance If documents jam while being fed by the ADF, remove the jammed documents as follows. 6-2 (1) Remove the documents from the ADF paper chute. (2) Pulling the ADF lever, open the ADF unit. (3) Remove the jammed documents.
Figure 6.
Appendix A Scanner Interface 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.
Scanner Interface (4) Statuses The following statuses are supported by this scanner: • • • • (5) BUSY CHECK CONDITION GOOD RESERVATION CONFLICT Messages The following messages are supported by this scanner: (6) • ABORT • BUS DEVICE RESET • COMMAND COMPLETE • DISCONNECT • IDENTIFY • INITIATOR DETECTED ERROR • MESSAGE PARITY ERROR • MESSAGE REJECT • NO OPERATION • RESTORE POINTERS • SAVE DATA POINTER • SYNCHRONOUS DATA TRANSFER REQUEST Others The bits and fields for which the word “Reserved” is describ
A.1 Physical Specifications (2) Physical specifications Item Table A.1 SCSI physical specifications Specification Driver/Receiver Single-ended Connector 50 Contact Shielded Low Density Cable Signal level Max. cable length 6m Characteristic impedance 132 Ω Cable type 25 signal twisted pair Stub wire ≤ 0.1 mm (from main cable in scanner to internal wiring) Terminator See the figure under (3).
Scanner Interface (4) Pin assignments Signal name Pin number Signal name GND 1 26 -DB (0) GND 2 27 -DB (1) GND 3 28 -DB (2) GND 4 29 -DB (3) GND 5 30 -DB (4) GND 6 31 -DB (5) GND 7 32 -DB (6) GND 8 33 -DB (7) GND 9 34 -DB (P) GND 10 35 GND GND 11 36 GND Reserved 12 37 Reserved (Open) 13 38 TERMPWR Reserved 14 39 Reserved GND 15 40 GND GND 16 41 -ATN GND 17 42 GND GND 18 43 -BSY GND 19 44 -ACK GND 20 45 -RST GND 21 46 -MS
A.2 SCSI Bus A.2 SCSI Bus A.2.1 System 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.
Scanner Interface A.2.2 Bus signals Initiator Signal name Type of signal Target Data DB0 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 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.2 SCSI Bus A.2.3 Bus 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 A.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.
Scanner Interface Table A.3 Method of driving the interface signal OR connection NON-OR connection False No signal is driven by any SCSI device. Signal status is made false by the termination resistor circuits. True A SCSI device drives the signal true. The signal is driven false by a certain SCSI device (initiator or target), or is not driven by any SCSI device. A.
A.3 Bus Phases Table A.4 Signal delay times definition (1/2) No. Item Time Definition 1 Arbitration delay 2.4 µs The 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. 2 Assertion period 90 ns The minimum time that a target shall assert REQ (or REQB) while using synchronous data transfers.
Scanner Interface Table A.4 Signal delay times definition (2/2) No. Item 10 Disconnection delay 200 µs The minimum time that a target shall wait after releasing BSY before participating in an ARBITRATION phase when honoring a DISCONNECT message from the initiator 11 Hold time 45 ns The minimum time added between the assertion of REQ (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.
A.3 Bus Phases A.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. 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 settle delay bus clear delay BSY SEL others BUS FREE phase A.3.
Scanner Interface ARBITRATION phase bus settle delay bus free delay BSY SCSI SEL DB bus set delay arbitration delay bus clear delay + bus settle delay ∇¤ BSY bus free delay ID7 SEL DB(7) bus clear delay bus set delay ∇¤ BSY bus free delay ID3 SEL DB (3) arbitration delay BSY ∇¤ ID1 bus free delay SEL DB (1) ID7: Succeeds in ARBITRATION ID3: Detects the SEL signal of other SCSI unit ID1: Detects the SCSI ID with higher priority than itself ∇: Appendix A-12 The point at which the BUS FRE
A.3 Bus Phases A.3.3 SELECTION 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. 1) 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.
Scanner Interface A.3.4 RESELECTION 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).
A.3 Bus Phases A.3.5 INFORMATION 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 A.5).
Scanner Interface INFORMATION INFORMATION TRANSFER phase bus settle delay Min. 0ns TRANSFER phase bus settle delay BSY SEL C/D, MSG, I/O REQ ACK DB 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.
A.3 Bus Phases 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. bus settle delay deskew delay + cable skew delay deskew delay + cable skew delay BSY SEL C/D, MSG I/O REQ ACK DB 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.
Scanner Interface bus settle delay deskew delay + cable skew delay deskew delay + cable skew delay BSY SEL C/D, MSG I/O REQ ACK DB (2) Synchronous information transfer Synchronous data transfer is optional and is only used data phases. It shall be used in a data phase if a synchronous data transfer agreement has been established (see 4.6.2. (13)). The agreement specifies the REQ/ACK offset and the minimum transfer period.
A.3 Bus Phases a. Synchronous transfer from target to initiator If the I/O signal is true (transfer to the initiator), the target shall first drive the DB (70, P) signals to their desired values, wait at least one deskew delay plus one cable skew delay, then assert the REQ signals. The DB (7-0, P) signals shall be held valid for a minimum of one deskew delay plus one cable skew delay plus one hold time after the assertion of the REQ signal.
Scanner Interface A.4 Commands 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. (a) The identification number of logical unit (LUN: logical unit number) is B’000’. If this scanner receives a value other than 000, it returns error information as follows: (b) • Status key: B’00001’ (CHECK CONDITION) • Sense key: X’5’ (ILLEGAL REQUEST) Relative addressing is not supported.
A.4 Commands Table A.
Scanner Interface A.4.1 RESERVE UNIT command The following table shows the normal sequence of the RESERVE UNIT command when used with this scanner.
A.4 Commands 4) A hardware reset condition is detected. The condition in effect after 3) or 4) is indicated by a sense key X’6’ (UNIT ATTENTION), which is returned in response to a subsequent command.
Scanner Interface A.4.2 RELEASE UNIT command The following table shows the normal sequence of the RESERVE UNIT command when used with this scanner.
A.4 Commands a. TP (third party): Byte 1 As this scanner does not support the 3rd party reservation option, setting this bit to 1 causes the target to return the following error information: b. • Status: B’00001’ (CHECK CONDITION) • Sense key: X’5’ (ILLEGAL REQUEST) TPID (third party device ID): Byte 1 This scanner ignores TPID. A.4.3 INQUIRY command The following table shows the normal sequence of the INQUIRY command when used with this scanner.
Scanner Interface 7 6 5 4 3 2 1 0 Operation code X’12’ Byte 0 1 (Reserved) Logical unit number 2 Page code 3 (Reserved) 4 Allocation length 5 Control byte EVPD a. EVPD (enable vital product data) : Byte 1 b. The scanner returns the Standard inquiry data, if this bit is 0. If this bit is 1 and Page code is X’F0’, M3093DG returns the Vital product data. Page code: Byte 2 The scanner supports page code for VPD page number specification. This is effective when EVPD is set to 1.
A.
Scanner Interface c. Removable medium (RMB) : Byte 1 This scanner does not support RMB. This scanner returns B’0’. d. Device type qualifier: Byte 1 This scanner does not support this field. This scanner always returns B’0000000’. e. ISO version, ECMA version, ANSI approved version: Byte 2 Indicates the version number of the governing standard. This scanner returns X’02’ (SCSI2). f.
A.
Scanner Interface - Peripheral device type: Byte 0 Indicates the type of device under control of the target. This scanner returns X'06' (scanner). - Page number: Byte 1 This scanner returns X'F0'. - J version: Byte 2 Indicates the JBMS or JIS version. This scanner returns X'02' (version 0.2). - Page length: Byte 4 - Indicates the size of the page data. When the total byte length is m, the page length is m - 5. The scanner returns X'5F'.
A.4 Commands - Minimum X resolution: Bytes E and F Indicates the minimum resolution in the horizontal scanning direction. The scanner returns following value. - Without IPC option With IPC option X’0064’ (100 dpi) X’0032’ (50 dpi) Minimum Y resolution: Bytes 10 and 11 Indicates the minimum resolution in the vertical scanning direction. The scanner returns following value.
Scanner Interface Byte Bit 1C Bit 0 Description Data overflow This bit is set to 1 for an image scanner in which an overflow can occur. The bit is set to 0 for an image scanner in which an overflow does not occur. Bit 1 Monochrome function (black and white) This bit is set to 1 if the image scanner has the monochrome (black and white) function. The bit is set to 0 if the image scanner does not have this function.
A.
Scanner Interface - Physical function: Bytes 20 and 21 7 6 5 4 3 2 1 0 0 Byte 20 Operator panel Barcode Endorser (stamp) Duplex Trancepareny 1: The function is installed. 0: The function is not installed. Flatbed Automatic document feeder The scanner returns B'11010000'. Byte 21 7 6 5 4 0 0 0 0 3 2 1 0 Bit count for A-D converter The scanner returns B'00001000'. - Buffering capability: Bytes 22 to 25 Indicates the capacity of the image memory installed in the scanner.
A.
Scanner Interface - Implemented vendor-specific command: Bytes 2A to 31 A vendor-specific command consists of four field, each consisting of two byte. The bit location of each field indicates the lower four bits of a command code supported by the scanner.
A.4 Commands - Implemented vendor unique parameter: Bytes 32 to 51 Of the vendor unique parameters defined by the SET WINDOW command, this indicates only the supported parameter. The implemented vendor unique parameter consist of of 16 fields, each consisting of two bytes. The bit location of each field indicates the lower four bits of the vendor unique parameter code (vendor unique ID) supported by the scanner.
Scanner Interface e) Number of resident dither patterns and number of registrable dither patterns: Byte 56 Indicates the number of internal dither patterns and the number of dither patterns that can be downloaded. B'nnnnXXXX': Number of internal dither patters (upper 4 bits) B'XXXXnnnn': Number of dither patterns that can be downloaded (lower 4 bits) The scanner returns X'48'.
A.4 Commands h) Compression function: Bytes 5A and 5B Indicates the supported compression function. Byte 5A 5B Bit Description 1XXXXXXX b MH X1XXXXXX b MR XX1XXXXX b MMR XXX1XXXX b JBIG XXXX1XXX b JPEC Base line system XXXXX1XX b JPEG Extended system XXXXXX1X b JPEG Independent function XXXXXXX1 b Reserved 00000000 b Reserved The scanner returns X'E000'. i) Endorser function: Bytes 5C to 5D Indicates the supported endorser function.
Scanner Interface j) Bar code function: Bytes 5E, 5F, 60, and 61 Indicates the supported bar code function.
A.4 Commands A.4.4 REQUEST SENSE command The following table shows the normal sequence of the REQUEST SENSE command when used with this scanner.
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.
A.4 Commands b. Error code: Byte 0 Differentiates between current error or deferred error. This scanner returns X’70’ (“CURRENT ERROR” ). c. Segment number: Byte 1 This scanner does not support SEGMENT NUMBER. This scanner returns X’00’. d. FM (file mark) : Byte 2 This scanner does not support FM. This scanner returns B’0’. e. EOM (end of medium) : Byte 2 Indicates the completion of window reading: 1 when completed, 0 when not completed f.
Scanner Interface Sense key 0 Status of logical unit NO 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. 2 NOT READY The specified logical unit cannot be accessed. 3 MEIDUM ERROR A command has terminated because of a trouble with the medium.
A.4 Commands l. Sense key Additional sense code Additional sense code qualifier 0 00 00 No-sense 2 00 00 Not ready 3 80 01 Jam 3 80 02 ADF cover open 3 80 03 Document chuter empty of paper 3 80 04 Detects job separation sheet (See Appendix A.
Scanner Interface A.4.5 SEND DIAGNOSTIC command The following table shows the normal sequence of the SEND DIAGNOSTIC command when used with this scanner.
A.4 Commands 7 6 5 4 3 2 1 0 SLFTST D0 U0 Operation code X’1D’ Byte 0 1 Logical unit number PF 2 (Reserved) (Reserved) 3 (MSB) Parameter list length 4 (LSB) 5 Control byte a. PF (page format) : Byte 1 This scanner ignores PF. b. SLFTST (self test) : Byte 1 This value is 1 on this scanner. c. DO (device offline), UO (unit offline) : Byte 1 This scanner ignores DO and UO. d. Parameter list length: Bytes 3 to 4 This scanner does not support parameter list length.
Scanner Interface A.4.6 TEST UNIT READY command The following table shows the normal sequence of the TEST UNIT READY command when used with this scanner.
A.4 Commands (2) Response This scanner reports as follows: a. Normal: • • b. B’00000’ (GOOD) X’0’ (NO SENSE) Abnormal: • • A.4.7 Status: Sense key: Status: Sense key: B’00001’ (CHECK CONDITION) X’0’, X’2’, X’3’, X’4’, X’5’, X’6’, or X’B’ SET WINDOW command The following table shows the normal sequence of the SET WINDOW command when used with this scanner.
Scanner Interface SET WINDOW command: COMMAND phase (initiator → target) (1) 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 Operation code X’24’ Byte 0 Logical unit number 1 (Reserved) 2 (Reserved) 5 6 (MSB) Transfer length 7 (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.4 Commands Window data: DATA OUT phase (initiator → target) (2) 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.
Scanner Interface 7 Byte 0 1 6 5 4 3 Window identifier 2 1 0 Auto (Reserved) 2 (MSB) 3 X resolution 4 (MSB) 5 Y resolution (LSB) (LSB) 6 (MSB) Upper left X (LSB) 9 A (MSB) Upper left Y (LSB) D E (MSB) Width (LSB) 11 12 (MSB) Length (LSB) 15 16 Brightness 17 Threshold 18 19 Contrast Image composition 1A Bit per pixel 1B (MSB) 1C 1D RIF 1E (MSB) 1F Halftone pattern (LSB) (Reserved) Padding Bit ordering (LSB) 20 Compression type 21 Compression argument 22 (Reserved) 27 2
A.4 Commands (a) Window identifier: Byte 0 Specifies a unique value that identifies a window. The value must be 0 (00h), if the window data is front-side. The value must be 128 (80h), if the window data is back-side. If two or more window identifiers are specified for a single set of window data, the most recently specified identifier is validated. • • (b) Status: Sense key: B’00001’ (CHECK CONDITION) X’5’(ILLEGAL REQUEST) Auto: Byte 1 This scanner does not support Auto.
Scanner Interface If the ULX or ULY value is outside the maximum scan area of this scanner, this scanner returns the following error information: (e) • Status: B’00001’ (CHECK CONDITION) • Sense key: X’5’ (ILLEGAL REQUEST) 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.
A.4 Commands iii) The memory installed is enough for reading. For this scanner, the origin of the window is at the location shown below. The Y0-dot offset affects the vertical scanning direction, and the X0-dot offset affects the horizontal scanning direction. Take these offsets into account when specifying the X and Y coordinates of the top left corner of the window. Origin (ULX, ULY) = (0, 0) Y0 X0 Original document to be read The offset values must be within the ranges listed below.
Scanner Interface (g) Threshold: Byte 17 Specifies the threshold value for the line art (Byte 19=’00’ Value (Hex) 00 Brightness Default: • without IPC-2 or IPC-2D option - • with IPC-2 or IPC-2D option - (h) Same as value X’80’. 01 Brightest 80 Normal FF Darkest Dynamic threshold, or simplified dynamic threshold Contrast: Byte 18 Specifies the contrast value for the line art or the halftone. Value (Hex) (i) Brightness 00 Default: same as value X’80’.
A.4 Commands If reserved value is specified, this scanner returns the following error information as follows: (j) • Status: B’00001’ (CHECK CONDITION) • Sense key: X’5’ (ILLEGAL REQUEST) Bit per pixel: Byte 1A Specifies the number of bits per pixel. Simplex reading supports X’01’ and X’08’, so X’00’ and X’02’ to X’FF’ except for X’08’ are reserved. Duplex reading supports only X’01’, X’00’ to X’FF’ except for X’01’ are reserved.
Scanner Interface If reserved value is specified, this scanner returns the following error information as follows: (l) • Status: B’00001’ (CHECK CONDITION) • Sense key: X’5’ (ILLEGAL REQUEST) RIF (reverse image format) : Byte 1D, bit 7 This bit is used when the binary image data output is being reversed.
A.4 Commands (p) Vender unique parameter (byte 28 and after) 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.
Scanner Interface • γ pattern: Byte 29 Specifies the γ pattern number for the line art or the halftone. γ pattern Value (Hex) 00 Default This scanner applies “Normal”.
A.4 Commands • Image emphasis: Byte 2B This scanner is limited to three levels of emphasis and one level of smoothing.
Scanner Interface • Variance rate: byte 2E Specifies variance rate for simplified dynamic threshold.
A.4 Commands • DTC mode: byte 2F X’A6’ is set when the power is turned on. This byte is valid when IPC-2D or IPC-3D option is installed, and byte 3E is X’40’. MSB 7 LSB 6 5 4 3 2 1 0 DTC Threshold 000 001 010 011 100 101 110 111 curve Light For OCR (Darken more and more) Dark Dark Light For Image scanner Gradation 00 Ordinary image 10 High contrast image (Ex.
Scanner Interface • DTC mode: byte 30 X’20’ is set when the power is turned on. This byte is valid when the IPC-2D or IPC-3D is installed, and byte 3E is X’40’. MSB LSB 7 6 0 0 5 4 3 2 1 0 (Dynamic threshold mode setting) Binary data when the threshold equals video data to be binary-coded.
A.4 Commands • White level follower: byte 32 Value (Hex) Meaning 00 Default. White level follower depends on the IMAGE COMPOSITION. IMAGE COMPOSITION 01 to 7F 80 White level follower Line art (X’00’) Enables white level follower Halftone (X’01’) Disable Gray scale Disable (Reserved) Enables white level follower. 81 to BF C0 (Reserved) Disables white level follower.
Scanner Interface • Paper size: bytes 35 (front-side window data only) Specifies a paper size when the ADF is used. This parameter is valid when the ADF is used. When the flatbed being used, this parameter is ignored. When X’00’ is specified to this byte, the paper size setting is invalidated. Therefore, the scanner reads with the paper size detected by the paper width sensor.
A.4 Commands If undefined value is specified this scanner returns the following error information: • - Status: B’00001’ (CHECK CONDITION) - Sense key: X’5’ (ILLEGAL REQUEST) Paper width X, paper length Y: bytes 36 to 39, 3A to 3D (front-side window data only) 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. X must fit following condition X ≤ 14034 (@ 1/1200 in.
Scanner Interface • DTC SELECTION: byte 3E DTC SELECTION BYTE b7 Byte 3E b6 b5 b4 b3 b2 b1 b0 Reserved Reserved DTC SELECTION 00: Default; Simplified DTC, if IPC-2D or IPC-3D optioned. 01: Dynamic threshold 10: Simplified DTC, if IPC-2D or IPC-3D optioned. 11: Reserved If reserved value is specified, this scanner returns the following error information as follows: - Status: B’00001’ (CHECK CONDITION) - Sense key: X’5’ (ILLEGAL REQUEST) Note: If simplified dynamic threshold is selected.
A.4 Commands A.4.8 SET SUBWINDOW command The following table shows the normal sequence of the SET SUBWINDOW command when used with this scanner.
Scanner Interface SET SUBWINDOW command: COMMAND phase (initiator → target) (1) 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.
A.4 Commands Note: Front-side subwindow or back-side subwindow is specified by subwindow identifier. This scanner can use both front-side and back-side subwindow data. If the scanner uses front-side and back-side subwindow at a time, those subwindow data must be set by on SET SUBWINDOW command. Up to four subwindows #1 #2 #4 Subwindow descriptor block Header a. Header Subwindow data (header) is shown in the following illustration.
Scanner Interface 7 6 5 4 3 2 1 0 Subwindow identifier Byte 0 1 (Reserved) 5 6 (MSB) Upper left X (LSB) 9 A (MSB) Upper left Y (LSB) D E (MSB) Width (LSB) 11 12 (MSB) Length (LSB) 15 16 Brightness 17 Threshold 18 Contrast 19 Image composition 1A Bit per pixel 1B (MSB) 1C 1D RIF Halftone pattern (LSB) (Reserved) Padding type 1E (Reserved) 27 28 Vender unique parameter n (a) Subwindow identifier: Byte 0 Specifies a unique value that identifies a subwindow.
A.4 Commands If the subwindow is front-side of the document, the value must be; 0 to 3 If the subwindow is back-side of the document, the value must be; 0 to 3 When the value does not fit this condition, the scanner returns the following error information: • • (b) Status: Sense key: B’00001’ (CHECK CONDITION) X’5’ (ILLEGAL REQUEST) 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.
Scanner Interface Example: Main Window Sub window ← Overlapped portion Sub window (d) Brightness: Byte 16 Specifies the brightness for half tone. For details, see the SET WINDOW command. (e) Threshold: Byte 17 Specifies the threshold value for line art. For details, see the SET WINDOW command. (f) Contrast: Byte 18 Specifics the contrast value for half tone or line art. For details, see the SET WINDOW command. (g) Image composition: Byte 19 Specifies the type of image to be read.
A.4 Commands (j) RIF (reverse image format): Byte 1D This bit is used to reverse the binary image data output. 0: 1: (k) Output is not reversed Output is reversed 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.
Scanner Interface • Outline extraction: byte 2A Specifies the outlining for the subwindow. For details, see the explanation of the SET WINDOW command. • Image emphasis: byte 2B Specifies the emphasis for the subwindow. For details, see the explanation of the SET WINDOW command. • Automatic separation: byte 2C Specifies the automatic separation for the subwindow. For details, see the explanation of the SET WINDOW command.
A.4 Commands A.4.9 OBJECT POSITION command The following table shows the normal sequence of the OBJECT POSITION command when used with this scanner.
Scanner Interface 7 6 5 4 3 2 1 0 Operation code ‘X31’ Byte 0 1 Logical unit number (Reserved) Position type 2 (MSB) (Count) 3 (LSB) 4 5 (Reserved) 8 9 Control byte a. Position type: byte 1 Specifies positioning functions Bit 2 Bit 1 Bit 0 POSITION TYPE 0 0 0 Unload object 0 0 1 Load object This scanner supports the unload object and load object functions only.
A.4 Commands 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: (2) • Status: B’00001’ (CHECK CONDITION) • Sense key: X’5’ (ILLEGAL REQUEST) Response This scanner reports the OBJECT POSITION command as follows: a. Normal The GOOD status is returned. b. • Status: B’00001’ (GOOD) • Sense key: X’5’ (NO SENSE) Abnormal The CHECK CONDITION status is returned and sense data is created.
Scanner Interface (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.
A.4 Commands A.4.10 SEND command The following table shows the normal sequence of the SEND command when used with this scanner.
Scanner Interface SEND command: COMMAND phase (initiator → target) (1) 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 Byte 0 4 3 2 1 0 Operation code X’2A’ 1 Logical unit number (Reserved) 2 Transfer data type 3 (Reserved) 4 (MSB) RelAdr Transfer identification 5 (LSB) 6 (MSB) 7 Transfer length 8 (LSB) 9 Control byte a.
A.4 Commands (2) SEND data (dither pattern): DATA OUT phase (initiator → target) 7 6 5 4 3 2 1 0 Byte 0 1 (Reserved) 2 3 4 (MSB) X-direction dither matrix size 5 (LSB) 6 (MSB) Y-direction dither matrix size 7 (LSB) 8 (Reserved) 9 A Dither matrix data B a. Dither matrix size Specifies the size of dither matrix to be downloaded. This scanner supports 8 x 8. If any other value is specified, this scanner returns the following error information: b.
Scanner Interface Example: d11 d12 d13 d14 d15 d16 d17 d18 d21 d22 d23 d24 d25 d26 d27 d28 d31 d32 d33 d34 d35 d36 d37 d38 d41 d42 d43 d44 d45 d46 d47 d48 d51 d52 d53 d54 d55 d56 d57 d58 d61 d62 d63 d64 d65 d66 d67 d68 d71 d72 d73 d74 d75 d76 d77 d78 d81 d82 d83 d84 d85 d86 d87 d88 DATA OUT phase 0 1 2 3 4 5 6 7 8 9 00 00 00 00 00 08 00 08 00 00 Appendix A-84 A B C D E F 10 11 d11 d12 d13 d14 d15 d16 d17 d1
A.
Scanner Interface • γ pattern data The γ pattern data must be transferred in the following order; Transfer order → 1 X Y → 00 2 3 4 5 6 7 8 9 10 11 12 01 02 03 04 05 06 07 08 09 0A 0B 251 252 253 254 255 256 FA FB FC FD FE FF → Conversion density corresponding to density X 256 bytes (Black) FF Y Conversion density 00 00 Scanner read density FF (Black) X Appendix A-86
A.4 Commands A.4.11 READ command The following table shows the normal sequence of the READ command when used with this scanner.
Scanner Interface 7 6 5 Byte 0 4 3 2 1 0 Operation code X’28’ 1 Logical unit number (Reserved) 2 Data type code 3 (Reserved) 4 (MSB) RelAdr Data type qualifier 5 (LSB) 6 (MSB) 7 Transfer length 8 (LSB) 9 Control byte a. Data type code: Byte 2 Specifies the type of data to be transferred between the initiator and target. This scanner supports X’00’ (image data), X’80’ (pixel size), and X’81’ (detected paper information) only.
A.4 Commands If the actual transfer amount differs from the amount indicated by TL, the target creates the following status and sense data: • Status: B’00001’ (CHECK CONDITION) • Sense key: X’0;’ (NOSENSE) Sense data (VALID): Sense data (LI): 1 • (Difference in transfer amount) Sense data (INFORMATION) : TL indicated transfer amount subtracted by actual transfer amount Note: For the read sequence, see Section 4.7.3. (2) DATA IN phase (target → initiator) a.
Scanner Interface (a) For binary data 1 pixel: 1 bit 8 pixels: 1 byte Raster line 1 Raster line 2 Raster line j Byte 0 For mirror image Byte n 7 6 5 4 3 2 1 0 Byte 0 Pixel 1 Pixel 2 Pixel 3 Pixel 4 Pixel 5 Pixel 6 Pixel 7 Pixel 8 Byte n Pixel ij-7 Pixel ij-6 Pixel ij-5 Pixel ij-4 Pixel ij-3 Pixel ij-2 Pixel ij-1 Pixel ij 7 6 5 4 3 2 1 0 Byte 0 Pixel i Pixel i-1 Pixel i-2 Pixel i-3 Pixel i-4 Pixel i-5 Pixel i-6 Pixel i-7 Byte n Pixel m+8 Pixel m+7 Pixel
A.4 Commands Byte 0 (MSB) Number of X-direction pixels (LSB) 3 4 (MSB) Number of Y-direction pixels (LSB) 7 8 Detected Paper Width (Reserved) B C Detected Paper Length F • Number of X-direction pixels: Byte 0 to 3 X Resolution x Width Number of pixels = • 1200 Number of Y-direction pixels: Byte 4 to 7 Y Resolution x Length Number of pixels = 1200 This scanner calculates the numbers of X-direction pixels and Y-direction pixels of the image data to be transferred to the initiator.
Scanner Interface Note: If WINDOW ID = 0, pixel size data is calculated for front-side window. If WINDOW ID = 128, pixel size data is caluculated for both front-side and back-side windows. Example: Width Length Image data transfer is completed at this line. For the READ command, CHECK CONDITION is returned with ILI=0. c. Detected paper information (DATA TYPE CODE = X’81’) This scanner detects the paper size and the job separation sheet when OBJECT POSITION (load object) is received.
A.4 Commands • b7 B6 b5 Paper size: Byte 3 b4 b3 b2 b1 b0 Following size detected (*2) 0000: 0001: 0010: 0011: 0100: 0101: 0110: 0111: 1000: 1001: 1010: 1011: 1100: 1101: 1110: 1111: Reserved (*3) Notes: *1 *2 Undefined Undefined Undefined A3 or DL (*1) A4 or LT (*1) A5 Undefined Undefined Undefined Undefined Undefined Undefined B4 B5 Undefined Undefined 0: Portrait 1: Landscape (*2) 0: Paper size detected, when the paper is fed from ADF.
Scanner Interface A.4.
A.4 Commands • PF (PAGE FORMAT): Byte 1 When PF=1, it is indicated that the parameters of this command is fitted to the SCSI-2 specification. For this scanner, PF=1 only is supported. Otherwise, the following error is returned: • - Status: B’00001’ (CHECK CONDITION) - Sense key: X’5’ (ILLEGAL REQUEST) SP (SAVE PAGES): Byte 1 This scanner ignores SP. • PARAMETER LIST LENGTH: Byte 4 Specifies the number of bytes of the mode parameter list sent in the DATA OUT phase.
Scanner Interface • BLOCK DESCRIPTOR LENGTH: Byte 3 Specifies the length of the entire mode parameter descriptor block in units of byte. The page and vendor-specific parameter are not included. In this scanner, 0 is specified and the succeeding mode descriptor section shall be omitted. b.
A.4 Commands c. Mode page The mode page format is indicated for each page code. • Page code The PAGE CODEs supported in this scanner are as follows: Page code Description X’00’ Don’t care (IGNORE) X’01’ Reserved X’02’ Not supported X’03’ Not supported X’04’ to X’3B’ Reserved X’3C’ Auto size detection X’3D’ Lamp timer X’3E’ Job separation sheet X’3F’ Reserved Each page is described below.
Scanner Interface • ALD (Automatic Length Detection): Byte 3 The ALD bit specifies detected paper length replaces length value which has specified in Length field in Set Window Parameter. When this bit is 0, automatic length detection is disabled. When this bit is 1, automatic length detection is enabled. After the scanning, detected length (transferred line number) is set in Detected Paper Length field of Pixel Size Data. Example 1: Width Length Image data transfer is completed at this line.
A.4 Commands 2) Lamp timer PAGE (PAGE CODE X’3D’) 7 Byte 0 6 5 4 3 (Reserved) 2 1 0 Page code (X’3D’) 1 Parameter length (X’06’) 2 Lamp timer 3 to 7 7 (Reserved) • LAMP TIMER: Byte 2 The time during which the fluorescent lamp lights. 0: default (60 seconds). Up to 255 seconds can be set up in units of second.
Scanner Interface A.4.
A.4 Commands • DBD (disable block descriptor): Byte 1 When the DBD bit is 1, the target must not return the mode descriptor block in the Data In phase. When this bit is 0, the target may or may not return the block. This bit must be 0. • PC (page control): Byte 2 PC specifies the type of parameter returned, defined as follows: PC Parameter type 00 Current value 01 Changeable value 10 Default 11 Saved value Only 00 (current value) can be set.
Scanner Interface (2) Mode data: DATA IN phase (Target to Initiator) Mode parameter list data consists of a header, 0 or more than one descriptor block, and 0 or more than one page. a. Header Mode parameter data (header) is as follows: 7 6 5 Byte 0 4 3 2 1 0 Mode data length 1 2 Reserved 3 Block descriptor length • Mode data length: Byte 0 The length of available data to be successively transferred is specified in the mode data length in bytes. The mode data length itself is not included.
A.4 Commands • Number of blocks: Bytes 1 to 3 The number of logical blocks is specified fitted for the density code and block length. • Block length: Bytes 5 to 7 The block length specifies the length of the logical blocks in the block descriptor in bytes. Note: This descriptor is omitted. c.
Scanner Interface A.4.
A.4 Commands (2) Window list data: DATA OUT phase (Initiator to Target) The window list data parameter specifies the window ID for scanner reading. The scanner supports the following. a. Simplex reading specification Transfer length = 1 Window list data Byte 0 b.
Scanner Interface A.5 Status: STATUS phase (target → initiator) Each time a command is terminated, the target moves into the STATUS phase and returns a status byte to the initiator to report the completion of the command. Status byte 7 Byte 0 6 5 (Reserved) 4 3 2 Status byte code 1 0 (Reserved) The status supported by this scanner are summarized in the following table. Code 000000 Status of unit GOOD • 000001 00100 The command has successfully terminated.
A.6 Messages When a target is released from the BUSY status, it will not issue a notification of the release. Therefore, the initiator needs to check the status of units periodically and needs to issue the command again. A.6 Messages This section describes the detection of an ATN signal and explains the types of messages supported by this scanner. A.6.1 ATN detection The following table summarizes the timing at which this scanner detects an ATN signal. Phase *1 A.6.
Scanner Interface Code Message 00 COMMAND COMPLETE 05 INITIATOR DETECTED ERROR 06 ABORT 07 MESSAGE REJECT 08 NO OPERATION 09 MESSAGE PARITY ERROR 0C BUS DEVICE RESET 80 to FF IDENTIFY 04 DISCONNECT 02 SAVE DATA POINTER 03 RESTORE POINTERS *** SYNCHRONOUS DATA TRANSFER REQUEST Note: *** is Extended Message (1) COMMAND COMPLETE (X’00’) : MESSAGE IN phase (target → initiator) This message indicates that a command has been terminated and a valid status has been reported to the initia
A.6 Messages When this scanner receives the INITIATOR DETECTED ERROR message, this scanner enters the MESSAGE IN phase and sends the RESTORE POINTERS message to the initiator. Then this scanner returns to the original phase and makes a retry. After issuing the RESTORE POINTERS message, this scanner takes action as shown in the following table.
Scanner Interface Upon receiving the MESSAGE REJECT message, this scanner takes action as shown in the following table. Message rejected (5) Action COMMAND COMPLETE Moves to the BUS FREE phase. (It is not assumed as an error.) MESSAGE REJECT Responds the CHECK CONDITION status DISCONNECT The command execution is continued with connecting the SCSI bus (without disconnecting). SAVE DATA POINTER The command execution is continued with connecting the SCSI bus (without disconnecting).
A.6 Messages BUS DEVICE RESET (X’0C’) : MESSAGE OUT phase (initiator → target) (7) This message addresses any initiators that are operating, or waiting for operation, on the target. The message initializes those initiators by resetting their input/ output operations. The BUS DEVICE RESET message is transferred in the asynchronous mode. This scanner generates the UNIT ATTENTION condition to all initiators. After being initialized, the initiators move to the BUS FREE phase.
Scanner Interface The link will not be disconnected if bit 6 in the IDENTIFY message is 0. Also, it will not be disconnected if the IDENTIFY message is not issued in a given command sequence. For disconnect to occur therefore, bit 6 in the IDENTIFY message must be set to 1. When performing the disconnection during data transfer, this scanner sends the SAVE DATA POINTER message before sending the DISCONNECT message so that the data pointer is saved.
A.6 Messages SAVE DATA POINTER (X’02’) : MESSAGE IN phase (target → initiator) (10) This message is sent from the target to the initiator in order to save the current data pointer. The initiator saves the current data pointer value into the saved pointer for the logical unit currently connected.
Scanner Interface ASYNCHRONOUS DATA TRANSFER REQUEST (SDTR) message exchange shall be initiated by an SCSI device whenever a previously arranged data transfer agreement may have become invalid. The agreement becomes invalid after any condition which may leave the data transfer agreement in an indeterminate state such as: a) after a hard reset condition; b) after a BUS DEVICE RESET message and; c) after a power cycle.
A.7 Command Sequence A.7 Command Sequence This section describes the initial sequence and read sequence. A.7.
Scanner Interface A.7.2 Command sequence to read The following illustration is an example of the command sequence used with this scanner. All commands are assumed to be issued from a single initiator. (1) Normal sequence Initiator Target RESERVE UNIT Move to reserved status SET WINDOW - Example: Set up window 0 (frontside) and window 128 (back-side).
A.7 Command Sequence Example: Set up subwindows 0 and 1 (If it is necessary to set subwindows) in window 0 and 128. (M3093DE) Document Document Window 0 (front-side) Window 128 (back-side) Subwindow 0 Subwindow 1 Subwindow 1 Subwindow 0 Initiator SEND Target Dither pattern download (if necessary) OBJECT POSITION Load document on ADF (Not required if ADF is not used) SCAN (M3093DE) READ command sequence Set simplex or duplex reading Start scan/transfer See item 4.7.
Scanner Interface (2) When document size detection function is used RELEASE UNIT Release reserved status Initiator Target RESERVE UNIT OBJECT POSITION Read command (document size request) Move to reserved status Load document from ADF Report document size (Horizontal scanning direction is effective) SET WINDOW SET SUBWINDOW • • Set window parameters Calculate the number of scan lines covering all windows set up, in terms of lines effective after magnification change Set subwindow parameters (I
A.7 Command Sequence A.7.3 A.7.3.1 READ command sequence Single read (disconnect disabled) READ command Request image data (TL). (one page) Start scanning. BUSY status Data volume < TL or Issue command again. Command completion. Data volume ≥ TL Send image data. See Notes 1 and 2. Data volume: Image data volume in the scanner at that time.
Scanner Interface A.7.3.2 Single read (disconnect enabled) (M=0 before scanning) Request image data (TL). (one page) READ command Start scanning. Disconnect Data volume < Min(TL-M or 64 KB) Wait for following condition is satisfied. or TL-M > Data volume ≥ 64 KB (only for disconnected case) Reconnect Image data (64KB x N) Send image data. Saved data pointer or M = M + 64 KB x N Disconnect Wait for following condition is satisfied.
A.7 Command Sequence A.7.3.3 Multiple read (disconnect disabled) Request image data (TL). Issue command again. READ command BUSY status Start scanning. Data volume < TL Image data (TL) or Data volume ≥ TL Send image data. Next data request GOOD status Uncompleted reading (one page) CHECK CONDITION status or Completed reading (one page) See Notes 1 and 2.
Scanner Interface A.7.3.4 Multiple read (disconnect enabled) (M=0 before scanning) Request image data (TL). READ command Start scanning. Disconnect Data volume < Min(TL-M or 64 KB) (Wait for following condition is satisfied.) or TL-M > Data volume ≥ 64 KB (only for disconnected case) Reconnect Image data (64KB x N) Send image data.
A.7 Command Sequence Notes: 1. If the requested transfer volume is not equal to the actual data volume, this scanner informs the initiator that the requested transfer amount is abnormal. This is done as the scanner returns the status 00001 (CHECK CONDITION) and creates the following sense data: • ILI = 1 • INFORMATION = requested transfer amount (TL) - actual data amount This status is usually sent to the last READ command of the sequence.
Scanner Interface A.8 Status Transition of Logical Unit Power ON Reset BUS DEVICE RESET message GOOD status CHECK CONDITION status Status transition Other command UNIT ATTENTION status INQUIRY command REQUEST SENSE command UNIT ATTENTION reported/cleared) Range protected in reserved status NOT READY status Time to READY Other command Less than 60 seconds NOT READY status REQUEST SENSE Command (NOT READY Normal status READY status: Waiting Other command READ Reading Scan completed C. A.
A.9 Error Table A.9 Error Table The following table lists errors that may occur upon issue of each command.
Appendix B Interface deference between M3097DG and M3093DG The interface difference between M3093DG and M3093DG is explained in this appendix. Unless otherwise specified here, the interface of M3097DG is same as that of M3093DG. B.1 Product identification M3097DG and M3093DG return the following product identifications when requested by INQUIRY command. The product identification is specified by the bytes 10 to 1F of standard inquiry data. Table B.1.
Interface deference between M3097DG and M3093DG B.3 Buffering capability M3097DG and M3093DG return following buffering capability data at bytes 22 to 25 of the vendor unique parameter byte in vital product data. This data means the capacity of the image memory installed in the scanner. Table B.3.1 Physical function M3097DG M3093DG Without option X’01000000’ X’00400000’ With memory option X’02000000’ X’00C00000’ Ex. : X’0100000’ = 16 MB X’00800000’= 8 MB B.
B.6 Paper width X limitation of nonstandard size document B.5 Paper size specification Paper size data of ADF, byte 35 of vendor unique parameter, is deferent as follows. If this paper size is not specified, M3097DG reads as A3 size and M3093DG reads as A4 size.
Interface deference between M3097DG and M3093DG B.7 The limitation of grayscale output The lower two bit output of grayscale of M3093DG is limited when following setting specified. Table B.7.1 The limitation of grayscale output of M3093DG Setting γ pattern setting Grayscale output contrast setting 00 (Built-in, linear) 80 256 levels 00 (Built-in, linear) Other than 80 Lower two bit is 00 fixed Other than 00 XX Download pattern B.
B.9 General Remarks B.9 General Remarks These are not the interface deference between M3097DG and M3093DG, but may be useful information for the driver engineers. B.9.1 Command sequence At Flatbed or ADF (simplex) or ADF (duplex) reading, the following command sequence is recommended. FB reading : Set window (front) --> SCAN (front) --> READ (front) --> SCAN (front) --> READ (front) -> ...
Appendix C Throughput Following is not a guaranteed data but a tested result in Fujitsu. C.1 Offline test Document size Document direction Offline test throughput (PPM) *, ** 200 dpi 300 dpi 400 dpi 600 dpi A3 29.5 14.5 15.6 10.7 B4 32.9 23.1 17.7 12.2 A4 39.8 28.1 21.8 15.0 37.9 26.9 21.3 14.8 50.0 35.7 27.7 19.7 Double letter 28.6 20.0 15.2 10.4 Letter 40.1 28.1 21.5 15.0 Executive 41.7 29.4 21.1 16.1 A4 50.0 35.7 27.7 19.7 47.8 34.1 27.8 19.
• Test result: Document size/direction A4, portrait Letter, portrait A3, portrait Resolution Simplex (PPM) Duplex (IPM) * 200 37.4 71.5 300 26.8 46.6 400 20.8 33.8 600 14.5 20.3 200 39.3 75.4 300 28.3 49.6 400 22.1 35.7 600 15.4 21.5 200 28.5 44.1 300 20.1 31.2 400 15.5 22.1 600 TBD TBD * IPM: Image Per Minute (2) M3097DG • Host computer: FMV5166TE5 Pentium 166 MHz, RAM72MByte • SCSI board: AHA2940AU (Synchronous 10M) • Application: Image View (Ver 2.