JPS62198294A - Transmission method for analog input data - Google Patents

Transmission method for analog input data

Info

Publication number
JPS62198294A
JPS62198294A JP4076586A JP4076586A JPS62198294A JP S62198294 A JPS62198294 A JP S62198294A JP 4076586 A JP4076586 A JP 4076586A JP 4076586 A JP4076586 A JP 4076586A JP S62198294 A JPS62198294 A JP S62198294A
Authority
JP
Japan
Prior art keywords
analog input
station
input data
input
data
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
JP4076586A
Other languages
Japanese (ja)
Inventor
Atsuo Yoshimune
吉宗 篤夫
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin Electric Co Ltd
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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP4076586A priority Critical patent/JPS62198294A/en
Publication of JPS62198294A publication Critical patent/JPS62198294A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To efficiently execute the transmission of an analog input data, and to lighten the burden of a transmission line by transmitting its analog input data from a station to be requested to a requesting station, when the variation rate of an analog input exceeds a variation rate set from the requesting station. CONSTITUTION:A requesting station 1 transmits the point number of a necessary analog input, and the variation rate of its analog input as an input deviation monitoring set value, to a station to be requested 2 by an analog input read request command. The station to be requested 2 measures the analog input of a designated analog input point, and sets it as the present input data VI to an analog input registration file. Whether a difference ¦VI-VI'¦ between the previous input data VI' of the analog input registration file and a measured data set to the present input data VI is larger or smaller than an input deviation monitoring set value DL is compared, and when the difference is larger than the input deviation monitoring set value DL, the previous input data VI' is updated by the present input data VI, and the present input data VI is transmit ted to the requesting station 1 by an analog input reply command.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、アナログ入力データの伝送方法に係り、特に
は、分散制御システムにおいて、ある局が他の局のアナ
ログ入力データを伝送回線を介して得る場合に、前記デ
ータ伝送を効率よく行うことによって、伝送回線の負担
を軽くするようにしたアナログ入力データの伝送方法に
関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a method of transmitting analog input data, and in particular, in a distributed control system, one station transmits analog input data of another station via a transmission line. The present invention relates to a method for transmitting analog input data, which reduces the load on a transmission line by efficiently transmitting the data when the data is to be obtained.

〈従来の技術〉 従来1台の演算処理装置で処理していた仕事を、複数台
の演算処理装置に分散させ、しかも、システム全体をデ
ータ伝送装置によって有機的に結合した分散制御システ
ムが広〈実施されている。
<Prior art> Distributed control systems have become widespread in which work that was conventionally processed by a single processing unit is distributed to multiple processing units, and the entire system is organically linked by a data transmission device. It has been implemented.

このような分散制御システムにおいて、ある局が、他の
局が管理しているアナログ入力データ(例えば、温度、
湿度、流量等のアナログデータ)を伝送回線を介して周
期的に得て、このデータに基づき演算処理を行うことに
よって、当該他の局に対し、当該アナログ量などをコン
トロールさせる場合がある。
In such a distributed control system, one station receives analog input data (e.g. temperature,
In some cases, analog data such as humidity and flow rate are obtained periodically via a transmission line and arithmetic processing is performed based on this data, thereby causing the other station to control the analog quantity.

このような場合に、アナログ入力データを要求する局(
要求局)は、当該アナログ入力データを管理している局
(被要求局)に対して、周期的に「アナログ入力リード
要求Jコマンドを送信する。
In such a case, the station requesting analog input data (
The requesting station periodically sends an analog input read request J command to the station managing the analog input data (requested station).

被要求局は前記コマンドを受信するごとに、指定された
アナログ入力を計測入力する。そして、被要求局は、r
アナログ入力返信Jコマンドにより当該アナログ入力デ
ータを要求局に伝送する。
Each time the requested station receives the command, it measures and inputs the designated analog input. Then, the requested station is r
The analog input data is transmitted to the requesting station using the analog input reply J command.

〈発明が解決しようとする問題点〉 しかしながら、このようなアナログ入力データの伝送方
法の場合、データの要求周期が比較的に長い場合には問
題ないが、周期が短い場合(例えば、1秒あるいはそれ
以下)には、伝送回線に「要求jコマンドとr返信jコ
マンドが頻繁に往来して伝送回線が特定局間で占有され
ることになり、他の局間でデータ伝送ができなくなると
いう問題がある。
<Problems to be Solved by the Invention> However, in the case of such an analog input data transmission method, there is no problem when the data request cycle is relatively long, but when the cycle is short (for example, 1 second or Below that), there is a problem in the transmission line where ``request j commands and r reply j commands frequently come and go, causing the transmission line to be occupied between specific stations, making it impossible to transmit data between other stations. There is.

本発明は、このような事情に鑑みてなされたものであっ
て、アナログ入力データの伝送を効率よく行うことによ
って、伝送回線の負担を軽くすることができるアナログ
入力データの伝送方法を提供することを目的としている
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a method for transmitting analog input data that can reduce the load on a transmission line by efficiently transmitting analog input data. It is an object.

〈問題点を解決するための手段〉 本発明は、上記の目的を達成するために、次のような特
徴を備えている。
<Means for Solving the Problems> In order to achieve the above object, the present invention has the following features.

即ち、本発明に係るアナログ入力データの伝送方法は、
分散制御システムにおける局間のアナログ入力データの
伝送方法であって、 要求局が被要求局に対して、必要なアナログ入力ポイン
トの番号と、そのアナログ入力の入力変化率をI!!録
するように要求し、 この登録要求に基づき、指定されたアナログ入力ポイン
トの番号と入力変化率とを登録した被要求局は、登録さ
れた番号に該当するアナログ入力を周期的に計測入力し
、その値の変化率が前記登録された入力変化率を越える
ものであるか否かを判断し、そのアナログ入力が、登録
した入力変化率を趙えて変化した場合に、当該アナログ
入力データを要求局に返信することを特徴としている。
That is, the analog input data transmission method according to the present invention is as follows:
A method of transmitting analog input data between stations in a distributed control system, in which a requesting station informs the requested station of the required analog input point number and the input change rate of the analog input. ! Based on this registration request, the requested station, which has registered the designated analog input point number and input change rate, periodically measures and inputs the analog input corresponding to the registered number. , determine whether the rate of change of the value exceeds the registered input change rate, and if the analog input changes beyond the registered input change rate, request the analog input data. It is characterized by replying to the station.

く作用〉 制御対象の系は、通常、平衡状態にあるため、アナログ
入力の変化率はそれほど高くないから、要求されている
アナログ入力の変化が予め定められている入力変化率を
超えない限り、被要求局は要求局に対し当該アナログ入
力データを返信しない、したがって、通常は、伝送回線
に「返信jコマンドが頻繁に伝送されることがなく、ま
た、「要求」コマンドは最初の1回だけであるので、従
来のように伝送回線が混んでしまうということがない。
Since the system to be controlled is normally in an equilibrium state, the rate of change of the analog input is not very high, so unless the required change in the analog input exceeds the predetermined rate of input change, The requested station does not return the relevant analog input data to the requesting station. Therefore, normally, the "Reply J" command is not transmitted frequently over the transmission line, and the "Request" command is sent only once. Therefore, the transmission line does not become congested as in the past.

〈実施例〉 以下、図面に従って本発明の一実施例を詳細に説明する
。第4図は本発明および従来例に共通する分散制御シス
テムの説明図である。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 4 is an explanatory diagram of a distributed control system common to the present invention and the conventional example.

同図において、符号1,2,3.・・・は、この分散制
御システムを構成している局である。各局間は、伝送装
置4.・・・と伝送回線5によって、存機的に結合され
ている。このうち、局lは局2に対して特定のアナログ
入力データを要求し、このデータを演算処理してシステ
ムを制御する要求局である。一方、前記局2は被要゛求
局であって、複数のアナログ入力ポイント■、■、■、
・・・を計測監視している。
In the figure, reference numerals 1, 2, 3. . . . are stations making up this distributed control system. A transmission device 4. . . . are permanently connected by the transmission line 5. Of these, station 1 is a requesting station that requests specific analog input data from station 2 and processes this data to control the system. On the other hand, the station 2 is a requested station and has multiple analog input points ■, ■, ■,
... is being measured and monitored.

次に、上述した構成の分散制御システムにおけるアナロ
グ入力データの伝送方法を、第2図〜第4図にしたがっ
て説明する。
Next, a method of transmitting analog input data in the distributed control system configured as described above will be explained with reference to FIGS. 2 to 4.

第2図は被要求局2が要求局lからの「アナログ入力リ
ード要求jコマンドを受信したときの処理手順、第3図
は被要求局2に備えられたアナログ入力登録ファイルの
説明図、第4図は被要求局2のアナログ入力監視処理手
順をそれぞれ示している。
FIG. 2 shows the processing procedure when the requested station 2 receives the "Analog input read request j command" from the requesting station 1. FIG. FIG. 4 shows the analog input monitoring processing procedure of the requested station 2.

要求局1は、被要求局2に対してrアナログ入力リード
要求Jコマンドにより、必要なアナログ入力のポイント
番号と、そのアナログ入力の変化率を入力偏差監視設定
値として送信する。
The requesting station 1 sends the point number of the necessary analog input and the rate of change of the analog input as the input deviation monitoring setting value to the requested station 2 by the r analog input read request J command.

前記コマンドを受信した被要求局2は、第2図に示した
フローにしたがって処理する。
The requested station 2 that has received the command processes it according to the flow shown in FIG.

ステップミニ被要求局2は、要求局lのアドレス、指定
された入力ポイントの番号および当該入力ポイントの入
力偏差監視設定値を、第3図に示したようにアナログ入
力登録ファイルに登録する。
The step mini requested station 2 registers the address of the requesting station 1, the designated input point number, and the input deviation monitoring setting value of the input point in the analog input registration file as shown in FIG.

ステップb:指定されたアナログ入力ポイントのアナロ
グ入力を計測する。
Step b: Measure the analog input at the designated analog input point.

ステップC:この入力データをアナログ入力登録ファイ
ルの「前回入力データVI’Jにセットする。
Step C: Set this input data to "previous input data VI'J" in the analog input registration file.

ステップdニステップCでセットされた最初の入力デー
タを、要求局1に対し「返信」コマンドにより送信する
Step dThe first input data set in step C is transmitted to the requesting station 1 by a "reply" command.

上述したように最初の入力データを要求局1に送信した
後に、被要求局2は、監視周期ごとの割り込みによって
、第4図に示す手順にしたがって処理する。
After transmitting the first input data to the requesting station 1 as described above, the requested station 2 processes according to the procedure shown in FIG. 4 by interrupting each monitoring cycle.

ステップf:指定アナログ人カポインドのアナログ入力
を計測する。
Step f: Measure the analog input of the designated analog person point.

ステップg:計測したデータを、アナログ入力登録ファ
イルに「今回入力データVIJとしてセットする。
Step g: Set the measured data as "current input data VIJ" in the analog input registration file.

ステップh:アナログ入力登録ファイルの「前回入力デ
ータVI’Jと「今回入力データVIJにそれぞれセッ
トされた計測データの差IVI−Vl’lと、入力偏差
監視設定値DLとの大小を比較する。
Step h: Compare the difference IVI-Vl'l between the measurement data set in the "previous input data VI'J" and "current input data VIJ" in the analog input registration file with the input deviation monitoring set value DL.

ステップミニ計測データの差IVI−Vl’  1が、
入力偏差監視設定値DLよりも大きい場合には、前回入
力データVI’を今回入力データVlで更新する。
The difference in step mini measurement data IVI-Vl' 1 is
If it is larger than the input deviation monitoring set value DL, the previous input data VI' is updated with the current input data Vl.

ステップj:そして、要求局1に対し「アナログ入力返
信jコマンドにより、前記今回入力データVlを伝送し
、本割込処理を終了する。
Step j: Then, the current input data Vl is transmitted to the requesting station 1 by the ``analog input reply j command'', and this interrupt processing is ended.

一方、計測データの差IVI−Vl’  lが、入力偏
差監視設定値DLよりも小さい場合には、要求局1への
送信を行わず、本割込処理を終了する。
On the other hand, if the measured data difference IVI-Vl'l is smaller than the input deviation monitoring set value DL, the interrupt processing is ended without transmitting to the requesting station 1.

〈発明の効果〉 以上の説明から明らかなように、本発明に係るアナログ
入力データの伝送方法は、アナログ入力の変化率が、要
求局から設定された変化率を超えた場合に、そのアナロ
グ入力データを被要求局から要求局に送信するようにし
ている。
<Effects of the Invention> As is clear from the above description, the method for transmitting analog input data according to the present invention is such that when the rate of change of the analog input exceeds the rate of change set by the requesting station, Data is transmitted from the requested station to the requesting station.

したがって、本発明によれば、アナログ入力データが大
きく変化しない平常時に、「要求Jコマンドと「返信j
コマンドの往復によって伝送回線がふさがることがなく
、伝送回線の負担を軽くすることができるので、分散シ
ステムの運用上たいへん好都合である。
Therefore, according to the present invention, in normal times when analog input data does not change significantly, "request J command" and "reply J command
This is very convenient for the operation of a distributed system because the transmission line is not blocked by the back and forth commands, and the load on the transmission line can be reduced.

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

第1図は本発明および従来例に共通する分散制御システ
ムの説明図、第2図は被要求局2が要求局1からの「ア
ナログ入力リード要求jコマンドを受信したときの処理
手順、第3図は被要求局2に備えられたアナログ入力登
録ファイルの説明図、第4図は被要求局2のアナログ入
力監視処理手順を示している。 1・・・要求局、2・・・被要求局、4・・・伝送装置
、5・・・伝送回線。
FIG. 1 is an explanatory diagram of a distributed control system common to the present invention and the conventional example, and FIG. The figure is an explanatory diagram of the analog input registration file provided in the requested station 2, and FIG. 4 shows the analog input monitoring processing procedure of the requested station 2. 1...Requesting station, 2...Requested station Station, 4... Transmission device, 5... Transmission line.

Claims (1)

【特許請求の範囲】[Claims] (1)分散制御システムにおける局間のアナログ入力デ
ータの伝送方法において、 要求局が被要求局に対して、必要なアナログ入力ポイン
トの番号と、そのアナログ入力の入力変化率を登録する
ように要求し、 この登録要求に基づき、指定されたアナログ入力ポイン
トの番号と入力変化率とを登録した被要求局は、登録さ
れた番号に該当するアナログ入力を周期的に計測入力し
、その値の変化率が前記登録された入力変化率を越える
ものであるか否かを判断し、そのアナログ入力が、登録
した入力変化率を超えて変化した場合に、当該アナログ
入力データを要求局に返信することを特徴とするアナロ
グ入力データの伝送方法。
(1) In a method of transmitting analog input data between stations in a distributed control system, the requesting station requests the requested station to register the required analog input point number and the input change rate of the analog input. Based on this registration request, the requested station, which has registered the designated analog input point number and input change rate, periodically measures and inputs the analog input corresponding to the registered number, and records the change in value. Determine whether or not the rate exceeds the registered input change rate, and if the analog input changes beyond the registered input change rate, send the analog input data back to the requesting station. A method for transmitting analog input data, characterized by:
JP4076586A 1986-02-26 1986-02-26 Transmission method for analog input data Pending JPS62198294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4076586A JPS62198294A (en) 1986-02-26 1986-02-26 Transmission method for analog input data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4076586A JPS62198294A (en) 1986-02-26 1986-02-26 Transmission method for analog input data

Publications (1)

Publication Number Publication Date
JPS62198294A true JPS62198294A (en) 1987-09-01

Family

ID=12589719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4076586A Pending JPS62198294A (en) 1986-02-26 1986-02-26 Transmission method for analog input data

Country Status (1)

Country Link
JP (1) JPS62198294A (en)

Similar Documents

Publication Publication Date Title
JPH0268632A (en) Interruption controller
JPS62198294A (en) Transmission method for analog input data
JPH01208096A (en) Measured value collecting system in measurement control system
JPS62198295A (en) Transmission method for analog output data
JPS62198296A (en) Transmission method for contact output data
JPS5860333A (en) Priority controlling method for plural terminal devices
JPH03100754A (en) Cpu control system
JP2838588B2 (en) Process data processing system
JP2973665B2 (en) How to display process volume
JPH05252552A (en) Load control system
JPH0378040A (en) System operation state monitor system
JPS6266360A (en) Priority control system
JPS62140156A (en) Polling system
JPS62171064A (en) Buffer circuit
JPH01232852A (en) Communication control system
JPH0460747A (en) Informing system for device state transition of computer system
JPH07212862A (en) Set data transmitter
JPS62127903A (en) Automatic control system
JPH0264720A (en) Interprocessor time setting system
JPS58223840A (en) Data base controlling system of measurement and control system
JPS62237558A (en) Initialization control system for shared memory
JPH03202911A (en) Communication managing timer control system
JPH04358228A (en) Process number control system
JPS63231532A (en) Interruption detecting system for information processing system
JPS63220350A (en) Command processing method for multiprocessor system