JPS6155134B2 - - Google Patents

Info

Publication number
JPS6155134B2
JPS6155134B2 JP54020563A JP2056379A JPS6155134B2 JP S6155134 B2 JPS6155134 B2 JP S6155134B2 JP 54020563 A JP54020563 A JP 54020563A JP 2056379 A JP2056379 A JP 2056379A JP S6155134 B2 JPS6155134 B2 JP S6155134B2
Authority
JP
Japan
Prior art keywords
command
rewind
bot
circuit
signal
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
Application number
JP54020563A
Other languages
Japanese (ja)
Other versions
JPS55115125A (en
Inventor
Katsuji Tsunose
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2056379A priority Critical patent/JPS55115125A/en
Publication of JPS55115125A publication Critical patent/JPS55115125A/en
Publication of JPS6155134B2 publication Critical patent/JPS6155134B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 電子計算機システムを構成する装置間(例え
ば、チヤネル装置と各種制御装置又は制御装置と
駆動装置間)に於ける情報及び制御の伝達はいわ
ゆるコマンド(命令)によつて行なわれるが、本
発明はこのコマンドの実行方式に関するものであ
る。
[Detailed Description of the Invention] Information and control are transmitted between devices constituting an electronic computer system (for example, between a channel device and various control devices, or between a control device and a drive device) using so-called commands. However, the present invention relates to the method of executing this command.

コマンドは一般に次の2種類に大別される。一
つは、そのコマンドの実行によつてデータの転送
が伴うものである。例えば磁気テープ装置の磁気
テープにデータを書き込んだり、磁気テープから
データを読み取る場合のコマンドがこれに相当す
る。便宜上、この種のコマンドをバーストコマン
ドと称している。もう一つは、そのコマンドによ
つて特定の制御指示を与えるものである。例えば
磁気テープ装置に於けるリワインドコマンドやア
ンロードコマンドがこれに相当する。これらのコ
マンドは情報転送は伴なわず、単に制御動作のき
つかけを作るコマンドであるので、一般に制御コ
マンドと称する。
Commands are generally divided into the following two types. One is that the execution of the command involves the transfer of data. For example, this corresponds to a command for writing data to or reading data from a magnetic tape of a magnetic tape device. For convenience, this type of command is referred to as a burst command. The other is to give specific control instructions through the command. For example, a rewind command or an unload command in a magnetic tape device corresponds to this command. These commands are generally referred to as control commands because they do not involve any information transfer and are simply commands for triggering control operations.

本発明は、上記制御コマンドの実行方式に関す
る。
The present invention relates to a method for executing the above-mentioned control commands.

従来技術について具体例によつて以下に説明す
る。一例として、制御コマンドの一種で磁気テー
プ装置に使用されているリワインドコマンドの実
行方式を第1図のタイムチヤートによつて説明す
る。周知のように、リワインドコマンドは磁気テ
ープをBOT(Begining of Tape)マークまで巻
き戻すコマンドである。第1図において、1はチ
ヤネル装置から発行されて磁気テープ装置内で認
識されたリワインドコマンド信号、2は磁気テー
プにリワインドをかけるリワインド信号、3はリ
ワインド中磁気テープに貼付されたBOTマーカ
ーの検出によつて出されるBOT検出信号、4は
リワインドが終了したことを上述に知らせる為の
リワインド終了報告信号である。第1図からわか
るように、リワインドコマンドではBOT検出信
号を得ることによつてテープ始端までテープが巻
き戻されたと判断し、コマンドの終了を上位に知
らせていた。すなわち、従来はBOT検出が常に
正常に行なわれることを前提としており、BOT
の誤検出が起るとコマンドの実行が正常に終了し
なくても終了報告がなされてしまう。
The prior art will be explained below using a specific example. As an example, the execution method of a rewind command, which is a type of control command and is used in a magnetic tape device, will be explained with reference to a time chart shown in FIG. As is well known, the rewind command is a command for rewinding the magnetic tape to the BOT (Beginning of Tape) mark. In Figure 1, 1 is a rewind command signal issued from a channel device and recognized within the magnetic tape device, 2 is a rewind signal that rewinds the magnetic tape, and 3 is detection of a BOT marker affixed to the magnetic tape during rewinding. The BOT detection signal 4 issued by is a rewind completion report signal for notifying the above-mentioned that the rewind has ended. As can be seen from FIG. 1, in the rewind command, by obtaining a BOT detection signal, it is determined that the tape has been rewound to the beginning of the tape, and the end of the command is notified to the higher level. In other words, conventionally it was assumed that BOT detection was always performed normally;
If a false detection occurs, a completion report will be issued even if the command execution does not complete normally.

通常、BOTはテープ上に貼られたBOT反射マ
ーカーを光電変換等で検出するものであるから、
テープ上に塵芥等が付着しているとこれをBOT
マーカーと誤つて検出することがあり、また検出
回路のノイズ等によつても誤つてBOT検出信号
が出されることがある。
Normally, BOT detects BOT reflective markers pasted on tape using photoelectric conversion, etc.
BOT if there is dust etc. on the tape.
It may be mistakenly detected as a marker, and a BOT detection signal may also be erroneously output due to noise in the detection circuit.

第2図は上に述べた如き原因によつて誤つて
BOT検出信号が出された場合のタイムチヤート
である。図のように、正規のBOT検出信号の前
にBOT誤検出信号3′が出ると、リワインドが中
断されリワインド終了報告がなされてしまう。
かゝるエラーが起ると、次に書き込みコマンドが
来た場合には正規のBOTと誤検出された位置の
間のテープ上の記録が余計なものと残つてしまつ
たり、また読み出しコマンドの場合にはBOTか
ら誤検出点までのデータが読み出されないという
ような不都合が発生する。
Figure 2 is incorrect due to the reasons mentioned above.
This is a time chart when a BOT detection signal is issued. As shown in the figure, if the BOT erroneous detection signal 3' is output before the regular BOT detection signal, rewinding is interrupted and a rewind completion report is made.
If such an error occurs, the next time a write command arrives, there will be an unnecessary record on the tape between the legitimate BOT and the erroneously detected position, and the read command will In some cases, there may be problems such as data not being read from the BOT to the erroneous detection point.

本発の目的は、叙上の如き不都合を防止し、発
行されるコマンドを確実に実行するための新規な
コマンド実行方式を提供することにある。
The purpose of this invention is to provide a new command execution method that prevents the above-mentioned inconveniences and reliably executes issued commands.

しかして本発明の要旨は、上位装置から発行さ
れるコマンドを受けて、該制御コマンドで指定さ
れた動作を実行する装置において、ある制御コマ
ンドの発行後にそれと同一の制御コマンドを当該
装置自体で1回以上発行させ、当該装置で当該コ
マンドによつて指定された動作を完遂するために
必要な処理を実質的に2回以上実行させることを
特徴とするコマンド実行方式にある。
However, the gist of the present invention is that in a device that receives a command issued from a host device and executes an operation specified by the control command, after issuing a certain control command, the device itself issues the same control command. The command execution method is characterized in that the command is issued more than once, and the process required for completing the operation specified by the command is executed in the device twice or more.

以下、磁気テープ装置におけるリワインドコマ
ンドに関連して本発明を具体的に説明する。
The present invention will be specifically described below in connection with a rewind command in a magnetic tape device.

第3図は本発明を実施する磁気テープ装置の要
部を示すブロツク図で、11はコマンド検出回
路、12はリワインド指示回路、13はBOT検
出回路、14は停止位置調整回路、15はコマン
ド再発行チエツク回路、16は終了割込発行回路
である。
FIG. 3 is a block diagram showing the main parts of a magnetic tape device embodying the present invention, in which 11 is a command detection circuit, 12 is a rewind instruction circuit, 13 is a BOT detection circuit, 14 is a stop position adjustment circuit, and 15 is a command rewind instruction circuit. An issue check circuit 16 is a termination interrupt issuing circuit.

リワインドコマンドが発行されると、コマンド
検出回路11がこれを検出してリワインド指示信
号を出力する。これを受けてリワインド指示回路
12からリワインド信号が出され、したがつて図
示しないテープ駆動回路がテープのリワインドを
開始させる。その後、図示しないBOT検出器が
BOTマーカー(若しくはテープに付着した塵芥
等)を検出すると、BOT検出回路13からBOT
検出信号が出される(BOT検出回路内のノイズ
による誤信号もあり得る)。BOT検出信号が発生
すると、停止位置調整回路14からテープ駆動回
路に信号が送られ、これによりテープは逆方向に
送られ所定距離だけ戻される。
When a rewind command is issued, the command detection circuit 11 detects it and outputs a rewind instruction signal. In response to this, a rewind signal is issued from the rewind instruction circuit 12, and the tape drive circuit (not shown) starts rewinding the tape. After that, the BOT detector (not shown)
When a BOT marker (or dust etc. attached to the tape) is detected, the BOT detection circuit 13 sends a BOT
A detection signal is issued (an erroneous signal may be caused by noise in the BOT detection circuit). When the BOT detection signal is generated, a signal is sent from the stop position adjustment circuit 14 to the tape drive circuit, whereby the tape is sent in the opposite direction and returned by a predetermined distance.

一方、コマンド再発行チエツク回路15は
BOT検出信号の発生回数をカウントし、1回目
のときはリワインド指示回路12に対してリワイ
ンド指示信号を発生し、2回目であればリワイン
ド指示信号を出さずに終了割込発行回路16に対
して終了割込指示信号を出す。
On the other hand, the command reissue check circuit 15
The number of occurrences of the BOT detection signal is counted, and if it is the first time, a rewind instruction signal is generated to the rewind instruction circuit 12, and if it is the second time, the rewind instruction signal is not issued and is sent to the end interrupt issuing circuit 16. Issues end interrupt instruction signal.

今の場合は1回目のBOT検出信号であるか
ら、コマンド再発行チエツク回路15からリワイ
ンド指示回路12に対してリワインド指示信号が
与えられる。したがつて、上位装置に対してリワ
インドコマンドの再発行を要求することなくテー
プ駆動回路へリワインド信号が再度与えられ、テ
ープのリワインドが再開される。その後、BOT
検出回路13から2回目のBOT検出信号が出さ
れると、これを受けてコマンド再発行チエツク回
路15から終了割込発行回路16に対して終了割
込指示信号が出され、かくして該回路16から上
位装置に対してリワインド終了報告信号が発行さ
れリワインドコマンドは終了する。
Since this is the first BOT detection signal, the command reissue check circuit 15 provides the rewind instruction signal to the rewind instruction circuit 12. Therefore, the rewind signal is given again to the tape drive circuit, and tape rewinding is restarted without requesting the host device to reissue the rewind command. Then BOT
When the second BOT detection signal is output from the detection circuit 13, in response to this, the command reissue check circuit 15 outputs a termination interrupt instruction signal to the termination interrupt issuing circuit 16. A rewind completion report signal is issued to the device, and the rewind command ends.

以上の動作説明を容易にするために第4図にタ
イムチヤートを示す。第4図において、信号1〜
4は第1図および第2図における同一符号の信号
と同じものであり、5はコマンド検出回路11ま
たはコマンド再発行チエツク回路15から出され
るリワインド指示信号である。
In order to facilitate the explanation of the above operation, a time chart is shown in FIG. In Fig. 4, signals 1 to
4 is the same signal as the signal with the same symbol in FIGS. 1 and 2, and 5 is a rewind instruction signal output from the command detection circuit 11 or the command reissue check circuit 15.

しかして、1回目のBOT検出信号がテープに
付着した塵芥や回路ノイズ等に起因する誤検出信
号である場合、その後の再リワインド動作ではこ
れらの誤検出原因は多くの場合解消する。したが
つて2回目のBOT検出信号は正規のBOTマーカ
ーの検出によつて発生することになる。かくし
て、テープをBOT位置に確実に位置付けでき
る。
Therefore, if the first BOT detection signal is an erroneous detection signal caused by dust attached to the tape, circuit noise, etc., the causes of these erroneous detections are often eliminated by the subsequent rewind operation. Therefore, the second BOT detection signal is generated by the detection of the regular BOT marker. In this way, the tape can be reliably positioned at the BOT position.

上の実施例は磁気テープ装置のリワインドコマ
ンドに関するものであるが、これ以外の制御コマ
ンド例えばアンロードコマンドやデータセキユリ
テイ・イレーズ・コマンド等についても本発明を
同様に適用できる。また磁気テープ装置に限ら
ず、制御コマンドの再発行を行つても影響のない
他の装置にも本発明を適用できることは勿論でき
る。なお上例では制御コマンドを1回だけ再発行
しているが、2回以上再発行してもよいことは云
うまでもない。
Although the above embodiment relates to a rewind command for a magnetic tape device, the present invention can be similarly applied to other control commands such as an unload command and a data security erase command. Furthermore, the present invention is of course applicable not only to magnetic tape devices but also to other devices that will not be affected even if a control command is reissued. Note that in the above example, the control command is reissued only once, but it goes without saying that it may be reissued two or more times.

以上に述べたことから明らかなように、本発明
によれば制御コマンドを確実に実行でき、電子計
算機システムや制御システムの信頼度の向上を達
成できる。また、2回目からの制御コマンドは、
該コマンドを実行する装置自体で発行するため、
該コマンドの再発行を上位装置に要求する必要が
なく、従つて処理の迅速化がもたらされるとゝも
に、上位装置はコマンド再発行要求に対処する構
成をとる必要がないため機能の簡素化がもたらさ
れる。
As is clear from the above description, according to the present invention, control commands can be reliably executed and reliability of electronic computer systems and control systems can be improved. Also, the control command from the second time is
Since the command is issued by the device itself that executes it,
There is no need to request the higher-level device to reissue the command, which speeds up processing, and simplifies functionality because the higher-level device does not need to be configured to handle command reissue requests. is brought about.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来方式によるリワインドコマンドの
正常な実行動作を説明するためのタイムチヤー
ト、第2図は従来方式によるリワインドコマンド
の誤りを生じた実行動作を説明するためのタイム
チヤート、第3図は本発明の一実施例を示すブロ
ツク図、第4図は同上実施例の動作説明用タイム
チヤートである。 11……コマンド検出回路、12……リワイン
ド指示回路、13……BOT検出回路、14……
停止位置調整回路、15……コマンド再発行チエ
ツク回路、16……終了割込発行回路。
Figure 1 is a time chart for explaining the normal execution operation of the rewind command according to the conventional method, Figure 2 is a time chart for explaining the execution operation that caused an error in the rewind command according to the conventional method, and Figure 3 is FIG. 4 is a block diagram showing one embodiment of the present invention, and is a time chart for explaining the operation of the same embodiment. 11...Command detection circuit, 12...Rewind instruction circuit, 13...BOT detection circuit, 14...
Stop position adjustment circuit, 15...command reissue check circuit, 16...end interrupt issuing circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 データ転送以外の特定の動作を指示するため
上位装置から発行されるコマンド(以下、制御コ
マンドという)を受けて、該制御コマンドで指定
された動作を実行する装置において、前記上位装
置が発行する制御コマンドで指定された動作を実
行すると、当該装置自体で前記制御コマンドと同
一の制御コマンドを再度発行し、当該装置で前記
制御コマンドによつて指定された動作を完遂する
ために必要な処理を実質的に2回以上実行せしめ
ることを特徴とするコマンド実行方式。
1. In a device that receives a command (hereinafter referred to as a control command) issued from a higher-level device to instruct a specific operation other than data transfer, and executes the operation specified by the control command, the higher-level device issues a command. When the action specified by the control command is executed, the device itself issues the same control command again, and the device performs the necessary processing to complete the action specified by the control command. A command execution method that is characterized in that it is essentially executed more than once.
JP2056379A 1979-02-23 1979-02-23 Command execution system Granted JPS55115125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2056379A JPS55115125A (en) 1979-02-23 1979-02-23 Command execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2056379A JPS55115125A (en) 1979-02-23 1979-02-23 Command execution system

Publications (2)

Publication Number Publication Date
JPS55115125A JPS55115125A (en) 1980-09-04
JPS6155134B2 true JPS6155134B2 (en) 1986-11-26

Family

ID=12030630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2056379A Granted JPS55115125A (en) 1979-02-23 1979-02-23 Command execution system

Country Status (1)

Country Link
JP (1) JPS55115125A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5074905A (en) * 1973-11-02 1975-06-19
JPS5222451A (en) * 1975-08-13 1977-02-19 Toshiba Corp Method of diagnosing signals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5074905A (en) * 1973-11-02 1975-06-19
JPS5222451A (en) * 1975-08-13 1977-02-19 Toshiba Corp Method of diagnosing signals

Also Published As

Publication number Publication date
JPS55115125A (en) 1980-09-04

Similar Documents

Publication Publication Date Title
US4081844A (en) Interleaved synch and beginning of data indicators
EP0268745B1 (en) Tape positioning using reverse boundary capture: tape drive system and method
CA1284221C (en) Tape drive system with tape position capture circuitry
US3654618A (en) Magnetic tape unit control system
US3771125A (en) Error correcting system of a magnetic tape unit
US3729713A (en) Data processing peripheral subsystems
JPS6155134B2 (en)
US7167332B2 (en) Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position
JPH0125132B2 (en)
JPH0695366B2 (en) Repositioning device for streaming magnetic tape device
JPS59871B2 (en) Diagnosis method of magnetic tape device
JPS5836404B2 (en) Magnetic tape reading control method
JPS5818684B2 (en) Erroneous writing prevention method for magnetic tape control device
JPS5848254A (en) Magnetic tape controller
JPS6236291B2 (en)
JPS5951044B2 (en) Magnetic tape control method
JPS6243259B2 (en)
JP2623145B2 (en) Rotating head type magnetic recording / reproducing device
JPS5873009A (en) Magnetic tape controlling system
JPS6329305B2 (en)
JPH07281836A (en) Data transfer method
JPS5847057B2 (en) magnetic disk controller
JP2565529Y2 (en) Magnetic tape unit
JPH02198051A (en) Magnetic tape device
JP3334682B2 (en) Method and apparatus for detecting gap between blocks in magnetic tape device