home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
S2R10_C.ZIP
/
S2R10C14.SI
< prev
next >
Wrap
Text File
|
1990-03-09
|
59KB
|
1,195 lines
.RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
.PL 62
.LM 1
.RM 78
.MT3
.MB4
.HM1
.FM1
.PO10
.CW10
.SR2
.UJ0
.OJ0
.UL1
.heScanner Devices 3/9/90
.foSCSI-2 draft proposed American National Standard 14-# Revision 10c
.pn 1
.cp 30
.aw off
.pm 0
14. Scanner Devices
.aw on
.pm 3
.cp 20
.aw off
.pm 0
14.1. Mode∞ fo≥ Scanne≥ Devices
.aw on
.pm 3
ááScanne≥ device≤ generatσ ß digita∞ representatioε oµ tw∩ o≥ threσ ì
dimensiona∞ object≤ (e.g.¼ ß pagσ oµ text¼ ß photograph¼ o≥ ß piecσ oµ art)« ì
Thi≤ i≤ accomplisheΣ b∙ sensinτ thσ amoun⌠ oµ ligh⌠ reflecteΣ froφ thσ objec⌠ ì
anΣ generatinτ thσ digita∞ data« Thσ digita∞ datß caε theε bσ sen⌠ acros≤ thσ ì
SCS╔ bu≤ t∩ aε initiato≥ fo≥ furthe≥ processing.
ááTherσ arσ tw∩ type≤ oµ scanner≤ iε use╗ iε onσ type¼ thσ operation≤ anΣ ì
function≤ oµ thσ scanne≥ arσ fixed╗ iε thσ othe≥ type¼ thσ operation≤ anΣ ì
function≤ arσ programmablσ anΣ neeΣ t∩ bσ se⌠ u≡ prio≥ t∩ beinτ useΣ fo≥ ì
scanninτ objects.
ááThσ scanne≥ devicσ generate≤ thσ datß anΣ transfer≤ i⌠ iε accordancσ witΦ ì
thσ command≤ receiveΣ froφ thσ initiator« Thσ content≤ oµ thσ datß i≤ vendo≥ ì
specific¼ thereforσ thσ initiato≥ anΣ thσ scanne≥ mus⌠ kno≈ ho≈ t∩ usσ thσ ì
content≤ oµ thσ data.
ááScanner≤ generatσ ß digita∞ imagσ oµ aε objec⌠ iε ß tw∩ dimensiona∞ plane« ì
Thσ °-axi≤ dimensioε i≤ alonτ thσ cros≤-scaε directioε whicΦ i≤ perpendicula≥ ì
t∩ thσ directioε iε whicΦ ß scaε occurs« Thσ ∙-axi≤ dimensioε i≤ alonτ thσ ì
scaε directioε anΣ i≤ paralle∞ t∩ thσ directioε iε whicΦ ß scaε occurs« Thσ ì
coordinate≤ arσ measureΣ froφ thσ uppe≥ lef⌠ hanΣ corne≥ oµ thσ tw∩ ì
dimensiona∞ plane« Thσ °-axi≤ measuremen⌠ increase≤ iε ß positivσ manne≥ ì
goinτ froφ lef⌠ t∩ right« Thσ lef⌠ sidσ oµ thσ thσ tw∩ dimensiona∞ planσ ì
(i.e.¼ wherσ ° equal≤ zero⌐ i≤ calleΣ thσ basσ elemen⌠ line« Thσ ∙-axi≤ ì
measuremen⌠ increase≤ iε ß positivσ manne≥ goinτ froφ to≡ t∩ bottom« Thσ to≡ ì
sidσ oµ thσ tw∩ dimensiona∞ planσ (i.e« wherσ ∙ equal≤ zero⌐ i≤ calleΣ thσ ì
basσ line« Thσ scanninτ rangσ encompasse≤ thσ areß iε whicΦ thσ scanne≥ caε ì
operate« I⌠ i≤ thσ areß froφ thσ scaε linσ anΣ basσ linσ t∩ thσ maximuφ ° anΣ ì
∙ position« Thesσ convention≤ arσ adopteΣ t∩ aiΣ iε understandinτ thσ field≤ ì
withiε thσ commanΣ descripto≥ block≤ anΣ parameter≤ useΣ fo≥ scanne≥ devices« ì
A≤ sucΦ thi≤ i≤ ß conceptua∞ mode∞ anΣ ma∙ no⌠ accuratel∙ reflec⌠ thσ physica∞ ì
device.
ááThσ displacement≤ useΣ fo≥ positioninτ window≤ i≤ independen⌠ oµ thσ ì
resolutioε witΦ whicΦ ß windo≈ i≤ scanned« Thσ measuremen⌠ oµ displacement≤ ì
i≤ controlleΣ b∙ thσ scaε measuremen⌠ modσ parameters.
ááIε thσ even⌠ oµ ß scanne≥ automatiπ creatioε oµ suΓ-window≤ withiε ß defineΣ ì
windo≈ (i.e.¼ thσ aut∩ bi⌠ iε thσ DEFIN┼ WINDO╫ parameter≤ i≤ one)¼ onσ oµ thσ ì
followinτ response≤ i≤ appropriate:
áá1⌐ thσ initiato≥ ma∙ issuσ ß GE╘ WINDO╫ PARAMETER╙ commanΣ prio≥ t∩ an∙ ì
REA─ commands
áá2⌐ iµ thσ initiato≥ issue≤ ß REA─ commanΣ beforσ issuinτ ß GE╘ WINDO╫ ì
PARAMETER╙ command¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ status« Thσ IL╔ ì
anΣ valiΣ bit≤ iε thσ sensσ datß shal∞ bσ se⌠ t∩ one« Thσ initiato≥ shoulΣ ì
theε issuσ ß GE╘ WINDO╫ PARAMETER╙ command« Thi≤ featurσ i≤ usefu∞ wheε thσ ì
scanne≥ ha≤ thσ abilit∙ t∩ distinguisΦ betweeε imagσ anΣ tex⌠ datß anΣ t∩ ì
definσ window≤ accordingly.
.cp 10èááI⌠ ma∙ occu≥ tha⌠ ß scanne≥ devicσ temporaril∙ doe≤ no⌠ havσ resource≤ ì
availablσ t∩ managσ ß datß transfe≥ froφ thσ initiato≥ o≥ doe≤ no⌠ havσ datß ì
availablσ t∩ transfe≥ t∩ thσ initiator« Onσ oµ thσ followinτ response≤ i≤ ì
appropriatσ iε sucΦ ß case║
áá1⌐ ┴ CHEC╦ CONDITIO╬ statu≤ i≤ returneΣ anΣ thσ sensσ ke∙ i≤ se⌠ t∩ NO╘ ì
READ┘ witΦ thσ appropriatσ additiona∞ sensσ code« Thi≤ i≤ responsσ i≤ ì
applicablσ t∩ ß TES╘ UNI╘ READ┘ command.
áá2⌐ Thσ targe⌠ disconnect≤ unti∞ thσ resourcσ o≥ datß i≤ available¼ anΣ theε ì
rσ-connect≤ t∩ resumσ thσ operation.
áá3⌐ ┴ BUS┘ statu≤ i≤ returned.
.cp 4
ááIµ thσ scanne≥ devicσ determine≤ tha⌠ aε erro≥ o≥ exceptioε conditioε ha≤ ì
occurreΣ whilσ executinτ thσ SCS╔ commanΣ froφ thσ initiator¼ ß CHEC╦ ì
CONDITIO╬ statu≤ i≤ returned« ┴ REQUES╘ SENS┼ commanΣ caε theε bσ useΣ t∩ ì
determinσ additiona∞ informatioε regardinτ thσ erro≥ o≥ exceptioε condition.
.cp 44è.aw off
.pm 0
14.2. Command≤ fo≥ Scanne≥ Devices
.aw on
.pm 3
ááThσ command≤ fo≥ scanne≥ device≤ shal∞ bσ a≤ showε iε Tablσ 1┤-1.
.aw off
.pm 0
.cp 35
Table 14-1: Commands for Scanner Devices
==============================================================================
Operation
Command Name Code Type Section Page
------------------------------------------------------------------------------
CHANG┼ DEFINITIO╬ 40h ╧ 7.2.1
COMPARE 39h O 7.2.2
COPY 18h O 7.2.3
COPY AND VERIFY 3Ah O 7.2.4
GET DAT┴ BUFFE╥ STATUS 34h O 14.2.1
GET WINDOW 25h O 14.2.2
INQUIRY 12h M 7.2.5
LOG SELECT 4Ch O 7.2.6
LOG SENS┼ 4Dh O 7.2.7
MODE SELECT(6) 15h O 7.2.8
MODE SELECT(10) 55h O 7.2.9
MODE SENSE(6) 1Ah O 7.2.10
MODE SENSE(10) 5Ah O 7.2.11
OBJECT POSITION 31h O 14.2.3
READ 28h M 14.2.4
READ BUFFER 3Ch O 7.2.12
RECEIVE DIAGNOSTIC RESULTS 1Ch O 7.2.13
RELEASE UNIT 17h M 9.2.9
REQUEST SENSE 03h M 7.2.14
RESERVE UNIT 16h M 9.2.10
SCAN 1Bh O 14.2.5
SET WINDOW 24h M 14.2.6
SEND 2Ah O 14.2.7
SEND DIAGNOSTIC 1Dh M 7.2.15
TEST UNIT READY 00h M 7.2.16
WRITE BUFFER 3Bh O 7.2.17
==============================================================================
.aw on
.pm 3
ááKey║ ═ ╜ CommanΣ implementatioε i≤ mandatory.
áá ╧ ╜ CommanΣ implementatioε i≤ optional.
ááAl∞ othe≥ operatioε code≤ fo≥ scanne≥ device≤ arσ reserveΣ fo≥ futurσ ì
standardization.
.cp 30è.aw off
.pm 0
14.2.1. GET DAT┴ BUFFER STATUS Command
Table 14-2: GET DAT┴ BUFFER STATUS Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
░ ⁿ Operatioε Codσ (34h⌐ |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | Wait |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Reserved |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
-----|--- Allocation Length ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ GE╘ DAT┴ BUFFE╥ STATU╙ commanΣ (Tablσ 1┤-2⌐ provide≤ ß mean≤ fo≥ thσ ì
initiato≥ t∩ ge⌠ informatioε abou⌠ thσ datß buffer« Informatioε i≤ returneΣ ì
onl∙ fo≥ windo≈ identifier≤ fo≥ whicΦ ß SCA╬ commanΣ ha≤ beeε receiveΣ (seσ ì
14.1.9).
.cp 5
áá┴ wai⌠ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ responΣ immediately« ┴ ì
wai⌠ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ wai⌠ fo≥ imagσ datß t∩ bσ ì
availablσ beforσ returninτ scaε statu≤ data«
ááThσ datß buffe≥ statu≤ datß forma⌠ i≤ defineΣ iε Tablσ 1┤-3.
.cp 35è.aw off
.pm 0
Table 14-3: Datß Buffe≥ Status Format
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- ---|
1 | Datß Buffe≥ Statu≤ Length |
-----|--- ---|
2 | (LSB) |
-----|-----------------------------------------------------------------------|
3 | Reserved | Block |
==============================================================================
| Da⌠ß Buffe≥ Status Descriptor(s⌐ |
==============================================================================
0 | Window Identifier |
-----|-----------------------------------------------------------------------|
1 | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- ---|
3 | Availablσ Datß Buffer |
-----|--- ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | (MSB) |
-----|--- ---|
6 | FilleΣ Datß Buffe≥ |
-----|--- ---|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ datß buffe≥ statu≤ lengtΦ indicate≤ thσ lengtΦ iε byte≤ oµ thσ followinτ ì
scaε statu≤ datß tha⌠ i≤ availablσ t∩ bσ transferreΣ durinτ thσ DAT┴ I╬ phase« ì
Thσ datß buffe≥ statu≤ lengtΦ doe≤ no⌠ includσ itself« Thσ datß buffe≥ statu≤ ì
datß transferreΣ t∩ thσ initiato≥ include≤ zer∩ o≥ morσ datß buffe≥ statu≤ ì
descriptors« EacΦ descripto≥ return≤ informatioε fo≥ thσ windo≈ specifieΣ b∙ ì
thσ windo≈ identifier.
.cp 5
ááThσ blocδ bi⌠ specifie≤ thσ bufferinτ capabilitie≤ oµ thσ scanner« ┴ blocδ ì
bi⌠ oµ onσ indicate≤ tha⌠ thσ datß buffe≥ i≤ ful∞ anΣ al∞ imagσ datß mus⌠ bσ ì
transferreΣ t∩ thσ initiato≥ beforσ thσ scaε operatioε resumes« ┴ blocδ bi⌠ ì
oµ zer∩ indicate≤ tha⌠ datß buffe≥ i≤ no⌠ ful∞ anΣ scaε operation≤ caε ì
continuσ witΦ thσ availablσ datß buffe≥ space.
.cp 3
ááThσ availablσ datß buffe≥ fielΣ indicate≤ iε bytes¼ thσ amoun⌠ oµ buffe≥ ì
availablσ fo≥ transfer≤ froφ thσ initiator« Thi≤ fielΣ i≤ valiΣ onl∙ iε ì
scanner≤ witΦ thσ abilit∙ t∩ accep⌠ datß froφ aε initiato≥ fo≥ processing«
ááThσ filleΣ datß buffe≥ fielΣ indicate≤ thσ amoun⌠ oµ imagσ datß iε byte≤ ì
availablσ fo≥ transfe≥ t∩ thσ initiator.
.cp 30è.aw off
.pm 0
14.2.2. GET WINDOW Command
Table 14-4: GET WINDOW Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (25h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | Single |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Window Identifier |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- ---|
7 | Transfer Length |
-----|--- ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ GE╘ WINDO╫ commanΣ (Tablσ 1┤-4⌐ provide≤ ß mean≤ fo≥ thσ initiato≥ t∩ ì
ge⌠ informatioε abou⌠ previousl∙ defineΣ windows.
áá┴ singlσ bi⌠ oµ onσ specifie≤ tha⌠ ß singlσ windo≈ descripto≥ bσ returneΣ ì
fo≥ thσ specifieΣ windo≈ identifier« ┴ singlσ bi⌠ oµ zer∩ specifie≤ tha⌠ ì
windo≈ descriptor≤ bσ returneΣ fo≥ al∞ windo≈ identifier≤ tha⌠ werσ defineΣ b∙ ì
ß SE╘ WINDOW╙ commanΣ o≥ b∙ thσ targe⌠ iµ thσ automatiπ bi⌠ wa≤ se⌠ t∩ one«
.cp 6
ááThσ ge⌠ windo≈ datß shal∞ consis⌠ oµ ß heade≥ followeΣ b∙ onσ o≥ morσ windo≈ ì
descriptor≤ (seσ Table≤ 1┤-5¼ 1┤-6¼ anΣ 1┤-7)« EacΦ windo≈ descripto≥ ì
specifie≤ thσ location¼ sizσ anΣ scanninτ methoΣ useΣ fo≥ ß window«
.cp 25è.aw off
.pm 0
Table 14-5: Ge⌠ Window Datß Header
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Windo≈ Data Length ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Reserved |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Window Descriptor Length ---|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ windo≈ datß lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ thσ followinτ datß ì
tha⌠ i≤ availablσ t∩ bσ transferred« Thσ windo≈ datß lengtΦ doe≤ no⌠ includσ ì
itself« Iµ thσ allocatioε lengtΦ i≤ no⌠ sufficien⌠ t∩ returε al∞ thσ ge⌠ ì
windo≈ datß thσ windo≈ datß lengtΦ shal∞ no⌠ bσ adjusteΣ t∩ reflec⌠ thσ ì
truncatioε data«
ááThσ windo≈ descripto≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ ß singlσ ì
windo≈ descriptor« EacΦ descripto≥ shal∞ bσ oµ equa∞ length« Thσ firs⌠ ì
fort∙-eigh⌠ byte≤ arσ defineΣ iε thi≤ standarΣ anΣ thσ remaininτ byte≤ iε eacΦ ì
descripto≥ arσ vendo≥ specific.
.cp 38è.aw off
.pm 0
Table 14-6: Window Descripto≥ Byte≤ (1-23)
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Window Identifier |
-----|-----------------------------------------------------------------------|
1 | Reserved | Auto |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- X-Axi≤ Resolution ---|
3 | (LSB) |
-----|-+---------------------------------------------------------------------|
4 | (MSB) |
-----|--- Y-Axi≤ Resolution ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
¡ ¡ -|¡ ¡ - X-Axi≤ Upper Left ¡ ¡ -|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
¡ ¡ -|¡ ¡ - ┘-Axi≤ Upper Left ¡ ¡ -|
13 | (LSB) |
-----|-----------------------------------------------------------------------|
14 | (MSB) |
¡ ¡ -|¡ ¡ - Windo≈ Width ¡ ¡ -|
17 | (LSB) |
-----|-----------------------------------------------------------------------|
18 | (MSB) |
¡ ¡ -|¡ ¡ - Windo≈ Length ¡ ¡ -|
21 | (LSB) |
-----|-----------------------------------------------------------------------|
22 | Brightness |
-----|-----------------------------------------------------------------------|
23 | Threshold |
==============================================================================
.cp 35è.aw off
.pm 0
Table 14-7: Window Descripto≥ Byte≤ (2┤ ¡ 39)
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
24 | Contrast |
-----|-----------------------------------------------------------------------|
25 | Image Composition |
-----|-----------------------------------------------------------------------|
26 | Bits Per Pixel |
-----|-----------------------------------------------------------------------|
27 | (MSB) |
-----|-+- Halftone Pattern ---|
2╕ | (LSB) |
-----|-----------------------------------------------------------------------|
29 | RIF | Reserved | Padding Type |
-----|-----------------------------------------------------------------------|
30 | (MSB) |
-----|--- Bit Ordering ---|
31 | (LSB) |
-----|-+---------------------------------------------------------------------|
32 | Compression Type |
-----|-----------------------------------------------------------------------|
33 | Compression Argument |
-----|-----------------------------------------------------------------------|
3┤ toⁿ |
¡ ¡ ¡|¡ ¡ - Reserved - - -|
39 | |
-----|-----------------------------------------------------------------------|
4░ to| |
¡ ¡ -|¡ ¡ ¡ Vendo≥ Specifiπ Paramete≥ Byte(s) ¡ ¡ ¡|
n | |
==============================================================================
.aw on
.pm 3
ááThσ windo≈ identifie≥ specifie≤ thσ windo≈ defineΣ b∙ thσ windo≈ descriptor« ì
┴ windo≈ i≤ referenceΣ b∙ thσ windo≈ identifie≥ durinτ datß transfer≤ anΣ ì
paramete≥ updates.
.. HOW DOES THE WINDOW IDENTIFIER RELATE TO DATA TRANSFERS?
.. WHAT HAPPENS IF THE INITIATOR ASSIGNS A DUPLICATE WINDOW IDENTIFIER?
ááWheε useΣ witΦ thσ SE╘ WINDO╫ command¼ aε automatiπ (auto⌐ bi⌠ oµ onσ ì
indicate≤ tha⌠ thσ targe⌠ i≤ alloweΣ t∩ creatσ suΓ-window≤ withiε thσ windo≈ ì
specified« Aε aut∩ bi⌠ oµ zer∩ indicate≤ tha⌠ targe⌠ i≤ no⌠ alloweΣ t∩ creatσ ì
suΓ-windows.
ááWheε useΣ witΦ thσ GE╘ WINDO╫ command¼ aε aut∩ bi⌠ oµ zer∩ indicate≤ tha⌠ ì
thσ windo≈ wa≤ defineΣ directl∙ b∙ thσ SE╘ WINDO╫ command« ┴ valuσ oµ onσ ì
indicate≤ tha⌠ thσ windo≈ wa≤ defineΣ b∙ thσ target« Thi≤ i≤ ß suΓ-windo≈ ì
withiε ß windo≈ defineΣ b∙ ß SE╘ WINDO╫ command.
ááThσ windo≈ identifier≤ assigneΣ b∙ thσ targe⌠ shal∞ bσ uniquσ anΣ no⌠ ì
currentl∙ iε use« Thσ parameter≤ fo≥ thσ suΓ-window≤ ma∙ bσ retrieveΣ usinτ ì
thσ GE╘ WINDO╫ command.
.cp 3èááThσ °-axi≤ resolutioε fielΣ specifie≤ thσ resolutioε iε thσ scaε linσ ì
direction« Thσ uni⌠ oµ measurσ i≤ picturσ element≤ (pixels⌐ pe≥ inch« ┴ ì
valuσ oµ zer∩ specifie≤ thσ defaul⌠ resolution«
.cp 3
ááThσ ∙-axi≤ resolutioε fielΣ specifie≤ thσ resolutioε iε thσ basσ linσ ì
direction« Thσ uni⌠ oµ measurσ i≤ scaε line≤ pe≥ inch« ┴ valuσ oµ zer∩ ì
specifie≤ thσ defaul⌠ resolution«
ááThσ °-axi≤ uppe≥ lef⌠ fielΣ specifie≤ thσ °-axi≤ coordinatσ oµ thσ uppe≥ ì
lef⌠ corne≥ oµ thσ window« Thi≤ coordinatσ i≤ measureΣ froφ thσ scaε linσ ì
usinτ thσ target'≤ curren⌠ measuremen⌠ uni⌠ diviso≥ (seσ 14.3.3.1).
ááThσ ∙-axi≤ uppe≥ lef⌠ fielΣ specifie≤ thσ ∙-axi≤ coordinatσ oµ thσ uppe≥ ì
lef⌠ corne≥ oµ thσ window« Thi≤ coordinatσ i≤ measureΣ froφ thσ basσ linσ ì
usinτ target'≤ curren⌠ measuremen⌠ uni⌠ diviso≥ (seσ 14.3.3.1).
ááThσ windo≈ widtΦ fielΣ specifie≤ thσ widtΦ oµ windo≈ iε thσ scaε linσ ì
direction« Thσ windo≈ widtΦ i≤ measureΣ usinτ thσ target'≤ curren⌠ ì
measuremen⌠ uni⌠ diviso≥ (seσ 14.3.3.1).
ááThσ windo≈ lengtΦ fielΣ specifie≤ thσ lengtΦ oµ thσ windo≈ iε thσ basσ linσ ì
direction« Thσ windo≈ lengtΦ i≤ measureΣ usinτ thσ target'≤ curren⌠ ì
measuremen⌠ uni⌠ diviso≥ (seσ 14.3.3.1).
ááThσ brightnes≤ fielΣ specifie≤ thσ leve∞ oµ brightnes≤ useΣ t∩ scaε thσ ì
object« ┴ valuσ oµ zer∩ specifie≤ thσ defaul⌠ brightnes≤ o≥ automatiπ ì
brightnes≤ contro∞ iµ i⌠ i≤ supported« An∙ othe≥ valuσ indicate≤ ß relativσ ì
brightnes≤ settinτ witΦ 25╡ beinτ thσ highes⌠ setting¼ onσ beinτ thσ lowes⌠ ì
setting¼ anΣ 12╕ beinτ thσ nomina∞ setting.
ááThσ thresholΣ fielΣ specifie≤ thσ thresholΣ a⌠ whicΦ scaε datß i≤ converteΣ ì
t∩ binar∙ data« ┴ valuσ oµ zer∩ specifie≤ thσ thσ defaul⌠ thresholΣ o≥ ì
automatiπ thresholΣ contro∞ iµ i⌠ i≤ supported« An∙ othe≥ valuσ indicate≤ ì
relativσ thresholΣ settinτ witΦ 25╡ beinτ thσ highes⌠ setting¼ onσ beinτ thσ ì
lowes⌠ setting¼ anΣ 12╕ beinτ thσ nomina∞ setting.
.cp 5
ááThσ contras⌠ fielΣ specifie≤ thσ leve∞ oµ contras⌠ useΣ t∩ scaε thσ object« ì
┴ valuσ oµ zer∩ specifie≤ thσ defaul⌠ contras⌠ o≥ automatiπ contras⌠ contro∞ ì
iµ i⌠ i≤ supported« An∙ othe≥ valuσ indicate≤ ß relativσ contras⌠ settinτ ì
witΦ 25╡ beinτ thσ highes⌠ setting¼ onσ beinτ thσ lowes⌠ setting¼ anΣ 12╕ ì
beinτ thσ nomina∞ setting.
.cp 3
ááThσ halftonσ fielΣ specifie≤ thσ leve∞ oµ halftonσ a⌠ whicΦ thσ scaε datß i≤ ì
converteΣ t∩ binar∙ data« Thσ value≤ iε thi≤ fielΣ arσ vendo≥ specific« Thσ ì
halftonσ fielΣ i≤ useΣ iε conjunctioε witΦ thσ imagσ compositioε field.
.cp 2
ááThσ imagσ compositioε fielΣ specifie≤ thσ typσ oµ scaε operatioε requested« ì
Thσ imagσ compositioε i≤ defineΣ a≤ showε iε Tablσ 1┤-8.
.cp 13è.aw off
.pm 0
Table 14-8: Imagσ Composition Codes
==============================================================================
Code Description
------------------------------------------------------------------------------
00h Bi-level black & white
01h Dithered/halftone black & white
02h Multi-level black & white (gray scale)
03h Bi-level RGB Color
04h Dithered/halftone RGB Color
05h Multi-level RGB Color
06h - FFh Reserved
==============================================================================
.aw on
.pm 3
ááThσ bit≤ pe≥ pixe∞ fielΣ specifie≤ thσ numbe≥ oµ bit≤ useΣ t∩ represen⌠ thσ ì
intensit∙ oµ ß singlσ color.
áá┴ reversσ imagσ forma⌠ (RIF⌐ bi⌠ oµ zer∩ indicate≤ tha⌠ whitσ pixel≤ arσ t∩ ì
bσ indicateΣ b∙ zero≤ anΣ blacδ pixel≤ arσ t∩ bσ indicateΣ b∙ ones« ┴ RI╞ bi⌠ ì
oµ onσ indicate≤ tha⌠ whitσ pixel≤ arσ t∩ bσ indicateΣ b∙ one≤ anΣ blacδ ì
pixel≤ arσ t∩ bσ indicateΣ b∙ zeros« Thσ RI╞ bi⌠ i≤ applicablσ onl∙ fo≥ ì
image≤ representeΣ b∙ onσ bi⌠ pe≥ pixel«
ááThσ paddinτ typσ fielΣ specifie≤ ho≈ thσ targe⌠ shal∞ paΣ thσ imagσ datß ì
transmitteΣ t∩ thσ initiato≥ iµ i⌠ i≤ no⌠ aε integra∞ numbe≥ oµ bytes« Thσ ì
paddinτ typσ i≤ defineΣ iε Tablσ 1┤-9.
.cp 10
.aw off
.pm 0
Table 14-9: Padding Types
==============================================================================
Code Description
------------------------------------------------------------------------------
00h No padding
01h Pad with 0's to byte boundary
02h Pad with 1's to byte boundary
03h Truncate to byte boundary
04h - 07h Reserved
==============================================================================
.aw on
.pm 3
.cp 5
ááThσ bi⌠ orderinτ fielΣ specifie≤ thσ orde≥ iε whicΦ datß i≤ transferreΣ t∩ ì
thσ hos⌠ froφ thσ window« Thσ bi⌠ orderinτ specifie≤ thσ directioε oµ pixel≤ ì
iε ß scaε line¼ thσ directioε oµ scaε line≤ withiε ß windo≈ anΣ thσ imagσ datß ì
packinτ withiε ß byte« Thσ value≤ iε thi≤ fielΣ arσ vendo≥ specific«
..THIS FIELD SHOULD BE VENDOR-SPECIFIC IF IT IS NOT DEFINED
.cp 5
ááThσ compressioε typσ anΣ compressioε argumen⌠ field≤ specif∙ thσ compressioε ì
techniquσ t∩ bσ applieΣ t∩ thσ imagσ datß (seσ Tablσ 1┤-10).
.cp 15è.aw off
.pm 0
Table 14-10: Compression Types and Arguments
==============================================================================
Compressioε Description Compression
Codσ Argumen⌠
------------------------------------------------------------------------------
00h No compression Reserved
01h CCITT Group III, 1 dimensional Reserved
02h CCITT Group III, 2 dimensional K factor
03h CCITT Group IV, 2 dimensional Reserved
04h - 0Fh Reserved Reserved
10h Optical Character Recognition (OCR) Vendor Specific
11h - 7Fh Reserved Reserved
80h - FFh Vendor Specific Vendor Specific
==============================================================================
.aw on
.pm 3
.cp 35
.aw off
.pm 0
14.2.3. OBJECT POSITION Command
Table 14-11: OBJECT POSITION Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (31h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved | Position Function |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- ---|
3 | Count |
-----|--- ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
5 | Reserved |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | Reserved |
-----|-----------------------------------------------------------------------|
8 | Reserved |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
.cp 4
ááThσ OBJEC╘ POSITIO╬ commanΣ (Tablσ 1┤-11⌐ provide≤ positioninτ functions« ì
Absolutσ a≤ wel∞ a≤ relativσ positioninτ i≤ provided« ┴ targe⌠ shal∞ returε ì
CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUES╘ iµ ß ì
positioninτ functioε i≤ requesteΣ tha⌠ i≤ no⌠ supported.
.cp 2
ááThσ positioε functioε fielΣ specifie≤ thσ requesteΣ functioε (seσ Tablσ 1┤-ì
12).è
.cp 2
ááThσ coun⌠ fielΣ i≤ useΣ witΦ thσ positioε functioε t∩ specif∙ thσ ì
displacemen⌠ oµ thσ object.
.aw off
.pm 0
.cp 15
Table 14-12: Positioε Function
=======================================
Position Functioε Description
----------------- --------------------
000b Unload Object
001b Load Object
░10b Absolute Positioning
011b Relative Positioning
100b Rotate Object
101b Reserved
110b Reserved
111b Reserved
=======================================
.aw on
.pm 3
.pm 0
.cp 8
UnloaΣ Object.é Thi≤ positioε functioε specifie≤ tha⌠ thσ objec⌠ shal∞ bσ ì
positioneΣ fo≥ removal« Iµ upoε receip⌠ oµ thi≤ commanΣ therσ i≤ n∩ objec⌠ ì
loaded¼ thσ targe⌠ shal∞ returε ß GOO─ status« Thi≤ conditioε shal∞ no⌠ bσ ì
considereΣ a≤ aε error« Iµ thσ targe⌠ i≤ unablσ t∩ unloaΣ thσ objec⌠ (i.e.¼ ì
pape≥ jaφ o≥ misfeeΣ condition)¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ ì
statu≤ anΣ se⌠ thσ sensσ ke∙ sensσ t∩ MEDIU═ ERROR.
.cp 6
LoaΣ object.é Thi≤ positioε functioε specifie≤ tha⌠ thσ objec⌠ i≤ t∩ bσ loadeΣ ì
anΣ positioneΣ t∩ thσ basσ line« Iµ upoε receip⌠ oµ thi≤ commanΣ therσ i≤ ß ì
objec⌠ alread∙ loaded¼ thσ targe⌠ shal∞ return≤ GOO─ status« Thi≤ conditioε ì
shal∞ no⌠ bσ considereΣ a≤ aε error« Iµ aε objec⌠ i≤ no⌠ loadeΣ anΣ thσ ì
targe⌠ i≤ unablσ t∩ loaΣ aε object¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ ì
statu≤ anΣ se⌠ thσ EO═ bi⌠ t∩ onσ anΣ thσ sensσ ke∙ t∩ MEDIU═ ERROR.
.cp 5
Absolutσ Positioning.é Thi≤ positioε functioε specifie≤ tha⌠ thσ objec⌠ i≤ t∩ ì
bσ positioneΣ a⌠ ß ∙-axi≤ displacemen⌠ froφ thσ basσ line« Thσ ∙-axi≤ ì
displacemen⌠ i≤ determineΣ usinτ thσ coun⌠ fielΣ anΣ thσ target'≤ curren⌠ ì
measuremen⌠ uni⌠ diviso≥ (seσ 14.3.3.1)« ┴ coun⌠ fielΣ oµ zer∩ position≤ thσ ì
objec⌠ a⌠ thσ basσ line«
.cp 5
ááAn∙ othe≥ valuσ iε thσ coun⌠ fielΣ shal∞ causσ thσ targe⌠ t∩ positioε thσ ì
objec⌠ tha⌠ numbe≥ oµ unit≤ iε thσ scaε linσ direction« Iµ therσ i≤ n∩ objec⌠ ì
loadeΣ o≥ iµ thσ specifieΣ ∙-axi≤ displacemen⌠ i≤ no⌠ achieveΣ thσ targe⌠ ì
shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ EO═ bi⌠ t∩ onσ anΣ thσ sensσ ì
ke∙ t∩ MEDIU═ ERROR.
.pm 0
.cp 5
Relativσ Positioning.é Thi≤ positioε functioε specifie≤ tha⌠ thσ objec⌠ i≤ t∩ ì
bσ positioneΣ a⌠ ß ∙-axi≤ displacemen⌠ relativσ t∩ thσ curren⌠ position« Thσ ì
∙-axi≤ displacemen⌠ i≤ determineΣ usinτ thσ coun⌠ fielΣ anΣ thσ target'≤ ì
curren⌠ measuremen⌠ uni⌠ diviso≥ (seσ 14.3.3.1)« ┴ coun⌠ fielΣ oµ zer∩ cause≤ ì
n∩ changσ iε positioε oµ thσ object«
.cp 6èáá┴ positivσ valuσ iε thσ coun⌠ fielΣ shal∞ causσ thσ targe⌠ t∩ positioε thσ ì
objec⌠ tha⌠ numbe≥ oµ unit≤ iε thσ scaε linσ direction« Iµ thσ scaε rangσ i≤ ì
exceedeΣ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ status« Thσ EO═ bi⌠ i≤ se⌠ ì
t∩ one¼ thσ IL╔ bi⌠ i≤ se⌠ t∩ one¼ anΣ sensσ ke∙ i≤ se⌠ t∩ MEDIU═ ERROR« Thσ ì
valiΣ bi⌠ i≤ se⌠ t∩ onσ anΣ thσ informatioε byte≤ arσ se⌠ t∩ thσ differencσ ì
(residue⌐ betweeε thσ requesteΣ coun⌠ anΣ thσ actua∞ numbe≥ oµ unit≤ moved«
.cp 10
áá┴ negativσ valuσ (e.g.¼ two≤ complemen⌠ notation⌐ iε thσ coun⌠ fielΣ shal∞ ì
causσ thσ targe⌠ t∩ positioε thσ objec⌠ tha⌠ numbe≥ oµ unit≤ towarΣ thσ basσ ì
line« Iµ therσ i≤ n∩ objec⌠ loadeΣ o≥ iµ thσ specifieΣ ∙-axi≤ displacemen⌠ i≤ ì
no⌠ achieveΣ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ EO═ ì
bi⌠ t∩ onσ anΣ thσ sensσ ke∙ t∩ MEDIU═ ERROR« Iµ thσ basσ linσ i≤ encountereΣ ì
thσ targe⌠ shal∞ positioε thσ objec⌠ a⌠ thσ basσ linσ anΣ returε CHEC╦ ì
CONDITIO╬ status« Thσ IL╔ bi⌠ i≤ se⌠ t∩ onσ anΣ thσ sensσ ke∙ i≤ se⌠ t∩ ì
MEDIU═ ERROR« Thσ valiΣ bi⌠ i≤ se⌠ t∩ onσ anΣ thσ informatioε byte≤ arσ se⌠ ì
t∩ thσ differencσ (residue⌐ betweeε thσ requesteΣ coun⌠ anΣ thσ actua∞ numbe≥ ì
oµ unit≤ moved.
.pm 0
.cp 3
Rotatσ object.é Thi≤ positioε functioε specifie≤ tha⌠ thσ objec⌠ i≤ t∩ bσ ì
rotateΣ iε ß counte≥-clockwisσ directioε iε unit≤ oµ onσ onσ-thousandtΦ oµ ß ì
degree« Thσ coun⌠ fielΣ specifie≤ thσ numbe≥ oµ unit≤ tha⌠ thσ objec⌠ i≤ t∩ ì
bσ moved.
.cp 30
.aw off
.pm 0
14.2.4. READ Command
Table 14-13: READ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (28h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Data Typσ Code |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Datß Typσ Qualifie≥ ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- ---|
7 | Transfer Length |
-----|--- ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
.cp 2
ááThσ REA─ commanΣ (Tablσ 1┤-13⌐ request≤ tha⌠ thσ targe⌠ transfe≥ datß t∩ thσ ì
initiator.è
.cp 3
ááThσ transfe≥ datß typσ distinguishe≤ betweeε thσ differen⌠ type≤ oµ datß ì
whicΦ ma∙ bσ transferreΣ betweeε thσ initiato≥ anΣ thσ target« Thσ type≤ oµ ì
transfer≤ arσ specifieΣ iε Tablσ 1┤-14.
.cp 15
.aw off
.pm 0
Table 14-14: Datß Type Codes
==========================================================
Code Description
----------------------------------------------------------
00h Image
0▒Φ Vendo≥ Specific
02h Halftone Mask
03h Gamma Function
04h - 7Fh Reserved
80h - FFh Vendor Specific
==========================================================
.aw on
.pm 3
ááThσ datß typσ qualifie≥ fielΣ provide≤ ß mean≤ t∩ differentiatσ datß ì
transfer≤ oµ thσ samσ datß typσ code« Thσ value≤ useΣ iε thi≤ fielΣ arσ ì
vendo≥ specific«
ááThσ transfe≥ lengtΦ specifie≤ thσ numbe≥ oµ block≤ thσ targe⌠ shal∞ transfe≥ ì
t∩ thσ initiato≥ durinτ thσ DAT┴ I╬ phase« Thσ blocδ sizσ i≤ thσ curren⌠ ì
blocδ sizσ iε thσ modσ parameter≤ blocδ descripto≥ (seσ 7.3.3)« ┴ transfe≥ ì
lengtΦ oµ zero¼ i≤ no⌠ considereΣ aε erro≥ anΣ n∩ datß shal∞ bσ transferred«
ááIµ thσ targe⌠ transfer≤ les≤ thaε transfe≥ lengtΦ block≤ ß CHEC╦ CONDITIO╬ ì
statu≤ shal∞ bσ returned« Thσ IL╔ bi⌠ i≤ se⌠ t∩ one¼ thσ valiΣ bi⌠ i≤ se⌠ t∩ ì
one¼ anΣ thσ informatioε byte≤ arσ se⌠ t∩ thσ differencσ (residue⌐ betweeε thσ ì
requesteΣ transfe≥ lengtΦ anΣ thσ actua∞ numbe≥ oµ block≤ transferred«
ááThi≤ commanΣ shal∞ bσ terminateΣ witΦ ß statu≤ oµ RESERVATIO╬ CONFLIC╘ iµ ì
an∙ reservatioε acces≤ conflic⌠ (seσ 9.2.10⌐ exist≤ anΣ n∩ datß shal∞ bσ ì
transferred.
.cp 22è.aw off
.pm 0
14.2.5. SCAN Command
Table 14-15: SCAN Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (1Bh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Transfer Length |
-----|-----------------------------------------------------------------------|
5 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SCA╬ commanΣ (Tablσ 1┤-15⌐ request≤ thσ targe⌠ begiε ß scaε operation.
ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ thσ windo≈ identifie≥ ì
lis⌠ tha⌠ shal∞ bσ sen⌠ durinτ thσ DAT┴ OU╘ phase« ┴ transfe≥ lengtΦ oµ zer∩ ì
indicate≤ tha⌠ n∩ datß shal∞ bσ transferred« Thi≤ conditioε shal∞ no⌠ bσ ì
considereΣ a≤ aε error.
ááThσ windo≈ identifie≥ lis⌠ consist≤ oµ zer∩ o≥ morσ windo≈ identifier≤ eacΦ ì
oµ whicΦ specifie≤ ß windo≈ t∩ bσ scanned«
.cp 30è.aw off
.pm 0
14.2.6. SEND Command
Table 14-16: SEND Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Ah) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Data Typσ Codσ |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Datß Typσ Qualifie≥ ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- ---|
7 | Transfer Length |
-----|--- ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SEN─ commanΣ (Tablσ 1┤-16⌐ transfer≤ datß froφ thσ initiato≥ t∩ thσ ì
target.
ááThσ datß typσ codσ anΣ datß typσ qualifie≥ arσ defineΣ iε thσ REA─ commanΣ ì
(seσ 14.2.5)«
ááThσ transfe≥ lengtΦ specifie≤ thσ numbe≥ oµ block≤ thσ targe⌠ shal∞ transfe≥ ì
froφ thσ initiato≥ durinτ thσ DAT┴ OU╘ phase« Thσ blocδ sizσ i≤ thσ curren⌠ ì
blocδ sizσ iε thσ modσ parameter≤ blocδ descripto≥ (seσ 7.3.3)« ┴ transfe≥ ì
lengtΦ oµ zero¼ i≤ no⌠ considereΣ aε erro≥ anΣ n∩ datß shal∞ bσ transferred«
ááThi≤ commanΣ shal∞ bσ terminateΣ witΦ ß statu≤ oµ RESERVATIO╬ CONFLIC╘ iµ ì
an∙ reservatioε acces≤ conflic⌠ (seσ 9.2.10⌐ exist≤ anΣ n∩ datß shal∞ bσ ì
transferred.
.cp 30è.aw off
.pm 0
14.2.7. SET WINDOW Command
Table 14-17: SET WINDOW Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (24H) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Reserved |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- ---|
7 | Transfer Length |
-----|--- ---|
8 | (LSB) |
-----|-----------------------------------------------------------------------|
9 | Control |
==============================================================================
.aw on
.pm 3
ááThσ SE╘ WINDO╫ commanΣ (Tablσ 1┤-17⌐ provide≤ ß mean≤ fo≥ thσ initiato≥ t∩ ì
specif∙ onσ o≥ morσ window≤ withiε thσ scanninτ rangσ oµ thσ device.
ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ thσ datß tha⌠ shal∞ bσ ì
sen⌠ durinτ thσ DAT┴ OU╘ phase« ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ tha⌠ n∩ ì
windo≈ parameter≤ datß shal∞ bσ transferred« Thi≤ conditioε shal∞ no⌠ bσ ì
considereΣ a≤ aε error.
ááThσ windo≈ parameter≤ datß shal∞ consis⌠ oµ ß heade≥ followeΣ b∙ onσ o≥ morσ ì
windo≈ descriptor≤ (seσ Table≤ 1┤-18¼ 1┤-6¼ anΣ 1┤-7)« EacΦ windo≈ descripto≥ ì
specifie≤ thσ location¼ sizσ anΣ scanninτ methoΣ useΣ fo≥ ß window«
.cp 25è.aw off
.pm 0
Table 14-18: Set Window Datß Heade≥
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Reserved |
-----|-----------------------------------------------------------------------|
1 | Reserved |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | Reserved |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Window Descriptor Length ---|
7 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ windo≈ descripto≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ ß singlσ ì
windo≈ descriptor« EacΦ descripto≥ shal∞ bσ oµ equa∞ length« Thσ firs⌠ ì
fort∙-eigh⌠ byte≤ arσ defineΣ iε thi≤ standarΣ anΣ thσ remaininτ byte≤ iε eacΦ ì
descripto≥ arσ vendo≥ specific.
ááSeσ Table≤ 1┤-╢ anΣ 1┤-╖ fo≥ thσ definitioε oµ ß windo≈ descriptor.
.cp 20
.aw off
.pm 0
14.3. Parameter≤ fo≥ Scanner Devices
.aw on
.pm 3
.cp 10
.aw off
.pm 0
14.3.1. Diagnostic Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
useΣ witΦ scanne≥ devices«
ááThσ diagnostiπ pagσ code≤ fo≥ scanne≥ device≤ arσ defineΣ iε Tablσ 1┤-19.
.aw off
.pm 0
.cp 15
Table 14-19: Diagnostiπ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá00h SupporteΣ Diagnostiπ Pagσs 7.3.1.1
01Φ ¡ 7Fh ReserveΣ
80Φ ¡ FFh Vendo≥-specifiπ pages
==============================================================================
.aw on
.pm 3
.lm 1
.cp 5è.aw off
.pm 0
14.3.2. Log Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
scanne≥ devices«
ááThσ loτ pagσ code≤ fo≥ scanne≥ device≤ arσ defineΣ iε Tablσ 1┤-20.
.aw off
.pm 0
.cp 15
Table 14-20: Log Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá01h Buffer Over-Run/Under-Run Page 7.3.2.1
ááá03h Erro≥ Counte≥ Pagσ (Read) Page 7.3.2.2
ááá07h Last n Error Events Page 7.3.2.3
ááá06h Non-Mediuφ Error Page 7.3.2.4
ááá00h Supported Loτ Pages 7.3.2.5
08h - 2Fh Reserved
ááá3Fh Reserved
30h - 3Eh Vendo≥-specifiπ pages
==============================================================================
.aw on
.pm 3
.lm 1
.cp 10
.aw off
.pm 0
14.3.3. Mode Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
scanne≥ devices«
ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
descripto≥ i≤ defineΣ iε 7.3.3.
ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
Table≤ ╖-6▒ anΣ ╖-62)« Thi≤ fielΣ i≤ reserveΣ fo≥ scanner≤ devices.
.cp 3
ááThσ devicσ specifiπ paramete≥ fielΣ i≤ containeΣ iε thσ modσ paramete≥ ì
heade≥ (seσ Table≤ ╖-6▒ anΣ ╖-62)« Thi≤ fielΣ i≤ reserveΣ fo≥ scanner≤ ì
devices.
ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
(seσ Tablσ ╖-63)« Thi≤ fielΣ i≤ reserveΣ fo≥ scanner≤ devices.
ááThσ modσ pagσ code≤ fo≥ scanne≥ device≤ arσ defineΣ iε Tablσ 1┤-21.
.cp 16è.aw off
.pm 0
Table 14-21: Modσ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá0Ah Contro∞ Mode Page 7.3.3.1
ááá02h Disconnect-Reconnect Page 7.3.3.2
ááá03Φ Measurement Unit≤ Page 14.3.3.1
ááá09h Peripheral Device Page 7.3.3.3
ááá01h Reserved
03h - 08h Reserved
0Bh - 1Fh Reserved
ááá3Fh Returns all page≤ (valiΣ onl∙ fo≥ thσ MOD┼ SENS┼ command)
20h - 3Eh Vendo≥-specific page≤ (page format required)
ááá00h Vendo≥ Specific (does not require page format)
==============================================================================
.aw on
.pm 3
.lm 1
.cp 35
.aw off
.pm 0
14.3.3.1. Measuremen⌠ Unit≤ Page
Table 14-22: Measuremen⌠ Unit≤ Page
==============================================================================
Bitⁿ ╖ ⁿ ╢ ⁿ ╡ ⁿ ┤ ⁿ │ ⁿ ▓ ⁿ ▒ ⁿ 0 |
Bytσ ⁿ ⁿ ⁿ ⁿ ⁿ ⁿ ⁿ ⁿ |
==============================================================================
░ ⁿ PS |Reservedⁿ Pagσ Codσ (03h) |
-----|-----------------------------------------------------------------------|
▒ ⁿ Paramete≥ LengtΦ (06h) |
-----|-----------------------------------------------------------------------|
▓ ⁿ Basiπ Measuremen⌠ Unit |
-----|-----------------------------------------------------------------------|
│ ⁿ ReserveΣ |
-----|-----------------------------------------------------------------------|
4 ⁿ (MSB⌐ |
-----|--¡ Measuremen⌠ Uni⌠ Divisor ---|
5 ⁿ (LSB) |
-----|-----------------------------------------------------------------------|
6 ⁿ ReserveΣ |
-----|-----------------------------------------------------------------------|
7 ⁿ ReserveΣ |
==============================================================================
.aw on
.pm 3
.cp5
ááThσ measuremen⌠ unit≤ pagσ (Tablσ 1┤-22⌐ specifie≤ thσ unit≤ oµ measuremen⌠ ì
useΣ fo≥ calculatinτ thσ displacemen⌠ oµ windo≈ anΣ fo≥ positioninτ aε object.
ááThσ measuremen⌠ unit≤ arσ independen⌠ oµ thσ horizonta∞ anΣ vertica∞ scaε ì
resolutions«
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ fo≥ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
.cp 2èááThσ basiπ measuremen⌠ uni⌠ fielΣ i≤ defineΣ iε Tablσ 1┤-23« Target≤ shal∞ ì
usσ inche≤ a≤ thσ defaul⌠ basiπ measuremen⌠ unit.
.aw off
.pm 0
.cp 15
Table 14-23: Basiπ Measuremen⌠ Units
==============================================================================
Code Description
----¡---- ----------------------------------------------------------------
00h Inch
01h Millimeter
02h Point
03Φ ¡ FFh Reserved
==============================================================================
.aw on
.pm 3
ááThσ measuremen⌠ uni⌠ diviso≥ specifie≤ thσ numbe≥ oµ unit≤ needeΣ t∩ equa∞ ì
onσ basiπ measuremen⌠ unit« Target≤ shal∞ usσ 120░ a≤ thσ defaul⌠ measuremen⌠ ì
uni⌠ divisor« Iµ ß valuσ oµ zer∩ i≤ specifieΣ thσ targe⌠ shal∞ returε CHEC╦ ì
CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST.
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ ┴ targe⌠ whicΦ doe≤ no⌠ implemen⌠ thi≤ pagσ o≥ onl∙ ì
áásupport≤ defaul⌠ value≤ use≤ onσ twelvσ-hundredth≤ (1/1200⌐ oµ aε incΦ a≤ ì
ááthσ uni⌠ oµ measure.
.pm 3
.lm 1
.cp 10
.aw off
.pm 0
14.4. Glossar∙ fo≥ Scanne≥ Devices
.aw on
basσ elemen⌠ line.é ┴ °-axi≤ displacemen⌠ equa∞ t∩ zero.
basσ line.é ┴ ∙-axi≤ displacemen⌠ equa∞ t∩ zero.
beginninτ-oµ-medium.é ┴ °-axi≤ anΣ ∙-axi≤ oµ zer∩ displacement« Alternativel∙ ì
thi≤ i≤ beinτ positioneΣ a⌠ thσ intersectioε oµ thσ basσ anΣ scaε lines.
enΣ-oµ-medium.é Thσ maximuφ °-axi≤ anΣ ∙-axi≤ displacement.
image.é Thσ digita∞ resul⌠ oµ ß scan.
object.é Thσ origina∞ o≥ iteφ beinτ scanned.
pixel.é Picturσ-element¼ i≤ thσ smalles⌠ phot∩ sigh⌠ iε thσ array.
platen.é Thσ surfacσ iε whicΦ thσ targe⌠ i≤ positioned.
scan.é Aε operatioε tha⌠ generate≤ ß digita∞ imagσ froφ thσ reflecteΣ ligh⌠ oµ ì
aε object.
scaε line.é ┴ ∙-axi≤ displacemen⌠ froφ thσ basσ line.
scanninτ range.é Thσ tota∞ areß tha⌠ ß scanne≥ caε generatσ aε imagσ from« ì
Fo≥ tw∩ dimensiona∞ object≤ thi≤ ma∙ corresponΣ t∩ thσ larges⌠ objec⌠ tha⌠ caε ì
bσ scanned.
window.é Al∞ o≥ par⌠ oµ thσ scanninτ rangσ oµ ß scanner« ┴ windo≈ define≤ thσ ì
par⌠ oµ thσ objec⌠ scanned.è..end of section