JPH0214824B2 - - Google Patents

Info

Publication number
JPH0214824B2
JPH0214824B2 JP57065206A JP6520682A JPH0214824B2 JP H0214824 B2 JPH0214824 B2 JP H0214824B2 JP 57065206 A JP57065206 A JP 57065206A JP 6520682 A JP6520682 A JP 6520682A JP H0214824 B2 JPH0214824 B2 JP H0214824B2
Authority
JP
Japan
Prior art keywords
data
station
master station
slave
transmission 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.)
Expired - Lifetime
Application number
JP57065206A
Other languages
Japanese (ja)
Other versions
JPS58182341A (en
Inventor
Toshiaki Sasaki
Atsushi Soda
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.)
Chino Corp
Original Assignee
Chino 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 Chino Corp filed Critical Chino Corp
Priority to JP6520682A priority Critical patent/JPS58182341A/en
Publication of JPS58182341A publication Critical patent/JPS58182341A/en
Publication of JPH0214824B2 publication Critical patent/JPH0214824B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Description

【発明の詳細な説明】 (1) 発明の分野 この発明は、主局からのポーリング信号に従局
が応答してデータを送信するようなデータ伝送装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Field of the Invention The present invention relates to a data transmission device in which a slave station transmits data in response to a polling signal from a master station.

(2) 従来技術 従局として、例えば温度等のプロセス量を収集
し、所定の演算を行い、制御信号等を発生させる
デジタル調節計のような演算装置がある。そし
て、主局からの割り込み信号に応答して従局が所
定のデータを送信しなければならないとすると、
従局はデータの収集・演算と、主局との通信との
2機能を同時に行なわなければならず、従局への
負担が増大し、迅速なデータ伝送、データ処理が
困難である問題点があつた。
(2) Prior Art As a slave station, there is a calculation device such as a digital controller that collects process variables such as temperature, performs predetermined calculations, and generates control signals and the like. Then, suppose that the slave station has to transmit predetermined data in response to an interrupt signal from the master station.
The slave station had to perform two functions at the same time: data collection and calculation and communication with the master station, which increased the burden on the slave station and made it difficult to quickly transmit and process data. .

(3) 発明の目的 この発明の目的は、以上の点に鑑み、迅速、確
実なデータ伝送を可能としたデータ伝送装置を提
供することである。
(3) Purpose of the Invention In view of the above points, the purpose of the present invention is to provide a data transmission device that enables rapid and reliable data transmission.

(4) 発明の実施例 第1図は、この発明の一実施例を示す構成説明
である。
(4) Embodiment of the Invention FIG. 1 is a configuration diagram showing an embodiment of the invention.

1は主局、21,22,23は温度等のプロセ
ス量を入力とし、設定値と比較して所定の制御出
力を発生するデジタル調節計等の演算装置により
なる従局で、これら主局1と従局21,22,2
3とは伝送線lで接続されている。
1 is the main station, and 21, 22, and 23 are slave stations consisting of arithmetic devices such as digital controllers that take process variables such as temperature as input, compare them with set values, and generate predetermined control outputs. Slave station 21, 22, 2
3 through a transmission line l.

ここで、主局1が収集したデータは、従局2
1,22,23の入力値、設定値等の変化するデ
ータで、これをあらかじめ任意にいくつか定めて
おき、主局1からのポーリングに対して順々にデ
ータを送信するようにすれば、必要なデータを早
く収集できる。なおポーリング時に送信するデー
タは、任意に選択でき、メモリに格納したり、設
定スイツチで設定することができる。
Here, the data collected by master station 1 is
1, 22, 23, input values, setting values, etc., which can be arbitrarily determined in advance, and the data can be sent in sequence in response to polling from the main station 1. Necessary data can be collected quickly. Note that the data to be transmitted during polling can be arbitrarily selected, stored in memory, or set using a setting switch.

つまり、第2図で示すように、主局からのポー
リング信号P1,P2,P3,P1,…に対して、従局
21,22,23はあらかじめ任意に定められた
測定値、設定値等の変化するデータ内容TEXT
を、ポーリング毎に順次1個ずつ主局1に送信す
るようにしている。主局1は、この従局21,2
2,23のデータを受信したときは了解信号
ACKを発生する。
In other words, as shown in Fig. 2, in response to polling signals P 1 , P 2 , P 3 , P 1 , ... from the master station, the slave stations 21, 22, 23 respond to predetermined measurement values and settings. Data content that changes such as value TEXT
are sequentially transmitted to the main station 1 one by one for each polling. The master station 1 is connected to the slave stations 21 and 2.
When data 2 and 23 are received, an acknowledgment signal is sent.
Generates an ACK.

次に、主局1が例えば特定の従局21に対し、
特別な特に必要とするデータを読み出したいと
き、あるいは、書き込みたいときは、次のように
する。第3図で示すように、通常のポーリング信
号の代わりに、転送要求信号あるいは、書き込み
要求信号P1 TEXT READ(WRITE)を従局2
1に送信して割り込み、従局21は了解信号
(ACK)を発生する。そして、引き続く次のポー
リング信号P1によつて、従局21は、要求デー
タTEXTを送信または書き込まれたデータ
TEXTをアンサーバツクする。割り込みが終了
すれば、通常の動作に戻る。
Next, the master station 1, for example, tells a specific slave station 21,
When you want to read or write special data, do the following. As shown in Figure 3, instead of a normal polling signal, a transfer request signal or a write request signal P 1 TEXT READ (WRITE) is sent to the slave station 2.
1 and interrupt, and the slave station 21 generates an acknowledge signal (ACK). Then, in response to the next polling signal P1 , the slave station 21 transmits the request data TEXT or the written data.
Answer backup TEXT. When the interrupt ends, normal operation resumes.

なお、主局1からの書き込み要求が連続的にあ
つたとき、従局21は、その内容を順々に連続的
に書き込むようにし、最後のポーリング信号で、
最終の書き込みデータのみをアンサーバツクす
る。
Note that when write requests are received continuously from the master station 1, the slave station 21 writes the contents one after another, and with the last polling signal,
Unbacks only the last written data.

第4図は、演算装置21の概要を示し、第1の
マイクロコンピユータ221は、温度等のプロセ
ス量を入力とし、設定値と比較演算して制御出力
を発生し、種々の設定値、最新の入力値を第1の
メモリM1に格納するよう動作している。第2の
マイクロコンピユータ222は、主局1からのポ
ーリング信号P1等を受信するとともに、第1の
マイクロコンピユータ221の第1のメモリM1
からあらかじめ任意に定められたデータのみを自
分の第2のメモリM2に格納し、送信するように
している。
FIG. 4 shows an overview of the arithmetic unit 21. The first microcomputer 221 receives process variables such as temperature as input, performs comparison calculations with set values, generates control outputs, and outputs various set values and the latest information. It is operative to store the input value in the first memory M1 . The second microcomputer 222 receives the polling signal P1 etc. from the main station 1, and also receives the first memory M1 of the first microcomputer 221.
From there, only data arbitrarily determined in advance is stored in its own second memory M2 and transmitted.

例えば、転送要求が主局1からあつたとき、第
2のマイクロコンピユータ222は、了解信号
ACKを外部に送信するとともに、第1のマイク
ロコンユータ221の第1のメモリM1から必要
とするデータを自分の第2のメモリM2に格納し、
次のポーリング信号により、このデータを主局1
に転送するようにしている。
For example, when a transfer request is received from the main station 1, the second microcomputer 222 sends an acknowledgment signal.
Sends the ACK to the outside, and stores the required data from the first memory M1 of the first microcomputer 221 in its own second memory M2 ,
The next polling signal sends this data to the main station 1.
I am trying to transfer it to.

つまり、このようにすることにより、従局での
負担は、いつそう軽くなり、高速で、しかも最新
のデータを主局は収集できることになる。
In other words, by doing this, the burden on the slave station becomes much lighter, and the master station can collect the latest data at high speed.

(5) 発明の要約 この発明は、通常時、従局は、主局からのポー
リング信号に対して送信することをあらかじめ伝
意に定められたデータを送信し、主局からの特に
必要とするデータの転送要求または書き込み要求
があつたときは次のポーリング時に要求データを
送信またはアンサーバツクするようにしたデータ
伝送装置である。
(5) Summary of the Invention In this invention, in normal times, a slave station transmits data predetermined to be transmitted in response to a polling signal from a master station, and receives data that is specifically required from the master station. When a transfer request or write request is received, the data transmission device transmits or answers the requested data at the next polling.

(6) 発明の効果 上位の主局は、あらかじめ定められたデータ
のみを収集するようにしているので、迅速なデ
ータの収集が可能である。
(6) Effects of the invention Since the upper main station collects only predetermined data, it is possible to collect data quickly.

データの転送要求があつたとき、すぐにデー
タを転送せず、次のポーリング信号でデータを
転送するようにして、時間的余裕をもたせてい
るので、下位の従局の負担は軽減し、しかも最
新のデータを収集できる。
When a data transfer request is made, the data is not transferred immediately, but is transferred with the next polling signal, allowing time leeway, which reduces the burden on lower-level slave stations and provides the latest data can be collected.

データの書き込みは、アンサーバツクにより
確認しているので正確なものとなる。
Data writing is confirmed by the answer check, so it is accurate.

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

第1図、第4図は、この発明の一実施例を示す
構成説明図、第2図、第3図は動作説明用信号図
である。 1……主局、21,22,23……従局、l…
…伝送線。
1 and 4 are configuration explanatory diagrams showing one embodiment of the present invention, and FIGS. 2 and 3 are signal diagrams for explaining the operation. 1...Main station, 21, 22, 23...Slave station, l...
...transmission line.

Claims (1)

【特許請求の範囲】 1 主局からのポーリング信号に応答して複数の
従局がデータを送信するデータ伝送装置におい
て、従局は、通常時、主局からのポーリング信号
に対してあらかじめ送信することを任意に定めら
れたデータを送信し、主局から特に必要とするデ
ータの転送要求または書き込み要求があつたとき
は、引き続く次のその従局へのポーリング時に要
求データを送信または書き込まれたデータをアン
サーバツクするようにしたことを特徴とするデー
タ伝送装置である。 2 主局からの書き込み要求が連続的にあつたと
き、従局は連続的にデータの書き込みを行うよう
にしたことを特徴とする特許請求の範囲第1項記
載のデータ伝送装置。
[Claims] 1. In a data transmission device in which a plurality of slave stations transmit data in response to a polling signal from a master station, the slave stations normally transmit data in advance in response to a polling signal from the master station. When the master station sends arbitrarily specified data and requests to transfer or write particularly required data, the requested data is sent or the written data is answered during the subsequent polling of the slave station. This data transmission device is characterized in that it is configured to perform back-up. 2. The data transmission device according to claim 1, wherein the slave station continuously writes data when write requests are continuously received from the master station.
JP6520682A 1982-04-19 1982-04-19 Data transmitter Granted JPS58182341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6520682A JPS58182341A (en) 1982-04-19 1982-04-19 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6520682A JPS58182341A (en) 1982-04-19 1982-04-19 Data transmitter

Publications (2)

Publication Number Publication Date
JPS58182341A JPS58182341A (en) 1983-10-25
JPH0214824B2 true JPH0214824B2 (en) 1990-04-10

Family

ID=13280205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6520682A Granted JPS58182341A (en) 1982-04-19 1982-04-19 Data transmitter

Country Status (1)

Country Link
JP (1) JPS58182341A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6176072A (en) * 1984-09-20 1986-04-18 Mitsubishi Electric Corp Inverter device
JPH0820886B2 (en) * 1987-03-19 1996-03-04 オムロン株式会社 ID system data read control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54158104A (en) * 1978-06-02 1979-12-13 Nec Corp Multiple polling system
JPS55124839A (en) * 1979-03-20 1980-09-26 Fujitsu Ltd Data transmission system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54158104A (en) * 1978-06-02 1979-12-13 Nec Corp Multiple polling system
JPS55124839A (en) * 1979-03-20 1980-09-26 Fujitsu Ltd Data transmission system

Also Published As

Publication number Publication date
JPS58182341A (en) 1983-10-25

Similar Documents

Publication Publication Date Title
KR870004365A (en) Channel data transmission device with serial transmission line and transmission method thereof
JP2962787B2 (en) Communication control method
JPH0214824B2 (en)
JPS633351B2 (en)
JPH0586582B2 (en)
JPH0122300Y2 (en)
SU1501078A1 (en) Arrangement for exchange of data between processor and peripherals
JP3127939B2 (en) Event information transmission device
JPH0133848B2 (en)
JPS61232746A (en) Data transferring buffer system
JPH0566613B2 (en)
JPS5940796A (en) Centralized monitor system
JPS5846423A (en) Interface circuit of direct memory access device
JPH02216570A (en) Control system for device controller
JPS597971B2 (en) I/O device control method
JPH01114959A (en) Memory data transfer system
JPH0341542A (en) Peripheral controller
JPS63249243A (en) Secondary storage information saving system
JPH01261706A (en) Method for transferring data in programmable controller
JPS61251951A (en) System for controlling data transfer speed
JPH0227460A (en) Interruption holding register control system
JPS6293233U (en)
JPS627242A (en) Polling control system
JPS59151335U (en) Distributed DDC system equipped with man-machine response speed prediction indicator
JPS60118967A (en) Multiprocessor system