JPH04209057A - Chain command operation check system in data transfer request processor - Google Patents
Chain command operation check system in data transfer request processorInfo
- Publication number
- JPH04209057A JPH04209057A JP2340997A JP34099790A JPH04209057A JP H04209057 A JPH04209057 A JP H04209057A JP 2340997 A JP2340997 A JP 2340997A JP 34099790 A JP34099790 A JP 34099790A JP H04209057 A JPH04209057 A JP H04209057A
- Authority
- JP
- Japan
- Prior art keywords
- data
- command
- data channel
- operation check
- channel device
- 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.)
- Granted
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[目 次]
概要
産業上の利用分野
従来の技術(第4〜8図)
発明が解決しようとする課題
課題を解決するための手段(第1図)
作 用(第1図)
実施例(第2,3図)
発明の効果
[概 要]
データ転送要求処理装置におけるチェインコマンド動作
をチェックするための方式に関し、データチャネル装置
及びデータ入出力装置の動作を通信データがない場合に
も迅速にチェックすることを目的とし、
中央制御装置、送信データバッファを有する記憶装置、
中央制御装置からの起動命令によりチェインコマンド動
作を開始するデータチャネル装置。[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figures 4 to 8) Means for solving the problem to be solved by the invention (Figure 1) Effect (Figure 1) Figure 1) Embodiment (Figures 2 and 3) Effects of the invention [Summary] Regarding a method for checking chain command operation in a data transfer request processing device, the operation of a data channel device and a data input/output device is checked based on communication data. A central control unit, a storage device with a transmission data buffer,
A data channel device that starts chain command operations in response to a startup command from a central controller.
チェインコマンドで動作するデータ入出力装置をそなえ
、記憶装置に、チェインコマンドの動作をチェックする
動作チェックエリアを設け、チェインコマンド内に動作
チェックエリアをリセットするリセットコマンドを入れ
るとともに、中央制御装置からの信号によって所要時間
ごとに動作チェックエリアをセットすることにより、所
定時間経過前に、動作チェックエリアがリセットされる
場合は、正常動作とし、所定時間経過後においても。It is equipped with a data input/output device that operates with chain commands, has an operation check area in the storage device that checks the operation of chain commands, and includes a reset command to reset the operation check area in the chain command, and also By setting the operation check area for each required time using a signal, if the operation check area is reset before the predetermined time elapses, it is considered to be normal operation, even after the predetermined time elapses.
動作チェックエリアがリセットされない場合は、障害発
生とするように構成する。If the operation check area is not reset, it is configured so that a failure occurs.
[産業上の利用分野]
本発明は、データ転送要求処理装置におけるチェインコ
マンド動作をチェックするための方式に関する。[Industrial Application Field] The present invention relates to a method for checking chain command operation in a data transfer request processing device.
すなわち、共通線信号装置のようにランダムに多発する
データ転送要求を処理する装置についての装置制御では
、中央処理装置(CC)およびデータチャネル装置(D
CH)の転送能力の点からチェインコマンド方式が採用
されている。In other words, in device control of a device that processes randomly occurring data transfer requests, such as a common line signaling device, the central processing unit (CC) and data channel device (D
The chain command method is adopted from the viewpoint of transfer capability of CH.
そして、このチェインコマンド方式では、チェインコマ
ンドで自律的に動作しているデータ入出力装置[1(I
O装置)が正常に動作しているかどうかが、中央処理装
置(CC)ではわからないため、その動作をチェックす
る必要がある。In this chain command method, the data input/output device [1 (I
Since the central processing unit (CC) does not know whether the central processing unit (O device) is operating normally, it is necessary to check its operation.
[従来の技術]
さて、第4図は従来のデータチャネル装置(DCH)の
入出力動作を示すブロック図であるが、この第4図にお
いて、102は記憶装置(MM)で、この記憶装置10
2は、データチャネル装置(DCH)103の起動動作
を行なわせるためのデータ102a、102b、102
cを記憶した制御部102Aと、データチャネル装置(
DCH)103が転送動作(103B参照)を行なうた
めの送信データバッファをそなえたデータ転送領域10
2Bとをそなえて構成されている。[Prior Art] Now, FIG. 4 is a block diagram showing the input/output operation of a conventional data channel device (DCH). In FIG. 4, 102 is a memory device (MM), and this memory device 10
2 is data 102a, 102b, 102 for starting the data channel device (DCH) 103;
The control unit 102A that stores c and the data channel device (
Data transfer area 10 equipped with a transmission data buffer for DCH) 103 to perform transfer operations (see 103B)
2B.
101は中央処理装置(CC)で、この中央処理装置1
01では、データチャネル装置(DCH)103にスタ
ートIO命令(SIO命令)(101A参照)により起
動信号を出力するようになっている。なお、このSI○
命令の内容は、チャネル番号(CHA)とIO番号(■
○A)と起動信号等からなり、この命令により、データ
チャネル装置103は、記憶装置(MM)102の指定
番地からコマンド・アドレス・ワード(CAW)102
aをロードするようになっている。101 is a central processing unit (CC), and this central processing unit 1
01, a start signal is output to the data channel device (DCH) 103 by a start IO command (SIO command) (see 101A). Furthermore, this SI○
The content of the command is the channel number (CHA) and IO number (■
This command causes the data channel device 103 to read the command address word (CAW) 102 from the specified address of the memory device (MM) 102.
a is loaded.
また、中央制御装置101では、データ入出力装置10
4の起動結果を受けてデータチャネル装@103から発
されたコンデイションコード(CDC)の検査(101
B参照)を行なう。Further, in the central control device 101, the data input/output device 10
Inspection of the condition code (CDC) issued from the data channel device @103 in response to the activation result of step 4 (101
(see B).
さらに、中央制御装置101では、データチャネル装置
103から、データ転送が終了したこと(103C参照
)を割込み(101C参照)により通知されるようにな
っている。なお、このとき、データチャネル装置103
が有する割込情報がバスコマンドに設定される。Further, the central control unit 101 is notified by the data channel device 103 that the data transfer has ended (see 103C) by means of an interrupt (see 101C). Note that at this time, the data channel device 103
The interrupt information possessed by the bus command is set in the bus command.
103はデータチャネル装置で、このデータチャネル装
置103は、記憶装置102からのデータCAW [こ
のCAWは、データチャネル装置103に対応して固定
的に記憶装置102に割り付けられており、CCw (
チャネルコマンドワード)102bの格納場所を示す]
を、中央制御装置101からの起動信号に伴い受は取り
、データチャネル装置103のレジスタヘロードするこ
とによリ、起動動作(103A参照)を行なうようにな
っている。103 is a data channel device, and this data channel device 103 receives data CAW from the storage device 102 [This CAW is fixedly allocated to the storage device 102 in correspondence with the data channel device 103, and CCw (
Indicates the storage location of channel command word) 102b]
is received in response to an activation signal from the central control unit 101 and loaded into the register of the data channel device 103, thereby performing the activation operation (see 103A).
そして、CCW102bを記憶装置102から読み出し
、リード動作、ライト動作がCCWIO2bに従って自
律的に行なわれる(転送動作103B参照)。Then, the CCW 102b is read from the storage device 102, and read and write operations are performed autonomously according to the CCWIO 2b (see transfer operation 103B).
104はデータ入出力装置で、このデータ入出力装置i
!104は、データチャネル装置103の起動動作10
3Aに伴い起動されることにより(104A参照)、共
通線への入出力動作(104B参照)を行なうものであ
る。104 is a data input/output device, and this data input/output device i
! 104 is a startup operation 10 of the data channel device 103.
3A (see 104A), it performs input/output operations to the common line (see 104B).
そして、このデータ入出力袋!(104では、データチ
ャネル装置103の終了信号に伴い転送動作を終了され
(104C参照)、入出力動作を終了するようになって
いる(104D参照)。And this data input/output bag! (At 104, the transfer operation is ended in response to the end signal from the data channel device 103 (see 104C), and the input/output operation is ended (see 104D).
ところで、データチャネル装置103の制御を行なう各
データ102a、102b、102cの構成およびこれ
らの格納状態はそれぞれ第5図(a)〜(d)および第
6図に示すようになっている。Incidentally, the configuration and storage state of each data 102a, 102b, 102c for controlling the data channel device 103 are shown in FIGS. 5(a) to 6(d) and FIG. 6, respectively.
ここで、第5図(a)はCAW (コマンドアドレス語
)102aの構成を示しており、このCAW I O2
aは、記憶装置102のシステムエリア内に格納され、
O〜23ビットにCCW102bの格納番地CMAが、
24〜29ビツトには全てOが、30.31ビツトにK
EYがそれぞれ書き込まれる。Here, FIG. 5(a) shows the configuration of the CAW (command address word) 102a, and this CAW I O2
a is stored in the system area of the storage device 102,
The storage address CMA of CCW102b is stored in bits 0 to 23.
24 to 29 bits are all O, 30.31 bit is K
EY is written respectively.
第5図(b)はCCW (チャネルコマンド語)102
bの構成を示しており、このCCW102bは2ワード
で構成され、ccwoのO〜11ビットにWC(データ
転送量)が、19〜23ビツトにFLAG (フラッグ
:これにチェインコマンド表示CCを含む)が、24〜
31ピッi−にCMC(コマンドコード:リード、ライ
ト動作の指定)が、CCWlのO〜23ピッ1〜にI)
A(データ転送先アドレス)がそれぞれ書き込まれる。FIG. 5(b) shows CCW (channel command word) 102
This CCW 102b is composed of two words, with WC (data transfer amount) in bits 0 to 11 of ccwo, and FLAG (flag: this includes chain command display CC) in bits 19 to 23 of ccwo. But 24~
CMC (command code: designation of read and write operations) is set at 31 pin i-, and CMC is set at 0 to 23 pins 1 to I) of CCWl.
A (data transfer destination address) is written respectively.
第5図(C)、(d)はCSW <コマンドスティタス
語)102cの構成を示しており、このC8W 102
cは、データ転送のシーケンスがどこまで進んだかを
示す情報で、システムエリアに格納されており、データ
入出力袋W104やデータチャネル装置103に故障が
発生した場合や、データ転送が終了した場合に、中央制
御装置101へ通知されるものである。FIGS. 5(C) and 5(d) show the configuration of the CSW 102c, and this C8W 102
c is information indicating how far the data transfer sequence has progressed, and is stored in the system area, and if a failure occurs in the data input/output bag W104 or data channel device 103, or if the data transfer is completed, The central control device 101 is notified.
また、CS W 102 cはC3WAとC3WBとの
2種類で構成されており、第5図(c)はcsWAを示
すもので、このC3WAは、0〜7ビツトにCβ下(チ
ャネルステータスでデータチャネル装置103の状態)
が、8〜15ピッ1−にDST[デバイスステータスで
入出力の状態:こ九には状態装飾MOD (このMOD
は1のとき記憶装置102上の次の番地のccwを飛び
越す機能を持つ)]が、20〜31ビットにwc (デ
ータ転送量)がそれぞれ書き込まれる。Furthermore, the CSW 102c is composed of two types, C3WA and C3WB, and FIG. 5(c) shows the csWA. status of device 103)
However, DST [input/output status in device status: state decoration MOD (this MOD
has the function of skipping the ccw of the next address on the storage device 102 when it is 1)], and wc (data transfer amount) is written in the 20th to 31st bits, respectively.
第5図(d)はC3WBを示すもので、一方のワード4
.1:、C3WAと同様にC5T、DST、WCが書き
込まれるとともに、他方のワードにおい又。Figure 5(d) shows C3WB, one word 4
.. 1:, C5T, DST, and WC are written in the same way as C3WA, and also written in the other word.
20〜27ビツトにl0A(人出カアドレス)が、30
〜31ビツトにKEYがそれぞれ書き込まれる。10A (attendance address) is 30 in bits 20-27.
KEY is written to 31 bits respectively.
第6図は、データチャネル装置(DCH)103のシス
テムエリアを示すもので、例えば番地14(H)からデ
ータチャネル0番(DCHO)がCAW、C5WA、C
3WBO,C3WBIの組で書き込まれ、次いで番地1
8(H)からデータチャネル1番(r+cH1)が同様
の組で、以下同様にしてデータチャネル2〜6番(DC
02〜6)が同様の組で書き込まれた後、番地3ON(
)からデータチャネル7番(DCH7)が同様の組で書
き込まれる。FIG. 6 shows the system area of the data channel device (DCH) 103. For example, from address 14 (H) to data channel number 0 (DCHO) are CAW, C5WA, C
Written as a set of 3WBO, C3WBI, then address 1
8 (H) to data channel number 1 (r+cH1) are the same set, and data channels number 2 to 6 (DC
02 to 6) are written in a similar set, then address 3ON(
) to data channel number 7 (DCH7) are written in a similar set.
上述のような構成により、データチャネル装置103は
次のような起動、転送、終結、報告動作を行なう。With the configuration described above, the data channel device 103 performs the following activation, transfer, termination, and reporting operations.
(1)起動動作103A
■中央処理装置101が入出力命令(SIO命令)10
1Aを実行すると、データチャネル装置11103へ起
動信号が送信される。(1) Start-up operation 103A ■Central processing unit 101 issues input/output command (SIO command) 10
When 1A is executed, an activation signal is sent to the data channel device 11103.
■起動信号を受信すると、データチャネル装置103は
その内部の制御メモリからCHW (チャネルワード:
■O装置対応に割当てられ、各IOの転送状況を示す)
を読み出し、指定したデータ入出力装置104の空き/
塞りをチェックする。■ Upon receiving the activation signal, the data channel device 103 stores CHW (channel word:
■Assigned to O device and shows the transfer status of each IO)
is read and the specified data input/output device 104 is free/
Check for blockages.
その結果、空きであれば、CCWIO2bを読み出すた
め、CAW102aを記憶装置102の制御部102A
から取り出し、データチャネル装置103のレジスタヘ
ロードする。これにより、データチャネル装置とデータ
入出力装置を指定すると、CAW102aに示されるC
CW102bに従って自律的にデータ転送が行なわれる
。As a result, if it is empty, the control unit 102A of the storage device 102 transfers the CAW 102a to read the CCWIO2b.
, and load it into the register of data channel device 103. As a result, when the data channel device and data input/output device are specified, the C
Data transfer is performed autonomously according to the CW 102b.
■CAW102aとCCW102bとを読み出し、指定
されたデータ入出力装置104を起動する。(2) Read the CAW 102a and CCW 102b and start the specified data input/output device 104.
■データ入出力装置104の起動結果を中央制御装置1
01ヘコンデイシヨンコードCDCにより返送する。良
好であれば、roOJを返送することになる。■The activation results of the data input/output device 104 are sent to the central controller 1.
01 Return with condition code CDC. If it is good, the roOJ will be returned.
(2)転送動作103B
中央処理装置101はデータチャネル装置103からの
コンデイションコードCDCを受けると、データ入出力
装置104と記憶装置102におけるデータ転送領域1
02Bとの間のデータ転送制御をデータチャネル装置1
03にまかせ、データチャネル装置103からデータ転
送終了報告103Cを受けるまで他のプログラムを実行
する。(2) Transfer operation 103B When the central processing unit 101 receives the condition code CDC from the data channel device 103, the central processing unit 101 receives the data transfer area 1 in the data input/output device 104 and the storage device 102.
Data channel device 1 controls data transfer between 02B and 02B.
03 and executes other programs until it receives the data transfer completion report 103C from the data channel device 103.
(3)終結・報告動作103C
■CCW(チャネルコマンド語)により指定されたデー
タの転送が終了すると、データチャネル装置103は入
出力装置104に終了指示を出す。(3) Termination/Reporting Operation 103C ■ When the transfer of data specified by CCW (channel command word) is completed, the data channel device 103 issues a termination instruction to the input/output device 104.
■入出力袋W104が入出力動作をすると、データチャ
ネル装置103へ機器終了報告を送出する。(2) When the input/output bag W104 performs an input/output operation, it sends a device completion report to the data channel device 103.
■データチャネル装5103で機器終了報告を受信する
と、チャネルの動作状況を表すC3WI 02c(チャ
ネルスティタス語)の書き替えを行なう。なお、CS
W 102 cはCA W 102 aと同様にアドレ
スが固定的に割り付けられている。(2) When the data channel device 5103 receives the device termination report, it rewrites C3WI 02c (channel status language) indicating the channel operating status. In addition, CS
Similar to CA W 102 a, addresses are fixedly assigned to W 102 c.
■中央処理装置1101に対し、データ転送が終了した
ことを割込みによって通知する。このとき。(2) Notify the central processing unit 1101 that the data transfer has been completed using an interrupt. At this time.
各データチャネル装置103が有する割込情報(IS番
号)がバスコマンドに設定される。また。Interrupt information (IS number) possessed by each data channel device 103 is set in the bus command. Also.
データチャネル装置103内にある割込み禁止FF(M
似IS)もセットされる。Interrupt disabled FF (M
Similar IS) is also set.
ところで、このようなデータチャネル装置1゜3の動作
を行なわせる手段として、チェインコマンド方式が提供
されている。Incidentally, a chain command method is provided as a means for causing the data channel device 1.about.3 to operate as described above.
次に、このチェインコマンド方式の概要を第7゜8図を
用いて説明する。Next, an outline of this chain command method will be explained using FIG. 7-8.
まず、中央処理装置101からのSIO命令でデータチ
ャネル装置103を起動するが、そのときのCCWは第
8図のようになっている。すなわち、番地の上から順に
、ライトパターン(WPT)コマンド、TICコマンド
、ライト(WRT)コマンド、リードパターン(RPT
)コマンド、TICコマンドとなっている。ここで、C
CWの実体は記憶装@102にあり、データチャネル装
置103で第8図の状態のCCwをCAWを経由させな
がら順次取り出して実行することが行なわれる。さらに
、チェインコマンドの場合は、CCwのCC(チェイン
コマンド表示)が−「1」になっている。First, the data channel device 103 is activated by an SIO command from the central processing unit 101, and the CCW at that time is as shown in FIG. That is, in order from the top of the address, write pattern (WPT) command, TIC command, write (WRT) command, read pattern (RPT)
) command and TIC command. Here, C
The actual CW exists in the storage device @102, and the data channel device 103 sequentially retrieves and executes the CCw in the state shown in FIG. 8 while passing through the CAW. Further, in the case of a chain command, the CC (chain command display) of CCw is -“1”.
また、データチャネル装置103の動作は次のとおりで
ある。Further, the operation of the data channel device 103 is as follows.
(1)CCWを記憶装置102より取り出し、起動、転
送、終結動作を行なう。(1) Take out the CCW from the storage device 102 and perform startup, transfer, and termination operations.
(2)終結動作で、CCWのCC(チエインコマン1へ
表示)が「1」のときは、チェインコマンドと判断して
、記憶装置102上の欣の番地のCCWを取り出し、上
記の(1)を行なう。(2) In the final operation, if the CC of the CCW (displayed to chain command 1) is "1", it is determined to be a chain command, the CCW at the address of the link on the storage device 102 is retrieved, and the above (1) is performed. Do this.
(3)上記(2)の終結動作で、CC=1で且つC3W
B [第5図(d)参照]のDSTのMOD=1のとき
は、記憶装置102上の次の番地のCCWを飛び越す機
能があるので、これを利用してWPTコマンドで、EF
C(このEFCは、送信データバッファ102dに設定
されており、データ転送要求があると、中央処理装置1
01によって1にされるものである)を検査し、E F
C= 1のときはMOD=1にして、WRTコマンドを
実行するようにしている。(3) In the final operation of (2) above, CC=1 and C3W
B When the DST MOD=1 in [see Figure 5(d)], there is a function to skip the CCW of the next address on the storage device 102, so use this function to execute the EF command with the WPT command.
C (This EFC is set in the transmission data buffer 102d, and when there is a data transfer request, the central processing unit 1
is set to 1 by E F
When C=1, MOD=1 is set and the WRT command is executed.
このようにCCWで示されるコマンドを自律的にデータ
チャネル装置103で実行する様子を示すと、第7図の
データチャネル装置103内に書かれたフロー(S 1
01〜5105参照)のようになるが、このような一連
の処理をチェインコマンド処理(103S参照)という
。The manner in which the data channel device 103 autonomously executes the command indicated by the CCW is shown in the flow (S1) written in the data channel device 103 in FIG.
01 to 5105), and such a series of processing is called chain command processing (see 103S).
したがって、中央処理装置101からSIO命令でデー
タチャネル装置103を起動したあと、このデータチャ
ネル装置103においては、送信データがない場合は、
第7図の■のルー1−2送信データがあるときは、第7
図の■のルートで、データ入出力装置1104との自律
動作に入るのである。Therefore, after starting the data channel device 103 with an SIO command from the central processing unit 101, if there is no data to be transmitted in this data channel device 103,
When there is rule 1-2 transmission data in ■ in Figure 7,
Autonomous operation with the data input/output device 1104 is entered by the route (■) in the figure.
なお、中央処理装置101では、データ転送要求がある
と、送信データバッファ102dのEFCを1にして、
送信データを設定するので、送信データがあるときは、
第7図の■のルートをとって、データが転送されるので
ある。Note that when the central processing unit 101 receives a data transfer request, it sets the EFC of the transmission data buffer 102d to 1,
Since the sending data is set, if there is sending data,
The data is transferred by taking the route (■) in FIG.
[発明が解決しようとする課題]
ところで、前述のチェインコマンド方式では、データ入
出力装置104が正常に動作しているかどうか(チェイ
ンコマンドで自律的に動作しているかどうか)が中央処
理装置101ではわからないため、次の手法でその動作
をチェックしている。[Problem to be Solved by the Invention] By the way, in the chain command method described above, the central processing unit 101 does not know whether the data input/output device 104 is operating normally (whether it is operating autonomously by the chain command). Since I don't know, I am using the following method to check its operation.
すなわち、データ転送要求が発せられて、送信バッファ
102dのE F Cを1に設定した後、所要の時間内
にEFCがOにリセットされるかどうかを監視し、EF
Cが0にならない時は動作していないと判断する。That is, after a data transfer request is issued and EFC of the transmission buffer 102d is set to 1, it is monitored whether EFC is reset to O within the required time and EFC is set to 1.
When C does not become 0, it is determined that it is not operating.
しかしながら、この方法では、送信データがない場合、
EFCを1に設定することができないため、0にリセッ
トされることの確認が不可能であり、動作チェックを行
なえないという不具合がある。However, with this method, if there is no data to send,
Since EFC cannot be set to 1, it is impossible to confirm that it is reset to 0, and there is a problem in that an operation check cannot be performed.
これにより、データ入出力装置104の障害検出が遅れ
、転送装置全体の信頼性を確保できないという問題点が
ある。This causes a problem in that failure detection in the data input/output device 104 is delayed and reliability of the entire transfer device cannot be ensured.
本発明は、このような問題点に鑑みなされたもので、デ
ータチャネル装置及びデータ入出力装置の動作を通信デ
ータがない場合にも迅速にチェックできるようにした、
データ転送要求処理装置におけるチェインコマンド動作
チェック方式を提供することを目的としている。The present invention was devised in view of these problems, and is capable of quickly checking the operation of a data channel device and data input/output device even when there is no communication data.
The purpose of this invention is to provide a method for checking chain command operation in a data transfer request processing device.
[課題を解決するための手段] 第1図は本発明の原理ブロック図である。[Means to solve the problem] FIG. 1 is a block diagram of the principle of the present invention.
この第1図において、1は中央制御装置(CC)で、こ
の中央制御装置1は、記憶装置(MM)2゜データチャ
ネル装置(DCH)3を制御するものある。In FIG. 1, reference numeral 1 denotes a central control unit (CC), and this central control unit 1 controls a memory device (MM) 2 and a data channel device (DCH) 3.
2は記憶装置で、この記憶装置2は、送信データバッフ
ァ2aと動作チェックエリア2bとをそなえている。2 is a storage device, and this storage device 2 includes a transmission data buffer 2a and an operation check area 2b.
ここで、送信データバッファ2aは送信データを一時的
に蓄積しておくメモリで、動作チェックエリア2aはデ
ータチャネル装置3内のチェインコマンド3Sの動作を
チェックするためのメモリエリアである。Here, the transmission data buffer 2a is a memory that temporarily stores transmission data, and the operation check area 2a is a memory area for checking the operation of the chain command 3S in the data channel device 3.
3はデータチャネル装置で、このデータチャネル装置3
は、中央制御装置1からの起動命令によりチェインコマ
ンド3S動作を開始するものであるが、このチェインコ
マンド3S内には、動作チェックエリア2bをリセット
するリセットコマンドが入れられている。なお、チェイ
ンコマンド3Sの実体であるCCW (チャネルコマン
ド語)は記憶装置2にある。3 is a data channel device, and this data channel device 3
The chain command 3S is started by a start command from the central control device 1, and a reset command for resetting the operation check area 2b is included in the chain command 3S. Note that CCW (channel command word), which is the substance of the chain command 3S, is stored in the storage device 2.
4はデータ入出力装置で、このデータ入出力装置4は、
データチャネル装置3のチェインコマンド3Sにより入
出力動作を行なう。4 is a data input/output device, and this data input/output device 4 is
Input/output operations are performed by chain command 3S of data channel device 3.
[作 用コ
上述の本発明のデータ転送要求処理装置におけるチェイ
ンコマンド動作チェック方式では、動作チェックエリア
2bが主制御装置1により所要時間ごとにセットされる
が、データチャネル装置3が正常に動作している場合は
、リセットコマンドにより伝送データの有無にかかわら
ず所定時間内にリセットされ、正常動作が確認される。[Function] In the chain command operation check method in the data transfer request processing device of the present invention described above, the operation check area 2b is set by the main controller 1 at each required time, but if the data channel device 3 does not operate normally. If it is, the reset command will reset it within a predetermined time regardless of the presence or absence of transmitted data, and normal operation will be confirmed.
一方、正常に動作していない場合は、動作チェックエリ
ア2bがリセットされず所定時間経過後には正常に動作
していないことが検出され、障害が発生したとされる。On the other hand, if it is not operating normally, the operation check area 2b is not reset and after a predetermined period of time it is detected that it is not operating normally, and it is assumed that a failure has occurred.
[実施例コ 以下、図面を参照して本発明の詳細な説明する。[Example code] Hereinafter, the present invention will be described in detail with reference to the drawings.
第2図は本発明の一実施例を示すブロック図であり、ま
た第3図は本実施例の要部構成を説明するための図であ
るが、これらの第2,3図において、1は中央制御装置
(CC)、2は記憶装置(MM)、2aは送信データバ
ッファ、3はデータチャネル装! (DCH) 、3S
はチェインコマンド、4はデータ入出力装置(10)で
あり、これらは、それぞれ従来例において説明された中
央制御装置101.記憶装置1o2.送信バッファ10
2d、データチャネル装置t103.チェインコマンド
103S、データ入出力装置1104のそれぞれとほぼ
同様に構成され、同様の動作にてデータの転送を行なう
ものである。FIG. 2 is a block diagram showing one embodiment of the present invention, and FIG. 3 is a diagram for explaining the main part configuration of this embodiment. In these FIGS. A central control unit (CC), 2 a memory device (MM), 2a a transmission data buffer, and 3 a data channel device! (DCH), 3S
4 is a chain command, and 4 is a data input/output device (10), which are respectively connected to the central controller 101 . Storage device 1o2. Transmission buffer 10
2d, data channel device t103. It is configured almost the same as the chain command 103S and the data input/output device 1104, and transfers data using the same operation.
なお、5は音声等のデータを交換する交換機。Note that 5 is an exchange for exchanging data such as voice.
6は転送される制御データのための共通線である。6 is a common line for control data to be transferred.
また、チェインコマンド3S内のS]〜S8はそ九ぞれ
処理ステップを示しており、この内のステップS1〜S
5は従来例として前述したチエインコマンI〜103S
内のステツー7’8101〜5105のそれぞれとほぼ
同様の動作を行なうものである。In addition, S] to S8 in the chain command 3S indicate processing steps, and steps S1 to S8 among these indicate the processing steps.
5 is the chain command I-103S mentioned above as a conventional example.
It performs almost the same operation as each of the STETSU7's 8101 to 5105.
ところで、本実施例で新たに設けられたものとして次の
ようなものがある。By the way, the following items are newly provided in this embodiment.
まず、記憶装置2に動作チェックエリア2bが設けられ
たことである。ここで、この動作チェックエリア2bは
、O〜1ビットのOPC(オペレーションコード)を格
納するようになっている。First, an operation check area 2b is provided in the storage device 2. Here, this operation check area 2b is designed to store OPC (operation code) of 0 to 1 bits.
次に、中央処理装置1内に周期プログラムISを設けた
ことである。ここで、この周期プログラム1Sは、例え
ば1秒ごとに繰り返し実行され、ステップS12で、記
憶装置2の動作チェックエリア2bにOPCを1と設定
するような動作を行なう。Next, a periodic program IS is provided in the central processing unit 1. Here, this periodic program 1S is repeatedly executed, for example, every second, and performs an operation such as setting OPC to 1 in the operation check area 2b of the storage device 2 in step S12.
また、チェインコマンド3Sにおいて、ステップS6は
、転送データが有る場合のルート(ステップS1でデー
タ有り以下のルート)においてオペレーションコート(
opc)をクリアする機能をそなえている。In addition, in the chain command 3S, step S6 includes an operation code (
It has a function to clear (opc).
ステップS7は、転送データが無い場合のルート(ステ
ップS1でデータ有り以下のルート)において、オペレ
ーションコート(OPC)をクリアする機能をそなえて
いる。Step S7 has a function of clearing the operation code (OPC) in the route where there is no data to be transferred (the route after there is data in step S1).
ステップS8は、データ無しの場合のルートにおいて、
処理をステップS1に戻すジャンプ処理を意味している
。In step S8, in the route when there is no data,
This means a jump process that returns the process to step S1.
」二連の構成により、データチャネル装置3は中央制御
装置1により起動されて従来とほぼ同様の諸動作が行な
われる。With the dual configuration, the data channel device 3 is activated by the central control device 1 and performs almost the same operations as the conventional one.
加えて、中央制御装置1では周期プログラムISが起動
され所要の時間間隔、例えば1秒ごとに繰り返される。In addition, a periodic program IS is activated in the central control unit 1 and repeated at required time intervals, for example every second.
すなわち、同プログラムISにおけるステップSllで
は、記憶装置2における動作チェックエリア2bのオペ
レーションコード(OPC)が0であるかどうかが判断
され、Oである場合には、オペレーションコード(op
c)が1に設定されるとともに(ステップ512)、エ
ラーカウント(ERRCNT)が0クリアされている(
ステップ513)。That is, in step Sll in the same program IS, it is determined whether the operation code (OPC) of the operation check area 2b in the storage device 2 is 0, and if it is O, the operation code (OPC) is
c) is set to 1 (step 512), and the error count (ERRCNT) is cleared to 0 (
Step 513).
一方、チェインコマンド3Sも所要の周期で繰り返され
ているが、このチェインコマンド3Sが正常に動作して
いると、転送データがないルートでは、ステップS7に
おいてオペレーションコード(opc)がOにリセット
クリアされ、転送データが有るルートでは、ステップS
6によりオペレーションコード(o p c)がOにリ
セットクリアされる。On the other hand, the chain command 3S is also repeated at the required period, but if this chain command 3S is operating normally, the operation code (opc) is reset and cleared to O in step S7 for routes where there is no transfer data. , for routes with transferred data, step S
6, the operation code (opc) is reset and cleared to O.
ところで、チェインコマンド3Sが正常に動作していな
い場合は、ステップS6.S7が実行されず、記憶装置
2の動作チェックエリア2bがリセットされないため、
中央制御装置1の周期プログラムISにおけるステップ
Sllでは、OPC≠0と判断されて、ステップS14
が実行される。By the way, if the chain command 3S is not operating normally, step S6. Since S7 is not executed and the operation check area 2b of the storage device 2 is not reset,
At step Sll in the periodic program IS of the central control device 1, it is determined that OPC≠0, and step S14
is executed.
ステップS14において、ERRCNTが所要の数Nよ
り大きいかどうかが判断される。In step S14, it is determined whether ERRCNT is greater than a required number N.
また、ステップS14がはじめて実行されたときは、E
RRCNTは0にクリアリセットされているため、ER
RCNT<Nであり、これによりステップS16が実行
されて、ERRCNTに1が加えられる。Also, when step S14 is executed for the first time, E
Since RRCNT has been cleared to 0, ER
Since RCNT<N, step S16 is executed and 1 is added to ERRCNT.
すなわち、ステップS16を通るたびにERRCNTは
1ずつ増え続け、所要の値Nを超えるようになると、チ
ェインコマンド3Sあるいはデータ入出力装置4等に障
害が発生しているものとして、ステップS15において
、障害処理が実行される。That is, ERRCNT continues to increase by 1 each time step S16 is passed, and when it exceeds the required value N, it is assumed that a failure has occurred in the chain command 3S or the data input/output device 4, etc., and the failure is determined in step S15. Processing is executed.
このようにしてデータチャネル装置の動作を通信データ
がない場合にも迅速にチェックできるので、転送装置全
体の信頼性が大幅に向上する。In this way, the operation of the data channel device can be quickly checked even when there is no communication data, so the reliability of the entire transfer device is greatly improved.
なお、CCWは、第3図の記憶表W2内に書かれている
ように、順にWPTコマンド、TICコマンド、WRT
コマンド、RPTコマンド、RPTコマンド、TICコ
マンF、RPTコマンド。In addition, as written in the memory table W2 of FIG.
command, RPT command, RPT command, TIC command F, RPT command.
TICコマンドとなっていて、その実体は記憶装置2に
あり、実行時には、CCWをCAW経由で取り出すこと
が行なわれる。従って、第3図のデータチャネル装置3
内のフローは、CCWで示されるコマンドを自律的にデ
ータチャネル装置3で実行している時の様子を示すもの
である。This command is a TIC command, its substance is in the storage device 2, and when executed, the CCW is retrieved via the CAW. Therefore, the data channel device 3 of FIG.
The flow in the figure shows how the data channel device 3 autonomously executes the command indicated by CCW.
[発明の効果]
以上詳述したように、本発明のデータ転送要求処理装置
におけるチェインコマンド動作チェック方式によれば、
記憶装置における動作チェックエリア13対し、中央制
御装置によるセットおよびデータチャネル装置のチェイ
ンコマンドにおけるリセットが繰り返して常時行なわれ
るため、データチャネル装置における伝送データがない
場合であっても、チェインコマンドの動作を確認するこ
とができ、これによりチェインコマンドに障害が発生し
た場合には、迅速に検出処理することができ、その結果
、転送装置全体の信頼性向上におおいに寄与しうるとい
う利点がある。[Effects of the Invention] As detailed above, according to the chain command operation check method in the data transfer request processing device of the present invention,
Since the operation check area 13 in the storage device is constantly set by the central controller and reset by the chain command of the data channel device, even if there is no data to be transmitted by the data channel device, the operation of the chain command cannot be performed. This has the advantage that if a failure occurs in a chain command, it can be quickly detected and processed, and as a result, it can greatly contribute to improving the reliability of the entire transfer device.
第1図は本発明の原理ブロック図、
第2図は本発明の一実施例を示すブロック図、第3図は
本発明の一実施例の要部構成を示す図、°第4図は従来
のデータチャネル装置の入出力動作を説明するためのブ
ロック図、
第5図(a)〜(d)はデータチャネル装置の制御デー
タ構成を示す模式図、
第6図はデータチャネル装置の制御データ格納状態を示
す模式図、
第7,8図はそれぞれチェインコマンド方式の概要を説
明する図である。
図において、
1は中央制御装置、
ISは周期プログラム、
2は記憶装置、
2aは送信データバッファ。
2bは動作チェックエリア、
3はデータチャネル装置、
3Sはチェインコマンド、
4はデータ入出力装置、
5は交換機、
6は共通線。
101は中央制御装置、
102は記憶装置、
102dは送信データバッファ、
103はデータチャネル装置、
103Sはチェインコマンド、
104はデータ入出力装置である。Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram showing an embodiment of the present invention, Fig. 3 is a diagram showing the main part configuration of an embodiment of the present invention, and Fig. 4 is a conventional block diagram. 5(a) to 5(d) are schematic diagrams showing the control data structure of the data channel device, and FIG. 6 is a diagram showing the control data storage of the data channel device. The schematic diagrams illustrating the state and FIGS. 7 and 8 are diagrams each explaining the outline of the chain command method. In the figure, 1 is a central control unit, IS is a periodic program, 2 is a storage device, and 2a is a transmission data buffer. 2b is an operation check area, 3 is a data channel device, 3S is a chain command, 4 is a data input/output device, 5 is a switch, and 6 is a common line. 101 is a central control unit, 102 is a storage device, 102d is a transmission data buffer, 103 is a data channel device, 103S is a chain command, and 104 is a data input/output device.
Claims (1)
と、 該中央制御装置(1)からの起動命令によりチェインコ
マンド(3S)動作を開始するデータチャネル装置(3
)と、 該データチャネル装置(3)でのチェインコマンド(3
S)で動作するデータ入出力装置(4)とをそなえ、 該記憶装置(2)に、チェインコマンド(3S)の動作
をチェックするための動作チェックエリア(2b)を設
け、 該チェインコマンド(3S)内に該動作チェックエリア
(2b)をリセットするリセットコマンドを入れるとと
もに、該中央制御装置(1)からの信号によって所要時
間ごとに該動作チェックエリア(2b)をセットするこ
とにより、 所定時間経過前に、該動作チェックエリア(2b)がリ
セットされる場合は、正常動作とし、該所定時間経過後
においても、該動作チェックエリア(2b)がリセット
されない場合は、障害発生とすることを 特徴とする、データ転送要求処理装置におけるチェイン
コマンド動作チェック方式。[Claims] An apparatus for processing data transfer requests, comprising: a central control unit (1); a storage device (2) having transmission data and a buffer (2a);
and a data channel device (3
) and the chain command (3) in the data channel device (3).
A data input/output device (4) that operates with the chain command (3S) is provided, and an operation check area (2b) is provided in the storage device (2) for checking the operation of the chain command (3S). ) by inserting a reset command to reset the operation check area (2b) and setting the operation check area (2b) at each required time using a signal from the central control device (1). If the operation check area (2b) is reset before, the operation is determined to be normal, and if the operation check area (2b) is not reset even after the predetermined time has elapsed, it is determined that a failure has occurred. A chain command operation check method in a data transfer request processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2340997A JP2889373B2 (en) | 1990-11-30 | 1990-11-30 | Chain command operation check method in data transfer request processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2340997A JP2889373B2 (en) | 1990-11-30 | 1990-11-30 | Chain command operation check method in data transfer request processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04209057A true JPH04209057A (en) | 1992-07-30 |
| JP2889373B2 JP2889373B2 (en) | 1999-05-10 |
Family
ID=18342250
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2340997A Expired - Lifetime JP2889373B2 (en) | 1990-11-30 | 1990-11-30 | Chain command operation check method in data transfer request processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2889373B2 (en) |
-
1990
- 1990-11-30 JP JP2340997A patent/JP2889373B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2889373B2 (en) | 1999-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11544132B2 (en) | Communication apparatus, communication method, program, and communication system | |
| US20080147906A1 (en) | DMA Transferring System, DMA Controller, and DMA Transferring Method | |
| JPH04209057A (en) | Chain command operation check system in data transfer request processor | |
| JPS623361A (en) | Status report system | |
| JPS6138510B2 (en) | ||
| KR960014980B1 (en) | Computer system including lan analyzer and method of analyzing communication procedure | |
| EP0397778B1 (en) | An early start mode method and apparatus | |
| JP5908068B2 (en) | Standby redundant unit | |
| JP4834722B2 (en) | Arithmetic processing device and control method of arithmetic processing device | |
| US5590279A (en) | Memory data copying apparatus | |
| JP4527419B2 (en) | Program trace method and trace processing system | |
| JP3273191B2 (en) | Data transfer device | |
| JPS6174438A (en) | Test method of maximum load | |
| JPH0335327A (en) | Majority decision fault processor | |
| JP2016207142A (en) | Computer and memory fault diagnosis method | |
| JPH06266630A (en) | Input/output controller with trace function | |
| JPS616746A (en) | Partial writing control system | |
| JP2000115281A (en) | Data communication method and transmission / reception device | |
| JPH10269171A (en) | Data communication system | |
| JPH07210421A (en) | Debugging method in thread environment | |
| JPH07152585A (en) | Priority control monitor system | |
| JPS59132054A (en) | Reporting system of contents of trouble | |
| JPS59229636A (en) | Monitoring method of bus | |
| JPS6240558A (en) | Communication processor | |
| JPS6043549B2 (en) | Data transfer control method |