JPS61150429A - Data collecting and processing device - Google Patents

Data collecting and processing device

Info

Publication number
JPS61150429A
JPS61150429A JP27604584A JP27604584A JPS61150429A JP S61150429 A JPS61150429 A JP S61150429A JP 27604584 A JP27604584 A JP 27604584A JP 27604584 A JP27604584 A JP 27604584A JP S61150429 A JPS61150429 A JP S61150429A
Authority
JP
Japan
Prior art keywords
data
word
signal
terminal
interface
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.)
Pending
Application number
JP27604584A
Other languages
Japanese (ja)
Inventor
Hirohisa Mizuhara
博久 水原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP27604584A priority Critical patent/JPS61150429A/en
Publication of JPS61150429A publication Critical patent/JPS61150429A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To attain a simple and inexpensive wiring work in case a signal generating part is remote or decentralized by providing a main body part serving as a master device and plural terminal parts as slave devices. CONSTITUTION:A device 100 serves as a main body part where data are collected and processed; while devices 200 and 300 serve as terminal parts containing interface circuits for input of process signals. Then the connection is possible among plural devices via transmission lines 80-82 like twist paired line, etc. and a crossover wiring. A general-purpose interface board 210, for example, serves a digital signal interface like a contact, etc. An external contact signal 211 is received by an interface part 212 and converted into a signal of an IC level. This signal is delivered to a data bus 201. A control circuit 213 controls the fetching order of the signals of the digital interface circuit 210 by the signal of a control bus 202.

Description

【発明の詳細な説明】 〔座業上の利用分計〕 この発明はパルス信号、接点信号、アナログ信号などの
プロセスの入力信号を収集し、データ処理して表示やデ
ータ蓄積を行なうデータ収集処理装置に関するものであ
る。
[Detailed description of the invention] [Usage meter for sedentary work] This invention is a data collection process that collects process input signals such as pulse signals, contact signals, and analog signals, processes the data, and performs display and data accumulation. It is related to the device.

〔従来の技術〕[Conventional technology]

従来のデータ収集処理装置の一例について第7図をもと
に説明する。
An example of a conventional data collection processing device will be explained based on FIG. 7.

同図において、(1)はプロセスの複数のナナログ1g
号で、アナログ信号インタフェース回路(2)に入力さ
れると、中央処理装!(以下、CPUと称する)(3)
の信号により該当する入力信号が選択され、その信号が
A/D変換回路(4)に入力されるように6J なっている。A/D変QP(4]はその信号をディジタ
ル信号に変換する。CP U (31はその信号を読み
込み、メモリ回路(5)にあらかじめ記憶された定数〈
もとづいて各測定対象毎のスケール変挨演算を行ない、
その結果をCRTインタフェース回路(6)を介して陰
億巌管(以下、CRTと称する)(7)に表示する。あ
るいはそれらのデータをもとに生成されたデータや画像
を表示する。またそのデータを所定の時間毎にプリンタ
インタフェース回路(8)を介してプリンタ(9)で印
字する。
In the same figure, (1) represents multiple nanologs 1g of the process.
When the signal is input to the analog signal interface circuit (2), the central processing unit! (hereinafter referred to as CPU) (3)
The corresponding input signal is selected by the signal 6J, and the signal is inputted to the A/D conversion circuit (4). The A/D converter QP (4) converts the signal into a digital signal.The CPU (31) reads the signal and converts it to a constant stored in the memory circuit (5).
Based on this, scale change calculations are performed for each measurement target,
The results are displayed on a CRT (hereinafter referred to as CRT) (7) via a CRT interface circuit (6). Or display data or images generated based on that data. The data is also printed by a printer (9) via a printer interface circuit (8) at predetermined time intervals.

(1(Iはプロセスの複数のディジタル信号で、ディジ
タル信号インタフェース回路αBに入力される。
(1 (I is a plurality of digital signals of the process, which are input to the digital signal interface circuit αB.

ディジタル信号が接点信号で0N10FF状聰を信号と
するものはCP U (31が必要に応じてその状態を
読み込んで0N10FFの判定を行なう0またその信号
αωがパルス信号である場合は、CPU(3)がその信
号の0N10FFの状態を読み込んでその状態を記憶し
ておき、順次読み込むととに、前回読み込んだ状態と今
回説み込んた状態を照合し、ONからOFFにあるいは
OFFからONに変化した状態を検知すると、パルスが
1パルス到来したとみなしてメモリ回路(5)の所定の
アドレスのメモリに1を加算してパルスの到来数の計数
動作を行なう。このデータを前述のアナログ信号(1)
のデータと同様にCP U (31で演算処理を行なっ
た結果を測定データとしてCRTインタフェース回路(
6)を介してCRT (7)に表示する。また、そのデ
ータをプリンタインタフェース回路(8)を介してプリ
ンタ(9)で印字する。なお、データや定数の入力や装
置の操作は操作部インタフェース回路りを介してCP 
U (31に接続された操作部−を操作することによシ
行なうことができる。
If the digital signal is a contact signal and the signal is 0N10FF, the CPU (31) reads the state as necessary and determines whether it is 0N10FF. ) reads the 0N10FF state of that signal and memorizes that state, and when read sequentially, it compares the previously read state with the current state and changes from ON to OFF or from OFF to ON. When this state is detected, it is assumed that one pulse has arrived, and 1 is added to the memory at a predetermined address in the memory circuit (5) to count the number of arriving pulses.This data is transferred to the analog signal ( 1)
Similarly to the data, the results of the arithmetic processing performed by the CPU (31) are sent to the CRT interface circuit (31) as measurement data.
6) and displayed on the CRT (7). Further, the data is printed by a printer (9) via a printer interface circuit (8). In addition, inputting data and constants and operating the device are performed via the CP interface circuit.
This can be done by operating the operating unit connected to U (31).

〔発明が解決しようとする間聴点〕[The problem that the invention attempts to solve]

従来の装置は以上のよりな構成であるので、プロセスの
測定対象の信号発生都がデータ収来処理装置から遠距離
にあったシ、あるいは分散している場合には高い信頼性
も保証しにくいうえ、配線工事が繁雑とな)高価となる
。また測定点数によってインタフェースポードの追加増
設はできるものの、それらを収納するための筐体や電源
などは増設の能力分を持っておかねばならず、その分だ
け装置が大型化して高価格となり、このため上記点数が
少なければそれだけコスト高になってしまう欠点があっ
た。
Conventional equipment has a more complex configuration than the one described above, so it is difficult to guarantee high reliability if the signal generation center to be measured in the process is located far away from the data acquisition processing equipment or is distributed. Moreover, the wiring work is complicated and expensive. Furthermore, although it is possible to add more interface ports depending on the number of measurement points, the housing and power supply to accommodate them must be prepared to accommodate the additional capacity, making the equipment larger and more expensive. Therefore, there is a drawback that the smaller the number of points, the higher the cost.

この発明は上記のような問題点を解消するためになされ
たもので、配線工事が簡単で、かつ安価となり、また、
測定点数に応じて増設が容易であシ、コストパフォーマ
ンスが高く、シかも信頼性の高いデータ収集処理装置を
提供することを目的とする。
This invention was made to solve the above-mentioned problems, and the wiring work is simple and inexpensive, and
It is an object of the present invention to provide a data collection and processing device that can be easily expanded according to the number of measurement points, has high cost performance, and is highly reliable.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るデータ収集処理装置は、親機としての本
体部と子機としての複数の端末部とに独立分離させ、そ
れらの機器には用途に応じて選択できるインタフェース
ポードを汎用スロットに実装でき、かつ本体部と各端末
部を信号線を介して接続し、この信号線に各端末部のア
ドレスワード、コントロールワード、第1のサムチェッ
クワード、データワード、さらに全ワードに対する第2
のサムチェックワードを付加し、かつ各ワードにはパリ
ティビットを付加するデータ伝送を行なうことにより高
い伝送高頼性を維持し、かつ要求機能に見合ったシステ
ム構成ができるようにしたものでるる。
The data collection processing device according to the present invention has a main unit as a parent unit and a plurality of terminal units as slave units that are independently separated, and these devices can be equipped with an interface port that can be selected according to the purpose in a general-purpose slot. , and connects the main body and each terminal section via a signal line, and connects the address word, control word, first sum check word, data word, and second sum check word for each terminal section to this signal line.
By adding a sum check word and adding a parity bit to each word during data transmission, high transmission reliability is maintained and a system configuration that meets the required functions is achieved.

〔作用〕[Effect]

この発明におけるデータ収集処理装置は、本体部および
各端末部に伝送インタフェースを有し、これが信号線を
介して接続され、各端末部にはそれぞれアドレスが設定
され、本体部から所定の端末部のアドレスを指定するア
ドレスワード、その端末部の動作モードを指定するコン
トロールワード、この2つのワードに対する第1のサム
チェックワード、さらに端末部との交信でデータ伝送を
行なう場合は所定のワード長のデータワード列、そして
全ワードに対する第2のサムチェックワードを伝送し、
かつ各ワードにはパリティチェックを付加して信頼性の
高い伝送を行なう。
The data collection processing device according to the present invention has a transmission interface in the main body and each terminal, which are connected via a signal line, each terminal has an address set, and the main body has a transmission interface for a predetermined terminal. An address word that specifies the address, a control word that specifies the operating mode of the terminal, a first sum check word for these two words, and data of a predetermined word length when transmitting data by communicating with the terminal. transmitting a word string and a second sum check word for all words;
A parity check is added to each word to ensure highly reliable transmission.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明の一実施例によるデータ収集処理装置
のシステム構成図である。
FIG. 1 is a system configuration diagram of a data collection processing device according to an embodiment of the present invention.

同図において、(100)はデータを収業しその地理を
行なう本体部である。(200)はプロセスの信号を入
力するインタフェース回路を備えた端末部である。(3
00)は端末部(200)と同様の端末部であシ、ここ
では、端末部を2台しか用いていないが、たとえばツイ
ストペア線などの伝送様路(80)、(81)、(82
)によって渡シ配線で複数台の接続が可能となるもので
ある。(190)。
In the figure, (100) is the main body that collects data and performs its geography. (200) is a terminal unit equipped with an interface circuit for inputting process signals. (3
00) is a terminal unit similar to the terminal unit (200), and although only two terminal units are used here, transmission channels (80), (81), (82) such as twisted pair wires, etc.
), it is possible to connect multiple units with cross-wire wiring. (190).

(290)、(390)は伝送インタフェース回路であ
シ、このインタフェース回路(190)、(290)。
(290) and (390) are transmission interface circuits, and these interface circuits (190) and (290).

(390)が各部の信号伝送を行なうものである。(390) is for transmitting signals from each part.

端末部(200)、(300)Jd7’ロセスインタフ
エース回路を実装できる複数の汎用スロット(図示せず
)を備えておシ、このスロットに各−の汎用インク7エ
ースポードを用途に合わせて実装できるよう<傷取され
ている。したがって、このスロットに、たとえば、プロ
セスからの接点信号、アナログ信号およびパルス信号な
どのインタフェースボードを実装することができる。
The terminal section (200), (300) is equipped with a plurality of general-purpose slots (not shown) in which Jd7' process interface circuits can be mounted, and each - general-purpose Ink7Ace port can be mounted in these slots according to the purpose. It looks like it's been damaged. Therefore, an interface board can be installed in this slot, for example for contact signals, analog signals and pulse signals from the process.

上記端末部(200)、(300)の内部構成を端末m
(200)で代表させて第2図で匡明する。(210)
、(220)、(230)、(240)は汎用インタフ
ェースボードである。たとえば(210)は接点などの
ディジタル信号インタフェースでメジ、外部からの接点
信号(211)をインタフェース部(212)で受け、
この信号をICレベルの信号に変換して、データバス(
201)に出力するようになっている。また、(202
)はコントロールパスでめ)、このパスの信号によって
制御回路(213)がディジタル信号インタフェース回
路(210)の信号の取〕込み手順を制御するものであ
る。
The internal configuration of the terminal sections (200) and (300) is
(200) is represented and illustrated in Figure 2. (210)
, (220), (230), and (240) are general-purpose interface boards. For example, (210) is a digital signal interface such as a contact, and the interface part (212) receives a contact signal (211) from the outside.
This signal is converted to an IC level signal and the data bus (
201). Also, (202
) is a control path), and the control circuit (213) controls the signal acquisition procedure of the digital signal interface circuit (210) based on the signal of this path.

(220)は、たとえばアナログ11N号を取り込むア
ナログ信号インタフェース回路であり、外部からのアナ
ログ信号(221)をインタフェース部(222)で受
け、このうち該当するGt号を)’fA次A/D’R*
1gl路(223)で、ICレベルのディジタル信号に
変換して、データバス(201)に出力する。
(220) is an analog signal interface circuit that takes in, for example, an analog 11N signal, receives an external analog signal (221) at an interface section (222), and converts the corresponding Gt signal from the external signal into 'fA next A/D'. R*
1gl path (223) converts it into an IC level digital signal and outputs it to the data bus (201).

(2z4)J:ni制御回路で、コントロールバス(2
02)からの信号でアナログ信号を取シ込みA/D変換
制御をするものである。汎用インタフェースポード(2
30)、(240)も同様の機能を有するものである0
たとえば、パルス入力インタフェースボードは前記ディ
ジタルインタフェースボードにパルス計数機器を付加し
たものである。(203)はCPUであシ、メモリ回路
(204)にあらかじめ誉き込まれたプログラム手順に
従って動作し、該当するインタフェースボード(210
)〜(240)の信号を取)込む動作を行なうものであ
る。メモリ回路(204)はその取り込んだデータを記
憶することもできるようになっている。(290)は伝
送インタフェース回路で、こむから伝送機略(80)〜
(82)を介して本体部(100)の伝送インタフェー
ス回路(190)と接続され、本体m(Woo)とデー
タ伝送を行なうことにより、信号の送受を行なうもので
ある。(291)は伝送インタフェース回路(290)
のアドレス設定部で、伝送の局のアドレスを設定するも
のである。
(2z4)J:ni control circuit, control bus (2z4)
02) is used to input analog signals and control A/D conversion. General-purpose interface board (2
30) and (240) have similar functions.
For example, a pulse input interface board is the digital interface board with the addition of pulse counting equipment. (203) is a CPU, operates according to the program procedure pre-loaded into the memory circuit (204), and connects the corresponding interface board (210).
) to (240). The memory circuit (204) is also capable of storing the captured data. (290) is the transmission interface circuit, and the transmission equipment (80) ~
It is connected to the transmission interface circuit (190) of the main body (100) via (82) and transmits and receives signals by transmitting data with the main body m (Woo). (291) is the transmission interface circuit (290)
The address setting section is used to set the address of the transmission station.

つぎに、本体部(100)の内部構成を第3図で説明す
る。(103)はCPUで、データバス(101)およ
びコントロールバス(102)を接続し、これらのパス
(101)、(102)には端末部(200)、(30
0)と同様に各極インタフェースポードを実装できる複
数の汎用スロットを備えておシ、そのスロットのうち1
つに伝送インタフェース回路(190)のボードを実装
している。この伝送インタフェース回路(190)は前
記データバス(101)およびコントロールバス(10
2)に接続されておシ、CPU(103)からのコント
ロールバス(xo2)上のコント目−ル信号によ〕制御
され、データバス(101)上のデータを受は取って送
信データを生成したり、あるいは端末部(200)、(
300)などから送信されたデータをデータバス(10
1)に出力して、CPU(103)に渡し九りするよう
に構成されてhる。
Next, the internal configuration of the main body (100) will be explained with reference to FIG. (103) is a CPU to which a data bus (101) and a control bus (102) are connected, and these paths (101) and (102) are connected to terminal units (200) and (30).
0), it has multiple general-purpose slots in which each pole interface board can be installed, and one of the slots
A transmission interface circuit (190) board is mounted on the board. This transmission interface circuit (190) is connected to the data bus (101) and control bus (10).
2) is controlled by the control signal on the control bus (xo2) from the CPU (103), receives and receives data on the data bus (101), and generates transmission data. or the terminal section (200), (
300) etc. is transferred from the data bus (10
1) and is configured to be delivered to the CPU (103) for processing.

(104)はROMで、この中にあらかじめ舊き込まれ
た、たとえばRASICなどの言甜プログラムや管理プ
ログラムとRAM(105)K★き込まれたユーザアプ
リケーションプログラムにもとづき、この装置の動作全
体が管理制御される。
(104) is a ROM, which is preloaded with a data program such as RASIC, or a management program, and a RAM (105) K★ is loaded with a user application program, and the entire operation of this device is controlled. Management controlled.

(106)はフロッピィディスクインタフェース回路で
、フロッピィディスク(107)の制御を行なうもので
ある。CPU(i03)は端末部(200)、(300
)から収集したデータやcpU(103)で生成された
データをフロッピィディスク(107)に簀き込んで記
憶させたシ、あるいはこの中に書き込まれたアプリケー
ションプログラムやパラメータなどをRAM(105)
にロードしてそのプログラムを実行したシ、パラメータ
を使用して演其処理を行なうなど、フロッピィディスク
(107)を外部記憶装置として活用することもできる
ようになっている。
(106) is a floppy disk interface circuit that controls the floppy disk (107). The CPU (i03) has terminal units (200) and (300
) and data generated by the CPU (103) are stored on a floppy disk (107), or application programs and parameters written therein are stored in a RAM (105).
The floppy disk (107) can also be used as an external storage device, such as by loading the program into a computer and executing the program, and performing calculations using parameters.

(108)はCRTインタフェース回路で、収集された
データやCPU(103)で生成された表示データおよ
び一面をCRT(109)VC出力して表示させるもの
である。(110)はプリンタインタフェース回路で、
収集されたデータやCPU(103)で生成されたデー
タをプリンタ(111)に出力し、データの作表を行な
わせるようになっている。(112)はキーボード(1
13)に接続されたキーボードインタフェース回路で、
本体部(100)あるいは端末部(200)、(300
)を含む装置全体についての操作や制御を行なう信号を
入力したシ、あるいは各種データ類を手動で入力する際
に使用するものである。第4図は伝送インタフェース回
路(190)、(290)、(390)で伝送される信
号の構成図である。この伝送は本体部(100)(以下
、17Amと称する)から順次ポーリングという方法で
端末部(以下、子機と称する)(200)、(300)
を呼び出して必要なコマンドやデータの送受を行なうも
のである。
(108) is a CRT interface circuit that outputs the collected data, display data generated by the CPU (103), and one page to the CRT (109) for display. (110) is a printer interface circuit,
The collected data and the data generated by the CPU (103) are output to a printer (111) to tabulate the data. (112) is the keyboard (1
13) with a keyboard interface circuit connected to
Main body part (100) or terminal part (200), (300
It is used when inputting signals for operating and controlling the entire device, including (), or when manually inputting various types of data. FIG. 4 is a configuration diagram of signals transmitted by the transmission interface circuits (190), (290), and (390). This transmission is carried out sequentially from the main unit (100) (hereinafter referred to as 17Am) to the terminal units (hereinafter referred to as slave units) (200) and (300).
It is used to send and receive necessary commands and data.

まず、最初にアドレスワード(601)を送出する。こ
のアドレスワード(601)は親機(100)からどの
子機に対しての伝送であるかを識別するためのもので、
子機のアドレス設定部(291)の設定値と一致する子
機がその伝送の相手となる。すなわち、親機(100)
から送信されてきたデータを伝送インタフェース回路(
29゜)が受信し、アドレスワード(601)がアドレ
ス設定部(291)の設定値と一致するとき、子機はそ
の伝送が自分を相手として送られていることを認知する
。つぎに、コントロールワード(602)を送出する。
First, an address word (601) is sent out. This address word (601) is used to identify which slave unit the base unit (100) is transmitting to.
The slave device that matches the setting value of the address setting section (291) of the slave device becomes the transmission partner. In other words, the parent device (100)
The data sent from the transmission interface circuit (
29°) and the address word (601) matches the setting value of the address setting section (291), the handset recognizes that the transmission is directed to itself. Next, a control word (602) is sent.

このコントロールワード(602)は親機(100)か
ら伝送の相手となる子機に対し、どのような動作をさせ
るかというコマンドの符号であシ、たとえば、大別して
制御動作モードとデータ長指定モードの2つの動作モー
ドを決めることができる。
This control word (602) is a command code indicating what kind of operation is to be performed from the base unit (100) to the slave unit that is the transmission partner.For example, it can be roughly divided into control operation mode and data length specification mode. Two operating modes can be determined.

すなわち、子機に対し何らかの制御をさせる場合で、た
とえば、特定のコードをある制御動作に対応させておき
、そのコードを子機が受信した時、そのコードを解読し
、あらかじめ対応させた動作をさせるわけである。たと
えは、親機からある子機に対しその子機に実装されたイ
ンタフェースボードの信号を計測して親機側に送シ出す
よう11令するのがこのコントロールワードの制御動作
モードで、ある特定のコードをそれに充てる。この動作
により子機からのデータを順次収集することができる。
In other words, when you want to perform some kind of control on the handset, for example, a specific code is associated with a certain control action, and when the handset receives that code, it decodes the code and performs the corresponding action in advance. That's why. For example, the control operation mode of this control word is the 11 command from a master unit to a certain slave unit to measure the signal of the interface board mounted on the slave unit and send it to the base unit. Apply the code to it. This operation makes it possible to sequentially collect data from the slave devices.

また、データ長指定そ−ドとは、子機との間でデータの
通信を行なう場合に送信するデータ長の指定をするもの
で、後述するデータワードが何バイトあるかの指定をす
る。たとえば、このコードがOOHのときにデータはθ
バイト、このコードがOIHのときはデータは1バイト
、このコードが02Hのときはデータは2バイトの舛成
とし、以下同様にして081(のときはデータ長は8バ
イト構成となるものである。
The data length designation code is used to designate the data length to be transmitted when data is communicated with the slave device, and designates how many bytes there are in a data word, which will be described later. For example, when this code is OOH, the data is θ
Byte, when this code is OIH, the data is 1 byte, when this code is 02H, the data is 2 bytes, and in the same way, when it is 081 (the data length is 8 bytes). .

つぎて、第1のサムチェックワード(603)を送出す
るが、これはアドレスワード(601)とコントロール
ワード(602)のコードを加算した値を第1のサムチ
ェックワード(603)とするもので、伝送時に発生す
るおそれのあるエラーチェックを行なうためのものであ
る。受1W 11Jではアドレスワード(601)とコ
ントロールワード(602)の受信コードを加算し、そ
の値と第1のサムチェックワード(603)の籠を比較
し、一致してりるときのみ正常な伝送が行なわれたと判
断する。
Next, a first sum check word (603) is sent, which is the sum of the codes of the address word (601) and control word (602). , to check for errors that may occur during transmission. In the receiving 1W 11J, the received codes of the address word (601) and control word (602) are added, and the value is compared with the basket of the first sum check word (603), and only when they match, the transmission is normal. It is determined that this has been carried out.

つぎに、データワード(610)〜(617)を送出す
る。このデータワード(610)〜(617)は親機(
100)と子機間でデータ伝送を行なう時に送受される
データであシ、前述のコントロールワード(602)が
データ長指定モードに該当するコードであるとき送信さ
れる。すなわち、たとえばコントロールワード(602
)が03Hの時はデータワードは(610)、(611
)、(612)の3バイトから構成され、また05Hの
時はデータワードは(610)、(611)、(612
)、(613)、(614)の5バイトから構成される
Next, data words (610) to (617) are sent out. These data words (610) to (617) are the main unit (
100) and a slave unit, and is transmitted when the aforementioned control word (602) is a code corresponding to the data length specification mode. That is, for example, the control word (602
) is 03H, the data word is (610), (611
), (612), and at 05H, the data word is (610), (611), (612).
), (613), and (614).

データワード(610)〜(617)の末尾に第2のサ
ムチェックワード(618)が付加され送出される。こ
の第2のサムチェックワード(618)は前述のアドレ
スワード(601)、コントロールワード(602)、
第1のサムチェックワード(603)およびデータワー
ド(610)〜(617)のコードを全て加算し、オー
バフローするものを除いた加算結果を第2のサムチェッ
クワード(618)として送出する。このワード(61
8)も前記と同体に伝送エラーのチェックを行なうだめ
のもので、受信側の動作は第1のサムチェックワード(
603)の時と同様である。
A second sum check word (618) is added to the end of the data words (610) to (617) and sent out. This second sum check word (618) includes the aforementioned address word (601), control word (602),
The codes of the first sum check word (603) and data words (610) to (617) are all added, and the addition result excluding overflows is sent out as the second sum check word (618). This word (61
8) is also used to check for transmission errors in the same way as the above, and the operation on the receiving side is based on the first sum check word (
603).

第5図はアドレスワード(601)、コントロールワー
ド(602)、第1のサムチェックワード(603)の
ワード構成のタイムチャートで。
FIG. 5 is a time chart of the word structure of the address word (601), control word (602), and first sum check word (603).

たとえばアドレスワード(601)は最初にスタートビ
ット(601a)があシ、つぎに信号のビット(601
b)が並び、最後にストップビット(601c)が付加
されている。
For example, the address word (601) starts with the start bit (601a), then the signal bit (601a).
b) are lined up, and a stop bit (601c) is added at the end.

第6図は上記アドレスワード(601)をさらに評しく
示したものである。最初にスタートピッ) (601a
 ’Jが存在し、つぎに信号のビット(60n)が9ビ
ツト構成で送信される。このうち最後のビットが誤シチ
ェツクのだめのパリティピッ) (601d )である
。そして最後にストップピッ) (6010)が存在す
る。このようなビット構成上、コントロールワード(6
02)、IEIのサムチェックワード(603)はもと
よシデータワード(610)〜(617)および第2の
サムチェックワード(618)も同様の構成とする。
FIG. 6 shows the address word (601) in more detail. first start) (601a
'J is present, and then the bit (60n) of the signal is transmitted in a 9-bit configuration. The last bit of these is a parity bit (601d) to prevent an erroneous check. Finally, there is a stop ping (6010). Due to this bit configuration, the control word (6
02), the IEI sum check word (603), the side data words (610) to (617), and the second sum check word (618) have a similar structure.

以上のようなデータの構成において、つぎのようにして
信号伝送が行なわれるO ここで、伝送エラーのチェックは受信側にて第1および
第2のサムチェックワード(603)。
In the data structure described above, signal transmission is performed as follows. Here, transmission errors are checked using the first and second sum check words (603) on the receiving side.

(618)および各ワード毎のパリティビットのチェッ
クで行なわれる。すなわち、親機(100)から該当す
る子機に第4図〜第6図に示した構成の信号を送信する
と、該当する子機はこの信号を受信し、自分自身に与え
られた信号か否かをアドレスワード(601)を解読し
て判断する。さらにパリティビットや第1および開2の
サムチェックワード(603)、(618)をチェック
し、このチェックでエラーを検出すると、動作を行なわ
ず、親機(100)からの信号の再送を待つ。
(618) and checking the parity bit for each word. In other words, when the base unit (100) sends a signal having the configuration shown in Figures 4 to 6 to the applicable slave unit, the applicable slave unit receives this signal and determines whether the signal was given to itself or not. It is determined by decoding the address word (601). Furthermore, the parity bit and the first and second sum check words (603) and (618) are checked, and if an error is detected in this check, no operation is performed and the signal is retransmitted from the base unit (100).

勿論、アドレスワード(601)に誤シがある場合は、
存在しないアドレスの子機に信号を送るような誤りをお
かす場合も生じる。この場合は該当する子機が存在しな
いのであるから、やはシ子機は何の動作もしない。
Of course, if there is an error in the address word (601),
Sometimes mistakes are made such as sending a signal to a handset with a non-existent address. In this case, since the applicable slave device does not exist, the slave device does not perform any operation.

親機(100)は一定時間子機からの動作完了の返送信
号やデータの転送を待つ。そしてこの間返送がない場合
は、再度前回と同じ信号を該当する子機に送信する。こ
の再度送信した信号を子機が正しく受信した場合は、そ
の結果を親機(100)に返送する。もし再度送信した
信号にも受信に誤りを生じた場合はやはプ親M(100
)への返送ができないため、親機(100)は子機に異
常vbとみなして、つぎの番地ヘポーリング動作を移す
The master device (100) waits for a certain period of time for a return signal indicating the completion of an operation or data transfer from the slave device. If there is no response during this time, the same signal as last time is sent to the corresponding slave unit again. If the handset correctly receives this retransmitted signal, it sends the result back to the base (100). If an error occurs in the reception of the signal transmitted again, the master M (100
), the base unit (100) regards the slave unit as having an abnormal vb and moves the polling operation to the next address.

なお、上記実施例では、子機は説明の便宜上端末部(2
00)、(300)が2台接続された場合について説明
したが、勿論必要な台数だけ接続することは可能であシ
、分散された各場所にこれらの子機を配置し、親1(1
00)からそれぞれに対して必要な信号やデータを送受
信することができる。
In the above embodiment, the handset is referred to as the terminal unit (2) for convenience of explanation.
00) and (300) are connected, but of course it is possible to connect only the necessary number of handsets.
00), necessary signals and data can be sent and received from each.

なお、接続される子機は、いろいろの数が考えられるた
め親機(100)としては、ポーリング動作をするうえ
において、子機の台数を例らかの手段で記憶しておくと
、無駄なポーリング動作をする必要がなくなり、伝送処
理能力の面で有利である。その場合、fim(100)
に接続される子機の数をスイッチ等で設定したシ、キー
ボード(113)等で接続数を入力して、内部のメ七り
回路に記憶させる等の設定手段や記憶手段を設ければよ
い。勿論、システムとして電源を投入した時にイニシャ
ル処理をして親機(100)側から順次子機をアクセス
し、返答のあった番地の子機のみが接続されていると判
断し、その子機の番地を記憶するように構成すれば、設
定手段が不要になる。
In addition, since various numbers of slave units can be connected, it is unnecessary for the master unit (100) to memorize the number of slave units by some means when performing polling operations. This eliminates the need for polling, which is advantageous in terms of transmission processing capacity. In that case, fim(100)
Setting means or storage means may be provided, such as setting the number of slave units connected to the terminal using a switch, etc., inputting the number using a keyboard (113), etc., and storing it in the internal memory circuit. . Of course, when the system is powered on, it performs initial processing and accesses the slave units one after another from the base unit (100) side, determines that only the slave unit at the address that received a response is connected, and then accesses the address of that slave unit. If configured to memorize the settings, no setting means is required.

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

以上のようにこの発明によれば、親機としての本体部と
子機としての複数の端末部とに分離した構成としたので
、信号発生部が遠距離にあったシ、あるいは分数してい
る場合には配線工◆が簡単でかつ安111I+にできる
。また、必要に応じて用途に合つたインタフェースポー
ドが選べるために要求機能に見合った構成を組むことが
でき、機能と価格の面で無駄をなくすることができる。
As described above, according to the present invention, since the main unit as a parent unit and the plurality of terminal units as slave units are separated, the signal generating unit is located at a long distance or In some cases, wiring work◆ can be done easily and cheaply to 111I+. Furthermore, since an interface board suitable for the application can be selected as necessary, a configuration suitable for the required functions can be assembled, and waste can be eliminated in terms of function and price.

さらに、本体部や端末部を必要とする場所に配置して取
付でき、また、伝送誤シのチェックを各ワード毎にはパ
リティチェック、さらに、アドレスとコントロールワー
ドには第1のサムチェックワード、また、全送信データ
には第2のサムチェックワードを付加して伝送するよう
に構成しであるので、高い伝送の信頼性を維持すること
もできる。
Furthermore, the main unit and terminal unit can be placed and installed in the required location, and a parity check is performed for each word to check for transmission errors, and a first sum check word is used for the address and control words. Furthermore, since the second sum check word is added to all transmitted data before transmission, high transmission reliability can be maintained.

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

第1図はこの発明の一実施例のデータ収集処理装置を示
すブロック図、第2図は第1図のものの端末部のm成を
示すブロック図、μ3図は第1図のものの本体部の構成
を示すブロック図、第4図は伝送インタフェース回路を
介して伝送される信号の構成図、第5図は第4図の各ワ
ードの構成のタイムチャート、第6図は第5図のアドレ
スワードのビット構成のタイムチャート、第7図は従来
の装置の構成を示すブロック図である。 (80) 、 (81) 、 (82)−・・伝送線、
(100)・・・本体部(親機)、(190)、(29
0) 、(390)・・・インタフェース回路、(20
0)。 (300)・・・端末部(子機)、(212)、(22
2)・・・インタフェース部、(601)・・・アドレ
スワード、(601d )−・・パリテイビット、(6
02)−・・コントロールワード、(603)−・・第
1のサムチェックワード、(610)〜(617)・・
・データワード、(618)・・・第2のサムチェック
ワード。 なお、図中同一符号は同一もしくは相当部分を示す。
FIG. 1 is a block diagram showing a data collection processing device according to an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of the terminal section of the device in FIG. 1, and FIG. 3 is a block diagram showing the configuration of the terminal section of the device in FIG. Figure 4 is a block diagram showing the configuration, Figure 4 is a diagram of the configuration of signals transmitted via the transmission interface circuit, Figure 5 is a time chart of the configuration of each word in Figure 4, Figure 6 is the address word in Figure 5. FIG. 7 is a block diagram showing the configuration of a conventional device. (80), (81), (82) --- transmission line,
(100)...Main unit (base unit), (190), (29
0), (390)...interface circuit, (20
0). (300)...Terminal unit (child unit), (212), (22
2)...Interface section, (601)...Address word, (601d)...Parity bit, (6
02)--Control word, (603)--First sum check word, (610)-(617)...
- Data word, (618)...second sum check word. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] (1)、プロセスのパルス信号、接点信号およびアナロ
グ信号等を入力として収集し、所定の物理量を計測し、
データ処理して表示、記録およびデータ蓄積を行なうデ
ータ収集処理装置において、データ処理、表示、記録お
よびデータ蓄積を行なう親機としての本体部と、プロセ
スの信号を取り込む子機としての複数の端末部からなり
、端末部にはプロセスに応じて選択されるインタフェー
ス部を有し、各端末部および本体部には伝送インタフェ
ース回路を備え、各伝送インタフェース回路を信号線で
渡り配線で接続して、本体部から端末部を呼出しながら
各プロセスの信号データを収集することを特徴とするデ
ータ収集処理装置。
(1) Collect process pulse signals, contact signals, analog signals, etc. as input, measure predetermined physical quantities,
In a data collection processing device that processes data, displays, records, and stores data, it has a main unit as a master unit that processes, displays, records, and stores data, and multiple terminal units that function as slave units that capture process signals. The terminal section has an interface section selected according to the process, each terminal section and the main body section are equipped with a transmission interface circuit, and each transmission interface circuit is connected with a signal line by crossover wiring, and the main body 1. A data collection and processing device that collects signal data of each process while calling a terminal section from a terminal section.
(2)、各端末部には自身の伝送インタフェース回路に
対してのアドレス設定手段を有し、伝送データは、アド
レスを指定するアドレスワード、端末部の動作モードを
指定するコントロールワード、この2つのワードに対す
る第1のサムチェックワード、およびコントロールワー
ドがデータ長指定モードのときは、さらにデータ長指定
数のデータワード、さらには全ワードに対する第2のサ
ムチェックワードからなり、各ワードにはパリテイビッ
トが付加されている特許請求の範囲第1項記載のデータ
収集処理装置。
(2) Each terminal unit has address setting means for its own transmission interface circuit, and the transmission data consists of an address word that specifies the address, a control word that specifies the operating mode of the terminal unit, and these two. It consists of a first sum check word for a word, and when the control word is in the data length specification mode, a data length specified number of data words, and a second sum check word for all words, and each word has a parity. The data collection processing device according to claim 1, wherein a bit is added.
JP27604584A 1984-12-24 1984-12-24 Data collecting and processing device Pending JPS61150429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27604584A JPS61150429A (en) 1984-12-24 1984-12-24 Data collecting and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27604584A JPS61150429A (en) 1984-12-24 1984-12-24 Data collecting and processing device

Publications (1)

Publication Number Publication Date
JPS61150429A true JPS61150429A (en) 1986-07-09

Family

ID=17564018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27604584A Pending JPS61150429A (en) 1984-12-24 1984-12-24 Data collecting and processing device

Country Status (1)

Country Link
JP (1) JPS61150429A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6352330U (en) * 1986-09-24 1988-04-08
EP1104735A1 (en) * 1998-06-19 2001-06-06 Hitachi, Ltd. Multiple system processor, controller connected to multiple system processor, and multiple system processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4994243A (en) * 1972-10-11 1974-09-06
JPS5475955A (en) * 1977-11-30 1979-06-18 Hitachi Ltd Delivery system of monitor frame at terminal unit
JPS5680945A (en) * 1979-12-05 1981-07-02 Hitachi Ltd Two-way signal transmitter
JPS57119535A (en) * 1981-01-19 1982-07-26 Nec Corp Control station device
JPS5992653A (en) * 1982-11-19 1984-05-28 Toshiba Corp Data transmitter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4994243A (en) * 1972-10-11 1974-09-06
JPS5475955A (en) * 1977-11-30 1979-06-18 Hitachi Ltd Delivery system of monitor frame at terminal unit
JPS5680945A (en) * 1979-12-05 1981-07-02 Hitachi Ltd Two-way signal transmitter
JPS57119535A (en) * 1981-01-19 1982-07-26 Nec Corp Control station device
JPS5992653A (en) * 1982-11-19 1984-05-28 Toshiba Corp Data transmitter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6352330U (en) * 1986-09-24 1988-04-08
JPH0526848Y2 (en) * 1986-09-24 1993-07-07
EP1104735A1 (en) * 1998-06-19 2001-06-06 Hitachi, Ltd. Multiple system processor, controller connected to multiple system processor, and multiple system processing system
EP1104735A4 (en) * 1998-06-19 2004-10-06 Hitachi Ltd Multiple system processor, controller connected to multiple system processor, and multiple system processing system

Similar Documents

Publication Publication Date Title
US3866175A (en) Data communication system between a central computer and a plurality of data terminals
US4862355A (en) System permitting peripheral interchangeability during system operation
EP0188522B1 (en) Polling method for data processing system
KR930000730B1 (en) Method of communications between register modelled radio device
JPS63228844A (en) Method of data coupling between asynchronous interface, data module and asynchronous peripherals
US4688171A (en) Serial bus for master/slave computer system
JPH02119846A (en) Magnetic resonance imaging system
US4860292A (en) Communication protocol
JPH035626B2 (en)
EP0303991A2 (en) Method of packetizing data
CN110086778B (en) UPS communication protocol conversion device
JPS61150429A (en) Data collecting and processing device
WO2001029657A1 (en) Method of updating program and communication terminal
JP2564740Y2 (en) Terminal adapter
JP3335016B2 (en) Wireless address setting device
US20030229732A1 (en) Serial bus type configuration recognition and alarm apparatus
US6944176B1 (en) Method and apparatus for bit level network data multiplexing
JPS5829243A (en) Signal monitoring device of transmission system
JPH0417455B2 (en)
JPS5916455A (en) Method for testing call characteristics of digital exchange
JP2885469B2 (en) Remote maintenance system
CN115525500A (en) Equipment debugging method, device, equipment and medium
JPH05244230A (en) Data transmission test equipment
JPS583440A (en) Data transmitting device for monitor control of atomic power plant
JPH09130873A (en) Transmitting and receiving circuit