[go: up one dir, main page]

JP3155258B1 - Data collection system, data collection method, and recording medium on which data collection program is recorded - Google Patents

Data collection system, data collection method, and recording medium on which data collection program is recorded

Info

Publication number
JP3155258B1
JP3155258B1 JP29288999A JP29288999A JP3155258B1 JP 3155258 B1 JP3155258 B1 JP 3155258B1 JP 29288999 A JP29288999 A JP 29288999A JP 29288999 A JP29288999 A JP 29288999A JP 3155258 B1 JP3155258 B1 JP 3155258B1
Authority
JP
Japan
Prior art keywords
data
display
control device
communication
communication protocol
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
JP29288999A
Other languages
Japanese (ja)
Other versions
JP2001117612A (en
Inventor
良彦 中田
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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP29288999A priority Critical patent/JP3155258B1/en
Application granted granted Critical
Publication of JP3155258B1 publication Critical patent/JP3155258B1/en
Publication of JP2001117612A publication Critical patent/JP2001117612A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Programmable Controllers (AREA)

Abstract

【要約】 【課題】 プログラマブル表示器に記憶されている異機
種のPLCのデータを容易に収集し、かつ記録保存す
る。 【解決手段】 PLC3とプログラマブル表示器(表示
器)2との間の専用ネットワーク5での通信プロトコル
を、データ処理部2aで変換データ記憶部2fのプロト
コル変換用データを用いて、表示器2とパソコン1との
間の共通ネットワーク4での通信プロトコルに変換す
る。これにより、パソコン1は、表示器2の収集データ
記憶部2hに記憶されている、異機種の複数のPLC3
についてのデータなどを容易に収集することができる。
また、予め設定された配信条件が満たされると、表示器
2で記憶されたデータをデータ配信部2gによってパソ
コン1に配信する。パソコン1では、そのデータをデー
タ通信処理部1aによってアプリケーション部1fとし
ての表計算ソフトのワークシートなどに表示器2で記憶
されている形式に対応した形式で書き込む。
Abstract: PROBLEM TO BE SOLVED: To easily collect, record and save data of a different kind of PLC stored in a programmable display. SOLUTION: A communication protocol between a PLC 3 and a programmable display (display) 2 on a dedicated network 5 is determined by a data processing unit 2a using a protocol conversion data of a conversion data storage unit 2f. The communication protocol is converted to a communication protocol on the common network 4 with the personal computer 1. As a result, the personal computer 1 stores a plurality of different types of PLCs 3 stored in the collected data storage unit 2h of the display 2.
Can easily be collected.
When a preset distribution condition is satisfied, the data stored in the display 2 is distributed to the personal computer 1 by the data distribution unit 2g. In the personal computer 1, the data is written by the data communication processing unit 1a to a worksheet or the like of spreadsheet software as the application unit 1f in a format corresponding to the format stored in the display 2.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルロ
ジックコントローラなどの産業用制御装置のデータを収
集して記録保存するためのシステム、方法およびそのた
めのプログラムが記録された記録媒体に関するものであ
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a system and method for collecting, recording and storing data of an industrial control device such as a programmable logic controller and a recording medium on which a program for the data is recorded.

【0002】[0002]

【従来の技術】プログラマブルロジックコントローラ
(以降、PLCと称する)などと呼ばれる産業用制御装
置は、シーケンス制御をはじめとする各種制御を実現す
るために、ベルトコンベアー式の自動組付機などの種々
のターゲットシステムを制御する制御装置として広く使
用されている。さらに、近年では、ターゲットシステム
の複雑化に伴って、複数台のPLCをネットワーク回線
を介して互いに接続したネットワーク制御システムの導
入も普及しつつある。
2. Description of the Related Art An industrial control device called a programmable logic controller (hereinafter, referred to as a PLC) or the like is used to implement various controls such as a sequence control, in order to realize various controls such as a belt conveyor type automatic assembling machine. It is widely used as a control device for controlling a target system. Further, in recent years, with the complexity of the target system, the introduction of a network control system in which a plurality of PLCs are connected to each other via a network line has been spreading.

【0003】このようなネットワーク制御システムにお
いては、各PLCの稼働状況などの表示やPLCへの制
御指示は、PLC付近に配置されたプログラマブル表示
器などの制御機能を備えた表示装置によって行われる。
また、上記の制御システムにおいては、PLCや表示装
置から離れた場所でも、PLCの稼働状況の監視やPL
Cの制御を行えるように、そのような場所に設置された
ホストコンピュータを参加させることもできる。
In such a network control system, the display of the operation status of each PLC and the control instruction to the PLC are performed by a display device having a control function such as a programmable display disposed near the PLC.
Further, in the above control system, even in a place away from the PLC or the display device, the operation status of the PLC can be monitored and the PLC can be monitored.
In order to control C, a host computer installed in such a place can also be made to participate.

【0004】上記の制御システムは、例えば、図9に示
すように、PLC101…を制御の中心として位置付け
ており、各PLC101には、ターゲットシステムの各
所に配されたセンサやアクチュエータのような入出力機
器102…と、表示および制御指示を行うプログラマブ
ル表示器などの表示装置103…とが接続されている。
また、PLC101には、他のPLC101やホストコ
ンピュータ104が所定のインターフェース回路を介し
て直接接続されるか、または専用のアダプタを介して間
接的に接続されている。PLC101とホストコンピュ
ータ104との間や各PLC101間におけるデータの
授受は、PLC101の通信機能を利用して行われてい
る。
In the above control system, for example, as shown in FIG. 9, PLCs 101... Are positioned at the center of control, and each PLC 101 has input / output devices such as sensors and actuators arranged at various points in the target system. A device 102 is connected to a display device 103 such as a programmable display device for performing display and control instructions.
Further, another PLC 101 or host computer 104 is directly connected to the PLC 101 via a predetermined interface circuit or indirectly via a dedicated adapter. Data transfer between the PLC 101 and the host computer 104 and between the PLCs 101 is performed using the communication function of the PLC 101.

【0005】表示装置103で表示される画面は、画面
作成ソフトウェア(以降、作画ソフトと称する)を用い
てユーザ独自で作成できるようになっている。画面作成
に際しては、予め作画ソフトをパーソナルコンピータの
ようなコンピュータ装置にインストールしておき、ユー
ザが、作画ソフトによって提供されるスイッチ、テンキ
ー、ランプ、メータ表示器、グラフ表示器といった部
品、描画機能などを用いて所望の画面を構成する。そし
て、作成された画面をどのようなタイミングで、どのよ
うに動作させるかを作画ソフトによって設定する。さら
に、その結果得られた画面データは、通信ポートを介し
て表示装置3のユーザメモリにダウンロードされる。
The screen displayed on the display device 103 can be created by the user using screen creation software (hereinafter, referred to as drawing software). When creating the screen, the drawing software is installed in advance on a computer device such as a personal computer, and the user can use the switches, numeric keys, lamps, meter display, graph display, parts such as the graphic display provided by the drawing software, etc. Is used to compose a desired screen. Then, at what timing and how the created screen is operated is set by the drawing software. Further, the screen data obtained as a result is downloaded to the user memory of the display device 3 via the communication port.

【0006】このような制御システムにおいては、シス
テムの運用上、PLC101の出力データ(温度、流量
など)を収集することが重要となる。このようなデータ
の収集は、例えば、データ収集用のソフトウェアを用い
て行うことができる。このソフトウェアをホストコンピ
ュータ104にインストールしておけば、指定された時
刻や期間にPLC101との間の通信で出力データを収
集し、これらのデータを市販のアプリケーションソフト
ウェア(表計算ソフトなど)を用いて保存することがで
きる。
In such a control system, it is important for the operation of the system to collect output data (temperature, flow rate, etc.) of the PLC 101. Such data collection can be performed using, for example, data collection software. If this software is installed in the host computer 104, output data is collected by communication with the PLC 101 at a specified time or period, and these data are collected using commercially available application software (such as spreadsheet software). Can be saved.

【0007】また、表示装置103として用いられるプ
ログラマブル表示器などには、半導体メモリなどの各種
の記憶媒体を利用することによって、データロギング能
力を強化した機種がある。このような機種では、PLC
101からの出力データやPLC101に与える制御デ
ータを容易に記憶することができる。したがって、PL
C101との直接の通信でデータを収集する以外に、表
示装置103からデータを収集することもできる。従
来、表示装置103からデータを収集するには、例え
ば、以下のように作画ソフトのデータ設定機能を利用し
ていた。
[0007] As a programmable display device used as the display device 103, there is a model in which data logging capability is enhanced by using various storage media such as a semiconductor memory. In such a model, PLC
Output data from the PC 101 and control data to be given to the PLC 101 can be easily stored. Therefore, PL
In addition to collecting data by direct communication with C101, data can be collected from the display device 103. Conventionally, to collect data from the display device 103, for example, the data setting function of the drawing software has been used as follows.

【0008】上記のような作画ソフトには、画面データ
の作成機能とともに、データ設定用の画面(図5参照)
を用意しているものがある。このような画面では、設定
または収集すべきデータを書き込む領域がPLC101
に接続されるデバイス毎に設けられている。そして、作
成された設定画面(ファイル)は、画面データとともに
表示装置103にダウンロードされる。そして、ターゲ
ットシステムの稼働時には、表示装置103において、
設定画面上に制御するための設定値を書き換えたり、P
LC101から得られたデータを蓄積したりできる。
[0008] The drawing software as described above has a screen for data setting as well as a screen data creation function (see FIG. 5).
There are things that are available. In such a screen, an area in which data to be set or collected is written in the PLC 101
Is provided for each device connected to the device. Then, the created setting screen (file) is downloaded to the display device 103 together with the screen data. When the target system is operating, the display device 103
Rewrite the set value for control on the setting screen,
Data obtained from the LC 101 can be stored.

【0009】このように、表示装置103に記憶された
データをホストコンピュータ101に収集することによ
って、表示装置103とホストコンピュータ101とで
共通するデータを収集することによって、データの二重
化が図られる。この結果、表示装置103またはホスト
コンピュータ101のいずれか一方がシステムダウンし
ても、他方で収集されたデータを利用することができ
る。
As described above, the data stored in the display device 103 is collected by the host computer 101, and the data common to the display device 103 and the host computer 101 is collected, thereby achieving data duplication. As a result, even if one of the display device 103 and the host computer 101 goes down, the data collected by the other can be used.

【0010】[0010]

【発明が解決しようとする課題】PLC101は、一般
に、機種毎(製造者毎あるいは同一製造者であっても製
品毎など)にデータ通信に使用する通信プロトコルが異
なることが多い。このため、上記の制御システムでは、
各PLC101とホストコンピュータ104との間、お
よびPLC101と表示装置103との間の双方で、P
LC101に固有の通信プロトコルで通信する必要があ
る。この結果、異機種のPLC101…を併用すること
が容易にできないという問題が生じる。
Generally, the PLC 101 often uses different communication protocols for data communication for each model (for each manufacturer or even for the same manufacturer even for each product). Therefore, in the above control system,
P is used both between each PLC 101 and the host computer 104 and between the PLC 101 and the display device 103.
It is necessary to communicate using a communication protocol specific to the LC 101. As a result, a problem arises in that it is not easy to use different types of PLCs 101.

【0011】具体的には、ホストコンピュータ104と
表示装置103との双方に、PLC101と通信するた
めの通信プロトコルを用意する必要があるために、ホス
トコンピュータ104および表示装置103の製造およ
び維持管理に手間がかかる。
More specifically, since it is necessary to prepare a communication protocol for communicating with the PLC 101 in both the host computer 104 and the display device 103, the manufacturing and maintenance of the host computer 104 and the display device 103 are required. It takes time and effort.

【0012】通信プロトコルの相違の程度が軽微な場
合、具体的には、スタートキャラクタ、ストップキャラ
クタ、送受アドレスの指定方法など、通信の確立に必要
な通信プロトコルが同一であり、かつ余り重要ではない
コマンドのみが相違している程度であれば、PLC10
1の機能のうち、実際に使用する機能を制限して、相違
しているコマンドを使用しなければ、異機種のPLC1
01を併用することも不可能ではない。ところが、複数
機種と通信するコマンドのような重要なコマンドが相違
している場合には、ホストコンピュータ104とPLC
101との間で通信が確立したとしても、ホストコンピ
ュータ104はPLC101に所望の動作を指示するこ
とができない。
When the degree of the difference between the communication protocols is small, the communication protocols necessary for establishing the communication, such as a start character, a stop character, and a method of designating a transmission / reception address, are the same and are not so important. If only the command is different, the PLC 10
If a different command is not used by limiting the function actually used among the functions of the PLC 1, the PLC 1 of a different model is used.
It is not impossible to use 01 in combination. However, when an important command such as a command for communicating with a plurality of models is different, the host computer 104 and the PLC
Even if communication is established with the host 101, the host computer 104 cannot instruct the PLC 101 to perform a desired operation.

【0013】しかも、上記の通信確立に要する通信プロ
トコル自体が異なっている場合には、通信プロトコルの
異なるPLC101とホストコンピュータ104などと
の間の通信が成立しないだけではなく、通信プロトコル
が共通のPLC101とホストコンピュータ104との
通信を阻害してしまう。したがって、そのPLC101
を接続する場合には、変換器をネットワークに挿入し
て、そのPLC101がホストコンピュータ104や他
のPLC101から同じ機種に見えるように、通信プロ
トコルを相互変換する必要がある。しかしながら、上記
のような制御システムでは、一般に、変換器を設置でき
る場所が限られることが多いだけでなく、変換器の増設
に伴って制御システム全体のコストが高騰するという不
都合がある。さらに、PLC101の通信プロトコル
は、例えば100種以上と数多く存在するので、それら
の通信プロトコルに対応する所望の変換器が存在すると
は限らない。
Further, when the communication protocol itself required for establishing the communication is different, not only communication between the PLC 101 having different communication protocols and the host computer 104 is not established, but also the PLC 101 having the common communication protocol is not established. Communication with the host computer 104 is hindered. Therefore, the PLC 101
Is required, a converter must be inserted into the network, and the communication protocol must be mutually converted so that the PLC 101 can be seen by the host computer 104 and other PLCs 101 as the same model. However, in the control system as described above, in general, not only the place where the converter can be installed is often limited, but also the cost of the entire control system increases with the addition of the converter. Further, since there are a large number of communication protocols of the PLC 101, for example, 100 types or more, a desired converter corresponding to those communication protocols does not always exist.

【0014】したがって、PLC101を通信の中心に
配する制御システムでは、異機種のPLC101を併用
することが難しく、PLC101を選択する際の選択肢
が制限されてしまう。このため、従来、制御システムに
おいては、同一機種のPLC101が用いられることが
多い。
Therefore, in a control system in which the PLC 101 is arranged at the center of communication, it is difficult to use different types of PLC 101 together, and options for selecting the PLC 101 are limited. For this reason, conventionally, in a control system, the PLC 101 of the same model is often used.

【0015】さらに、制御の中心として位置付けられた
PLC101…が制御システムにおける通信の大半を処
理するために、PLC101の負担が大きくなってしま
う。具体的には、PLC101は、リレーを使用したシ
ーケンサから発達してきた経緯もあり、スイッチのオン
・オフ制御やセンサからのデータ取り込みといったI/
O制御に関する処理を得意としているので、上記のよう
に制御システムの通信を処理するには能力が不足するこ
とが多く、仮に能力的に不足がない場合でも負担が大き
い。例えば、ターゲットシステムを制御するだけであれ
ば、PLC101は、通常、数十kバイト程度の記憶容
量と、記憶容量に応じた処理能力とで十分であるが、こ
の記憶容量や処理能力では、多くの通信を十分な速度で
処理することは難しい。
Further, since the PLCs 101, which are positioned as the control centers, process most of the communication in the control system, the burden on the PLCs 101 increases. More specifically, the PLC 101 has been developed from a sequencer using a relay, and has been used for I / O control such as on / off control of a switch and data acquisition from a sensor.
Since it is good at processing related to O-control, the ability to process communication of the control system as described above is often insufficient, and even if the ability is not insufficient, the burden is large. For example, if only the target system is to be controlled, the PLC 101 usually requires a storage capacity of about several tens of kilobytes and a processing capacity according to the storage capacity. It is difficult to process this communication at a sufficient speed.

【0016】このように、従来の制御システムでは、通
信プロトコルによる制限のため、異機種のPLC101
…からの出力データの収集を容易に行うことができない
という問題がある。また、上記の制御システムにおい
て、PLC101…の出力データを収集するには、市販
されているか、あるいはユーザにより作成された専用の
データ収集用ソフトが必要になる。しかも、このような
ソフトを用いる場合、そのソフトがインストールされた
ホストコンピュータ104から、設定された時刻や周期
でPLC101にデータの送信を要求する必要があり、
データ通信の効率があまり良くなかった。
As described above, in the conventional control system, due to the restriction by the communication protocol, different types of PLC 101
... cannot easily be collected. In addition, in the above control system, in order to collect output data of the PLCs 101, dedicated data collection software which is commercially available or created by a user is required. Moreover, when using such software, it is necessary to request the PLC 101 to transmit data at a set time or cycle from the host computer 104 on which the software is installed,
Data communication efficiency was not very good.

【0017】また、表示装置103の設定画面上のデー
タをホストコンピュータ104に取り込むには、設定画
面のファイルをアップロードするために表示装置103
とホストコンピュータ104を直接接続する必要がある
だけでなく、ホストコンピュータ104においては、作
画ソフトを起動して、その作画ソフトを介してデータの
モニタや書き換えを行う必要がある。しかも、作画ソフ
トの起動やファイルのアップロードの操作などは、ユー
ザのホストコンピュータ104(マウスやキーボード)
における指示操作によるので、操作性が良くないという
不都合がある。
In order to load the data on the setting screen of the display device 103 into the host computer 104, the display device 103 needs to upload a file of the setting screen.
In addition to the direct connection between the host computer 104 and the host computer 104, the host computer 104 needs to activate drawing software and monitor and rewrite data via the drawing software. In addition, the operation of starting the drawing software or uploading the file is performed by the user's host computer 104 (mouse or keyboard).
, There is a disadvantage that the operability is not good.

【0018】本発明は、上記の問題点に鑑みてなされた
ものであり、専用のデータ収集用ソフトを必要とするこ
となく、表示装置に記憶されているデータを効率良く容
易に収集することができるデータ収集システム、データ
収集方法およびそのデータ収集のためのプログラムが記
録された記録媒体を提供することを目的としている。
The present invention has been made in view of the above-mentioned problems, and it is possible to efficiently and easily collect data stored in a display device without requiring dedicated data collection software. It is an object of the present invention to provide a data collection system, a data collection method, and a recording medium on which a program for the data collection is recorded.

【0019】[0019]

【課題を解決するための手段】請求項1の発明に係るデ
ータ収集システムは、上記の課題を解決するために、入
力機器および出力機器が接続された制御装置と、該制御
装置に接続され、該制御装置の制御状態を表示し、かつ
上記制御装置に制御指示を与える表示型制御装置と、複
数の上記表示型制御装置の上位に設けらられ、通信プロ
トコルの異なる上記制御装置から表示型制御装置を介し
て、上記制御装置からのデータを収集するホストコンピ
ュータとを備えると共に、上記表示型制御装置および上
記制御装置は、制御装置毎に固有の上記通信プロトコル
で通信を行う専用ネットワークを介して個々に接続され
る一方、上記ホストコンピュータおよび上記表示型制御
装置は、共通の通信プロトコルで通信を行う共通ネット
ワークを介して互いに接続されており、上記表示型制御
装置が、上記データを記憶する記憶手段と、上記制御装
置と上記ホストコンピュータとの間の通信を中継する
際、上記両ネットワークで用いられる通信プロトコル
いに変換するプロトコル変換手段と、予め設定されて
いる配信条件が満たされたときに上記記憶手段に記憶さ
れた上記データを上記ホストコンピュータに配信する配
信手段とを有し、上記ホストコンピュータが、上記記憶
手段に記憶されているデータをその記憶形式に対応する
形式、かつアプリケーションソフトウェアによって提供
される記録シートに保存可能な形態で書き込む書込手段
を有していることを特徴としている。
According to a first aspect of the present invention, there is provided a data collection system, comprising: a control device to which an input device and an output device are connected ;
Connected device, and a display-type control device control state Display and gives a control instruction to the control unit of the control device, double
Mokerara is the top number in Table示型controller, communication Pro
From the above controllers with different protocols via the display type controller
Te, the host competent for collecting data from the top Symbol controller
And the display-type control device and the
The control device has the above-mentioned communication protocol specific to each control device.
Connected individually via a dedicated network that communicates with
On the other hand, the host computer and the display control
The device is a common network that communicates using a common communication protocol.
The display-type control device is connected to each other through a work, and the display-type control device includes storage means for storing the data, and the control device
Relays communication between the device and the host computer
When the communication protocol used above SL both networks
It includes a protocol conversion means for converting each other physicians, and a distribution unit for the data stored in the storage means when the distribution condition set in advance is satisfied to deliver to the host computer, the host computer Writing means for writing data stored in the storage means in a format corresponding to the storage format and in a form which can be stored in a recording sheet provided by application software.

【0020】上記の構成において、制御装置からの出力
データは、専用ネットワークを介して表示型制御装置に
送出される。表示型制御装置においては、専用ネットワ
ークの通信プロトコルが、プロトコル変換手段によって
共通ネットワークの通信プロトコルに変換される。その
後、出力データは、配信手段によって表示型制御装置か
ら共通ネットワークを介して接続されたホストコンピュ
ータへ転送される。
In the above configuration, the output data from the control device is sent to the display control device via the dedicated network. In the display control device, the communication protocol of the dedicated network is converted to the communication protocol of the common network by the protocol conversion means. Thereafter, the output data is transferred from the display control device to the host computer connected via the common network by the distribution means.

【0021】これにより、表示型制御装置は、制御装置
の通信プロトコルに関わらず、常に同一の通信プロトコ
ルで、共通ネットワークを介してホストコンピュータと
通信することができる。この結果、制御装置、表示型制
御装置およびホストコンピュータを含む制御システム内
に、通信プロトコルの異なる制御装置が混在していて
も、ホストコンピュータは、これらの制御装置から表示
型制御装置を介して容易にデータを収集することができ
る。
Thus, the display control device can always communicate with the host computer via the common network using the same communication protocol regardless of the communication protocol of the control device. As a result, even if a control device having a different communication protocol is mixed in a control system including the control device, the display control device, and the host computer, the host computer can easily receive the control device from the control device via the display control device. Data can be collected.

【0022】また、配信手段によって、予め設定されて
いる配信条件(指定時刻、指定周期など)が満たされた
ときに表示型制御装置の記憶手段に記憶されたデータ
(制御装置からの出力データなど)がホストコンピュー
タに配信されるので、ホストコンピュータ側から制御装
置にデータを必要に応じて要求する必要がなくなり、自
動的にデータを収集することができる。そして、このよ
うにして、表示型制御装置からホストコンピュータに収
集されたデータは、書込手段によって、記憶手段での記
憶形式に対応する形式でアプリケーションソフトウェア
にて提供される記録シートに保存可能な形態で書き込ま
れる。それゆえ、ホストコンピュータにおいて作画ソフ
トを用いてデータの記憶形式を作成するような前述の従
来の技術に本発明を適用すれば、記録シートに保存され
たデータと記憶形式のデータとに互換性を持たせること
ができる。
Further, when the distribution means satisfies predetermined distribution conditions (designated time, designated cycle, etc.), data stored in the storage means of the display-type control device (such as output data from the control device). ) Is delivered to the host computer, so that the host computer does not need to request data to the control device as needed, and data can be collected automatically. The data collected in the host computer from the display control device in this manner can be stored in the recording sheet provided by the application software in a format corresponding to the storage format in the storage device by the writing device. Written in form. Therefore, if the present invention is applied to the above-described conventional technique in which the host computer uses the drawing software to create the data storage format, the compatibility between the data stored in the recording sheet and the data in the storage format is improved. You can have.

【0023】また、上記のデータ収集システムにおいて
は、請求項2に記載のように、上記プロトコル変換手段
は、上記制御装置と他の上記表示型制御装置との間の通
信を中継する際、上記両ネットワークで用いられる通信
プロトコルを互いに変換するものであってもよい。
In the above data collection system,
Is the protocol conversion means.
Communication between the control device and the other display-type control device.
When relaying communications, the communications used in both networks
Protocols may be mutually converted.

【0024】さらに、請求項3に記載のように、上記プ
ロトコル変換手段によるプロトコル変換処理に必要なプ
ロトコル情報は、上記表示型制御装置に異なる通信プロ
トコルを採用した上記制御装置が接続されると切り換え
られてもよい。
Further, as described in claim 3, the program
Protocols required for protocol conversion processing by the protocol conversion means.
The protocol information is transmitted to the above-mentioned display-type control device by a different communication protocol.
Switching when the above-mentioned control device that employs the protocol is connected
You may be.

【0025】なお、上記のデータ収集システムにおいて
、上記書込手段が、上記記憶手段として上記表示型制
御装置に設けられている記憶媒体を指定して上記データ
を上記記録シートに書き込むことが好ましい。これによ
り、表示型制御装置が備える記憶媒体の種類に応じて所
望の記憶媒体から読み出されたデータを書き込むことが
できる。
[0025] In the above data acquisition system, the upper Kishokomi means, specifies a storage medium provided on the display-type control device as the memory means the data to be written on said recording sheet preferable. Thus, data read from a desired storage medium can be written according to the type of storage medium provided in the display control device.

【0026】請求項4の発明に係るデータ収集方法は、
上記の課題を解決するために、入力機器および出力機器
が接続された制御装置と、該制御装置に接続され、該
御装置の制御状態を表示し、かつ上記制御装置に制御指
示を与える表示型制御装置と、複数の上記表示型制御装
置の上位に設けられ、通信プロトコルの異なる上記制御
装置から表示型制御装置を介して、上記制御装置からの
データを収集するホストコンピュータとを備える制御シ
ステムにおけるデータ収集方法であって、上記表示型制
御装置および上記制御装置を、制御装置毎に固有の上記
通信プロトコルで通信を行う専用ネットワークを介して
個々に接続し、上記ホストコンピュータおよび上記表示
型制御装置を、共通の通信プロトコルで通信を行う共通
ネットワークを介して互いに接続すると共に、上記表示
型制御装置において、上記データを記憶し、上記制御装
置と上記ホストコンピュータとの間の通信を中継する
際、上記両ネットワークで用いられる通信プロトコル
いに変換するとともに、予め設定されている配信条件
が満たされたときに記憶した上記データを上記ホストコ
ンピュータに配信し、上記ホストコンピュータにおい
て、配信された上記データを上記表示型制御装置での記
憶形式に対応する形式、かつアプリケーションソフトウ
ェアによって提供される記録シートに保存可能な形態で
書き込むことを特徴としている。
According to a fourth aspect of the present invention, there is provided a data collection method comprising:
In order to solve the above problems, a controller input device and the output device is connected, it is connected to the control device, to display the control status of the system <br/> control device, and control to the control device a display type control device for providing an indication, et provided on top of the plurality of table示型controller is different the control of communication protocol
Via the display type control device from the device, and a host computer for collecting <br/> data from above Symbol controller controls
A data collection method for the system,
Control device and the control device, the above-described control device-specific
Via a dedicated network that communicates with the communication protocol
Connected individually, the above host computer and the above display
Type controller that communicates with a common communication protocol
Together are connected to each other via a network, in the display-type control apparatus, and storing the data, the control instrumentation
Relays communication between the device and the host computer
When the communication protocol used above SL both networks
Converts into each other physician delivers the data stored at the time the distribution condition set in advance is satisfied in the host computer, in said host computer, a distributed the data was in the display type control device It is characterized by writing in a format corresponding to the storage format and in a form that can be stored on a recording sheet provided by application software.

【0027】このデータ収集方法でも、制御装置と表示
型制御装置との間の通信プロトコルが、表示型制御装置
とホストコンピュータとの間の通信プロトコルに変換さ
れる。それゆえ、表示型制御装置は、常に同一の通信プ
ロトコルで、共通ネットワークを介してホストコンピュ
ータと通信が可能になり、この結果、ホストコンピュー
タは、通信プロトコルの異なる制御装置から表示型制御
装置を介して容易にデータを収集することができる。
Also in this data collection method, the communication protocol between the control device and the display control device is converted into a communication protocol between the display control device and the host computer. Therefore, the display-type control device can always communicate with the host computer via the common network using the same communication protocol, and as a result, the host computer can communicate from the control device with a different communication protocol via the display-type control device. Data can be collected easily.

【0028】また、予め設定されている配信条件が満た
されたときに表示型制御装置からのデータをホストコン
ピュータに配信するので、自動的にデータを収集するこ
とができる。そして、このような配信によってホストコ
ンピュータに収集されたデータは、表示型制御装置での
記憶形式に対応する形式で上記の記録シートに保存可能
な形態で書き込まれる。それゆえ、請求項1のデータ収
集システムと同様、記録シートに保存されたデータと記
憶形式のデータとに互換性を持たせることができる。
Further, since data from the display control device is distributed to the host computer when a preset distribution condition is satisfied, data can be automatically collected. The data collected by the host computer by such distribution is written in a format corresponding to the storage format of the display control device in a form that can be stored in the recording sheet. Therefore, similarly to the data collection system of the first aspect, the data stored in the recording sheet and the data in the storage format can be made compatible.

【0029】上記のデータ収集方法においては、請求項
5に記載のように、上記表示型制御装置にて、上記制御
装置と他の上記表示型制御装置との間の通信を中継する
際、上記両ネットワークで用いられる通信プロトコルを
互いに変換してもよい。
[0029] In the data collection method described above,
As described in 5, the display-type control device performs the control
Relays communication between the device and the other display-type control device
Communication protocol used in both networks
They may be converted to each other.

【0030】また、請求項6に記載のように、上記表示
型制御装置にて、上記プロトコル変換処理に必要なプロ
トコル情報は、上記表示型制御装置に異なる通信プロト
コルを採用した上記制御装置が接続されると切り換えら
れてもよい。
[0030] According to a sixth aspect of the present invention, the display
The type control device requires the
The protocol information is transmitted to the above-mentioned display-type control device by a different communication protocol.
When the above-mentioned control device that uses
It may be.

【0031】なお、上記のデータ収集方法においては
記データを記憶するために上記表示型制御装置が備え
る記憶媒体を指定して上記データを上記記録シートに書
き込むことが好ましい。これにより、上述のデータ収集
システムと同様、記憶媒体の種類に応じて所望の記憶媒
体から読み出されたデータを書き込むことができる。
In the above data collection method ,
It is preferable to specify a storage medium to which the display-type control device is provided for storing the upper Symbol data writes the data to the recording sheet. Thus, similarly to the data collection system described above, data read from a desired storage medium can be written according to the type of the storage medium.

【0032】請求項7の発明に係るデータ収集のための
プログラムが記録された記録媒体は、上記の課題を解決
するために、入力機器および出力機器が接続された制御
装置と、該制御装置に接続され、該制御装置の制御状態
を表示し、かつ上記制御装置に制御指示を与える表示型
制御装置と、複数の上記表示型制御装置の上位に設けら
れ、通信プロトコルの異なる上記制御装置から表示型制
御装置を介して上記制 御装置からのデータを収集するホ
ストコンピュータとを備え、上記表示型制御装置および
上記制御装置は、制御装置毎に固有の上記通信プロトコ
ルで通信を行う専用ネットワークを介して個々に接続さ
れる一方、上記ホストコンピュータおよび上記表示型制
御装置は、共通の通信プロトコルで通信を行う共通ネッ
トワークを介して互いに接続された制御システムにて、
上記ホストコンピュータが上記制御装置からのデータを
収集するためのプログラムが記録されたコンピュータ読
み取り可能な記録媒体であって、上記表示型制御装置に
おいて、上記データを記憶し、上記制御装置と上記ホス
トコンピュータとの間の通信を中継する際、上記両ネッ
トワークで用いられる通信プロトコルを互いに変換する
とともに、予め設定されている配信条件が満たされたと
きに記憶した上記データを上記ホストコンピュータに配
信し、上記ホストコンピュータにおいて、配信された上
記データを上記表示型制御装置での記憶形式に対応する
形式、かつアプリケーションソフトウェアによって提供
される記録シートに保存可能な形態で書き込むためのプ
ログラムが記録されていることを特徴としている。
[0032] recording medium having a program recorded thereon for data collection according to the invention of claim 7, in order to solve the above problems, a controller input device and the output device is connected, to the control device connected, to display the control state of the control device, and a display-type control device for providing a control instruction to the control unit, it provided on top of the plurality of upper Symbol display type control device
Display type control from the above controller with different communication protocol.
Via the control device and a host <br/> strike computer for collecting data from the control device, the display type control device and
The control device is a communication protocol specific to each control device.
Connected individually via a dedicated network that communicates
On the other hand, the host computer and the display type
The control device communicates using a common communication protocol.
Control systems connected to each other via
A program recorded computer-readable recording medium for collecting data from the host computer over the SL controller, in the display-type control apparatus, and storing the data, the control device and the phosphite
When relaying the communication between the bets computer converts the communication protocol used above SL both networks to each other physician, the host computer the data stored when delivered preset condition is satisfied And a program for writing the delivered data in a format corresponding to the storage format of the display-type control device and in a form that can be stored in a recording sheet provided by application software in the host computer. It is characterized by being.

【0033】この記録媒体に記録されたプログラムによ
っても、制御装置と表示型制御装置との間の通信プロト
コルが、表示型制御装置において、表示型制御装置とホ
ストコンピュータとの間の通信プロトコルに変換され
る。それゆえ、表示型制御装置とホストコンピュータと
の間の通信が常に同一の通信プロトコルで行われる結
果、ホストコンピュータは、通信プロトコルの異なる制
御装置から表示型制御装置を介して容易にデータを収集
することができる。
According to the program recorded on the recording medium, the communication protocol between the control device and the display control device is converted into the communication protocol between the display control device and the host computer in the display control device. Is done. Therefore, communication between the display control device and the host computer is always performed using the same communication protocol. As a result, the host computer easily collects data from the control device having a different communication protocol via the display control device. be able to.

【0034】また、予め設定されている配信条件が満た
されたときに表示型制御装置からのデータをホストコン
ピュータに配信するので、自動的にデータを収集するこ
とができる。そして、ホストコンピュータに収集された
データは、請求項1のデータ収集システムと同様の形態
で書き込まれるので、記録シートに保存されたデータと
記憶形式のデータとに互換性を持たせることができる。
Further, since data from the display control device is delivered to the host computer when a preset delivery condition is satisfied, data can be automatically collected. Since the data collected by the host computer is written in the same manner as in the data collection system of the first aspect, the data stored on the recording sheet and the data in the storage format can be made compatible.

【0035】しかも、上記のプログラムは、プロトコル
変換および配信のための処理と組み合わされて提供され
るので、従来用いられていたデータ収集のための専用の
ソフトウェア(プログラム)を必要とすることがない。
Moreover, since the above-mentioned program is provided in combination with a process for protocol conversion and distribution, there is no need for a dedicated software (program) conventionally used for data collection. .

【0036】上記の記録媒体においては、請求項8に記
載のように、上記表示型制御装置にて、上記制御装置と
他の上記表示型制御装置との間の通信を中継する際、上
記両ネットワークで用いられる通信プロトコルを互いに
変換するためのプログラムが記録されていてもよい。
[0036] In the above recording medium, it is preferable that the recording medium be described.
As described above, in the display-type control device,
When relaying communication with other display-type controllers,
The communication protocols used in the two networks
A program for conversion may be recorded.

【0037】また、請求項9に記載のように、上記表示
型制御装置にて、上記プロトコル変換処理に必要なプロ
トコル情報を、上記表示型制御装置に異なる通信プロト
コルを採用した上記制御装置が接続されると切り換える
ためのプログラムが記録されていてもよい。
[0037] According to a ninth aspect of the present invention, there is provided the display device as described above.
The type control device requires the
Protocol information to the above-mentioned display control device.
It switches when the above-mentioned control device that uses a col is connected
May be recorded.

【0038】なお、上記の記録媒体においては、上記デ
ータを記憶するために上記表示型制御装置が備える記憶
媒体を指定して上記データを上記記録シートに書き込む
ためのプログラムが記録されていることが好ましい。こ
れにより、上述のデータ収集システムと同様、記憶媒体
の種類に応じて所望の記憶媒体から読み出されたデータ
を書き込むことができる。
[0038] In the above recording medium, a program for specifying a storage medium to which the display-type control device is provided for storing the upper Symbol data writes the data to the recording sheet is recorded Is preferred. Thus, similarly to the data collection system described above, data read from a desired storage medium can be written according to the type of the storage medium.

【0039】[0039]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図8に基づいて説明すれば、以下の通りであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

【0040】本実施の形態に係る制御システムは、図1
に示すように、パーソナルコンピュータ(以降、パソコ
ンと称する)1と、複数のプログラマブル表示器(以
降、表示器と称する)2…と、複数のPLC3…とを備
えている。
The control system according to this embodiment is similar to the control system shown in FIG.
, A personal computer (hereinafter, referred to as a personal computer) 1, a plurality of programmable displays (hereinafter, referred to as a display) 2, and a plurality of PLCs 3.

【0041】パソコン1および表示器2…は、共通の通
信プロトコルで通信を行うことが可能な共通ネットワー
ク4を介して互いに接続されている。一方、表示器2お
よびPLC3は、PLC3毎に固有の通信プロトコルで
通信を行うことが可能な専用ネットワーク5を介して個
々に接続されている。
The personal computer 1 and the display units 2 are connected to each other via a common network 4 capable of communicating with a common communication protocol. On the other hand, the display 2 and the PLC 3 are individually connected via a dedicated network 5 capable of performing communication using a unique communication protocol for each PLC 3.

【0042】なお、広義の通信プロトコルには、スター
トキャラクタやエンドキャラクタを示すコード、各キャ
ラクタの送受タイミング、送信先や送信元の特定方法な
どが送信元と送信先とを含むネットワーク内で統一され
ていないと正常にデータが伝送できない通信プロトコル
と、各PLC3が理解可能なコマンド体系など、送信元
と送信先とで統一されていないと一方が所望する動作と
他方が実施する動作とが一致せずに正常に制御できない
通信プロトコルとが存在する。それゆえ、以下の説明で
は、両者の組み合わせを通信プロトコルと称し、両者の
区別が必要な場合には、前者を伝送プロトコル、後者を
コマンド体系として区別する。
In a broadly defined communication protocol, codes indicating start characters and end characters, transmission / reception timing of each character, a method of specifying a transmission destination and a transmission source, and the like are unified in a network including a transmission source and a transmission destination. If the communication protocol cannot transmit data normally if it is not, the operation desired by one and the operation performed by the other, if the transmission source and the destination are not unified, such as a command system that each PLC 3 can understand, will match. There is a communication protocol that cannot be controlled normally without the communication protocol. Therefore, in the following description, a combination of the two is referred to as a communication protocol, and when the two need to be distinguished, the former is distinguished as a transmission protocol and the latter is distinguished as a command system.

【0043】ここで、各PLC3の製造者が規定する通
信プロトコルでは、データの読み出しを指示する場合、
概ね、図2に示すように、次に伝送されるコードがコマ
ンドであることを示す制御コード(ESC)と、PLC
3へデータの読み出しを指示するコマンドコード(R
D)と、読み出し開始アドレス(X0001)と、読み
出しサイズ(5)と、伝送の終了を示す制御コード(R
ET)とを含むデータ列DT1 が伝送される。ただし、
各PLC3間では、コマンドコードを含むコマンド体系
はもちろん、アドレスやサイズなどの並び順や、制御コ
ード自体、あるいはアドレスやサイズを表現する際の表
現方法(数値を示す際のビット幅や文字を示す際のコー
ド種別など)も互いに異なっていることが多い。
Here, according to the communication protocol defined by the manufacturer of each PLC 3, when data reading is instructed,
Generally, as shown in FIG. 2, a control code (ESC) indicating that the code to be transmitted next is a command, and a PLC
Command code (R
D), a read start address (X0001), a read size (5), and a control code (R
Data train DT 1 comprising ET) and is transmitted. However,
Between the PLCs 3, not only the command system including the command code but also the arrangement order of the address and the size, the control code itself, or the expression method when expressing the address and the size (the bit width and the character when indicating the numerical value are indicated. Code types) are often different from each other.

【0044】したがって、本実施の形態では、表示器2
が共通ネットワーク4を介してデータ通信する場合、専
用ネットワーク5を伝送される通信プロトコルに関わら
ず、統一した通信プロトコルで通信できるように、共通
ネットワーク4で伝送可能な通信プロトコルに共通の通
信プロトコル(共通プロトコル)を規定している。具体
的に、本実施の形態では、共通ネットワーク4として、
イーサネット(商標:ゼロックス社)などのローカルエ
リアネットワーク(LAN)が用いられており、共通ネ
ットワーク4での通信プロトコルとして、TCP/IP
が採用されている。
Therefore, in this embodiment, the display 2
When performing data communication via the common network 4, regardless of the communication protocol transmitted over the dedicated network 5, the communication protocol ( Common protocol). Specifically, in the present embodiment, as the common network 4,
A local area network (LAN) such as Ethernet (trademark: Xerox Corporation) is used, and TCP / IP is used as a communication protocol in the common network 4.
Has been adopted.

【0045】このため、共通ネットワーク4に接続され
る各表示器2およびパソコン1には、それぞれに固有の
IPアドレスが割り当てられており、共通ネットワーク
4を介して通信する際、図3に示すように、TCP/I
Pで規定された形式のデータ列DT2 を受信する。この
データ列DT2 は、送信元および送信先のIPアドレス
を含むヘッダ部11と、通信内容を示すデータ本体12
とを備えている。これにより、例えば、制御システムの
開発者が使用するコンピュータなどが、制御システムの
運用会社とは異なる場所から電話回線を介して接続する
場合であっても、TCP/IPで通信可能な通信機器で
あれば、他の通信機器間のデータ伝送を阻害することな
く、共通ネットワーク4に自由に参加できる。
Therefore, a unique IP address is assigned to each display 2 and personal computer 1 connected to the common network 4, and when communicating via the common network 4, as shown in FIG. In addition, TCP / I
Receive defined format data sequence DT 2 in P. This data string DT 2 includes a header section 11 including the IP addresses of the transmission source and the transmission destination, and a data body 12 indicating the communication contents.
And Thus, for example, even when a computer or the like used by a control system developer is connected via a telephone line from a location different from the control system operating company, a communication device capable of communicating by TCP / IP is used. If it exists, it is possible to freely participate in the common network 4 without obstructing data transmission between other communication devices.

【0046】さらに、共通プロトコルでは、データ読み
出しを指示するコマンドをPLC3へ伝える際のデータ
本体12rに、コマンドの内容を示す共通コード13
と、この共通コード13に付随する関連情報14とし
て、読み出し開始アドレス14aおよび読み出しサイズ
14bとが含まれる。また、データ書き込みを指示する
際のデータ本体12wには、関連情報14として、書き
込み開始アドレス14cおよび書き込みデータ14dが
含まれる。
Further, in the common protocol, a common code 13 indicating the content of the command is included in the data body 12r when transmitting a command instructing data reading to the PLC 3.
And the related information 14 accompanying the common code 13 includes a read start address 14a and a read size 14b. Further, the data body 12 w when instructing the data write includes the write start address 14 c and the write data 14 d as the related information 14.

【0047】上記の共通コード13は、各PLC3が理
解可能なコマンドのうち、互いに同一内容のコマンド間
では、専用ネットワーク5でのコマンドコード(各PL
C3でのコマンドコード)に関わらず、統一されてい
る。また、例えば、読み出し開始アドレス14aおよび
読み出しサイズ14bなど、関連情報14内のデータを
伝送する順番、伝送する際の表現方法も、専用ネットワ
ーク5での通信プロトコルに関わらず、統一されてい
る。これにより、共通プロトコルでは、表示器2に接続
されているPLC3の機種に関わらず、実行させるべき
命令を一意的に特定できる。
The common code 13 is a command code (each PL) in the dedicated network 5 between commands which can be understood by each PLC 3 and which have the same contents.
Irrespective of the command code in C3). In addition, for example, the order in which the data in the related information 14 is transmitted, such as the read start address 14a and the read size 14b, and the expression method at the time of transmission are unified regardless of the communication protocol in the dedicated network 5. Accordingly, in the common protocol, the command to be executed can be uniquely specified regardless of the type of the PLC 3 connected to the display 2.

【0048】制御装置としてのPLC3は、CPU/電
源モジュールと、入力ユニットと、出力ユニットとを備
えている。CPU/電源モジュールは、CPUやメモリ
を含むCPU部と、PLC3の各部に電力を供給する電
源部とからなっている。CPU部は、制御プログラムに
したがって、入力ユニットを介して入力機器(図中、I
/D)6から入力される信号に基づいて出力機器(図
中、O/D)7に与える制御データの演算処理を行う。
入力ユニットおよび出力ユニットは、それぞれ入力機器
6および出力機器7に接続されるインターフェース機能
を有する部分であって、これらの機器との間で入出力さ
れるデジタル信号またはアナログ信号を上記のCPU部
とやり取りするようになっている。
The PLC 3 as a control device includes a CPU / power supply module, an input unit, and an output unit. The CPU / power supply module includes a CPU unit including a CPU and a memory, and a power supply unit that supplies power to each unit of the PLC 3. In accordance with the control program, the CPU unit receives input devices (in the figure, I
/ D) 6 based on a signal input from the input device, and performs an arithmetic process of control data given to an output device (O / D in the figure) 7.
The input unit and the output unit are portions having an interface function connected to the input device 6 and the output device 7, respectively. The input unit and the output unit transmit digital signals or analog signals input / output between these devices to / from the CPU unit. It is designed to interact.

【0049】入力機器6としては、センサ(温度セン
サ、光センサなど)、スイッチ(押ボタンスイッチ、リ
ミットスイッチ、圧力スイッチなど)のような機器が用
いられる。出力機器7としては、アクチュエータ、リレ
ー、電磁弁、表示器などが用いられる。これらの入力機
器6…および出力機器7…は、製造ラインなどの各種の
ターゲットシステムの所要各部に配置される。
As the input device 6, devices such as a sensor (temperature sensor, optical sensor, etc.) and a switch (push button switch, limit switch, pressure switch, etc.) are used. As the output device 7, an actuator, a relay, a solenoid valve, a display, or the like is used. These input devices 6 and output devices 7 are arranged in required parts of various target systems such as a production line.

【0050】表示型制御装置としての表示器2は、演算
処理用のDRAM、表示制御用のVRAM、画面データ
や表示制御システムプログラムを記憶するFEPROM
(Flash Erasable and Programmable ROM)などを含むメ
モリ部や、CPUなどの演算処理部によって表示器2の
各部の動作を制御している。また、表示器2は、データ
処理部2a、インターフェース部(図中、I/F)2b
・2c、入力部2d、表示部2e、変換データ記憶部2
f、データ配信部2gおよび収集データ記憶部2hを備
えている。
The display 2 as a display control device includes a DRAM for arithmetic processing, a VRAM for display control, and a FEPROM for storing screen data and a display control system program.
The operation of each unit of the display 2 is controlled by a memory unit including (Flash Erasable and Programmable ROM) and an arithmetic processing unit such as a CPU. The display 2 includes a data processing unit 2a, an interface unit (I / F in the figure) 2b.
2c, input unit 2d, display unit 2e, conversion data storage unit 2
f, a data distribution unit 2g and a collected data storage unit 2h.

【0051】データ処理部2aは、制御画面の表示制
御、プロトコル変換およびデータ配信の処理を行うため
に各種のデータ処理を行う。このデータ処理部2aは、
パッケージソフトウェアとしてプログラムメディアの形
態で提供可能なソフトウェアであって、予めパソコン1
から表示器2にダウンロードされている。また、このソ
フトウェアは、必要に応じて、表示器2の出荷時など
に、予め表示器2インストールされていてもよい。
The data processing section 2a performs various data processings for performing display control of a control screen, protocol conversion, and data distribution. This data processing unit 2a
Software that can be provided in the form of program media as package software,
Is downloaded to the display unit 2 from. Further, this software may be installed in the display 2 in advance at the time of shipment of the display 2 as necessary.

【0052】制御画面の表示制御については、データ処
理部2aは、パソコン1で作成された画面データに基づ
いてVRAMなどを用いて表示部2eに制御画面を描画
させる。制御画面は、例えば、ターゲットシステムを模
した背景画面に、入力機器6および出力機器7などがデ
ザイン化された画像が部品として合成されている。この
ように構成される制御画面においては、部品が入出力機
器6・7の動作に応じて動くようになっており、入力機
器6および出力機器7の動作状況が視覚化されている。
For display control of the control screen, the data processing unit 2a draws the control screen on the display unit 2e using a VRAM or the like based on the screen data created by the personal computer 1. In the control screen, for example, an image in which the input device 6 and the output device 7 are designed is synthesized as a component on a background screen imitating the target system. In the control screen configured as described above, the components move in accordance with the operations of the input / output devices 6 and 7, and the operation states of the input device 6 and the output device 7 are visualized.

【0053】ここで、前記のプログラムメディアは、パ
ソコン1や表示器2と分離可能に構成される記録媒体で
あり、磁気テープやカセットテープなどのテープ系、フ
ロッピディスクやハードディスクなどの磁気ディスク
系、CD−ROM、MO、MD、DVDなどの光ディス
クの光ディスク系、ICカード(メモリカードを含
む)、光カードなどのカード系、あるいはマスクRO
M、EPROM、EEPROM、フラッシュROMなど
による半導体メモリを含めた固定的にプログラムを担持
する媒体であってもよい。
Here, the program medium is a recording medium which is configured to be separable from the personal computer 1 and the display 2, and is a tape system such as a magnetic tape or a cassette tape, a magnetic disk system such as a floppy disk or a hard disk, Optical disc system of optical disc such as CD-ROM, MO, MD, DVD, etc., card system such as IC card (including memory card), optical card, or mask RO
A medium that fixedly holds a program, including a semiconductor memory such as an M, EPROM, EEPROM, or flash ROM, may be used.

【0054】また、本実施の形態の制御システムは、イ
ンターネットを含む通信ネットワークと接続可能なシス
テム構成であることから、通信ネットワークからプログ
ラムをダウンロードするように流動的にプログラムを担
持する媒体であってもよい。ただし、このように通信ネ
ットワークからプログラムをダウンロードする場合に
は、そのダウンロード用プログラムは予めパソコン1に
格納されるか、あるいは別な記録媒体からインストール
されるものであってもよい。
Further, since the control system of the present embodiment has a system configuration that can be connected to a communication network including the Internet, it is a medium that carries the program in a fluid manner so as to download the program from the communication network. Is also good. However, when the program is downloaded from the communication network as described above, the download program may be stored in the personal computer 1 in advance, or may be installed from another recording medium.

【0055】プロトコル変換処理は、両ネットワーク4
・5での通信プロトコルが互いに異なる場合、変換デー
タ記憶部2fに記憶されたデータを参照しながら、一方
の通信プロトコルから他方の通信プロトコルへ変換する
処理である。データ配信処理は、予め設定された配信条
件が満たされたときに、入力機器6からPCL3のメモ
リに取り込まれてPLC3から出力される出力データを
パソコン1や他の表示器2に配信する処理である。
The protocol conversion process is performed on both networks 4
If the communication protocols in 5 are different from each other, this is a process of converting one communication protocol to the other communication protocol with reference to the data stored in the conversion data storage unit 2f. The data distribution process is a process of distributing output data taken from the input device 6 into the memory of the PCL 3 and output from the PLC 3 to the personal computer 1 or another display 2 when a preset distribution condition is satisfied. is there.

【0056】インターフェース部2bは、パソコン1お
よび他の表示器2との間の通信を行うために共通ネット
ワーク4に接続されている。この共通ネットワーク4を
介した通信で後述のようにPLC3の出力データが表示
器2からパソコン1に転送される。一方、インターフェ
ース部2cは、PLC3との間の通信を行うために専用
ネットワーク5に接続されている。この専用ネットワー
ク5を介した通信で後述のようにPLC3からの出力デ
ータが表示器2に転送される。
The interface unit 2b is connected to a common network 4 for performing communication between the personal computer 1 and another display device 2. The output data of the PLC 3 is transferred from the display 2 to the personal computer 1 by the communication via the common network 4 as described later. On the other hand, the interface unit 2c is connected to the dedicated network 5 for performing communication with the PLC 3. Output data from the PLC 3 is transferred to the display 2 by communication via the dedicated network 5 as described later.

【0057】入力部2dは、表示部2eの表示画面上で
入力を行うためにタッチパネルのような入力装置によっ
て構成されている。このため、表示部2eは、液晶パネ
ルやELパネルのような平板型表示素子によって構成さ
れている。
The input section 2d is constituted by an input device such as a touch panel for inputting on the display screen of the display section 2e. For this reason, the display unit 2e is configured by a flat display element such as a liquid crystal panel or an EL panel.

【0058】変換データ記憶部2fは、プロトコル変換
処理に必要なデータを記憶している。このデータは、専
用ネットワーク5と共通ネットワーク4との間で通信プ
ロトコルを相互変換できれば、どのような形式でもよい
が、本実施の形態に係る変換データ記憶部2fは、専用
ネットワーク5で伝送されるデータのフォーマットを示
すデータ転送フォーマットFMTと、両ネットワーク4
・5で伝送されるコマンドコード間の対応関係を示すコ
マンド変換テーブルTBLとを記憶している。
The conversion data storage section 2f stores data necessary for protocol conversion processing. This data may be in any format as long as the communication protocol can be converted between the dedicated network 5 and the common network 4. The converted data storage unit 2 f according to the present embodiment is transmitted through the dedicated network 5. A data transfer format FMT indicating the format of the data;
• Stores a command conversion table TBL indicating the correspondence between command codes transmitted in 5.

【0059】具体的には、図2に示すように、上記デー
タ転送フォーマットFMTは、専用ネットワーク5にて
伝送されるデータ列DT1 のうち、例えば、読み書きす
るデータ内容自体、データのサイズ、読み書きするアド
レスのように実際に伝送するデータ内容によって変化す
る部分を未定義としたスケルトン状のデータ列であっ
て、未定義の部分は、用途のみが定義されている。な
お、コマンドの領域を未定義とすれば、実際に伝送され
るデータ列から抽出されたデータ転送フォーマットFM
Tが複数のコマンド間で共通になる場合、コマンドの領
域をも未定義として、これらのコマンド間で共通のデー
タ転送フォーマットFMTを用いてもよい。
[0059] Specifically, as shown in FIG. 2, the data transfer format FMT is in data string DT 1 transmitted in the dedicated network 5, e.g., data content itself to read or write, the size of the data, read and write Is a skeleton-like data string in which a portion that changes according to the data content to be actually transmitted, such as an address, is undefined, and only the purpose is defined for the undefined portion. If the command area is undefined, the data transfer format FM extracted from the data string actually transmitted is used.
If T is common to a plurality of commands, the command area may be undefined, and a common data transfer format FMT may be used between these commands.

【0060】また、コマンド変換テーブルTBLには、
図4に示すように、共通ネットワーク4で伝送される共
通コードと、専用ネットワーク5で伝送されるコマンド
コードとの対応が格納されている。データ処理部2a
は、このコマンド変換テーブルTBLに基づいて一方の
コードを他方のコードに変換する(例えばTBLaとT
BLbとの間)。
The command conversion table TBL includes:
As shown in FIG. 4, the correspondence between the common code transmitted on the common network 4 and the command code transmitted on the dedicated network 5 is stored. Data processing unit 2a
Converts one code to the other code based on the command conversion table TBL (for example, TBLa and TBL).
Between BLb).

【0061】データ配信部2gは、予め設定された配信
条件が満たされたときに、PLC3の出力データを、指
定された配信先に配信する。このため、データ配信部2
gは、配信先のノードに関するノード情報および配信に
関する設定情報がパソコン1から予めダウンロードされ
て記憶されている。配信条件の設定については、後に詳
述する。
The data distribution unit 2g distributes the output data of the PLC 3 to a designated distribution destination when a preset distribution condition is satisfied. Therefore, the data distribution unit 2
In g, the node information on the distribution destination node and the setting information on the distribution are previously downloaded from the personal computer 1 and stored. The setting of the distribution condition will be described later in detail.

【0062】収集データ記憶部2hは、PLC3などか
ら収集されたデータやPLC3に与える設定データ(制
御データ)を後述するファイリングデータとして記憶す
る機能を備えている。収集データ記憶部2hは、その機
能を実現するために、SRAM21、フラッシュROM
(FEPROM)22、CF(Compact Flash) カード2
3などを、PLC3から得られたデータや予め設定され
ているファイル形式(ファイリングデータ)で記憶する
記憶媒体として含んでいる。また、収集データ記憶部2
hに設けられる記憶媒体としては、このようなメモリに
限定されず、フロッピディスク、ハードディスク、光デ
ィスクなどの媒体や、その他の媒体を採用することがで
きる。
The collected data storage unit 2h has a function of storing data collected from the PLC 3 and the like and setting data (control data) given to the PLC 3 as filing data described later. The collected data storage unit 2h includes an SRAM 21, a flash ROM,
(FEPROM) 22, CF (Compact Flash) card 2
3 is included as a storage medium for storing data obtained from the PLC 3 and a file format (filing data) set in advance. The collected data storage unit 2
The storage medium provided in h is not limited to such a memory, and may be a medium such as a floppy disk, a hard disk, an optical disk, or another medium.

【0063】SRAM21は、最新のデータを記憶する
メモリであり、ユーザによるデータの書き換えが可能で
ある。フラッシュROM22は、ある程度まとまった量
のデータをロギングするフラッシュメモリであり、デー
タ書き換えに特殊な操作を要するためにユーザによるデ
ータの書き換えができないようになっている。CFカー
ド23は、専用のインターフェースユニットを介して表
示器2に接続される着脱可能な媒体である。このCFカ
ード23は、フラッシュROM22よりも大きい記憶容
量を備えており、大量のデータをロギングすることがで
きるが、フラッシュROM22と同様、ユーザによるデ
ータの書き換えができないようになっている。したがっ
て、ユーザがフラッシュROM22またはCFカード2
3に記憶されたデータを書き換える場合は、そのデータ
をSRAM21に複写する必要がある。
The SRAM 21 is a memory for storing the latest data, and the data can be rewritten by the user. The flash ROM 22 is a flash memory that logs a large amount of data to some extent, and requires a special operation to rewrite data, so that data cannot be rewritten by a user. The CF card 23 is a removable medium connected to the display 2 via a dedicated interface unit. The CF card 23 has a larger storage capacity than the flash ROM 22 and can log a large amount of data. However, similar to the flash ROM 22, data cannot be rewritten by a user. Therefore, the user can use the flash ROM 22 or the CF card 2
To rewrite the data stored in No. 3, it is necessary to copy the data to the SRAM 21.

【0064】上記のように構成される収集データ記憶部
2hは、後述する作画部1gが作成するファイリングデ
ータ(図5参照)を記憶する。
The collected data storage unit 2h configured as described above stores filing data (see FIG. 5) created by the drawing unit 1g described later.

【0065】ホストコンピュータとしてのパソコン1
は、一般の汎用パソコンと同様に、CPU、メモリ(R
AM、ROMなど)、外部記憶装置(ハードディスクド
ライブ、MOドライブなど)、表示装置および入力装置
(キーボード、マウスなど)を有している。また、パソ
コン1は、図1に示すように、データ通信処理部1a、
インターフェース部(図中、I/F)1b、配信設定部
1c、ネットワークファイル1d、データファイル1
e、アプリケーション部1fおよび作画部1gとを備え
ている。
Personal computer 1 as host computer
CPU, memory (R)
It has an external storage device (hard disk drive, MO drive, etc.), a display device, and an input device (keyboard, mouse, etc.). As shown in FIG. 1, the personal computer 1 includes a data communication processing unit 1a,
Interface unit (I / F in the figure) 1b, distribution setting unit 1c, network file 1d, data file 1
e, an application unit 1f and a drawing unit 1g.

【0066】インターフェース部1bは、表示器2との
間の通信を行うために共通ネットワーク4に接続されて
いる。
The interface unit 1 b is connected to the common network 4 for performing communication with the display 2.

【0067】作画部1gは、表示器2が、入力機器6…
および出力機器7…(デバイス)の稼働状況や作業指示
のような管理のための各種のモニタ、機器に対する設定
値を入力する端末としての機能を備えるように、ディス
プレイ14に表示させる画面を作成する画面作成ソフト
ウェアである。一般に、作画部1gは、ユーザ独自の画
面を作成できるように、スイッチ、ランプ、テンキー、
各種表示器(例えば、数値表示器、メータ表示器および
グラフ表示器)などの部品、描画機能、テキスト入力機
能などを備えている。作画部1gで作成された画面は、
必要に応じてインターフェース部1bを介して表示器2
に転送され、FEPROMに画面データとしてダウンロ
ードされる。
In the drawing section 1g, the display 2 is composed of the input devices 6.
And a screen to be displayed on the display 14 so as to have a function as a terminal for inputting setting values for various monitors and management values such as operation status of the output device 7 (device) and work instructions. Screen creation software. Generally, the drawing unit 1g includes a switch, a lamp, a numeric keypad,
Components such as various displays (for example, a numerical display, a meter display, and a graph display), a drawing function, a text input function, and the like are provided. The screen created by the drawing unit 1g
If necessary, the display unit 2 is provided via the interface unit 1b.
And downloaded to the FEPROM as screen data.

【0068】また、作画部1gは、作成された画面に配
置された部品などの各入出力機器6・7に対する入出力
番号(アドレス)を割り付ける。さらに、作画部1g
は、ファイル形式のデータであるファリングデータを作
成するための入力画面を提供する。
The drawing unit 1g assigns input / output numbers (addresses) to the input / output devices 6, 7 such as components arranged on the created screen. In addition, the drawing unit 1g
Provides an input screen for creating falling data, which is data in a file format.

【0069】この入力画面は、図5に示すように、「コ
メント」、「格納先頭アドレス」、「ブロック数」、
「データ数」、「データ形式」および「表示形式」とと
もに、データ入力領域が設けられている。
As shown in FIG. 5, the input screen includes “comment”, “storage start address”, “block number”,
A data input area is provided along with the “number of data”, the “data format”, and the “display format”.

【0070】「コメント」は、そのファリングデータに
付記するコメントを記入する欄である。「格納先頭アド
レス」は、ファリングデータをPLC3にダウンロード
したり、ファリングデータをPLC3からアップロード
したりするためのPLC3のメモリ領域における先頭ア
ドレスを設定する欄である。「ブロック数」は、データ
入力領域に設けられる同種の(例えば同じデバイスにつ
いての)データ区分を表すブロックの数を指定する欄で
あり、「データ数」は、1つのブロックに書き込まれる
データの数を指定する欄である。「データ形式」は、各
データの表現形式(16ビット、32ビットなど)を設
定する欄であり、「表示形式」は、データを表示する際
の表現形式(DEC、BCD、HEX、OCT、浮動小
数点など)を設定する欄である。
“Comment” is a column for entering a comment to be added to the falling data. The “storage start address” is a column for setting a start address in the memory area of the PLC 3 for downloading the falling data to the PLC 3 and uploading the falling data from the PLC 3. The “number of blocks” is a column for designating the number of blocks representing the same type of data division (for example, for the same device) provided in the data input area, and the “number of data” is the number of data to be written in one block. Is a field for specifying. The “data format” is a column for setting the expression format (16 bits, 32 bits, etc.) of each data, and the “display format” is the expression format (DEC, BCD, HEX, OCT, floating) when displaying data. Field for setting a decimal point, etc.).

【0071】データ入力領域において、ブロック(ブロ
ック0,ブロック1,ブロック2)が3つ設けられてお
り、各ブロックには項目名が設定される。項目名は、P
LC3に接続されるデバイス(温度計、流量計、I/O
など)に対応している。また、各ブロックには、上記の
「データ数」で設定された数のデータの入力が可能とな
るような領域が設けられる。図5には、PLC3に接続
された3つの流量計を制御するための設定値が5つ設定
される例を示しており、項目名として、“流量1”、
“流量2”および“流量3”が設定されている。また、
図中、“11”、“12”などはデータを表す。
In the data input area, three blocks (block 0, block 1, block 2) are provided, and an item name is set for each block. Item name is P
Devices connected to LC3 (thermometer, flow meter, I / O
Etc.). Each block is provided with an area in which the number of data set in the above “number of data” can be input. FIG. 5 shows an example in which five set values for controlling three flow meters connected to the PLC 3 are set, and the item names “flow rate 1”,
“Flow rate 2” and “flow rate 3” are set. Also,
In the figure, "11", "12", etc. represent data.

【0072】データ通信処理部1aは、共通ネットワー
ク4を介した表示器2…との間のデータ通信処理を行う
とともに、アプリケーション部1fとの間でデータのや
り取りを行う部分である。このデータ通信処理部1a
は、作画部1gで作成された画面データを表示器2に転
送したり、表示器2から配信された表示器2の記憶デー
タをアプリケーション部1fに書き込んだりする処理を
行う(書込手段)。このデータ通信処理部1aは、パッ
ケージソフトウェアとしてプログラムメディアの形態で
提供可能なソフトウェアであって、予めパソコン1にイ
ンストールされている。このプログラムメディアも、前
述のプログラムメディアと同様、パソコン1や表示器2
と分離可能に構成される記録媒体である。
The data communication processing section 1a is a section for performing data communication processing with the display devices 2 via the common network 4 and for exchanging data with the application section 1f. This data communication processing unit 1a
Performs processing of transferring screen data created by the drawing unit 1g to the display unit 2 and writing storage data of the display unit 2 distributed from the display unit 2 to the application unit 1f (writing means). The data communication processing unit 1a is software that can be provided in the form of a program medium as package software, and is installed in the personal computer 1 in advance. This program medium also has a personal computer 1 and a display 2 similar to the aforementioned program medium.
The recording medium is configured to be separable from the recording medium.

【0073】データ通信処理部1aは、表示器2から配
信されてきた表示器2の記憶データ(ファイリングデー
タ)を図5に示す入力画面の形式に対応した形式でアプ
リケーション部1fに書き込む。ここで、アプリケーシ
ョン部1fには、市販のアプリケーションソフトウェア
がインストールされる例について説明するが、ユーザー
アプリケーションがインストールされていてもよい。
The data communication processing section 1a writes the storage data (filing data) of the display 2 distributed from the display 2 to the application section 1f in a format corresponding to the format of the input screen shown in FIG. Here, an example in which commercially available application software is installed in the application unit 1f will be described, but a user application may be installed.

【0074】ここでは、アプリケーション部1fとして
汎用の表計算ソフトがインストールされている場合につ
いて説明する。表計算ソフトとしては、例えば、Excel
(登録商標:マイクロソフト社)が、一般への普及度の
高さや外部からの制御の容易性などから好適であるが、
多数のセルを含む複数のワークシートからなるブックを
提供できるソフトであれば他のソフトでもよい。また、
アプリケーション部1fとしては、表計算ソフトに限ら
ず、出力データを個別に書き込むことが可能な形態を提
供できるものであれば、それ以外のアプリケーションソ
フトウェアであってもよい。
Here, a case where general-purpose spreadsheet software is installed as the application unit 1f will be described. As spreadsheet software, for example, Excel
(Registered trademark: Microsoft Corporation) is preferred because of its high penetration into the public and ease of external control.
Other software may be used as long as it can provide a book including a plurality of worksheets including a large number of cells. Also,
The application unit 1f is not limited to spreadsheet software, but may be any other application software as long as it can provide a form in which output data can be individually written.

【0075】図6に示すように、データ通信処理部1a
によって形成されるワークシート31(記録シート)の
下側には、各列(A,B,C)におけるセルに、それぞ
れ図5の入力画面のデータ入力領域におけるブロック
(ブロック0,ブロック1,ブロック2)のデータが配
されている。また、ワークシート31の上側には、図5
の入力画面で設定された「コメント」、「格納先頭アド
レス」、「ブロック数」、「データ数」、「データ形
式」、「表示形式」などがセルに配されている。
As shown in FIG. 6, the data communication processing section 1a
Under the worksheet 31 (recording sheet) formed by the above, the cells (block 0, block 1, block 1) in the data input area of the input screen of FIG. The data of 2) is arranged. Also, on the upper side of the worksheet 31, FIG.
"Comment", "storage start address", "number of blocks", "number of data", "data format", "display format", and the like set in the input screen are arranged in cells.

【0076】このように、ワークシート31は、図5に
示すような入力画面の形式、すなわちファイリングデー
タの表示器2における記憶形式に応じた形式で、データ
通信処理部1aによってデータが書き込まれる。データ
通信処理部1aは、必要に応じて(ユーザの指示によっ
て)ワークシート31に記録されたファイリングデータ
を作画部1gに渡す(インポートする)。これにより、
作画部1gで開かれたファイリングデータ用のファイル
に上記のファイリングデータを取り込むことができる。
As described above, the data is written into the worksheet 31 by the data communication processing unit 1a in the form of the input screen as shown in FIG. 5, that is, the form corresponding to the storage form of the filing data in the display unit 2. The data communication processing unit 1a transfers (imports) the filing data recorded in the worksheet 31 to the drawing unit 1g as necessary (by a user's instruction). This allows
The above-mentioned filing data can be taken into a file for filing data opened by the drawing unit 1g.

【0077】また、データ通信処理部1aは、ファイリ
ングデータを読み出す記憶媒体および読み出されたファ
イリングデータの保存先指定のための設定画面を提供す
る。図7に示す設定画面においては、「読み出し元」、
「読み出しデータ保存先指定」および「保存ファイル名
指定」が設けられている。「読み出し元」は、メモリ部
2の各記憶媒体のいずれからファイリングデータを読み
出すかを指定する欄である。「読み出しデータ保存先指
定」は、指定された記憶媒体から読み出されたファイリ
ングデータを保存するドライブのドライブ名およびフォ
ルダのフォルダ名をそれぞれ指定する欄である。「保存
ファイル名指定」は、上記のフォルダにおいてファイリ
ングデータを保存するファイルのファイル名を指定する
欄である。
Further, the data communication processing section 1a provides a storage medium for reading filing data and a setting screen for designating a storage destination of the read filing data. In the setting screen shown in FIG.
“Specify read data save destination” and “specify save file name” are provided. “Reading source” is a column for specifying from which of the storage media of the memory unit 2 the filing data is to be read. “Specify read data storage destination” is a column for specifying a drive name of a drive for storing filing data read from a specified storage medium and a folder name of a folder. “Specify storage file name” is a column for specifying a file name of a file for storing filing data in the folder.

【0078】上記の設定画面で設定された情報は、表示
器2にダウンロードされる。これにより、表示器2は、
ファイリングデータの配信時に指定された記憶媒体から
ファイリングデータを読み出す。
The information set on the above setting screen is downloaded to the display 2. As a result, the display 2
The filing data is read from the storage medium designated when the filing data is distributed.

【0079】なお、上記の設定画面では、Excel などの
表計算ソフトを用いる場合、さらにファイリングデータ
を保存するブックの名称の記入欄を備えていてもよい。
In the case where spreadsheet software such as Excel is used, the above setting screen may further include an entry field for a book name for storing filing data.

【0080】また、上記の設定画面では、保存ファイル
形式としてExcel ファイルまたはバイナリファイルのい
ずれか一方を選択できるように構成されている。ファイ
リングデータは、バイナリデータ(機械語データ)で記
憶媒体に記憶されているので、そのままではユーザが見
ることはできない。そこで、保存ファイル形式としてEx
cel ファイルを選択すれば、後述するExcel ファイル上
でファイリングデータの内容を可視化することができ
る。
The setting screen is configured so that either an Excel file or a binary file can be selected as the storage file format. Since the filing data is stored in the storage medium as binary data (machine language data), the user cannot view the filing data as it is. Therefore, as the save file format Ex
If you select the cel file, you can visualize the contents of the filing data on the Excel file described later.

【0081】配信設定部1cは、ノード情報および配信
情報を設定する。ノード情報は、共通ネットワーク4に
おけるノードと、そのノードに接続される表示器2の種
類とを含んでいる。配信情報は、各PLC3に接続され
るデバイス(入力機器6および出力機器7)のシンボル
名、各表示器2毎のデータ配信タイミング、配信すべき
データのストアアドレス、受信したデータのストアアド
レス等を含んでいる。これらのノード情報および配信情
報は、ネットワークファイル1dに保存され、必要に応
じて各表示器2のデータ配信部2gにダウンロードされ
る。この配信設定部1cは、パッケージソフトウェアと
してプログラムメディアの形態で提供可能なソフトウェ
アであって、予めパソコン1にインストールされてい
る。このプログラムメディアも、前述のプログラムメデ
ィアと同様、パソコン1や表示器2と分離可能に構成さ
れる記録媒体である。
The distribution setting section 1c sets node information and distribution information. The node information includes a node in the common network 4 and a type of the display 2 connected to the node. The distribution information includes a symbol name of a device (input device 6 and output device 7) connected to each PLC 3, a data distribution timing for each display 2, a store address of data to be distributed, a store address of received data, and the like. Contains. These node information and distribution information are stored in the network file 1d and downloaded to the data distribution unit 2g of each display 2 as needed. The distribution setting unit 1c is software that can be provided in the form of program media as package software, and is installed in the personal computer 1 in advance. This program medium is also a recording medium that is configured to be separable from the personal computer 1 and the display 2, similarly to the above-described program medium.

【0082】配信情報は、図8(a)および(b)に示
すような設定画面上で設定され、設定画面には「配信条
件」と「配信局・受信局」とが設けられている。
The distribution information is set on a setting screen as shown in FIGS. 8A and 8B, and the setting screen is provided with “distribution conditions” and “distribution stations / reception stations”.

【0083】図8(a)に示す「配信条件」には、配信
のタイミングを決定する条件として、電源投入、時刻指
定、周期指定、書き換えトリガ、ON期間、OFF期
間、立ち上がりトリガおよび立ち下がりトリガが設けら
れている。
The “distribution conditions” shown in FIG. 8A include, as conditions for determining the distribution timing, power-on, time designation, cycle designation, rewrite trigger, ON period, OFF period, rising trigger and falling trigger. Is provided.

【0084】「電源投入」は、表示器2の電源投入時に
配信を行う条件であり、「時刻指定」は、指定された時
刻に配信を行う条件である。「周期指定」は、所望の周
期毎に配信を行う条件であり、「書き換えトリガ」は、
出力データが書き換えられたとき、すなわち出力データ
が変化したときに配信を行う条件である。「ON期間」
と「OFF期間」とは、デバイスのON期間とOFF期
間とのそれぞれにおいて配信を続けて行うための条件で
あり、「立ち上がりトリガ」と「立ち下がりトリガ」と
は、出力データ(指定デバイス出力)の立ち上がりと立
ち下がりとのそれぞれの検出時に配信を行うための条件
である。
“Power on” is a condition for performing distribution when the power of the display 2 is turned on, and “Time designation” is a condition for performing distribution at a designated time. The “cycle specification” is a condition for performing distribution at each desired cycle, and the “rewrite trigger” is
This is a condition for performing distribution when output data is rewritten, that is, when output data changes. "ON period"
And the "OFF period" are conditions for continuously performing distribution in each of the ON period and the OFF period of the device, and the "rising trigger" and the "falling trigger" are output data (designated device output). This is a condition for performing distribution when each of the rising edge and the falling edge is detected.

【0085】また、配信条件の設定画面における下側の
領域には、上記の各条件のうちデバイスの出力に基づく
条件に関して指定すべきデバイスのシンボル名を入力す
る欄が設けられている。さらに、その下には、配信条件
をチェックする周期(ms単位)と、配信を行う期間の
設定欄と、配信後にデバイス出力をOFFまたはONに
戻す処理のための設定欄とが設けられている。ただし、
チェック周期は、「電源投入」、「時刻設定」および
「周期指定」の配信条件にのみ有効であり、期間限定
は、「周期指定」の配信条件にのみ有効である。また、
配信後にデバイス出力をOFFに戻す設定については、
「立ち上がりトリガ」の配信条件にのみ有効であり、こ
の欄をチェックしない場合、デバイス出力は配信後もO
Nしたままになる。一方、配信後にデバイス出力をON
に戻す設定については、「立ち下がりトリガ」の配信条
件にのみ有効であり、この欄をチェックしない場合、デ
バイス出力は配信後もOFFしたままになる。
In the lower area of the distribution condition setting screen, there is provided a column for inputting a symbol name of a device to be designated with respect to a condition based on a device output among the above-described conditions. Further below, there are provided a cycle (in units of ms) for checking distribution conditions, a setting column for a distribution period, and a setting column for a process of returning a device output to OFF or ON after distribution. . However,
The check cycle is valid only for the distribution conditions of “power on”, “time setting”, and “cycle specification”, and the period limitation is valid only for the distribution condition of “cycle specification”. Also,
For the setting to return the device output to OFF after distribution,
This is valid only for the “trigger trigger” distribution condition. If this box is not checked, the device output will remain
N remains. On the other hand, device output is turned on after distribution
Is valid only for the distribution condition of “falling trigger”. If this column is not checked, the device output remains OFF after distribution.

【0086】一方、図8(b)に示す「配信局・受信
局」には、配信局および受信局についての情報記入部が
設けられている。配信局の情報は、ファイリングデータ
の配信元となるノードの表示器2のノード情報(NOD
E Aなど)、表示器2から配信される出力データの出
力元となるデバイスのシンボル名などと、指定された期
間に配信するデータの個数とを含んでいる。また、受信
局の情報は、受信局となる表示器2に対応するPLC3
に接続されたデバイスのシンボル名を含んでいる。ただ
し、パソコン1が受信局となる場合、アプリケーション
部1fによって作成されたファイルに付された名称をシ
ンボル名とする。
On the other hand, the “distribution station / reception station” shown in FIG. 8B is provided with an information entry section for the distribution station and the reception station. The information of the distribution station is the node information (NOD of the display 2 of the node that is the distribution source of filing data.
EA, etc.), the symbol name of the device that is the output source of the output data distributed from the display device 2, and the number of data to be distributed in the designated period. The information of the receiving station is stored in the PLC 3 corresponding to the display 2 serving as the receiving station.
Contains the symbolic name of the device connected to. However, when the personal computer 1 is the receiving station, the name given to the file created by the application unit 1f is used as the symbol name.

【0087】データファイル1eは、変換データ記憶部
2fに記憶されるべき前述のプロトコル変換データを予
め登録している。この変換データは、初期設定時や、制
御システムに接続されるPLC3が変更されるときなど
のメンテナンス時に、必要とする表示器2にデータ通信
処理部1aを介してダウンロードされる。
In the data file 1e, the above-mentioned protocol conversion data to be stored in the conversion data storage unit 2f is registered in advance. The converted data is downloaded to the required display 2 via the data communication processing unit 1a at the time of initial setting or at the time of maintenance such as when the PLC 3 connected to the control system is changed.

【0088】上記のように構成される制御システムにお
いては、共通ネットワーク4を介して、共通プロトコル
のデータ列DT2 を受け取った場合、データ処理部2a
は、データ本体12から、PLC3へ伝送すべきコマン
ドを示す共通コード13と関連情報14とを抽出する。
さらに、データ処理部2aは、コマンド変換テーブルT
BLを参照して、専用ネットワーク5において伝送可能
で、その共通コード13に対応するコマンドコードを選
択する。また、必要に応じて、関連情報14の表現方法
が、専用ネットワーク5で伝送される表現方法に変換さ
れる。これらの結果、PLC3へ伝送すべきコマンド、
データ内容自体、データのサイズおよびアドレスなどが
決まると、データ処理部2aは、データ転送フォーマッ
トFMTを参照してPLC3へ送出するデータ列を生成
できる。
In the control system configured as described above, when the data sequence DT 2 of the common protocol is received via the common network 4, the data processing unit 2 a
Extracts a common code 13 indicating a command to be transmitted to the PLC 3 and related information 14 from the data body 12.
Further, the data processing unit 2a outputs the command conversion table T
With reference to the BL, a command code that can be transmitted in the dedicated network 5 and corresponds to the common code 13 is selected. If necessary, the expression method of the related information 14 is converted to an expression method transmitted on the dedicated network 5. As a result, commands to be transmitted to the PLC 3
When the data content itself, the data size, the address, and the like are determined, the data processing unit 2a can generate a data sequence to be sent to the PLC 3 with reference to the data transfer format FMT.

【0089】一方、PLC3からデータ列DT1 を受け
取った場合、データ処理部2aは、上記のデータ転送フ
ォーマットFMTに当てはめて、そのデータ列の示すコ
マンド、データ内容自体、データのサイズおよびアドレ
スなどを抽出し、上述とは逆の手順で共通プロトコルの
データ列DT2 に変換する。
On the other hand, when the data sequence DT 1 is received from the PLC 3, the data processing unit 2 a applies the command indicated by the data sequence, the data content itself, the data size and the address to the data transfer format FMT. extracted, converted into the data string DT 2 common protocol in the reverse order to the above.

【0090】前記のデータ転送フォーマットFMTおよ
びコマンド変換テーブルTBLの組み合わせ(プロトコ
ル情報)は、表示器2およびPLC3が制御に関するデ
ータを通信する前に、PLC3の通信プロトコルに合わ
せて設定され、異なる通信プロトコルを採用したPLC
3が接続されると、そのプロトコル情報は切り換えられ
る。例えば、図4では、機種AのPLC3から機種Bの
PLC3に変更する場合、コマンド変換テーブルTBL
aからコマンド変換テーブルTBLbに切り換えられ
る。
The combination (protocol information) of the data transfer format FMT and the command conversion table TBL is set in accordance with the communication protocol of the PLC 3 before the display 2 and the PLC 3 communicate data related to control. PLC adopting
When 3 is connected, its protocol information is switched. For example, in FIG. 4, when the PLC 3 of the model A is changed to the PLC 3 of the model B, the command conversion table TBL
Switching from a to the command conversion table TBLb.

【0091】なお、通信プロトコルの選択方法は、例え
ば、使用者がパソコン1や表示器2を操作して選択して
もよい。さらに、表示器2が自らが送出可能な通信プロ
トコルを順次選択しながら、PLC3の通信プロトコル
を特定可能なコマンドを、PLC3へ送出し、PLC3
からの応答コードによって、通信プロトコルを自動的に
判別してもよい。また、表示器2は、自らに接続可能な
PLC3が採用している通信プロトコルすべてに関し
て、上記のプロトコル情報を格納しておいてもよいし、
現在、接続されているPLC3の通信プロトコルのみを
格納しておき、必要に応じて、パソコン1から、あるい
は記録媒体を介してなど、種々の方法で通信プロトコル
をダウンロードしてもよい。
Note that the communication protocol may be selected, for example, by the user operating the personal computer 1 or the display 2. Further, the display 2 sends a command capable of specifying the communication protocol of the PLC 3 to the PLC 3 while sequentially selecting communication protocols that the display 2 itself can send, and the PLC 3
The communication protocol may be automatically determined based on the response code from. The display 2 may store the above protocol information for all communication protocols adopted by the PLC 3 that can be connected to itself.
Only the communication protocol of the currently connected PLC 3 may be stored, and the communication protocol may be downloaded from the personal computer 1 or via a recording medium by various methods as necessary.

【0092】このように、PLC3との間で受け渡すデ
ータ列DT1 を、制御システムの動作中にリアルタイム
に生成することにより、表示器2は、入力されたデータ
がどこから来たかを問うことなく、PLC3へデータを
受け渡しできるとともに、PLC3が変更された場合に
あっても、制御システムを停止することなく即応でき
る。
As described above, by generating the data sequence DT 1 to be transferred to and from the PLC 3 in real time during the operation of the control system, the display 2 can display the input data without asking where it came from. , PLC3, and can respond immediately without stopping the control system even if the PLC3 is changed.

【0093】このように、本制御システムでは、従来の
制御システムとは異なり、通信の中心に表示器2…が配
されており、この表示器2…が、共通ネットワーク4と
専用ネットワーク5との双方に接続されている。さら
に、表示器2は、両ネットワーク4・5での通信プロト
コルが異なる場合、それぞれの通信プロトコルを相互変
換して、自らに接続されたPLC3と、パソコン1ある
いは他の表示器2との間の通信を中継する。これによ
り、表示器2…のそれぞれに接続されたPLC3…が採
用する通信プロトコルが互いに異なっていても、各表示
器2とパソコン1との間は、共通の通信プロトコルにて
通信できる。
As described above, in the present control system, unlike the conventional control system, the indicators 2 are arranged at the center of communication, and the indicators 2 are connected to the common network 4 and the dedicated network 5. Connected to both sides. Further, when the communication protocols in the two networks 4 and 5 are different, the display 2 converts the respective communication protocols to each other, and connects between the PLC 3 connected to itself and the personal computer 1 or another display 2. Relay communications. Thereby, even if the communication protocols adopted by the PLCs 3 connected to the respective display units 2 are different from each other, communication can be performed between each display unit 2 and the personal computer 1 by using a common communication protocol.

【0094】より詳しくは、ターゲットシステムは、流
量センサや温度センサまたはターゲットシステムの各部
の状態を検出するセンサのような入力機器6と、指示に
応じた動作を行うバルブやモータのような出力機器7と
を備えており、入出力機器6・7はPLC3にて制御さ
れている。また、PLC3は、シーケンサから発達して
きた経緯もあって、例えば、製造者毎や製品の種別毎な
ど、PLC3の機種毎に、独自の通信プロトコルを備え
ているものが多い。したがって、PLC3は、専用ネッ
トワーク5を介して表示器2と接続されており、そのP
LC3が通信可能な通信プロトコルで表示器2と通信す
る。
More specifically, the target system includes an input device 6 such as a flow rate sensor, a temperature sensor, or a sensor for detecting the state of each part of the target system, and an output device such as a valve or a motor that operates according to an instruction. The input / output devices 6 and 7 are controlled by the PLC 3. In addition, PLC3 has a unique communication protocol for each model of PLC3, for example, for each manufacturer or each product type, due to the history of development from a sequencer. Therefore, the PLC 3 is connected to the display 2 via the dedicated network 5, and its P
The LC 3 communicates with the display 2 using a communication protocol that allows communication.

【0095】これにより、PLC3は、表示器2へ、ま
たは表示器2を介して他の表示器2あるいはパソコン1
へ、入力機器6が取得したデータをPLC3の出力デー
タとして送信する一方、表示器2から、または他局より
表示器2を介して伝えられた制御指示を受信して出力機
器7を制御することができる。
Thus, the PLC 3 is connected to the display 2 or through the display 2 to another display 2 or the personal computer 1.
To transmit the data acquired by the input device 6 as output data of the PLC 3 while controlling the output device 7 by receiving a control instruction transmitted from the display 2 or from another station via the display 2. Can be.

【0096】ここで、表示器2は、制御システムに必須
の装置であるが、近年では、高解像度の画像を表示する
ために、例えば、数Mバイト程度の記憶容量を持ち、表
示に十分な速度で演算処理を行う。したがって、表示器
2は、十分余力を持って上記のプロトコル変換を行うこ
とができる。また、表示器2とパソコン1との間に、P
LC3が介在していないため、PLC3は、ターゲット
システム2の制御に専念できる。したがって、PLCが
通信の大半を処理する前述の従来の制御システムに比べ
て、記憶容量や処理能力を削減することができる。
The display 2 is an indispensable device for the control system. In recent years, the display 2 has a storage capacity of, for example, about several megabytes and is sufficient for displaying high-resolution images. Performs arithmetic processing at speed. Therefore, the display 2 can perform the above-described protocol conversion with a sufficient margin. In addition, P is placed between the display 2 and the personal computer 1.
Since the LC 3 is not interposed, the PLC 3 can concentrate on the control of the target system 2. Therefore, the storage capacity and the processing capacity can be reduced as compared with the above-described conventional control system in which the PLC processes most of the communication.

【0097】なお、通信量の大きな処理の例として、タ
ーゲットシステムが製造する製品を変換する際などの、
パソコン1から表示器2へ画面データをダウンロードす
る処理などが挙げられる。ところが、本実施の形態に係
る制御システムでは、画面データは、PLC3を通過し
ないので、PLC3は、画面データをダウンロードする
場合であっても、負担が少なく、正常に動作し続けるこ
とができる。
As an example of the processing with a large communication amount, when converting a product manufactured by the target system,
A process of downloading screen data from the personal computer 1 to the display 2 is exemplified. However, in the control system according to the present embodiment, since the screen data does not pass through the PLC 3, even when downloading the screen data, the PLC 3 can continue to operate normally with a small load.

【0098】また、PLC3の機種に関わらず、各表示
器2およびパソコン1の間は、共通のプロトコルで通信
される。したがって、同じ制御システム内に、複数機種
のPLC3を混在させることができ、機種選択の幅が広
くなる。さらに、前述の従来の制御システムとは異な
り、本制御システムの共通ネットワーク4では通信プロ
トコルが共通である。したがって、ハブ、ブリッジ、ル
ータなど、共通ネットワーク4に接続される機器を自由
に転用でき、これらの機器やPLC3の配置に関する自
由度を向上させることができる。加えて、通信プロトコ
ルを相互変換するための変換器が不要であるので、制御
システム全体の製造費を低減することができる。
Further, irrespective of the type of the PLC 3, communication is performed between each display 2 and the personal computer 1 by using a common protocol. Therefore, a plurality of types of PLCs 3 can be mixed in the same control system, and the range of model selection can be widened. Further, unlike the above-mentioned conventional control system, the common network 4 of the present control system has a common communication protocol. Therefore, devices connected to the common network 4 such as hubs, bridges, and routers can be freely diverted, and the degree of freedom regarding the arrangement of these devices and the PLC 3 can be improved. In addition, since a converter for mutually converting communication protocols is not required, the manufacturing cost of the entire control system can be reduced.

【0099】上記のように共通ネットワーク4で通信プ
ロトコルの共通化がなされた制御システムにおいては、
各表示器2およびパソコン1の間でPLC3のデータの
配信を容易に行うことができる。次に、その配信につい
て詳細に説明する。
In the control system in which the communication protocol is shared by the common network 4 as described above,
The data of the PLC 3 can be easily distributed between each display 2 and the personal computer 1. Next, the distribution will be described in detail.

【0100】ここで、共通ネットワーク4の各ノードA
〜Cに各表示器2が接続されており、表示器2に個々に
接続されるPLC3はそれぞれ100個の入出力端子を
有する構成について説明する。このような構成において
は、各PLC3の出力端子に対しては、PLC3におけ
るメモリの対応するストア領域へパソコン1からの制御
データ(レシピデータ)が格納され、そのストア内容に
応答して出力機器7が制御される。また、各PLC3の
入力端子に対しては、上記のメモリの対応するストア領
域に入力機器6からの入力データが書き込まれる。
Here, each node A of the common network 4
To C, each display 2 is connected, and the PLCs 3 individually connected to the display 2 each have 100 input / output terminals. In such a configuration, control data (recipe data) from the personal computer 1 is stored in the corresponding storage area of the memory in the PLC 3 for the output terminal of each PLC 3, and the output device 7 responds to the stored contents. Is controlled. For input terminals of each PLC 3, input data from the input device 6 is written to the corresponding storage area of the memory.

【0101】表1に示す例では、ノードA〜Cに対応す
る各PLC3の100個の各入出力端子に対応したスト
ア領域には、それぞれ100〜199、200〜29
9、300〜399のストアアドレスが割り当てられて
いる。ノードAの表示器2におけるデータ配信部2g
は、予め設定された時刻○○:○○にアドレス100〜
199のストア領域のデータ、すなわちすべての入出力
データを配信し、そのデータはパソコン1およびノード
Bの表示器2にストアされる。同様に、ノードAの表示
器2からは、10秒周期毎にアドレス100〜149の
ストア領域のデータが配信され、20秒周期毎にアドレ
ス150〜199のストア領域のデータが配信され、そ
の表示器2の電源ON時にアドレス140〜159のス
トア領域のデータが配信される。
In the example shown in Table 1, the store areas corresponding to the 100 input / output terminals of each PLC 3 corresponding to the nodes A to C respectively have 100 to 199 and 200 to 29.
9, and 300 to 399 store addresses are assigned. Data distribution unit 2g in display 2 of node A
Is a preset time OO: Address 100 to address OO
The data in the store area 199, that is, all input / output data, is distributed, and the data is stored in the personal computer 1 and the display 2 of the node B. Similarly, from the display unit 2 of the node A, data of the storage area of the addresses 100 to 149 is distributed every 10 seconds, and data of the storage areas of the addresses 150 to 199 are distributed every 20 seconds. When the power of the device 2 is turned on, the data in the store area at the addresses 140 to 159 is distributed.

【0102】[0102]

【表1】 [Table 1]

【0103】また、パソコン1は、各表示器2から配信
されるすべてのデータをストアしている。これに対し
て、ノードAについて製造ラインの最も上流側に設けら
れるPLC3に対応する表示器2は、下流側のノードB
・Cについての各PLC3に対応する表示器2からの配
信データの取り込みを行わない。しかしながら、表示器
2(B・C)は、それぞれ製造ラインの上流側にある表
示器2(A・B)からのすべての配信データを取り込ん
でおり、表示器2(C)では、表示器2(A)からの一
部のデータも取り込む。各表示器2には、データ配信部
2g内に配信データの格納に必要なストア領域が形成さ
れている。
The personal computer 1 stores all data distributed from each display 2. On the other hand, the indicator 2 corresponding to the PLC 3 provided on the most upstream side of the production line for the node A is the node B on the downstream side.
Do not fetch distribution data from the display 2 corresponding to each PLC 3 for C. However, the display 2 (B / C) takes in all the distribution data from the display 2 (A / B) on the upstream side of the manufacturing line, and the display 2 (C) takes the display 2 (C). Part of the data from (A) is also captured. Each display 2 has a storage area required for storing distribution data in the data distribution unit 2g.

【0104】パソコン1および各表示器2でのデータの
取り込みは、配信元からの配信データの、例えばIPア
ドレスに受信先のアドレスを格納しておくことによって
行われてもよい。また、受信先が多く存在する場合に
は、上記のデータ取り込みは、上記のIPアドレスを一
斉同報として、受信側で、配信データの配信元のIPア
ドレスに応答して、データを取り込むか否かを決定する
ようにして行われてもよい。
The data may be captured by the personal computer 1 and each display 2 by storing the address of the destination in the distribution data from the distribution source, for example, in the IP address. Also, when there are many receiving destinations, the above data capturing is performed by using the above IP address as a broadcast, and determining whether or not to capture the data in response to the distribution source IP address of the distribution data on the receiving side. May be determined.

【0105】しかも、すべての表示器2がパソコン1と
同様に、すべての配信データに対応したストア領域を有
し、すべての配信データを保有していてもよいことは勿
論である。また、表1に示す例では、説明の簡略化のた
めに、送信データのストアアドレスと受信データのスト
アアドレスとは相互に一致しているが、必ずしも一致し
ている必要はなく相互に異なっていてもよい。
Further, like the personal computer 1, all the display devices 2 have store areas corresponding to all the distribution data, and may naturally hold all the distribution data. Further, in the example shown in Table 1, for simplicity of description, the store address of the transmission data and the store address of the reception data match each other, but they do not always need to match, and are different from each other. You may.

【0106】上記のように、各表示器2およびパソコン
1との間でデータの配信が行えるようになると、パソコ
ン1にも容易に表示器2に記憶されているファイリング
データを取り込むことができる。そして、このファイリ
ングデータをアプリケーション部1fに与えることによ
って、ファイリングデータの記録が次のように可能にな
る。
As described above, when data can be distributed between each display 2 and the personal computer 1, the filing data stored in the display 2 can be easily taken into the personal computer 1. By providing the filing data to the application unit 1f, filing data can be recorded as follows.

【0107】表示器2からパソコン1に配信された表示
器2のファイリングデータは、共通ネットワーク4を介
してパソコン1に転送され、インターフェース部1bか
らデータ通信処理部1aに取り込まれる。データ通信処
理部1aは、アプリケーション部1fにおいて起動され
ている表計算ソフトの図6に示すワークシート31に上
記のファイリングデータを書き込んでいく。ファイリン
グデータのワークシート31への書き込みが完了する
と、図7の画面で指定されたファイルに保存される。
The filing data of the display 2 delivered from the display 2 to the personal computer 1 is transferred to the personal computer 1 via the common network 4 and taken into the data communication processing unit 1a from the interface unit 1b. The data communication processing unit 1a writes the filing data into the worksheet 31 shown in FIG. 6 of the spreadsheet software activated in the application unit 1f. When the writing of the filing data to the worksheet 31 is completed, the filing data is saved in the file specified on the screen of FIG.

【0108】以上のように、本実施の形態の制御システ
ムでは、表示器2がPLC3の機種毎の通信プロトコル
の相違を吸収して、各表示器2およびパソコン1の間の
データ通信を容易にしている。それゆえ、表示器2に記
憶されている、異機種のPLC3からの出力データや異
機種のPLC3へのレシピデータを含むファイリングデ
ータを、容易にパソコン1に収集することができる。ま
た、データ配信部2gによるデータ配信機能を用いるこ
とによって、設定された配信条件を満たす毎に表示器2
からファイリングデータがパソコン1に配信されるの
で、従来のデータ収集用ソフトのようにPLCと通信し
ながら、パソコン側からデータの送信要求を発すること
なく、自動的かつ効率的にデータ収集を行うことができ
る。
As described above, in the control system according to the present embodiment, the display 2 absorbs the difference in the communication protocol for each model of the PLC 3 to facilitate the data communication between each display 2 and the personal computer 1. ing. Therefore, the filing data including the output data from the heterogeneous PLC 3 and the recipe data to the heterogeneous PLC 3 stored in the display 2 can be easily collected in the personal computer 1. In addition, by using the data distribution function of the data distribution unit 2g, the display unit 2 is updated every time the set distribution conditions are satisfied.
Since the filing data is distributed to the personal computer 1, it is possible to automatically and efficiently collect data without issuing a data transmission request from the personal computer while communicating with the PLC as in conventional data collection software. Can be.

【0109】自動的にファイリングデータが収集される
ことにより、従来のように、表示器2からデータ収集す
る際にパソコン1を直接表示器2に接続することが不要
になり、また、ファイリングデータのファイルを表示器
2からパソコン1に転送して開くというユーザの操作も
不要になる。加えて、ファイリングデータの読み出し元
を図7に示す設定画面で設定するので、表示器2が備え
る記憶媒体の種類に応じて所望の記憶媒体からファイリ
ングデータを収集することができる。
Since the filing data is automatically collected, it is not necessary to connect the personal computer 1 directly to the display 2 when collecting data from the display 2 as in the related art. The user's operation of transferring the file from the display 2 to the personal computer 1 and opening the file becomes unnecessary. In addition, since the source of filing data is set on the setting screen shown in FIG. 7, filing data can be collected from a desired storage medium according to the type of storage medium provided in the display 2.

【0110】また、本制御システムでは、データ通信処
理部1aにアプリケーション部1fへのデータ書き込み
の機能を持たせているので、従来のように専用のデータ
収集ソフトを必要としない。しかも、ワークシート31
には、図5に示すような入力画面の形式、すなわちファ
イリングデータの表示器2における記憶形式に応じた形
式で、データが書き込まれる。これにより、ワークシー
ト31に保存されたデータが、データ通信処理部1aを
介して作画部1gに渡されると、作画部1gでのファイ
リングデータ作成にそのまま利用される。つまり、保存
データのファイル形式がアプリケーション部1fと作画
部1gとで共通化される(互換性を持つ)ことによっ
て、これらの間で容易にデータのやり取りができる。そ
れゆえ、表示器2のみでデータを記憶することに比べ
て、よりデータの有効利用を図ることができる。
In the present control system, since the data communication processing section 1a has a function of writing data to the application section 1f, dedicated data collection software is not required unlike the related art. And worksheet 31
Is written in the form of the input screen as shown in FIG. 5, that is, the form corresponding to the storage form of the filing data in the display 2. Thus, when the data stored in the worksheet 31 is passed to the drawing unit 1g via the data communication processing unit 1a, the data is directly used for filing data creation in the drawing unit 1g. That is, since the file format of the stored data is shared (has compatibility) between the application unit 1f and the drawing unit 1g, data can be easily exchanged between them. Therefore, the data can be more effectively used as compared with the case where the data is stored only by the display 2.

【0111】さらに、本制御システムでは、パソコン1
に表示器2のファイリングデータを収集することによっ
て、パソコン1および表示器2の双方に同じデータが保
持される。これにより、データの二重化が図られるの
で、パソコン1において各種のアプリケーションプログ
ラムの動作時に、あるアプリケーションプログラムが停
止したときにハングアップしてパソコン1がシステムダ
ウンしたり、ケーブル事故などによってデータ収集が不
能になっても表示器2にデータが確保される。それゆ
え、本制御システムの信頼性を向上させることができ
る。
Further, in this control system, the personal computer 1
By collecting the filing data of the display 2 at the same time, the same data is held in both the personal computer 1 and the display 2. As a result, data duplication is achieved, and when various application programs are operated on the personal computer 1, when a certain application program stops, the personal computer 1 hangs up and the system shuts down, or data cannot be collected due to a cable accident or the like. , Data is secured on the display 2. Therefore, the reliability of the present control system can be improved.

【0112】なお、本実施の形態では、共通ネットワー
ク4として、イーサネット上のTCP/IPを採用して
いるが、これに限るものではない。例えば、IEEE1
394など、他のネットワークであってもよい。パソコ
ン1が表示器2を介して各PLC3と通信するために十
分な通信容量を持ったネットワークであれば、同様の効
果が得られる。
In the present embodiment, TCP / IP over Ethernet is adopted as the common network 4, but the present invention is not limited to this. For example, IEEE1
Other networks such as 394 may be used. Similar effects can be obtained if the network has a sufficient communication capacity for the personal computer 1 to communicate with each PLC 3 via the display 2.

【0113】また、本実施の形態において、共通ネット
ワーク4に伝送されるデータ列DT2 は、図3に示すよ
うに、PLC3への指示内容を含むデータ本体12と、
そのPLC3が接続されたヘッダ部11とを含んでいる
が、これに限るものではない。例えば、パソコン1に1
つの表示器2が接続される構成や、表示器2が複数であ
っても、パソコン1が、それぞれの表示器2と通信する
ためのポートを個別に備える場合など、ヘッダ部11を
含まなくても通信相手を特定可能な場合は、データ列D
2 がヘッダ部11を含まなくても、同様の効果が得ら
れる。
In the present embodiment, the data sequence DT 2 transmitted to the common network 4 includes, as shown in FIG.
It includes a header section 11 to which the PLC 3 is connected, but is not limited to this. For example, one PC
A configuration in which one display 2 is connected, and even when there are a plurality of displays 2, the personal computer 1 does not include the header unit 11 in a case where the personal computer 1 is individually provided with a port for communicating with each display 2. If the communication partner can also be specified, the data string D
Even T 2 is not include the header portion 11, the same effect can be obtained.

【0114】なお、この場合は、共通ネットワーク4と
して、RS−232Cなど、伝送プロトコルに、ヘッダ
部を含まなくてもよいものが採用される。ただし、この
場合は、パソコン1に接続可能な表示器2が、パソコン
1のポート数などによって制限される。したがって、共
通ネットワーク4のネットワーク構成に自由度が必要な
場合は、本実施の形態のように、データ列DT2 に含ま
れるヘッダ部11によって、通信相手を特定する方が望
ましい。
In this case, a common network 4 such as RS-232C which does not need to include a header portion in the transmission protocol is adopted. However, in this case, the number of the display units 2 that can be connected to the personal computer 1 is limited by the number of ports of the personal computer 1 and the like. Therefore, if necessary the degree of freedom in the network configuration common network 4, as in the present embodiment, the header portion 11 included in the data string DT 2, who identifies the communication partner is desired.

【0115】[0115]

【発明の効果】以上のように、請求項1の発明に係るデ
ータ収集システムは、表示型制御装置および制御装置
は、制御装置毎に固有の通信プロトコルで通信を行う専
用ネットワークを介して個々に接続される一方、複数の
上記表示型制御装置と、通信プロトコルの異なる上記制
御装置から表示型制御装置を介して、上記制御装置から
のデータを収集するホストコンピュータとは、共通の通
信プロトコルで通信を行う共通ネットワークを介して互
いに接続されており、上記表示型制御装置が、上記デー
タを記憶する記憶手段と、上記制御装置と上記ホストコ
ンピュータとの間の通信を中継する際、上記両ネットワ
ークで用いられる通信プロトコルを互いに変換するプロ
トコル変換手段と、予め設定されている配信条件が満た
されたときに上記記憶手段に記憶された上記データを上
記ホストコンピュータに配信する配信手段とを有し、上
記ホストコンピュータが、上記記憶手段に記憶されてい
るデータをその記憶形式に対応する形式、かつアプリケ
ーションソフトウェアによって提供される記録シートに
保存可能な形態で書き込む書込手段を有している構成で
ある。
As described above, the data collection system according to the first aspect of the present invention provides a display-type control device and a control device.
Is dedicated to communication using a communication protocol unique to each control device.
Connected individually via a network for
The above display type control device and the above
From the control device via the display control device,
And the host computer that collects the same data
Communication via a common network that communicates with
The display-type control device is connected to the storage device for storing the data, the control device and the host control device.
When relaying the communication between the computer, and protocol conversion means for converting a communication protocol used above SL both networks to each other physician, stored in the storage means when the distribution condition set in advance is satisfied Distribution means for distributing the data to the host computer, wherein the host computer stores the data stored in the storage means in a format corresponding to the storage format, and in a recording sheet provided by application software. This is a configuration having writing means for writing in a storable form.

【0116】これにより、表示型制御装置とホストコン
ピュータとの間の共通ネットワークで使用される通信プ
ロトコルと、表示型制御装置と制御装置との間の専用ネ
ットワークで使用される通信プロトコルとが相互に変換
される。それゆえ、表示型制御装置は、制御装置の通信
プロトコルに関わらず、常に同一の通信プロトコルで、
共通ネットワークを介してホストコンピュータと通信す
ることができる。この結果、ホストコンピュータは、通
信プロトコルの異なる制御装置からの出力データを容易
に収集することができる。
Thus, the communication protocol used in the common network between the display control device and the host computer and the communication protocol used in the dedicated network between the display control device and the control device are mutually reciprocal. Is converted. Therefore, the display control device always uses the same communication protocol regardless of the communication protocol of the control device.
It can communicate with a host computer via a common network. As a result, the host computer can easily collect output data from control devices having different communication protocols.

【0117】また、予め設定されている配信条件が満た
されたときに表示型制御装置に記憶されたデータがホス
トコンピュータに配信されるので、ホストコンピュータ
側から制御装置に出力データを必要に応じて要求する必
要がなくなり、自動的にデータを収集することができ
る。このようにして収集された出力データは、データの
記憶形式に対応する形式でアプリケーションソフトウェ
アにて提供される記録シートに保存可能な形態で書き込
まれる。それゆえ、ホストコンピュータにおいて先述の
作画ソフトを用いてデータの記憶形式を作成する場合、
記録シートに保存されたデータと記憶形式のデータとに
互換性を持たせることができる。
Further, since the data stored in the display-type control device is distributed to the host computer when a preset distribution condition is satisfied, the output data is transmitted from the host computer to the control device as required. There is no need to make requests and data can be collected automatically. The output data collected in this way is written in a format corresponding to the storage format of the data in a form that can be stored on a recording sheet provided by application software. Therefore, when creating a data storage format using the above-described drawing software in the host computer,
The data stored in the recording sheet and the data in the storage format can be made compatible.

【0118】したがって、表示型制御装置に記憶されて
いるデータ、例えば、機種毎に通信プロトコルの異なる
制御装置からの出力データを容易に記録保存することが
できるとともに、データ収集の効率化および有効利用を
図ることができるという効果を奏する。
Therefore, data stored in the display-type control device, for example, output data from a control device having a different communication protocol for each model can be easily recorded and saved, and the efficiency of data collection and the efficient use of data can be improved. Is achieved.

【0119】また、上記データ収集システムにおいて、
上記書込手段が、上記記憶手段として上記表示型制御装
置に設けられている記憶媒体を指定して上記データを上
記記録シートに書き込む構成の場合、記憶媒体の種類に
応じて所望の記憶媒体から読み出されたデータを書き込
むことができる。したがって、システム構成に応じたデ
ータ収集を行うことができるという効果を奏する。
In the above data collection system,
In the case where the writing means is configured to write the data on the recording sheet by designating a storage medium provided in the display-type control device as the storage means, a desired storage medium is selected according to the type of the storage medium. The read data can be written. Therefore, there is an effect that data can be collected according to the system configuration.

【0120】請求項4の発明に係るデータ収集方法は、
表示型制御装置および制御装置を、制御装置毎に固有の
通信プロトコルで通信を行う専用ネットワークを介して
個々に接続し、複数の上記表示型制御装置と、通信プロ
トコルの異なる上記制御装置から表示型制御装置を介し
て、上記制御装置からのデータを収集するホストコンピ
ュータとを、共通の通信プロトコルで通信を行う共通ネ
ットワークを介して互いに接続すると共に、上記表示型
制御装置において、上記データを記憶し、上記制御装置
と上記ホストコンピュータとの間の通信を中継する際、
記両ネットワークで用いられる通信プロトコルを互
に変換するとともに、予め設定されている配信条件が満
たされたときに記憶した上記データを上記ホストコンピ
ュータに配信し、上記ホストコンピュータにおいて、配
信された上記データを上記表示型制御装置での記憶形式
に対応する形式、かつアプリケーションソフトウェアに
よって提供される記録シートに保存可能な形態で書き込
む方法である。
According to a fourth aspect of the present invention, there is provided a data collection method comprising:
Display-type control devices and control devices are unique to each control device.
Via a dedicated network that communicates with the communication protocol
Individually connected, multiple display-type controllers and communication
From the above controllers with different protocols via the display type controller
Host computer that collects data from the control unit.
With a common computer that communicates with a common communication protocol.
Together are connected to each other via a Ttowaku, in the display-type control apparatus, and storing the data, the control device
When relaying communication between the host computer
Converts the communication protocol used above SL both networks each other are in <br/>, the data stored at the time the distribution condition set in advance is satisfied delivered to the host computer, in said host computer A method of writing the distributed data in a format corresponding to the storage format of the display control device and in a form that can be stored in a recording sheet provided by application software.

【0121】また、請求項7の発明に係るデータ収集の
ためのプログラムが記録された記録媒体は、入力機器お
よび出力機器が接続された制御装置と、該制御装置に接
続され、該制御装置の制御状態を表示し、かつ上記制御
装置に制御指示を与える表示型制御装置と、複数の上記
表示型制御装置の上位に設けられ、通信プロトコルの異
なる上記制御装置から表示型制御装置を介して上記制御
装置からのデータを収集するホストコンピュータとを備
え、上記表示型制御装置および上記制御装置は、制御装
置毎に固有の上記通信プロトコルで通信を行う専用ネッ
トワークを介して個々に接続される一方、上記ホストコ
ンピュータおよび上記表示型制御装置は、共通の通信プ
ロトコルで通信を行う共通ネットワークを介して互いに
接続され た制御システムにて、上記ホストコンピュータ
が上記制御装置からのデータを収集するためのプログラ
ムが記録された記録媒体であって、上記表示型制御装置
において、上記データを記憶し、上記制御装置と上記ホ
ストコンピュータとの間の通信を中継する際、上記両ネ
ットワークで用いられる通信プロトコルを互いに変換す
るとともに、予め設定されている配信条件が満たされた
ときに記憶した上記データを上記ホストコンピュータに
配信し、上記ホストコンピュータにおいて、配信された
上記データを上記表示型制御装置での記憶形式に対応す
る形式、かつアプリケーションソフトウェアによって提
供される記録シートに保存可能な形態で書き込むための
プログラムが記録されている。
[0121] The recording medium having a program recorded thereon for data collection according to the invention of claim 7 includes a control unit which input device and the output device is connected, against the control device
It is continued to display the control state of the control device, and a display-type control device for providing a control instruction to the control unit, a plurality of the
Et provided on top of the display-type control device is, different communication protocols
Control from the control device through a display-type control device
Bei and the host computer to collect the data from the device
The display-type control device and the control device include a control device.
Dedicated network that communicates with the above-mentioned communication protocol specific to each device.
Connected individually via a network, while the host
The computer and the display-type control device share a common communication
Over a common network that communicates over
In the connected control system, the host computer
Is a program for collecting data from the controller.
A recording medium which beam is recorded, in the display-type control apparatus, and storing the data, the control device and the host
When relaying the communication between the strike computer converts the communication protocol used above SL both networks to each other physician, the host computer the data stored when delivered preset condition is satisfied And a program for writing the delivered data in a format corresponding to the storage format of the display-type control device and in a form that can be stored in a recording sheet provided by application software in the host computer. Have been.

【0122】これにより、ホストコンピュータと制御装
置との間のデータ通信で用いられる通信プロトコルが、
表示型制御装置において伝送先のネットワークの通信プ
ロトコルに変換される。この結果、表示型制御装置とホ
ストコンピュータとの間の通信が、常に同一の通信プロ
トコルで行われるようになるので、ホストコンピュータ
は、表示型制御装置に記憶されたデータ、例えば、通信
プロトコルの異なる制御装置からの出力データを容易に
収集することができる。
Thus, the communication protocol used for data communication between the host computer and the control device is:
The display type control device converts the data into the communication protocol of the transmission destination network. As a result, the communication between the display control device and the host computer is always performed by the same communication protocol. Therefore, the host computer determines the data stored in the display control device, for example, different communication protocols. Output data from the control device can be easily collected.

【0123】また、配信条件が満たされたときに表示型
制御装置に記憶されたデータがホストコンピュータに配
信されるので、自動的にデータを収集することができ
る。そして、このようにして収集されたデータは、デー
タの記憶形式に対応する形式で記録シートに書き込まれ
るので、記録シートに保存されたデータと記憶形式のデ
ータとに互換性を持たせることができる。
Further, when the distribution conditions are satisfied, the data stored in the display control device is distributed to the host computer, so that the data can be automatically collected. The data collected in this manner is written on the recording sheet in a format corresponding to the data storage format, so that the data stored on the recording sheet and the data in the storage format can be made compatible. .

【0124】したがって、前記のデータ収集システムと
同様、表示型制御装置に記憶されているデータを容易に
記録保存することができるとともに、データ収集の効率
化および有効利用を図ることができるという効果を奏す
る。
Therefore, similarly to the above-described data collection system, the data stored in the display-type control device can be easily recorded and stored, and the efficiency and efficiency of data collection can be improved. Play.

【0125】しかも、上記のプログラムは、プロトコル
変換および配信のための処理と組み合わされて提供され
るので、従来用いられていたデータ収集のための専用の
ソフトウェア(プログラム)を必要としない。
Moreover, since the above-described program is provided in combination with a process for protocol conversion and distribution, there is no need for a conventionally used dedicated software (program) for data collection.

【0126】また、請求項4のデータ収集方法におい
て、上記データを記憶するために上記表示型制御装置が
備える記憶媒体を指定して上記データを上記記録シート
に書き込む場合、あるいは、請求項7の記録媒体におい
て、上記データを記憶するために上記表示型制御装置が
備える記憶媒体を指定して上記データを上記記録シート
に書き込むためのプログラムが記録されている場合は、
上述のデータ収集システムと同様、記憶媒体の種類に応
じて所望の記憶媒体から読み出されたデータを書き込む
ことができる。したがって、システム構成に応じたデー
タ収集を行うことができるという効果を奏する。
[0126] Further, in the data collection method of claim 4, when specifying the storage medium to which the display-type control device is provided to store the data written to the data on the recording sheet, or of claim 7 when the recording medium, a program for writing the data to the recording sheet by specifying a storage medium to which the display-type control device is provided for storing the data is being recorded,
As in the above-data collection system, data read from the desired storage medium in accordance with the type of the storage medium can be written. Therefore, there is an effect that data can be collected according to the system configuration.

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

【図1】本発明の一実施の形態に係る制御システムの要
部の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a main part of a control system according to an embodiment of the present invention.

【図2】専用ネットワークの通信プロトコルと、上記制
御システムにおけるプログラマブル表示器が通信プロト
コルを変換する場合に参照するデータ転送フォーマット
とを示す説明図である。
FIG. 2 is an explanatory diagram showing a communication protocol of a dedicated network and a data transfer format referred to when a programmable display in the control system converts the communication protocol.

【図3】共通ネットワークの通信プロトコルを示す説明
図である。
FIG. 3 is an explanatory diagram showing a communication protocol of a common network.

【図4】上記プログラマブル表示器が通信プロトコルを
変換する場合に参照されるコマンド変換テーブルを示す
説明図である。
FIG. 4 is an explanatory diagram showing a command conversion table referred to when the programmable display device converts a communication protocol.

【図5】パソコンにおける作画部で作成されるファイリ
ングデータ入力画面を示す説明図である。
FIG. 5 is an explanatory diagram showing a filing data input screen created by a drawing unit of the personal computer.

【図6】ファイリングデータを書き込むための、パソコ
ンのアプリケーションにインストールされる表計算ソフ
トのワークシートを示す説明図である。
FIG. 6 is an explanatory diagram showing a worksheet of spreadsheet software installed in an application of a personal computer for writing filing data.

【図7】ファイリングデータを読み出すべき表示器の記
憶媒体および読み出されたファイリングデータの保存先
を指定するための設定画面を示す説明図である。
FIG. 7 is an explanatory diagram showing a setting screen for specifying a storage medium of a display from which filing data is to be read and a storage destination of the read filing data.

【図8】(a)および(b)は、それぞれ上記パソコン
における配信設定部にて設定される配信条件設定画面お
よび配信局・受信局設定画面を示す説明図である。
FIGS. 8A and 8B are explanatory diagrams respectively showing a distribution condition setting screen and a distribution station / reception station setting screen set by a distribution setting section of the personal computer.

【図9】従来の制御システムの要部の構成を示すブロッ
ク図である。
FIG. 9 is a block diagram showing a configuration of a main part of a conventional control system.

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

1 パーソナルコンピュータ(ホストコンピュー
タ) 1a データ通信処理部(書込手段) 1c データ配信設定部(配信手段) 1f アプリケーション部(アプリケーションソフト
ウェア) 1g 作画部 2 プログラマブル表示器(表示型制御装置) 2a データ処理部 2f 変換データ記憶部 2g データ配信部 2h 収集データ記憶部 3 PLC(制御装置) 4 共通ネットワーク 5 専用ネットワーク 6 入力機器 7 出力機器 21 SRAM(記憶媒体) 22 FROM(記憶媒体) 23 CFカード(記憶媒体) 31 ワークシート(記録シート)
DESCRIPTION OF SYMBOLS 1 Personal computer (host computer) 1a Data communication processing part (writing means) 1c Data distribution setting part (distribution means) 1f Application part (application software) 1g Drawing part 2 Programmable display (display control device) 2a Data processing part 2f Conversion data storage unit 2g Data distribution unit 2h Collected data storage unit 3 PLC (control device) 4 Common network 5 Dedicated network 6 Input device 7 Output device 21 SRAM (storage medium) 22 FROM (storage medium) 23 CF card (storage medium) ) 31 Worksheet (recording sheet)

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/04 - 19/05 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G05B 19/04-19/05

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力機器および出力機器が接続された制御
装置と 該制御装置に接続され、該 制御装置の制御状態を表示
し、かつ上記制御装置に制御指示を与える表示型制御装
置と 複数の上記表 示型制御装置の上位に設けられ、通信プロ
トコルの異なる上記制御装置から表示型制御装置を介し
て、上記制御装置からのデータを収集するホストコンピ
ュータとを備えると共に、 上記表示型制御装置および上記制御装置は、制御装置毎
に固有の上記通信プロトコルで通信を行う専用ネットワ
ークを介して個々に接続される一方、上記ホストコンピ
ュータおよび上記表示型制御装置は、共通の通信プロト
コルで通信を行う共通ネットワークを介して互いに接続
されており、 上記表示型制御装置が、上記データを記憶する記憶手段
と、上記制御装置と上記ホストコンピュータとの間の通
信を中継する際、上記両ネットワークで用いられる通信
プロトコルを互いに変換するプロトコル変換手段と、予
め設定されている配信条件が満たされたときに上記記憶
手段に記憶された上記データを上記ホストコンピュータ
に配信する配信手段とを有し、 上記ホストコンピュータが、上記記憶手段に記憶されて
いるデータをその記憶形式に対応する形式、かつアプリ
ケーションソフトウェアによって提供される記録シート
に保存可能な形態で書き込む書込手段を有していること
を特徴とするデータ収集システム。
And 1. A input device and the output device is connected the controller, connected to the control device, a display-type control apparatus to display the control state of the control device, and providing a control instruction to the control unit, et provided on top of the plurality of table示型controller is a communication pro
From the above controllers with different protocols via the display type controller
Te, the host competent for collecting data from the top Symbol controller
And the display-type control device and the control device are provided for each control device.
Dedicated network that communicates with the above communication protocol specific to
Connected individually via the network, while the host
And the display-type control device, a common communication protocol
Connected to each other via a common network
It is, passing between the display type control device, a storage means for storing the data, and the control device and the host computer
When relaying the signal, and protocol conversion means for converting a communication protocol used above SL both networks to each other physician, the data stored in the storage means when the distribution condition set in advance is satisfied the Distribution means for distributing the data to a host computer, wherein the host computer stores the data stored in the storage means in a format corresponding to the storage format and in a form capable of storing the data in a recording sheet provided by application software A data collection system comprising writing means for writing.
【請求項2】上記プロトコル変換手段は、上記制御装置
と他の上記表示型制御装置との間の通信を中継する際、
上記両ネットワークで用いられる通信プロトコルを互い
に変換するものであることを特徴とする請求項1記載の
データ収集システム。
2. The control device according to claim 1, wherein said protocol conversion means includes:
When relaying the communication between and the other display type control device,
The communication protocols used in both networks are
2. The method according to claim 1, wherein
Data collection system.
【請求項3】上記プロトコル変換手段によるプロトコル
変換処理に必要なプロトコル情報は、上記表示型制御装
置に異なる通信プロトコルを採用した上記制御装置が接
続されると切り換えられることを特徴とする請求項1ま
たは2記載のデータ収集システム。
3. A protocol by said protocol conversion means.
The protocol information required for the conversion process
The above control device, which uses a different communication protocol for the
2. The method according to claim 1, further comprising:
Or the data collection system according to 2.
【請求項4】入力機器および出力機器が接続された制御
装置と、該制御装置に接続され、該制御装置の制御状態
を表示し、かつ上記制御装置に制御指示を与える表示型
制御装置と、複数の上記表示型制御装置の上位に設けら
れ、通信プロトコルの異なる上記制御装置から表示型制
御装置を介して、上記制御装置からのデータを収集する
ホストコンピュータとを備える制御システムにおけるデ
ータ収集方法であって、 上記表示型制御装置および上記制御装置を、制御装置毎
に固有の上記通信プロトコルで通信を行う専用ネットワ
ークを介して個々に接続し、 上記ホストコンピュータおよび上記表示型制御装置を、
共通の通信プロトコルで通信を行う共通ネットワークを
介して互いに接続すると共に、 上記表示型制御装置において、上記データを記憶し、上
記制御装置と上記ホストコンピュータとの間の通信を中
継する際、上記両ネットワークで用いられる通信プロト
コルを互いに変換するとともに、予め設定されている配
信条件が満たされたときに記憶した上記データを上記ホ
ストコンピュータに配信し、 上記ホストコンピュータにおいて、配信された上記デー
タを上記表示型制御装置での記憶形式に対応する形式、
かつアプリケーションソフトウェアによって提供される
記録シートに保存可能な形態で書き込むことを特徴とす
るデータ収集方法。
4. A control in which an input device and an output device are connected.
A device and a control state of the control device connected to the control device
Display type for displaying a control instruction to the control device
A control device and a plurality of display-type control devices
Display type control from the above controller with different communication protocol.
Collect data from the above control device via the control device
Data in a control system with a host computer
A data collection method, wherein the display-type control device and the control device are
Dedicated network that communicates with the above communication protocol specific to
Connected individually via a network, the host computer and the display control device,
A common network that communicates with a common communication protocol
Connected to each other via the display-type control device,
Communication between the controller and the host computer.
Communication protocol used in both networks.
Are converted to each other, and a preset distribution is set.
The above data stored when the communication conditions
And distributes the data to the host computer.
Data in a format corresponding to the storage format in the display control device,
And provided by application software
Write in a form that can be stored on a recording sheet.
Data collection method.
【請求項5】上記表示型制御装置にて、上記制御装置と
他の上記表示型制御装置との間の通信を中継する際、上
記両ネットワークで用いられる通信プロトコルを互いに
変換することを特徴とする請求項4記載のデータ収集方
法。
5. The display-type control device according to claim 1 , wherein
When relaying communication with other display-type controllers,
The communication protocols used in the two networks
5. The data collection method according to claim 4, wherein the data is converted.
Law.
【請求項6】上記表示型制御装置にて、上記プロトコル
変換処理に必要なプロトコル情報は、上記表示型制御装
置に異なる通信プロトコルを採用した上記制御装置が接
続されると切り換えられることを特徴とする請求項4ま
たは5記載のデータ収集方法。
6. The display type control device according to claim 6 , wherein
The protocol information required for the conversion process
The above control device, which uses a different communication protocol for the
5. The method according to claim 4, further comprising:
Or the data collection method according to 5.
【請求項7】入力機器および出力機器が接続された制御
装置と、該制御装置に接続され、該制御装置の制御状態
を表示し、かつ上記制御装置に制御指示を与える表示型
制御装置と、複数の上記表示型制御装置の上位に設けら
れ、通信プロトコルの異なる上記制御装置から表示型制
御装置を介して上記制御装置からのデータを収集するホ
ストコンピュータとを備え、上記表示型制御装置および
上記制御装置は、制御装置毎に固有の上記通信プロトコ
ルで通信を行う専用ネットワークを介して個々に接続さ
れる一方、上記ホストコンピュータおよび上記表示型制
御装置は、共通の通信プロトコルで通信を行う共通ネッ
トワークを介して互いに接続された制御システムにて、
上記ホストコンピュータが上記制御装置からのデータを
収集するためのプログラムが記録された記録媒体であっ
て、 上記表示型制御装置において、上記データを記憶し、上
記制御装置と上記ホストコンピュータとの間の通信を中
継する際、上記両ネットワークで用いられる通信プロト
コルを互いに変換するとともに、予め設定されている配
信条件が満たされたときに記憶した上記データを上記ホ
ストコンピュータに配信し、 上記ホストコンピュータにおいて、配信された上記デー
タを上記表示型制御装置での記憶形式に対応する形式、
かつアプリケーションソフトウェアによって提供される
記録シートに保存可能な形態で書き込むためのプログラ
ムが記録されたコンピュータ読み取り可能な記録媒体。
7. A control to which an input device and an output device are connected.
A device and a control state of the control device connected to the control device
Display type for displaying a control instruction to the control device
A control device and a plurality of display-type control devices
Display type control from the above controller with different communication protocol.
A device that collects data from the control device via a control device.
A display computer, and the display-type control device and
The control device is a communication protocol specific to each control device.
Connected individually via a dedicated network that communicates
On the other hand, the host computer and the display type
The control device communicates using a common communication protocol.
Control systems connected to each other via
The host computer receives data from the control device.
The recording medium on which the program for collecting
In the display control device, the data is stored.
Communication between the controller and the host computer.
Communication protocol used in both networks.
Are converted to each other, and a preset distribution is set.
The above data stored when the communication conditions
And distributes the data to the host computer.
Data in a format corresponding to the storage format in the display control device,
And provided by application software
Program for writing in a storable form on a recording sheet
A computer-readable recording medium on which a program is recorded.
【請求項8】上記表示型制御装置にて、上記制御装置と
他の上記表示型制御装置との間の通信を中継する際、上
記両ネットワークで用いられる通信プロトコルを互いに
変換するためのプログラムが記録された請求項7記載の
記録媒体。
8. The display-type control device, wherein the control device is
When relaying communication with other display-type controllers,
The communication protocols used in the two networks
The program according to claim 7, wherein a program for conversion is recorded.
recoding media.
【請求項9】上記表示型制御装置にて、上記プロトコル
変換処理に必要なプロトコル情報を、上記表示型制御装
置に異なる通信プロトコルを採用した上記制御装置が接
続されると切り換えるためのプログラムが記録された請
求項7または8記載の記録媒体。
9. The display type control device according to claim 9 , wherein
The protocol information required for the conversion process is
The above control device, which uses a different communication protocol for the
When the connection is continued, the contract
9. The recording medium according to claim 7 or 8.
JP29288999A 1999-10-14 1999-10-14 Data collection system, data collection method, and recording medium on which data collection program is recorded Expired - Lifetime JP3155258B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29288999A JP3155258B1 (en) 1999-10-14 1999-10-14 Data collection system, data collection method, and recording medium on which data collection program is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29288999A JP3155258B1 (en) 1999-10-14 1999-10-14 Data collection system, data collection method, and recording medium on which data collection program is recorded

Publications (2)

Publication Number Publication Date
JP3155258B1 true JP3155258B1 (en) 2001-04-09
JP2001117612A JP2001117612A (en) 2001-04-27

Family

ID=17787703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29288999A Expired - Lifetime JP3155258B1 (en) 1999-10-14 1999-10-14 Data collection system, data collection method, and recording medium on which data collection program is recorded

Country Status (1)

Country Link
JP (1) JP3155258B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008139917A (en) * 2006-11-30 2008-06-19 Yokogawa Electric Corp Equipment inspection system
JP5238768B2 (en) * 2010-07-27 2013-07-17 株式会社日立アドバンストデジタル Storage controller and data processing system
KR20130063132A (en) * 2011-12-06 2013-06-14 (주)엔씨씨 Plc auto communication interface method and apparatus

Also Published As

Publication number Publication date
JP2001117612A (en) 2001-04-27

Similar Documents

Publication Publication Date Title
JP3827092B2 (en) Control system setting device, control system setting method, and setting program
US20060179120A1 (en) Control server, control terminal, control system, and recording medium storing control communication program
JP2001016662A (en) Data collection system, data collection method, and recording medium recording program for data collection
US20070130310A1 (en) I/O Module with Web Accessible Product Data
JP2003076405A (en) Control display device, control system, control program and recording medium recording the same
JP3155253B2 (en) Data transfer system, data transfer method and recording medium on which data transfer program is recorded
JP3155258B1 (en) Data collection system, data collection method, and recording medium on which data collection program is recorded
JP3512705B2 (en) Screen simulation system for programmable display, screen simulation method, and recording medium recording program for screen simulation
CN110324220A (en) Support device, computer readable storage medium, setting method
JP3621326B2 (en) Data accumulation system, data accumulation method, and recording medium recording program for data accumulation
JP3155257B1 (en) Data collection system, data collection method, and recording medium on which data collection program is recorded
JP3423626B2 (en) Control host computer and recording medium on which the program is recorded
JP2002111680A (en) Control system
JP3155259B1 (en) Notification system, notification method, and recording medium storing program for notification
JP2000315105A (en) Management system for nc machine tool and its management program
JP3155254B2 (en) Application software start-up system and start-up method, and recording medium on which a program for the start-up is recorded
JP2002351512A (en) Control system, data write/read control program and recording medium recorded with the program
JP4335109B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP4509979B2 (en) CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP3730101B2 (en) CONTROL SYSTEM, CONTROL SYSTEM DATA WRITE / READ METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM FOR DATA WRITE / READ
JP4093058B2 (en) Information monitoring support device and information monitoring system
JP4563255B2 (en) Programmable display, control program, and recording medium recording the program
JP2006134098A (en) Programmable display, display control program, and recording medium with the program recorded thereon
JP3751917B2 (en) DATA COLLECTION SYSTEM, DATA COLLECTION METHOD, DATA COLLECTION PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2008033575A5 (en)

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3155258

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080202

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090202

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20100202

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20100202

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110202

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 12

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20140202

Year of fee payment: 13

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term