JP2786370B2 - Peripheral device and its device type automatic recognition method - Google Patents
Peripheral device and its device type automatic recognition methodInfo
- Publication number
- JP2786370B2 JP2786370B2 JP4118793A JP11879392A JP2786370B2 JP 2786370 B2 JP2786370 B2 JP 2786370B2 JP 4118793 A JP4118793 A JP 4118793A JP 11879392 A JP11879392 A JP 11879392A JP 2786370 B2 JP2786370 B2 JP 2786370B2
- Authority
- JP
- Japan
- Prior art keywords
- device type
- automatically
- information
- processor
- head
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【0001】[0001]
【産業上の利用分野】本発明は、磁気テープ装置等の電
子計算機の周辺装置と、その装置タイプ自動認識方法に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral device for an electronic computer such as a magnetic tape device and a method for automatically recognizing the device type.
【0002】近年、例えば磁気テープ装置のような周辺
装置は、各種の装置が製品化されているが、これらの装
置では、機構部(メカ部)の一部を除いて、ほとんどハ
ード(回路部、機構部)を同一として、異種の装置を開
発することがある。2. Description of the Related Art In recent years, various devices have been commercialized as peripheral devices such as a magnetic tape device. However, in these devices, except for a part of a mechanical unit (mechanical unit), almost all hardware (circuit unit) is used. , The same unit), and different types of devices may be developed.
【0003】この場合、装置の制御用マイクロプログラ
ムも一本化し、上記機構部の違いを自動的に検出するこ
とにより、開発工数、製作工数等の削減をすることが要
望されている。In this case, it is desired to reduce the number of development man-hours, the number of man-hours, and the like by unifying the control microprogram of the apparatus and automatically detecting the difference in the mechanism.
【0004】[0004]
【従来の技術】図8は従来の磁気テープ装置の説明図で
あり、図8中、1はホストコンピュータ、2は磁気テー
プ装置、3はコントローラ、4はドライブ部、5はドラ
イブ制御部、6は機構部、7はMPU(マイクロプロセ
ッサ)、8はプログラムメモリ、9は装置タイプの設定
ピン、10はリ−ド/ライトヘッド、11はステッピン
グモータ、12は装置タイプ設定用のしゃへい板、13
はセンサを示す。2. Description of the Related Art FIG. 8 is an explanatory view of a conventional magnetic tape device. In FIG. 8, 1 is a host computer, 2 is a magnetic tape device, 3 is a controller, 4 is a drive unit, 5 is a drive control unit, and 6 is a drive unit. Is a mechanical unit, 7 is an MPU (microprocessor), 8 is a program memory, 9 is a device type setting pin, 10 is a read / write head, 11 is a stepping motor, 12 is a shielding plate for setting the device type, 13
Indicates a sensor.
【0005】従来の磁気テープ装置は、例えば図8に示
したように、上位の制御部であるコントローラ3と、ド
ライブ部4で構成されている。そして、ドライブ部4
は、機構部(メカ部分)6と、その制御部であるドライ
ブ制御部5で構成されている。[0005] A conventional magnetic tape device comprises, for example, a controller 3 as a higher-level control unit and a drive unit 4 as shown in FIG. And the drive unit 4
Is composed of a mechanical section (mechanical section) 6 and a drive control section 5 as a control section thereof.
【0006】ドライブ制御部5には、MPU(マイクロ
プロセッサ)7、プログラムメモリ8等が設けてあり、
該MPU7は、プログラムメモリ8内のマイクロプログ
ラムを読み出して、各種の制御を行う。The drive control unit 5 includes an MPU (microprocessor) 7, a program memory 8, and the like.
The MPU 7 reads a microprogram in the program memory 8 and performs various controls.
【0007】また、機構部6には、リ−ド/ライトヘッ
ド10、該リ−ド/ライトヘッド10を駆動するステッ
ピングモータ11、等が設けてある。この場合、磁気テ
ープ装置4の装置タイプ(装置型式)としては、例えば
32トラック用のヘッドを有するタイプや、20トラッ
ク用のヘッドを有するタイプがある。The mechanism section 6 is provided with a read / write head 10, a stepping motor 11 for driving the read / write head 10, and the like. In this case, examples of the device type (device type) of the magnetic tape device 4 include a type having a head for 32 tracks and a type having a head for 20 tracks.
【0008】そこで、20トラック用のヘッドを使用し
た装置か、32トラック用のヘッドを使用した装置かを
装置内部で自動認識するため、設定ピン9、あるいはし
ゃへい板12を設けておく(いずれか一方)。Therefore, in order to automatically recognize whether the apparatus uses a head for 20 tracks or an apparatus using a head for 32 tracks, a setting pin 9 or a shielding plate 12 is provided. on the other hand).
【0009】設定ピン9は、例えばプリント板上に複数
の設定ピン9を設けておき、装置に取り付けたヘッドの
タイプ(20トラック用あるいは32トラック用)に応
じて、所定の設定ピン9の間を短絡しておく(ヘッドを
交換したら、それに応じて設定ピンの短絡状態も変え
る)。The setting pins 9 are provided with a plurality of setting pins 9 on a printed board, for example, and are set between predetermined setting pins 9 according to the type of head (for 20 tracks or 32 tracks) attached to the apparatus. (If the head is replaced, change the short-circuit state of the setting pin accordingly).
【0010】そして、例えばMPU7が、上記設定ピン
9の短絡状態から、ヘッドのタイプを自動的に認識する
ものである。また、しゃへい板12を用いた場合には、
該しゃへい板12に、ヘッドのタイプに応じたスリット
を形成いしておく、このしゃへい板12は、ヘッドを交
換した場合には、交換したヘッドに対応したスリットの
しゃへい板と交換しておく(ヘッドとしゃへい板を対応
させておく)。For example, the MPU 7 automatically recognizes the type of the head from the short-circuit state of the setting pin 9. When the shielding plate 12 is used,
A slit corresponding to the type of head is formed in the shielding plate 12. When the head is replaced, the shielding plate 12 is replaced with a shielding plate having a slit corresponding to the replaced head (head). Corresponding to the shielding plate).
【0011】MPU7がヘッドのタイプを自動認識する
場合には、ステッピングモータ11を駆動して、ヘッド
シーク動作を行い、しゃへい板12を移動させ(しゃへ
い板12を取り付けたキャリッジをステッピングモータ
11の回転で移動させて行う)、センサ13により、し
ゃへい板12のスリットを検出し、該センサ13の検出
信号から、ヘッドタイプを認識する。When the MPU 7 automatically recognizes the type of the head, it drives the stepping motor 11 to perform a head seek operation to move the shielding plate 12 (the carriage on which the shielding plate 12 is mounted is rotated by the rotation of the stepping motor 11). The sensor 13 detects the slit of the shielding plate 12 and recognizes the head type from the detection signal of the sensor 13.
【0012】このようにして、ドライブ制御部5内のM
PU7が自装置の装置タイプを自動認識し、その情報
を、コントローラ3の要求に応じて通知できれば、機構
部の一部を除いて、ほとんどのハードウェアを同一と
し、異種の装置を開発する場合、装置制御用のマイクロ
プログラムも一本化することが可能となる。In this manner, M in the drive control unit 5
If the PU 7 automatically recognizes the device type of its own device and can notify the information according to the request of the controller 3, most of the hardware is the same except for a part of the mechanical unit, and a different device is developed. Also, it becomes possible to unify the microprogram for device control.
【0013】その結果、開発工数、製作工数等が削減可
能となる。As a result, development man-hours, manufacturing man-hours, etc. can be reduced.
【0014】[0014]
【発明が解決しようとする課題】上記のような従来のも
のにおいては、次のような課題があった。 (1) 装置内で、装置タイプ(例えばヘッドの違い)を自
動認識するのに、設定ピンを用いた場合には、その設定
を手動で行うため、設定ミスも発生する。The above-mentioned conventional apparatus has the following problems. (1) When a setting pin is used for automatically recognizing a device type (for example, a difference between heads) in the device, the setting is manually performed, so that a setting error occurs.
【0015】設定ピンの設定ミスが発生すると、その後
の自動認識で、間違った情報を認識してしまう。また設
定ピンによる設定は、作業性も悪い。 (2) しゃへい板を用いた装置タイプの自動認識において
は、例えば、自動認識時に、障害等の発生(例えば、テ
ープが巻き戻されていなかった場合等)により、装置タ
イプの自動認識ができない場合がある。If a setting error of the setting pin occurs, incorrect information will be recognized in the subsequent automatic recognition. In addition, the setting by the setting pin has poor workability. (2) In the automatic recognition of the device type using the shielding plate, for example, when the automatic recognition of the device type cannot be performed due to the occurrence of a failure or the like (for example, when the tape has not been rewound) during the automatic recognition. There is.
【0016】このような場合には、装置タイプを正しく
認識できない。即ち、しゃへい板を用いた装置タイプの
自動認識を行う際、装置内で磁気テープが巻かれている
と、巻き戻し動作を行うが、この巻き戻し動作がエラー
となった場合には、巻き戻しができなくなる。In such a case, the device type cannot be correctly recognized. That is, when performing automatic recognition of a device type using a shield plate, a rewind operation is performed if a magnetic tape is wound in the device, but if an error occurs in the rewind operation, the rewind operation is performed. Can not be done.
【0017】このような場合には、ヘッドシークを行う
と、テープ上のデータ部分を傷つけることも考えられる
ので、ヘッドシークは行わない。従って、装置タイプの
自動認識ができなくなる。In such a case, if the head seek is performed, the data portion on the tape may be damaged. Therefore, the head seek is not performed. Therefore, automatic recognition of the device type becomes impossible.
【0018】その結果、上位のコントローラからの要求
があっても、誤った情報を送ってしまうことがある。本
発明は、このような従来の課題を解決し、障害等の発生
により、万一、装置タイプの自動認識動作ができない場
合でも、常に正確な装置タイプの自動認識ができるよう
にすることを目的とする。As a result, even if there is a request from a higher-level controller, erroneous information may be sent. An object of the present invention is to solve such a conventional problem and to always enable accurate automatic recognition of a device type even when an automatic recognition operation of the device type cannot be performed due to occurrence of a failure or the like. And
【0019】[0019]
【課題を解決するための手段】図1は本発明の原理説明
図であり、図1中、図8と同じものは同一符号で示して
ある。また、14は不揮発メモリを示す。FIG. 1 is a view for explaining the principle of the present invention. In FIG. 1, the same components as those in FIG. 8 are denoted by the same reference numerals. Reference numeral 14 denotes a nonvolatile memory.
【0020】本発明は上記の課題を解決するため、次の
ように構成した。 (1) 少なくとも、機構部6と、その制御部5とを備え、
機構部6には、該機構部の一部により決まる装置タイプ
(装置型式)情報を設定した装置タイプ設定機構12を
設けると共に、制御部5には、マイクロプログラムによ
り各種の制御を行うプロセッサ7を設け、該プロセッサ
7の制御により、装置タイプ設定機構12の設定情報を
検出して、自装置の装置タイプを自動認識する電子計算
機の周辺装置において、上記制御部5に、上記プロセッ
サ7により、データの書き込み及び読み出しが可能な不
揮発メモリ14を設け、該不揮発メモリ14に、上記プ
ロセッサ7の制御により自動認識した装置タイプ情報を
格納すると共に、上記プロセッサ7は、自装置の装置タ
イプを正常に自動認識した際、新しく認識した装置タイ
プ情報で、上記不揮発メモリ14の装置タイプ情報を更
新しておき、装置タイプの自動認識ができない場合は、
上記不揮発メモリ14の情報を読み出して、自装置の装
置タイプを自動認識する機能を備えている。The present invention has the following configuration to solve the above problems. (1) At least a mechanism unit 6 and its control unit 5 are provided,
The mechanism 6 has a device type determined by a part of the mechanism.
(Apparatus type) An apparatus type setting mechanism 12 in which information is set is provided, and a processor 7 for performing various controls by a microprogram is provided in the control unit 5, and the setting of the apparatus type setting mechanism 12 is controlled by the processor 7. In a peripheral device of a computer which detects information and automatically recognizes the device type of the device, the control unit 5 is provided with a nonvolatile memory 14 in which data can be written and read by the processor 7. 14 stores the device type information automatically recognized under the control of the processor 7, and the processor 7 stores the device type information of its own device.
When the device type is automatically recognized normally, the newly
Update the device type information of the nonvolatile memory 14 with the
If you can not automatically recognize the device type,
The information in the nonvolatile memory 14 is read out, and the
It has a function to automatically recognize the installation type .
【0021】(2) 構成(1)の周辺装置における装置タ
イプ自動認識方法において、プロセッサ7が、自装置の
装置タイプを正常に自動認識した際、新しく認識した装
置タイプ情報で、上記不揮発メモリ14の装置タイプ情
報を更新しておき、障害等の発生で、装置タイプの自動
認識処理ができない場合には、上記不揮発メモリ14の
情報を読み出して、自装置の装置タイプを自動認識する
ようにした。(2) In the method for automatically recognizing the device type in the peripheral device having the configuration (1), when the processor 7 normally and automatically recognizes the device type of the own device, the processor 7 uses the newly recognized device type information and the nonvolatile memory 14. The device type information is updated, and if the device type cannot be automatically recognized due to a failure or the like, the information in the nonvolatile memory 14 is read out to automatically recognize the device type of the own device. .
【0022】(3) 構成(1)又は(2)において、機構
部6を、磁気テープ装置2の機構部とし、上記装置タイ
プを、磁気テープ記録媒体に対し、データのリ−ド/ラ
イトを行うヘッドのタイプ(型式)とした。(3) In the configuration (1) or (2), the mechanism section 6 is a mechanism section of the magnetic tape device 2, and the device type is set to read / write data to / from a magnetic tape recording medium. The type (model) of the head to be performed.
【0023】[0023]
【作用】上記構成に基づく本発明の作用を、図1を参照
しながら説明する。例えば、周辺装置が磁気テープ装置
の場合、装置の電源立上げ時等に、上位のコントローラ
3から、装置タイプの認識に関する要求が出されたとす
ると、ドライブ制御部5内のMPU(プロセッサ)7
は、内部の初期化処理等を行い、装置内にテープが巻か
れた状態であれば、テープの巻き戻しを行う。The operation of the present invention based on the above configuration will be described with reference to FIG. For example, when the peripheral device is a magnetic tape device, if a request for recognition of the device type is issued from the higher-level controller 3 when the power of the device is turned on, an MPU (processor) 7 in the drive control unit 5
Performs an internal initialization process, etc., and if the tape is wound in the apparatus, rewinds the tape.
【0024】テープの巻き戻しが正常に終了した場合、
あるいは、装置内にテープが巻かれていなかった場合に
は、MPU7は、リ−ド/ライトヘッド10のシーク動
作を行い、センサ13の出力信号から、装置タイプを検
出することにより、自装置の装置タイプを自動認識す
る、この自動認識した装置タイプ情報は、不揮発メモリ
に書き込んでおく。When the tape has been normally rewound,
Alternatively, if no tape is wound in the device, the MPU 7 performs a seek operation of the read / write head 10 and detects the device type from the output signal of the sensor 13 to thereby determine the device type. The device type information that is automatically recognized is written in a nonvolatile memory.
【0025】そして、上位のコントローラ3からの要求
に応じて、自動認識した装置タイプ情報をコントローラ
3へ通知する。しかし、テープの巻き戻し動作の過程
で、エラーが発生し、テープが巻き戻せなくなった場合
には、MPU7は、不揮発メモリ14内に、先の処理で
格納しておいた情報を読み出すことで、装置タイプを自
動認識し、上位のコントローラ3へも通知する。Then, in response to a request from the host controller 3, the device type information automatically recognized is notified to the controller 3. However, when an error occurs during the tape rewinding operation and the tape cannot be rewound, the MPU 7 reads the information stored in the non-volatile memory 14 in the previous processing by reading the information. It automatically recognizes the device type and notifies the host controller 3 as well.
【0026】また、電源立上げ時でなく、通常の動作中
に、上位のコントローラ3から要求があった場合は、不
揮発メモリ14から情報を読み出して装置タイプを自動
認識すると共に、上位のコントローラへも通知すること
が可能である。If a request is received from the host controller 3 during normal operation, not when the power is turned on, information is read from the nonvolatile memory 14 to automatically recognize the device type, and the host controller 3 sends the information to the host controller. Can also be notified.
【0027】このようにすれば、障害発生等により、装
置タイプの自動認識動作ができなくなった場合でも、不
揮発メモリの情報から装置タイプを認識することが可能
となる。In this way, even when the automatic recognition of the device type becomes impossible due to the occurrence of a failure or the like, the device type can be recognized from the information in the nonvolatile memory.
【0028】従って、常に正確な装置タイプの自動認識
が可能となる。Therefore, it is possible to always automatically recognize the correct device type automatically.
【0029】[0029]
【実施例】以下、本発明の実施例を図面に基づいて説明
する。図2〜図7は、本発明の実施例を示した図であ
り、図2〜7中、図1、図8と同じものは同一符号で示
してある。Embodiments of the present invention will be described below with reference to the drawings. 2 to 7 are views showing an embodiment of the present invention. In FIGS. 2 to 7, the same components as those in FIGS. 1 and 8 are denoted by the same reference numerals.
【0030】また、15はオペレータパネル、16はド
ア、17はカートリッジセット/イジェクト機構、18
は制御プリント板、19はライト/リ−ド回路プリント
板、20はマシンリール、21はテープガイド、22は
ヘッドポジショニング機構、24はカートリッジ(磁気
テープカートリッジ)、25はサーボ回路プリント板、
26はベースフレーム、27はドライブマイクロプログ
ラム制御部、28はライト/リ−ド(W/R)回路、2
9はデッキモータ、30はカートリッジモータ、31は
サーボ回路、14AはEEPROM、32はケーブル、
35はキャリッジ、36はスリット、13Aは発光部、
13Bは受光部を示す。Reference numeral 15 denotes an operator panel, 16 denotes a door, 17 denotes a cartridge set / eject mechanism, 18
Is a control printed board, 19 is a write / read circuit printed board, 20 is a machine reel, 21 is a tape guide, 22 is a head positioning mechanism, 24 is a cartridge (magnetic tape cartridge), 25 is a servo circuit printed board,
26, a base frame; 27, a drive microprogram control unit; 28, a write / read (W / R) circuit;
9 is a deck motor, 30 is a cartridge motor, 31 is a servo circuit, 14A is an EEPROM, 32 is a cable,
35 is a carriage, 36 is a slit, 13A is a light emitting unit,
13B indicates a light receiving unit.
【0031】本実施例は、磁気テープ装置に適用した例
であり、該磁気テープ装置の1例を図2に示す(なお、
図2では、装置の主要構成部品のみを図示してある)。
図2に示したように、磁気テープ装置2には、オペレー
タパネル15、ドア16、カートリッジセット/イジェ
クト機構17、制御プリント板18、ライト/リ−ド回
路プリント板19、マシンリール20、テープガイド2
1、ヘッドポジショニング機構22、リ−ド/ライトヘ
ッド10、カートリッジ(磁気テープカートリッジ)2
4、サーボ回路プリント板25、ベースフレーム26等
が設けてある。This embodiment is an example in which the present invention is applied to a magnetic tape device, and one example of the magnetic tape device is shown in FIG.
In FIG. 2, only the main components of the device are shown).
As shown in FIG. 2, the magnetic tape device 2 includes an operator panel 15, a door 16, a cartridge set / eject mechanism 17, a control printed board 18, a write / read circuit printed board 19, a machine reel 20, a tape guide, and the like. 2
1. Head positioning mechanism 22, read / write head 10, cartridge (magnetic tape cartridge) 2.
4. Servo circuit printed board 25, base frame 26, etc. are provided.
【0032】上記構成の磁気テープ装置の機能ブロック
図を図3に示す。この磁気テープ装置2は、コントロー
ラ3とドライブ部4で構成される。コントローラ3はホ
ストコンピュータ1と接続されていて、該ホストコンピ
ュータ1とのデータの授受、ドライブ部4の制御等を行
う上位のコントローラである。FIG. 3 shows a functional block diagram of the magnetic tape device having the above configuration. The magnetic tape device 2 includes a controller 3 and a drive unit 4. The controller 3 is an upper-level controller connected to the host computer 1 and exchanging data with the host computer 1 and controlling the drive unit 4.
【0033】ドライブ部4は、コントローラ3より送ら
れる制御情報により、記録媒体への記録/再生を行うも
のである。このドライブ部4には、ドライブマイクロプ
ログラム制御部27、サーボ回路31、ライト/リ−ド
回路28、リ−ド/ライトヘッド10、デッキモータ2
9、ステッピングモータ11、カートリッジモータ3
0、センサ13、オペレータパネル15等が設けてあ
る。The drive unit 4 performs recording / reproduction on a recording medium in accordance with control information sent from the controller 3. The drive section 4 includes a drive microprogram control section 27, a servo circuit 31, a write / read circuit 28, a read / write head 10, a deck motor 2
9, stepping motor 11, cartridge motor 3
0, a sensor 13, an operator panel 15, and the like.
【0034】また、ドライブマイクロプログラム制御部
27には、MPU(マイクロプロセッサ)7、プログラ
ムメモリ8、E2 PROM(Electrically Erasable an
d Programmable Read Only Memory : 電気的に消去及び
書き込み可能な読み出し専用メモリ)14A等を設け
る。The drive microprogram controller 27 includes an MPU (microprocessor) 7, a program memory 8, and an E 2 PROM (Electrically Erasable an).
d Programmable Read Only Memory: A read-only memory (electrically erasable and writable memory) 14A is provided.
【0035】上記ドライブマイクロプログラム制御部2
7は、MPU7がプログラムメモリ8内のマイクロプロ
グラムを読み出して、ドライブ部4内のサーボ制御やそ
の他のドライブ制御、あるいはコントローラ3に対する
各種のインターフェイス処理等を行う。The above drive microprogram control unit 2
In 7, the MPU 7 reads a microprogram in the program memory 8 and performs servo control and other drive control in the drive unit 4, various interface processes for the controller 3, and the like.
【0036】例えば、上位のコントローラ3とのインタ
ーフェイス信号の送受信処理、操作パネル15からの指
令を受け、各種のテープハンドリング(オートローディ
ング、アンロード、リセット等)や、テープ走行に関す
る動作を、サーボ回路31に実行させるための装置全体
のシーケンシャル動作、及び書き込み/読取りに関する
制御、ステッピングモータ11の駆動制御等を行う。For example, in response to an interface signal transmission / reception process with the host controller 3, a command from the operation panel 15, various operations related to tape handling (auto-loading, unloading, resetting, etc.) and tape running are performed by a servo circuit. The CPU 31 performs a sequential operation of the entire apparatus to be executed by the apparatus 31, control relating to writing / reading, drive control of the stepping motor 11, and the like.
【0037】サーボ回路31は、ドライブマイクロプロ
グラム制御部27の指示に従い、ステッピングモータ1
1、デッキモータ29、カートリッジモータ30等に対
し、サーボ制御を行って駆動する。The servo circuit 31 is operated by the stepping motor 1
1. Servo control is performed to drive the deck motor 29, the cartridge motor 30, and the like.
【0038】上記磁気テープ装置に設置されているヘッ
ドポジショニング機構22(図2参照)の1例を図4に
示す。ヘッドポジショニング機構22は、ドライブマイ
クロプログラム制御部27からの指令に基づき、サーボ
回路31がステッピングモータ11を駆動することによ
り、リ−ド/ライトヘッド10を、目的のトラックに位
置決めするための機構である。FIG. 4 shows an example of the head positioning mechanism 22 (see FIG. 2) installed in the magnetic tape device. The head positioning mechanism 22 is a mechanism for positioning the read / write head 10 on a target track when the servo circuit 31 drives the stepping motor 11 based on a command from the drive microprogram control unit 27. is there.
【0039】図4に示したように、ヘッドポジショニン
グ機構22には、ステッピングモータ11の回転に応じ
て、図の矢印方向に移動(図の上下方向)するキャリッ
ジ35が設けてあり、このキャリッジ35にリ−ド/ラ
イトヘッド10が固定されている。As shown in FIG. 4, the head positioning mechanism 22 is provided with a carriage 35 which moves in the direction of the arrow in the figure (up and down direction in the figure) in accordance with the rotation of the stepping motor 11. The read / write head 10 is fixed to the head.
【0040】また、キャリッジ35には、しゃへい板1
2が固定されていて、キャリッジ35と一緒に移動す
る。更に、しゃへい板12の近くにはセンサ13が設け
てあり、このセンサでしゃへい板12の設定情報を読み
取るように構成されている。Further, the shielding plate 1 is mounted on the carriage 35.
2 is fixed and moves together with the carriage 35. Further, a sensor 13 is provided near the shielding plate 12, and the sensor 13 is configured to read setting information of the shielding plate 12.
【0041】このしゃへい板12は、装置タイプ設定機
構を構成するものであり、例えばトラック数の違いを設
定する。しゃへい板12には、トラック位置間隔でスリ
ット36が刻まれていて、トラック間を移動する毎に、
センサ13の出力がオン/オフする。そして、ドライブ
マイクロプログラム制御部27のMPU7では、基準ト
ラックからの移動トラック数と、センサ出力信号数を比
較して正常に動作したか否かを判断するようにしてあ
る。The shielding plate 12 constitutes a device type setting mechanism, and sets, for example, a difference in the number of tracks. Slits 36 are formed in the shield plate 12 at track position intervals, and each time the vehicle moves between tracks,
The output of the sensor 13 turns on / off. The MPU 7 of the drive microprogram control unit 27 compares the number of tracks moved from the reference track with the number of sensor output signals to determine whether the operation has been performed normally.
【0042】このヘッドポジショニング機構では、サー
ボ回路31からステッピングモータ11にパルス信号を
送ることにより、1パルス当たり上下いずれかの方向に
所定距離(例えば35ミクロン)だけキャリッジ35を
移動できる。In this head positioning mechanism, by sending a pulse signal from the servo circuit 31 to the stepping motor 11, the carriage 35 can be moved a predetermined distance (for example, 35 microns) in one of the upper and lower directions per pulse.
【0043】実際には、何パルスか送ることにより、リ
−ド/ライトヘッド10を、規定のトラック位置に位置
付けすることができる。上記しゃへい板12とセンサ1
3の1例を図5に示す。図5(A)はしゃへい板12の
側面図、図5(B)はX方向から見た図(10分割スリ
ット)、図5(C)はX方向から見た図(16分割スリ
ット)、図5(D)はセンサを示した図である。In practice, by sending a few pulses, the read / write head 10 can be positioned at a specified track position. The shield plate 12 and the sensor 1
FIG. 5 shows an example of No. 3. 5 (A) is a side view of the shielding plate 12, FIG. 5 (B) is a view as viewed from the X direction (10-division slit), and FIG. 5 (C) is a view as viewed from the X direction (16-division slit). FIG. 5 (D) is a diagram showing a sensor.
【0044】しゃへい板12は、図5に示したように、
スリット36を切った板で構成されており、例えば、2
0トラックと32トラックのヘッドに対応させる場合
は、2通りのスリット(10分割スリット、16分割ス
リット)を用いる。The shielding plate 12 is, as shown in FIG.
It is composed of a plate with a slit 36, for example, 2
In order to correspond to the heads of track 0 and track 32, two types of slits (10-slits and 16-slits) are used.
【0045】各スリット36は、実際のトラックピッチ
と一致させてあり、リ−ド/ライトヘッド10に合わせ
て、いずれか一方のしゃへい板12を装置に固着する。
例えば、20トラック用のリ−ド/ライトヘッド10を
装置に設けた場合には、10分割スリットのしゃへい板
12を装置に取り付け、32トラック用のリ−ド/ライ
トヘッド10を装置に設けた場合には、16分割スリッ
トのしゃへい板12を装置に取り付ける。Each slit 36 matches the actual track pitch, and one of the shield plates 12 is fixed to the apparatus in accordance with the read / write head 10.
For example, when a read / write head 10 for 20 tracks is provided in the apparatus, a shield plate 12 having 10 divided slits is attached to the apparatus, and a read / write head 10 for 32 tracks is provided in the apparatus. In such a case, a shield plate 12 having 16 split slits is attached to the apparatus.
【0046】1例として、10分割スリットの場合、ス
リット間隔が560μmであり、16パルス送ることに
よりリ−ド/ライトヘッド10を560μm移動させら
れる(560μm/35μm=16パルス)。As an example, in the case of a 10-division slit, the slit interval is 560 μm, and the read / write head 10 can be moved 560 μm by sending 16 pulses (560 μm / 35 μm = 16 pulses).
【0047】また、16分割スリットの場合、スリット
間隔が350μmであり、10パルス送ることにより、
リ−ド/ライトヘッド10を350μm移動できる(3
50μm/35μm=10パルス)。In the case of a 16-division slit, the slit interval is 350 μm, and by sending 10 pulses,
The read / write head 10 can be moved by 350 μm (3
50 μm / 35 μm = 10 pulses).
【0048】上記センサ13としては、発光部(例えば
発光ダイオード)13Aと、受光部(例えばフォトトラ
ンジスタ)13Bとで構成された光センサを用いる。こ
のセンサでは、しゃへい板12を挟んでその両側に発光
部13Aと受光部13Bを配置する。As the sensor 13, an optical sensor composed of a light emitting section (for example, a light emitting diode) 13A and a light receiving section (for example, a phototransistor) 13B is used. In this sensor, a light emitting unit 13A and a light receiving unit 13B are arranged on both sides of a shielding plate 12 therebetween.
【0049】そして、発光部13Aからの光がスリット
36を通過し、受光部13Bで受光した場合と、発光部
13Aからの光がしゃへい板12で遮られ、受光部13
Bで受光できなかった場合で、受光部13Bの出力信号
が異なるので、この出力信号から装置タイプを検出す
る。When the light from the light emitting section 13A passes through the slit 36 and is received by the light receiving section 13B, the light from the light emitting section 13A is blocked by the shielding plate 12 and
Since the output signal of the light receiving unit 13B is different when the light cannot be received by B, the device type is detected from the output signal.
【0050】なお、受光部13Bの出力信号は、ドライ
ブマイクロプログラム制御部27内のMPU7へ入力さ
れ、このMPU7が検出し、装置タイプ(ヘッドの種
類)の自動認識を行う。The output signal of the light receiving section 13B is input to the MPU 7 in the drive microprogram control section 27, and the MPU 7 detects the signal and performs automatic recognition of the device type (head type).
【0051】また、自動認識した装置タイプの情報は、
EEPROM14Aに格納するが、例えば、装置タイプ
が2種類の場合には、1ビットの識別情報(例えば
「0」が20トラックヘッドで、「1」が32トラック
ヘッド)を格納するだけでもよい。The information of the device type automatically recognized is
The information is stored in the EEPROM 14A. For example, in the case of two types of devices, only 1-bit identification information (for example, “0” is 20 track heads and “1” is 32 track heads) may be stored.
【0052】以下、図6、図7の処理フローチャートに
基づいて、本実施例の処理(MPU7の処理)を説明す
る。図6、図7の各処理番号はカッコ内に示す。この例
では、電源投入時の装置立上げ処理時に、上位のコント
ローラ3から、装置タイプの認識に関して、要求がある
ものとする。従って、以下の処理では、電源立上げ時の
処理として説明する。The processing of this embodiment (processing of the MPU 7) will be described below with reference to the processing flowcharts of FIGS. 6 and 7 are shown in parentheses. In this example, it is assumed that there is a request from the host controller 3 regarding the recognition of the device type during the device start-up process when the power is turned on. Therefore, the following processing will be described as the processing at power-on.
【0053】磁気テープ装置2の電源が投入されると、
駆動回路、その他の回路のイニシャライズ(初期化)を
行う(S1)と共に、回路系、機構系のイニシャライズ
を行う(S2)。When the power of the magnetic tape device 2 is turned on,
The drive circuit and other circuits are initialized (initialized) (S1), and the circuit system and the mechanical system are initialized (S2).
【0054】この処理が終了すると、装置内にテープが
巻かれているか否かを判断し(S3)、巻かれていれ
ば、巻き戻し動作を実行する(S4)。その結果、巻き
が正常に終了したら(S5)、ヘッドシーク動作を行
い、装置タイプ(ヘッド型式)の自動認識を行う(S
6)。また、テープが巻かれていなかった場合(S3)
にも同様にして、装置タイプの自動認識を行う。When this process is completed, it is determined whether or not a tape is wound in the apparatus (S3). If the tape is wound, a rewind operation is executed (S4). As a result, when the winding is completed normally (S5), the head seek operation is performed, and the device type (head type) is automatically recognized (S5).
6). When the tape is not wound (S3)
Similarly, automatic recognition of the device type is performed.
【0055】その後、EEPROM14A(不揮発メモ
リ)のデータを読み取り、すでに格納されている情報
(前の処理で認識した情報)と比較し、相違があれば、
EEPROM14Aの内容を書き換える。しかし、相違
がなければそのままとする(S7)。Thereafter, the data in the EEPROM 14A (non-volatile memory) is read and compared with the information already stored (the information recognized in the previous processing).
Rewrite the contents of the EEPROM 14A. However, if there is no difference, it is left as it is (S7).
【0056】そして、自認識した装置タイプ情報を含め
たステータス情報を、上位のコントローラ3に送出する
(S9)。また、上記の処理で、テープが正常に巻き戻
せなかった場合(正常終了できなかった場合)には(S
5)、EEPROM14Aからデータを読み出し、装置
タイプの自動認識する(S8)。Then, the status information including the self-recognized device type information is transmitted to the upper controller 3 (S9). Also, if the tape could not be rewound normally in the above process (when the tape could not be terminated normally), (S
5) Read data from the EEPROM 14A and automatically recognize the device type (S8).
【0057】そして、コントローラに、装置タイプを含
めたステータス情報を送る(S9)。なお、上記のよう
に、テープが正常に巻き戻せなかった場合には、ヘッド
シークを行うと、テープ上のデータ部分に傷を付けるこ
ともあり、ヘッドシークは行わない。Then, status information including the device type is sent to the controller (S9). As described above, when the tape cannot be rewound normally, performing the head seek may damage the data portion on the tape, and the head seek is not performed.
【0058】従って、センサ13からの検出信号が得ら
れず、ヘッドシークによる装置タイプの自動認識はでき
ないため、上記のように処理する。上記のヘッドシーク
動作による装置タイプの自動認識処理(S6の処理)
は、次のとおりである。Therefore, since the detection signal from the sensor 13 cannot be obtained and the device type cannot be automatically recognized by head seek, the processing is performed as described above. Automatic device type recognition processing by the above-described head seek operation (processing of S6)
Is as follows.
【0059】この処理はステッピングモータ11を回転
させ、この回転量(パルス数)により、スリット36間
の距離を認識し、装置タイプの切り分けを行うものであ
る。先ず、キャリッジ35の位置を、基準位置に移動さ
せるため、ステッピングモータ11を回転させ、キャリ
ッジ35を最上部まで移動する(S11)。In this process, the stepping motor 11 is rotated, the distance between the slits 36 is recognized based on the amount of rotation (the number of pulses), and the apparatus type is determined. First, in order to move the position of the carriage 35 to the reference position, the stepping motor 11 is rotated to move the carriage 35 to the uppermost position (S11).
【0060】この場合、スリット信号が出なくなるまで
移動させる。次に、キャリッジ35を下げる方向にステ
ッピングモータ11を回転させ(S12)、最初のスリ
ット36の検出位置まで移動させる(S13)。In this case, the movement is performed until no slit signal is output. Next, the stepping motor 11 is rotated in the direction of lowering the carriage 35 (S12), and is moved to the first detection position of the slit 36 (S13).
【0061】その後、更にキャリッジ35を下げる方向
にステッピングモータ11を回転させ(S14)、再び
スリットを検出するまで移動させる(S15)。そし
て、初めのスリット検出から、次のスリット検出までの
ステッピングモータ11の回転量(パルス数)をチェッ
クし、装置タイプの切り分けを行う(S16)。Thereafter, the stepping motor 11 is further rotated in a direction to lower the carriage 35 (S14), and is moved until the slit is detected again (S15). Then, the rotation amount (number of pulses) of the stepping motor 11 from the first slit detection to the next slit detection is checked, and the device type is determined (S16).
【0062】即ち、上記2種類のスリットによれば、1
0分割スリットと16分割スリットの場合があるので、
これを検出することで、装置タイプの自動認識ができ
る。なお、上記処理は、装置の電源投入時に行う処理で
あるか、例えば装置の稼働中に、上位のコントローラ3
から、装置タイプに関する要求があった場合には、MP
U7は、不揮発メモリ14Aから装置タイプ情報を読み
出して認識し、上位のコントローラ3へ報告するように
してもよい。That is, according to the above two types of slits, 1
Since there are cases of 0 division slit and 16 division slit,
By detecting this, the device type can be automatically recognized. Note that the above processing is performed when the power of the apparatus is turned on, or for example, during operation of the apparatus,
If there is a request for the device type from
The U7 may read out the device type information from the non-volatile memory 14A, recognize it, and report it to the upper controller 3.
【0063】このようにすれば、ヘッドシーク等の処理
を行わずに済む。(他の実施例)以上実施例について説
明したが、本発明は次のようにしても実施可能である。This eliminates the need for head seek and other processing. (Other Embodiments) Although the embodiments have been described above, the present invention can be implemented as follows.
【0064】(1) 磁気テープ装置に限らず、他の同様な
装置にも適用可能である。 (2) 磁気テープ装置は、上記実施例と異なる構成の装置
にも同様に適用可能である。(1) The present invention is applicable not only to the magnetic tape device but also to other similar devices. (2) The magnetic tape device can be similarly applied to a device having a configuration different from that of the above embodiment.
【0065】(3) 装置タイプとしては、ヘッドの違いだ
けでなく、他の機構部の違いであってもよい。(3) As the device type, not only the difference between the heads but also the difference between other mechanisms may be used.
【0066】[0066]
【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 (1) 万一、障害等により、装置タイプの自動認識処理が
できない場合でも、不揮発メモリの情報から装置タイプ
の自動認識ができる。As described above, the present invention has the following effects. (1) Even if the device type cannot be automatically recognized due to a failure or the like, the device type can be automatically recognized from the information in the nonvolatile memory.
【0067】(2) 常に正確な装置タイプの自動認識が可
能であり、上位のコントローラに対しても、正しい情報
を用いて報告できる。従って、装置の信頼性も向上す
る。(2) It is possible to always automatically recognize the correct device type automatically, and to report to the upper-level controller using correct information. Therefore, the reliability of the device is also improved.
【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の実施例における磁気テープ装置の構成
図である。FIG. 2 is a configuration diagram of a magnetic tape device according to an embodiment of the present invention.
【図3】磁気テープ装置の機能ブロック図である。FIG. 3 is a functional block diagram of the magnetic tape device.
【図4】ヘッドポジショニング機構を示した図である。FIG. 4 is a diagram showing a head positioning mechanism.
【図5】しゃへい板とセンサの説明図である。FIG. 5 is an explanatory diagram of a shielding plate and a sensor.
【図6】実施例の処理フローチャート(パワーオンから
装置タイプ認識まで)である。FIG. 6 is a processing flowchart (from power-on to device type recognition) of the embodiment.
【図7】装置タイプ認識処理フローチャート(図6の処
理)である。FIG. 7 is a flowchart of a device type recognition process (the process of FIG. 6).
【図8】従来の磁気テープ装置の説明図である。FIG. 8 is an explanatory diagram of a conventional magnetic tape device.
1 ホストコンピュータ 2 磁気テープ装置 3 コントローラ 4 ドライブ部 5 ドライブ制御部 6 機構部(メカ部) 7 MPU(マイクロプロセッサ) 8 プログラムメモリ 10 リ−ド/ライトヘッド 11 ステッピングモータ 12 しゃへい板(装置タイプ設定部) 13 センサ 14 不揮発メモリ REFERENCE SIGNS LIST 1 host computer 2 magnetic tape device 3 controller 4 drive unit 5 drive control unit 6 mechanical unit (mechanical unit) 7 MPU (microprocessor) 8 program memory 10 read / write head 11 stepping motor 12 shielding plate (device type setting unit) ) 13 Sensor 14 Non-volatile memory
Claims (3)
(5)とを備え、 機構部(6)には、該機構部の一部により決まる装置タ
イプ情報を設定した装置タイプ設定機構(12)を設け
ると共に、 制御部(5)には、マイクロプログラムにより各種の制
御を行うプロセッサ(7)を設け、 該プロセッサ(7)の制御により、装置タイプ設定機構
(12)の設定情報を検出して、自装置の装置タイプを
自動認識する電子計算機の周辺装置において、 上記制御部(5)に、上記プロセッサ(7)により、デ
ータの書き込み及び読み出しが可能な不揮発メモリ(1
4)を設け、 該不揮発メモリ(14)に、上記プロセッサ(7)の制
御により自動認識した装置タイプ情報を格納すると共
に、 上記プロセッサ(7)は、自装置の装置タイプを正常に
自動認識した際、新しく認識した装置タイプ情報で、上
記不揮発メモリ(14)の装置タイプ情報を更新してお
き、装置タイプの自動認識ができない場合は、上記不揮
発メモリ(14)の情報を読み出して、自装置の装置タ
イプを自動認識する機能を備えている ことを特徴とした
周辺装置。An apparatus comprising at least a mechanism (6) and a controller (5) for controlling the mechanism, wherein the mechanism (6) has a device module determined by a part of the mechanism .
The control unit (5) is provided with a processor (7) for performing various controls by a microprogram, and the control unit (5) controls the device type by controlling the processor (7). In a peripheral device of a computer which detects setting information of a setting mechanism (12) and automatically recognizes the device type of the device, data writing and reading are performed by the processor (7) in the control unit (5). Possible nonvolatile memory (1
4) is provided, in said non volatile memory (14), storing the device type information automatically recognized by the control of the processor (7) co
In addition, the processor (7) normally sets the device type of its own device.
When automatically recognized, the newly recognized device type information
Update the device type information in the non-volatile memory (14).
If the device type cannot be automatically recognized,
Reads the information from the transmission memory (14) and reads the device data of the own device.
A peripheral device characterized by having a function of automatically recognizing an IP .
タイプを正常に自動認識した際、 新しく認識した装置タイプ情報で、上記不揮発メモリ
(14)の装置タイプ情報を更新しておき、 障害等の発生で、装置タイプの自動認識処理ができない
場合には、上記不揮発メモリ(14)の情報を読み出し
て、自装置の装置タイプを自動認識することを特徴とし
た請求項1記載の周辺装置における装置タイプ自動認識
方法。2. When the processor (7) automatically and automatically recognizes its own device type, the processor (7) updates the device type information in the non-volatile memory (14) with the newly recognized device type information. 2. The peripheral device according to claim 1, wherein when the automatic recognition of the device type cannot be performed due to the occurrence of the above, information of the nonvolatile memory is read out and the device type of the own device is automatically recognized. Device type automatic recognition method.
(2)の機構部であり、 上記装置タイプが、磁気テープ記録媒体に対し、データ
のリ−ド/ライトを行うヘッド(10)のタイプ(型
式)であることを特徴とした請求項1記載の周辺装置又
は請求項2記載の周辺装置における装置タイプ自動認識
方法。3. A head (10) for reading / writing data from / to a magnetic tape recording medium, wherein the mechanism (6) is a mechanism of a magnetic tape device (2). 3. The method for automatically recognizing a device type in the peripheral device according to claim 1 or the peripheral device according to claim 2, wherein
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4118793A JP2786370B2 (en) | 1992-05-12 | 1992-05-12 | Peripheral device and its device type automatic recognition method |
| US08/060,412 US5511183A (en) | 1992-05-12 | 1993-05-11 | Non-volatile memory controlling apparatus and applications of the same to electronic computer peripheral equipments |
| US08/460,211 US5767647A (en) | 1992-05-12 | 1995-06-02 | Non-volatile memory controlling apparatus and applications of the same to electronic computer peripheral equipment |
| US08/854,501 US5982120A (en) | 1992-05-12 | 1997-05-12 | Library apparatus having a motor driving control including abnormal motor and excess current detecting circuits |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4118793A JP2786370B2 (en) | 1992-05-12 | 1992-05-12 | Peripheral device and its device type automatic recognition method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05313827A JPH05313827A (en) | 1993-11-26 |
| JP2786370B2 true JP2786370B2 (en) | 1998-08-13 |
Family
ID=14745248
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4118793A Expired - Fee Related JP2786370B2 (en) | 1992-05-12 | 1992-05-12 | Peripheral device and its device type automatic recognition method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2786370B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0424853A (en) * | 1990-05-21 | 1992-01-28 | Nippon Telegr & Teleph Corp <Ntt> | Transmission mode for set information |
-
1992
- 1992-05-12 JP JP4118793A patent/JP2786370B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05313827A (en) | 1993-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7215497B2 (en) | Adjacent track data guarantee processing method and disk device | |
| US5982120A (en) | Library apparatus having a motor driving control including abnormal motor and excess current detecting circuits | |
| KR100325926B1 (en) | Magnetic disk apparatus | |
| JPH09179692A (en) | Disk device having security function and password management method in the same device | |
| US5682272A (en) | Disk drive and method for retrying a read operation upon detecting a read error | |
| JP4475618B2 (en) | Device start-up control method, device self-diagnosis test method, control board, equipment, inspection system | |
| US20070041113A1 (en) | Write mode servo scan diagnostic for magnetic tape data storage cartridge | |
| US10818319B1 (en) | Read error recovery in a tape drive | |
| JP2786370B2 (en) | Peripheral device and its device type automatic recognition method | |
| US5347407A (en) | Method and system for removing particles without requiring a separate cleaning mechanism from a tape in a tape drive system | |
| JPS63112859A (en) | Positioning system | |
| US5357384A (en) | Rotating disk data storage apparatus capable of preventing head travel when the disk is not loaded | |
| US4860131A (en) | Method for recorrecting head position in a disk drive | |
| EP1592004A2 (en) | Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position | |
| US6888692B2 (en) | Method and apparatus for implementing intelligent spin-up for a disk drive | |
| EP1585126B1 (en) | Data read retry with read timing adjustment for eccentricity of a disc in a data storage device | |
| JP3492141B2 (en) | Library device | |
| US20070115579A1 (en) | Method to test a tape drive | |
| JPS63112858A (en) | Positioning system | |
| KR0156984B1 (en) | Detecting device and method of head unlatching in magnetic disk driving device | |
| JP2618437B2 (en) | Information recording / reproducing device | |
| JPH09161415A (en) | Control method for magnetic tape device | |
| JP3334696B2 (en) | Magnetic tape recorder | |
| JPH04310671A (en) | Disk controller | |
| JPH0746405B2 (en) | Disk drive device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19980512 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080529 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090529 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |