home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S2R10_C.ZIP / S2R10C16.SI < prev    next >
Text File  |  1990-03-09  |  116KB  |  2,214 lines

  1. .RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
  2. .PL 62
  3. .LM 1
  4. .RM 78
  5. .MT3
  6. .MB4
  7. .HM1
  8. .FM1
  9. .CW10
  10. .PO10
  11. .SR2
  12. .UJ0
  13. .OJ0
  14. .UL1
  15. .heMedium-Changer Devices                                                  3/9/90
  16. .foSCSI-2 draft proposed American National Standard        16-#     Revision 10c
  17. .pn 1
  18. .pm 0
  19. 16. Mediuφ-Change≥ Devices
  20. .aw on
  21. .pm 3
  22.  
  23. .cp 20
  24. .aw off
  25. .pm 0
  26. 16.1. Mediuφ-Change≥ Device Model
  27. .aw on
  28. .pm 3
  29.  
  30. ááMediuφ change≥ device≤ mechanizσ thσ movemen⌠ oµ mediß t∩ anΣ froφ primar∙ ì
  31. device≤ (sucΦ a≤ disδ o≥ tapσ drives⌐ anΣ othe≥ location≤ withiε thσ rangσ oµ ì
  32. thσ mediuφ changer« Thσ mediuφ change≥ commanΣ se⌠ i≤ baseΣ oε ß physica∞ ì
  33. mode∞ oµ thi≤ functionality.
  34.  
  35. ááThi≤ commanΣ se⌠ support≤ varieΣ physica∞ implementation≤ oµ thσ mediuφ ì
  36. change≥ function« Mos⌠ oµ thesσ variation≤ arσ hiddeε froφ thσ initiato≥ b∙ ì
  37. thσ higΦ leve∞ oµ functioε provideΣ b∙ thσ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ ì
  38. command≤ anΣ b∙ thσ generalizeΣ naturσ oµ thσ elemen⌠ addressinτ scheme« ì
  39. However¼ initiator≤ ma∙ neeΣ t∩ bσ awarσ oµ thσ capabilitie≤ oµ thσ particula≥ ì
  40. mediuφ change≥ device« Thesσ characteristic≤ anΣ capabilitie≤ arσ conveyeΣ viß ì
  41. MOD┼ SENS┼ pages.
  42.  
  43.  
  44. .cp 10
  45. .aw off
  46. .pm 0
  47. 16.1.1. Mediuφ-Change≥ Elements
  48. .aw on
  49. .pm 3
  50.  
  51. ááThσ mediuφ-change≥ commanΣ se⌠ use≤ a≤ it≤ addres≤ spacσ thσ se⌠ oµ physica∞ ì
  52. location≤ anΣ mechanism≤ withiε thσ scopσ oµ ß mediuφ change≥ device« Thσ terφ ì
  53. elemen⌠ i≤ useΣ throughou⌠ thi≤ sectioε t∩ refe≥ t∩ onσ membe≥ oµ thσ mediuφ ì
  54. change≥ addres≤ space« EacΦ elemen⌠ i≤ ß discretσ physica∞ entit∙ tha⌠ ma∙ ì
  55. holΣ zer∩ o≥ onσ physica∞ uni⌠ oµ mediß ¡ onσ disδ cartridge¼ onσ spoo∞ oµ ì
  56. tape¼ etc« Elemen⌠ addresse≤ d∩ no⌠ extenΣ acros≤ multiplσ physica∞ unit≤ oµ ì
  57. media« Likewise¼ elemen⌠ addresse≤ arσ independen⌠ oµ an∙ logica∞ partitioninτ ì
  58. tha⌠ thσ primar∙ devicσ ma∙ suppor⌠ withiε ß physica∞ uni⌠ oµ media«   
  59.  
  60. áá┴ mediuφ change≥ i≤ vieweΣ a≤ ß se⌠ oµ addressablσ elements¼ eacΦ oµ whicΦ ì
  61. ma∙ contaiε ß uni⌠ oµ mediß o≥ bσ useΣ t∩ movσ ß uni⌠ oµ media«  EacΦ mediuφ ì
  62. change≥ elemen⌠ ha≤ ß uniquσ 1╢ bi⌠ elemen⌠ address« EacΦ elemen⌠ i≤ aε ì
  63. instancσ oµ onσ oµ fou≥ classe≤ o≥ elemen⌠ types« 
  64.  
  65. áá    1« MEDIU═ TRANSPOR╘ ELEMEN╘ 
  66. áá    2« STORAG┼ ELEMEN╘ 
  67. áá    3« IMPOR╘ EXPOR╘ ELEMEN╘ 
  68. áá    4« DAT┴ TRANSFE╥ ELEMEN╘ 
  69.  
  70. ááUnit≤ oµ mediß (cartridges¼ cassettes¼ caddies¼ etc.⌐ arσ referreΣ t∩ onl∙ ì
  71. indirectl∙ b∙ thi≤ devicσ model«  Unit≤ oµ mediß caε bσ moveΣ t∩ o≥ froφ an∙ ì
  72. oµ thσ element≤ oµ thσ mediuφ change≥ device«  Thσ presencσ oµ mediß a⌠ thσ ì
  73. variou≤ element≤ iε ß mediuφ change≥ caε bσ sensed«  Iε orde≥ t∩ ensurσ ì
  74. exclusivσ acces≤ t∩ ß uni⌠ oµ media¼ thσ elemen⌠ wherσ thσ uni⌠ oµ mediß i≤ ì
  75. locateΣ (thσ elemen⌠ address⌐ mus⌠ bσ reserved« 
  76.  
  77. ááElement≤ oµ thσ mediuφ transport¼ impor⌠ expor⌠ anΣ (rarely⌐ datß transpor⌠ ì
  78. type≤ ma∙ no⌠ providσ independen⌠ storagσ fo≥ medium«  Thσ capabilitie≤ oµ ß ì
  79. particula≥ mediuφ change≥ iε thi≤ respec⌠ caε bσ senseΣ viß thσ devicσ ì
  80. capabilitie≤ pagσ oµ thσ Modσ Sensσ data« Thσ followinτ hypothetica∞ mediuφ ì
  81. change≥ implementatioε illustrate≤ onσ casσ oµ aε elemen⌠ no⌠ providinτ ì
  82. independen⌠ storagσ fo≥ medium«  Conside≥ ß mediuφ change≥ whicΦ ha≤ ß ì
  83. carouse∞ stylσ storagσ fo≥ medium« Thσ impor⌠ expor⌠ functioε coulΣ bσ ì
  84. provideΣ b∙ ß por⌠ whicΦ allow≤ operato≥ acces≤ t∩ onσ oµ thσ storagσ ì
  85. elements«  Iε sucΦ ß device¼ thσ MOV┼ ELEMEN╘ commanΣ froφ storagσ elemen⌠ t∩ ìèimpor⌠ expor⌠ elemen⌠ woulΣ rotatσ thσ carouse∞ t∩ aligε thσ addresseΣ storagσ ì
  86. elemen⌠ t∩ thσ impor⌠ expor⌠ position« Iε thi≤ casσ thσ impor⌠ expor⌠ elemen⌠ ì
  87. doe≤ no⌠ providσ independen⌠ storagσ bu⌠ rathe≥ acces≤ t∩ onσ oµ thσ storagσ ì
  88. elements«  
  89.  
  90. .cp 5
  91. .aw off
  92. .pm 0
  93. 16.1.1.1. Mediuφ Transpor⌠ Elements
  94. .aw on
  95. .pm 3
  96. ááMediuφ transpor⌠ element≤ addres≤ thσ function≤ oµ thσ mediuφ change≥ devicσ ì
  97. tha⌠ perforφ thσ movemen⌠ oµ unit≤ oµ media« Wherσ ß mediuφ transpor⌠ elemen⌠ ì
  98. caε servσ (eveε temporarily⌐ a≤ ß storagσ locatioε fo≥ medium¼ thσ locatioε oµ ì
  99. eacΦ uni⌠ oµ mediß mus⌠ havσ ß separatσ elemen⌠ address.
  100.  
  101. ááIε large≥ mediuφ change≥ devices¼ thσ mediuφ movemen⌠ function≤ ma∙ bσ ì
  102. performeΣ b∙ multiplσ independen⌠ robotiπ subsystems« EacΦ oµ thesσ ma∙ havσ ß ì
  103. numbe≥ oµ mediuφ transpor⌠ elemen⌠ addresses« Thσ elemen⌠ addresse≤ withiε ì
  104. eacΦ subsysteφ shal∞ bσ contiguous« An∙ oµ thσ elemen⌠ addresse≤ withiε ß ì
  105. subsysteφ ma∙ bσ useΣ interchangeabl∙ iε thσ mediuφ transpor⌠ elemen⌠ addres≤ ì
  106. fielΣ oµ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« Aε initiato≥ ma∙ determinσ ì
  107. thσ capabilitie≤ oµ thσ mediuφ movemen⌠ facilitie≤ oµ ß mediuφ change≥ devicσ ì
  108. viß thσ transpor⌠ geometr∙ MOD┼ SENS┼ page¼ 16.3.3.3.
  109.  
  110. ááElemen⌠ addres≤ zer∩ i≤ reserveΣ fo≥ usσ iε thσ mediuφ transpor⌠ elemen⌠ ì
  111. addres≤ fielΣ oµ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ command≤ t∩ direc⌠ thσ mediuφ ì
  112. change≥ t∩ usσ ß defaul⌠ o≥ mediuφ change≥ selecteΣ mediuφ transpor⌠ element.
  113.  
  114. ááIε somσ implementations¼ mediuφ transpor⌠ element≤ ma∙ bσ sourcσ and/o≥ ì
  115. destinatioε addresse≤ iε MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ commands«  The∙ ma∙ ì
  116. o≥ ma∙ no⌠ providσ independen⌠ storagσ oµ ß uni⌠ oµ media«  Seσ thσ devicσ ì
  117. capabilitie≤ MOD┼ SENS┼ page¼ 16.3.3.
  118.  
  119. .cp 5
  120. .aw off
  121. .pm 0
  122. 16.1.1.2. Storagσ Elements
  123. .aw on
  124. .pm 3
  125. ááStoragσ element≤ arσ location≤ oµ unit≤ oµ mediß whilσ no⌠ iε somσ othe≥ ì
  126. elemen⌠ type«  Mediuφ iε storagσ element≤ i≤ availablσ fo≥ acces≤ b∙ mediuφ ì
  127. transpor⌠ elements« 
  128.  
  129. ááStoragσ element≤ ma∙ bσ sourcσ and/o≥ destinatioε addresse≤ iε MOV┼ MEDIU═ ì
  130. anΣ EXCHANG┼ MEDIU═ commands.
  131.  
  132. .cp 5
  133. .aw off
  134. .pm 0
  135. 16.1.1.3. Import Expor⌠ Elements
  136. .aw on
  137. .pm 3
  138. ááImpor⌠ expor⌠ element≤ arσ location≤ oµ unit≤ oµ mediß whicΦ arσ beinτ ì
  139. inserteΣ int∩ o≥ withdrawε froφ thσ mediuφ change≥ device«  Mediuφ iε thesσ ì
  140. element≤ i≤ accessiblσ b∙ botΦ mediuφ transpor⌠ elements¼ b∙ thσ operator¼ o≥ ì
  141. b∙ anothe≥ independen⌠ mediuφ change≥ device«  
  142.  
  143. ááImpor⌠ expor⌠ element≤ ma∙ bσ sourcσ and/o≥ destinatioε addresse≤ iε MOV┼ ì
  144. MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« The∙ ma∙ o≥ ma∙ no⌠ providσ independen⌠ ì
  145. storagσ oµ ß uni⌠ oµ media¼ seσ thσ devicσ capabilitie≤ MOD┼ SENS┼ page¼ ì
  146. 16.3.3.
  147.  
  148. .cp 2
  149. ááParticula≥ impor⌠ expor⌠ element≤ ma∙ bσ capablσ oµ eithe≥ impor⌠ actions¼ ì
  150. expor⌠ actions¼ botΦ o≥ neithe≥ (iµ aε elemen⌠ i≤ no⌠ present).
  151.  
  152. .cp 5è.aw off
  153. .pm 0
  154. 16.1.1.4. Data Transfer Element 
  155. .aw on
  156. .pm 3
  157. ááDatß transfe≥ element≤ arσ location≤ oµ thσ primar∙ device≤ whicΦ arσ ì
  158. capablσ oµ readinτ o≥ writinτ thσ medium« Datß transfe≥ element≤ ma∙ als∩ bσ ì
  159. vieweΣ a≤ mediuφ change≥ elemen⌠ addresse≤ oµ unit≤ oµ mediß loadeΣ iε o≥ ì
  160. availablσ fo≥ loadinτ iε o≥ remova∞ froφ primar∙ device≤ sucΦ a≤ disδ o≥ tapσ ì
  161. drives« Notσ tha⌠ thσ mediuφ change≥ functioε specifieΣ iε thi≤ sectioε doe≤ ì
  162. no⌠ contro∞ thσ primar∙ device« Tha⌠ i≤ thσ responsibilit∙ oµ thσ system.
  163.  
  164. ááDatß transfe≥ element≤ ma∙ bσ sourcσ and/o≥ destinatioε addresse≤ iε MOV┼ ì
  165. MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« The∙ ma∙ o≥ ma∙ no⌠ providσ independen⌠ ì
  166. storagσ oµ ß uni⌠ oµ media¼ seσ thσ devicσ capabilitie≤ MOD┼ SENS┼ page¼ ì
  167. 16.3.3.
  168.  
  169. .cp 10
  170. .aw off
  171. .pm 0
  172. 16.1.2. SCSI Addressing of Medium Changer Devices 
  173. .aw on
  174. .pm 3
  175.  
  176. ááMediuφ Change≥ device≤ responΣ t∩ ß SCS╔ I─ » LU╬ addres≤ differen⌠ froφ ì
  177. thosσ useΣ b∙ thσ datß transfe≥ elemen⌠ devices«  Iµ thσ datß transfe≥ ì
  178. element≤ serveΣ b∙ thσ mediuφ change≥ devicσ arσ SCS╔ devices¼ the∙ ma∙ bσ ì
  179. addresseΣ thougΦ thσ samσ SCS╔ I─ a≤ thσ change≥ devicσ bu⌠ witΦ ß differen⌠ ì
  180. logica∞ uni⌠ numbe≥ o≥ througΦ ß differen⌠ SCS╔ ID« Therσ i≤ n∩ requiremen⌠ ì
  181. tha⌠ communicatioε witΦ thσ datß transfe≥ element≤ bσ donσ witΦ thσ samσ SCS╔ ì
  182. bu≤ a≤ thσ mediuφ change≥ devicσ o≥ b∙ aε SCS╔ interfacσ a⌠ all«  Thi≤ commanΣ ì
  183. se⌠ doe≤ no⌠ suppor⌠ addressinτ botΦ thσ change≥ anΣ thσ datß transfe≥ ì
  184. element≤ witΦ thσ samσ SCS╔ I─ » LU╬ becausσ thσ devicσ a⌠ ß particula≥ SCS╔ ì
  185. I─ » LU╬ addres≤ mus⌠ havσ ß singlσ periphera∞ devicσ type« 
  186.  
  187. ááThσ REA─ ELEMEN╘ STATU╙ responsσ pagσ fo≥ datß transfe≥ element≤ provide≤ ì
  188. thσ SCS╔ I─ » LU╬ addres≤ oµ thσ primar∙ device≤ serviceΣ b∙ ß mediuφ change≥ ì
  189. devicσ iµ knowε t∩ thσ mediuφ change≥ device« 
  190.  
  191. .cp 10
  192. .aw off
  193. .pm 0
  194. 16.1.3. Data Access Operations Using a Medium Changer Device 
  195. .aw on
  196. .pm 3
  197.  
  198. ááThσ mediuφ change≥ devicσ move≤ unit≤ oµ mediß amonτ thσ severa∞ element≤ ì
  199. accessiblσ t∩ it«  I⌠ i≤ ablσ t∩ repor⌠ thσ full/empt∙ statu≤ oµ an∙ oµ thesσ ì
  200. elements«  Datß transfe≥ element≤ represen⌠ thσ interfacσ betweeε thσ mediuφ ì
  201. change≥ devicσ anΣ somσ primar∙ devicσ sucΦ a≤ ß removablσ mediß optica∞ disδ ì
  202. drivσ o≥ tapσ drive« 
  203.  
  204. ááIε orde≥ t∩ acces≤ datß oε ß uni⌠ oµ mediß currentl∙ locateΣ iε ß mediuφ ì
  205. change≥ storagσ element¼ ß systeφ wil∞ havσ t∩ issuσ command≤ t∩ botΦ thσ ì
  206. mediuφ change≥ devicσ anΣ t∩ thσ primar∙ device«  Thσ command≤ t∩ thσ mediuφ ì
  207. change≥ ma∙ includσ MOV┼ MEDIU═ o≥ EXCHANG┼ MEDIU═ plu≤ REA─ ELEMEN╘ STATU╙ ì
  208. commands«  Thσ command≤ t∩ thσ primar∙ devicσ ma∙ includσ TES╘ UNI╘ READY¼ ì
  209. INQUIRY¼ STAR╘ STO╨ anΣ LOA─ UNLOA─ command≤ iε additioε t∩ REA─ anΣ WRIT┼ ì
  210. commands« 
  211.  
  212. .cp 10è.aw off
  213. .pm 0
  214. 16.1.4. Elemen⌠ Statu≤ Maintenancσ Requirements 
  215. .aw on
  216. .pm 3
  217.  
  218. ááIµ thσ mediuφ change≥ devicσ choose≤ t∩ implemen⌠ thσ REA─ ELEMEN╘ STATU╙ ì
  219. command¼ thσ mediuφ change≥ devicσ mus⌠ bσ capablσ oµ reportinτ thσ variou≤ ì
  220. datß (i.e« full¼ error¼ etc.⌐ requireΣ b∙ eacΦ pagσ type« Thσ mediuφ change≥ ì
  221. ma∙ maintaiε thi≤ informatioε a⌠ al∞ time≤ o≥ regeneratσ i⌠ iε responsσ t∩ thσ ì
  222. REA─ ELEMEN╘ STATU╙ command« Thσ INITIALIZ┼ ELEMEN╘ STATU╙ commanΣ caε bσ useΣ ì
  223. t∩ forcσ regeneratioε oµ thi≤ information« 
  224.  
  225.  
  226. .cp 10
  227. .aw off
  228. .pm 0
  229. 16.1.5. Volumσ Tags
  230. .aw on
  231. .pm 3
  232.  
  233. ááThσ ReaΣ Elemen⌠ Statu≤ descripto≥ forma⌠ fo≥ al∞ elemen⌠ type≤ include≤ tw∩ ì
  234. set≤ oµ field≤ tha⌠ contaiε volumσ taτ information« Thesσ optiona∞ field≤ arσ ì
  235. useΣ t∩ repor⌠ mediß identificatioε informatioε tha⌠ thσ mediuφ change≥ ha≤ ì
  236. acquireΣ eithe≥ b∙ readinτ aε externa∞ labe∞ (e.g« ba≥ codσ labels)¼ b∙ ß SEN─ ì
  237. VOLUM┼ TA╟ commanΣ o≥ b∙ othe≥ mean≤ whicΦ ma∙ bσ vendo≥ unique« Thσ samσ ì
  238. volumσ taτ informatioε shal∞ bσ availablσ t∩ al∞ initiator≤ whethe≥ assigneΣ ì
  239. b∙ tha⌠ initiator¼ b∙ somσ othe≥ initiato≥ o≥ b∙ thσ mediß change≥ itself.
  240.  
  241. ááVolumσ taτ informatioε provide≤ ß mean≤ t∩ confirφ thσ identit∙ oµ ß uni⌠ oµ ì
  242. mediß tha⌠ reside≤ iε ß mediuφ change≥ element« Thi≤ commanΣ se⌠ doe≤ no⌠ ì
  243. definσ an∙ direc⌠ addressinτ oµ unit≤ oµ mediß baseΣ oε thesσ fields« However¼ ì
  244. command≤ arσ defineΣ tha⌠ providσ translatioε betweeε volumσ taτ informatioε ì
  245. anΣ thσ elemen⌠ addres≤ wherσ tha⌠ uni⌠ oµ mediß currentl∙ resides.
  246.  
  247. ááThσ mediuφ change≥ commanΣ se⌠ definitioε doe≤ no⌠ imposσ thσ requiremen⌠ ì
  248. tha⌠ volumσ taτ informatioε bσ uniquσ ove≥ thσ unit≤ oµ mediß withiε thσ scopσ ì
  249. oµ thσ change≥ device« 
  250.  
  251. ááThσ followinτ command≤ suppor⌠ thσ optiona∞ volumσ taτ functionality:
  252. áá(1⌐ SEN─ VOLUM┼ TA╟ ¡ eithe≥ a≤ ß translatioε reques⌠ o≥ t∩ associatσ ß ì
  253. Volumσ Taτ witΦ thσ uni⌠ oµ mediß currentl∙ residinτ a⌠ aε elemen⌠ address.
  254. áá(2⌐ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ ¡ returε thσ elemen⌠ addres≤ currentl∙ ì
  255. associateΣ witΦ thσ volumσ taτ informatioε transferreΣ witΦ thσ las⌠ SenΣ ì
  256. Volumσ Taτ command.
  257. áá(3⌐ REA─ ELEMEN╘ STATU╙ ¡ optionall∙ report≤ volumσ taτ informatioε fo≥ al∞ ì
  258. elemen⌠ types.
  259. áá(4⌐ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ command≤ ¡ iµ volumσ tag≤ arσ ì
  260. implemented¼ thesσ command≤ mus⌠ retaiε thσ associatioε betweeε volumσ taτ ì
  261. informatioε anΣ unit≤ oµ mediß a≤ the∙ arσ moveΣ froφ elemen⌠ t∩ element.
  262.  
  263. .lm 1
  264. .cp 5
  265. .aw off
  266. .pm 0
  267. 16.1.5.1. Volumσ Taτ Format 
  268. .aw on
  269. .pm 3
  270. ááVolumσ taτ informatioε consist≤ oµ ß volumσ identifie≥ fielΣ oµ 3▓ byte≤ ì
  271. plu≤ ß volumσ sequencσ numbe≥ fielΣ oµ ▓ bytes« Thσ volumσ identifie≥ shal∞ ì
  272. consis⌠ oµ ß lef⌠ justifieΣ sequencσ oµ ASCI╔ characters« UnuseΣ position≤ ì
  273. shal∞ bσ blanδ (20h⌐ filled«  Iε orde≥ fo≥ thσ SEN─ VOLUM┼ TA╟ translatσ witΦ ì
  274. templatσ t∩ worδ thσ character≤ '*º and'?º (2AΦ anΣ 3Fh⌐ mus⌠ no⌠ appea≥ iε ì
  275. volumσ identificatioε datß anΣ therσ mus⌠ bσ n∩ blank≤ (20h⌐ withiε thσ ì
  276. significan⌠ par⌠ oµ thσ volumσ identifier« Iµ volumσ taτ informatioε fo≥ ß ì
  277. particula≥ elemen⌠ i≤ undefined¼ thσ volumσ identifie≥ fielΣ shal∞ bσ zero«  
  278.  
  279. .cp 3
  280. ááThσ volumσ sequencσ numbe≥ i≤ ß ▓ bytσ intege≥ field« Iµ thσ volumσ sequencσ ì
  281. numbe≥ i≤ no⌠ useΣ thi≤ fielΣ shal∞ bσ zero«  Thσ volumσ taτ content≤ arσ ì
  282. independen⌠ oµ thσ volumσ identificatioε informatioε recordeΣ oε thσ media« è
  283. .cp 6
  284. .pm 0
  285. .lm 3
  286. ááIMPLEMENTOR╙ NOTE║ Fo≥ compatibilit∙ witΦ thσ volumσ identifie≥ defineΣ b∙ ì
  287. áávolumσ anΣ filσ structurσ standards¼ i⌠ i≤ recommendeΣ tha⌠ thσ character≤ ì
  288. ááiε thσ significan⌠ noε-blanδ portioε oµ thσ volumσ identifie≥ fielΣ bσ ì
  289. áárestricteΣ t∩ thσ set║ '0'..'9'¼ 'A'..'Z'¼ anΣ '_º (30h..39h¼ 41h..5Ah¼ ì
  290. áá5Fh)« Specifiπ system≤ ma∙ havσ differinτ requirement≤ tha⌠ ma∙ takσ ì
  291. ááprecedencσ ove≥ thi≤ recommendation«  
  292. .pm 3
  293. .lm 1
  294.  
  295. .cp 3
  296. ááTablσ 1╢-▒ define≤ thσ field≤ withiε thσ 3╢ bytσ primar∙ anΣ alternatσ ì
  297. volumσ taτ informatioε field≤ founΣ iε REA─ ELEMEN╘ STATU╙ descriptor≤ anΣ iε ì
  298. thσ datß forma⌠ fo≥ thσ SEN─ VOLUM┼ TA╟ command.
  299.  
  300. .aw off
  301. .pm 0
  302. .cp  22
  303.                   Table 16-1: Volumσ Taτ Informatioε Format
  304.  
  305. ==============================================================================
  306.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  307. Byte |        |        |        |        |        |        |        |        |
  308. ==============================================================================
  309.  ░   |                                                                       |
  310. ¡ ¡ -ⁿ¡ ¡ ¡                 Volumσ Identification Field                 - - -|
  311.  31  |                                                                       |
  312. -----|-----------------------------------------------------------------------|
  313.  32  |                                                                       |
  314. ¡ ¡ -ⁿ¡ ¡ ¡                          ReserveΣ                           - - -|
  315.  33  ⁿ                                                                       |
  316. -----|-----------------------------------------------------------------------|
  317.  34  | (MSB)                                                                 |
  318. -----|---                     Volumσ Sequencσ Number                      ---|
  319.  35  |                                                                 (LSB) |
  320. ==============================================================================
  321. .aw on
  322. .pm 3
  323.  
  324. .cp 5
  325. .aw off
  326. .pm 0
  327. 16.1.5.2. Primar∙ anΣ Alternatσ Volumσ Taτ Information
  328. .aw on
  329. .pm 3
  330. ááElemen⌠ statu≤ descriptor≤ a≤ reporteΣ b∙ thσ REA─ ELEMEN╘ STATU╙ commanΣ ì
  331. definσ ß primar∙ volumσ taτ anΣ aε alternatσ volumσ tag« Alternatσ volumσ taτ ì
  332. informatioε provide≤ ß mean≤ fo≥ ß systeφ t∩ usσ differen⌠ volumσ ì
  333. identificatioε informatioε fo≥ eacΦ sidσ oµ doublσ sideΣ media« Iε sucΦ ß ì
  334. system¼ thσ primar∙ volumσ taτ informatioε refer≤ t∩ thσ logica∞ mediuφ ì
  335. accessiblσ viß ß MOV┼ MEDIU═ commanΣ withou⌠ thσ inver⌠ bi⌠ set« Thσ alternatσ ì
  336. volumσ taτ informatioε refer≤ t∩ thσ othe≥ sidσ oµ thσ media¼ i.e« thσ sidσ ì
  337. tha⌠ woulΣ bσ accesseΣ viß ß MOV┼ MEDIU═ commanΣ witΦ thσ inver⌠ bi⌠ set.
  338.  
  339. .cp 40è.aw off
  340. .pm 0
  341. 16.2. Command≤ fo≥ Medium Change≥ Devices
  342. .aw on
  343. .pm 3
  344.  
  345. ááThσ command≤ fo≥ mediuφ change≥ device≤ shal∞ bσ a≤ showε iε Tablσ 1╢-2.
  346.  
  347. .aw off
  348. .pm 0
  349. .cp 35
  350.                Table 16-2: Commands for Medium Change≥ Devices
  351.  
  352. ==============================================================================
  353.                                 Operatioε                 
  354. Command Name                      Code     Type   Sectioε
  355. ------------------------------------------------------------------------------
  356. CHANG┼ DEFINITION                  40h      O       7.2.1
  357. EXCHANGE MEDIUM                    A6h      O      16.2.1
  358. INITIALIZ┼ ELEMEN╘ STATU╙          07Φ      ╧      16.2.2
  359. INQUIRY                            12h      M       7.2.5        
  360. LO╟ SELEC╘                         4CΦ      ╧       7.2.6
  361. LO╟ SENS┼                          4DΦ      ╧       7.2.7
  362. MODE SELECT(6)                     15h      O       7.2.8
  363. MODE SELECT(10)                    55h      O       7.2.9
  364. MODE SENSE(6)                      1Ah      O       7.2.10
  365. MODE SENSE(10)                     5Ah      O       7.2.11
  366. MOVE MEDIUM                        A5h      M      16.2.3
  367. POSITIO╬ T╧ ELEMEN╘                2BΦ      ╧      16.2.4
  368. PREVEN╘ ALLOW MEDIUM REMOVAL       1Eh      O       8.2.4
  369. REA─ BUFFER                        3Ch      O       7.2.12
  370. READ ELEMENT STATUS                B8h      O      16.2.5
  371. RECEIVE DIAGNOSTIC RESULTS         1Ch      O       7.2.13
  372. RELEASE                            17h      O      16.2.6
  373. REQUES╘ VOLUME ELEMEN╘ ADDRES╙     B5Φ      ╧      16.2.7
  374. REQUEST SENSE                      03h      M       7.2.14
  375. RESERVE                            16h      O      16.2.8
  376. REZERO UNIT                        01h      O       8.2.13
  377. SEND DIAGNOSTIC                    1Dh      M       7.2.15
  378. SEN─ VOLUM┼ TA╟                    B6Φ      ╧      16.2.9
  379. TEST UNIT READY                    00h      M       7.2.16
  380. WRIT┼ BUFFER                       3Bh      O       7.2.17
  381. ==============================================================================
  382. .aw on
  383. .pm 3
  384.  
  385. ááKey║ ═  ╜  CommanΣ implementatioε i≤ mandatory.
  386. áá     ╧  ╜  CommanΣ implementatioε i≤ optional.
  387.  
  388. ááOperatioε code≤ C0Φ througΦ FFΦ arσ vendo≥ specific«  Al∞ othe≥ operatioε ì
  389. code≤ arσ reserved.
  390.  
  391. .cp 35è.aw off
  392. .pm 0
  393. 16.2.1. EXCHANGE MEDIUM Command
  394.  
  395.                      Table 16-3: EXCHANGE MEDIUM Command
  396.  
  397. ==============================================================================
  398.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  399. Byte |        |        |        |        |        |        |        |        |
  400. ==============================================================================
  401.  0   |                           Operation Code (A6h)                        |
  402. -----|-----------------------------------------------------------------------|
  403.  1   | Logical Unit Number      |                  Reserved                  |
  404. -----|-----------------------------------------------------------------------|
  405.  2   | (MSB)                                                                 |
  406. -----|---                        Transport Element Address                ---|
  407.  3   |                                                                 (LSB) |
  408. -----|-----------------------------------------------------------------------|
  409.  4   | (MSB)                                                                 |
  410. -----|---                        Source Address                           ---|
  411.  5   |                                                                 (LSB) |
  412. -----|-----------------------------------------------------------------------|
  413.  6   | (MSB)                                                                 |
  414. -----|---                        Firs⌠ Destinatioε Addres≤                ---|
  415.  7   |                                                                 (LSB) |
  416. -----|-----------------------------------------------------------------------|
  417.  8   | (MSB)                                                                 |
  418. -----|---                        Second Destination Address               ---|
  419.  9   |                                                                 (LSB) |
  420. -----|-----------------------------------------------------------------------|
  421.  10  ⁿ                           ReserveΣ                  ⁿ  Inv2  |  Inv1  |
  422. -----|-----------------------------------------------------------------------|
  423.  1▒  ⁿ                           Control                                     |
  424. ==============================================================================
  425. .aw on
  426. .pm 3
  427.  
  428.  
  429. ááThσ EXCHANG┼ MEDIU═ commanΣ (Tablσ 1╢-3⌐ provide≤ ß mean≤ t∩ exchangσ thσ ì
  430. mediuφ iε thσ sourcσ elemen⌠ witΦ thσ mediuφ locateΣ a⌠ ß destinatioε element« 
  431.  
  432. .pm 0
  433. .lm 3
  434. ááIMPLEMENTOR╙ NOTE║  Suppor⌠ oµ thi≤ commanΣ require≤ tha⌠ thσ devicσ havσ ì
  435. ááthσ capabilit∙ oµ handlinτ tw∩ unit≤ oµ mediß a⌠ thσ samσ timσ o≥ tha⌠ i⌠ ì
  436. ááemulatσ thi≤ capability« 
  437. .pm 3
  438. .lm 1
  439.  
  440. ááThσ mediuφ iε thσ sourcσ elemen⌠ i≤ moveΣ t∩ thσ destinatioε ▒ elemen⌠ anΣ ì
  441. thσ mediuφ whicΦ previousl∙ occupieΣ thσ destinatioε ▒ elemen⌠ i≤ moveΣ t∩ thσ ì
  442. destinatioε ▓ element« Thσ destinatioε ▓ elemen⌠ ma∙ o≥ ma∙ no⌠ bσ thσ samσ ì
  443. elemen⌠ a≤ thσ sourcσ element«  Iε thσ casσ oµ ß simplσ exchange¼ thσ sourcσ ì
  444. elemen⌠ anΣ thσ destinatioε ▓ elemen⌠ arσ thσ same« 
  445.  
  446. ááIµ thi≤ commanΣ i≤ receiveΣ anΣ thσ sourcσ elemen⌠ i≤ empt∙ o≥ thσ ì
  447. destinatioε ▒ elemen⌠ i≤ empt∙ o≥ thσ destinatioε ▓ elemen⌠ (iµ differen⌠ froφ ì
  448. thσ sourcσ element⌐ i≤ ful∞ o≥ thσ destinatioε ▓ elemen⌠ (iµ thσ samσ a≤ thσ ì
  449. sourcσ element⌐ i≤ empty¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ ì
  450. se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  451.  
  452. .cp 6èááThσ transpor⌠ elemen⌠ addres≤ specifie≤ thσ mediuφ transpor⌠ elemen⌠ tha⌠ i≤ ì
  453. t∩ bσ useΣ iε executinτ thi≤ command« Thσ defaul⌠ mediuφ transpor⌠ elemen⌠ ì
  454. addres≤ oµ zer∩ ma∙ bσ useΣ iµ thi≤ functionalit∙ i≤ supporteΣ b∙ thσ mediuφ ì
  455. change≥ device« Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε assigneΣ o≥ ha≤ beeε ì
  456. assigneΣ t∩ aε elemen⌠ othe≥ thaε ß mediuφ transpor⌠ element¼ thσ targe⌠ shal∞ ì
  457. returε CHEC╦ CONDITIO╬ statu≤ anΣ thσ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  458.  
  459. ááThσ sourcσ address¼ thσ destinatioε ▒ address¼ anΣ thσ destinatioε ▓ addres≤ ì
  460. ma∙ represen⌠ ß storagσ element¼ aε impor⌠ expor⌠ element¼ ß datß transfe≥ ì
  461. element¼ o≥ ß mediuφ transpor⌠ element«  Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε ì
  462. assigneΣ t∩ ß specifiπ elemen⌠ oµ thσ mediuφ changer¼ thσ targe⌠ shal∞ returε ì
  463. CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  464.  
  465. ááThσ devicσ capabilitie≤ MOD┼ SENS┼ pagσ provide≤ ß matri° witΦ thσ supporteΣ ì
  466. sourcσ elemen⌠ » destinatioε ▒ elemen⌠ combination≤ fo≥ EXCHANG┼ MEDIU═ ì
  467. command≤ witΦ sourcσ elemen⌠ thσ samσ a≤ destinatioε ▓ element« Seσ 16.3.3.
  468.  
  469. ááAε Inv▒ bi⌠ oµ onσ specifie≤ tha⌠ thσ mediuφ shal∞ bσ inverteΣ prio≥ t∩ ì
  470. depositinτ thσ mediuφ int∩ thσ destinatioε ▒ element« 
  471.  
  472. ááAε Inv▓ bi⌠ oµ onσ specifie≤ tha⌠ thσ mediuφ shal∞ bσ inverteΣ prio≥ t∩ ì
  473. depositinτ thσ mediuφ int∩ thσ destinatioε ▓ element« 
  474.  
  475. ááIµ thσ mediuφ change≥ doe≤ no⌠ suppor⌠ mediuφ rotatioε fo≥ handlinτ doublσ ì
  476. sideΣ media¼ thσ Inv▒ anΣ Inv▓ bit≤ shoulΣ bσ se⌠ t∩ zero« Iµ eithe≥ oµ thesσ ì
  477. bit≤ i≤ nonzero¼ ß targe⌠ whicΦ i≤ no⌠ capablσ oµ mediuφ rotatioε shal∞ returε ì
  478. CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  479.  
  480.  
  481. .pm 0
  482. .aw off
  483. .cp 30è16.2.2. INITIALIZ┼ ELEMEN╘ STATU╙ Command
  484.  
  485.                 Table 16-4: INITIALIZ┼ ELEMEN╘ STATU╙ Command
  486.  
  487. ==============================================================================
  488.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  489. Byte |        |        |        |        |        |        |        |        |
  490. ==============================================================================
  491.  0   |                           Operation Code (07h)                        |
  492. -----|-----------------------------------------------------------------------|
  493.  1   | Logical Unit Number      ⁿ                ReserveΣ                    |
  494. -----|-----------------------------------------------------------------------|
  495.  2   |                           Reserved                                    |
  496. -----|-----------------------------------------------------------------------|
  497.  3   |                           Reserved                                    |
  498. -----|-----------------------------------------------------------------------|
  499.  4   |                           Reserved                                    |
  500. -----|-----------------------------------------------------------------------|
  501.  5   ⁿ                           Control                                     |
  502. ==============================================================================
  503. .pm 3
  504. .aw on
  505.  
  506. ááThσ INITIALIZ┼ ELEMEN╘ STATU╙ commanΣ (Tablσ 1╢-4⌐ wil∞ causσ thσ Mediuφ ì
  507. Change≥ t∩ checδ al∞ element≤ fo≥ mediuφ anΣ an∙ othe≥ statu≤ relevan⌠ t∩ tha⌠ ì
  508. element« Thσ inten⌠ oµ thi≤ commanΣ i≤ t∩ enablσ thσ initiato≥ t∩ ge⌠ ß quicδ ì
  509. responsσ froφ ß followinτ REA─ ELEMEN╘ STATU╙ command« I⌠ ma∙ bσ usefu∞ t∩ ì
  510. issuσ thi≤ commanΣ afte≥ ß powe≥ failure¼ o≥ iµ mediuφ ha≤ beeε changeΣ b∙ aε ì
  511. operator¼ o≥ iµ configuration≤ havσ beeε changed.
  512.  
  513.  
  514. .cp 35è.pm 0
  515. .aw off
  516. 16.2.3. MOVE MEDIUM Command
  517.  
  518.                        Table 16-5: MOVE MEDIUM Command
  519.  
  520. ==============================================================================
  521.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  522. Byte |        |        |        |        |        |        |        |        |
  523. ==============================================================================
  524.  0   |                           Operation Code (A5h)                        |
  525. -----|-----------------------------------------------------------------------|
  526.  1   | Logical Unit Number      |             Reserved                       |
  527. -----|-----------------------------------------------------------------------|
  528.  2   | (MSB)                                                                 |
  529. -----|---                        Transport Element Address                ---|
  530.  3   |                                                                 (LSB) |
  531. -----|-----------------------------------------------------------------------|
  532.  4   | (MSB)                                                                 |
  533. -----|---                        Source Address                           ---|
  534.  5   ⁿ                                                                 (LSB⌐ |
  535. -----|-----------------------------------------------------------------------|
  536.  6   | (MSB)                                                                 |
  537. -----|---                        Destination Address                      ---|
  538.  7   |                                                                 (LSB) |
  539. -----|-----------------------------------------------------------------------|
  540.  8   |                           Reserved                                    |
  541. -----|-----------------------------------------------------------------------|
  542.  9   |                           Reserved                                    |
  543. -----|-----------------------------------------------------------------------|
  544.  10  |                           Reserved                           | Invert |
  545. -----|-----------------------------------------------------------------------|
  546.  1▒  ⁿ                           Control                                     |
  547. ==============================================================================
  548. .aw on
  549. .pm 3
  550.  
  551.  
  552. ááThσ MOV┼ MEDIU═ commanΣ (Tablσ 1╢-5⌐ request≤ tha⌠ thσ targe⌠ movσ ß uni⌠ oµ ì
  553. mediß froφ ß sourcσ elemen⌠ t∩ ß destinatioε element« 
  554.  
  555. ááThσ sourcσ addres≤ specifie≤ thσ locatioε tha⌠ thσ mediuφ i≤ takeε from¼ anΣ ì
  556. thσ destinatioε addres≤ specifie≤ thσ locatioε tha⌠ thσ mediuφ i≤ moveΣ to« 
  557.  
  558. ááIµ thi≤ commanΣ i≤ receiveΣ anΣ thσ sourcσ elemen⌠ i≤ empt∙ o≥ thσ ì
  559. destinatioε elemen⌠ (iµ differen⌠ froφ thσ sourcσ element⌐ i≤ full¼ thσ targe⌠ ì
  560. shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  561.  
  562. ááThσ transpor⌠ elemen⌠ addres≤ specifie≤ thσ mediuφ transpor⌠ elemen⌠ tha⌠ i≤ ì
  563. t∩ bσ useΣ iε executinτ thi≤ command« Thσ defaul⌠ mediuφ transpor⌠ elemen⌠ ì
  564. addres≤ oµ zer∩ ma∙ bσ useΣ iµ thi≤ functionalit∙ i≤ supporteΣ b∙ thσ mediuφ ì
  565. change≥ device«  Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε assigneΣ o≥ ha≤ beeε ì
  566. assigneΣ t∩ aε elemen⌠ othe≥ thaε ß mediuφ transpor⌠ element¼ thσ targe⌠ shal∞ ì
  567. returε CHEC╦ CONDITIO╬ statu≤ anΣ thσ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  568.  
  569. .cp 5èááThσ sourcσ addres≤ anΣ thσ destinatioε addres≤ ma∙ represen⌠ ß storagσ ì
  570. element¼ aε impor⌠ expor⌠ element¼ ß datß transfe≥ element¼ o≥ ß mediuφ ì
  571. transpor⌠ element« Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε assigneΣ t∩ ß ì
  572. specifiπ elemen⌠ oµ thσ mediuφ changer¼ thσ targe⌠ shal∞ returε CHEC╦ ì
  573. CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  574.  
  575. ááThσ devicσ capabilitie≤ MOD┼ SENS┼ pagσ provide≤ ß matri° witΦ thσ supporteΣ ì
  576. sourcσ elemen⌠ or destinatioε elemen⌠ combination≤ fo≥ thσ MOV┼ MEDIU═ command« ì
  577. Seσ 16.3.3.
  578.  
  579. ááAε inver⌠ bi⌠ oµ onσ specifie≤ tha⌠ thσ mediuφ shal∞ bσ inverteΣ o≥ rotateΣ ì
  580. prio≥ t∩ depositinτ thσ mediuφ int∩ thσ destinatioε element« Iµ thσ mediuφ ì
  581. change≥ doe≤ no⌠ suppor⌠ mediuφ rotatioε fo≥ handlinτ doublσ sideΣ media¼ thσ ì
  582. inver⌠ bi⌠ shoulΣ bσ se⌠ t∩ zero«  Iµ thi≤ bi⌠ i≤ nonzero¼ ß targe⌠ whicΦ i≤ ì
  583. no⌠ capablσ oµ mediuφ rotatioε shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ ì
  584. sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  585.  
  586.  
  587. .pm 0
  588. .aw off
  589. .cp 35
  590. 16.2.4. POSITIO╬ T╧ ELEMENT Command
  591.  
  592.                    Table 16-6: POSITIO╬ T╧ ELEMENT Command
  593.  
  594. ==============================================================================
  595.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  596. Byte |        |        |        |        |        |        |        |        |
  597. ==============================================================================
  598.  0   |                           Operation Code (2Bh)                        |
  599. -----|-----------------------------------------------------------------------|
  600.  1   | Logical Unit Number      ⁿ                ReserveΣ                    |
  601. -----|-----------------------------------------------------------------------|
  602.  2   | (MSB)                                                                 |
  603. -----|---                        Transpor⌠ Element Address                ---|
  604.  3   |                                                                 (LSB) |
  605. -----|-----------------------------------------------------------------------|
  606.  4   | (MSB)                                                                 |
  607. -----|---                        Destination Elemen⌠ Address              ---|
  608.  5   |                                                                 (LSB) |
  609. -----|-----------------------------------------------------------------------|
  610.  6   |                           Reserved                                    |
  611. -----|-----------------------------------------------------------------------|
  612.  7   |                           Reserved                                    |
  613. -----|-----------------------------------------------------------------------|
  614.  8   |                           Reserved                           ⁿ Invert |
  615. -----|-----------------------------------------------------------------------|
  616.  ╣   ⁿ                           Control                                     |
  617. ==============================================================================
  618. .pm 3
  619. .aw on
  620.  
  621.  
  622. .cp 2
  623. ááThσ POSITIO╬ T╧ ELEMEN╘ commanΣ (Tablσ 1╢-6⌐ wil∞ positioε thσ transpor⌠ ì
  624. elemen⌠ specifieΣ iε fron⌠ oµ thσ destinatioε elemen⌠ specified« 
  625.  
  626. .cp 4
  627. .pm 0
  628. .lm 3
  629. ááIMPLEMENTOR╙ NOTE║ Iε thi≤ context¼ "iε fron⌠ ofó i≤ defineΣ t∩ meaε ¡¡ ì
  630. áápositioneΣ s∩ tha⌠ n∩ furthe≥ motioε oµ thσ mediuφ transpor⌠ elemen⌠ i≤ ì
  631. áánecessar∙ t∩ executσ aε appropriatσ MOV┼ MEDIU═ commanΣ betweeε thσ tw∩ ì
  632. ááelements.è.pm 3
  633. .lm 1
  634.  
  635. .cp 4
  636. ááAε inver⌠ bi⌠ valuσ oµ onσ request≤ tha⌠ thσ transpor⌠ elemen⌠ bσ inverteΣ ì
  637. o≥ rotateΣ beforσ positioninτ iε fron⌠ oµ thσ destinatioε element« ┴ valuσ oµ ì
  638. zer∩ request≤ tha⌠ thσ orientatioε bσ unchangeΣ beforσ positioninτ iε fron⌠ oµ ì
  639. thσ destinatioε element.
  640.  
  641.  
  642. .pm 0
  643. .aw off
  644. .cp 35
  645. 16.2.5. READ ELEMENT STATUS Command
  646.  
  647.                    Table 16-7: READ ELEMENT STATUS Command
  648.  
  649. ==============================================================================
  650.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  651. Byte |        |        |        |        |        |        |        |        |
  652. ==============================================================================
  653.  0   |                           Operation Code (B8h)                        |
  654. -----|-----------------------------------------------------------------------|
  655.  1   | Logical Unit Number      ⁿ VolTaτ |        Element Type Code          |
  656. -----|-----------------------------------------------------------------------|
  657.  2   | (MSB)                                                                 |
  658. -----|---                        Starting Element Address                 ---|
  659.  3   |                                                                 (LSB) |
  660. -----|-----------------------------------------------------------------------|
  661.  4   | (MSB)                                                                 |
  662. -----|---                        Number of Elements                       ---|
  663.  5   |                                                                 (LSB) |
  664. -----|-----------------------------------------------------------------------|
  665.  6   ⁿ                           Reserved                                    |
  666. -----|-----------------------------------------------------------------------|
  667.  7   | (MSB)                                                                 |
  668. -----|--¡                                                                 ---|
  669.  8   ⁿ                           Allocatioε Length                           |
  670. -----|--¡                                                                 ---|
  671.  9   |                                                                 (LSB) |
  672. -----|-----------------------------------------------------------------------|
  673. 10   |                           Reserved                                    |
  674. -----|-----------------------------------------------------------------------|
  675. 11   ⁿ                           Control                                     |
  676. ==============================================================================
  677. .pm 3
  678. .aw on
  679.  
  680.  
  681. ááThσ REA─ ELEMEN╘ STATU╙ commanΣ (Tablσ 1╢-7⌐ request≤ thσ targe⌠ repor⌠ thσ ì
  682. statu≤ oµ it≤ interna∞ element≤ t∩ thσ initiator.
  683.  
  684. áá┴ volumσ taτ (VolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ repor⌠ ì
  685. volumσ taτ informatioε iµ thi≤ featurσ i≤ supported« ┴ valuσ oµ zer∩ indicate≤ ì
  686. tha⌠ volumσ taτ informatioε shal∞ no⌠ bσ reported« Iµ thσ volumσ taτ featurσ ì
  687. i≤ no⌠ supporteΣ thi≤ fielΣ shal∞ bσ treateΣ a≤ reserved.
  688.  
  689. ááThσ elemen⌠ typσ codσ fielΣ specifie≤ thσ particula≥ elemen⌠ type(s⌐ ì
  690. selecteΣ fo≥ reportinτ b∙ thi≤ command«  ┴ valuσ oµ zer∩ specifie≤ tha⌠ statu≤ ì
  691. fo≥ al∞ elemen⌠ type≤ shal∞ bσ reported«  Thσ elemen⌠ typσ code≤ arσ defineΣ ì
  692. iε Tablσ 1╢-8.
  693.  
  694. .cp 13è.pm 0
  695. .aw off
  696.                         Table 16-8: Element Type Code
  697.  
  698. ==============================================================================
  699.   Code        Description                    
  700.   -----       ---------------------------------------------------
  701.   0h          Al∞ elemen⌠ type≤ reported¼ (valiΣ iε CD┬ only)
  702.   1h          Medium Transport Element            
  703.   2Φ          Storagσ Element                     
  704.   3h          Impor⌠ Export Element               
  705.   4h          Data Transfer Element               
  706.   5h-Fh       Reserved
  707. ==============================================================================
  708. .pm 3
  709. .aw on
  710.  
  711.  
  712. ááThσ startinτ elemen⌠ addres≤ specifie≤ thσ minimuφ elemen⌠ addres≤ t∩ ì
  713. report« Onl∙ element≤ witΦ aε elemen⌠ typσ codσ permitteΣ b∙ thσ elemen⌠ typσ ì
  714. codσ specificatioε anΣ aε elemen⌠ addres≤ greate≥ thaε o≥ equa∞ t∩ thσ ì
  715. startinτ elemen⌠ addres≤ shal∞ bσ reported« Elemen⌠ descripto≥ block≤ arσ no⌠ ì
  716. generateΣ fo≥ undefineΣ elemen⌠ addresses.
  717.  
  718. ááThσ numbe≥ oµ element≤ specifie≤ thσ maximuφ numbe≥ oµ elemen⌠ descriptor≤ ì
  719. t∩ bσ createΣ b∙ thσ targe⌠ fo≥ thi≤ command« Thσ valuσ specifieΣ b∙ thi≤ ì
  720. fielΣ i≤ no⌠ thσ rangσ oµ elemen⌠ addresse≤ t∩ bσ considereΣ fo≥ reportinτ bu⌠ ì
  721. rathe≥ thσ numbe≥ oµ defineΣ element≤ t∩ report« Iµ thσ allocatioε lengtΦ i≤ ì
  722. no⌠ sufficien⌠ t∩ transfe≥ al∞ thσ elemen⌠ descriptors¼ thσ targe⌠ shal∞ ì
  723. transfe≥ al∞ thosσ descriptor≤ tha⌠ caε bσ completel∙ transferreΣ anΣ thi≤ ì
  724. shal∞ no⌠ bσ considereΣ aε error.
  725.  
  726. .cp 5
  727. .aw off
  728. .pm 0
  729. 16.2.5.1. Elemen⌠ Statu≤ Data 
  730. .aw on
  731. .pm 3
  732. ááThσ datß returneΣ b∙ thσ REA─ ELEMEN╘ STATU╙ commanΣ shal∞ bσ a≤ showε iε ì
  733. Table≤ 1╢-╣ througΦ 1╢-1┤ anΣ Figurσ 1╢-1« Elemen⌠ statu≤ datß consist≤ oµ aε ì
  734. eigh⌠-bytσ header¼ (Tablσ 1╢-9⌐ followeΣ b∙ onσ o≥ morσ elemen⌠ statu≤ pages.
  735.  
  736.  
  737. .aw off
  738. .pm 0
  739. .cp 32è-------------------------------------------------------
  740. ⁿ     Elemen⌠ Statu≤ Datß  ¿Tablσ 16-9.)              |
  741. |       ╕ bytσ heade≥ ½ Elemen⌠ Statu≤ Page≤          |
  742. |-----------------------------------------------------ⁿ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ -
  743. ⁿ   ----------------------------------------¡-------  |   Byte≤ counteΣ  A
  744. ⁿ   |    Elemen⌠ Statu≤ Pagσ (Tablσ 16-10.⌐        ⁿ  ⁿ      iε overal∞  |
  745. ⁿ   ⁿ      ╕ bytσ heade≥ ½ Elemen⌠ Descriptors     ⁿ  ⁿ          header  |
  746. ⁿ   |----------------------------------------------ⁿ  ⁿ ¡ ¡              |
  747. ⁿ   ⁿ   ----------------------------------------¡  |  ⁿ  A               |
  748. ⁿ   ⁿ   ⁿ    Elemen⌠ Descripto≥ (Tablσ 16-11¼   ⁿ  |  ⁿ  |  Byte≤        |
  749. ⁿ   ⁿ   ⁿ      16-12¼ 16-1│ o≥ 16-14.⌐          ⁿ  |  ⁿ  |  counted      |
  750. ⁿ   ⁿ   ----------------------------------------¡  |  |  |  iε page      |
  751. ⁿ   ⁿ   ----------------------------------------¡  |  |  |  header       |
  752. ⁿ   ⁿ   ⁿ    Elemen⌠ Descripto≥                 |  |  |  ⁿ               |
  753. ⁿ   ⁿ   ----------------------------------------¡  |  ⁿ  V               |
  754. ⁿ   ------------------------------------------------  ⁿ ¡ ¡              | 
  755. ⁿ   ------------------------------------------------  |                  |
  756. ⁿ   |    Elemen⌠ Statu≤ Pagσ                       |  |                  |
  757. ⁿ   |----------------------------------------------|  |                  |
  758. ⁿ   ⁿ   ----------------------------------------¡  |  |                  |
  759. ⁿ   ⁿ   ⁿ    Elemen⌠ Descripto≥                 ⁿ  |  |                  |
  760. ⁿ   ⁿ   ----------------------------------------¡  |  |                  |
  761. ⁿ   ⁿ            «                                 ⁿ  ⁿ                  |   
  762. ⁿ   ⁿ            «     (Morσ Elemen⌠ Descriptors⌐  ⁿ  ⁿ                  |
  763. ⁿ   ⁿ            «                                 ⁿ  ⁿ                  |
  764. ⁿ   ------------------------------------------------  ⁿ                  |
  765. ⁿ            «                                        ⁿ                  | 
  766. ⁿ            «     (Morσ Elemen⌠ Statu≤ Pages⌐        ⁿ                  |
  767. ⁿ            «                                        ⁿ                  V 
  768. ------------------------------------------------------¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ -
  769.  
  770.             Figure 16-1: Illustratioε oµ Elemen⌠ Statu≤ Datß Structure
  771. .aw on
  772.  
  773. .cp 26è.aw off
  774. .pm 0
  775.                        Table 16-9: Elemen⌠ Status Data
  776.  
  777. ==============================================================================
  778.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  779. Byte |        |        |        |        |        |        |        |        |
  780. ==============================================================================
  781.  0   | (MSB)                                                                 |
  782. -----|---                  Firs⌠ Element Addres≤ Reported                 ---|
  783.  1   |                                                                 (LSB) |
  784. -----|-----------------------------------------------------------------------|
  785.  2   | (MSB)                                                                 |
  786. -----|---                    Number of Element≤ Reported                  ---|
  787.  3   |                                                                 (LSB) |
  788. -----|-----------------------------------------------------------------------|
  789.  4   |                              Reserved                                 |
  790. -----|-----------------------------------------------------------------------|
  791.  5   | (MSB)                                                                 |
  792. -----|--¡                                                                 ---|
  793.  6   ⁿ                     Bytσ Coun⌠ oµ Repor⌠ Available                    |
  794. -----|--¡                        (al∞ page≤¼ ° ¡ 7 )                      ---|
  795.  7   |                                                                 (LSB) |
  796. ==============================================================================
  797. 8 t∩ |                                                                       |
  798. ¡ ¡ -ⁿ¡ ¡ ¡                   Elemen⌠ Statu≤ Page(s⌐                    - - -|
  799.  x   ⁿ                                                                       |
  800. ==============================================================================
  801. .pm 3
  802. .aw on
  803.  
  804.  
  805. ááThσ firs⌠ elemen⌠ addres≤ reporteΣ fielΣ indicate≤ thσ elemen⌠ addres≤ oµ ì
  806. thσ elemen⌠ witΦ thσ smalles⌠ elemen⌠ addres≤ founΣ t∩ mee⌠ thσ CD┬ request.
  807.  
  808. ááThσ numbe≥ oµ element≤ fielΣ indicate≤ thσ numbe≥ oµ element≤ meetinτ thσ ì
  809. reques⌠ iε thσ commanΣ descripto≥ block«  Thσ statu≤ fo≥ thesσ element≤ i≤ ì
  810. returneΣ iµ sufficien⌠ allocatioε lengtΦ wa≤ specified.
  811.  
  812. ááThσ bytσ coun⌠ oµ repor⌠ availablσ fielΣ indicate≤ thσ numbe≥ oµ byte≤ oµ ì
  813. elemen⌠ statu≤ pagσ datß availablσ fo≥ al∞ element≤ meetinτ thσ reques⌠ iε thσ ì
  814. commanΣ descripto≥ block«  Thi≤ valuσ shal∞ no⌠ bσ adjusteΣ t∩ matcΦ thσ ì
  815. allocatioε lengtΦ available« 
  816.  
  817. .pm 0
  818. .lm 3
  819. ááIMPLEMENTOR╙ NOTE║  Thσ REA─ ELEMEN╘ STATU╙ commanΣ caε bσ issueΣ witΦ aε ì
  820. ááallocatioε lengtΦ oµ eigh⌠ byte≤ iε orde≥ t∩ determinσ thσ allocatioε lengtΦ ì
  821. áárequireΣ t∩ transfe≥ al∞ thσ elemen⌠ statu≤ datß specifieΣ b∙ thσ command.
  822. .pm 3
  823. .lm 1
  824.  
  825. .cp 25è.aw off
  826. .pm 0
  827. 16.2.5.2. Elemen⌠ Statu≤ Pagσ 
  828.  
  829.                          Table 16-10: Elemen⌠ Statu≤ Pagσ 
  830.  
  831. ==============================================================================
  832.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  833. Byte |        |        |        |        |        |        |        |        |
  834. ==============================================================================
  835.  0   |                           Element Type Code                           |
  836. -----|-----------------------------------------------------------------------|
  837.  ▒   | PVolTag| AVolTag|                      Reserved                       |
  838. -----|-----------------------------------------------------------------------|
  839.  2   | (MSB)                                                                 |
  840. -----|---                    Elemen⌠ Descriptor LengtΦ                    ---|
  841.  3   |                    ¿z¼ froφ table≤ 16-1▒ ¡ 1╢-14.⌐              (LSB) |
  842. -----|-----------------------------------------------------------------------|
  843.  4   |                              Reserved                                 |
  844. -----|-----------------------------------------------------------------------|
  845.  5   | (MSB)                                                                 |
  846. -----|--¡                                                                 ---|
  847.  6   ⁿ                Bytσ Coun⌠ oµ Descripto≥ Data Available                |
  848. -----|--¡                      (thi≤ page¼ ∙ ¡ 7⌐                         ---|
  849.  7   |                                                                 (LSB) |
  850. ==============================================================================
  851. 8 t∩ |                                                                       |
  852. ¡ ¡ -ⁿ¡ ¡ ¡                   Elemen⌠ Descriptor(s⌐                     - - -|
  853.  y   ⁿ                                                                       |
  854. ==============================================================================
  855. .pm 3
  856. .aw on
  857.  
  858.  
  859. ááThσ elemen⌠ statu≤ pagσ i≤ defineΣ iε Tablσ 1╢-9«  EacΦ elemen⌠ statu≤ pagσ ì
  860. include≤ aε eigh⌠-bytσ heade≥ followeΣ b∙ onσ o≥ morσ elemen⌠ descripto≥ ì
  861. blocks«  Thσ pagσ heade≥ (Tablσ 1╢-10⌐ include≤ thσ elemen⌠ typσ code¼ thσ ì
  862. lengtΦ oµ eacΦ descripto≥ blocδ anΣ thσ numbe≥ oµ byte≤ oµ elemen⌠ descripto≥ ì
  863. informatioε whicΦ follo≈ thσ heade≥ fo≥ thi≤ elemen⌠ type« 
  864.  
  865. .cp 4
  866. ááThσ elemen⌠ typσ codσ fielΣ indicate≤ thσ elemen⌠ typσ reporteΣ b∙ thi≤ ì
  867. page.
  868.  
  869. áá┴ primar∙ volumσ taτ (PVolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ primar∙ volumσ ì
  870. taτ informatioε fielΣ i≤ presen⌠ iε eacΦ oµ thσ followinτ elemen⌠ descripto≥ ì
  871. blocks« ┴ valuσ oµ zer∩ indicate≤ tha⌠ thesσ byte≤ arσ omitteΣ froφ thσ ì
  872. elemen⌠ descriptor≤ tha⌠ follow.
  873.  
  874. ááAε alternatσ volumσ taτ (AVolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ alternatσ ì
  875. volumσ taτ informatioε fielΣ i≤ presen⌠ iε eacΦ oµ thσ followinτ elemen⌠ ì
  876. descripto≥ blocks« ┴ valuσ oµ zer∩ indicate≤ tha⌠ thesσ byte≤ arσ omitteΣ froφ ì
  877. thσ elemen⌠ descriptor≤ tha⌠ follow.
  878.  
  879. .cp 4
  880. ááThσ elemen⌠ descripto≥ lengtΦ fielΣ indicate≤ thσ numbe≥ oµ byte≤ iε eacΦ ì
  881. elemen⌠ descriptor« 
  882.  
  883. .cp 4èááThσ bytσ coun⌠ oµ descripto≥ datß availablσ fielΣ indicate≤ thσ numbe≥ oµ ì
  884. byte≤ oµ elemen⌠ descripto≥ datß availablσ fo≥ element≤ oµ thi≤ elemen⌠ typσ ì
  885. meetinτ thσ reques⌠ iε thσ CDB« Thi≤ valuσ shal∞ no⌠ bσ adjusteΣ t∩ matcΦ thσ ì
  886. allocatioε lengtΦ available.
  887.  
  888. .cp 3
  889. ááEacΦ elemen⌠ descripto≥ include≤ thσ elemen⌠ address¼ statu≤ flag≤ anΣ ma∙ ì
  890. contaiε sensσ codσ informatioε a≤ wel∞ a≤ othe≥ informatioε dependinτ oε thσ ì
  891. elemen⌠ type« (Table≤ 1╢-1▒ ¡ 1╢-14.)
  892.  
  893. .cp 35
  894. .pm 0
  895. .aw off
  896. 16.2.5.3. Medium Transport Element Descriptor
  897.  
  898.                Table 16-11: Mediuφ Transpor⌠ Elemen⌠ Descriptor
  899.  
  900. ==============================================================================
  901.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  902. Byte |        |        |        |        |        |        |        |        |
  903. ==============================================================================
  904.   0  | (MSB)                                                                 |
  905. -----|---                      Element Address                            ---|
  906.   1  |                                                                 (LSB) |
  907. -----|-----------------------------------------------------------------------|
  908.   2  |            Reserved                        | Except |Reserved|  Full  |
  909. -----|-----------------------------------------------------------------------|
  910.   3  |                            Reserved                                   |
  911. -----|-----------------------------------------------------------------------|
  912.   4  |                      Additional Sense Code                            |
  913. -----|-----------------------------------------------------------------------|
  914.   5  |                  Additional Sense Code Qualifier                      |
  915. -----|-----------------------------------------------------------------------|
  916.   6  |                                                                       |
  917. - - -|- - -                       Reserved                              - - -|
  918.   8  |                                                                       |
  919. -----|-----------------------------------------------------------------------|
  920.   9  | SValid | Invert ⁿ                      Reserved                       |
  921. -----|-----------------------------------------------------------------------|
  922.  10  | (MSB)                                                                 |
  923. -----|---                Source Storage Element Address                   ---|
  924.  11  |                                                                (LSB)  |
  925. -----|-----------------------------------------------------------------------|
  926.  12  |                                                                       |
  927. - - -|- - -              Primary Volume Tag Information                 - - -|
  928.  47  |                   (FielΣ omitted if PVolTag = 0)                      |
  929. -----|-----------------------------------------------------------------------|
  930.  48  |                                                                       |
  931. - - -|- - -             Alternate Volume Tag Information                - - -|
  932.  83  |                   (FielΣ omitted if AVolTag = 0)                      |
  933. -----|-----------------------------------------------------------------------|
  934.  84  |                                                                       |
  935. - - -|- - -                        Reserved                             - - -|
  936.  87  |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  937. -----|-----------------------------------------------------------------------|
  938.  88  |                                                                       |
  939. - - -|- - -                      Vendor Unique                          - - -|
  940.  z-1 |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  941. ==============================================================================è.pm 3
  942. .aw on
  943.  
  944.  
  945. .cp 3
  946. ááThσ elemen⌠ addres≤ fielΣ give≤ thσ addres≤ oµ thσ mediuφ change≥ elemen⌠ ì
  947. whosσ statu≤ i≤ reporteΣ b∙ thi≤ elemen⌠ descripto≥ block.
  948.  
  949. .cp 3
  950. ááAε exceptioε (Except⌐ bi⌠ oµ onσ indicate≤ thσ elemen⌠ i≤ iε aε abnorma∞ ì
  951. state«  Aε exceptioε bi⌠ oµ zer∩ indicate≤ thσ elemen⌠ i≤ iε ß norma∞ state«  ì
  952. Iµ thi≤ bi⌠ i≤ one¼ informatioε oε thσ abnorma∞ statσ ma∙ bσ availablσ iε thσ ì
  953. additiona∞ sensσ codσ anΣ additiona∞ sensσ codσ qualifie≥ bytes.
  954.  
  955. áá┴ ful∞ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ elemen⌠ contain≤ ß uni⌠ oµ media«  ì
  956. ┴ valuσ oµ zer∩ indicate≤ tha⌠ thσ elemen⌠ doe≤ no⌠ contaiε ß uni⌠ oµ media.
  957.  
  958. ááThσ additiona∞ sensσ codσ fielΣ ma∙ providσ specifiπ informatioε oε aε ì
  959. abnorma∞ elemen⌠ state«  Thσ value≤ iε thi≤ fielΣ arσ a≤ defineΣ fo≥ thσ ì
  960. additiona∞ sensσ codσ oµ thσ REQUES╘ SENS┼ datß (seσ Tablσ ╖-42)«  
  961.  
  962. ááThσ additiona∞ sensσ codσ qualifie≥ fielΣ ma∙ providσ morσ detaileΣ ì
  963. informatioε oε aε abnorma∞ elemen⌠ state«  Thσ value≤ iε thi≤ fielΣ arσ a≤ ì
  964. defineΣ fo≥ thσ additiona∞ sensσ codσ qualifie≥ oµ thσ REQUES╘ SENS┼ datß (seσ ì
  965. Tablσ ╖-42).
  966.  
  967. áá┴ sourcσ valiΣ (SValid⌐ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ sourcσ storagσ ì
  968. elemen⌠ addres≤ fielΣ anΣ thσ inver⌠ bi⌠ informatioε i≤ valid« ┴ valuσ oµ zer∩ ì
  969. indicate≤ tha⌠ thσ value≤ iε thesσ field≤ arσ no⌠ valid« 
  970.  
  971. ááAε inver⌠ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ uni⌠ oµ mediß no≈ iε thi≤ ì
  972. elemen⌠ wa≤ inverteΣ b∙ MOV┼ MEDIU═ o≥ EXCHANG┼ MEDIU═ operation≤ sincσ i⌠ wa≤ ì
  973. las⌠ iε thσ sourcσ storagσ element«  ┴ valuσ oµ zer∩ indicate≤ tha⌠ n∩ ì
  974. inversioε occurreΣ durinτ thσ operation.
  975.  
  976. ááThσ sourcσ storagσ elemen⌠ addres≤ fielΣ provide≤ thσ addres≤ oµ thσ las⌠ ì
  977. storagσ elemen⌠ thi≤ uni⌠ oµ mediß wa≤ moveΣ from«  Thi≤ fielΣ i≤ valiΣ onl∙ ì
  978. iµ thσ SValiΣ bi⌠ i≤ one.
  979.  
  980. ááThσ primar∙ anΣ alternatσ volumσ taτ informatioε field≤ providσ fo≥ ì
  981. identifyinτ thσ uni⌠ oµ mediß residinτ iε thi≤ elemen⌠ (seσ 16.1.5.)« Eithe≥ ì
  982. o≥ botΦ oµ thesσ field≤ ma∙ bσ omitteΣ fo≥ al∞ thσ elemen⌠ descripto≥ block≤ ì
  983. tha⌠ comprisσ aε elemen⌠ statu≤ pagσ a≤ indicateΣ b∙ thσ PVolTaτ anΣ AVolTaτ ì
  984. bit≤ iε thσ elemen⌠ statu≤ pagσ heade≥ (Tablσ 1╢-10)«    
  985.  
  986. .cp 38è.aw off
  987. .pm 0
  988. 16.2.5.4. Storagσ Elemen⌠ Descriptor
  989.  
  990.                     Table 16-12: Storage Elemen⌠ Descripto≥
  991.  
  992. ==============================================================================
  993.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  994. Byte |        |        |        |        |        |        |        |        |
  995. ==============================================================================
  996.   0  | (MSB)                                                                 |
  997. -----|---                      Element Address                            ---|
  998.   1  |                                                                 (LSB) |
  999. -----|-----------------------------------------------------------------------|
  1000.   2  |            Reserved               | Access | Except |Reserved|  Full  |
  1001. -----|-----------------------------------------------------------------------|
  1002.   3  |                            Reserved                                   |
  1003. -----|-----------------------------------------------------------------------|
  1004.   4  |                       Additional Sense Code                           |
  1005. -----|-----------------------------------------------------------------------|
  1006.   5  |                   Additional Sense Code Qualifier                     |
  1007. -----|-----------------------------------------------------------------------|
  1008.   6  |                                                                       |
  1009. - - -|- - -                       Reserved                              - - -|
  1010.   8  |                                                                       |
  1011. -----|-----------------------------------------------------------------------|
  1012.   9  | SValid | Invert ⁿ                      Reserved                       |
  1013. -----|-----------------------------------------------------------------------|
  1014.  10  | (MSB)                                                                 |
  1015. -----|---                    Source Element Address                       ---|
  1016.  11  |                                                                (LSB)  |
  1017. -----|-----------------------------------------------------------------------|
  1018.  12  |                                                                       |
  1019. - - -|- - -               Primary Volume Tag Information                - - -|
  1020.  47  |                    (FielΣ omitted if PVolTag = 0⌐                     |
  1021. -----|-----------------------------------------------------------------------|
  1022.  48  |                                                                       |
  1023. - - -|- - -              Alternate Volume Tag Information               - - -|
  1024.  83  |                    (FielΣ omitted if PVolTag = 0⌐                     |
  1025. -----|-----------------------------------------------------------------------|
  1026.  84  |                                                                       |
  1027. - - -|- - -                       Reserved                              - - -|
  1028.  87  |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  1029. -----|-----------------------------------------------------------------------|
  1030.  88  |                                                                       |
  1031. - - -|- - -                    Vendor Unique                            - - -|
  1032.  z-1 |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  1033. ==============================================================================
  1034. .pm 3
  1035. .aw on
  1036.  
  1037.  
  1038. .cp 3
  1039. ááAε acces≤ bi⌠ valuσ oµ onσ indicate≤ acces≤ t∩ thσ elemen⌠ b∙ ß mediuφ ì
  1040. transpor⌠ elemen⌠ i≤ allowed«  Aε acces≤ bi⌠ oµ zer∩ indicate≤ acces≤ t∩ thσ ì
  1041. elemen⌠ b∙ thσ mediuφ transpor⌠ elemen⌠ i≤ denied.
  1042.  
  1043. .cp 4èááThσ sourcσ storagσ elemen⌠ addres≤ fielΣ provide≤ thσ addres≤ oµ thσ las⌠ ì
  1044. storagσ elemen⌠ thi≤ uni⌠ oµ mediß wa≤ moveΣ from« Thi≤ elemen⌠ addres≤ valuσ ì
  1045. ma∙ o≥ ma∙ no⌠ bσ thσ samσ a≤ thi≤ element« Thi≤ fielΣ i≤ valiΣ onl∙ iµ thσ ì
  1046. SValiΣ bi⌠ i≤ one.
  1047.  
  1048. ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.3.
  1049.  
  1050.  
  1051. .cp 35
  1052. .pm 0
  1053. .aw off
  1054. 16.2.5.5. Import Export Element Descriptor
  1055.  
  1056.                  Table 16-13: Import Expor⌠ Elemen⌠ Descriptor
  1057.  
  1058. ==============================================================================
  1059.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1060. Byte |        |        |        |        |        |        |        |        |
  1061. ==============================================================================
  1062.   0  | (MSB)                                                                 |
  1063. -----|---                        Element Address                          ---|
  1064.   1  |                                                                 (LSB) |
  1065. -----|-----------------------------------------------------------------------|
  1066.   2  |     Reserved    | InEnab | ExEnab | Access | Except ⁿ ImpExp |  Full  |
  1067. -----|-----------------------------------------------------------------------|
  1068.   3  |                             Reserved                                  |
  1069. -----|-----------------------------------------------------------------------|
  1070.   4  |                        Additional Sense Code                          |
  1071. -----|-----------------------------------------------------------------------|
  1072.   5  |                    Additional Sense Code Qualifier                    |
  1073. -----|-----------------------------------------------------------------------|
  1074.   6  |                                                                       |
  1075. -----|- - -                        Reserved                             - - -|
  1076.   8  |                                                                       |
  1077. -----|-----------------------------------------------------------------------|
  1078.   9  | SValid | Invert |                      Reserved                       |
  1079. -----|-----------------------------------------------------------------------|
  1080.  10  | (MSB)                                                                 |
  1081. -----|---                  Source Storage Element Address                 ---|
  1082.  11  |                                                                (LSB)  |
  1083. -----|-----------------------------------------------------------------------|
  1084.  12  |                                                                       |
  1085. - - -|- - -                Primary Volume Tag Information               - - -|
  1086.  47  |                     (FielΣ omitted if PVolTag = 0⌐                    |
  1087. -----|-----------------------------------------------------------------------|
  1088.  48  |                                                                       |
  1089. - - -|- - -               Alternate Volume Tag Information              - - -|
  1090.  83  |                     (FielΣ omitted if PVolTag = 0⌐                    |
  1091. -----|-----------------------------------------------------------------------|
  1092.  84  |                                                                       |
  1093. - - -|- - -                        Reserved                             - - -|
  1094.  87  |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  1095. -----|-----------------------------------------------------------------------|
  1096.  88  |                                                                       |
  1097. - - -|- - -                       Vendor Unique                         - - -|
  1098.  z-1 |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  1099. ==============================================================================
  1100. .pm 3
  1101. .aw on
  1102. è
  1103. .cp 3
  1104. ááAε impor⌠ enablσ (InEnab⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ impor⌠ expor⌠ ì
  1105. elemen⌠ support≤ movemen⌠ oµ mediß int∩ thσ scopσ oµ thσ mediuφ change≥ ì
  1106. device«  Aε InEnaΓ bi⌠ oµ zer∩ indicate≤ tha⌠ thi≤ elemen⌠ doe≤ no⌠ suppor⌠ ì
  1107. impor⌠ actions.
  1108.  
  1109. ááAε expor⌠ enablσ (ExEnab⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ impor⌠ expor⌠ ì
  1110. elemen⌠ support≤ movemen⌠ oµ mediß ou⌠ oµ thσ scopσ oµ thσ mediuφ change≥ ì
  1111. device« Aε ExEnaΓ bi⌠ oµ zer∩ indicate≤ tha⌠ thi≤ elemen⌠ doe≤ no⌠ suppor⌠ ì
  1112. expor⌠ actions.
  1113.  
  1114. ááAε acces≤ bi⌠ oµ onσ indicate≤ tha⌠ acces≤ t∩ thσ impor⌠ expor⌠ elemen⌠ b∙ ß ì
  1115. mediuφ transpor⌠ elemen⌠ i≤ allowed«  Aε acces≤ bi⌠ oµ zer∩ indicate≤ acces≤ ì
  1116. t∩ thσ impor⌠ expor⌠ elemen⌠ b∙ mediuφ transpor⌠ element≤ i≤ denied« 
  1117.  
  1118. .pm 0
  1119. .lm 3
  1120. ááIMPLEMENTOR╙ NOTE║ Aε examplσ oµ wheε acces≤ woulΣ bσ denieΣ i≤ wheε thσ ì
  1121. ááoperato≥ ha≤ exclusivσ acces≤ t∩ thσ impor⌠ expor⌠ element.
  1122. .lm 1
  1123. .pm 3
  1124.  
  1125. .cp 5
  1126. ááAε impor⌠ expor⌠ (ImpExp⌐ bi⌠ oµ onσ indicate≤ thσ uni⌠ oµ mediß iε thσ ì
  1127. impor⌠ expor⌠ elemen⌠ wa≤ placeΣ therσ b∙ aε operator«  Aε ImpEx≡ bi⌠ oµ zer∩ ì
  1128. indicate≤ thσ uni⌠ oµ mediß iε thσ impor⌠ expor⌠ elemen⌠ wa≤ placeΣ therσ b∙ ì
  1129. thσ mediuφ transpor⌠ element.
  1130.  
  1131. ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.3.
  1132.  
  1133.  
  1134. .cp 50è.pm 0
  1135. .aw off
  1136. 16.2.5.6. Data Transfer Element Descriptor
  1137.  
  1138.                  Table 16-14: Datß Transfe≥ Elemen⌠ Descriptor
  1139.  
  1140. ==============================================================================
  1141.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1142. Byte |        |        |        |        |        |        |        |        |
  1143. ==============================================================================
  1144.   0  | (MSB)                                                                 |
  1145. -----|---                      Element Address                            ---|
  1146.   1  |                                                                 (LSB) |
  1147. -----|-----------------------------------------------------------------------|
  1148.   2  |            Reserved               | Access | Except |Reserved|  Full  |
  1149. -----|-----------------------------------------------------------------------|
  1150.   3  |                            Reserved                                   |
  1151. -----|-----------------------------------------------------------------------|
  1152.   4  |                       Additional Sense Code                           |
  1153. -----|-----------------------------------------------------------------------|
  1154.   5  |                   Additional Sense Code Qualifier                     |
  1155. -----|-----------------------------------------------------------------------|
  1156.   6  |Not Bus|Reserved|ID Valid|LU Valid|Reserved|    Logical Unit Number    |
  1157. -----|-----------------------------------------------------------------------|
  1158.   7  |                         SCSI Bus Address                              |
  1159. -----|-----------------------------------------------------------------------|
  1160.   8  |                             Reserved                                  |
  1161. -----|-----------------------------------------------------------------------|
  1162.   9  | SValid | Invert ⁿ                      Reserved                       |
  1163. -----|-----------------------------------------------------------------------|
  1164.  10  | (MSB)                                                                 |
  1165. -----|---              Source Storage Element Address                     ---|
  1166.  11  |                                                                (LSB)  |
  1167. -----|-----------------------------------------------------------------------|
  1168.  12  |                                                                       |
  1169. - - -|- - -               Primary Volume Tag Information                - - -|
  1170.  47  |                    (FielΣ omitted if PVolTag = 0⌐                     |
  1171. -----|-----------------------------------------------------------------------|
  1172.  48  |                                                                       |
  1173. - - -|- - -              Alternate Volume Tag Information               - - -|
  1174.  83  |                    (FielΣ omitted if PVolTag = 0⌐                     |
  1175. -----|-----------------------------------------------------------------------|
  1176.  84  |                                                                       |
  1177. - - -|- - -                       Reserved                              - - -|
  1178.  87  |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  1179. -----|-----------------------------------------------------------------------|
  1180.  88  |                                                                       |
  1181. - - -|- - -                      Vendor Unique                          - - -|
  1182.  z-1 |    (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.)   |
  1183. ==============================================================================
  1184. .aw on
  1185. .pm 3
  1186.  
  1187.  
  1188. ááAε acces≤ bi⌠ valuσ oµ onσ indicate≤ acces≤ t∩ thσ datß transfe≥ elemen⌠ b∙ ì
  1189. thσ mediuφ transpor⌠ elemen⌠ i≤ allowed«  ┴ valuσ oµ zer∩ indicate≤ acces≤ t∩ ì
  1190. thσ datß transfe≥ elemen⌠ b∙ ß mediuφ transpor⌠ elemen⌠ i≤ denied.
  1191.  
  1192. .cp 8è.lm 3
  1193. ááIMPLEMENTOR╙ NOTE║ Acces≤ t∩ thσ datß transfe≥ elemen⌠ b∙ mediuφ transpor⌠ ì
  1194. ááelement≤ migh⌠ bσ denieΣ iµ ß datß transfe≥ operatioε werσ unde≥ way« Notσ ì
  1195. áátha⌠ ß onσ valuσ iε thi≤ bi⌠ ma∙ no⌠ bσ sufficien⌠ t∩ ensurσ ß successfu∞ ì
  1196. ááoperation« Thi≤ bi⌠ caε onl∙ reflec⌠ thσ bes⌠ informatioε availablσ t∩ thσ ì
  1197. áámediuφ change≥ device¼ whicΦ ma∙ no⌠ accuratel∙ reflec⌠ thσ statσ oµ thσ ì
  1198. ááprimar∙ (datß transfer⌐ device«  
  1199. .lm 1
  1200.  
  1201. áá┴ no⌠ thi≤ bu≤ (No⌠ Bus⌐ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ SCS╔ bu≤ ì
  1202. addres≤ anΣ logica∞ uni⌠ numbe≥ value≤ arσ no⌠ valiΣ fo≥ thσ SCS╔ bu≤ useΣ t∩ ì
  1203. selec⌠ thσ mediuφ change≥ device« ┴ No⌠ Bu≤ bi⌠ valuσ oµ zer∩ indicate≤ tha⌠ ì
  1204. thσ SCS╔ addres≤ anΣ logica∞ uni⌠ values¼ iµ valid¼ arσ oε thσ samσ bu≤ a≤ thσ ì
  1205. mediuφ change≥ device.
  1206.  
  1207. ááAε I─ ValiΣ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ SCS╔ bu≤ addres≤ fielΣ ì
  1208. contain≤ valiΣ information« Aε L╒ ValiΣ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ ì
  1209. logica∞ uni⌠ numbe≥ fielΣ contain≤ valiΣ information.
  1210.  
  1211. ááThσ SCS╔ bu≤ addres≤ field¼ iµ valid¼ provide≤ thσ SCS╔ addres≤ (binar∙ ì
  1212. representation⌐ oµ thσ primar∙ devicσ serveΣ b∙ thσ mediuφ change≥ a⌠ thi≤ ì
  1213. elemen⌠ address.
  1214.  
  1215. ááThσ logica∞ uni⌠ numbe≥ field¼ iµ valid¼ provide≤ thσ logica∞ uni⌠ numbe≥ ì
  1216. withiε thσ SCS╔ bu≤ devicσ oµ thσ primar∙ devicσ serveΣ b∙ thσ mediuφ change≥ ì
  1217. a⌠ thi≤ elemen⌠ address.
  1218.  
  1219. ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.3.
  1220.  
  1221.  
  1222. .cp 35è.aw off
  1223. .pm 0
  1224. 16.2.6. REQUES╘ VOLUME ELEMEN╘ ADDRES╙ Command
  1225.  
  1226.               Table 16-15: REQUES╘ VOLUME ELEMEN╘ ADDRES╙ Command
  1227.  
  1228. ==============================================================================
  1229.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1230. Byte |        |        |        |        |        |        |        |        |
  1231. ==============================================================================
  1232.  0   |                           Operation Code (B5h)                        |
  1233. -----|-----------------------------------------------------------------------|
  1234.  1   | Logical Unit Number      | VolTaτ |        Element Type Code          |
  1235. -----|-----------------------------------------------------------------------|
  1236.  2   | (MSB)                                                                 |
  1237. -----|---                        Element Address                          ---|
  1238.  3   |                                                                 (LSB) |
  1239. -----|-----------------------------------------------------------------------|
  1240.  4   | (MSB)                                                                 |
  1241. -----|---                        Number of Elements                       ---|
  1242.  5   |                                                                 (LSB) |
  1243. -----|-----------------------------------------------------------------------|
  1244.  6   ⁿ                           Reserved                                    |
  1245. -----|-----------------------------------------------------------------------|
  1246.  7   | (MSB)                                                                 |
  1247. -----|--¡                                                                 ---|
  1248.  8   ⁿ                           Allocatioε Length                           |
  1249. -----|--¡                                                                 ---|
  1250.  9   |                                                                 (LSB) |
  1251. -----|-----------------------------------------------------------------------|
  1252. 10   |                           Reserved                                    |
  1253. -----|-----------------------------------------------------------------------|
  1254. 11   ⁿ                           Control                                     |
  1255. ==============================================================================
  1256. .pm 3
  1257. .aw on
  1258.  
  1259.  
  1260. ááThσ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ commanΣ (Tablσ 1╢-15⌐ i≤ useΣ t∩ transfe≥ ì
  1261. thσ result≤ oµ ß SEN─ VOLUM┼ TA╟ command«  Multiplσ REQUES╘ VOLUM┼ ELEMEN╘ ì
  1262. ADDRES╙ command≤ ma∙ bσ useΣ t∩ recove≥ thσ result≤ oµ ß singlσ SEN─ VOLUM┼ ì
  1263. TA╟ commanΣ witΦ thσ translatσ option.
  1264.  
  1265. ááFo≥ eacΦ SEN─ VOLUM┼ TA╟ command¼ thσ targe⌠ shal∞ bσ ablσ t∩ repor⌠ ì
  1266. multiplσ element≤ tha⌠ matcΦ ß volumσ taτ templatσ iε elemen⌠ addres≤ order«  ì
  1267. Oncσ informatioε fo≥ ß giveε elemen⌠ addres≤ ha≤ beeε reported¼ onl∙ highe≥ ì
  1268. elemen⌠ addresse≤ wil∞ bσ reporteΣ b∙ subsequen⌠ REQUES╘ VOLUM┼ ELEMEN╘ ì
  1269. ADDRES╙ commands« 
  1270.  
  1271. .cp 6
  1272. .pm 0
  1273. .lm 3
  1274. ááIMPLEMENTOR╙ NOTE║ Iε orde≥ t∩ ensurσ thσ successfu∞ completioε oµ ß SEN─ ì
  1275. ááVOLUM┼ TAG¼ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ sequencσ iε ß multΘ-initiato≥ ì
  1276. ááenvironmen⌠ i⌠ ma∙ bσ necessar∙ t∩ reservσ thσ mediuφ change≥ device« T∩ d∩ ì
  1277. ááthis¼ issuσ ß uni⌠ RESERV┼ commanΣ prio≥ t∩ thσ SEN─ VOLUM┼ TA╟ commanΣ anΣ ì
  1278. áádela∙ issuinτ thσ RELEAS┼ unti∞ afte≥ thσ las⌠ REQUES╘ VOLUM┼ ELEMEN╘ ì
  1279. ááADDRESS« 
  1280. .pm 3
  1281. .lm 1
  1282.  
  1283. .cp 4èáá┴ volumσ taτ (VolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ repor⌠ ì
  1284. volumσ taτ information« ┴ valuσ oµ zer∩ indicate≤ tha⌠ volumσ taτ informatioε ì
  1285. shal∞ no⌠ bσ reported« Thi≤ i≤ provideΣ fo≥ compatibilit∙ witΦ thσ REA─ ì
  1286. ELEMEN╘ STATU╙ command.
  1287.  
  1288. .cp 5
  1289. ááThσ elemen⌠ typσ codσ fielΣ specifie≤ thσ particula≥ elemen⌠ type(s⌐ ì
  1290. selecteΣ fo≥ reportinτ b∙ thi≤ command« ┴ valuσ oµ zer∩ specifie≤ tha⌠ statu≤ ì
  1291. fo≥ al∞ elemen⌠ type≤ shal∞ bσ reported« Thσ code≤ fo≥ thi≤ fielΣ arσ defineΣ ì
  1292. iε Tablσ 1╢-8« Thi≤ act≤ a≤ ß qualificatioε oµ thσ element(s⌐ determineΣ b∙ ì
  1293. SEN─ VOLUM┼ TA╟ t∩ matcΦ thσ templatσ specified« 
  1294.  
  1295. ááThσ elemen⌠ addres≤ fielΣ give≤ ß mediuφ change≥ elemen⌠ addres≤ whosσ ì
  1296. interpretatioε depend≤ oε thσ senΣ actioε codσ receiveΣ witΦ thσ las⌠ SEN─ ì
  1297. VOLUM┼ TA╟ command« Thi≤ codσ i≤ echoeΣ iε thσ volumσ elemen⌠ addres≤ returε ì
  1298. forma⌠ transferreΣ b∙ thi≤ command« Wheε thσ las⌠ senΣ actioε codσ wa≤ ß ì
  1299. translate¼ (codσ value≤ 0h..7h)¼ thσ elemen⌠ addres≤ fielΣ give≤ thσ minimuφ ì
  1300. elemen⌠ addres≤ t∩ bσ reporteΣ b∙ thi≤ command« Wheε thσ senΣ actioε codσ i≤ ì
  1301. othe≥ thaε translate¼ (i.e« assert¼ replace¼ anΣ undefined¼ codσ value≤ ì
  1302. 8h..Dh)¼ thσ elemen⌠ addres≤ fielΣ give≤ thσ particula≥ elemen⌠ whosσ volumσ ì
  1303. taτ informatioε wa≤ modified.
  1304.  
  1305. ááThσ numbe≥ oµ element≤ specifie≤ thσ maximuφ numbe≥ oµ element≤ anΣ volumσ ì
  1306. tag≤ t∩ bσ reporteΣ b∙ thσ targe⌠ fo≥ thi≤ command« Thσ valuσ specifieΣ b∙ ì
  1307. thi≤ fielΣ i≤ no⌠ thσ rangσ oµ elemen⌠ addresse≤ t∩ bσ considereΣ fo≥ ì
  1308. reportinτ bu⌠ rathe≥ thσ numbe≥ oµ element≤ t∩ repor⌠ oµ thosσ tha⌠ matcΦ thσ ì
  1309. las⌠ senΣ volumσ taτ translatσ template« Iµ thσ allocatioε lengtΦ i≤ no⌠ ì
  1310. sufficien⌠ t∩ transfe≥ al∞ thσ elemen⌠ descriptors¼ thσ targe⌠ shal∞ transfe≥ ì
  1311. al∞ thosσ descriptor≤ tha⌠ caε bσ completel∙ transferreΣ anΣ thi≤ shal∞ no⌠ bσ ì
  1312. considereΣ aε error.
  1313.  
  1314. ááThσ datß returneΣ b∙ thi≤ commanΣ consist≤ oµ ß heade≥ a≤ defineΣ b∙ Tablσ ì
  1315. 1╢-16¼ plu≤ onσ o≥ morσ elemen⌠ typσ specifiπ page≤ iε thσ samσ forma⌠ a≤ ì
  1316. defineΣ b∙ thσ REA─ ELEMEN╘ STATU╙ command« (Seσ Table≤ 1╢-1░ ¡ 1╢-14.)
  1317.  
  1318. .cp 26è.aw off
  1319. .pm 0
  1320.                Table 16-16: Volumσ Elemen⌠ Addres≤ Heade≥ Format
  1321.  
  1322. ==============================================================================
  1323.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1324. Byte |        |        |        |        |        |        |        |        |
  1325. ==============================================================================
  1326.  0   | (MSB)                                                                 |
  1327. -----|---                  Firs⌠ Element Addres≤ Reported                 ---|
  1328.  1   |                                                                 (LSB) |
  1329. -----|-----------------------------------------------------------------------|
  1330.  2   | (MSB)                                                                 |
  1331. -----|---                    Number of Element≤ Reported                  ---|
  1332.  3   |                                                                 (LSB) |
  1333. -----|-----------------------------------------------------------------------|
  1334.  4   ⁿ          Reserved        |              SenΣ Actioε Codσ              |
  1335. -----|-----------------------------------------------------------------------|
  1336.  5   | (MSB)                                                                 |
  1337. -----|--¡                                                                 ---|
  1338.  6   ⁿ                     Bytσ Coun⌠ oµ Repor⌠ Available                    |
  1339. -----|--¡                        (al∞ pages¼ ° ¡ 7 )                      ---|
  1340.  7   |                                                                 (LSB) |
  1341. ==============================================================================
  1342. 8 t∩ |                                                                       |
  1343. ¡ ¡ -ⁿ¡ ¡ ¡                   Elemen⌠ Statu≤ Page(s⌐                    - - -|
  1344.  x   ⁿ                                                                       |
  1345. ==============================================================================
  1346. .pm 3
  1347. .aw on
  1348.  
  1349. ááThσ senΣ actioε codσ fielΣ give≤ thσ functioε performeΣ b∙ thσ las⌠ SEN─ ì
  1350. VOLUM┼ TA╟ commanΣ a≤ listeΣ iε Tablσ 1╢-21« Thi≤ commanΣ report≤ thσ result≤ ì
  1351. oµ thi≤ senΣ actioε codσ operation.
  1352.  
  1353. ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.1.
  1354.  
  1355.  
  1356. .cp 25è.pm 0
  1357. .aw off
  1358. 16.2.7. RELEASE Command
  1359.  
  1360.                          Table 16-17: RELEASE Command
  1361.  
  1362. ==============================================================================
  1363.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1364. Byte |        |        |        |        |        |        |        |        |
  1365. ==============================================================================
  1366.  0   |                           Operation Code (17h)                        |
  1367. -----|-----------------------------------------------------------------------|
  1368.  1   | Logical Unit Number      | 3rdPty | Third Party Device ID    | Element|
  1369. -----|-----------------------------------------------------------------------|
  1370.  2   |                           Reservation Identification                  |
  1371. -----|-----------------------------------------------------------------------|
  1372.  3   |                           Reserved                                    |
  1373. -----|-----------------------------------------------------------------------|
  1374.  4   |                           Reserved                                    |
  1375. -----|-----------------------------------------------------------------------|
  1376.  ╡   ⁿ                           Control                                     |
  1377. ==============================================================================
  1378. .aw on
  1379. .pm 3
  1380.  
  1381. ááThσ RELEAS┼ commanΣ (Tablσ 1╢-17⌐ i≤ useΣ t∩ releasσ previousl∙ reserveΣ ì
  1382. units¼ or¼ iµ thσ elemen⌠ releasσ optioε i≤ implemented¼ previousl∙ reserveΣ ì
  1383. element≤ withiε units«  I⌠ i≤ no⌠ aε erro≥ fo≥ aε initiato≥ t∩ attemp⌠ t∩ ì
  1384. releasσ ß reservatioε tha⌠ i≤ no⌠ currentl∙ active«  Iε thi≤ case¼ thσ targe⌠ ì
  1385. shal∞ returε GOO─ statu≤ withou⌠ alterinτ an∙ othe≥ reservation.
  1386.  
  1387. .cp 5
  1388. .aw off
  1389. .pm 0
  1390. 16.2.7.1. Logica∞ Uni⌠ Release.
  1391. .aw on
  1392. .pm 3
  1393. ááIµ thσ elemen⌠ bi⌠ i≤ zero¼ thi≤ commanΣ shal∞ causσ thσ targe⌠ t∩ terminatσ ì
  1394. al∞ noε-thirΣ part∙ uni⌠ anΣ elemen⌠ reservation≤ tha⌠ arσ activσ froφ thσ ì
  1395. initiato≥ t∩ thσ specifieΣ logica∞ unit.
  1396. áá 
  1397. .cp 5
  1398. .aw off
  1399. .pm 0
  1400. 16.2.7.2. Element Releasσ (Optional).
  1401. .aw on
  1402. .pm 3
  1403. ááIµ thσ elemen⌠ bi⌠ i≤ onσ anΣ thσ elemen⌠ releasσ optioε i≤ no⌠ implemented¼ ì
  1404. thσ RELEAS┼ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ ì
  1405. sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST«  Thi≤ optioε shal∞ bσ implementeΣ ì
  1406. iµ thσ elemen⌠ reservatioε optioε (seσ 16.2.8.1⌐ i≤ implemented.
  1407.  
  1408. ááIµ thσ elemen⌠ bi⌠ i≤ onσ anΣ thσ elemen⌠ releasσ optioε i≤ implemented¼ ì
  1409. thi≤ commanΣ shal∞ causσ an∙ reservatioε froφ thσ requestinτ initiato≥ witΦ ß ì
  1410. matchinτ reservatioε identificatioε t∩ bσ terminated«  Othe≥ reservation≤ froφ ì
  1411. thσ requestinτ initiato≥ shal∞ remaiε iε effect.
  1412.  
  1413. .cp 5
  1414. .aw off
  1415. .pm 0
  1416. 16.2.7.3. ThirΣ Part∙ Releasσ 
  1417. .aw on
  1418. .pm 3
  1419. ááThσ thirΣ-part∙ releasσ optioε oµ thσ RELEAS┼ commanΣ allow≤ aε initiato≥ t∩ ì
  1420. releasσ ß uni⌠ o≥ element≤ withiε ß uni⌠ tha⌠ werσ previousl∙ reserveΣ usinτ ì
  1421. thirΣ-part∙ reservatioε (seσ 16.2.8.3)«  ThirΣ-part∙ releasσ shal∞ bσ  ì
  1422. implementeΣ iµ thirΣ-part∙ reservσ i≤ implemented« 
  1423.  
  1424. .cp 6
  1425. ááIµ thσ thirΣ-part∙ (3rdPty⌐ bi⌠ i≤ zero¼ thσ thirΣ-part∙ releasσ optioε i≤ ì
  1426. no⌠ requested«  Iµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ targe⌠ implement≤ thσ thirΣ-ì
  1427. part∙ releasσ option¼ thσ targe⌠ shal∞ releasσ thσ specifieΣ uni⌠ o≥ elements¼ ì
  1428. bu⌠ onl∙ iµ thσ reservatioε wa≤ madσ usinτ thσ thirΣ-part∙ reservatioε optioε ì
  1429. b∙ thσ initiato≥ tha⌠ i≤ requestinτ thσ releasσ fo≥ thσ samσ SCS╔ devicσ a≤ ì
  1430. specifieΣ iε thσ thirΣ-part∙ devicσ I─ field.è
  1431. ááIµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ targe⌠ doe≤ no⌠ implemen⌠ thσ thirΣ-part∙ ì
  1432. releasσ option¼ thσ targe⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ ì
  1433. statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
  1434.  
  1435.  
  1436. .cp 35
  1437. .aw off
  1438. .pm 0
  1439. 16.2.8. RESERVE Command
  1440.  
  1441.                          Table 16-18: RESERVE Command
  1442.  
  1443. ==============================================================================
  1444.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1445. Byte |        |        |        |        |        |        |        |        |
  1446. ==============================================================================
  1447.  0   |                           Operation Code (16h)                        |
  1448. -----|-----------------------------------------------------------------------|
  1449.  1   | Logical Unit Number      | 3rdPty | Third Party Device ID    | Element|
  1450. -----|-----------------------------------------------------------------------|
  1451.  2   |                           Reservation Identification                  |
  1452. -----|-----------------------------------------------------------------------|
  1453.  3   ⁿ (MSB)                                                                 |
  1454. -----|---                        Element List LengtΦ                      ---|
  1455.  4   |                                                                 (LSB) |
  1456. -----|-----------------------------------------------------------------------|
  1457.  ╡   ⁿ                           Control                                     |
  1458. ==============================================================================
  1459. .pm 3
  1460. .aw on
  1461.  
  1462.  
  1463. ááThσ RESERV┼ commanΣ (Tablσ 1╢-18⌐ i≤ useΣ t∩ reservσ unit≤ or¼ iµ thσ ì
  1464. elemen⌠ reservatioε optioε i≤ implemented¼ element≤ withiε unit≤ fo≥ thσ usσ ì
  1465. oµ thσ initiator«  Thσ thirΣ-part∙ reservatioε allow≤ unit≤ o≥ element≤ t∩ bσ ì
  1466. reserveΣ fo≥ anothe≥ specifieΣ SCS╔ device«  Thσ RESERV┼ anΣ RELEAS┼ command≤ ì
  1467. providσ thσ basiπ mechanisφ fo≥ contentioε resolutioε iε multiplσ-initiato≥ ì
  1468. systems.
  1469.  
  1470. .cp 5
  1471. .aw off
  1472. .pm 0
  1473. 16.2.8.1. Logica∞ Uni⌠ Reservation
  1474. .aw on
  1475. .pm 3
  1476. ááIµ thσ elemen⌠ bi⌠ i≤ zero¼ thi≤ commanΣ shal∞ reques⌠ tha⌠ thσ entirσ uni⌠ ì
  1477. bσ reserveΣ fo≥ thσ exclusivσ usσ oµ thσ initiato≥ unti∞ thσ reservatioε i≤ ì
  1478. supersedeΣ b∙ anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ thσ ì
  1479. reservatioε o≥ unti∞ releaseΣ b∙ ß RELEAS┼ commanΣ froφ thσ samσ initiato≥ ì
  1480. tha⌠ madσ thσ reservation¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ initiator¼ ì
  1481. b∙ ß harΣ RESE╘ condition¼ o≥ b∙ ß powe≥ off/oε cycle«  ┴ uni⌠ reservatioε ì
  1482. shal∞ no⌠ bσ granteΣ iµ thσ uni⌠ o≥ an∙ elemen⌠ i≤ reserveΣ b∙ anothe≥ ì
  1483. initiator«  I⌠ shal∞ bσ permissiblσ fo≥ aε initiato≥ t∩ reservσ ß uni⌠ tha⌠ i≤ ì
  1484. currentl∙ reserveΣ b∙ tha⌠ initiator«  Iµ thσ elemen⌠ bi⌠ i≤ zero¼ thσ ì
  1485. reservatioε identificatioε anΣ thσ elemen⌠ lis⌠ lengtΦ shal∞ bσ ignored.
  1486.  
  1487. .cp 2
  1488. ááIµ thσ unit¼ o≥ an∙ elemen⌠ withiε thσ uni⌠ i≤ reserveΣ fo≥ anothe≥ ì
  1489. initiator¼ thσ targe⌠ shal∞ responΣ b∙ returninτ RESERVATIO╬ CONFLIC╘ status.
  1490.  
  1491. .cp 4
  1492. ááIf¼ afte≥ honorinτ thσ reservation¼ an∙ othe≥ initiato≥ attempt≤ t∩ perforφ ì
  1493. an∙ commanΣ oε thσ reserveΣ uni⌠ othe≥ thaε aε INQUIRY¼ REQUES╘ SENSE¼ ALLO╫ ì
  1494. MEDIU═ REMOVAL¼ RESERVE¼ o≥ ß RELEAS┼ command¼ thσ commanΣ shal∞ bσ rejecteΣ ì
  1495. witΦ RESERVATIO╬ CONFLIC╘ status« 
  1496. è.cp 5
  1497. .aw off
  1498. .pm 0
  1499. 16.2.8.2. Element Reservatioε (Optional)
  1500. .aw on
  1501. .pm 3
  1502. ááThσ reservatioε identificatioε provide≤ ß mean≤ fo≥ aε initiato≥ t∩ identif∙ ì
  1503. eacΦ elemen⌠ reservation«  Thi≤ allow≤ aε initiato≥ iε ß multiplσ-taskinτ ì
  1504. environment¼ t∩ havσ multiplσ reservation≤ outstanding«  Thσ reservatioε ì
  1505. identificatioε i≤ useΣ iε thσ RELEAS┼ commanΣ t∩ specif∙ whicΦ reservatioε i≤ ì
  1506. t∩ bσ released«  I⌠ i≤ als∩ useΣ iε supersedinτ RESERV┼ command≤ t∩ specif∙ ì
  1507. whicΦ reservatioε i≤ t∩ bσ superseded.
  1508.  
  1509. ááIµ thσ elemen⌠ reservatioε optioε i≤ implemented¼ thσ elemen⌠ releasσ optioε ì
  1510. (seσ 16.2.7.2⌐ shal∞ als∩ bσ implemented«  Thesσ option≤ permi⌠ multiplσ ì
  1511. element≤ withiε thσ uni⌠ t∩ bσ reserved¼ eacΦ witΦ ß separatσ reservatioε ì
  1512. identification.
  1513.  
  1514. ááIµ thσ elemen⌠ bi⌠ i≤ one¼ anΣ thσ elemen⌠ reservatioε optioε i≤ ì
  1515. implemented¼ thσ targe⌠ shal∞ proces≤ thσ reservatioε reques⌠ a≤ follows:
  1516. áá(1⌐ Thσ elemen⌠ lis⌠ shal∞ bσ checkeΣ fo≥ valiΣ elemen⌠ addresses«  Iµ an∙ ì
  1517. elemen⌠ addres≤ i≤ invaliΣ fo≥ thi≤ unit¼ thσ commanΣ shal∞ bσ terminateΣ witΦ ì
  1518. CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST«  Thσ ì
  1519. elemen⌠ lis⌠ shal∞ bσ checkeΣ fo≥ invaliΣ elemen⌠ overlap≤ witΦ othe≥ elemen⌠ ì
  1520. descriptor≤ iε thσ elemen⌠ lis⌠ anΣ iµ invaliΣ overlap≤ arσ found¼ thσ commanΣ ì
  1521. shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ ì
  1522. t∩ ILLEGA╠ REQUEST.
  1523. áá(2⌐ Iµ thσ requesteΣ reservatioε doe≤ no⌠ conflic⌠ witΦ an∙ activσ o≥ ì
  1524. previousl∙ requesteΣ reservation¼ thσ element≤ specifieΣ shal∞ bσ reserveΣ ì
  1525. unti∞ supersedeΣ b∙ anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ ì
  1526. thσ reservatioε o≥ unti∞ releaseΣ b∙ ß RELEAS┼ commanΣ froφ thσ samσ ì
  1527. initiator¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ initiator¼ o≥ b∙ ß harΣ ì
  1528. RESE╘ condition«  Iµ eithe≥ oµ thσ las⌠ tw∩ condition≤ occur¼ thσ nex⌠ commanΣ ì
  1529. froφ eacΦ initiato≥ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ ì
  1530. sensσ ke∙ shal∞ bσ se⌠ t∩ UNI╘ ATTENTION.
  1531. áá(3⌐ Iµ thσ reservatioε reques⌠ conflict≤ witΦ ß reservatioε alread∙ activσ ì
  1532. thσ targe⌠ shal∞ returε RESERVATIO╬ CONFLIC╘ status.
  1533.  
  1534. ááIµ thσ elemen⌠ bi⌠ i≤ one¼ anΣ thσ elemen⌠ reservatioε optioε i≤ no⌠ ì
  1535. implemented¼ thσ RESERV┼ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ ì
  1536. status«  Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
  1537.  
  1538.  
  1539. .cp 20è.pm 0
  1540. .aw off
  1541.              Table 16-19: Data Format of Element List Descriptors
  1542.  
  1543. ==============================================================================
  1544.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1545. Byte |        |        |        |        |        |        |        |        |
  1546. ==============================================================================
  1547.  ░   ⁿ                                                                       |
  1548. ¡ ¡ -|¡ ¡ ¡                       ReserveΣ                              ¡ ¡ -|
  1549.  ▒   ⁿ                                                                       |
  1550. -----|-----------------------------------------------------------------------|
  1551.  2   | (MSB)                                                                 |
  1552. -----|---                        Number of Elements                       ---|
  1553.  3   |                                                                 (LSB) |
  1554. -----|-----------------------------------------------------------------------|
  1555.  4   | (MSB)                                                                 |
  1556. -----|---                        Element Address                          ---|
  1557.  5   |                                                                 (LSB) |
  1558. ==============================================================================
  1559. .aw on
  1560. .pm 3
  1561.  
  1562.  
  1563. ááThσ sizσ oµ thσ elemen⌠ lis⌠ shal∞ bσ defineΣ b∙ thσ elemen⌠ lis⌠ lengtΦ ì
  1564. parameter«  Thσ elemen⌠ lis⌠ shal∞ consis⌠ oµ zer∩ o≥ morσ descriptor≤ a≤ ì
  1565. showε iε Tablσ 1╢-19«  EacΦ elemen⌠ lis⌠ descripto≥ define≤ ß serie≤ oµ ì
  1566. element≤ beginninτ a⌠ thσ specifieΣ elemen⌠ addres≤ fo≥ thσ specifieΣ numbe≥ ì
  1567. oµ elements«  Iµ thσ numbe≥ oµ element≤ i≤ zero¼ thσ elemen⌠ lis⌠ shal∞ begiε ì
  1568. a⌠ thσ specifieΣ elemen⌠ addres≤ anΣ continuσ througΦ thσ las⌠ elemen⌠ addres≤ ì
  1569. oε thσ unit.
  1570.  
  1571. ááIµ aε initiato≥ issue≤ ß commanΣ t∩ aε elemen⌠ tha⌠ ha≤ beeε reserveΣ b∙ ß ì
  1572. differen⌠ initiator¼ thσ commanΣ shal∞ no⌠ bσ performeΣ anΣ thσ commanΣ shal∞ ì
  1573. bσ terminateΣ witΦ ß RESERVATIO╬ CONFLIC╘ status«  Iµ ß reservatioε conflic⌠ ì
  1574. preclude≤ an∙ par⌠ oµ thσ command¼ nonσ oµ thσ commanΣ shal∞ bσ performed«  
  1575.  
  1576. .cp 5
  1577. .aw off
  1578. .pm 0
  1579. 16.2.8.3. ThirΣ Part∙ Reservatioε
  1580. .aw on
  1581. .pm 3
  1582. ááThσ thirΣ-part∙ reservatioε optioε oµ thσ RESERV┼ commanΣ allow≤ aε ì
  1583. initiato≥ t∩ reservσ ß uni⌠ o≥ element≤ withiε ß uni⌠ fo≥ anothe≥ SCS╔ device.
  1584.  
  1585. ááIµ thσ thirΣ-part∙ (3rdPty⌐ bi⌠ i≤ zero¼ thσ thirΣ-part∙ reservatioε optioε ì
  1586. i≤ no⌠ requested«  Iµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ thirΣ-part∙ reservatioε ì
  1587. optioε i≤ implemented¼ thσ RESERV┼ commanΣ shal∞ reservσ thσ specifieΣ uni⌠ o≥ ì
  1588. element≤ fo≥ thσ SCS╔ devicσ specifieΣ iε thσ thirΣ-part∙ devicσ I─ field«  ì
  1589. Thσ targe⌠ shal∞ preservσ thσ reservatioε unti∞ i⌠ i≤ supersedeΣ b∙ anothe≥ ì
  1590. valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ thσ reservatioε o≥ unti∞ i⌠ ì
  1591. i≤ releaseΣ b∙ thσ samσ initiator¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ ì
  1592. initiator¼ o≥ ß harΣ RESE╘ condition«  Thσ targe⌠ shal∞ ignorσ an∙ attemp⌠ t∩ ì
  1593. releasσ thσ reservatioε madσ b∙ an∙ othe≥ initiator.
  1594.  
  1595. ááIµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ thirΣ-part∙ reservatioε optioε i≤ no⌠ ì
  1596. implemented¼ thσ targe⌠ shal∞ rejec⌠ thσ RESERV┼ commanΣ witΦ CHEC╦ CONDITIO╬ ì
  1597. statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST« 
  1598.  
  1599. .cp 5è.aw off
  1600. .pm 0
  1601. 16.2.8.4. Supersedinτ Reservations
  1602. .aw on
  1603. .pm 3
  1604. ááAε initiato≥ tha⌠ hold≤ ß curren⌠ reservatioε ma∙ modif∙ tha⌠ reservatioε b∙ ì
  1605. issuinτ anothe≥ RESERV┼ commanΣ t∩ thσ samσ uni⌠ and¼ iµ thσ elemen⌠ bi⌠ i≤ ì
  1606. one¼ usinτ thσ samσ reservatioε identification«  Thσ supersedinτ RESERV┼ ì
  1607. commanΣ shal∞ releasσ thσ previou≤ reservatioε iε placσ wheε thσ ne≈ ì
  1608. reservatioε reques⌠ i≤ granted«  Thσ curren⌠ reservatioε shal∞ no⌠ bσ modifieΣ ì
  1609. iµ thσ ne≈ reservatioε reques⌠ canno⌠ bσ granted«  Iµ thσ supersedinτ ì
  1610. reservatioε canno⌠ bσ granteΣ becausσ oµ conflict≤ witΦ ß previou≤ activσ ì
  1611. reservatioε (othe≥ thaε thσ reservatioε beinτ superseded)¼ thσ targe⌠ shal∞ ì
  1612. returε RESERVATIO╬ CONFLIC╘ status.
  1613.  
  1614. .lm 3
  1615. ááIMPLEMENTOR╙ NOTE║  Supersedinτ reservation≤ arσ principall∙ intendeΣ t∩ ì
  1616. ááallo≈ thσ SCS╔ devicσ I─ t∩ bσ changeΣ oε ß reservatioε usinτ thσ thirΣ-ì
  1617. áápart∙ reservatioε option«  
  1618. .lm 1
  1619.  
  1620.  
  1621. .cp 35
  1622. .aw off
  1623. .pm 0
  1624. 16.2.9. SEN─ VOLUM┼ TA╟ Command
  1625.  
  1626.                      Table 16-20: SEN─ VOLUM┼ TA╟ Command
  1627.  
  1628. =============================================================================
  1629.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1630. Byte |        |        |        |        |        |        |        |        |
  1631. ==============================================================================
  1632.  0   |                           Operation Code (B6h)                        |
  1633. -----|-----------------------------------------------------------------------|
  1634.  1   | Logical Unit Number      ⁿReserveΣ|        Elemen⌠ Typσ Codσ          |
  1635. -----|-----------------------------------------------------------------------|
  1636.  2   | (MSB)                                                                 |
  1637. -----|---                        Element Address                          ---|
  1638.  3   |                                                                 (LSB) |
  1639. -----|-----------------------------------------------------------------------|
  1640.  4   ⁿ                           Reserved                                    |
  1641. -----|-----------------------------------------------------------------------|
  1642.  5   ⁿ          Reserved        |              SenΣ Actioε Codσ              |
  1643. -----|-------------------------¡---------------------------------------------|
  1644.  6   ⁿ                                                                       |
  1645. -----|--¡                        ReserveΣ                                 ---|
  1646.  7   |                                                                       |
  1647. -----|--¡--------------------------------------------------------------------|
  1648.  8   ⁿ (MSB)                                                                 |
  1649. -----|--¡                     Paramete≥ Lis⌠ LengtΦ                       ---|
  1650.  9   |                                                                 (LSB) |
  1651. -----|-----------------------------------------------------------------------|
  1652. 10   |                           Reserved                                    |
  1653. -----|-----------------------------------------------------------------------|
  1654. 11   ⁿ                           Control                                     |
  1655. ==============================================================================
  1656. .pm 3
  1657. .aw on
  1658.  
  1659.  
  1660. .cp 5
  1661. ááThσ SEN─ VOLUM┼ TA╟ commanΣ (Tablσ 1╢-20⌐ transfer≤ ß volumσ taτ templatσ t∩ ì
  1662. bσ searcheΣ fo≥ o≥ ne≈ volumσ taτ informatioε fo≥ onσ o≥ morσ mediß change≥ ì
  1663. elements« Thσ functioε oµ thσ commanΣ i≤ conveyeΣ b∙ thσ SenΣ Actioε Codσ ì
  1664. field« Thσ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ commanΣ i≤ useΣ t∩ transfe≥ thσ ì
  1665. result≤ oµ ß translatσ searcΦ operation.è
  1666. .cp 6
  1667. ááThσ elemen⌠ typσ codσ fielΣ specifie≤ aε elemen⌠ typσ specificatioε a≤ ì
  1668. defineΣ b∙ Tablσ 1╢-8«  Iµ thσ senΣ actioε codσ indicate≤ ß translatσ ì
  1669. operatioε thi≤ fielΣ indicate≤ thσ elemen⌠ type≤ t∩ bσ searched« Iµ thi≤ i≤ ß ì
  1670. zero¼ al∞ elemen⌠ type≤ arσ candidate≤ fo≥ ß translatσ operation« Iµ thσ SenΣ ì
  1671. actioε codσ doe≤ no⌠ indicatσ ß translate¼ thi≤ fielΣ shal∞ bσ treateΣ a≤ ì
  1672. reserved.
  1673.  
  1674. ááThσ senΣ actioε codσ fielΣ give≤ thσ functioε t∩ bσ performeΣ b∙ thi≤ ì
  1675. commanΣ a≤ listeΣ iε Tablσ 1╢-21« 
  1676.  
  1677. .cp 13
  1678. .pm 0
  1679. .aw off
  1680.                    Table 16-21: SenΣ Volumσ Taτ Actioε Codes
  1681.  
  1682. ==============================================================================
  1683.   Code        Description                    
  1684.   -----       ----------------------------------------------------------------
  1685.   0h          Translatσ ¡ searcΦ al∞ defineΣ volumσ tags.
  1686.   1h          Translatσ ¡ searcΦ onl∙ primar∙ volumσ tags.
  1687.   2Φ          Translatσ ¡ searcΦ onl∙ alternate volumσ tags.
  1688.   3Φ          Reserved
  1689.   4h          Translatσ ¡ searcΦ al∞ defineΣ tag≤ ¡ ignorσ sequencσ numbers.
  1690.   5h          Translatσ ¡ searcΦ primar∙ tag≤ ¡ ignorσ sequencσ numbers.  
  1691.   6Φ          Translatσ ¡ searcΦ alternate tags ¡ ignorσ sequencσ numbers.
  1692.   7Φ          Reserved
  1693.   8Φ          Asser⌠ ¡ a≤ thσ primar∙ volumσ taτ ¡ iµ taτ no≈ undefined.
  1694.   9Φ          Asser⌠ ¡ a≤ thσ alternate volumσ taτ ¡ iµ taτ no≈ undefined.
  1695.   AΦ          Replace ¡ thσ primar∙ volumσ taτ ¡ curren⌠ taτ ignored.
  1696.   Bh          Replacσ ¡ thσ alternate volumσ taτ ¡ curren⌠ taτ ignored« 
  1697.   Ch          Undefined ¡ thσ primar∙ volumσ taτ ¡ curren⌠ taτ ignored.
  1698.   DΦ          Undefined ¡ thσ alternate volumσ taτ ¡ curren⌠ taτ ignored« 
  1699.   Eh-1Bh      Reserved
  1700.   1Ch-1Fh     Vendo≥ Specific
  1701. ==============================================================================
  1702. .pm 3
  1703. .aw on
  1704.  
  1705. ááTranslatσ operation≤ reques⌠ tha⌠ thσ targe⌠ searcΦ thσ volumσ taτ ì
  1706. informatioε availablσ t∩ i⌠ fo≥ element≤ whosσ volumσ taτ informatioε matche≤ ì
  1707. thσ templatσ giveε b∙ thσ commanΣ parameters« Thσ resultinτ informatioε i≤ ì
  1708. reporteΣ viß thσ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ command.
  1709.  
  1710. ááAsser⌠ operation≤ definσ volumσ taτ informatioε fo≥ ß singlσ element« ┴ ì
  1711. CHEC╦ CONDITIO╬ witΦ ILLEGA╠ REQUES╘ i≤ reporteΣ iµ thσ subjec⌠ elemen⌠ ì
  1712. alread∙ ha≤ defineΣ volumσ taτ information¼ iε thi≤ casσ thσ origina∞ volumσ ì
  1713. taτ informatioε shal∞ remaiε unaltered« 
  1714.  
  1715. ááReplacσ operation≤ definσ volumσ taτ informatioε fo≥ ß singlσ element« An∙ ì
  1716. previousl∙ defineΣ volumσ taτ informatioε i≤ overwritten.
  1717.  
  1718. .cp 3
  1719. ááUndefineΣ operation≤ causσ previousl∙ defineΣ volumσ taτ informatioε fo≥ thσ ì
  1720. specifieΣ elemen⌠ t∩ bσ cleared« I⌠ shal∞ no⌠ bσ considereΣ aε erro≥ t∩ ì
  1721. undefineΣ volumσ taτ informatioε tha⌠ wa≤ no⌠ previousl∙ defined.
  1722.  
  1723. .cp 5èáá┴ mediuφ change≥ devicσ tha⌠ implement≤ volumσ taτ informatioε ma∙ choosσ t∩ ì
  1724. no⌠ implemen⌠ thσ facilitie≤ tha⌠ modif∙ thσ volumσ taτ information«  WitΦ ì
  1725. sucΦ aε implementatioε ß reques⌠ fo≥ thσ assert¼ replacσ o≥ undefineΣ ì
  1726. function≤ woulΣ causσ thσ SEN─ VOLUM┼ TA╟ commanΣ t∩ bσ terminateΣ witΦ CHEC╦ ì
  1727. CONDITIO╬ anΣ ß sensσ ke∙ oµ ILLEGA╠ REQUEST.
  1728.  
  1729. .cp 8
  1730. ááThσ elemen⌠ addres≤ fielΣ give≤ ß mediuφ change≥ elemen⌠ addres≤ whosσ ì
  1731. interpretatioε depend≤ oε thσ senΣ actioε codσ receiveΣ witΦ thi≤ command« ì
  1732. Wheε thσ senΣ actioε codσ i≤ ß translate¼ (codσ value≤ 0h..7h)¼ thσ Elemen⌠ ì
  1733. Addres≤ fielΣ give≤ thσ startinτ elemen⌠ t∩ bσ examineΣ fo≥ satisfactioε oµ ì
  1734. thσ searcΦ criteria« Wheε thσ senΣ actioε codσ i≤ othe≥ thaε translate¼ (i.e« ì
  1735. assert¼ replace¼ anΣ undefined¼ codσ value≤ 8h..Dh)¼ thσ elemen⌠ addres≤ ì
  1736. fielΣ give≤ thσ particula≥ elemen⌠ whosσ volumσ taτ informatioε i≤ t∩ bσ ì
  1737. modified.
  1738.  
  1739. ááThσ volumσ taτ informatioε useΣ fo≥ translate¼ asser⌠ anΣ replacσ function≤ ì
  1740. i≤ defineΣ iε Tablσ 1╢-22«  N∩ parameter≤ arσ necessar∙ fo≥ undefineΣ ì
  1741. operations.
  1742.  
  1743. .aw off
  1744. .pm 0
  1745. .cp 35
  1746.                 Table 16-22: SenΣ Volumσ Taτ Parameter≤ Format
  1747.  
  1748. ==============================================================================
  1749.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1750. Byte |        |        |        |        |        |        |        |        |
  1751. ==============================================================================
  1752.  0   |                                                                       |
  1753. ¡ ¡ -|¡ ¡ ¡             Volumσ Identification Template Field            - - -|
  1754.  31  |                                                                       |
  1755. -----|-----------------------------------------------------------------------|
  1756.  32  |                                                                       |
  1757. -----|--¡                            ReserveΣ                             ---|
  1758.  33  ⁿ                                                                       |
  1759. -----|-----------------------------------------------------------------------|
  1760.  34  | (MSB)                                                                 |
  1761. ¡ ¡ -ⁿ---                  Minimuφ Volumσ Sequencσ Number                 ---|
  1762.  35  ⁿ                                                                 (LSB) |
  1763. -----|-----------------------------------------------------------------------|
  1764.  36  |                                                                       |
  1765. -----|¡ ¡ ¡                          ReserveΣ                           - - -|
  1766.  37  |                                                                       |
  1767. -----|-----------------------------------------------------------------------|
  1768.  38  | (MSB)                                                                 |
  1769. ¡ ¡ -ⁿ---                  Maximum Volumσ Sequencσ Number                 ---|
  1770.  39  ⁿ                                                                 (LSB) |
  1771. ==============================================================================
  1772. .aw on
  1773. .pm 3
  1774.  
  1775.  
  1776. ááThσ volumσ identificatioε templatσ fielΣ specifie≤ ß searcΦ templatσ fo≥ ì
  1777. translatσ function≤ anΣ thσ exac⌠ valuσ oµ thσ ne≈ volumσ identificatioε ì
  1778. informatioε fo≥ othe≥ SEN─ VOLUM┼ TA╟ commanΣ functions.
  1779.  
  1780. ááA≤ ß searcΦ template¼ thi≤ fielΣ ma∙ contaiε thσ wildcarΣ character≤ '*º anΣ ì
  1781. '?º (2AΦ anΣ 3Fh)« '*º wil∞ matcΦ an∙ strinτ oµ characters¼ wheε i⌠ appear≤ iε ì
  1782. ß templatσ thσ remainde≥ oµ thσ templatσ i≤ no⌠ used« '?º wil∞ matcΦ an∙ ì
  1783. singlσ character« è
  1784. ááFo≥ ß functioε othe≥ thaε translate¼ thi≤ fielΣ ma∙ no⌠ contaiε thσ '*º o≥ ì
  1785. '?º wildcarΣ characters« 
  1786.  
  1787. ááThσ minimuφ volumσ sequencσ numbe≥ fielΣ specifie≤ thσ ne≈ sequencσ numbe≥ ì
  1788. fo≥ thσ asser⌠ anΣ replacσ functions« Fo≥ ß translate¼ thi≤ specifie≤ thσ ì
  1789. leas⌠ valuσ tha⌠ wil∞ mee⌠ thσ searcΦ specification« 
  1790.  
  1791. ááThσ maximuφ volumσ sequencσ numbe≥ fielΣ specifie≤ thσ greates⌠ valuσ tha⌠ ì
  1792. wil∞ mee⌠ thσ searcΦ specification« Thi≤ fielΣ i≤ ignoreΣ oε function≤ othe≥ ì
  1793. thaε translate.
  1794.  
  1795.  
  1796. .cp 20
  1797. .aw off
  1798. .pm 0
  1799. 16.3. Parameter≤ fo≥ Medium Changer Devices
  1800. .aw on
  1801. .pm 3
  1802.  
  1803. .cp 10
  1804. .aw off
  1805. .pm 0
  1806. 16.3.1. Diagnostic Paramete≥s
  1807. .aw on
  1808. .pm 3
  1809.  
  1810. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
  1811. useΣ witΦ mediuφ change≥ devices« 
  1812.  
  1813. ááThσ diagnostiπ pagσ code≤ fo≥ mediuφ change≥ device≤ arσ defineΣ iε Tablσ ì
  1814. 1╢-23« 
  1815.  
  1816. .aw off
  1817. .pm 0
  1818. .cp 15
  1819.                       Table 16-23: Diagnostiπ Page Codes
  1820.  
  1821. ==============================================================================
  1822.   Page Code   Description                                           Section
  1823. ------------------------------------------------------------------------------
  1824. ááá00h        SupporteΣ Diagnostiπ Pagσs                            7.3.1.1
  1825. 01Φ ¡ 3Fh     ReserveΣ (fo≥ al∞ devicσ typσ page≤)                 
  1826. 40Φ ¡ 7Fh     Reserved
  1827. 80Φ ¡ FFh     Vendo≥-specifiπ pages
  1828. .lm 1
  1829. .pm 0
  1830. ==============================================================================
  1831. .aw on
  1832. .pm 3
  1833. .lm 1
  1834.  
  1835.  
  1836. .cp 5
  1837. .aw off
  1838. .pm 0
  1839. 16.3.2. Log Paramete≥s
  1840. .aw on
  1841. .pm 3
  1842.  
  1843. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
  1844. mediuφ change≥ devices« 
  1845.  
  1846. ááThσ loτ pagσ code≤ fo≥ mediuφ change≥ device≤ arσ defineΣ iε Tablσ 1╢-24.
  1847.  
  1848. .aw off
  1849. .pm 0
  1850. .cp 15è                          Table 16-24: Log Page Codes
  1851.  
  1852. ==============================================================================
  1853.   Page Code   Description                                           Section
  1854. ------------------------------------------------------------------------------
  1855. .pm 4         
  1856. .lm 16
  1857. .aw on
  1858. ááá00h        SupporteΣ Loτ Page≤                                   7.3.2.5
  1859. ááá06h        Noε-Mediuφ Erro≥ Pagσ                                 7.3.2.4
  1860. ááá07h        Las⌠ ε Erro≥ Event≤ Pagσ                              7.3.2.3
  1861. ááá01h - 05h, 08Φ ¡ 2Fh¼ 3FΦ  ReserveΣ                              
  1862. ááá30h - 3Eh  Vendo≥-specifiπ pages
  1863. .pm 0
  1864. .lm 1
  1865. ==============================================================================
  1866. .aw on
  1867. .pm 3
  1868. .lm 1
  1869.  
  1870.  
  1871. .cp 10
  1872. .aw off
  1873. .pm 0
  1874. 16.3.3. Mode Paramete≥s
  1875. .aw on
  1876. .pm 3
  1877.  
  1878. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
  1879. mediuφ change≥ devices« 
  1880.  
  1881. ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
  1882. descripto≥ arσ defineΣ iε 7.3.3.
  1883.  
  1884. ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
  1885. Tablσ ╖-6▒ anΣ ╖-62)«  Thi≤ fielΣ i≤ reserveΣ fo≥ mediuφ change≥ devices.
  1886.  
  1887. ááThσ devicσ specifiπ paramete≥ fielΣ i≤ containeΣ iε thσ modσ paramete≥ ì
  1888. heade≥ (seσ Tablσ ╖-6▒ anΣ ╖-62)«  Thi≤ fielΣ i≤ reserveΣ fo≥ mediuφ change≥ ì
  1889. devices.
  1890.  
  1891. ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
  1892. (seσ Tablσ ╖-63)«  Thi≤ fielΣ i≤ reserveΣ fo≥ mediuφ change≥ devices.
  1893.  
  1894. .cp 20
  1895. ááThσ modσ pagσ code≤ fo≥ mediuφ change≥ device≤ arσ showε iε Tablσ 1╢-25.
  1896.  
  1897. .cp  25è.aw off
  1898. .pm 0
  1899.                          Table 16-25: Modσ Page Codes
  1900.  
  1901. ==============================================================================
  1902.   Page Code   Description                                           Section
  1903. ------------------------------------------------------------------------------
  1904. ááá1Fh        Devicσ Capabilitie≤                                  16.3.3.1
  1905. ááá1DΦ        Elemen⌠ Addres≤ Assignmen⌠                           16.3.3.2
  1906. ááá1Eh        Transport Geometry Parameter≤                        16.3.3.3
  1907. 01h - 1Dh     ReserveΣ 
  1908. ááá00h        Vendo≥ Specific (does not require page format)        
  1909. 20h - 3Eh     Vendor-specifiπ Pages
  1910. ááá3Fh        Returε≤ al∞ page≤ (valΘΣ onl∙ for thσ MODE SENSE command)
  1911. ==============================================================================
  1912. .aw on
  1913. .pm 3
  1914. .lm 1
  1915.  
  1916.  
  1917. .cp 36
  1918. .aw off
  1919. .pm 0
  1920. 16.3.3.1. Devicσ Capabilitie≤ Page
  1921.  
  1922.                      Table 16-26: Devicσ Capabilitie≤ Page
  1923.  
  1924. ==============================================================================
  1925.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1926. Byte |        |        |        |        |        |        |        |        |
  1927. ==============================================================================
  1928.  0   |   P╙   |Reserved|         Page Code (1Fh)                             |
  1929. -----|-----------------------------------------------------------------------|
  1930.  1   |                       Parameter Length (12h)                          |
  1931. -----|-----------------------------------------------------------------------|
  1932.  2   |               Reserved            ⁿ S⌠orD╘ ⁿ S⌠orI/┼ⁿ StorS╘ | S⌠orM╘ |
  1933. -----|-----------------------------------------------------------------------|
  1934.  3   |                           Reserved                                    |
  1935. -----|-----------------------------------------------------------------------|
  1936.  4   |               Reserved            ⁿ MT->D╘ ⁿ MT->I/┼ⁿ MT-╛S╘ | MT->M╘ |
  1937. -----|-----------------------------------------------------------------------|
  1938.  5   |               Reserved            ⁿ ST->D╘ ⁿ ST->I/┼ⁿ ST-╛S╘ | ST->M╘ |
  1939. -----|-----------------------------------------------------------------------|
  1940.  6   |               Reserved            ⁿI/E->D╘ ⁿI/E->I/┼ⁿI/E-╛S╘ |I/E->M╘ |
  1941. -----|-----------------------------------------------------------------------|
  1942.  7   |               Reserved            ⁿ DT->D╘ ⁿ DT->I/┼ⁿ DT-╛S╘ | DT->M╘ |
  1943. -----|-----------------------------------------------------------------------|
  1944. ╕ t∩ |                                                                       |
  1945. ¡ ¡ -|¡ ¡ ¡                      ReserveΣ                               ¡ ¡ -|
  1946.  1▒  ⁿ                                                                       |
  1947. -----|-----------------------------------------------------------------------|
  1948.  12  |               Reserved            ⁿ MT<>D╘ ⁿ MT<>I/┼ⁿ MT<>S╘ | MT<>M╘ |
  1949. -----|-----------------------------------------------------------------------|
  1950.  13  |               Reserved            ⁿ ST<>D╘ ⁿ ST<>I/┼ⁿ ST<>S╘ | ST<>M╘ |
  1951. -----|-----------------------------------------------------------------------|
  1952.  14  |               Reserved            ⁿI/E<>D╘ ⁿI/E<>I/┼ⁿI/E<>S╘ |I/E<>M╘ |
  1953. -----|-----------------------------------------------------------------------|
  1954.  15  |               Reserved            ⁿ DT<>D╘ ⁿ DT<>I/┼ⁿ DT<>S╘ | DT<>M╘ |
  1955. ==============================================================================
  1956. .aw on
  1957. .pm 3
  1958.  
  1959.  
  1960. .cp 4èááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command«  ì
  1961. Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command«  ┴ P╙ bi⌠ oµ onσ indicate≤ ì
  1962. tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
  1963. specifiπ location.
  1964.  
  1965. ááThσ devicσ capabilitie≤ pagσ (Tablσ 1╢-26⌐ define≤ characteristic≤ oµ thσ ì
  1966. elemen⌠ type≤ oε thi≤ mediuφ change≥ implementation« Thi≤ informatioε ma∙ bσ ì
  1967. employeΣ b∙ thσ initiato≥ t∩ determinσ function≤ permitteΣ b∙ thσ MOV┼ MEDIU═ ì
  1968. anΣ EXCHANG┼ MEDIU═ commands.
  1969.  
  1970. .cp 6
  1971. ááIε thσ fielΣ name≤ oε thi≤ page¼ thσ followinτ elemen⌠ typσ abbreviation≤ ì
  1972. arσ used:
  1973. áá    M╘         ß mediuφ transpor⌠ element,
  1974. áá    S╘         ß storagσ element,
  1975. áá    I/┼        aε impor⌠ expor⌠ element¼ and
  1976. áá    D╘         ß datß transfe≥ element.
  1977. ááIε thσ descriptions¼ X╪ anΣ Y┘ arσ an∙ oµ thσ elemen⌠ typσ abbreviations« 
  1978.  
  1979. .cp 5
  1980. áá┴ StorX╪ bi⌠ valuσ oµ onσ indicateΣ tha⌠ thσ defineΣ element≤ oµ typσ X╪ ma∙ ì
  1981. providσ independen⌠ storagσ fo≥ ß uni⌠ oµ media« ┴ valuσ oµ zer∩ indicate≤ ì
  1982. tha⌠ element≤ oµ typσ X╪ providσ virtua∞ source≤ o≥ destinations¼ tha⌠ thσ ì
  1983. locatioε oµ thσ uni⌠ oµ mediß i≤ provideΣ b∙ aε elemen⌠ oµ somσ othe≥ type« ì
  1984. Thσ valuσ oµ StorS╘ i≤ onσ b∙ thσ definitioε oµ tha⌠ type« Seσ 16.1.1.
  1985.  
  1986. ááAε X╪->Y┘ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ mediuφ change≥ devicσ support≤ ì
  1987. MOV┼ MEDIU═ command≤ wherσ thσ sourcσ i≤ elemen⌠ typσ X╪ anΣ thσ destinatioε ì
  1988. i≤ elemen⌠ typσ YY«  Aε X╪->Y┘ bi⌠ valuσ oµ zer∩ indicate≤ tha⌠ thesσ MOV┼ ì
  1989. MEDIU═ command≤ wil∞ bσ rejecteΣ witΦ ILLEGA╠ REQUEST.
  1990.  
  1991. ááAε XX<>Y┘ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ mediuφ change≥ devicσ support≤ ì
  1992. EXCHANG┼ MEDIU═ command≤ wherσ thσ sourcσ i≤ elemen⌠ typσ XX¼ destinatioε ▒ i≤ ì
  1993. elemen⌠ typσ YY¼ anΣ destinatioε ▓ i≤ thσ samσ typσ a≤ thσ sourcσ elemen⌠ ì
  1994. type«  Thesσ bit≤ indicatσ thσ suppor⌠ fo≥ thσ possiblσ type≤ oµ simplσ ì
  1995. exchangσ operations«  Aε XX<>Y┘ bi⌠ valuσ oµ zer∩ indicate≤ tha⌠ thesσ ì
  1996. EXCHANG┼ MEDIU═ command≤ wil∞ bσ rejecteΣ witΦ ILLEGA╠ REQUEST.
  1997.  
  1998. .cp 38è.aw off
  1999. .pm 0
  2000. 16.3.3.2. Elemen⌠ Addres≤ Assignmen⌠ Page
  2001. .pm 0
  2002. .aw off
  2003.  
  2004.                  Table 16-27: Elemen⌠ Addres≤ Assignmen⌠ Page
  2005.  
  2006. ==============================================================================
  2007.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  2008. Byte |        |        |        |        |        |        |        |        |
  2009. ==============================================================================
  2010.  0   |   P╙   |Reserved|         Page Code (1Dh)                             |
  2011. -----|-----------------------------------------------------------------------|
  2012.  1   |                           Parameter Length (12h)                      |
  2013. -----|-----------------------------------------------------------------------|
  2014.  ▓   | (MSB)                                                                 |
  2015. -----|---                        Medium Transpor⌠ Elemen⌠ Addres≤         ---|
  2016.  │   |                                                                 (LSB) |
  2017. -----|-----------------------------------------------------------------------|
  2018.  ┤   | (MSB)                                                                 |
  2019. -----|---                        Number of Medium Transpor⌠ Elemen⌠s      ---|
  2020.  ╡   |                                                                 (LSB) |
  2021. -----|-----------------------------------------------------------------------|
  2022.  6   | (MSB)                                                                 |
  2023. -----|---                        First Storage Element Address            ---|
  2024.  7   |                                                                 (LSB) |
  2025. -----|-----------------------------------------------------------------------|
  2026.  8   | (MSB)                                                                 |
  2027. -----+---                        Numbe≥ oµ Storagσ Element≤               ---|
  2028.  9   |                                                                 (LSB) |
  2029. -----|-----------------------------------------------------------------------|
  2030.  10  | (MSB)                                                                 |
  2031. -----|---                        Firs⌠ Import Export Elemen⌠ Address      ---|
  2032.  11  |                                                                 (LSB) |
  2033. -----|-----------------------------------------------------------------------|
  2034.  12  | (MSB)                                                                 |
  2035. -----|---                        Numbe≥ oµ Import Export Element≤         ---|
  2036.  13  |                                                                 (LSB) |
  2037. -----|-----------------------------------------------------------------------|
  2038.  14  | (MSB)                                                                 |
  2039. -----|---                        First Datß Transfe≥ Elemen⌠ Addres≤      ---|
  2040.  15  |                                                                 (LSB) |
  2041. -----|-----------------------------------------------------------------------|
  2042.  16  | (MSB)                                                                 |
  2043. -----|---                        Numbe≥ oµ Datß Transfe≥ Element≤         ---|
  2044.  17  |                                                                 (LSB) |
  2045. -----|-----------------------------------------------------------------------|
  2046.  18  |                                                                       |
  2047. -----|--¡                        Reserved                                 ---|
  2048.  19  |                                                                       |
  2049. ==============================================================================
  2050. .aw on
  2051. .pm 3
  2052.  
  2053.  
  2054. .cp 4
  2055. ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command«  ì
  2056. Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command«  ┴ P╙ bi⌠ oµ onσ indicate≤ ì
  2057. tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
  2058. specifiπ location.
  2059. è.cp 4
  2060. ááThσ elemen⌠ addres≤ assignmen⌠ pagσ (Tablσ 1╢-27⌐ i≤ useΣ t∩ assigε ì
  2061. addresse≤ t∩ thσ element≤ oµ thσ mediuφ change≥ (MOD┼ SELECT⌐ anΣ t∩ repor⌠ ì
  2062. thosσ assignment≤ (MOD┼ SENSE)« Thi≤ pagσ als∩ define≤ thσ numbe≥ oµ eacΦ typσ ì
  2063. oµ elemen⌠ present.
  2064.  
  2065. ááThσ firs⌠ mediuφ transpor⌠ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ mediuφ ì
  2066. transpor⌠ elemen⌠ containeΣ iε thσ mediuφ change≥ (othe≥ thaε thσ defaul⌠ ì
  2067. mediuφ transpor⌠ addres≤ oµ zero)« Thσ numbe≥ oµ mediuφ transpor⌠ element≤ ì
  2068. fielΣ define≤ thσ tota∞ numbe≥ oµ mediuφ transpor⌠ element≤ containeΣ iε thσ ì
  2069. mediuφ changer« Iµ thσ numbe≥ oµ mediuφ transpor⌠ element≤ fielΣ iε ß MOD┼ ì
  2070. SELEC╘ commanΣ i≤ greate≥ thaε thσ defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ ì
  2071. paramete≥ data¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ ì
  2072. sensσ ke∙ t∩ ILLEGA╠ REQUEST.
  2073.  
  2074. ááThσ firs⌠ storagσ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ mediuφ storagσ ì
  2075. elemen⌠ containeΣ iε thσ mediuφ changer«  Thσ numbe≥ oµ storagσ element≤ fielΣ ì
  2076. define≤ thσ tota∞ numbe≥ oµ mediuφ storagσ element≤ containeΣ iε thσ mediuφ ì
  2077. changer« Iµ thσ numbe≥ oµ mediuφ storagσ element≤ fielΣ iε ß MOD┼ SELEC╘ ì
  2078. commanΣ i≤ greate≥ thaε thσ defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ paramete≥ ì
  2079. data¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ì
  2080. ILLEGA╠ REQUEST.
  2081.  
  2082. ááThσ firs⌠ impor⌠ expor⌠ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ mediuφ ì
  2083. porta∞ tha⌠ i≤ accessiblσ botΦ b∙ thσ mediuφ transpor⌠ device≤ anΣ als∩ b∙ aε ì
  2084. operato≥ froφ outsidσ thσ mediuφ changer« Thσ numbe≥ oµ impor⌠ expor⌠ element≤ ì
  2085. fielΣ define≤ thσ tota∞ numbe≥ oµ impor⌠ expor⌠ element≤ containeΣ iε thσ ì
  2086. mediuφ change≥ anΣ accessiblσ t∩ thσ mediuφ transpor⌠ elements« Iµ thσ numbe≥ ì
  2087. oµ impor⌠ expor⌠ element≤ fielΣ iε ß MOD┼ SELEC╘ commanΣ i≤ greate≥ thaε thσ ì
  2088. defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ paramete≥ data¼ thσ targe⌠ shal∞ ì
  2089. returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUES╘ .
  2090.  
  2091. .lm3
  2092. ááIMPLEMENTOR╙ NOTE║ Thσ numbe≥ oµ impor⌠ expor⌠ element≤ ma∙ bσ zero.
  2093. .lm1
  2094.  
  2095. ááThσ firs⌠ datß transfe≥ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ datß ì
  2096. transfe≥ elemen⌠ containeΣ iε thσ mediuφ changer«  Thσ datß transfe≥ element≤ ì
  2097. ma∙ bσ eithe≥ read/writσ o≥ reaΣ-onl∙ devices«  Thσ numbe≥ oµ datß transfe≥ ì
  2098. fielΣ define≤ thσ tota∞ numbe≥ oµ datß transfe≥ element≤ containeΣ withiε thσ ì
  2099. mediuφ change≥ anΣ accessiblσ t∩ thσ mediuφ transpor⌠ elements«  Iµ thσ numbe≥ ì
  2100. oµ datß transfe≥ element≤ fielΣ iε ß MOD┼ SELEC╘ commanΣ i≤ greate≥ thaε thσ ì
  2101. defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ paramete≥ data¼ thσ targe⌠ shal∞ ì
  2102. returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUES╘ .
  2103.  
  2104. ááEacΦ elemen⌠ iε thσ mediuφ change≥ mus⌠ havσ ß uniquσ address« Iµ thσ ì
  2105. addres≤ range≤ defineΣ fo≥ an∙ oµ thσ elemen⌠ type≤ overlap¼ thσ targe⌠ shal∞ ì
  2106. returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST« 
  2107.  
  2108. .cp 18è.aw off
  2109. .pm 0
  2110. 16.3.3.3. Transpor⌠ Geometr∙ Parameter≤ Page
  2111.  
  2112.                 Table 16-28: Transport Geometry Parameter≤ Page
  2113.  
  2114. ==============================================================================
  2115.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  2116. Byte |        |        |        |        |        |        |        |        |
  2117. ==============================================================================
  2118.  0   |   PS   ⁿReserved|         Page Code (1Eh)                             |
  2119. -----|-----------------------------------------------------------------------|
  2120.  1   |                           Parameter Length                            |
  2121. ==============================================================================
  2122.      ⁿ                        Transpor⌠ Geometry Descriptor(s⌐               |
  2123. ==============================================================================
  2124.  0   |                           ReserveΣ                           | Rotate |
  2125. -----|-----------------------------------------------------------------------|
  2126.  1   |                Membe≥ Numbe≥ iε Transpor⌠ Elemen⌠ Set                 |
  2127. ==============================================================================
  2128. .aw on
  2129. .pm 3
  2130.  
  2131.  
  2132. ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command«  ì
  2133. Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command«  ┴ P╙ bi⌠ oµ onσ indicate≤ ì
  2134. tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
  2135. specifiπ location.
  2136.  
  2137. ááThσ transpor⌠ geometr∙ parameter≤ pagσ (Tablσ 1╢-28⌐ define≤ whethe≥ eacΦ ì
  2138. mediuφ transpor⌠ elemen⌠ i≤ ß membe≥ oµ ß se⌠ oµ element≤ tha⌠ sharσ ß commoε ì
  2139. robotic≤ subsysteφ anΣ whethe≥ thσ elemen⌠ i≤ capablσ oµ mediß rotation«  Onσ ì
  2140. transpor⌠ geometr∙ descripto≥ i≤ transferreΣ fo≥ eacΦ mediuφ transpor⌠ ì
  2141. element¼ beginninτ witΦ thσ firs⌠ mediuφ transpor⌠ element« (Othe≥ thaε thσ ì
  2142. defaul⌠ transpor⌠ elemen⌠ addres≤ oµ zero.⌐ 
  2143.  
  2144. ááThσ paramete≥ lengtΦ specifie≤ thσ numbe≥ oµ byte≤ oµ transpor⌠ geometr∙ ì
  2145. descriptor≤ tha⌠ follow«  Thσ geometr∙ oµ eacΦ mediuφ transpor⌠ elemen⌠ i≤ ì
  2146. defineΣ usinτ ß tw∩-bytσ fielΣ a≤ defineΣ below.
  2147.  
  2148. áá┴ rotatσ bi⌠ oµ onσ indicate≤ tha⌠ thσ mediuφ transpor⌠ elemen⌠ support≤ ì
  2149. mediß rotatioε fo≥ handlinτ doublσ-sideΣ media«  ┴ rotatσ bi⌠ oµ zer∩ ì
  2150. indicate≤ tha⌠ thσ mediuφ transpor⌠ elemen⌠ doe≤ no⌠ suppor⌠ mediß rotation.
  2151.  
  2152. ááThσ membe≥ numbe≥ iε se⌠ indicate≤ thσ positioε oµ thi≤ elemen⌠ iε ß se⌠ oµ ì
  2153. mediuφ transpor⌠ element≤ tha⌠ sharσ ß commoε robotic≤ subsystem« Thσ firs⌠ ì
  2154. elemen⌠ iε ß se⌠ ha≤ ß membe≥ numbe≥ oµ zero.
  2155.  
  2156.  
  2157. .cp 20è.pm 0
  2158. .aw off
  2159. 16.4. Glossar∙ fo≥ Mediuφ Change≥ Devices
  2160. .aw on
  2161. .pm 0
  2162.  
  2163. datß transfe≥ element.é ┴ componen⌠ oµ ß mediuφ change≥ useΣ t∩ acces≤ thσ datß ì
  2164. storeΣ oε ß uni⌠ oµ media« Thσ addres≤ iε mediuφ change≥ elemen⌠ spacσ oµ ß ì
  2165. primar∙ device« 
  2166.  
  2167. element.é Aε addressablσ physica∞ componen⌠ oµ ß mediuφ change≥ devicσ tha⌠ caε ì
  2168. servσ a≤ thσ locatioε oµ ß uni⌠ oµ media.
  2169.  
  2170. .cp 2
  2171. impor⌠ expor⌠ element.é ┴ locatioε withiε ß mediuφ change≥ devicσ tha⌠ caε bσ ì
  2172. accesseΣ b∙ botΦ thσ mediuφ transpor⌠ element≤ anΣ b∙ thσ operator.
  2173.  
  2174. mediuφ transpor⌠ element.é ┴ componen⌠ oµ ß mediuφ change≥ devicσ tha⌠ i≤ useΣ ì
  2175. t∩ movσ unit≤ oµ media«  
  2176.  
  2177. mediß rotation.é Thσ proces≤ oµ changinτ thσ orientatioε oµ ß uni⌠ oµ media« Iε ì
  2178. particula≥ thi≤ refer≤ t∩ invertinτ ß tw∩ sideΣ mediß cartridgσ s∩ tha⌠ ß datß ì
  2179. transpor⌠ elemen⌠ whicΦ caε acces≤ onl∙ sidσ a⌠ ß timσ caε acces≤ datß oε thσ ì
  2180. othe≥ side«  
  2181.  
  2182. primar∙ device.é ┴ devicσ fo≥ readinτ o≥ writinτ datß oε medium«  Thesσ device≤ ì
  2183. woulΣ typicall∙ implemen⌠ thσ direc⌠ access¼ sequentia∞ access¼ optica∞ memor∙ ì
  2184. devicσ o≥ C─-RO═ commanΣ set≤ iε thi≤ standard«  Example≤ arσ magnetiπ disδ ì
  2185. drives¼ cartridgσ tapσ drives¼ optica∞ disδ drive≤ anΣ C─-RO═ drives«  Usσ iε ì
  2186. ß mediuφ change≥ environmen⌠ implie≤ tha⌠ thσ devicσ support≤ removablσ media«   
  2187.  
  2188. storagσ element.é ┴ componen⌠ oµ ß mediuφ change≥ devicσ useΣ fo≥ inactivσ ì
  2189. storagσ oµ ß uni⌠ oµ media.
  2190.  
  2191. .. end of section
  2192. .paè
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.                      (Thi≤ pagσ i≤ intentionall∙ blank.)
  2214. .paè