JPH07212431A - Data transmission method of process control device - Google Patents

Data transmission method of process control device

Info

Publication number
JPH07212431A
JPH07212431A JP6005010A JP501094A JPH07212431A JP H07212431 A JPH07212431 A JP H07212431A JP 6005010 A JP6005010 A JP 6005010A JP 501094 A JP501094 A JP 501094A JP H07212431 A JPH07212431 A JP H07212431A
Authority
JP
Japan
Prior art keywords
transmission
control
data
process control
modem
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
JP6005010A
Other languages
Japanese (ja)
Inventor
Toshio Uchida
利夫 内田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6005010A priority Critical patent/JPH07212431A/en
Publication of JPH07212431A publication Critical patent/JPH07212431A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Control By Computers (AREA)

Abstract

(57)【要約】 【目的】 プロセス制御装置1aにおいて、制御対象機
器8に対する通常の制御を実行しながら伝送装置7aと
モデム12a,12bとを介して接続された伝送対象機
器9との間でデータ伝送を効率的に実施する。 【構成】 伝送装置7aはモデム12a,12bを介し
て伝送対象機器9へ送信する自己の動作状態を示す制御
信号をプロセス制御装置1aから受信する制御指令に基
づいて送出する。また、プロセス制御装置1aは制御対
象機器8に対する制御状況に応じて伝送装置7aへ上述
した各制御指令を送出する。また、別の発明のプロセス
制御装置1aは、伝送装置7aを介してモデム12a.
12bの制御信号状態を把握し、この把握した制御信号
状態及び制御対象機器8に対する制御状況に応じて伝送
装置7aへ各制御指令を送出する。
(57) [Summary] [Object] In the process control device 1a, while performing normal control on the control target device 8, between the transmission device 7a and the transmission target device 9 connected via the modems 12a and 12b. Perform data transmission efficiently. [Configuration] The transmission device 7a sends out a control signal indicating its own operating state, which is transmitted to the transmission target device 9 via the modems 12a and 12b, based on a control command received from the process control device 1a. The process control device 1a also sends the above-mentioned control commands to the transmission device 7a in accordance with the control status of the controlled device 8. In addition, the process control device 1a according to another invention includes a modem 12a.
The control signal state of 12b is grasped, and each control command is sent to the transmission device 7a according to the grasped control signal state and the control situation for the controlled device 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、制御対象機器の動作を
制御すると共に伝送対象機器との間でデータ伝送を行う
プロセス制御装置のデータ伝送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system of a process control device for controlling the operation of controlled equipment and transmitting data with the equipment to be transmitted.

【0002】[0002]

【従来の技術】プラントに組込まれた各種機器を制御す
るプロセス制御装置は、各制御対機器の動作状態を示す
プロセスデータを取込んで所定の制御演算を実行し、演
算結果を操作データとして制御対象機器へ送出すること
によって、該当制御対象機器の動作状態を目標値に制御
する。
2. Description of the Related Art A process control device for controlling various equipment incorporated in a plant takes in process data indicating the operating state of each control device, executes a predetermined control operation, and controls the operation result as operation data. By sending to the target device, the operating state of the control target device is controlled to the target value.

【0003】また、プロセス制御装置によっては、制御
対象機器から取込んだプロセスデータを伝送路を介して
監視装置に送出して、この監視装置のCRT表示画面に
モニタ表示させる場合がある。さらに、プロセス制御装
置は伝送路を介して接続されたホストシステムに対して
プロセスデータを送付すると共に、ホストシステムから
受信したデータに従って制御対象機器を制御する。
Further, depending on the process control device, the process data fetched from the controlled device may be sent to the monitoring device via the transmission path and displayed on the CRT display screen of the monitoring device on the monitor. Further, the process control device sends the process data to the host system connected via the transmission path and controls the control target device according to the data received from the host system.

【0004】このように、制御対象機器を制御するとと
もに必要に応じて監視装置やホストシステム等の伝送対
象機器に対してデータ伝送を行うプロセス制御装置が組
込まれたプロセス制御システムは例えば図4に示すよう
に構成されている。
A process control system in which a process control device for controlling the control target device and transmitting data to the transmission target device such as a monitoring device and a host system as necessary is incorporated in FIG. It is configured as shown.

【0005】図4のプロセス制御システムにおいて、プ
ロセス制御装置1は、CPU(中央演算処理装置)2,
アプリケーション・プログラムを記憶するプログラムメ
モリ(APM)3.データを記憶するデータメモリ(D
M)4で構成されている。そして、このプロセス制御装
置1にシテムバス5を介して入出力装置6と伝送装置7
とが接続されている。
In the process control system of FIG. 4, the process control device 1 includes a CPU (central processing unit) 2,
2. Program memory (APM) for storing application programs Data memory (D
M) 4. Then, the input / output device 6 and the transmission device 7 are connected to the process control device 1 via the system bus 5.
And are connected.

【0006】入出力装置6に信号ケーブル10を介して
プラントを構成する生産設備等の制御対象機器8が接続
されている。また、伝送装置7にRS232C規格を満
たす伝送信号ケーブル11aを介してモデム12aが接
続されている。モデム12aにモデム専用信号ケーブル
13を介して他方のモデム12bが接続され、このモデ
ム12bに伝送信号ケーブル11bを介して前述した伝
送対象機器9が接続されている。
A control target device 8 such as a production facility forming a plant is connected to the input / output device 6 via a signal cable 10. Further, a modem 12a is connected to the transmission device 7 via a transmission signal cable 11a that satisfies the RS232C standard. The other modem 12b is connected to the modem 12a via a modem-dedicated signal cable 13, and the above-mentioned transmission target device 9 is connected to this modem 12b via a transmission signal cable 11b.

【0007】図5は伝送装置7の要部及びプロセス制御
装置1のデータ伝送に関する機能を示すブロック図であ
る。プロセス制御装置1におけるプログラムメモリ3内
には、制御対象機器8を制御するための制御プログラム
の他に、伝送装置7を介して伝送対象機器9とデータ通
信するための伝送タスク30が格納されている、また、
データメモリ4内には、伝送対象機器9へ送出するため
の各種データを記憶する伝送用データメモリ40が形成
されている。また、伝送制御装置7は、伝送制御部70
と伝送インタフェース部71と伝送用データメモリ73
とで構成されている。
FIG. 5 is a block diagram showing a main part of the transmission device 7 and a function related to data transmission of the process control device 1. In the program memory 3 of the process control device 1, in addition to a control program for controlling the control target device 8, a transmission task 30 for performing data communication with the transmission target device 9 via the transmission device 7 is stored. And again
In the data memory 4, a transmission data memory 40 that stores various data to be sent to the transmission target device 9 is formed. In addition, the transmission control device 7 includes a transmission control unit 70.
A transmission interface unit 71 and a transmission data memory 73
It consists of and.

【0008】そして、プロセス制御装置1において、デ
ータ送信要求に応じて伝送タスク30が起動されると、
この伝送タスク30は、データ送信要求を伝送制御部7
0へ送出すると共に、伝送用データメモリ40に格納さ
れているデータを読出して伝送装置7の伝送用データメ
モリ72へ書込む。
Then, in the process control device 1, when the transmission task 30 is activated in response to the data transmission request,
The transmission task 30 sends a data transmission request to the transmission control unit 7
At the same time, the data stored in the transmission data memory 40 is read out and written into the transmission data memory 72 of the transmission device 7.

【0009】データ送信要求を受領した伝送制御部70
は、伝送用データメモリ72のデータを読出して伝送用
インタフェース部71及び伝送信号ケーブル11aを介
して自己側のモデム12aへ送出する。モデム12aは
モデム専用信号ケーブル13.モデム12b及び伝送信
号ケーブル11bを介して伝送対象機器9へデータを送
信する。
The transmission control unit 70 which has received the data transmission request
Reads out the data in the transmission data memory 72 and sends it to the modem 12a on the self side via the transmission interface unit 71 and the transmission signal cable 11a. The modem 12a is a signal cable 13. The data is transmitted to the transmission target device 9 via the modem 12b and the transmission signal cable 11b.

【0010】また、プロセス制御装置1において、デー
タ受信要求発生で伝送タスク30が起動されると、伝送
タスク30は伝送制御部70にデータ受信指令を送出す
る。データ受信指令を受信した伝送制御部70は伝送対
象機器9からモデム12b,12a,伝送用インタフェ
ース部71を介してデータを受信する。伝送制御部70
は受信したデータを伝送用データメモリ72に格納して
プロセス制御装置1の伝送タスク30に対して受信完了
を通知する。
Further, in the process control device 1, when the transmission task 30 is activated by the generation of a data reception request, the transmission task 30 sends a data reception command to the transmission control unit 70. The transmission control unit 70 that has received the data reception command receives data from the transmission target device 9 via the modems 12b and 12a and the transmission interface unit 71. Transmission control unit 70
Stores the received data in the transmission data memory 72 and notifies the transmission task 30 of the process control device 1 of the reception completion.

【0011】受信完了を受信した伝送タスク30は、伝
送用データメモリ72のデータを伝送用データメモリ4
0に転送する。このようにして伝送対象機器9とのデー
タの送受信を行う。
Upon receiving the reception completion, the transmission task 30 transfers the data in the transmission data memory 72 to the transmission data memory 4
Transfer to 0. In this way, data is transmitted / received to / from the transmission target device 9.

【0012】次に伝送装置7と伝送対象機器9の間での
モデム12a,12bを用いたRS232C規格に従う
制御信号の授受手順(通信プロトコル)を図6を用いて
説明する。
Next, a procedure (communication protocol) for transmitting and receiving a control signal between the transmission device 7 and the transmission target device 9 using the modems 12a and 12b according to the RS232C standard will be described with reference to FIG.

【0013】伝送装置7及び伝送対象機器9は、図示す
るように、送信データ信号SDを送出するための端子1
4a,14b、受信データ信号RDを受信するための端
子15a,15b、送信要求信号RSを送出するための
端子16a,16b、送信許可信号CSを受信するため
の端子17a,17b、データセットレデイ信号DRを
受信するための端子18a,18b、端末装置レディ信
号ERを送出するための端子19a,19b、及びキャ
リア検出信号CDを受信するための端子20a,20b
が設けられている。
The transmission device 7 and the transmission target device 9 are, as shown in the figure, a terminal 1 for transmitting a transmission data signal SD.
4a and 14b, terminals 15a and 15b for receiving the reception data signal RD, terminals 16a and 16b for transmitting the transmission request signal RS, terminals 17a and 17b for receiving the transmission permission signal CS, and a data set ready signal. Terminals 18a and 18b for receiving the DR, terminals 19a and 19b for transmitting the terminal device ready signal ER, and terminals 20a and 20b for receiving the carrier detection signal CD.
Is provided.

【0014】先ず、プロセス監視システム全体の電源が
投入され、初期化状態に移行すると、 (1) 伝送装置7は、端子19aのモデム制御信号の端
末装置レディ信号ERをONする。端子19aの端末装
置レディ信号ERがONすると、モデム12a,12b
を介して伝送対象機器9の端子18bのデータセットレ
ディ信号DRがON状態になる。よって、伝送対象機器
9は、伝送装置7が伝送可能状態であることを知る。
First, when the power supply of the entire process monitoring system is turned on and the system shifts to the initialization state, (1) the transmission device 7 turns on the terminal device ready signal ER of the modem control signal of the terminal 19a. When the terminal device ready signal ER of the terminal 19a is turned on, the modems 12a, 12b
The data set ready signal DR of the terminal 18b of the transmission target device 9 is turned on via. Therefore, the transmission target device 9 knows that the transmission device 7 is in the transmission possible state.

【0015】(2) 伝送対象機器9は自己が伝送可能状
態になると自己の端子19bの端末装置レディ信号ER
をONする。すると、モデム12b,12aを介して伝
送装置7の端子18aのデータセットレディ信号DRが
ON状態になる。よって、伝送装置7は伝送対象機器1
9が伝送可能状態に移行したことを知る。
(2) When the device 9 to be transmitted is in a state capable of transmitting, the device ready signal ER of its terminal 19b is transmitted.
Turn on. Then, the data set ready signal DR of the terminal 18a of the transmission device 7 is turned on via the modems 12b and 12a. Therefore, the transmission device 7 is the transmission target device 1
9 knows that it has transitioned to the transmittable state.

【0016】(3) また、伝送装置7及び伝送対象機器
9は、自己側の端子20a,20bのキャリア検出信号
CDがON状態に変化したことで自己側のモデム12
a,12bが正常であるこを把握する。
(3) Further, the transmission device 7 and the transmission target device 9 have their own modems 12 because the carrier detection signals CD of the terminals 20a, 20b on their own side have changed to the ON state.
Understand that a and 12b are normal.

【0017】(4) 以上の準備処理が終了して、伝送装
置7から伝送対象機器9へデータを送信する場合、伝送
装置7は、端子16aの送信要求信号RSをONする。
すると、モデム12aがデータ送信可能であれば伝送装
置7の端子17aへの送信許可信号CSをONにする。
すると、伝送装置7はデータ送信可能であることを確認
でき、データを送信することができる。
(4) When the above preparation process is completed and data is transmitted from the transmission device 7 to the transmission target device 9, the transmission device 7 turns on the transmission request signal RS of the terminal 16a.
Then, if the modem 12a can transmit data, the transmission permission signal CS to the terminal 17a of the transmission device 7 is turned on.
Then, the transmission device 7 can confirm that the data can be transmitted, and can transmit the data.

【0018】(5) そして、伝送装置7は端子14aか
ら実際の送信データ信号SDを送出する。なお、伝送対
象機器9は伝送対象装置9からのデータを端子15bか
ら受信する。
(5) Then, the transmission device 7 sends out the actual transmission data signal SD from the terminal 14a. The transmission target device 9 receives the data from the transmission target device 9 from the terminal 15b.

【0019】このようにして、伝送装置7が上述した各
制御信号の授受を行うことによりプロセス装置1におけ
る伝送タスク30と伝送対象機器9との間のデータ送受
信を行う。
In this way, the transmission device 7 transmits and receives the above-mentioned control signals to transmit and receive data between the transmission task 30 and the transmission target device 9 in the process device 1.

【0020】[0020]

【発明が解決しようとする課題】しかしながら、上述し
た各制御信号の授受手順でもってプロセス制御装置1と
伝送対象装置9との間のデータ伝送を行うようにしたプ
ロセス制御装置のデータ伝送方式においても、まだ改良
すべき次のような課題があった。
However, even in the data transmission system of the process control device in which the data transmission between the process control device 1 and the transmission target device 9 is performed by the above-mentioned procedure of transmitting and receiving each control signal. However, there were still the following issues to be improved.

【0021】上述した各制御信号の授受は伝送装置7と
伝送対象装置9との間で実行される。各制御信号の授受
はプロセス監視装置1における制御対象機器8に対する
制御処理動作とは全く独立して非同期に実行される。
The transmission and reception of each control signal described above is executed between the transmission device 7 and the transmission target device 9. The transfer of each control signal is executed asynchronously, completely independently of the control processing operation for the controlled device 8 in the process monitoring device 1.

【0022】したがって、伝送装置7におけるデータ伝
送可能状態とプロセス制御装置1の制御対象機器8に対
する制御処理動作とのタイミングが合わない場合もあ
る。例えば伝送装置7が伝送可能であってもプロセス制
御装置1の制御処理動作における伝送タスク30がまだ
伝送制御準備中である場合に、伝送対象機器9からデー
タが頻繁に伝送されたり、制御処理動作がデータ受信の
みを禁止しているのに、伝送対象機器9はプロセス制御
装置1の制御処理動作の停止をデータ伝送を継続する等
の無駄なデータ伝送が多く実行され、伝送路の伝送効率
が低下する問題が生じる。
Therefore, there are cases where the data transmission enabled state in the transmission device 7 and the control processing operation for the controlled device 8 of the process control device 1 do not coincide in timing. For example, when the transmission task 30 in the control processing operation of the process control apparatus 1 is still preparing for transmission control even if the transmission apparatus 7 can transmit data, data is frequently transmitted from the transmission target device 9 or the control processing operation is performed. Although only the data reception is prohibited, the transmission target device 9 often executes wasteful data transmission such as stopping the control processing operation of the process control device 1 and continuing the data transmission, and the transmission efficiency of the transmission path is improved. The problem of diminishing occurs.

【0023】このような無駄なデータ伝送を低減させる
ためには、伝送対象機器9がプロセス制御装置1におけ
る制御処理動作の状態を何等かの手段で監視して、制御
処理動作の状態に応じて、データ伝送を行うことが考え
られるが、システム全体の構成が複雑化して、制御処理
動作と伝送対象機器9との伝送仕様が限定されるという
問題があった。
In order to reduce such wasteful data transmission, the transmission target device 9 monitors the state of the control processing operation in the process control apparatus 1 by some means, and according to the state of the control processing operation. However, there is a problem in that the configuration of the entire system is complicated and the control processing operation and the transmission specification with the transmission target device 9 are limited.

【0024】また、プロセス制御装置1側の伝送タスク
30は伝送対象機器9側の伝送停止をデータ送信要求し
た後の伝送装置7からの異常通知により認識する手段し
かなかった。
Further, the transmission task 30 on the side of the process control device 1 has only means for recognizing the transmission stop on the side of the transmission target device 9 by the abnormality notification from the transmission device 7 after the data transmission request.

【0025】本発明はこのような事情に鑑みてなされた
ものであり、プロセス制御装置側で、伝送装置が伝送対
象機器へ送出する各制御信号を制御することによって、
従来規格の制御信号の授受手順を維持したままで、伝送
装置と伝送対象機器との間で無駄なデータ送受信を極力
減らし、データ伝送効率を向上できると共に、プロセス
制御装置及び伝送対象機器にとっても処理能率か向上
し、使い勝手のよいプロセス制御装置のデータ伝送方式
を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the process control device controls each control signal sent from the transmission device to the transmission target device.
While maintaining the control signal transmission / reception procedure of the conventional standard, wasteful data transmission / reception between the transmission device and the transmission target device can be reduced as much as possible to improve the data transmission efficiency, and the process control device and the transmission target device can process the data. It is an object of the present invention to provide a data transmission system of a process control device which is improved in efficiency and is easy to use.

【0026】[0026]

【課題を解決するための手段】上記課題を解消するため
に、本発明は、制御対象機器の動作を制御するプロセス
制御装置と伝送対象機器と間に伝送装置とモデムとを介
在させて、伝送装置は、プロセス制御装置からのデータ
通信指令を受信すると、モデムを介して伝送対象との間
で所定の制御信号の授受手順に従ってデータ通信を実行
するプロセス制御装置のテータ伝送方式において、伝送
装置はモデムを介して伝送対象機器へ送信する自己の動
作状態を示す制御信号をプロセス制御装置から受信する
制御指令に基づいて送出する。また、プロセス制御装置
は制御対象機器に対する制御状況に応じて伝送装置へ制
御指令を送出する。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides transmission by interposing a transmission device and a modem between a process control device for controlling the operation of a control target device and a transmission target device. When receiving the data communication command from the process control device, the device performs data communication with the transmission target via the modem in accordance with a procedure for transmitting and receiving a predetermined control signal. A control signal, which is transmitted to the transmission target device via the modem and indicates the operating state of itself, is transmitted based on a control command received from the process control device. Further, the process control device sends a control command to the transmission device according to the control status of the control target device.

【0027】さらに別の発明においては、上述したテー
タ伝送方式において、プロセス制御装置は、伝送装置を
介してモデムの制御信号状態を把握し、この把握した制
御信号状態及び制御対象機器に対する制御状況に応じて
伝送装置へ制御指令を送出するようにしている。
[0027] In still another invention, in the data transmission method described above, the process control device grasps the control signal state of the modem via the transmission device, and the grasped control signal state and the control situation for the controlled device are displayed. In response, a control command is sent to the transmission device.

【0028】[0028]

【作用】このように構成されたプロセス制御装置のデー
タ伝送方式においては、伝送装置が、モデムを介して伝
送対象機器との間でデータ通信を実施するために、自己
の動作状態を示す例えば前述した端末装置レディ信号E
R,送信要求信号RS等の制御信号は、プロセス制御装
置からの制御指令に応動してON/OFF制御される。
また、プロセス制御装置は、制御対象機器に対する制御
状況に応じて、伝送装置へ前記各制御指令を送出してい
る。
In the data transmission method of the process control device configured as described above, since the transmission device performs data communication with the transmission target device via the modem, it indicates its own operating state, for example, as described above. Ready terminal device ready signal E
Control signals such as R and the transmission request signal RS are ON / OFF controlled in response to a control command from the process control device.
Further, the process control device sends each of the control commands to the transmission device according to the control status of the control target device.

【0029】したがって、伝送装置はプロセス制御装置
がデータを正しく受入れ可能な時のみ伝送対象機器に対
してデーテの送信許可を示す各制御信号を送出しないの
で、伝送対象機器からプロセス制御装置がデータを正し
く受入れ可能な時のみデータが送信されるので、データ
伝送効率が上昇する。
Therefore, since the transmission device does not send each control signal indicating the data transmission permission to the transmission target device only when the process control device can correctly receive the data, the process control device transmits the data from the transmission target device. Since data is transmitted only when it can be correctly accepted, the data transmission efficiency is increased.

【0030】さらに、伝送対象機器は従来の授受手順と
全く同一の授受手順でもって本発明の伝送装置に対して
データの送受信が可能であるので、このデータ伝送方式
の汎用性が低下することはない。
Furthermore, since the device to be transmitted can send and receive data to and from the transmission apparatus of the present invention by the same transmission / reception procedure as the conventional transmission / reception procedure, the versatility of this data transmission system will not deteriorate. Absent.

【0031】また、別の発明においては、プロセス制御
装置からモデムの制御信号状態を監視している。したが
って、伝送対象機器の伝送状態やモデムの伝送状態を把
握可能になり、プロセス制御装置はこの相手側の状況も
考慮して上述した各制御指令が送出可能となる。
In another invention, the process control device monitors the control signal state of the modem. Therefore, the transmission state of the transmission target device and the transmission state of the modem can be grasped, and the process control device can send the above-mentioned control commands in consideration of the situation of the other party.

【0032】[0032]

【実施例】以下本発明の一実施例を図面を用いて説明す
る。図1は本発明のデータ伝送方式を適用したプロセス
監視装置及び伝送装置の概略構成を示すブロック図であ
る。図5に示した従来のプロセス制御装置及び伝送装置
7と同部分には同一符号が付してある。したがって、重
複する部分の詳細説明は省力されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a process monitoring device and a transmission device to which the data transmission system of the present invention is applied. The same parts as those of the conventional process control device and transmission device 7 shown in FIG. 5 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions is omitted.

【0033】なお、プロセス制御システムの全体図及び
伝送装置7と伝送対象機器9の各制御信号に対する各端
子14a〜20bの配列図は図4及び図6に示した従来
システムと同じである。
The overall view of the process control system and the arrangement diagram of the terminals 14a to 20b for each control signal of the transmission device 7 and the transmission target device 9 are the same as those of the conventional system shown in FIGS.

【0034】この実施例のプロセス制御装置1aのプロ
グラムメモリ3内には、制御対象機器8を制御するため
の制御プログラムの他に、伝送装置7aを介して伝送対
象機器9とデータ通信するための伝送タスク30aが格
納されている、また、データメモリ4内には、伝送対象
機器9へ送出するための各種データを記憶する伝送用デ
ータメモリ40が形成されている。また、伝送制御装置
7a内には、伝送制御部70aと伝送インタフェース部
71と伝送用データメモリ73の他に、モデム制御指令
メモリ73及びモデム状態メモリ74が設けられてい
る。
In the program memory 3 of the process control apparatus 1a of this embodiment, in addition to the control program for controlling the control-target equipment 8, data communication with the transmission-target equipment 9 is performed via the transmission apparatus 7a. The transmission task 30a is stored, and in the data memory 4, a transmission data memory 40 for storing various data to be transmitted to the transmission target device 9 is formed. Further, in the transmission control device 7a, in addition to the transmission control unit 70a, the transmission interface unit 71, and the transmission data memory 73, a modem control command memory 73 and a modem state memory 74 are provided.

【0035】モデム制御指令メモリ73内には、プロセ
ス制御装置1aの伝送タスク30aから送信された端末
レディ指令ER及び送信要求指令RSが記憶保持され
る。また、モデム状態メモリ74内には、図6に示す自
己側のモデム12aに対応する各端子14a,15a,
16a,17a,18a,19a,20aの各制御信号
状態を記憶保持される。
The modem control command memory 73 stores and holds the terminal ready command ER and the transmission request command RS transmitted from the transmission task 30a of the process control device 1a. Further, in the modem state memory 74, terminals 14a, 15a, corresponding to the modem 12a on the self side shown in FIG.
The control signal states of 16a, 17a, 18a, 19a and 20a are stored and held.

【0036】次に、プロセス制御装置1a及び伝送装置
7aの動作を説明する。先ず、システム全体の電源が投
入され、初期化状態に移行された後において、前記プロ
セス制御装置1aの伝送タスク30aは図2に示す流れ
図に従って伝送対象機器9との間のデータ伝送を実行す
る。
Next, the operation of the process control device 1a and the transmission device 7a will be described. First, after the power of the entire system is turned on and the system is shifted to the initialization state, the transmission task 30a of the process control device 1a executes data transmission with the transmission target device 9 according to the flowchart shown in FIG.

【0037】流れ図が開始され、P(プログラムステッ
プ)1において、例えば制御対象装置8に対する一つの
制御サイクル内における制御演算処理が終了して、次の
制御サイクルの開始までの待ち時間が生じたり、又は制
御演算処理過程においてデータ送信の必要が生じて、伝
送対象機器9に対する伝送可能状態に移行したことを検
出すると、伝送装置7aのモデム制御指令メモリ73に
端末装置レディ信号ERのON指令を書き込む(P
2)。
The flow chart is started, and in P (program step) 1, for example, a control calculation process in one control cycle for the controlled device 8 is completed, and a waiting time occurs until the start of the next control cycle. Alternatively, when it is detected that the data transmission is required in the control arithmetic processing process and the state in which the data can be transmitted to the transmission target device 9 is detected, the ON command of the terminal device ready signal ER is written in the modem control command memory 73 of the transmission device 7a. (P
2).

【0038】また、逆に次の制御サイクルの制御演算処
理が開始され、伝送対象機器9からのデータを受信して
も、このデータに対して適切な処理を実施できないこと
を検出すると(P3)、伝送装置7aのモデム制御指令
メモリ73に端末装置レディ信号ERのOFF指令を書
き込む(P4)。なお、すでにON指令が書込まれてい
た場合は、このON指令をOFF指令に書替える。
On the contrary, when the control calculation process of the next control cycle is started and it is detected that the data from the transmission target device 9 is received, the appropriate process cannot be performed on this data (P3). The OFF command of the terminal device ready signal ER is written in the modem control command memory 73 of the transmission device 7a (P4). If the ON command has already been written, this ON command is rewritten to the OFF command.

【0039】P5において、伝送対象機器9に対するデ
ータの送信要求が発生すると、伝送装置7aのモテム制
御指令メモリ73に送信要求指令RSを書き込む。そし
て、モデム状態メモリ74の各端子14a〜20aの各
信号状態を読取る(P7)。データセットレディ信号D
R,キャリア検出信号CD,送信許可信号CSが共にO
Nであることが確認できると(P8)、送信すべきデー
タを伝送装置7aの伝送用データメモリ72へ書込む
(P9)。そして、他の業務が存在すればそれを実行す
る(P10)。
In P5, when a data transmission request to the transmission target device 9 is generated, the transmission request command RS is written in the motif control command memory 73 of the transmission device 7a. Then, the signal states of the terminals 14a to 20a of the modem state memory 74 are read (P7). Data set ready signal D
R, carrier detection signal CD, and transmission permission signal CS are all O
If it can be confirmed that it is N (P8), the data to be transmitted is written in the transmission data memory 72 of the transmission device 7a (P9). Then, if other work exists, it is executed (P10).

【0040】また、前記伝送装置7aの伝送制御部70
aは、システム全体の電源が投入され、初期化状態に移
行された後において、微小時間ΔT経過する毎に、図3
に示す時間割込流処理を実行する。すなわち、モデム制
御指令メモリ73にプロセス制御装置1aの伝送タスク
30aによって端末装置レディ信号ER又は送信要求信
号RSのON指令又はOFF指令が設定されていた場合
は(Q1)、ON指令かOFF指令かを判断して(Q
2)、該当する信号の端子19a,16aの信号状態を
指定されたON状態又はOFF状態に変換する(Q3,
Q4)。
Further, the transmission control section 70 of the transmission device 7a.
3a is obtained every time a minute time ΔT elapses after the power of the entire system is turned on and the system is shifted to the initialization state.
Execute the time interrupt flow process shown in. That is, when the ON command or the OFF command of the terminal device ready signal ER or the transmission request signal RS is set in the modem control command memory 73 by the transmission task 30a of the process control device 1a (Q1), it is an ON command or an OFF command. Judge (Q
2) Convert the signal state of the corresponding signal terminal 19a, 16a to the designated ON state or OFF state (Q3.
Q4).

【0041】次に、モデム12aに対する各端子14a
〜20aの各制御信号の信号状態を読取って(Q5)、
モデム状態メモリ74に設定する(Q6)。したがっ
て、モデム状態メモリ74には常に最新の各端子14a
〜20aの各制御信号の信号状態が記憶保持されてい
る。
Next, each terminal 14a for the modem 12a
Read the signal state of each control signal of ~ 20a (Q5),
The data is set in the modem status memory 74 (Q6). Therefore, the modem state memory 74 always has the latest terminals 14a.
The signal states of the control signals 20a to 20a are stored and held.

【0042】さらに、前記伝送装置7aの伝送制御部7
0aは、プロセス制御装置1aの伝送タスク30aから
送信指令を受信すると、伝送用データメモリ72の送信
すべきデータを読出して端子14aから送信データ信号
SDとして送出する。
Further, the transmission controller 7 of the transmission device 7a.
When receiving the transmission command from the transmission task 30a of the process control device 1a, the data 0a reads out the data to be transmitted from the transmission data memory 72 and transmits it as the transmission data signal SD from the terminal 14a.

【0043】なお、伝送装置7aは伝送対象装置9から
のデータを端子15aから受信する。このうにして、伝
送装置7aが上述した各制御信号の授受を行うことによ
りプロセス装置1の伝送タスク30aと伝送対象機器9
とのデータの送受信を行う。
The transmission device 7a receives the data from the transmission target device 9 from the terminal 15a. In this way, the transmission device 7a transmits and receives the above-mentioned control signals, whereby the transmission task 30a of the process device 1 and the transmission target device 9 are transmitted.
Send and receive data to and from.

【0044】このようなデータ伝送方式であれば、たと
えシステム全体の電源が投入され、初期処理が終了して
通常の動作状態に移行したとしても、伝送装置7aの伝
送制御部70aはプロセス制御装置1aの伝送タスク3
0aから端末装置レディ信号ERのON指令が入力しな
い限り、端子19aの端末装置レディ信号ERをONし
ない。
With such a data transmission method, even if the power of the entire system is turned on and the initial processing ends and the normal operation state is entered, the transmission control section 70a of the transmission apparatus 7a operates as a process control apparatus. Transmission task 3 of 1a
The terminal device ready signal ER at the terminal 19a is not turned on unless an ON command for the terminal device ready signal ER is input from 0a.

【0045】したがって、伝送対象機器9側の端子18
bのデータセットレディ信号DRがONすることはな
い。よって、伝送対象機器9は、相手側の伝送装置7a
がまだ伝送準備がととのっていないと判断して、伝送装
置7a側へデータを送信してくることはない。
Therefore, the terminal 18 of the transmission target device 9 side
The data set ready signal DR of b never turns ON. Therefore, the transmission target device 9 is the transmission device 7a on the other side.
However, the data is not sent to the transmission device 7a side because it is judged that the transmission preparation is not completed yet.

【0046】また、モデム12aに対する送信要求信号
RSもプロセス制御装置1aの伝送タスク30aからの
ON指令によってONされるので、モデム12aは受信
待機状態に移行することはない。
Since the transmission request signal RS to the modem 12a is also turned on by the ON command from the transmission task 30a of the process controller 1a, the modem 12a does not shift to the reception standby state.

【0047】このように、伝送装置7aからモデム12
aを介して伝送対象機器9側へ送信される端末装置レデ
ィ信号ER及びモデム12aに対する送信要求信号RS
のON/OFF制御を伝送装置7a自身の判断でなく
て、プロセス制御装置1aの伝送タスク30aの判断に
よって実行している。
In this way, from the transmission device 7a to the modem 12
A terminal ready signal ER and a transmission request signal RS to the modem 12a transmitted to the transmission target device 9 side via a.
The ON / OFF control is executed not by the judgment of the transmission device 7a itself but by the judgment of the transmission task 30a of the process control device 1a.

【0048】プロセス制御装置1aの伝送タスク30a
は図2の流れ図に示すように、制御対象機器8に対する
制御処理状況に応じて、最適タイミングで伝送装置7a
へ端末装置レディ信号ER及び送信要求信号RSのON
/OFF指令を送出するようにしている。したがって、
プロセス制御装置1aがデータを受信できる態勢になっ
てになかったり、また受信できても直ぐにデーテ処理で
きない場合に、伝送対象機器9からデータが送信された
り、またデータ通信要求が送信されることはない。
Transmission task 30a of the process controller 1a
As shown in the flow chart of FIG. 2, the transmission device 7a is set at the optimum timing according to the control processing status of the control target device 8.
ON to terminal device ready signal ER and transmission request signal RS
A / OFF command is sent. Therefore,
If the process control device 1a is not ready to receive data, or if the process control device 1a can receive data but cannot immediately process the data, the device 9 to be transmitted does not send data or send a data communication request. Absent.

【0049】よって、モデム12a,12b及びモデム
専用信号ケーブル13に無駄なデータが繰返して伝送さ
れるのが未然に防止される。また、伝送装置7aは各制
御信号の送出タイミングが従来の伝送装置7と異なるの
みであるので、データ伝送方式の伝送対象機器9として
従来の伝送対象機器9をそのまま使用できる。すなわ
ち、本発明のデータ伝送方式を採用するに際して何等仕
様変更を行う必要がない。よって、従来から存在するモ
ニタ装置やホストシステム等の伝送対象機器9に対して
そのまま本発明のデータ伝送方式を適用でき、汎用性を
損なうことなく、データ伝送効率を大幅に向上できる。
Therefore, useless data is prevented from being repeatedly transmitted to the modems 12a and 12b and the modem-dedicated signal cable 13. Moreover, since the transmission device 7a is different from the conventional transmission device 7 in the timing of sending each control signal, the conventional transmission target device 9 can be used as it is as the transmission target device 9 of the data transmission method. That is, it is not necessary to change the specifications when adopting the data transmission method of the present invention. Therefore, the data transmission method of the present invention can be directly applied to the transmission target device 9 such as a monitor device or a host system that has existed in the past, and the data transmission efficiency can be significantly improved without impairing versatility.

【0050】さらに、プロセス制御装置1aの伝送タス
ク30aは自己側のモデム12aの各制御信号の各ON
/OFF状態を必要に応じて簡単に把握できるので、例
えば伝送対象機器9がビジィ状態時にデータを送信する
ことを未然に防止できる。よって、上述した効果をさら
に向上できる。
Further, the transmission task 30a of the process control device 1a turns on each control signal of the modem 12a on its own side.
Since the ON / OFF state can be easily grasped as necessary, it is possible to prevent the transmission target device 9 from transmitting data in the busy state, for example. Therefore, the effects described above can be further improved.

【0051】[0051]

【発明の効果】以上説明したように、本発明のプロセス
制御装置のデータ伝送方式においては、プロセス制御装
置における本来の業務である制御対象機器に対する制御
処理の状況に応じて、伝送装置が伝送対象機器へ送出す
る各制御信号を制御するようにしている。したがって、
伝送対象機器としては、その各制御信号を把握すること
によつて、伝送装置に接続されたプロセス制御装置側の
伝送可能/停止状態を把握できる。
As described above, according to the data transmission method of the process control device of the present invention, the transmission device is the transmission target depending on the status of the control processing for the control target device which is the original task of the process control device. Each control signal sent to the equipment is controlled. Therefore,
As for the device to be transmitted, by grasping the respective control signals, it is possible to grasp the transmittable / suspended state on the side of the process control device connected to the transmission device.

【0052】よって、従来規格の制御信号の授受手順を
維持したままで、伝送装置と伝送対象機器との間で無駄
なデータ送受信を極力減らし、データ伝送効率を向上で
きると共に、プロセス制御装置及び伝送対象機器にとっ
ても処理能率か向上し、プロセス制御装置の使い勝手を
向上できる。
Therefore, while maintaining the control signal transmission / reception procedure of the conventional standard, wasteful data transmission / reception between the transmission device and the transmission target device can be reduced as much as possible, and the data transmission efficiency can be improved, and the process control device and the transmission device can be transmitted. The processing efficiency is improved for the target device, and the usability of the process control device can be improved.

【0053】また、プロセス制御装置は、必要に応じ
て、モデムの制御信号状態を簡単に把握できる、その結
果、伝送対象機器の動作状態も把握できるので、伝送対
象機器の動作状況を考慮した伝送対象機器に対するデー
タ通信を実施でき、前述したデータ伝送効率をさらに向
上できる。
Further, the process control device can easily grasp the control signal state of the modem as necessary, and as a result, the operating state of the transmission target device can be grasped. Therefore, the transmission in consideration of the operating condition of the transmission target device is performed. Data communication with the target device can be performed, and the above-described data transmission efficiency can be further improved.

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

【図1】 本発明の一実施例に係わるデータ伝送方式を
適用したプロセス制御装置および伝送装置の概略構成を
示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of a process control device and a transmission device to which a data transmission method according to an embodiment of the present invention is applied.

【図2】 同実施例データ伝送方式を適用したプロセス
制御装置における伝送タスクの動作を示す流れ図
FIG. 2 is a flowchart showing the operation of a transmission task in the process control device to which the data transmission method of the embodiment is applied.

【図3】 同実施例データ伝送方式を適用した伝送装置
の動作を示す流れ図
FIG. 3 is a flowchart showing the operation of a transmission device to which the data transmission method of the embodiment is applied.

【図4】 一般的なプロセス制御システムの概略構成図FIG. 4 is a schematic configuration diagram of a general process control system.

【図5】 従来のデータ伝送方式を用いたプロセス制御
装置および伝送装置の概略構成を示すブロック図
FIG. 5 is a block diagram showing a schematic configuration of a process control device and a transmission device using a conventional data transmission method.

【図6】 一般的なモデムと伝送装置及び伝送対象機器
との間で授受される制御信号と各端子との配列を示す図
FIG. 6 is a diagram showing an arrangement of control signals and respective terminals exchanged between a general modem, a transmission device, and a transmission target device.

【符号の説明】[Explanation of symbols]

1,1a…プロセス制御装置、2…CPU、3…プログ
ラムメモリ(APM)、4…データメモリ(DM)、5
…システムバス、6…入出力装置、7,7a…伝送装
置、8…制御対象機器、9…伝送対象機器、10…信号
ケーブル、11a,11b…伝送信号ケーブル、12
a,12b…モデム、13…モデム専用信号ケーブル、
40,72…伝送用データメモリ、70,70a…伝送
制御部、71…伝送インタフェース部、73…モデム制
御指示メモリ、74…モデム状態メモリ。
1, 1a ... Process control device, 2 ... CPU, 3 ... Program memory (APM), 4 ... Data memory (DM), 5
... system bus, 6 ... input / output device, 7, 7a ... transmission device, 8 ... control target device, 9 ... transmission target device, 10 ... signal cable, 11a, 11b ... transmission signal cable, 12
a, 12b ... modem, 13 ... modem dedicated signal cable,
40, 72 ... Transmission data memory, 70, 70a ... Transmission control unit, 71 ... Transmission interface unit, 73 ... Modem control instruction memory, 74 ... Modem state memory.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 制御対象機器の動作を制御するプロセス
制御装置と伝送対象機器と間に伝送装置とモデムとを介
在させて、前記伝送装置は、前記プロセス制御装置から
のデータ通信指令を受信すると、前記モデムを介して前
記伝送対象との間で所定の制御信号の授受手順に従って
データ通信を実行するプロセス制御装置のテータ伝送方
式において、 前記伝送装置は前記モデムを介して前記伝送対象機器へ
送信する自己の動作状態を示す制御信号を前記プロセス
制御装置から受信する制御指令に基づいて送出し、 前記プロセス制御装置は前記制御対象機器に対する制御
状況に応じて前記伝送装置へ前記制御指令を送出するこ
とを特徴とするプロセス制御装置のデータ伝送方式。
1. A transmission device and a modem are interposed between a process control device that controls the operation of a control target device and a transmission target device, and the transmission device receives a data communication command from the process control device. In a data transmission method of a process control device that performs data communication with the transmission target via the modem according to a procedure of transmitting and receiving a predetermined control signal, the transmission device transmits to the transmission target device via the modem. A control signal indicating its own operating state is transmitted based on a control command received from the process control device, and the process control device transmits the control command to the transmission device according to a control situation for the control target device. A data transmission method of a process control device, which is characterized in that
【請求項2】 制御対象機器の動作を制御するプロセス
制御装置と伝送対象機器と間に伝送装置とモデムとを介
在させて、前記伝送装置は、前記プロセス制御装置から
のデータ通信指令を受信すると、前記モデムを介して前
記伝送対象との間で所定の制御信号の授受手順に従って
データ通信を実行するプロセス制御装置のテータ伝送方
式において、 前記伝送装置は前記モデムを介して前記伝送対象機器へ
送信する自己の動作状態を示す制御信号を前記プロセス
制御装置から受信する制御指令に基づいて送出し、 前記プロセス制御装置は、前記伝送装置を介して前記モ
デムの制御信号状態を把握し、この把握した制御信号状
態及び前記制御対象機器に対する制御状況に応じて前記
伝送装置へ前記制御指令を送出することを特徴とするプ
ロセス制御装置のデータ伝送方式。
2. A transmission device and a modem are interposed between a process control device for controlling the operation of a control target device and the transmission target device, and the transmission device receives a data communication command from the process control device. In a data transmission method of a process control device that performs data communication with the transmission target via the modem according to a procedure of transmitting and receiving a predetermined control signal, the transmission device transmits to the transmission target device via the modem. A control signal indicating its own operating state is transmitted based on a control command received from the process control device, the process control device grasps the control signal state of the modem via the transmission device, and grasps this. A process control, characterized in that the control command is sent to the transmission device according to a control signal state and a control situation for the controlled device. Data transmission method of the apparatus.
JP6005010A 1994-01-21 1994-01-21 Data transmission method of process control device Pending JPH07212431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6005010A JPH07212431A (en) 1994-01-21 1994-01-21 Data transmission method of process control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6005010A JPH07212431A (en) 1994-01-21 1994-01-21 Data transmission method of process control device

Publications (1)

Publication Number Publication Date
JPH07212431A true JPH07212431A (en) 1995-08-11

Family

ID=11599586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6005010A Pending JPH07212431A (en) 1994-01-21 1994-01-21 Data transmission method of process control device

Country Status (1)

Country Link
JP (1) JPH07212431A (en)

Similar Documents

Publication Publication Date Title
JPH07212431A (en) Data transmission method of process control device
JP2727847B2 (en) Debug device
JP2527849Y2 (en) Programmable controller and its programming device
JP2705617B2 (en) Power off method
JP3190627B2 (en) Control host computer and recording medium on which the program is recorded
JP2554047B2 (en) Embedded system of system including work station
JPH0648473B2 (en) Message transmission / reception processing method
JP3611166B2 (en) Data processing method and apparatus
JP2718763B2 (en) Self-diagnosis activation method
JP2626259B2 (en) Remote power control unit
JP2541502B2 (en) Control message transmission / reception method
JPH04216105A (en) Programmable controller
JP2549217B2 (en) Response sequence transmission method
JPH04329378A (en) Automatic test system for power source control device
JPH0520255A (en) Data transfer system
JPH09101907A (en) Program test method
JPH04170618A (en) Automatic power supply control system corresponding to token ring lan
JPH06332811A (en) Display and control method
JPH04152734A (en) Diagnostic system for network system
JPH06119198A (en) Shared terminal control method
JPH0220197A (en) Line connecting system between numerical control device and its peripheral equipment
JPH03269634A (en) Data transmission system
JPH0652483B2 (en) Remote information management device for machine tools
JPH0564269A (en) Remote supervisory equipment for equipment state
JP2000029805A (en) NC data input method in processing machine