JPH0443794A - Data collection device - Google Patents

Data collection device

Info

Publication number
JPH0443794A
JPH0443794A JP15105790A JP15105790A JPH0443794A JP H0443794 A JPH0443794 A JP H0443794A JP 15105790 A JP15105790 A JP 15105790A JP 15105790 A JP15105790 A JP 15105790A JP H0443794 A JPH0443794 A JP H0443794A
Authority
JP
Japan
Prior art keywords
unit
data
control
slave
serial
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
JP15105790A
Other languages
Japanese (ja)
Other versions
JPH0716272B2 (en
Inventor
Hiroyuki Tanuma
田沼 浩行
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP15105790A priority Critical patent/JPH0716272B2/en
Publication of JPH0443794A publication Critical patent/JPH0443794A/en
Publication of JPH0716272B2 publication Critical patent/JPH0716272B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To simplify the communication processing with a slave unit by providing a parallel I/O means and a serial I/O means making the selection of plural controlled sections, type of control and input output control based on data given from a command analysis means. CONSTITUTION:A command analysis means 22 analyzes request information and takes over the control to a parallel I/O means 23 or a serial I/O means 24. The serial I/O means 24 outputs a controlled section selection signal 26 and a control type signal 27 selecting one control section in the controlled section 30 to the controlled section 30 by analyzing the content of command request information. When number of data control of the slave unit is less, the parallel I/O means 23 is used and when the number of data control is much and plural controlled sections are in use, the serial I/O means 24 is used. Thus, the control section of all slave units is used in common.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データの収集とコントロールを行う装置に関
し、特に、データの収集とコントロールの対象が複数あ
り、それらの項目数が可変長である場合に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a device that collects and controls data, and in particular, a device that collects and controls data and has a plurality of objects and the number of items is variable in length. Regarding the case.

〔従来の技術〕[Conventional technology]

従来、ポイント・トウ・マルチで接続されたマスタ・ユ
ニットと複数のスレイブ・ユニット間で、可変長のデー
タの収集とコントロールを行なう場合、スレイブ・ユニ
ットごとにCPUを実装し、CPUによるリクエストを
解析後、マスタ・ユニットが各スレイブ・ユニットから
のデータの収集、コントロールを行なっていた。
Conventionally, when collecting and controlling variable length data between a master unit and multiple slave units connected by point-to-multiple, a CPU was installed in each slave unit and requests by the CPU were analyzed. After that, the master unit collected data from each slave unit and controlled it.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ収集装置では、各スレイブ・ユニ
ットにCPUを実装するため、実装面積の拡大、コスト
の増加、処理速度の低下、また、マスタ・ユニット側も
スレイブ・ユニットとの通信のための処理が複雑となる
ため、スループットが上がらないという欠点がある。
In the conventional data collection device described above, each slave unit is equipped with a CPU, which increases the mounting area, costs, and processing speed. The disadvantage is that the throughput cannot be increased because the processing is complicated.

〔課題を解決するための手段〕 本発明のデータ収集装置は、1台のユニット(マスタ・
ユニット)カ複数のユニット(スレイブ・ユニット)の
データを収集、あるいは、スレイブ・ユニットのコント
ロールを行なう場合ニ、マスタ・ユニットと複数のスレ
イブ・ユニ、トのデータの送受信が行なえるポイント・
トウ・マルチ接続の通信線を設け、スレイブが各々唯一
の識別子を有するものである。
[Means for Solving the Problems] The data collection device of the present invention has one unit (a master unit).
When collecting data from multiple units (slave units) or controlling slave units, there is a point where data can be sent and received between the master unit and multiple slave units.
A tow multi-connection communication line is provided, and each slave has a unique identifier.

マスタ・ユニットは、上記の通信線と接続されたスレイ
ブ・ユニットの識別子を持ち、スレイブ・ユニット内の
被コントロール部の選択とコントロール種別を通知する
コマンドを発行し、そのレスポンスを収集するスレイブ
・ユニット・コントロール手段を含む。
The master unit has the identifier of the slave unit connected to the above communication line, issues a command to notify the selection of the controlled part in the slave unit and the control type, and collects the response from the slave unit.・Includes control means.

スレイフ昏ユニットは、マスタ・ユニットカラのシリア
ル通信によるリクエストに対して、自ユニットの識別子
であれば、そのリクエストを受信し、レスポンスを送信
するデータ通信手段と、受信したリクエストのコマンド
を解析し、そのリクエストがデータの収集であるのか、
スレイブ・ユニット上の被コントロール部のコントロー
ルであるのかを判定し、更に、その制御をパラレル1/
O手段あるいは、シリアルI/O手段に引き渡すコマン
ド解析手段と、コマンド解析手段から引き渡されたデー
タをもとに、パラレルのディスクリートの入出力を行な
うパラレルI/O手段と、コマンド解析手段から引き渡
されたデータをもとに、複数ある被コントロール部の選
択と、コントロールの種別、入出力の制御を行なうシリ
アル170手段とを含む。
In response to a request via serial communication from the master unit, the Sleif unit receives the request if it is its own unit's identifier, uses a data communication means to send a response, and analyzes the command of the received request. Is the request for data collection?
It is determined whether the control is for the controlled section on the slave unit, and further the control is performed by parallel 1/
O means or serial I/O means, a command analysis means that performs parallel discrete input/output based on the data delivered from the command analysis means, and a parallel I/O means that performs parallel discrete input/output based on data delivered from the command analysis means. It includes a serial 170 means for selecting a plurality of controlled units, controlling the type of control, and controlling input/output based on the data obtained.

〔実施例〕〔Example〕

次に本発明の実施例について、図面を参照して、詳細に
説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明のデータ収集装置の構成図で、マスタ
・ユニット1は、シリアル通信路7により各々の識別子
を持ったスレイブ・ユニット2゜3.4とポイント・ト
ウ・マルチで接続されている。マスク・ユニy)1は、
リクエスト発行部5から発行されたリクエスト情報を各
スレイブ・ユニットに対して送信し、スレイブ・ユニッ
トに対して、データの送信の要求とその要求に対して送
信されたデータの収集あるいは、スレイブ・ユニットの
コントロールを行ナウスレイブ・ユニット・コントロー
ル部6を持っている。
FIG. 1 is a block diagram of the data collection device of the present invention, in which a master unit 1 is connected in a point-to-multipoint manner to slave units 2.3.4, each having its own identifier, through a serial communication path 7. ing. Mask Uniy) 1 is
The request information issued by the request issuing unit 5 is transmitted to each slave unit, and the slave unit is requested to send data and collect the data transmitted in response to the request, or the slave unit It has a nowslave unit control section 6 for control.

マスタ・ユニット1が発行するリクエスト情報は、デー
タ送信のリクエストを行なうスレイブ・ユニットを示す
識別子のデータを持っており、コントロールを行なう場
合は、そのデータが含まれている。また、スレイブ・ユ
ニット内にはリクエスト情報を受けつける複数の被コン
トロール部(第2図の30)があり、その被コントロー
ル部トp−ル種別のためのデータが含まれる。
The request information issued by the master unit 1 has identifier data indicating the slave unit making the data transmission request, and includes this data when controlling the slave unit. Further, within the slave unit, there are a plurality of controlled sections (30 in FIG. 2) that receive request information, and data for the controlled section top type is included.

マスタ・ユニッ)1は、上記のリクエスト情報を発行す
ることにより、任意のスレイブ・ユニットから可変長の
データの収集、あるいは、コントロールを行なうことが
できる。
By issuing the above request information, the master unit 1 can collect variable length data from any slave unit or perform control.

上記で述べたマスタ・ユニット1の動作を実現させるた
めの各スレイブユニッ)2,3.4の内部構成を第2図
に示す。図において、スレイブ・ユニット/Oは第1図
のスレイブ・ユニット2゜3.4を代表するものである
。スレイブ・ユニット/Oは、大きく分けて、制御部2
0と複数の被コントロール部30から構成されている。
FIG. 2 shows the internal structure of each slave unit 2, 3.4 for realizing the operation of the master unit 1 described above. In the figure, slave unit /O is representative of slave unit 2.3.4 in FIG. The slave unit/O is roughly divided into the control unit 2
0 and a plurality of controlled units 30.

制御部20は、マスタ・ユニット1に接続されたスレイ
ブ・ユニットすべて共通に実装される。被コントロール
部30は、スレイブ・ユニットごとに異なったものが実
装される。被コントロール部30は、制御部とのインタ
ーフェースにより、パラレル・インターフェース(ハラ
レルI/O手段)  23とシリアル・インターフェー
ス(シリアル1/O手段)24に分けられる。パラレル
・インターフェース23は、制御部20の信号数により
制限される為、大量のデータの収集とフン)+=−ルに
は適さない。このため、マスタ・ユニットに収集される
データのうち少量のものはパラレル・インターフェース
23を介して入出力される。一方、シリアル・インター
フェース24は、データ28をシリアル化して大田力す
るため、被コントロール部30と大量のデータの入出力
が可能である。
The control unit 20 is commonly implemented in all slave units connected to the master unit 1. A different controlled section 30 is implemented for each slave unit. The controlled section 30 is divided into a parallel interface (halal I/O means) 23 and a serial interface (serial 1/O means) 24 depending on the interface with the control section. Since the parallel interface 23 is limited by the number of signals of the control unit 20, it is not suitable for collecting large amounts of data. Therefore, a small amount of data collected in the master unit is input/output via the parallel interface 23. On the other hand, since the serial interface 24 serializes and transmits the data 28, it is possible to input and output a large amount of data to and from the controlled section 30.

第2図の制御部20の動作を以下に示す。The operation of the control section 20 shown in FIG. 2 will be described below.

マスタ・ユニット1からシリアル通信路7により、送信
されたリクエスト情報のうち識別子が自ユニットと一致
するものだけをデータ送受信手段21は受信し、そのデ
ータをコマンド解析手段22に引き渡す。コマンド解析
手段22は、リクエスト情報を解析し、その制御をパラ
レルI/O手段23あるいは、シリアルI/O手段24
に引き渡す。パラレルI/O手段23は、リクエストに
応じて、その入出力端子から被コントロール部30に対
して、パラレルデータの収集あるいは、コントロールを
行なう。収集した被コントロール部30からのデータは
、データ送受信手段21に送られ、マスタ・ユニット1
に送信される。シリアルI/O手段24は、リクエスト
情報のコマンド内容を解析することによって被コントロ
ール部30の中の1つのコントロール部を選択する被コ
ントロール部選択信号26とコントロールの種別信号2
7を被コントロール部30に出力する。コマンド解析手
段8によりデータの収集と判定された場合は、被コント
ロール部30は収集データをシリアルI/O手段24を
通じて、シリアルで転送する。この転送されたデータは
、データ送受信手段21に送られ、マスタ・ユニット1
に送信される。
Of the request information transmitted from the master unit 1 through the serial communication path 7, the data transmitting/receiving means 21 receives only the request information whose identifier matches that of the own unit, and passes the data to the command analyzing means 22. The command analysis means 22 analyzes the request information and controls it by the parallel I/O means 23 or the serial I/O means 24.
hand over to. The parallel I/O means 23 collects parallel data from or controls the controlled section 30 from its input/output terminal in response to a request. The collected data from the controlled unit 30 is sent to the data transmitting/receiving means 21 and sent to the master unit 1.
sent to. The serial I/O means 24 outputs a controlled unit selection signal 26 for selecting one control unit from the controlled units 30 by analyzing the command content of the request information, and a control type signal 2.
7 is output to the controlled section 30. If the command analysis means 8 determines that data should be collected, the controlled section 30 serially transfers the collected data through the serial I/O means 24. This transferred data is sent to the data transmitting/receiving means 21, and the master unit 1
sent to.

一方、コントロールと判定された場合は、コントロール
テータがシリアルI/O手段23を介してシリアル転送
され、これを受信した被コントロール部30がこの受信
データを展開して、白波コントロール部内のコントロー
ルを行なう。
On the other hand, if it is determined that the control data is controlled, the control data is serially transferred via the serial I/O means 23, and the controlled section 30 that receives this expands this received data and performs control within the white wave control section. .

〔発明の効果〕〔Effect of the invention〕

本発明により、1台のマスタ・ユニットが複数のスレイ
ブ・ユニットからデータを収集、あるいは、コントロー
ルする場合、スレイブ・ユニットのデータ、コントロー
ルの数が、少量の場合、パラレルI/O手段を、データ
、コントロールの数が大量であり、複数の被コントロー
ル部がある場合、シリアルI/O手段を使用することに
より、マスタ・ユニットに接続されたすべてのスレイブ
・ユニットの制御部を共通にすることができる。
According to the present invention, when one master unit collects or controls data from a plurality of slave units, when the number of data and controls of the slave units is small, parallel I/O means can be used to collect or control data from multiple slave units. If the number of controls is large and there are multiple controlled units, it is possible to make the control unit common to all slave units connected to the master unit by using serial I/O means. can.

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

第1図は本発明の実施例を示すブロック図、第2[ff
lハ本発明の実施例の構成のうちのスレイブ・ユニット
を示すブロック図である。 代理人 弁理士  内 原   晋
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an embodiment of the present invention.
FIG. 1C is a block diagram showing a slave unit in the configuration of the embodiment of the present invention. Agent Patent Attorney Susumu Uchihara

Claims (1)

【特許請求の範囲】 1台のユニット(マスタ・ユニット)が複数のユニット
(スレイブ・ユニット)のデータを収集、あるいは各ス
レイブ・ユニットのコントロールを行なうデータ収集装
置において、 前記マスタ・ユニットと前記複数のスレイブ・ユニット
の間に、データの送受信が行なえるポイント・トウ・マ
ルチ接続の通信線を設け、前記スレイブが各々唯一の識
別子を有する装置構成であって、 前記マスタ・ユニットに、 前記スレイブユニットの識別子を持ち、前記スレイブ・
ユニット内の被コントロール部の選択とコントロール種
別を通知するコマンドを発行し、そのレスポンスを収集
するスレイブ・ユニット・コントロール手段を設け、 前記スレイブ・ユニットに、 前記マスタ・ユニットからのシリアル通信によるリクエ
ストに対して、自ユニットの識別子であれば、そのリク
エストを受信し、レスポンスを送信するデータ通信手段
と、 受信したリクエストのコマンドを解析し、そのリクエス
トがデータの収集であるのか、スレイブ・ユニット上の
被コントロール部のコントロールであるのかを判定し、
更に、その制御をパラレルI/O手段あるいは、シリア
ルI/O手段に引き渡すコマンド解析手段と、 コマンド解析手段から引き渡されたデータをもとに、パ
ラレルなディスクリートの入出力を行なうパラレルI/
O手段と、 コマンド解析手段から引き渡されたデータをもとに、複
数ある被コントロール部の選択と、コントロールの種別
、入出力の制御を行なうシリアルI/O手段とを設ける
ことを特徴としたデータ収集装置。
[Scope of Claims] A data collection device in which one unit (master unit) collects data of a plurality of units (slave units) or controls each slave unit, comprising: the master unit and the plurality of slave units; A point-to-multi connection communication line capable of transmitting and receiving data is provided between the slave units of the slave unit, and each of the slaves has a unique identifier, and the master unit is connected to the slave unit. The slave has an identifier of
Slave unit control means is provided to issue a command to notify the selection of a controlled part in the unit and the control type, and collect the response, and the slave unit is configured to respond to a request via serial communication from the master unit. On the other hand, if it is the own unit's identifier, the data communication means that receives the request and sends the response, and the data communication means on the slave unit that analyzes the command of the received request and determines whether the request is for data collection. Determine whether it is the control of the controlled part,
Furthermore, there is a command analysis means that transfers the control to the parallel I/O means or serial I/O means, and a parallel I/O that performs parallel discrete input/output based on the data transferred from the command analysis means.
O means and serial I/O means for selecting a plurality of controlled parts, controlling type of control, and controlling input/output based on data delivered from the command analysis means. Collection device.
JP15105790A 1990-06-08 1990-06-08 Data collection device Expired - Fee Related JPH0716272B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15105790A JPH0716272B2 (en) 1990-06-08 1990-06-08 Data collection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15105790A JPH0716272B2 (en) 1990-06-08 1990-06-08 Data collection device

Publications (2)

Publication Number Publication Date
JPH0443794A true JPH0443794A (en) 1992-02-13
JPH0716272B2 JPH0716272B2 (en) 1995-02-22

Family

ID=15510356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15105790A Expired - Fee Related JPH0716272B2 (en) 1990-06-08 1990-06-08 Data collection device

Country Status (1)

Country Link
JP (1) JPH0716272B2 (en)

Also Published As

Publication number Publication date
JPH0716272B2 (en) 1995-02-22

Similar Documents

Publication Publication Date Title
JPH05219090A (en) Hierarchy network control system and concentrator for said system and network element of interest
KR900005307A (en) Master Slave Control System
JPH0443794A (en) Data collection device
JP2001313659A (en) Field device communication device in distributed control system
JPH03270535A (en) Line concentrator
JP2826326B2 (en) Data collection method
US20030040230A1 (en) Multimaster bus system
JPH0519839A (en) Numerical control group control system
JP2754818B2 (en) Collection data transfer method
JPS58137347A (en) Polling system
JP3193942B2 (en) Data collection and transmission equipment
JPH04302238A (en) Transmission control system
JP3226527B2 (en) Exchange control information transmission / reception method
JPS57150058A (en) Information processing system
JPS621079A (en) Distributed processing system for analog data
JPH0378857A (en) Communication control method
JPH02158855A (en) Terminal communication system
JPH07129417A (en) Inter-process communication system
JPS60246466A (en) Communication request selecting system
JPH0152947B2 (en)
JPH01191540A (en) Unbalanced type data link communication circuit
JPH03254250A (en) Multiplex transmission system
JPH03109645A (en) Communication request processing method
JPH0332245A (en) Alarm information collection system
JPH05189382A (en) Communication method between processors

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080222

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090222

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100222

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees