JPS63198441A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPS63198441A
JPS63198441A JP62029881A JP2988187A JPS63198441A JP S63198441 A JPS63198441 A JP S63198441A JP 62029881 A JP62029881 A JP 62029881A JP 2988187 A JP2988187 A JP 2988187A JP S63198441 A JPS63198441 A JP S63198441A
Authority
JP
Japan
Prior art keywords
data
cpu
timer
data transmission
sent
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
Application number
JP62029881A
Other languages
Japanese (ja)
Other versions
JP2676609B2 (en
Inventor
Makoto Nakayama
真 中山
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.)
NEC Platforms Ltd
Original Assignee
Nitsuko Corp
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 Nitsuko Corp filed Critical Nitsuko Corp
Priority to JP62029881A priority Critical patent/JP2676609B2/en
Publication of JPS63198441A publication Critical patent/JPS63198441A/en
Application granted granted Critical
Publication of JP2676609B2 publication Critical patent/JP2676609B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To reduce the data transmission time by sending a data sequentially to plural sets of device CPUs and deciding the next data sending in response to status information from the device CPUs. CONSTITUTION:A CPU 1 uses a supervisory timer 3 counting a prescribed time and a memory 2 storing flag information representing a fault of device CPUs 61-64 to apply data transmission processing. The CPU 1 sends an address signal, designates a bus driver 4 and a selection circuit 5 and drives them. A designated device CPU data is sent to the circuit 5 and a selection signal is sent to the device CPU designated by the designated device CPU data. On the other hand, a data to be processed by the device CPU is sent to the driver 4 and sent to the device CPU.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は主制御装置と複数の従装置との間でデータ伝送
を行う際のデータ伝送方弐忙関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data transmission method when transmitting data between a main controller and a plurality of slave devices.

(従来の技術) 一般に、主制御装置(以下メインCPUという)から従
装置(以下デバイスCPUという)に複数のデータを伝
送する際、メインCPUがらまず第1のデータをデバイ
スCPUに送出して、デバイスCPUからKlのデータ
に対する処理完了報告′t−1(、ステ−タス信号)を
受けると、第2のデータを送出し。
(Prior Art) Generally, when transmitting a plurality of data from a main control device (hereinafter referred to as main CPU) to a slave device (hereinafter referred to as device CPU), first data is sent from the main CPU to the device CPU, Upon receiving the processing completion report 't-1 (status signal) for the data of Kl from the device CPU, it sends out the second data.

以後同様にしてステータス信号を受けて次のデータを送
出している。
Thereafter, the next data is sent out in the same manner upon receiving the status signal.

また、複数のデータをメインCPUから複数のデバイス
CPUに対して送出する場合、第1のデバイスCPUに
対するデータ伝送が完了した後、順次第2、第3.・・
・のデバイスCPUに対するデータ伝送を行っている。
Furthermore, when transmitting a plurality of data from the main CPU to a plurality of device CPUs, after data transmission to the first device CPU is completed, the second, third, .・・・
・Data is being transmitted to the device CPU.

この際メインCPUからデータを送出すると、タイマー
によってカウントを開始し。
At this time, when data is sent from the main CPU, the timer starts counting.

所定の時間経過してもステータス信号が得られない場合
、当該デバイスCPUはエラーであると判定している。
If a status signal is not obtained even after a predetermined period of time has elapsed, the device CPU determines that an error has occurred.

ところで、上述のデータ伝送はメインCPUに割込み処
理を発生させて行う。つまシ、メインCPUはまず割込
みレベルで第1のデバイスCPU K対して第1のデー
タを送出した後2通常の処理(データ伝送以外の処理、
ペースレベル)にもどシ、予め定められた時間がタイマ
でカウントされると。
By the way, the above data transmission is performed by generating an interrupt process in the main CPU. First, the main CPU sends the first data to the first device CPU K at the interrupt level, and then performs normal processing (processing other than data transmission,
Once the predetermined time has been counted by the timer.

再び割込みレベルとなり、この第1のデバイスCPUか
らのステータスを受ける。このステータスがよければ、
第2のデータを送出する。このようにして、第1のデバ
イスCPUに対するデータ伝送が終了すると1次に第2
のデバイスCPUに対して同様にしてデータを送出する
5 (発明が解決しようとする問題点) ところで、上述の従来のデータ伝送方式では。
It becomes interrupt level again and receives the status from this first device CPU. If this status is good,
Send the second data. In this way, when the data transmission to the first device CPU is completed, the data transmission to the first device CPU is completed.
5 (Problem to be Solved by the Invention) By the way, in the above-mentioned conventional data transmission method.

複数のアノ4イスCPUにデータを伝送する際、第1の
デバイスCPUに対するデータ伝送が完了すると。
When transmitting data to multiple device CPUs, data transmission to the first device CPU is completed.

次に第2のデバイスCPUにデータ伝送を行っているた
め、つまシ、一つのデバイスCPUに対するデータ伝送
が完了しないと、・他のデバイスCPUに対してデータ
伝送を開始しないから、伝送時間が極めて大きくなると
いう問題点がある。またデータ伝送中にたびたびペース
レベルに戻るから、ひんばんに割込み処理を行わなけれ
ばならないという問題点がある。
Next, data is being transmitted to the second device CPU, so if the data transmission to one device CPU is not completed, the data transmission to the other device CPU will not start, so the transmission time will be extremely long. The problem is that it gets bigger. Another problem is that interrupt processing must be carried out frequently because the pace level is frequently returned to during data transmission.

(問題点を解決するための手段) 本発明によるデータ伝送方式は、メインCPUと。(Means for solving problems) The data transmission method according to the present invention is based on the main CPU.

このメインCPUに接続された複数のデバイスCPUと
を備え、メインCPUがデバイスCPUのおのおのと複
数回のデータ伝送を行うデータ伝送システムKbいて、
所定の時間を計時するタイマと、デバイスCPUの異常
を示すフラグ情報をデバイスCPUK対応させて記憶す
るメモリとを有し、メインCPUは複数のデバイスCP
Uに対して順次第1のデータを送出して、タイマをセッ
トする第1の手段ト、y’バイスCPUからのステータ
スを順次受け。
A data transmission system Kb includes a plurality of device CPUs connected to the main CPU, and the main CPU performs data transmission multiple times with each of the device CPUs,
The main CPU has a timer that measures a predetermined time and a memory that stores flag information indicating an abnormality of the device CPU in association with the device CPUK.
The first means sequentially sends data 1 to U and sets a timer.

該ステータスが異常であると、デバイスCPUに対応し
てメモリに7ラグ清報を格納し、一方該ステータスが正
常であると、対応するデバイスCPUに第2のデータを
送出する第2の手段と、メモリに前記フラグ情報が格納
されていると、タイマがカウントアツプしているかどう
かを判定する第3の手段とを有し、第3の手段によって
タイマがカウントアツプしていないと判定されると、前
記第2の手段によって再び処理が実行され、一方、タイ
マがカウントアツプしていると、該フラグ情報に対応す
るデバイスCPUをエラーと判定して該エラーのデバイ
スCPU e実質的に切り離すようにしたことを特徴と
している。
If the status is abnormal, a 7-lag report is stored in the memory corresponding to the device CPU, while if the status is normal, the second means sends second data to the corresponding device CPU. , if the flag information is stored in the memory, a third means for determining whether or not the timer is counting up, and if it is determined by the third means that the timer is not counting up; , the process is executed again by the second means, and on the other hand, if the timer is counting up, the device CPU corresponding to the flag information is determined to be an error, and the device CPU of the error is substantially disconnected. It is characterized by what it did.

(実施例) 以下本発明について実施例によって説明する。(Example) The present invention will be explained below with reference to Examples.

まず、第1図を参照して本発明が適用される情報伝送シ
ステムについて説明する。
First, an information transmission system to which the present invention is applied will be explained with reference to FIG.

メインCPU 1 カラのコントロールバスlB、7”
−タパス1b、及びアドレスバス1cにはメモリ2、タ
イマ3.パスドライバ4.及び選択回路(setect
回路)5が接続され、パスドライバ4からのデバイスC
PUデータバス4a及びデバイスCPUコントロールバ
ス4bにはデバイスCPU 61 。
Main CPU 1 empty control bus lB, 7”
- The tapas 1b and the address bus 1c include a memory 2, a timer 3. Path driver 4. and a selection circuit (select
circuit) 5 is connected, and device C from path driver 4
A device CPU 61 is connected to the PU data bus 4a and the device CPU control bus 4b.

62.63及び64が接続されている。一方2選択回路
5はデバイスCPU選択信号線5aを介してデバイスC
PU 61〜64に接続されている。
62, 63 and 64 are connected. On the other hand, the 2 selection circuit 5 selects the device C via the device CPU selection signal line 5a.
Connected to PUs 61-64.

ここで、第2図も参照して、メインCPU 1からデバ
イスCP061〜64に対してデータを送出する際、メ
インCPU 1はアドレス−ぐスICを介してアドレス
信号を送出し、パスドライバ4及び選択回路5を指定す
るとともにコントロールパスlaを介して制御信号が送
出され、パスドライバ4及び選択回路5が駆動される。
Here, referring also to FIG. 2, when sending data from the main CPU 1 to the devices CP061 to 64, the main CPU 1 sends an address signal via the address IC, and the path driver 4 and A control signal is sent through the control path la to designate the selection circuit 5, and the path driver 4 and selection circuit 5 are driven.

選択回路5にはメインCPU 1からデータバス1bを
介して指定デバイスCPUデータが送られ、この指定デ
バイスCPUデータに基づいて選択信号を指定デバイス
CPUデータで指定されたデバイスCPUに送る。一方
、パスドライバ4にはメインCPU 1からデバイスC
PUで処理すべきデータが送られ、パスドライバ4はこ
のデータをデバイスCPUデータバス4aを介して送る
とトモに、デバイスCPUコントロールノぐス4bi介
して制御信号を送る。
Designated device CPU data is sent from the main CPU 1 to the selection circuit 5 via the data bus 1b, and based on this designated device CPU data, a selection signal is sent to the device CPU designated by the designated device CPU data. On the other hand, path driver 4 includes information from main CPU 1 to device C.
Data to be processed by the PU is sent, and when the path driver 4 sends this data via the device CPU data bus 4a, it sends a control signal to Tomo via the device CPU control signal 4bi.

メインCPU 1は指定デバイスCPUデータでまずデ
バイスCPU 61 ’t−選択して、パスドライバ4
を介してデバイスCPU 61にデータを送る。次K。
Main CPU 1 first selects device CPU 61't- with specified device CPU data, and then passes path driver 4.
The data is sent to the device CPU 61 via. Next K.

指定デバイスCPUデータでデバイスCPU 62を選
択して、デバイスCPU 62にデータを送る。そして
、このようにして、順次デtRイスCPU 61〜64
にデータを送る(ステップ201)。デバイスCPU 
61〜64にデータの送出が終了すると(ステップ20
2)、メインCPU 1はアドレスバス1cを介して監
視タイマ3を指定し、コントロールパス1aからの制御
信号によシ、データバス1bを介して送られてくる所定
の時間(タイマ値)を監視タイマ3にセットして、計時
を開始する(ステップ203)。
The device CPU 62 is selected using the designated device CPU data, and the data is sent to the device CPU 62. In this way, the CPUs 61 to 64 are sequentially deactivated.
(step 201). Device CPU
When data transmission is completed in steps 61 to 64 (step 20
2) The main CPU 1 specifies the monitoring timer 3 via the address bus 1c, and monitors a predetermined time (timer value) sent via the data bus 1b according to the control signal from the control path 1a. Set timer 3 and start measuring time (step 203).

デバイスCP061〜64では受信したデータを処理す
ると、所定のステータス情報を送出する。
After processing the received data, the devices CP061-64 transmit predetermined status information.

このステータス情報はバスドライバ4を介してメインC
PU 1に送られる。メインCPU 1はj晒次デバイ
スCP061〜64のステータス報告を受ける。
This status information is passed through the bus driver 4 to the main C
Sent to PU 1. The main CPU 1 receives status reports from the next devices CP061-64.

例えば、まず、デバイスCPU 61からのステータス
情報を解析して(ステップ204)、その結果。
For example, first, status information from the device CPU 61 is analyzed (step 204), and the result is analyzed.

良好であれば、デバイスCP061に第2のデータを送
出する(ステップ205)。一方、ステータス情報が不
良であると、メインCPU 1はアドレスバス1ct″
介してメモリ20所定アドレス’t Fa 定シ、コン
トロールパス1aからの制御信号1c、l:、9゜デー
タバスIb′t−介してデバイスCPU 61に対応−
させて、メモリ2にフラグを格納する(ステップ206
)。その後、デバイスCPU G 1〜64について上
述のステップ204〜206が終了したかを判断しくス
テラ7’207)、終っていなければ。
If it is good, the second data is sent to device CP061 (step 205). On the other hand, if the status information is defective, the main CPU 1 uses the address bus 1ct''
Through the memory 20 predetermined address 'tFa, control signals 1c, l:, 9° from the control path 1a correspond to the device CPU 61 through the data bus Ib't.
and stores the flag in memory 2 (step 206
). Thereafter, it is determined whether steps 204 to 206 described above have been completed for devices CPU G 1 to G 64 (Stella 7' 207), and if not.

同様の処理を行う。Perform similar processing.

デバイスCPU 61〜64のステータス情報に対する
処理が終了すると、メインCPU 1はメモリ2にフラ
グ情報がセットされているかどうかを調べ(ステラ:7
’208)、フラグ情報がセットされて騒ると2次に監
視タイマ3がカウントアツプしているかどうかを調べる
(ステップ209)。ソノ結果、監視タイマ3がカウン
トアツプしていなければ、セットされたフラグ情報に対
応するデバイスCPUに対してステラf204〜208
を実行する。一方、監視タイマ3がカウントアツプして
いれば、セットされたフラグ情報に対応するデバイスC
PU全エラーとして実質的にシステムから切り放す。ス
テップ208でフラグ情報がセットされていなければ、
処理を終了する〇 上述の実施例では、4台のデバイスCPUt−備よる伝
送システムについて説明したが、複数台のデバイスCP
Uを備えるシステムについても同様である。また、上述
の実施例では第1及び第2のデータをデバイスCPUに
対して送る場合についても同様に行えばよい。
When the processing of the status information of the device CPUs 61 to 64 is completed, the main CPU 1 checks whether the flag information is set in the memory 2 (Stella: 7
'208), when the flag information is set and a noise is made, it is checked whether the monitoring timer 3 is counting up or not (step 209). As a result, if the monitoring timer 3 has not counted up, Stella f204-208 is sent to the device CPU corresponding to the set flag information.
Execute. On the other hand, if the monitoring timer 3 is counting up, the device C corresponding to the set flag information
It is virtually disconnected from the system as a PU total error. If the flag information is not set in step 208,
End the process〇In the above embodiment, a transmission system equipped with four devices CPUt was described, but a transmission system equipped with multiple devices CPUt
The same applies to the system including U. Furthermore, in the above-described embodiment, the same procedure may be used when transmitting the first and second data to the device CPU.

(発明の効果) 以上説明したように1本発明では、複数台のデバイスC
PUに対して順次データを送シ、デバイスCPUからの
ステータス情報に応じて1次のデータを送るかどうかを
決定しているから、従来に比べてデータ伝送時間を短縮
できるという効果がある。
(Effects of the Invention) As explained above, in the present invention, a plurality of devices C
Since data is sent sequentially to the PU and whether or not to send the primary data is determined depending on the status information from the device CPU, the data transmission time can be reduced compared to the conventional method.

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

第1図は本発明が適用されるデータ伝送システムを示す
図、第2図は主制御装置(メインCPU )の制御を示
す流れ図である。 1・・・メインCPU 、 2・・・メモリ、3・・・
タイマ、4・・・バスドライバー、5・・・選択回路、
61〜64・・・デバイスCPU 。 第1図 第2図
FIG. 1 is a diagram showing a data transmission system to which the present invention is applied, and FIG. 2 is a flowchart showing control by a main controller (main CPU). 1... Main CPU, 2... Memory, 3...
Timer, 4... bus driver, 5... selection circuit,
61-64...Device CPU. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、主制御装置と、該主制御装置に接続された複数の従
装置とを備え、該主制御装置が前記従装置のおのおのと
複数回のデータ伝送を行うデータ伝送システムにおいて
、所定の時間を計時する計時手段と、前記従装置の異常
を示すフラグ情報を前記従装置に対応させて記憶する記
憶手段とを有し、前記主制御装置は、前記複数の従装置
に対して順次第1のデータを送出して、前記計時手段を
セットする第1の手段と、前記従装置からのステータス
を順次受け、該ステータスが異常であると、該従装置に
対応して前記記憶手段にフラグ情報を格納し、一方該ス
テータスが正常であると、対応する従装置に第2のデー
タを送出する第2の手段と、前記記憶手段に前記フラグ
情報が格納されていると、前記計時手段がカウントアッ
プしているかどうかを判定する第3の手段とを有し、前
記第3の手段によって前記計時手段がカウントアップし
ていないと判定されると、前記第2の手段によって再び
処理が実行され、一方、前記計時手段がカウントアップ
していると、該フラグ情報に対応する従装置をエラーと
判定して該エラーの従装置を実質的に切り離すようにし
たことを特徴とするデータ伝送方式。
1. In a data transmission system comprising a main control device and a plurality of slave devices connected to the main control device, the main control device performs data transmission multiple times with each of the slave devices. The main control device has a timer for measuring time, and a storage device for storing flag information indicating an abnormality in the slave device in correspondence with the slave device, and the main control device sequentially controls one of the plurality of slave devices. A first means for transmitting data to set the timer and a status from the slave device, and if the status is abnormal, flag information is stored in the storage means corresponding to the slave device. and, if the status is normal, a second means for sending second data to the corresponding slave device, and if the flag information is stored in the storage means, the timer means counts up. and a third means for determining whether or not the timer is counting up, and when the third means determines that the timer has not counted up, the second means executes the process again; . A data transmission system characterized in that when the timer counts up, the slave device corresponding to the flag information is determined to be in error, and the slave device in error is substantially disconnected.
JP62029881A 1987-02-13 1987-02-13 Data transmission method Expired - Lifetime JP2676609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62029881A JP2676609B2 (en) 1987-02-13 1987-02-13 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62029881A JP2676609B2 (en) 1987-02-13 1987-02-13 Data transmission method

Publications (2)

Publication Number Publication Date
JPS63198441A true JPS63198441A (en) 1988-08-17
JP2676609B2 JP2676609B2 (en) 1997-11-17

Family

ID=12288318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62029881A Expired - Lifetime JP2676609B2 (en) 1987-02-13 1987-02-13 Data transmission method

Country Status (1)

Country Link
JP (1) JP2676609B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56108138A (en) * 1980-01-31 1981-08-27 Hitachi Ltd Monitor system for computer system
JPS57191757A (en) * 1981-05-21 1982-11-25 Nec Corp Trouble reporting system for multiprocessor system
JPS6165354A (en) * 1984-09-07 1986-04-03 Hitachi Ltd Detecting system of troubled processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56108138A (en) * 1980-01-31 1981-08-27 Hitachi Ltd Monitor system for computer system
JPS57191757A (en) * 1981-05-21 1982-11-25 Nec Corp Trouble reporting system for multiprocessor system
JPS6165354A (en) * 1984-09-07 1986-04-03 Hitachi Ltd Detecting system of troubled processor

Also Published As

Publication number Publication date
JP2676609B2 (en) 1997-11-17

Similar Documents

Publication Publication Date Title
EP0580938A2 (en) Duplex communication control device
US5056090A (en) Data transmission apparatus to be connected to multiplexed transmission line
JPS63198441A (en) Data transmission system
JPH02281343A (en) Cpu operation monitor system
JP3109110B2 (en) Communication device and communication method
JPH1023098A (en) Communication controller
JPH02272658A (en) Data processor
JPS63654A (en) Inter-processor communication control system
JP2570159B2 (en) Polling method
JP2733283B2 (en) Serial transmission control device
JPS62175848A (en) Monitor system for input and output action of data processing system
JPH04349555A (en) Input/output device for electronic apparatus
JPH07325768A (en) Failure reporting system
JPS6212235A (en) Transmission control equipment
JPH04329378A (en) Automatic test system for power source control device
JPH04287446A (en) Fault information transmission method
JPH06311122A (en) Automatic transmission controller for program material
JPH05158723A (en) Abnormality diagnostic device for decentralized processing type controller
JPH047655A (en) Program evaluation method and communication system evaluation device
JPH0218656A (en) Priority control system
JPH0362752A (en) Communication system
JPS6072352A (en) Data transmission system
JPH0259827A (en) Diagnosis confirming system for information processor
JPH06334669A (en) Multiplexed transmission system
JPH07273835A (en) Numerical controller with serial communication state display function

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term