JP2001014009A - Starting system for application software, its starting method, and recording medium on which program for starting the same is recorded - Google Patents

Starting system for application software, its starting method, and recording medium on which program for starting the same is recorded

Info

Publication number
JP2001014009A
JP2001014009A JP11184323A JP18432399A JP2001014009A JP 2001014009 A JP2001014009 A JP 2001014009A JP 11184323 A JP11184323 A JP 11184323A JP 18432399 A JP18432399 A JP 18432399A JP 2001014009 A JP2001014009 A JP 2001014009A
Authority
JP
Japan
Prior art keywords
display
control device
data
host computer
plc
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.)
Granted
Application number
JP11184323A
Other languages
Japanese (ja)
Other versions
JP3155254B2 (en
Inventor
Yoshihiko Nakada
良彦 中田
Satoshi Kato
三十四 加藤
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 JP18432399A priority Critical patent/JP3155254B2/en
Publication of JP2001014009A publication Critical patent/JP2001014009A/en
Application granted granted Critical
Publication of JP3155254B2 publication Critical patent/JP3155254B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To start desired application software to a different kind of PLC according to an operating state, etc. SOLUTION: In this starting system, a communication protocol at an exclusive network 5 between a PLC 3 and a programmable display 2 is converted into a communication protocol at a common network 4 between the programmable display 2 and a personal computer 1 by using data for converting protocol of a converted data storage part 2f at a data processing part 2a. In addition, when a distributing condition preset in a data distributing part 2g is established by a distribution setting part 1c, the application software preliminarily specified in an application part 1f is stared by a data communication processing part 1a. For example, generation of abnormality of the PLC 3 is provided as the distributing condition and when word processor software is started as the application software, a file in which a message of generation of the abnormality is prepared is opened and the message is displayed on a personal computer 1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルロ
ジックコントローラなどの産業用制御装置の動作に関連
付けて各種のアプリケーションソフトウェアを起動する
ためのシステムおよび方法ならびにその起動のためのプ
ログラムが記録された記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system and method for starting various application software in association with the operation of an industrial control device such as a programmable logic controller, and a recording medium on which a program for starting the program is recorded. It is about.

【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) is used to implement various controls such as a sequence control, 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の稼働状況の監視やPLC
の制御を行えるように、そのような場所に設置されたホ
ストコンピュータを参加させることもできる。
In such a network control system, display of the operation status of each PLC and control instructions 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 and the display device, the operation status of the PLC can be monitored and the PLC can be monitored.
The host computer installed in such a place can also participate so that the above-mentioned control can be performed.

【0004】上記の制御システムは、例えば、図7に示
すように、PLC101…を制御の中心として位置付け
ており、各PLC101には、ターゲットシステムの各
所に配されたセンサやアクチュエータのような入出力機
器102…と、表示および制御指示を行うプログラマブ
ル表示器などの表示装置103…とが接続されている。
また、PLC101には、他のPLC101やホストコ
ンピュータ104が所定のインターフェース回路を介し
て直接接続されるか、または専用のアダプタを介して間
接的に接続されている。PLC101とホストコンピュ
ータ104との間や各PLC101間におけるデータの
授受は、PLC101の通信機能を利用して行われてい
る。
In the above control system, for example, as shown in FIG. 7, 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 parts of a 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】このような制御システムにおいては、シス
テムの運用上、PLC101の動作状態を監視して、必
要に応じて、制御システムの集中管理を行うホストコン
ピュータ104によって管理者に作業指示や異常発生を
報知することがある。このため、従来、例えば、ホスト
コンピュータ104からPLC101にアクセスできる
ソフトウェアを用いて、PLC101の動作状態を常に
監視し、異常などの発生が確認されると、それを報知す
るためのアプリケーションソフトウェア(例えば、文字
や文章を作成したワードプロセッサソフトなど)を起動
するといった方法が採られている。
In such a control system, in the operation of the system, the operation state of the PLC 101 is monitored, and if necessary, the host computer 104 which performs centralized control of the control system gives a work instruction or an abnormality to the administrator. May inform. For this reason, conventionally, for example, using software that can access the PLC 101 from the host computer 104, the operating state of the PLC 101 is constantly monitored, and when an occurrence of an abnormality or the like is confirmed, application software (for example, (Eg, word processor software that creates characters and sentences).

【0006】[0006]

【発明が解決しようとする課題】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.

【0007】具体的には、ホストコンピュータ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, it is necessary to manufacture and maintain the host computer 104 and the display device 103. It takes time and effort.

【0008】通信プロトコルの相違の程度が軽微な場
合、具体的には、スタートキャラクタ、ストップキャラ
クタ、送受アドレスの指定方法など、通信の確立に必要
な通信プロトコルが同一であり、かつ余り重要ではない
コマンドのみが相違している程度であれば、PLC10
1の機能のうち、実際に使用する機能を制限して、相違
しているコマンドを使用しなければ、異機種のPLC1
01を併用することも不可能ではない。ところが、複数
機種と通信するコマンドのような重要なコマンドが相違
している場合には、ホストコンピュータ104とPLC
101との間で通信が確立したとしても、ホストコンピ
ュータ104はPLC101に所望の動作を指示するこ
とができない。
When the degree of difference between the communication protocols is small, the communication protocols necessary for establishing communication, such as a start character, a stop character, and a method for 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.

【0009】しかも、上記の通信確立に要する通信プロ
トコル自体が異なっている場合には、通信プロトコルの
異なるPLC101とホストコンピュータ104などと
の間の通信が成立しないだけではなく、通信プロトコル
が共通のPLC101とホストコンピュータ104との
通信を阻害してしまう。したがって、そのPLC101
を接続する場合には、変換器をネットワークに挿入し
て、そのPLC101がホストコンピュータ104や他
のPLC101から同じ機種に見えるように、通信プロ
トコルを相互変換する必要がある。しかしながら、上記
のような制御システムでは、一般に、変換器を設置でき
る場所が限られることが多いだけでなく、変換器の増設
に伴って制御システム全体のコストが高騰するという不
都合がある。さらに、PLC101の通信プロトコル
は、例えば100種以上と数多く存在するので、それら
の通信プロトコルに対応する所望の変換器が存在すると
は限らない。
In addition, 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 same communication protocol. 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.

【0010】したがって、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 the choices when selecting the PLC 101 are limited. For this reason, conventionally, in a control system, the PLC 101 of the same model is often used.

【0011】さらに、制御の中心として位置付けられた
PLC101…が制御システムにおける通信の大半を処
理するために、PLC101の負担が大きくなってしま
う。具体的には、PLC101は、リレーを使用したシ
ーケンサから発達してきた経緯もあり、スイッチのオン
・オフ制御やセンサからのデータ取り込みといったI/
O制御に関する処理を得意としているので、上記のよう
に制御システムの通信を処理するには能力が不足するこ
とが多く、仮に能力的に不足がない場合でも負担が大き
い。例えば、ターゲットシステムを制御するだけであれ
ば、PLC101は、通常、数十kバイト程度の記憶容
量と、記憶容量に応じた処理能力とで十分であるが、こ
の記憶容量や処理能力では、多くの通信を十分な速度で
処理することは難しい。
Further, since the PLCs 101, which are positioned at the center of control, process most of the communication in the control system, the load 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.

【0012】このように、従来の制御システムでは、通
信プロトコルによる制限のため、ホストコンピュータ1
04から異機種のPLC101…への制御データの転送
を容易に行うことができないという問題がある。また、
上記の制御システムにおいて、PLC101…の動作状
態に応じて任意のアプリケーションソフトを起動させる
ためのプログラムをユーザが作成する必要があり、シス
テム開発に多大な労力を要する。しかも、前述のような
ホストコンピュータ104からPLC101にアクセス
できるソフトウェアを用いても、そのソフトがインスト
ールされたホストコンピュータ104からPLC101
に、PLC101の動作状態を常時問い合わせる必要が
あり、データ通信の効率があまり良くなかった。
As described above, in the conventional control system, the host computer 1 is
There is a problem that the control data cannot easily be transferred from the PLC 04 to the different types of PLC 101. Also,
In the above control system, it is necessary for the user to create a program for activating any application software in accordance with the operation state of the PLCs 101... In addition, even if the above-described software capable of accessing the PLC 101 from the host computer 104 is used, the host computer 104 on which the software is installed may be used.
In addition, it is necessary to always inquire about the operation state of the PLC 101, and the efficiency of data communication is not so good.

【0013】本発明は、上記の問題点に鑑みてなされた
ものであり、専用のソフトやユーザによる新たなプログ
ラムの作成を必要とすることなく、異機種のPLCの動
作状態に応じて任意のアプリケーションソフトウェアを
起動することができるアプリケーションソフトウェアの
起動システムおよび起動方法ならびにその起動のための
プログラムが記録された記録媒体を提供することを目的
としている。
The present invention has been made in view of the above-described problems, and does not require the creation of a new program by dedicated software or a user, and allows an arbitrary PLC to be operated in accordance with the operation state of a different type of PLC. It is an object of the present invention to provide a start-up system and a start-up method for application software capable of starting application software, and a recording medium on which a program for starting the application software is recorded.

【0014】[0014]

【課題を解決するための手段】本発明に係るアプリケー
ションソフトウェア起動システムは、上記の課題を解決
するために、入力機器および出力機器が接続された制御
装置と、該制御装置の制御状態を表示し、かつ上記制御
装置に制御指示を与える表示型制御装置と、該表示型制
御装置の上位に設けられるホストコンピュータとの間で
通信を行うことによって上記ホストコンピュータにおけ
るアプリケーションソフトウェアを起動するアプリケー
ションソフトウェア起動システムであって、上記ホスト
コンピュータと複数の上記表示型制御装置とが共通ネッ
トワークを介して共通の通信プロトコルを用いて通信を
行う一方、上記表示型制御装置と上記制御装置とが専用
ネットワークを介して制御装置に固有の通信プロトコル
を用いて通信を行い、上記表示型制御装置が、上記両ネ
ットワークで用いられる通信プロトコルを上記両ネット
ワークで用いられる通信プロトコルに互いに変換するプ
ロトコル変換手段と、予め設定されている条件が満たさ
れたときに、その条件についての情報を上記ホストコン
ピュータに通知する通知手段とを有し、上記ホストコン
ピュータが、上記通知手段からの上記条件についての情
報を受けると、予め指定されたアプリケーションソフト
ウェアを起動する起動手段を有していることを特徴とし
ている。
In order to solve the above-mentioned problems, an application software activation system according to the present invention displays a control device to which an input device and an output device are connected and a control state of the control device. And an application software activation system that activates application software in the host computer by performing communication between a display control device that gives a control instruction to the control device and a host computer provided above the display control device. Wherein the host computer and the plurality of display control devices perform communication using a common communication protocol via a common network, while the display control device and the control device communicate via a dedicated network. Communication is performed using a communication protocol specific to the control device. A protocol conversion unit that converts the communication protocol used in the two networks into a communication protocol used in the two networks, and a condition set in advance when a predetermined condition is satisfied. Notifying means for notifying the host computer of the information of the above, when the host computer receives the information on the condition from the notifying means, has a starting means for starting the application software specified in advance It is characterized by having.

【0015】上記の構成において、プロトコル変換手段
によって、共通ネットワークの通信プロトコルが専用ネ
ットワークの通信プロトコルに変換される一方、専用ネ
ットワークの通信プロトコルが共通ネットワークの通信
プロトコルに変換される。これにより、表示型制御装置
は、制御装置の通信プロトコルに関わらず、常に同一の
通信プロトコルで、共通ネットワークを介してホストコ
ンピュータと通信することができる。この結果、制御装
置、表示型制御装置およびホストコンピュータを含む制
御システム内に、通信プロトコルの異なる制御装置が混
在していても、ホストコンピュータは、制御装置に関す
る情報を表示型制御装置を介して得ることができる。
In the above arrangement, the protocol conversion means converts the communication protocol of the common network into the communication protocol of the dedicated network, while converting the communication protocol of the dedicated network into the communication protocol of the common network. Accordingly, the display-type 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 control devices having different communication protocols coexist in the control system including the control device, the display control device, and the host computer, the host computer obtains information on the control device via the display control device. be able to.

【0016】また、予め設定されている条件(制御装置
から送信される制御装置の異常発生など)が満たされた
ときに、通信手段によって、その条件についての情報が
ホストコンピュータに通知されると、ホストコンピュー
タでは、起動手段が、予め指定されたアプリケーション
ソフトウェアが起動する。これにより、例えば、制御装
置の動作状態に応じてアプリケーションソフトウェアを
起動させる場合、ホストコンピュータ側から制御装置に
その動作状態を問い合わせる必要がなくなり、上記の条
件が成立すれば自動的にアプリケーションソフトウェア
を起動することができる。そして、通信プロトコルに関
わらずに通信が可能となるので、起動されたアプリケー
ションソフトウェアと制御装置との間でデータの受け渡
しを容易に行うことができる。
Further, when a preset condition (such as occurrence of an abnormality in the control device transmitted from the control device) is satisfied, information about the condition is notified to the host computer by the communication means. In the host computer, the activation means activates application software specified in advance. Thus, for example, when the application software is started in accordance with the operation state of the control device, the host computer does not need to inquire the control device about the operation state, and the application software is automatically started when the above condition is satisfied. can do. Since communication is possible regardless of the communication protocol, data can be easily exchanged between the started application software and the control device.

【0017】本発明に係るアプリケーションソフトウェ
ア起動方法は、入力機器および出力機器が接続された制
御装置と、該制御装置の制御状態を表示し、かつ上記制
御装置に制御指示を与える表示型制御装置と、該表示型
制御装置の上位に設けられるホストコンピュータとの間
で通信を行うことによって上記ホストコンピュータにお
けるアプリケーションソフトウェアを起動するアプリケ
ーションソフトウェア方法システムであって、上記ホス
トコンピュータと複数の上記表示型制御装置との間で共
通ネットワークを介して共通の通信プロトコルを用いて
通信を行わせる一方、上記表示型制御装置と上記制御装
置との間で専用ネットワークを介して制御装置に固有の
通信プロトコルを用いて通信を行わせ、上記表示型制御
装置において、上記両ネットワークで用いられる通信プ
ロトコルを上記両ネットワークで用いられる通信プロト
コルに互いに変換するとともに、予め設定されている条
件が満たされたときに、その条件についての情報を上記
ホストコンピュータに通知し、上記ホストコンピュータ
において、上記条件についての情報を受けると、予め指
定されたアプリケーションソフトウェアを起動すること
を特徴としている。
According to the present invention, there is provided a method for starting application software, comprising: a control device to which input devices and output devices are connected; a display-type control device which displays a control state of the control device and gives a control instruction to the control device. An application software method system for starting application software in the host computer by communicating with a host computer provided above the display control device, wherein the host computer and a plurality of the display control devices are provided. Communication between the display-type control device and the control device using a communication protocol unique to the control device via the dedicated network, while performing communication using a common communication protocol through a common network with the control device. Communication is performed, and in the display-type control device, While converting the communication protocol used in both networks into the communication protocol used in both networks, and when a preset condition is satisfied, it notifies the host computer of information about the condition, and the host computer The computer is characterized in that, upon receiving information on the above conditions, application software designated in advance is started.

【0018】この起動方法でも、表示型制御装置におい
て、ホストコンピュータと表示型制御装置との間の通信
プロトコルが表示型制御装置と制御装置との間の通信プ
ロトコルと相互に変換される。これにより、表示型制御
装置は、常に同一の通信プロトコルで、共通ネットワー
クを介してホストコンピュータと通信が可能になる。そ
れゆえ、ホストコンピュータは、通信プロトコルの異な
る制御装置に関する情報を表示型制御装置を介して得る
ことができる。
Also in this starting method, in the display-type control device, the communication protocol between the host computer and the display-type control device is mutually converted with the communication protocol between the display-type control device and the control device. Accordingly, the display-type control device can always communicate with the host computer via the common network using the same communication protocol. Therefore, the host computer can obtain information on the control devices having different communication protocols through the display control device.

【0019】また、予め設定されている条件が満たされ
たときに、その条件についての情報がホストコンピュー
タに通知されると、ホストコンピュータでは、予め指定
されたアプリケーションソフトウェアが起動する。これ
により、ホストコンピュータは常時制御装置の動作状態
を監視する必要がなくなり、上記の条件が成立すれば自
動的にアプリケーションソフトウェアを起動することが
できる。さらに、起動されたアプリケーションソフトウ
ェアと通信プロトコルの異なる制御装置との間でデータ
の受け渡しを容易に行うことができる。
Further, when information about the preset condition is satisfied to the host computer when the preset condition is satisfied, the host computer starts application software specified in advance. This eliminates the need for the host computer to constantly monitor the operation state of the control device, and can automatically start the application software if the above condition is satisfied. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0020】本発明に係るアプリケーションソフトウェ
ア起動のためのプログラムが記録された記録媒体は、上
記の課題を解決するために、入力機器および出力機器が
接続された制御装置と、該制御装置の制御状態を表示
し、かつ上記制御装置に制御指示を与える表示型制御装
置との間で専用ネットワークを介して制御装置に固有の
通信プロトコルを用いて通信を行わせ、上記表示型制御
装置の上位に設けられるホストコンピュータと複数の上
記表示型制御装置との間で共通ネットワークを介して共
通の通信プロトコルを用いて通信を行わせることによっ
て上記ホストコンピュータにおけるアプリケーションソ
フトウェアを起動するためのプログラムが記録された記
録媒体であって、上記表示型制御装置において、上記両
ネットワークで用いられる通信プロトコルを上記両ネッ
トワークで用いられる通信プロトコルに互いに変換する
とともに、予め設定されている条件が満たされたとき
に、その条件についての情報を上記ホストコンピュータ
に通知し、上記ホストコンピュータにおいて、上記条件
についての情報を受けると、予め指定されたアプリケー
ションソフトウェアを起動するためのプログラムが記録
されていることを特徴としている。
According to the present invention, there is provided a recording medium in which a program for starting application software is recorded, in order to solve the above-mentioned problems, a control device to which input devices and output devices are connected, and a control state of the control device. Is displayed, and communicates with a display-type control device that gives a control instruction to the control device using a communication protocol specific to the control device via a dedicated network, and is provided above the display-type control device. Recording a program for starting application software in the host computer by causing a communication between the host computer and the plurality of display-type control devices using a common communication protocol through a common network. A medium, in the display-type control device, used in both networks. The communication protocol is converted to the communication protocol used in the two networks, and when a preset condition is satisfied, information about the condition is notified to the host computer. It is characterized in that a program for starting application software specified in advance when information on conditions is received is recorded.

【0021】この記録媒体に記録されたプログラムによ
っても、表示型制御装置において、共通および専用ネッ
トワークで用いられる両通信プロトコルが相互に変換さ
れるので、表示型制御装置とホストコンピュータとの間
の通信が常に同一の通信プロトコルで行うことが可能に
なる。それゆえ、ホストコンピュータは、通信プロトコ
ルの異なる制御装置に関する情報を表示型制御装置を介
して得ることができる。
According to the program recorded on the recording medium, the display-type control device converts both communication protocols used in the common and dedicated networks into each other, so that the communication between the display-type control device and the host computer is performed. Can always be performed using the same communication protocol. Therefore, the host computer can obtain information on the control devices having different communication protocols through the display control device.

【0022】また、予め設定されている条件が満たされ
たときに、その条件についての情報がホストコンピュー
タに通知されると、ホストコンピュータでは、予め指定
されたアプリケーションソフトウェアが起動する。これ
により、ホストコンピュータは常時制御装置の動作状態
を監視する必要がなくなり、上記の条件が成立すれば自
動的にアプリケーションソフトウェアを起動することが
できる。さらに、起動されたアプリケーションソフトウ
ェアと通信プロトコルの異なる制御装置との間でデータ
の受け渡しを容易に行うことができる。
When information about the preset condition is satisfied to the host computer when the preset condition is satisfied, the host computer starts application software specified in advance. This eliminates the need for the host computer to constantly monitor the operation state of the control device, and can automatically start the application software if the above condition is satisfied. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0023】[0023]

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

【0024】本実施の形態に係る制御システムは、図1
に示すように、パーソナルコンピュータ(以降、パソコ
ンと称する)1と、複数のプログラマブル表示器(以
降、表示器と称する)2…と、複数のPLC3…とを備
えている。
FIG. 1 shows a control system according to this embodiment.
, 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.

【0025】パソコン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 performing communication using 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.

【0026】なお、広義の通信プロトコルには、スター
トキャラクタやエンドキャラクタを示すコード、各キャ
ラクタの送受タイミング、送信先や送信元の特定方法な
どが送信元と送信先とを含むネットワーク内で統一され
ていないと正常にデータが伝送できない通信プロトコル
と、各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.

【0027】ここで、各PLC3の製造者が規定する通
信プロトコルでは、データの読み出しを指示する場合、
概ね、図2に示すように、次に伝送されるコードがコマ
ンドであることを示す制御コード(ESC)と、PLC
3へデータの読み出しを指示するコマンドコード(R
D)と、読み出し開始アドレス(X0001)と、読み
出しサイズ(5)と、伝送の終了を示す制御コード(R
ET)とを含むデータ列DT1 が伝送される。ただし、
各PLC3間では、コマンドコードを含むコマンド体系
は勿論、アドレスやサイズなどの並び順や、制御コード
自体、あるいはアドレスやサイズを表現する際の表現方
法(数値を示す際のビット幅や文字を示す際のコード種
別など)も互いに異なっていることが多い。
Here, in the communication protocol specified by the manufacturer of each PLC 3, when instructing to read data,
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 for expressing the address and the size (the bit width and the character for indicating the numerical value are indicated. Code types) are often different from each other.

【0028】したがって、本実施の形態では、表示器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.

【0029】このため、共通ネットワーク4に接続され
る各表示器2およびパソコン1には、それぞれに固有の
IPアドレスが割り当てられており、共通ネットワーク
4を介して通信する際、図3に示すように、TCP/I
Pで規定された形式のデータ列DT2 を受信する。この
データ列DT2 は、送信元および送信先のIPアドレス
を含むヘッダ部11と、通信内容を示すデータ本体12
とを備えている。これにより、例えば、制御システムの
開発者が使用するコンピュータなどが、制御システムの
運用会社とは異なる場所から電話回線を介して接続する
場合であっても、TCP/IPで通信可能な通信機器で
あれば、他の通信機器間のデータ伝送を阻害することな
く、共通ネットワーク4に自由に参加できる。
For this reason, each display 2 and personal computer 1 connected to the common network 4 are assigned a unique IP address, 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.

【0030】さらに、共通プロトコルでは、データ読み
出しを指示するコマンドを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.

【0031】上記の共通コード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.

【0032】制御装置としての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 a calculation process of recipe data (control data) given to an output device (O / D in the figure) 7. The input unit and output unit are
A portion having an interface function connected to the input device 6 and the output device 7, respectively, and exchanges a digital signal or an analog signal input / output with these devices with the CPU unit. .

【0033】入力機器6としては、センサ(温度セン
サ、光センサなど)、スイッチ(押ボタンスイッチ、リ
ミットスイッチ、圧力スイッチなど)のような機器が用
いられる。出力機器7としては、アクチュエータ、リレ
ー、電磁弁、表示器などが用いられる。これらの入力機
器6…および出力機器7…は、製造ラインなどの各種の
ターゲットシステムの所要各部に配置される。
As the input device 6, devices such as sensors (temperature sensors, optical sensors, etc.) and switches (push button switches, limit switches, pressure switches, 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.

【0034】表示型制御装置としての表示器2は、RA
M、ROM、フラッシュROM、VRAMなどのメモリ
や、CPUなどの演算処理部を有しており、これらによ
って表示器2の各部の動作を制御している。また、表示
器2は、データ処理部2a、インターフェース部(図
中、I/F)2b・2c、入力部2d、表示部2e、変
換データ記憶部2fおよびデータ配信部2gを備えてい
る。
The display 2 as a display-type control device has a RA
It has memories such as M, ROM, flash ROM, and VRAM, and an arithmetic processing unit such as a CPU, and controls the operation of each unit of the display 2 by these. The display 2 includes a data processing unit 2a, interface units (I / Fs in the figure) 2b and 2c, an input unit 2d, a display unit 2e, a converted data storage unit 2f, and a data distribution unit 2g.

【0035】データ処理部2aは、制御画面の表示制
御、プロトコル変換およびデータ配信の処理を行うため
に各種のデータ処理を行う。このデータ処理部2aは、
パッケージソフトウェアとしてプログラムメディアの形
態で提供可能なソフトウェアであって、予めパソコン1
から表示器2にダウンロードされている。また、このソ
フトウェアは、必要に応じて、表示器2の出荷時など
に、予め表示器2インストールされていてもよい。
The data processing section 2a performs various data processing for controlling display of a control screen, converting a protocol, and performing 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.

【0036】制御画面の表示制御については、データ処
理部2aは、パソコン1で作成された画面データに基づ
いてVRAMなどを用いて表示部2eに制御画面を描画
させる。制御画面は、ターゲットシステムを模した背景
画面に、入力機器6および出力機器7などがデザイン化
された画像が部品として合成されている。このように構
成される制御画面においては、部品が入出力機器6・7
の動作に応じて動くようになっており、入力機器6およ
び出力機器7の動作状況が視覚化されている。
As 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, 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 in this way, the components are
The operation status of the input device 6 and the output device 7 is visualized.

【0037】ここで、前記のプログラムメディアは、パ
ソコン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.

【0038】また、本実施の形態の制御システムは、イ
ンターネットを含む通信ネットワークと接続可能なシス
テム構成であることから、通信ネットワークからプログ
ラムをダウンロードするように流動的にプログラムを担
持する媒体であってもよい。ただし、このように通信ネ
ットワークからプログラムをダウンロードする場合に
は、そのダウンロード用プログラムは予めパソコン1に
格納されるか、あるいは別な記録媒体からインストール
されるものであってもよい。
Further, since the control system according to 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.

【0039】プロトコル変換処理は、両ネットワーク4
・5での通信プロトコルが互いに異なる場合、変換デー
タ記憶部2fに記憶されたデータを参照しながら、一方
の通信プロトコルから他方の通信プロトコルへ変換する
処理である。データ配信処理は、予め設定された配信条
件が満たされたときに、入力機器6からPCL3のメモ
リに取り込まれてPLC3から出力される出力データを
パソコン1や他の表示器2に配信したり、パソコン1で
設定されたレシピデータを表示器2を介して各PLC3
に配信したりする処理である。
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. In the data distribution process, when a preset distribution condition is satisfied, output data taken from the input device 6 into the memory of the PCL 3 and output from the PLC 3 is distributed to the personal computer 1 or another display device 2, The recipe data set by the personal computer 1 is displayed on each PLC 3 via the display 2.
This is the process of delivering to

【0040】インターフェース部2bは、パソコン1お
よび他の表示器2との間の通信を行うために共通ネット
ワーク4に接続されている。この共通ネットワーク4を
介した通信によって、パソコン1からのレシピデータが
各表示器2からPLC3に転送されたり、1つのPLC
3からの出力データが表示器2からパソコン1や他の表
示器2に転送されたりする。一方、インターフェース部
2cは、PLC3との間の通信を行うために専用ネット
ワーク5に接続されている。この専用ネットワーク5を
介した通信によって、表示器2とPLC3との間で上記
のレシピデータや出力データの受け渡しが行われる。
The interface section 2b is connected to a common network 4 for performing communication between the personal computer 1 and another display device 2. By communication via the common network 4, recipe data from the personal computer 1 is transferred from each display 2 to the PLC 3, or one PLC
The output data from the display 3 is transferred from the display 2 to the personal computer 1 or another display 2. On the other hand, the interface unit 2c is connected to the dedicated network 5 for performing communication with the PLC 3. The above-described recipe data and output data are exchanged between the display 2 and the PLC 3 by the communication via the dedicated network 5.

【0041】入力部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.

【0042】変換データ記憶部2hは、プロトコル変換
処理に必要なデータを記憶している。このデータは、専
用ネットワーク5と共通ネットワーク4との間で通信プ
ロトコルを相互変換できれば、どのような形式でもよい
が、本実施の形態に係る変換データ記憶部2hは、専用
ネットワーク5で伝送されるデータのフォーマットを示
すデータ転送フォーマットFMTと、両ネットワーク4
・5で伝送されるコマンドコード間の対応関係を示すコ
マンド変換テーブルTBLとを記憶している。
The conversion data storage unit 2h stores data required for protocol conversion processing. This data may be in any format as long as the communication protocol can be mutually converted between the dedicated network 5 and the common network 4. The converted data storage unit 2h 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.

【0043】具体的には、図2に示すように、上記デー
タ転送フォーマットFMTは、専用ネットワーク5にて
伝送されるデータ列DT1 のうち、例えば、読み書きす
るデータ内容自体、データのサイズ、読み書きするアド
レスのように実際に伝送するデータ内容によって変化す
る部分を未定義としたスケルトン状のデータ列であっ
て、未定義の部分は、用途のみが定義されている。な
お、コマンドの領域を未定義とすれば、実際に伝送され
るデータ列から抽出されたデータ転送フォーマットFM
Tが複数のコマンド間で共通になる場合、コマンドの領
域をも未定義として、これらのコマンド間で共通のデー
タ転送フォーマットFMTを用いてもよい。
[0043] 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.

【0044】また、コマンド変換テーブル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).

【0045】データ配信部2gは、予め設定された配信
条件が満たされたときに、パソコン1に設定されている
レシピデータやPLC3からの出力データを、指定され
た配信先に配信する。また、データ配信部2gは、予め
設定された配信条件が満たされたことと、満たされた配
信条件とを併せてパソコン1に通知する。このため、デ
ータ配信部2gは、配信先のノードに関するノード情報
および配信に関する設定情報がパソコン1から予めダウ
ンロードされて記憶されている。配信条件の設定につい
ては、後に詳述する。
The data distribution section 2g distributes recipe data set in the personal computer 1 and output data from the PLC 3 to designated distribution destinations when a preset distribution condition is satisfied. Further, the data distribution unit 2g notifies the personal computer 1 of the fact that the preset distribution condition is satisfied and the fulfilled distribution condition. For this reason, in the data distribution unit 2g, the node information on the distribution destination node and the setting information on the distribution are downloaded from the personal computer 1 and stored in advance. The setting of the distribution condition will be described later in detail.

【0046】ホストコンピュータとしてのパソコン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 section 1f and a recipe information file 1g.

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

【0048】データ通信処理部1aは、共通ネットワー
ク4を介した表示器2…との間のデータ通信処理を行う
とともに、アプリケーション部1fとの間でデータのや
り取りを行う部分である。このデータ通信処理部1a
は、例えば、図示しない作画ソフトでパソコン1におい
て作成された画面データを表示器2に転送したり、アプ
リケーション部1fに設定されているレシピデータを表
示器2からPLC3に配信するために、アプリケーショ
ン部1fからレシピデータを読み出したり、PLC3か
らの出力データをアプリケーション部1fに取り込んで
収集したりする処理を行う。
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
In order to transfer screen data created in the personal computer 1 with drawing software (not shown) to the display 2 or to distribute recipe data set in the application 1f from the display 2 to the PLC 3, for example, A process of reading recipe data from 1f and taking output data from the PLC 3 into the application unit 1f and collecting the data is performed.

【0049】このデータ通信処理部1aは、パッケージ
ソフトウェアとしてプログラムメディアの形態で提供可
能なソフトウェアであって、予めパソコン1にインスト
ールされている。このプログラムメディアも、前述のプ
ログラムメディアと同様、パソコン1や表示器2と分離
可能に構成される記録媒体である。
The data communication processing section 1a 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.

【0050】また、データ通信処理部1aは、後述のよ
うに予め設定された配信条件が満たされたときに、アプ
リケーション部1fにインストールされている各種のア
プリケーションソフトウェア(以降、単にアプリケーシ
ョンと称する)から予め指定されたアプリケーションを
起動する(起動手段)。このため、データ通信処理部1
aは、後述のように、起動するアプリケーションを指定
するための画面を提供する。
Further, the data communication processing unit 1a receives various application software installed in the application unit 1f (hereinafter simply referred to as an application) when a predetermined distribution condition is satisfied as described later. A predetermined application is started (starting means). Therefore, the data communication processing unit 1
a provides a screen for specifying an application to be started, as described later.

【0051】アプリケーション部1fとしては、例え
ば、ワードプロセッサソフト、音声再生ソフト、通信ソ
フト、表計算ソフト、データベースソフトがインストー
ルされている。ワードプロセッサソフトは、PLC3か
らの異常発生の情報、作業指示などを報知するメッセー
ジを作成するために用いられる。音声再生ソフトは、こ
れらのメッセージを音声で再生するために用いられる。
通信ソフトは、指定された電話番号に自動的にダイヤル
して、上記のメッセージをポケットベルや携帯電話に送
信するために用いられる。表計算ソフトは、PLC3か
らの出力データの記録保存、統計処理またはグラフ処理
するために用いられる。データベースソフトは、PLC
3に与えるレシピデータを設定するために用いられる。
As the application section 1f, for example, word processor software, audio reproduction software, communication software, spreadsheet software, and database software are installed. The word processor software is used to create a message for notifying information on the occurrence of an abnormality from the PLC 3 and a work instruction. Voice reproduction software is used to reproduce these messages by voice.
The communication software is used for automatically dialing a designated telephone number and transmitting the above message to a pager or a mobile phone. The spreadsheet software is used to record and save output data from the PLC 3, to perform statistical processing, or to perform graph processing. Database software is PLC
3 is used to set the recipe data to be given.

【0052】アプリケーション部1fとしては、上記の
各種ソフトに限らず、PLC3の動作状況に関連する処
理を行うものであれば、それ以外のアプリケーション
(市販のアプリケーションまたはユーザーアプリケーシ
ョン)であってもよい。また、上記の各種のソフトは、
上記の用途以外で用いられてもよい。
The application section 1f is not limited to the above-mentioned various software, but may be any other application (commercially available application or user application) as long as it performs processing relating to the operation status of the PLC 3. In addition, the above various software,
It may be used for purposes other than the above.

【0053】データ通信処理部1aが提供する前述の画
面は、図5に示すように、「起動アプリケーション」、
「起動オプション」、「カレントフォルダ」、「局名自
動付与」および「書き込みデータ付与」を含んでいる。
The above-described screen provided by the data communication processing section 1a includes, as shown in FIG.
Includes “startup option”, “current folder”, “automatic station name assignment”, and “write data assignment”.

【0054】「起動アプリケーション」は、起動すべき
アプリケーションを指定する欄であり、この欄にはその
アプリケーションの名称が記入される。ここで指定され
るアプリケーションは、実行形式ファイルを伴うもので
なければならない。「起動オプション」は、起動される
アプリケーションで実行すべきファイルを指定する欄で
あり、この欄にはその起動スイッチとしてのファイル名
が記入される。また、起動スイッチとしては、それ以外
に、起動するアプリケーションに応じてEXCEL. e
xe(マイクロソフト社の表計算ソフトであるExcel
(登録商標)の実行形式ファイル)などの所望のアプリ
ケーションの実行形式ファイルを設定することもでき
る。「カレントフォルダ」は、上記のファイルが収容さ
れているフォルダ名を記入する欄である。
The “starting application” is a column for designating an application to be started. In this column, the name of the application is written. The application specified here must accompany the executable file. The “startup option” is a column for specifying a file to be executed by the application to be started, and a file name as a start switch is written in this column. In addition, EXCEL.e may be used as a start switch according to the application to be started.
xe (Microsoft Excel spreadsheet software
(Executable file of (registered trademark)) or the like can be set. The “current folder” is a column for entering the name of a folder in which the above file is stored.

【0055】「局名自動付与」は、表示器2から通知さ
れる、配信条件が満たされたという通知情報に、その通
知元となる局(表示器2)の局名をデータとして付与す
ることを選択するチェック欄である。「書き込みデータ
付与」は、上記の通知情報に、アプリケーションを起動
させるトリガとなる配信条件が事象別にコード化された
コードデータを付与することを選択するチェック欄であ
る。
"Automatic assignment of station name" means that the name of the station (display unit 2) that is the notification source is added as data to the notification information notified from the display unit 2 that the distribution condition is satisfied. Is a check box for selecting. “Add write data” is a check box for selecting to add, to the above-mentioned notification information, code data in which a distribution condition serving as a trigger for activating an application is coded for each event.

【0056】配信設定部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.

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

【0058】図6(a)に示す「配信条件」には、配信
のタイミングを決定する条件として、電源投入、時刻指
定、周期指定、書き換えトリガ、ON期間、OFF期
間、立ち上がりトリガおよび立ち下がりトリガが設けら
れている。
The "distribution conditions" shown in FIG. 6A 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.

【0059】「電源投入」は、表示器2の電源投入時に
配信を行う条件であり、「時刻指定」は、指定された時
刻に配信を行う条件である。「周期指定」は、所望の周
期毎に配信を行う条件であり、「書き換えトリガ」は、
出力データが書き換えられたとき、すなわち出力データ
が変化したときに配信を行う条件である。「ON期間」
と「OFF期間」とは、デバイスのON期間とOFF期
間とのそれぞれにおいて配信を続けて行うための条件で
あり、「立ち上がりトリガ」と「立ち下がりトリガ」と
は、出力データ(指定デバイス出力)の立ち上がりと立
ち下がりとのそれぞれの検出時に配信を行うための条件
である。
"Power on" is a condition for performing distribution when the display 2 is powered 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.

【0060】また、配信条件の設定画面における下側の
領域には、上記の各条件のうちデバイスの出力に基づく
条件に関して指定すべきデバイスのシンボル名を入力す
る欄が設けられている。さらに、その下には、配信条件
をチェックする周期(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 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.

【0061】一方、図6(b)に示す「配信局・受信
局」には、配信局および受信局についての情報記入部が
設けられている。配信局の情報は、パソコン1から配信
されるレシピデータの出力元となるデバイス名(ここで
は前述のファイル名)や表示器2から配信される出力デ
ータの出力元となるデバイスのシンボル名と、指定され
た期間に配信するデータの個数とを含んでいる。また、
受信局の情報は、受信局となる表示器2に対応するPL
C3に接続されたデバイスのシンボル名を含んでいる。
ただし、パソコン1が受信局となる場合、アプリケーシ
ョン部1fによって作成されたファイルに付された名称
をシンボル名とする。
On the other hand, the "distribution station / reception station" shown in FIG. 6B is provided with an information entry section for the distribution station and the reception station. The information of the distribution station includes a device name (here, the file name described above) as an output source of the recipe data distributed from the personal computer 1, a symbol name of the device as an output source of the output data distributed from the display 2, and And the number of data to be delivered in the specified period. Also,
The information of the receiving station is stored in the PL corresponding to the display 2 serving as the receiving station.
Contains the symbol name of the device connected to C3.
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.

【0062】データファイル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.

【0063】上記のように構成される制御システムにお
いては、共通ネットワーク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.

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

【0065】前記のデータ転送フォーマット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 control-related data. 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.

【0066】なお、通信プロトコルの選択方法は、例え
ば、使用者がパソコン1や表示器2を操作して選択して
もよい。さらに、表示器2が自らが送出可能な通信プロ
トコルを順次選択しながら、PLC3の通信プロトコル
を特定可能なコマンドを、PLC3へ送出し、PLC3
からの応答コードによって、通信プロトコルを自動的に
判別してもよい。また、表示器2は、自らに接続可能な
PLC3が採用している通信プロトコルすべてに関し
て、上記のプロトコル情報を格納しておいてもよいし、
現在、接続されているPLC3の通信プロトコルのみを
格納しておき、必要に応じて、パソコン1から、あるい
は記録媒体を介してなど、種々の方法で通信プロトコル
をダウンロードしてもよい。
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.

【0067】このように、PLC3との間で受け渡すデ
ータ列DT1 を、制御システムの動作中にリアルタイム
に生成することにより、表示器2は、入力されたデータ
がどこから来たかを問うことなく、PLC3へデータを
受け渡しできるとともに、PLC3が変更された場合に
あっても、制御システムを停止することなく即応でき
る。
As described above, by generating the data string 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.

【0068】このように、本制御システムでは、従来の
制御システムとは異なり、通信の中心に表示器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.

【0069】より詳しくは、ターゲットシステムは、流
量センサや温度センサまたはターゲットシステムの各部
の状態を検出するセンサのような入力機器6と、指示に
応じた動作を行うバルブやモータのような出力機器7と
を備えており、入出力機器6・7はPLC3にて制御さ
れている。また、PLC3は、シーケンサから発達して
きた経緯もあって、例えば、製造者毎や製品の種別毎な
ど、PLC3の機種毎に、独自の通信プロトコルを備え
ているものが多い。したがって、専用ネットワーク5を
介して表示器2と接続されるPLC3は、通信可能な通
信プロトコルで表示器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 connected to the display 2 via the dedicated network 5 communicates with the display 2 using a communicable communication protocol.

【0070】これにより、PLC3は、表示器2へ、ま
たは表示器2を介して他の表示器2あるいはパソコン1
へ、入力機器6が取得したデータをPLC3の出力デー
タとして送信する一方、表示器2から、または他局より
表示器2を介して伝えられた制御指示(レシピデータを
含む)を受信して出力機器7を制御することができる。
As a result, the PLC 3 is connected to the display 2 or to another display 2 or the personal computer 1 via the display 2.
While transmitting the data acquired by the input device 6 as output data of the PLC 3, and receiving and outputting a control instruction (including recipe data) transmitted from the display 2 or from another station via the display 2. The device 7 can be controlled.

【0071】ここで、表示器2は、制御システムに必須
の装置であるが、近年では、高解像度の画像を表示する
ために、例えば、数Mバイト程度の記憶容量を持ち、表
示に十分な速度で演算処理を行う。したがって、表示器
2は、十分余力を持って上記のプロトコル変換を行うこ
とができる。また、表示器2とパソコン1との間に、P
LC3が介在していないため、PLC3は、ターゲット
システム2の制御に専念できる。したがって、PLCが
通信の大半を処理する前述の従来の制御システムに比べ
て、記憶容量や処理能力を削減することができる。
Here, the display 2 is an indispensable device for the control system. However, in recent years, the display 2 has a storage capacity of, for example, about several megabytes and is sufficient for displaying a high-resolution image. 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.

【0072】なお、通信量の大きな処理の例として、タ
ーゲットシステムが製造する製品を変換する際などの、
パソコン1から表示器2へ画面データをダウンロードす
る処理などが挙げられる。ところが、本実施の形態に係
る制御システムでは、画面データは、PLC3を通過し
ないので、PLC3は、画面データをダウンロードする
場合であっても、負担が少なく、正常に動作し続けるこ
とができる。
As an example of processing with a large amount of communication, 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.

【0073】また、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 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, for example, 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.

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

【0075】ここで、共通ネットワーク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, the 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 is controlled in response to the stored contents. . Further, for the input terminal of each PLC 3, the input device 6 is stored in the corresponding store area of the above-mentioned memory.
The input data from is written.

【0076】表1に示す例では、ノードA〜Cに対応す
る各PLC3の100個の各入出力端子に対応したスト
ア領域に、それぞれ100〜199、200〜299、
300〜399のストアアドレスが割り当てられてい
る。
In the example shown in Table 1, 100 to 199, 200 to 299, and 200 to 299 are stored in the store areas corresponding to 100 input / output terminals of each PLC 3 corresponding to the nodes A to C.
Store addresses of 300 to 399 are assigned.

【0077】ノードAの表示器2におけるデータ配信部
2gは、予め設定された時刻○○:○○にアドレス10
0〜199のストア領域のデータ、すなわちすべての入
出力データを配信し、そのデータはパソコン1およびノ
ードBの表示器2にストアされる。同様に、ノードAの
表示器2からは、10秒周期毎にアドレス100〜14
9のストア領域のデータが配信され、20秒周期毎にア
ドレス150〜199のストア領域のデータが配信さ
れ、その表示器2の電源ON時にアドレス140〜15
9のストア領域のデータが配信される。
The data distribution unit 2g of the display unit 2 of the node A sends the address 10 to the preset time XX: XX.
The data in the storage area of 0 to 199, that is, all the 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 2 of the node A, the addresses 100 to 14 are set every 10 seconds.
9, the data in the store areas 150 to 199 are distributed every 20 seconds, and the addresses 140 to 15 are stored when the display 2 is powered on.
Nine store areas are distributed.

【0078】[0078]

【表1】 [Table 1]

【0079】また、全工程の終了時に、最終ステーショ
ンに配されたPLC3のある端子に接続されているデバ
イスの出力が立ち上がると、ノードCの表示器2におけ
るデータ配信部2gは、パソコン1にレシピデータの配
信を要求する。これに対し、パソコン1からのレシピデ
ータがノードA〜Cの各表示器2を介して各PLC3に
配信され、それぞれアドレス100〜199、アドレス
200〜299、アドレス300〜299のストア領域
に格納される。
When the output of the device connected to a certain terminal of the PLC 3 arranged in the last station rises at the end of all the processes, the data distribution unit 2g in the display 2 of the node C sends the recipe to the personal computer 1. Request data delivery. On the other hand, recipe data from the personal computer 1 is distributed to each PLC 3 via each display 2 of the nodes A to C, and stored in the storage areas of addresses 100 to 199, addresses 200 to 299, and addresses 300 to 299, respectively. You.

【0080】パソコン1は、各表示器2から配信される
すべてのデータ(PLC3の出力データ)をストアして
いる。これに対して、ノード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 (output data of the PLC 3) distributed from each display device 2. On the other hand, the indicator 2 corresponding to the PLC 3 provided at the most upstream side of the production line for the node A is
It does not take in the distribution data from the display 2 corresponding to each PLC 3 for the downstream nodes B and 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.

【0081】パソコン1および各表示器2でのデータの
取り込みは、配信元からの配信データの、例えばIPア
ドレスに受信先のアドレスを格納しておくことによって
行われてもよい。また、受信先が多く存在する場合に
は、上記のデータ取り込みは、上記のIPアドレスを一
斉同報として、受信側で、配信データの配信元のIPア
ドレスに応答して、データを取り込むか否かを決定する
ようにして行われてもよい。
The data may be fetched 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.

【0082】しかも、すべての表示器2がパソコン1と
同様に、すべての配信データに対応したストア領域を有
し、すべての配信データを保有していてもよいことは勿
論である。また、表1に示す例では、説明の簡略化のた
めに、送信データのストアアドレスと受信データのスト
アアドレスとは相互に一致しているが、必ずしも一致し
ている必要はなく相互に異なっていてもよい。
Further, like the personal computer 1, all the display units 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.

【0083】上記のように、配信条件が成立すると、各
表示器2およびパソコン1との間でデータの配信が行え
るだけでなく、配信条件の成立をトリガとして、パソコ
ン1のアプリケーション部1fにおいて予め前述のよう
に指定されたアプリケーションを起動することができ
る。続いて、その起動について詳細に説明する。
As described above, when the distribution condition is satisfied, not only can the data be distributed between each display 2 and the personal computer 1, but also when the establishment of the distribution condition is triggered, the application unit 1 f of the personal computer 1 preliminarily sets the data. The specified application can be started as described above. Subsequently, the activation will be described in detail.

【0084】例えば、「立ち上がりトリガ」の配信条件
を設定しておき、かつPLC3のメモリにおける各デバ
イスに対応するストア領域に、デバイスのエラー情報、
デバイス出力に対応した作業指示の情報などの各種の情
報を表すビットを設けておけば、このビットが立ち上が
ったときに、配信条件とともに、そのデバイスが接続さ
れるPLC3のノード情報(局名)がそのノードの表示
器2から送信される。パソコン1では、これらの情報を
受けることによって、データ通信処理部1aが前述の図
5の画面で指定されたアプリケーションを起動する。こ
のとき、データ通信処理部1aは、上記の情報をトリガ
として、図示しないOS(オペレーティングシステム)
にアプリケーションの起動を要求する。これによって、
指定されたアプリケーションが起動する。
For example, distribution conditions of “rising trigger” are set, and error information of the device is stored in a store area corresponding to each device in the memory of the PLC 3.
If bits indicating various information such as work instruction information corresponding to the device output are provided, when this bit rises, the distribution conditions and the node information (station name) of the PLC 3 to which the device is connected are displayed. It is transmitted from the display 2 of the node. In the personal computer 1, upon receiving such information, the data communication processing unit 1a activates the application specified on the screen of FIG. At this time, the data communication processing unit 1a triggers an OS (operating system) (not shown) using the above information as a trigger.
To start the application. by this,
The specified application starts.

【0085】例えば、ワードプロセッサソフトが起動し
た場合は、指定されたファイルが開かれ、このファイル
に作成された、デバイスの異常発生を知らせるメッセー
ジや作業指示に関するメッセージがパソコン1のディス
プレイに表示される。また、音声再生ソフトが起動した
場合は、上記のメッセージが音声として予め記録された
ファイルが開かれ、そのメッセージが再生される。これ
によって、オペレータは、そのメッセージにしたがって
必要な措置をとることができる。また、通信ソフトが起
動した場合は、指定された電話番号がダイヤルされて、
上記のメッセージがポケットベルや携帯電話などに送信
される。これによって、パソコン1の側にいなくても、
上記のメッセージを受けることができる。
For example, when the word processor software is started, a specified file is opened, and a message notifying the occurrence of a device abnormality or a message relating to a work instruction created in the file is displayed on the display of the personal computer 1. When the voice reproducing software is started, a file in which the above message is recorded as voice is opened, and the message is reproduced. This allows the operator to take necessary actions according to the message. When the communication software starts, the specified phone number is dialed,
The above message is sent to a pager, mobile phone, or the like. With this, even if you are not near the PC 1,
You can receive the above message.

【0086】あるいは、データベースソフトが起動した
場合は、データベースソフトに設定されたレシピデータ
を各表示器2のデータ配信機能を利用してPLC3に配
信することが可能になる。また、表計算ソフトが起動し
た場合は、PLC3からの出力データを各表示器2のデ
ータ配信機能を利用してパソコン1における表計算ソフ
トに収集することができる。
Alternatively, when the database software is started, the recipe data set in the database software can be distributed to the PLC 3 using the data distribution function of each display 2. When the spreadsheet software is started, the output data from the PLC 3 can be collected by the spreadsheet software in the personal computer 1 by using the data distribution function of each display 2.

【0087】なお、上記の例では、立ち上がりトリガを
トリガ(配信条件)として、アプリケーションを起動す
るについて説明したが、アプリケーションを起動するた
めの配信条件としては、それ以外の配信条件を用いても
よい。例えば、図6の画面における配信条件であれば、
例えば、電源投入や指定された時刻をトリガとしてアプ
リケーションを起動するようにしてもよい。
In the above example, the application is started with the rising trigger as a trigger (distribution condition). However, other distribution conditions may be used as the distribution condition for starting the application. . For example, if the distribution condition is the screen shown in FIG.
For example, the application may be activated by turning on the power or at a specified time as a trigger.

【0088】以上のように、本実施の形態の制御システ
ムでは、表示器2がPLC3の機種毎の通信プロトコル
の相違を吸収して、各表示器2およびパソコン1の間の
データ通信を容易にしている。それゆえ、パソコン1で
指定されたアプリケーションを指定された配信条件が成
立したタイミングで起動することができる。それゆえ、
ホストコンピュータからPLCにアクセスするための従
来のソフトのように、ホストコンピュータからPLC
に、PLCの動作状態を常時問い合わせる必要がなく、
効率的にアプリケーションの起動を行うことができる。
さらに、データ通信処理部1aにアプリケーション起動
の機能を持たせているので、従来のようにPLCの動作
状態に応じて任意のアプリケーションを起動させるため
のプログラムをユーザが作成する必要はない。
As described above, in the control system of the present embodiment, the display 2 absorbs the difference in the communication protocol for each PLC 3 model, and facilitates data communication between each display 2 and the personal computer 1. ing. Therefore, the application specified by the personal computer 1 can be started at the timing when the specified distribution condition is satisfied. therefore,
Like the conventional software for accessing the PLC from the host computer, the PLC
In addition, there is no need to always inquire about the operation state of the PLC,
The application can be started efficiently.
Further, since the data communication processing unit 1a has an application starting function, there is no need for the user to create a program for starting an arbitrary application according to the operation state of the PLC as in the related art.

【0089】また、本制御システムの表示器2による配
信機能を利用すれば、上記のように自動的に起動したア
プリケーションと、PLC3との間でデータ(出力デー
タやレシピデータ)の受け渡しを、PLC3の機種に関
わらず容易に行うことができる。
If the distribution function of the display unit 2 of the control system is used, the transfer of data (output data and recipe data) between the application started automatically as described above and the PLC 3 is performed by the PLC 3. It can be easily performed regardless of the model.

【0090】なお、本実施の形態では、共通ネットワー
ク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.

【0091】また、本実施の形態において、共通ネット
ワーク4に伝送されるデータ列DT 2 は、図3に示すよ
うに、PLC3への指示内容を含むデータ本体12と、
そのPLC3が接続されたヘッダ部11とを含んでいる
が、これに限るものではない。例えば、パソコン1に1
つの表示器2が接続される構成や、表示器2が複数であ
っても、パソコン1が、それぞれの表示器2と通信する
ためのポートを個別に備える場合など、ヘッダ部11を
含まなくても通信相手を特定可能な場合は、データ列D
2 がヘッダ部11を含まなくても、同様の効果が得ら
れる。
In this embodiment, the common network
Data string DT transmitted to work 4 TwoIs shown in Figure 3.
Thus, the data body 12 including the contents of the instruction to the PLC 3,
And a header section 11 to which the PLC 3 is connected.
However, it is not limited to this. For example, one PC
One display 2 is connected,
Personal computer 1 communicates with each display 2
For example, when the port for the
If the communication partner can be specified without including the
TTwoDoes not include the header section 11, the same effect can be obtained.
It is.

【0092】なお、この場合は、共通ネットワーク4と
して、RS−232Cなど、伝送プロトコルに、ヘッダ
部を含まなくてもよいものが採用される。ただし、この
場合は、パソコン1に接続可能な表示器2が、パソコン
1のポート数などによって制限される。したがって、共
通ネットワーク4のネットワーク構成に自由度が必要な
場合は、本実施の形態のように、データ列DT2 に含ま
れるヘッダ部11によって、通信相手を特定する方が望
ましい。
[0092] In this case, as the common network 4, a network 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.

【0093】[0093]

【発明の効果】以上のように、本発明に係るアプリケー
ションソフトウェア起動システムは、ホストコンピュー
タと複数の表示型制御装置とが共通ネットワークを介し
て共通の通信プロトコルを用いて通信を行う一方、上記
表示型制御装置と入力機器および出力機器が接続された
制御装置とが専用ネットワークを介して制御装置に固有
の通信プロトコルを用いて通信を行い、上記表示型制御
装置が、上記両ネットワークで用いられる通信プロトコ
ルを上記両ネットワークで用いられる通信プロトコルに
互いに変換するプロトコル変換手段と、予め設定されて
いる条件が満たされたときに、その条件についての情報
を上記ホストコンピュータに通知する通知手段とを有
し、上記ホストコンピュータが、上記通知手段からの上
記条件についての情報を受けると、予め指定されたアプ
リケーションソフトウェアを起動する起動手段を有して
いる構成である。
As described above, in the application software activation system according to the present invention, while the host computer and the plurality of display-type control devices communicate using a common communication protocol via a common network, the above-mentioned display is performed. The type control device and the control device to which the input device and the output device are connected perform communication using a communication protocol specific to the control device via a dedicated network, and the display type control device performs communication used in the two networks. Protocol conversion means for mutually converting a protocol into a communication protocol used in the two networks, and notifying means for notifying the host computer of information on a preset condition when the condition is satisfied. The host computer sends information on the condition from the notifying means. Upon receiving the a configuration that has a starting means for starting a pre-specified application software.

【0094】これにより、表示型制御装置とホストコン
ピュータとの間の共通ネットワークで使用される通信プ
ロトコルと、表示型制御装置と制御装置との間の専用ネ
ットワークで使用される通信プロトコルとが相互に変換
される。それゆえ、表示型制御装置は、制御装置の通信
プロトコルに関わらず、常に同一の通信プロトコルで、
共通ネットワークを介してホストコンピュータと通信す
ることができる。この結果、ホストコンピュータは、通
信プロトコルの異なる制御装置に関する情報を表示型制
御装置を介して得ることができる。
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 obtain information on the control devices having different communication protocols via the display control device.

【0095】また、予め設定されている条件が満たされ
たときにホストコンピュータにおけるアプリケーション
ソフトウェアが起動されるので、例えば、ホストコンピ
ュータ側から制御装置にその動作状態を問い合わせる必
要がなくなり、ホストコンピュータ側からの通信の負担
が軽減される。そして、通信プロトコルに関わらずに通
信が可能となるので、起動されたアプリケーションソフ
トウェアと制御装置との間でデータの受け渡しを容易に
行うことができる。
Further, since the application software in the host computer is started when a preset condition is satisfied, for example, it is not necessary for the host computer to inquire of the control device about the operation state, and the host computer does not need to inquire about the operation state. Communication load is reduced. Since communication is possible regardless of the communication protocol, data can be easily exchanged between the started application software and the control device.

【0096】したがって、機種毎に通信プロトコルの異
なる制御装置を備えた制御システムにおいて、制御装置
の動作状態などに基づいてホストコンピュータが所望の
アプリケーションソフトウェアを起動させることができ
るという効果を奏する。
Therefore, in a control system provided with a control device having a different communication protocol for each model, the host computer can start desired application software based on the operation state of the control device.

【0097】本発明に係るアプリケーションソフトウェ
ア起動方法は、ホストコンピュータと複数の上記表示型
制御装置との間で共通ネットワークを介して共通の通信
プロトコルを用いて通信を行わせる一方、上記表示型制
御装置と入力機器および出力機器が接続された制御装置
との間で専用ネットワークを介して制御装置に固有の通
信プロトコルを用いて通信を行わせ、上記表示型制御装
置において、上記両ネットワークで用いられる通信プロ
トコルを上記両ネットワークで用いられる通信プロトコ
ルに互いに変換するとともに、予め設定されている条件
が満たされたときに、その条件についての情報を上記ホ
ストコンピュータに通知し、上記ホストコンピュータに
おいて、上記条件についての情報を受けると、予め指定
されたアプリケーションソフトウェアを起動する方法で
ある。
The application software starting method according to the present invention allows a host computer and a plurality of display control devices to perform communication using a common communication protocol via a common network, while the display control device operates. Communication between the input device and the control device to which the output device is connected via a dedicated network using a communication protocol specific to the control device, and in the display control device, the communication used in the two networks The protocol is mutually converted into a communication protocol used in both networks, and when a preset condition is satisfied, information about the condition is notified to the host computer. Information, the application specified in advance It is a method to start the ® down software.

【0098】これにより、一方のネットワークで用いら
れる通信プロトコルが、表示型制御装置において伝送先
のネットワークで用いられる通信プロトコルに変換され
る。それゆえ、表示型制御装置は、常に同一の通信プロ
トコルで、共通ネットワークを介してホストコンピュー
タと通信が可能になり、この結果、ホストコンピュータ
は、通信プロトコルの異なる制御装置に関する情報を表
示型制御装置を介して得ることができる。
Thus, the communication protocol used in one network is converted into the communication protocol used in the transmission destination network in the display control device. Therefore, the display-type control device can always communicate with the host computer through the common network using the same communication protocol, and as a result, the host computer can display information about the control device having a different communication protocol from the display-type control device. Can be obtained via

【0099】また、予め設定されている条件が満たされ
ると、ホストコンピュータでは、予め指定されたアプリ
ケーションソフトウェアが起動する。これにより、ホス
トコンピュータは常時制御装置の動作状態を監視する必
要がなくなり、上記の条件が成立すれば自動的にアプリ
ケーションソフトウェアを起動することができる。さら
に、起動されたアプリケーションソフトウェアと通信プ
ロトコルの異なる制御装置との間でデータの受け渡しを
容易に行うことができる。
When a preset condition is satisfied, the host computer starts application software specified in advance. This eliminates the need for the host computer to constantly monitor the operation state of the control device, and can automatically start the application software if the above condition is satisfied. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0100】したがって、前記の起動システムと同様、
機種毎に通信プロトコルの異なる制御装置を備えた制御
システムにおいて、制御装置の動作状態などに基づいて
ホストコンピュータが所望のアプリケーションソフトウ
ェアを起動させることができるという効果を奏する。
Therefore, similar to the above-described activation system,
In a control system provided with a control device having a different communication protocol for each model, there is an effect that the host computer can start desired application software based on the operation state of the control device.

【0101】本発明に係るアプリケーションソフトウェ
アの起動のためのプログラムが記録された記録媒体は、
入力機器および出力機器が接続された制御装置と、該制
御装置の制御状態を表示し、かつ上記制御装置に制御指
示を与える表示型制御装置との間で専用ネットワークを
介して制御装置に固有の通信プロトコルを用いて通信を
行わせ、上記表示型制御装置において、上記両ネットワ
ークで用いられる通信プロトコルを上記両ネットワーク
で用いられる通信プロトコルに互いに変換するととも
に、予め設定されている条件が満たされたときに、その
条件についての情報を上記ホストコンピュータに通知
し、上記ホストコンピュータにおいて、上記条件につい
ての情報を受けると、予め指定されたアプリケーション
ソフトウェアを起動するためのプログラムが記録されて
いる記録媒体である。
A recording medium on which a program for activating application software according to the present invention is recorded
A control device connected to an input device and an output device, and a display type control device that displays a control state of the control device and gives a control instruction to the control device, via a dedicated network. A communication is performed using a communication protocol, and in the display-type control device, the communication protocol used in the two networks is mutually converted into the communication protocol used in the two networks, and a preset condition is satisfied. When the information about the condition is notified to the host computer, and the host computer receives the information about the condition, the host computer uses a recording medium on which a program for starting application software specified in advance is recorded. is there.

【0102】これにより、一方のネットワークで用いら
れる通信プロトコルが、表示型制御装置において伝送先
のネットワークで用いられる通信プロトコルに変換され
る。それゆえ、表示型制御装置とホストコンピュータと
の間の通信が常に同一の通信プロトコルで行うことが可
能になり、この結果、ホストコンピュータは、通信プロ
トコルの異なる制御装置に関する情報を表示型制御装置
を介して得ることができる。
As a result, the communication protocol used in one network is converted into the communication protocol used in the transmission destination network in the display control device. Therefore, the communication between the display control device and the host computer can always be performed using the same communication protocol. As a result, the host computer can display the information on the control device having a different communication protocol from the display control device. You can get through.

【0103】また、予め設定されている条件が満たされ
ると、ホストコンピュータでは、予め指定されたアプリ
ケーションソフトウェアが起動するので、ホストコンピ
ュータは常時制御装置の動作状態を監視する必要がなく
なり、上記の条件が成立すれば自動的にアプリケーショ
ンソフトウェアを起動することができる。さらに、起動
されたアプリケーションソフトウェアと通信プロトコル
の異なる制御装置との間でデータの受け渡しを容易に行
うことができる。
When the preset conditions are satisfied, the host computer starts the application software specified in advance, so that the host computer does not need to constantly monitor the operation state of the control device. If the condition is satisfied, the application software can be automatically started. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0104】しかも、上記のプログラムは、プロトコル
変換および配信のための処理と組み合わされて提供され
るので、従来用いられていたアプリケーションソフトウ
ェアの起動のための専用のソフトウェア(プログラム)
を必要としない。
Moreover, since the above-mentioned program is provided in combination with a process for protocol conversion and distribution, dedicated software (program) for starting application software conventionally used is provided.
Do not need.

【0105】したがって、前記の起動システムと同様、
機種毎に通信プロトコルの異なる制御装置を備えた制御
システムにおいて、制御装置の動作状態などに基づいて
ホストコンピュータが所望のアプリケーションソフトウ
ェアを起動させることができるという効果を奏するとと
もに、プログラムを有効に利用することができるという
効果を併せて奏する。
Therefore, similar to the above-mentioned activation system,
In a control system including a control device having a different communication protocol for each model, the host computer can start desired application software based on the operation state of the control device, and the program can be effectively used. It also has the effect of being able to do so.

【図面の簡単な説明】[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 setting screen including various setting items relating to application software to be activated among various application software installed in the application unit.

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

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

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

1 パーソナルコンピュータ(ホストコンピュー
タ) 1a データ通信処理部(起動手段) 1c データ配信設定部(通信手段) 1f アプリケーション部(アプリケーションソフト
ウェア) 2 プログラマブル表示器(表示型制御装置) 2a データ処理部 2f 変換データ記憶部 2g データ配信部 3 PLC(制御装置) 4 共通ネットワーク 5 専用ネットワーク 6 入力機器 7 出力機器
DESCRIPTION OF SYMBOLS 1 Personal computer (host computer) 1a Data communication processing part (starting means) 1c Data distribution setting part (communication means) 1f Application part (application software) 2 Programmable display (display type control device) 2a Data processing part 2f Conversion data storage Unit 2g data distribution unit 3 PLC (control device) 4 common network 5 dedicated network 6 input device 7 output device

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成12年8月21日(2000.8.2
1)
[Submission date] August 21, 2000 (2008.2
1)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】全文[Correction target item name] Full text

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【書類名】 明細書[Document Name] Statement

【発明の名称】 アプリケーションソフトウェアの起動
システムおよび起動方法ならびにその起動のためのプロ
グラムが記録された記録媒体
Patent application title: APPLICATION SOFTWARE START-UP SYSTEM AND START-UP METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM FOR START-UP THEREOF

【特許請求の範囲】[Claims]

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルロ
ジックコントローラなどの産業用制御装置の動作に関連
付けて各種のアプリケーションソフトウェアを起動する
ためのシステムおよび方法ならびにその起動のためのプ
ログラムが記録された記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system and method for activating various application software in association with the operation of an industrial control device such as a programmable logic controller, and a recording medium on which a program for activating the application is recorded. It is about.

【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) is used to implement various controls such as a sequence control, 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の稼働状況の監視やPLC
の制御を行えるように、そのような場所に設置されたホ
ストコンピュータを参加させることもできる。
In such a network control system, display of the operation status of each PLC and control instructions 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 and the display device, the operation status of the PLC can be monitored and the PLC can be monitored.
The host computer installed in such a place can also participate so that the above-mentioned control can be performed.

【0004】上記の制御システムは、例えば、図7に示
すように、PLC101…を制御の中心として位置付け
ており、各PLC101には、ターゲットシステムの各
所に配されたセンサやアクチュエータのような入出力機
器102…と、表示および制御指示を行うプログラマブ
ル表示器などの表示装置103…とが接続されている。
また、PLC101には、他のPLC101やホストコ
ンピュータ104が所定のインターフェース回路を介し
て直接接続されるか、または専用のアダプタを介して間
接的に接続されている。PLC101とホストコンピュ
ータ104との間や各PLC101間におけるデータの
授受は、PLC101の通信機能を利用して行われてい
る。
In the above control system, for example, as shown in FIG. 7, 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 parts of a 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】このような制御システムにおいては、シス
テムの運用上、PLC101の動作状態を監視して、必
要に応じて、制御システムの集中管理を行うホストコン
ピュータ104によって管理者に作業指示や異常発生を
報知することがある。このため、従来、例えば、ホスト
コンピュータ104からPLC101にアクセスできる
ソフトウェアを用いて、PLC101の動作状態を常に
監視し、異常などの発生が確認されると、それを報知す
るためのアプリケーションソフトウェア(例えば、文字
や文章を作成したワードプロセッサソフトなど)を起動
するといった方法が採られている。
In such a control system, in the operation of the system, the operation state of the PLC 101 is monitored, and if necessary, the host computer 104 which performs centralized control of the control system gives a work instruction or an abnormality occurrence to an administrator. May inform. For this reason, conventionally, for example, using software that can access the PLC 101 from the host computer 104, the operating state of the PLC 101 is constantly monitored, and if an abnormality or the like is confirmed, application software (for example, (Eg, word processor software that creates characters and sentences).

【0006】[0006]

【発明が解決しようとする課題】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.

【0007】具体的には、ホストコンピュータ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, it is necessary to manufacture and maintain the host computer 104 and the display device 103. It takes time and effort.

【0008】通信プロトコルの相違の程度が軽微な場
合、具体的には、スタートキャラクタ、ストップキャラ
クタ、送受アドレスの指定方法など、通信の確立に必要
な通信プロトコルが同一であり、かつ余り重要ではない
コマンドのみが相違している程度であれば、PLC10
1の機能のうち、実際に使用する機能を制限して、相違
しているコマンドを使用しなければ、異機種のPLC1
01を併用することも不可能ではない。ところが、複数
機種と通信するコマンドのような重要なコマンドが相違
している場合には、ホストコンピュータ104とPLC
101との間で通信が確立したとしても、ホストコンピ
ュータ104はPLC101に所望の動作を指示するこ
とができない。
When the degree of difference between the communication protocols is small, the communication protocols necessary for establishing communication, such as a start character, a stop character, and a method for 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.

【0009】しかも、上記の通信確立に要する通信プロ
トコル自体が異なっている場合には、通信プロトコルの
異なるPLC101とホストコンピュータ104などと
の間の通信が成立しないだけではなく、通信プロトコル
が共通のPLC101とホストコンピュータ104との
通信を阻害してしまう。したがって、そのPLC101
を接続する場合には、変換器をネットワークに挿入し
て、そのPLC101がホストコンピュータ104や他
のPLC101から同じ機種に見えるように、通信プロ
トコルを相互変換する必要がある。しかしながら、上記
のような制御システムでは、一般に、変換器を設置でき
る場所が限られることが多いだけでなく、変換器の増設
に伴って制御システム全体のコストが高騰するという不
都合がある。さらに、PLC101の通信プロトコル
は、例えば100種以上と数多く存在するので、それら
の通信プロトコルに対応する所望の変換器が存在すると
は限らない。
In addition, 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 same communication protocol. 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.

【0010】したがって、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 the choices when selecting the PLC 101 are limited. For this reason, conventionally, in a control system, the PLC 101 of the same model is often used.

【0011】さらに、制御の中心として位置付けられた
PLC101…が制御システムにおける通信の大半を処
理するために、PLC101の負担が大きくなってしま
う。具体的には、PLC101は、リレーを使用したシ
ーケンサから発達してきた経緯もあり、スイッチのオン
・オフ制御やセンサからのデータ取り込みといったI/
O制御に関する処理を得意としているので、上記のよう
に制御システムの通信を処理するには能力が不足するこ
とが多く、仮に能力的に不足がない場合でも負担が大き
い。例えば、ターゲットシステムを制御するだけであれ
ば、PLC101は、通常、数十kバイト程度の記憶容
量と、記憶容量に応じた処理能力とで十分であるが、こ
の記憶容量や処理能力では、多くの通信を十分な速度で
処理することは難しい。
Further, since the PLCs 101, which are positioned at the center of control, process most of the communication in the control system, the load 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.

【0012】このように、従来の制御システムでは、通
信プロトコルによる制限のため、ホストコンピュータ1
04から異機種のPLC101…への制御データの転送
を容易に行うことができないという問題がある。また、
上記の制御システムにおいて、PLC101…の動作状
態に応じて任意のアプリケーションソフトを起動させる
ためのプログラムをユーザが作成する必要があり、シス
テム開発に多大な労力を要する。しかも、前述のような
ホストコンピュータ104からPLC101にアクセス
できるソフトウェアを用いても、そのソフトがインスト
ールされたホストコンピュータ104からPLC101
に、PLC101の動作状態を常時問い合わせる必要が
あり、データ通信の効率があまり良くなかった。
As described above, in the conventional control system, the host computer 1 is
There is a problem that the control data cannot easily be transferred from the PLC 04 to the different types of PLC 101. Also,
In the above control system, it is necessary for the user to create a program for activating any application software in accordance with the operation state of the PLCs 101... In addition, even if the above-described software capable of accessing the PLC 101 from the host computer 104 is used, the host computer 104 on which the software is installed may be used.
In addition, it is necessary to always inquire about the operation state of the PLC 101, and the efficiency of data communication is not so good.

【0013】本発明は、上記の問題点に鑑みてなされた
ものであり、専用のソフトやユーザによる新たなプログ
ラムの作成を必要とすることなく、異機種のPLCの動
作状態に応じて任意のアプリケーションソフトウェアを
起動することができるアプリケーションソフトウェアの
起動システムおよび起動方法ならびにその起動のための
プログラムが記録された記録媒体を提供することを目的
としている。
The present invention has been made in view of the above-described problems, and does not require the creation of a new program by dedicated software or a user, and allows an arbitrary PLC to be operated in accordance with the operation state of a different type of PLC. It is an object of the present invention to provide a start-up system and a start-up method for application software capable of starting application software, and a recording medium on which a program for starting the application software is recorded.

【0014】[0014]

【課題を解決するための手段】本発明に係るアプリケー
ションソフトウェア起動システムは、上記の課題を解決
するために、入力機器および出力機器が接続された制御
装置と、該制御装置に接続され、該制御装置の制御状態
を表示し、かつ上記制御装置に制御指示を与える表示型
制御装置と、複数の該表示型制御装置の上位に設けら
、通信プロトコルの異なる制御装置に関する情報を該
表示型制御装置を介して得るホストコンピュータとを備
え、上記表示型制御装置および上記制御装置は、制御装
置毎に固有の上記通信プロトコルで通信を行う専用ネッ
トワークを介して個々に接続される一方、上記ホストコ
ンピュータおよび上記表示型制御装置は、共通の通信プ
ロトコルで通信を行う共通ネットワークを介して互いに
接続されており、上記表示型制御装置が、上記制御装置
と上記ホストコンピュータとの間の通信を中継する際、
上記両ネットワークで用いられる通信プロトコルを互
に変換するプロトコル変換手段と、予め設定されている
条件が満たされたときに、その条件についての情報を上
記ホストコンピュータに通知する通知手段とを有し、上
記ホストコンピュータが、上記通知手段からの上記条件
についての情報を受けると、予め指定されたアプリケー
ションソフトウェアを起動する起動手段を有しているこ
とを特徴としている。
Application software activation system according to the present invention, in order to solve the problems] To solve the above problems, a controller input device and the output device is connected, it is connected to the control device, the control display control status of the device, and a display-type control device for providing a control instruction to the control unit, is provided on top of the plurality of the display type control device, the information about different control devices of the communication protocol
A host computer obtained through a display control 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
The display-type control device is connected to the control device
When relaying communication between the host computer
And protocol conversion means for converting a communication protocol used in the both networks to have each other <br/>, when preset condition is met, notifying means for notifying the information about the conditions in the host computer Wherein the host computer receives the information on the condition from the notifying means, and has a starting means for starting predetermined application software.

【0015】上記の構成において、プロトコル変換手段
によって、共通ネットワークの通信プロトコルが専用ネ
ットワークの通信プロトコルに変換される一方、専用ネ
ットワークの通信プロトコルが共通ネットワークの通信
プロトコルに変換される。これにより、表示型制御装置
は、制御装置の通信プロトコルに関わらず、常に同一の
通信プロトコルで、共通ネットワークを介してホストコ
ンピュータと通信することができる。この結果、制御装
置、表示型制御装置およびホストコンピュータを含む制
御システム内に、通信プロトコルの異なる制御装置が混
在していても、ホストコンピュータは、制御装置に関す
る情報を表示型制御装置を介して得ることができる。
In the above arrangement, the protocol conversion means converts the communication protocol of the common network into the communication protocol of the dedicated network, while converting the communication protocol of the dedicated network into the communication protocol of the common network. Accordingly, the display-type 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 control devices having different communication protocols coexist in the control system including the control device, the display control device, and the host computer, the host computer obtains information on the control device via the display control device. be able to.

【0016】また、予め設定されている条件(制御装置
から送信される制御装置の異常発生など)が満たされた
ときに、通知手段によって、その条件についての情報が
ホストコンピュータに通知されると、ホストコンピュー
タでは、起動手段が、予め指定されたアプリケーション
ソフトウェアが起動する。これにより、例えば、制御装
置の動作状態に応じてアプリケーションソフトウェアを
起動させる場合、ホストコンピュータ側から制御装置に
その動作状態を問い合わせる必要がなくなり、上記の条
件が成立すれば自動的にアプリケーションソフトウェア
を起動することができる。そして、通信プロトコルに関
わらずに通信が可能となるので、起動されたアプリケー
ションソフトウェアと制御装置との間でデータの受け渡
しを容易に行うことができる。
Further, when a predetermined condition (such as occurrence of an abnormality in the control device transmitted from the control device) is satisfied, the information about the condition is notified to the host computer by the notification means. In the host computer, the activation means activates application software specified in advance. Thus, for example, when the application software is started in accordance with the operation state of the control device, the host computer does not need to inquire the control device about the operation state, and the application software is automatically started when the above condition is satisfied. can do. Since communication is possible regardless of the communication protocol, data can be easily exchanged between the started application software and the control device.

【0017】上記アプリケーションソフトウェア起動シ
ステムは、より詳しくは、上記プロトコル変換手段が、
上記制御装置と他の上記表示型制御装置との間の通信を
中継する際、上記両ネットワークで用いられる通信プロ
トコルを互いに変換する。あるいは、上記アプリケーシ
ョンソフトウェア起動システムにおいて、より詳しく
は、上記プロトコル変換手段によるプロトコル変換処理
に必要なプロトコル情報は、異なる通信プロトコルを採
用した上記制御装置が上記表示型制御装置に接続される
と切り換えられる
The above application software start system
The stem, more specifically, the protocol conversion means,
Communication between the control device and the other display-type control device.
When relaying, the communication protocol used in both networks
Convert tocols to each other. Alternatively, the application
More details on the software activation system
Is a protocol conversion process by the above protocol conversion means.
The protocol information required for
The control device used is connected to the display control device.
Is switched .

【0018】本発明に係るアプリケーションソフトウェ
ア起動方法は、入力機器および出力機器が接続された制
御装置と、該制御装置に接続され、該制御装置の制御状
態を表示し、かつ上記制御装置に制御指示を与える表示
型制御装置と、複数の該表示型制御装置の上位に設けら
、通信プロトコルの異なる制御装置に関する情報を該
表示型制御装置を介して得るホストコンピュータとを備
え、上記表示型制御装置および上記制御装置が、制御装
置毎に固有の上記通信プロトコルで通信を行う専用ネッ
トワークを介して個々に接続される一方、上記ホストコ
ンピュータおよび上記表示型制御装置が、共通の通信プ
ロトコルで通信を行う共通ネットワークを介して互いに
接続された制御システムを用い、上記表示型制御装置に
おいて、上記制御装置と上記ホストコンピュータとの間
の通信を中継する際、上記両ネットワークで用いられる
通信プロトコルを互いに変換するとともに、予め設定さ
れている条件が満たされたときに、その条件についての
情報を上記ホストコンピュータに通知し、上記ホストコ
ンピュータにおいて、上記条件についての情報を受ける
と、予め指定されたアプリケーションソフトウェアを起
動することを特徴としている。
[0018] Application software activation method according to the present invention, a control device for an input device and the output device is connected, is connected to the control device, to display the control state of the control device, and the control instruction to the control unit And a plurality of display-type control devices provided above the plurality of display-type control devices , and information on control devices having different communication protocols.
A host computer obtained through a display control device.
The display-type control device and the 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
Using the connected control system, in the display-type control device, the control device and the host computer
When relaying the communication, converts the communication protocol used in the both networks to each other physician, when preset condition is satisfied, and notifies the information about the conditions in the host computer, the When the host computer receives the information on the above conditions, the host computer starts up application software specified in advance.

【0019】この起動方法でも、表示型制御装置におい
て、ホストコンピュータと表示型制御装置との間の通信
プロトコルが表示型制御装置と制御装置との間の通信プ
ロトコルと相互に変換される。これにより、表示型制御
装置は、常に同一の通信プロトコルで、共通ネットワー
クを介してホストコンピュータと通信が可能になる。そ
れゆえ、ホストコンピュータは、通信プロトコルの異な
る制御装置に関する情報を表示型制御装置を介して得る
ことができる。
Also in this starting method, in the display control device, the communication protocol between the host computer and the display control device is mutually converted with the communication protocol between the display control device and the control device. Accordingly, the display-type control device can always communicate with the host computer via the common network using the same communication protocol. Therefore, the host computer can obtain information on the control devices having different communication protocols through the display control device.

【0020】また、予め設定されている条件が満たされ
たときに、その条件についての情報がホストコンピュー
タに通知されると、ホストコンピュータでは、予め指定
されたアプリケーションソフトウェアが起動する。これ
により、ホストコンピュータは常時制御装置の動作状態
を監視する必要がなくなり、上記の条件が成立すれば自
動的にアプリケーションソフトウェアを起動することが
できる。さらに、起動されたアプリケーションソフトウ
ェアと通信プロトコルの異なる制御装置との間でデータ
の受け渡しを容易に行うことができる。
Further, when information about the preset condition is satisfied and the host computer is notified of the condition, application software specified in advance is started in the host computer. This eliminates the need for the host computer to constantly monitor the operation state of the control device, and can automatically start the application software if the above condition is satisfied. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0021】上記アプリケーションソフトウェア起動方
法は、より詳しくは、上記制御装置と他の上記表示型制
御装置との間の通信を中継する際、上記両ネットワーク
で用いられる通信プロトコルを互いに変換する。あるい
は、上記アプリケーションソフトウェア起動方法におい
て、より詳しくは、プロトコル変換処理に必要なプロト
コル情報を、異なる通信プロトコルを採用した上記制御
装置が上記表示型制御装置に接続されると切り換える。
Starting the above application software
The law, more particularly, the control device and the other display-type controls
When relaying communication with the control device,
To convert the communication protocols used in each other. There
Is the same as the above
More specifically, the protocol required for protocol conversion processing
The above-mentioned control using different communication protocols
Switch when the device is connected to the display control device.

【0022】本発明に係るアプリケーションソフトウェ
ア起動のためのプログラムが記録された記録媒体は、上
記の課題を解決するために、入力機器および出力機器が
接続された制御装置と、該制御装置に接続され、該制御
装置の制御状態を表示し、かつ上記制御装置に制御指示
を与える表示型制御装置と、上記表示型制御装置の上位
に設けられ、通信プロトコルの異なる上記制御装置にら
の情報を上記表示型制御装置を介して得るホストコンピ
ュータとを備えた制御システムを用い、上記表示型制御
装置において、共通ネットワークを介して共通の通信プ
ロトコルを用いて上記ホストコンピュータおよび他の上
記表示制御装置と通信を行う一方、専用ネットワークを
介して制御装置に固有の通信プロトコルを用いて上記制
御装置と通信を行い、上記表示型制御装置において、
記制御装置と上記ホストコンピュータとの間の通信を中
継する際、上記両ネットワークで用いられる通信プロト
コルを互いに変換するとともに、予め設定されている条
件が満たされたときに、その条件についての情報を上記
ホストコンピュータに通知し、上記ホストコンピュータ
において、上記条件についての情報を受けると、予め指
定されたアプリケーションソフトウェアを起動するため
のプログラムが記録されていることを特徴としている。
[0022] recording medium having a program recorded thereon for application software activated according to the present invention, in order to solve the above problems, a controller input device and the output device is connected, is connected to the control device , displays the control state of the control device, and a display-type control device for providing a control instruction to the control unit, is provided on top of the upper Symbol display type control device, different the control unit of the communication protocol leek
Host computer that obtains the information of the
Display type control using a control system with a computer
In the device, a common communication protocol is
The above host computer and other
While communicating with the display control device, a dedicated network
Control using a communication protocol specific to the control device
Communicates with control device, in the display-type control apparatus, the upper
Communication between the controller and the host computer.
When splicing, converts the communication protocol used in the both networks to each other physician, when preset condition is satisfied, the information about the condition and notifies the host computer, in said host computer A feature is that a program for starting application software designated in advance when receiving information on the above conditions is recorded.

【0023】この記録媒体に記録されたプログラムによ
っても、表示型制御装置において、共通および専用ネッ
トワークで用いられる両通信プロトコルが相互に変換さ
れるので、表示型制御装置とホストコンピュータとの間
の通信が常に同一の通信プロトコルで行うことが可能に
なる。それゆえ、ホストコンピュータは、通信プロトコ
ルの異なる制御装置に関する情報を表示型制御装置を介
して得ることができる。
According to the program recorded on the recording medium, the display-type control device converts between the two communication protocols used in the common and dedicated networks, so that the communication between the display-type control device and the host computer is performed. Can always be performed using the same communication protocol. Therefore, the host computer can obtain information on the control devices having different communication protocols through the display control device.

【0024】また、予め設定されている条件が満たされ
たときに、その条件についての情報がホストコンピュー
タに通知されると、ホストコンピュータでは、予め指定
されたアプリケーションソフトウェアが起動する。これ
により、ホストコンピュータは常時制御装置の動作状態
を監視する必要がなくなり、上記の条件が成立すれば自
動的にアプリケーションソフトウェアを起動することが
できる。さらに、起動されたアプリケーションソフトウ
ェアと通信プロトコルの異なる制御装置との間でデータ
の受け渡しを容易に行うことができる。
Further, when a preset condition is satisfied, when information on the condition is notified to the host computer, the host computer starts application software specified in advance. This eliminates the need for the host computer to constantly monitor the operation state of the control device, and can automatically start the application software if the above condition is satisfied. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0025】上記記録媒体は、より詳しくは、上記制御
装置と他の上記表示型制御装置との間の通信を中継する
際、上記両ネットワークで用いられる通信プロトコルを
互いに変換するプログラムが記録されている。あるい
は、上記記録媒体は、より詳しくは、プロトコル変換処
理に必要なプロトコル情報を、異なる通信プロトコルを
採用した上記制御装置が上記表示型制御装置に接続され
ると切り換えるプログラムが記録されている
More specifically, the recording medium is provided with
Relays communication between the device and the other display-type control device
Communication protocol used in both networks
Programs for converting each other are recorded. There
More specifically, the above-mentioned recording medium is more
Protocol information necessary for
The adopted control device is connected to the display type control device.
Then, a switching program is recorded .

【0026】[0026]

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

【0027】本実施の形態に係る制御システムは、図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.

【0028】パソコン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 performing communication using 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.

【0029】なお、広義の通信プロトコルには、スター
トキャラクタやエンドキャラクタを示すコード、各キャ
ラクタの送受タイミング、送信先や送信元の特定方法な
どが送信元と送信先とを含むネットワーク内で統一され
ていないと正常にデータが伝送できない通信プロトコル
と、各PLC3が理解可能なコマンド体系など、送信元
と送信先とで統一されていないと一方が所望する動作と
他方が実施する動作とが一致せずに正常に制御できない
通信プロトコルとが存在する。それゆえ、以下の説明で
は、両者の組み合わせを通信プロトコルと称し、両者の
区別が必要な場合には、前者を伝送プロトコル、後者を
コマンド体系として区別する。
In the 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.

【0030】ここで、各PLC3の製造者が規定する通
信プロトコルでは、データの読み出しを指示する場合、
概ね、図2に示すように、次に伝送されるコードがコマ
ンドであることを示す制御コード(ESC)と、PLC
3へデータの読み出しを指示するコマンドコード(R
D)と、読み出し開始アドレス(X0001)と、読み
出しサイズ(5)と、伝送の終了を示す制御コード(R
ET)とを含むデータ列DT1 が伝送される。ただし、
各PLC3間では、コマンドコードを含むコマンド体系
は勿論、アドレスやサイズなどの並び順や、制御コード
自体、あるいはアドレスやサイズを表現する際の表現方
法(数値を示す際のビット幅や文字を示す際のコード種
別など)も互いに異なっていることが多い。
Here, in the communication protocol specified 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 for expressing the address and the size (the bit width and the character for indicating the numerical value are indicated. Code types) are often different from each other.

【0031】したがって、本実施の形態では、表示器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.

【0032】このため、共通ネットワーク4に接続され
る各表示器2およびパソコン1には、それぞれに固有の
IPアドレスが割り当てられており、共通ネットワーク
4を介して通信する際、図3に示すように、TCP/I
Pで規定された形式のデータ列DT2 を受信する。この
データ列DT2 は、送信元および送信先のIPアドレス
を含むヘッダ部11と、通信内容を示すデータ本体12
とを備えている。これにより、例えば、制御システムの
開発者が使用するコンピュータなどが、制御システムの
運用会社とは異なる場所から電話回線を介して接続する
場合であっても、TCP/IPで通信可能な通信機器で
あれば、他の通信機器間のデータ伝送を阻害することな
く、共通ネットワーク4に自由に参加できる。
For this reason, each display 2 and personal computer 1 connected to the common network 4 are assigned a unique IP address, 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.

【0033】さらに、共通プロトコルでは、データ読み
出しを指示するコマンドを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.

【0034】上記の共通コード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.

【0035】制御装置としての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 a calculation process of recipe data (control data) given to an output device (O / D in the figure) 7. The input unit and output unit are
A portion having an interface function connected to the input device 6 and the output device 7, respectively, and exchanges a digital signal or an analog signal input / output with these devices with the CPU unit. .

【0036】入力機器6としては、センサ(温度セン
サ、光センサなど)、スイッチ(押ボタンスイッチ、リ
ミットスイッチ、圧力スイッチなど)のような機器が用
いられる。出力機器7としては、アクチュエータ、リレ
ー、電磁弁、表示器などが用いられる。これらの入力機
器6…および出力機器7…は、製造ラインなどの各種の
ターゲットシステムの所要各部に配置される。
As the input device 6, devices such as sensors (temperature sensors, optical sensors, etc.) and switches (pushbutton switches, limit switches, pressure switches, 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.

【0037】表示型制御装置としての表示器2は、RA
M、ROM、フラッシュROM、VRAMなどのメモリ
や、CPUなどの演算処理部を有しており、これらによ
って表示器2の各部の動作を制御している。また、表示
器2は、データ処理部2a、インターフェース部(図
中、I/F)2b・2c、入力部2d、表示部2e、変
換データ記憶部2fおよびデータ配信部2gを備えてい
る。
The display 2 as a display-type control device has an RA
It has memories such as M, ROM, flash ROM, and VRAM, and an arithmetic processing unit such as a CPU, and controls the operation of each unit of the display 2 by these. The display 2 includes a data processing unit 2a, interface units (I / Fs in the figure) 2b and 2c, an input unit 2d, a display unit 2e, a converted data storage unit 2f, and a data distribution unit 2g.

【0038】データ処理部2aは、制御画面の表示制
御、プロトコル変換およびデータ配信の処理を行うため
に各種のデータ処理を行う。このデータ処理部2aは、
パッケージソフトウェアとしてプログラムメディアの形
態で提供可能なソフトウェアであって、予めパソコン1
から表示器2にダウンロードされている。また、このソ
フトウェアは、必要に応じて、表示器2の出荷時など
に、予め表示器2インストールされていてもよい。
The data processing section 2a performs various data processings to perform 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.

【0039】制御画面の表示制御については、データ処
理部2aは、パソコン1で作成された画面データに基づ
いてVRAMなどを用いて表示部2eに制御画面を描画
させる。制御画面は、ターゲットシステムを模した背景
画面に、入力機器6および出力機器7などがデザイン化
された画像が部品として合成されている。このように構
成される制御画面においては、部品が入出力機器6・7
の動作に応じて動くようになっており、入力機器6およ
び出力機器7の動作状況が視覚化されている。
With respect to the control of the display 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, 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 in this way, the components are
The operation status of the input device 6 and the output device 7 is visualized.

【0040】ここで、前記のプログラムメディアは、パ
ソコン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.

【0041】また、本実施の形態の制御システムは、イ
ンターネットを含む通信ネットワークと接続可能なシス
テム構成であることから、通信ネットワークからプログ
ラムをダウンロードするように流動的にプログラムを担
持する媒体であってもよい。ただし、このように通信ネ
ットワークからプログラムをダウンロードする場合に
は、そのダウンロード用プログラムは予めパソコン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.

【0042】プロトコル変換処理は、両ネットワーク4
・5での通信プロトコルが互いに異なる場合、変換デー
タ記憶部2fに記憶されたデータを参照しながら、一方
の通信プロトコルから他方の通信プロトコルへ変換する
処理である。データ配信処理は、予め設定された配信条
件が満たされたときに、入力機器6からPCL3のメモ
リに取り込まれてPLC3から出力される出力データを
パソコン1や他の表示器2に配信したり、パソコン1で
設定されたレシピデータを表示器2を介して各PLC3
に配信したりする処理である。
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. In the data distribution process, when a preset distribution condition is satisfied, output data taken from the input device 6 into the memory of the PCL 3 and output from the PLC 3 is distributed to the personal computer 1 or another display device 2, The recipe data set by the personal computer 1 is displayed on each PLC 3 via the display 2.
This is the process of delivering to

【0043】インターフェース部2bは、パソコン1お
よび他の表示器2との間の通信を行うために共通ネット
ワーク4に接続されている。この共通ネットワーク4を
介した通信によって、パソコン1からのレシピデータが
各表示器2からPLC3に転送されたり、1つのPLC
3からの出力データが表示器2からパソコン1や他の表
示器2に転送されたりする。一方、インターフェース部
2cは、PLC3との間の通信を行うために専用ネット
ワーク5に接続されている。この専用ネットワーク5を
介した通信によって、表示器2とPLC3との間で上記
のレシピデータや出力データの受け渡しが行われる。
The interface unit 2b is connected to a common network 4 for performing communication between the personal computer 1 and another display device 2. By communication via the common network 4, recipe data from the personal computer 1 is transferred from each display 2 to the PLC 3, or one PLC
The output data from the display 3 is transferred from the display 2 to the personal computer 1 or another display 2. On the other hand, the interface unit 2c is connected to the dedicated network 5 for performing communication with the PLC 3. The above-described recipe data and output data are exchanged between the display 2 and the PLC 3 by the communication via the dedicated network 5.

【0044】入力部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.

【0045】変換データ記憶部2は、プロトコル変換
処理に必要なデータを記憶している。このデータは、専
用ネットワーク5と共通ネットワーク4との間で通信プ
ロトコルを相互変換できれば、どのような形式でもよい
が、本実施の形態に係る変換データ記憶部2は、専用
ネットワーク5で伝送されるデータのフォーマットを示
すデータ転送フォーマットFMTと、両ネットワーク4
・5で伝送されるコマンドコード間の対応関係を示すコ
マンド変換テーブルTBLとを記憶している。
The conversion data storage unit 2 f stores data necessary for protocol conversion process. 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 over the dedicated network 5. 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.

【0046】具体的には、図2に示すように、上記デー
タ転送フォーマットFMTは、専用ネットワーク5にて
伝送されるデータ列DT1 のうち、例えば、読み書きす
るデータ内容自体、データのサイズ、読み書きするアド
レスのように実際に伝送するデータ内容によって変化す
る部分を未定義としたスケルトン状のデータ列であっ
て、未定義の部分は、用途のみが定義されている。な
お、コマンドの領域を未定義とすれば、実際に伝送され
るデータ列から抽出されたデータ転送フォーマットFM
Tが複数のコマンド間で共通になる場合、コマンドの領
域をも未定義として、これらのコマンド間で共通のデー
タ転送フォーマットFMTを用いてもよい。
[0046] 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.

【0047】また、コマンド変換テーブル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).

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

【0049】ホストコンピュータとしてのパソコン1
は、一般の汎用パソコンと同様に、CPU、メモリ(R
AM、ROMなど)、外部記憶装置(ハードディスクド
ライブ、MOドライブなど)、表示装置および入力装置
(キーボード、マウスなど)を有している。また、パソ
コン1は、図1に示すように、データ通信処理部1a、
インターフェース部(図中、I/F)1b、配信設定部
1c、ネットワークファイル1d、データファイル1e
およびアプリケーション部1fを備えている。
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 1e
And an application unit 1f .

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

【0051】データ通信処理部1aは、共通ネットワー
ク4を介した表示器2…との間のデータ通信処理を行う
とともに、アプリケーション部1fとの間でデータのや
り取りを行う部分である。このデータ通信処理部1a
は、例えば、図示しない作画ソフトでパソコン1におい
て作成された画面データを表示器2に転送したり、アプ
リケーション部1fに設定されているレシピデータを表
示器2からPLC3に配信するために、アプリケーショ
ン部1fからレシピデータを読み出したり、PLC3か
らの出力データをアプリケーション部1fに取り込んで
収集したりする処理を行う。
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
In order to transfer screen data created in the personal computer 1 with drawing software (not shown) to the display 2 or to distribute recipe data set in the application 1f from the display 2 to the PLC 3, for example, A process of reading recipe data from 1f and taking output data from the PLC 3 into the application unit 1f and collecting the data is performed.

【0052】このデータ通信処理部1aは、パッケージ
ソフトウェアとしてプログラムメディアの形態で提供可
能なソフトウェアであって、予めパソコン1にインスト
ールされている。このプログラムメディアも、前述のプ
ログラムメディアと同様、パソコン1や表示器2と分離
可能に構成される記録媒体である。
The data communication processing section 1a 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.

【0053】また、データ通信処理部1aは、後述のよ
うに予め設定された配信条件が満たされたときに、アプ
リケーション部1fにインストールされている各種のア
プリケーションソフトウェア(以降、単にアプリケーシ
ョンと称する)から予め指定されたアプリケーションを
起動する(起動手段)。このため、データ通信処理部1
aは、後述のように、起動するアプリケーションを指定
するための画面を提供する。
Further, the data communication processing section 1a, when a predetermined distribution condition is satisfied as described later, transmits various application software (hereinafter, simply referred to as an application) installed in the application section 1f. A predetermined application is started (starting means). Therefore, the data communication processing unit 1
a provides a screen for specifying an application to be started, as described later.

【0054】アプリケーション部1fとしては、例え
ば、ワードプロセッサソフト、音声再生ソフト、通信ソ
フト、表計算ソフト、データベースソフトがインストー
ルされている。ワードプロセッサソフトは、PLC3か
らの異常発生の情報、作業指示などを報知するメッセー
ジを作成するために用いられる。音声再生ソフトは、こ
れらのメッセージを音声で再生するために用いられる。
通信ソフトは、指定された電話番号に自動的にダイヤル
して、上記のメッセージをポケットベルや携帯電話に送
信するために用いられる。表計算ソフトは、PLC3か
らの出力データの記録保存、統計処理またはグラフ処理
するために用いられる。データベースソフトは、PLC
3に与えるレシピデータを設定するために用いられる。
As the application section 1f, for example, word processor software, voice reproduction software, communication software, spreadsheet software, and database software are installed. The word processor software is used to create a message for notifying information on the occurrence of an abnormality from the PLC 3 and a work instruction. Voice reproduction software is used to reproduce these messages by voice.
The communication software is used for automatically dialing a designated telephone number and transmitting the above message to a pager or a mobile phone. The spreadsheet software is used to record and save output data from the PLC 3, to perform statistical processing, or to perform graph processing. Database software is PLC
3 is used to set the recipe data to be given.

【0055】アプリケーション部1fとしては、上記の
各種ソフトに限らず、PLC3の動作状況に関連する処
理を行うものであれば、それ以外のアプリケーション
(市販のアプリケーションまたはユーザーアプリケーシ
ョン)であってもよい。また、上記の各種のソフトは、
上記の用途以外で用いられてもよい。
The application unit 1f is not limited to the above-mentioned various software, but may be any other application (commercially available application or user application) as long as it performs processing relating to the operation status of the PLC 3. In addition, the above various software,
It may be used for purposes other than the above.

【0056】データ通信処理部1aが提供する前述の画
面は、図5に示すように、「起動アプリケーション」、
「起動オプション」、「カレントフォルダ」、「局名自
動付与」および「書き込みデータ付与」を含んでいる。
As shown in FIG. 5, the screen provided by the data communication processing section 1a includes a “start application”,
Includes “startup option”, “current folder”, “automatic station name assignment”, and “write data assignment”.

【0057】「起動アプリケーション」は、起動すべき
アプリケーションを指定する欄であり、この欄にはその
アプリケーションの名称が記入される。ここで指定され
るアプリケーションは、実行形式ファイルを伴うもので
なければならない。「起動オプション」は、起動される
アプリケーションで実行すべきファイルを指定する欄で
あり、この欄にはその起動スイッチとしてのファイル名
が記入される。また、起動スイッチとしては、それ以外
に、起動するアプリケーションに応じてEXCEL. e
xe(マイクロソフト社の表計算ソフトであるExcel
(登録商標)の実行形式ファイル)などの所望のアプリ
ケーションの実行形式ファイルを設定することもでき
る。「カレントフォルダ」は、上記のファイルが収容さ
れているフォルダ名を記入する欄である。
The “starting application” is a column for designating an application to be started, and the name of the application is entered in this column. The application specified here must accompany the executable file. The “startup option” is a column for specifying a file to be executed by the application to be started, and a file name as a start switch is written in this column. In addition, EXCEL.e may be used as a start switch according to the application to be started.
xe (Microsoft Excel spreadsheet software
(Executable file of (registered trademark)) or the like can be set. The “current folder” is a column for entering the name of a folder in which the above file is stored.

【0058】「局名自動付与」は、表示器2から通知さ
れる、配信条件が満たされたという通知情報に、その通
知元となる局(表示器2)の局名をデータとして付与す
ることを選択するチェック欄である。「書き込みデータ
付与」は、上記の通知情報に、アプリケーションを起動
させるトリガとなる配信条件が事象別にコード化された
コードデータを付与することを選択するチェック欄であ
る。
"Automatic assignment of station name" means that the name of the station (display 2) that is the notification source is added as data to the notification information notified from the display 2 that the distribution condition is satisfied. Is a check box for selecting. “Add write data” is a check box for selecting to add, to the above-mentioned notification information, code data in which a distribution condition serving as a trigger for activating an application is coded for each event.

【0059】配信設定部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.

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

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

【0062】「電源投入」は、表示器2の電源投入時に
配信を行う条件であり、「時刻指定」は、指定された時
刻に配信を行う条件である。「周期指定」は、所望の周
期毎に配信を行う条件であり、「書き換えトリガ」は、
出力データが書き換えられたとき、すなわち出力データ
が変化したときに配信を行う条件である。「ON期間」
と「OFF期間」とは、デバイスのON期間とOFF期
間とのそれぞれにおいて配信を続けて行うための条件で
あり、「立ち上がりトリガ」と「立ち下がりトリガ」と
は、出力データ(指定デバイス出力)の立ち上がりと立
ち下がりとのそれぞれの検出時に配信を行うための条件
である。
"Power on" is a condition for distribution when the power of the display 2 is turned on, and "Time designation" is a condition for 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.

【0063】また、配信条件の設定画面における下側の
領域には、上記の各条件のうちデバイスの出力に基づく
条件に関して指定すべきデバイスのシンボル名を入力す
る欄が設けられている。さらに、その下には、配信条件
をチェックする周期(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 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.

【0064】一方、図6(b)に示す「配信局・受信
局」には、配信局および受信局についての情報記入部が
設けられている。配信局の情報は、パソコン1から配信
されるレシピデータの出力元となるデバイス名(ここで
は前述のファイル名)や表示器2から配信される出力デ
ータの出力元となるデバイスのシンボル名と、指定され
た期間に配信するデータの個数とを含んでいる。また、
受信局の情報は、受信局となる表示器2に対応するPL
C3に接続されたデバイスのシンボル名を含んでいる。
ただし、パソコン1が受信局となる場合、アプリケーシ
ョン部1fによって作成されたファイルに付された名称
をシンボル名とする。
On the other hand, the “distribution station / reception station” shown in FIG. 6B is provided with an information entry section for the distribution station and the reception station. The information of the distribution station includes a device name (here, the file name described above) as an output source of the recipe data distributed from the personal computer 1, a symbol name of the device as an output source of the output data distributed from the display 2, and And the number of data to be delivered in the specified period. Also,
The information of the receiving station is stored in the PL corresponding to the display 2 serving as the receiving station.
Contains the symbol name of the device connected to C3.
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.

【0065】データファイル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.

【0066】上記のように構成される制御システムにお
いては、共通ネットワーク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.

【0067】一方、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.

【0068】前記のデータ転送フォーマット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 control-related data. 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.

【0069】なお、通信プロトコルの選択方法は、例え
ば、使用者がパソコン1や表示器2を操作して選択して
もよい。さらに、表示器2が自らが送出可能な通信プロ
トコルを順次選択しながら、PLC3の通信プロトコル
を特定可能なコマンドを、PLC3へ送出し、PLC3
からの応答コードによって、通信プロトコルを自動的に
判別してもよい。また、表示器2は、自らに接続可能な
PLC3が採用している通信プロトコルすべてに関し
て、上記のプロトコル情報を格納しておいてもよいし、
現在、接続されているPLC3の通信プロトコルのみを
格納しておき、必要に応じて、パソコン1から、あるい
は記録媒体を介してなど、種々の方法で通信プロトコル
をダウンロードしてもよい。
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.

【0070】このように、PLC3との間で受け渡すデ
ータ列DT1 を、制御システムの動作中にリアルタイム
に生成することにより、表示器2は、入力されたデータ
がどこから来たかを問うことなく、PLC3へデータを
受け渡しできるとともに、PLC3が変更された場合に
あっても、制御システムを停止することなく即応でき
る。
As described above, by generating the data string 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 the input data came from. , PLC3, and can respond immediately without stopping the control system even if the PLC3 is changed.

【0071】このように、本制御システムでは、従来の
制御システムとは異なり、通信の中心に表示器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.

【0072】より詳しくは、ターゲットシステムは、流
量センサや温度センサまたはターゲットシステムの各部
の状態を検出するセンサのような入力機器6と、指示に
応じた動作を行うバルブやモータのような出力機器7と
を備えており、入出力機器6・7はPLC3にて制御さ
れている。また、PLC3は、シーケンサから発達して
きた経緯もあって、例えば、製造者毎や製品の種別毎な
ど、PLC3の機種毎に、独自の通信プロトコルを備え
ているものが多い。したがって、専用ネットワーク5を
介して表示器2と接続されるPLC3は、通信可能な通
信プロトコルで表示器2と通信する。
More specifically, the target system includes an input device 6 such as a flow 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 connected to the display 2 via the dedicated network 5 communicates with the display 2 using a communicable communication protocol.

【0073】これにより、PLC3は、表示器2へ、ま
たは表示器2を介して他の表示器2あるいはパソコン1
へ、入力機器6が取得したデータをPLC3の出力デー
タとして送信する一方、表示器2から、または他局より
表示器2を介して伝えられた制御指示(レシピデータを
含む)を受信して出力機器7を制御することができる。
As a result, the PLC 3 is connected to the display 2 or through the display 2 to another display 2 or the personal computer 1.
While transmitting the data acquired by the input device 6 as output data of the PLC 3, and receiving and outputting a control instruction (including recipe data) transmitted from the display 2 or from another station via the display 2. The device 7 can be controlled.

【0074】ここで、表示器2は、制御システムに必須
の装置であるが、近年では、高解像度の画像を表示する
ために、例えば、数Mバイト程度の記憶容量を持ち、表
示に十分な速度で演算処理を行う。したがって、表示器
2は、十分余力を持って上記のプロトコル変換を行うこ
とができる。また、表示器2とパソコン1との間に、P
LC3が介在していないため、PLC3は、ターゲット
システム2の制御に専念できる。したがって、PLCが
通信の大半を処理する前述の従来の制御システムに比べ
て、記憶容量や処理能力を削減することができる。
Here, the display 2 is an indispensable device for the control system. In recent years, the display 2 has a storage capacity of several Mbytes, for example, in order to display a high-resolution image, and is sufficient for display. 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.

【0075】なお、通信量の大きな処理の例として、タ
ーゲットシステムが製造する製品を変換する際などの、
パソコン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.

【0076】また、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 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, for example, 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.

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

【0078】ここで、共通ネットワーク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, the 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 is controlled in response to the stored contents. . Further, for the input terminal of each PLC 3, the input device 6 is stored in the corresponding store area of the above-mentioned memory.
The input data from is written.

【0079】表1に示す例では、ノードA〜Cに対応す
る各PLC3の100個の各入出力端子に対応したスト
ア領域に、それぞれ100〜199、200〜299、
300〜399のストアアドレスが割り当てられてい
る。
In the example shown in Table 1, 100 to 199, 200 to 299, and 200 to 299 are stored in the store areas corresponding to the 100 input / output terminals of each PLC 3 corresponding to the nodes A to C, respectively.
Store addresses of 300 to 399 are assigned.

【0080】ノードAの表示器2におけるデータ配信部
2gは、予め設定された時刻○○:○○にアドレス10
0〜199のストア領域のデータ、すなわちすべての入
出力データを配信し、そのデータはパソコン1およびノ
ードBの表示器2にストアされる。同様に、ノードAの
表示器2からは、10秒周期毎にアドレス100〜14
9のストア領域のデータが配信され、20秒周期毎にア
ドレス150〜199のストア領域のデータが配信さ
れ、その表示器2の電源ON時にアドレス140〜15
9のストア領域のデータが配信される。
The data distribution unit 2g of the display 2 of the node A sends the address 10 to the preset time XX:
The data in the storage area of 0 to 199, that is, all the 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 2 of the node A, the addresses 100 to 14 are set every 10 seconds.
9, the data in the store areas 150 to 199 are distributed every 20 seconds, and the addresses 140 to 15 are stored when the display 2 is powered on.
Nine store areas are distributed.

【0081】[0081]

【表1】 [Table 1]

【0082】また、全工程の終了時に、最終ステーショ
ンに配されたPLC3のある端子に接続されているデバ
イスの出力が立ち上がると、ノードCの表示器2におけ
るデータ配信部2gは、パソコン1にレシピデータの配
信を要求する。これに対し、パソコン1からのレシピデ
ータがノードA〜Cの各表示器2を介して各PLC3に
配信され、それぞれアドレス100〜199、アドレス
200〜299、アドレス300〜299のストア領域
に格納される。
When the output of the device connected to a certain terminal of the PLC 3 arranged at the last station rises at the end of all the processes, the data distribution unit 2g of the display 2 of the node C sends the recipe to the personal computer 1. Request data delivery. On the other hand, recipe data from the personal computer 1 is distributed to each PLC 3 via each display 2 of the nodes A to C, and stored in the storage areas of addresses 100 to 199, addresses 200 to 299, and addresses 300 to 299, respectively. You.

【0083】パソコン1は、各表示器2から配信される
すべてのデータ(PLC3の出力データ)をストアして
いる。これに対して、ノード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 (output data of the PLC 3) distributed from each display 2. On the other hand, the indicator 2 corresponding to the PLC 3 provided at the most upstream side of the production line for the node A is
It does not take in the distribution data from the display 2 corresponding to each PLC 3 for the downstream nodes B and 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.

【0084】パソコン1および各表示器2でのデータの
取り込みは、配信元からの配信データの、例えばIPア
ドレスに受信先のアドレスを格納しておくことによって
行われてもよい。また、受信先が多く存在する場合に
は、上記のデータ取り込みは、上記のIPアドレスを一
斉同報として、受信側で、配信データの配信元のIPア
ドレスに応答して、データを取り込むか否かを決定する
ようにして行われてもよい。
The data capture by the personal computer 1 and each display 2 may be performed 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.

【0085】しかも、すべての表示器2がパソコン1と
同様に、すべての配信データに対応したストア領域を有
し、すべての配信データを保有していてもよいことは勿
論である。また、表1に示す例では、説明の簡略化のた
めに、送信データのストアアドレスと受信データのスト
アアドレスとは相互に一致しているが、必ずしも一致し
ている必要はなく相互に異なっていてもよい。
Further, like the personal computer 1, all the display units 2 have a store area 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.

【0086】上記のように、配信条件が成立すると、各
表示器2およびパソコン1との間でデータの配信が行え
るだけでなく、配信条件の成立をトリガとして、パソコ
ン1のアプリケーション部1fにおいて予め前述のよう
に指定されたアプリケーションを起動することができ
る。続いて、その起動について詳細に説明する。
As described above, when the distribution condition is satisfied, not only can the data be distributed between each display 2 and the personal computer 1, but also when the establishment of the distribution condition is triggered, the application unit 1 f of the personal computer 1 preliminarily sets the data. The specified application can be started as described above. Subsequently, the activation will be described in detail.

【0087】例えば、「立ち上がりトリガ」の配信条件
を設定しておき、かつPLC3のメモリにおける各デバ
イスに対応するストア領域に、デバイスのエラー情報、
デバイス出力に対応した作業指示の情報などの各種の情
報を表すビットを設けておけば、このビットが立ち上が
ったときに、配信条件とともに、そのデバイスが接続さ
れるPLC3のノード情報(局名)がそのノードの表示
器2から送信される。パソコン1では、これらの情報を
受けることによって、データ通信処理部1aが前述の図
5の画面で指定されたアプリケーションを起動する。こ
のとき、データ通信処理部1aは、上記の情報をトリガ
として、図示しないOS(オペレーティングシステム)
にアプリケーションの起動を要求する。これによって、
指定されたアプリケーションが起動する。
For example, distribution conditions of “rising trigger” are set, and error information of the device is stored in a store area corresponding to each device in the memory of the PLC 3.
If bits indicating various information such as work instruction information corresponding to the device output are provided, when this bit rises, the distribution conditions and the node information (station name) of the PLC 3 to which the device is connected are displayed. It is transmitted from the display 2 of the node. In the personal computer 1, upon receiving such information, the data communication processing unit 1a activates the application specified on the screen of FIG. At this time, the data communication processing unit 1a triggers an OS (operating system) (not shown) using the above information as a trigger.
To start the application. by this,
The specified application starts.

【0088】例えば、ワードプロセッサソフトが起動し
た場合は、指定されたファイルが開かれ、このファイル
に作成された、デバイスの異常発生を知らせるメッセー
ジや作業指示に関するメッセージがパソコン1のディス
プレイに表示される。また、音声再生ソフトが起動した
場合は、上記のメッセージが音声として予め記録された
ファイルが開かれ、そのメッセージが再生される。これ
によって、オペレータは、そのメッセージにしたがって
必要な措置をとることができる。また、通信ソフトが起
動した場合は、指定された電話番号がダイヤルされて、
上記のメッセージがポケットベルや携帯電話などに送信
される。これによって、パソコン1の側にいなくても、
上記のメッセージを受けることができる。
For example, when the word processor software is started, a specified file is opened, and a message notifying the occurrence of a device abnormality or a message relating to a work instruction created in this file is displayed on the display of the personal computer 1. When the voice reproducing software is started, a file in which the above message is recorded as voice is opened, and the message is reproduced. This allows the operator to take necessary actions according to the message. When the communication software starts, the specified phone number is dialed,
The above message is sent to a pager, mobile phone, or the like. With this, even if you are not near the PC 1,
You can receive the above message.

【0089】あるいは、データベースソフトが起動した
場合は、データベースソフトに設定されたレシピデータ
を各表示器2のデータ配信機能を利用してPLC3に配
信することが可能になる。また、表計算ソフトが起動し
た場合は、PLC3からの出力データを各表示器2のデ
ータ配信機能を利用してパソコン1における表計算ソフ
トに収集することができる。
Alternatively, when the database software is started, the recipe data set in the database software can be distributed to the PLC 3 using the data distribution function of each display 2. When the spreadsheet software is started, the output data from the PLC 3 can be collected by the spreadsheet software in the personal computer 1 by using the data distribution function of each display 2.

【0090】なお、上記の例では、立ち上がりトリガを
トリガ(配信条件)として、アプリケーションを起動す
るについて説明したが、アプリケーションを起動するた
めの配信条件としては、それ以外の配信条件を用いても
よい。例えば、図6の画面における配信条件であれば、
例えば、電源投入や指定された時刻をトリガとしてアプ
リケーションを起動するようにしてもよい。
In the above example, the application is started with the rising trigger as a trigger (distribution condition). However, other distribution conditions may be used as the distribution condition for starting the application. . For example, if the distribution condition is the screen shown in FIG.
For example, the application may be activated by turning on the power or at a specified time as a trigger.

【0091】以上のように、本実施の形態の制御システ
ムでは、表示器2がPLC3の機種毎の通信プロトコル
の相違を吸収して、各表示器2およびパソコン1の間の
データ通信を容易にしている。それゆえ、パソコン1で
指定されたアプリケーションを指定された配信条件が成
立したタイミングで起動することができる。それゆえ、
ホストコンピュータからPLCにアクセスするための従
来のソフトのように、ホストコンピュータからPLC
に、PLCの動作状態を常時問い合わせる必要がなく、
効率的にアプリケーションの起動を行うことができる。
さらに、データ通信処理部1aにアプリケーション起動
の機能を持たせているので、従来のように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 application specified by the personal computer 1 can be started at the timing when the specified distribution condition is satisfied. therefore,
Like the conventional software for accessing the PLC from the host computer, the PLC
In addition, there is no need to always inquire about the operation state of the PLC,
The application can be started efficiently.
Further, since the data communication processing unit 1a has an application starting function, there is no need for the user to create a program for starting an arbitrary application according to the operation state of the PLC as in the related art.

【0092】また、本制御システムの表示器2による配
信機能を利用すれば、上記のように自動的に起動したア
プリケーションと、PLC3との間でデータ(出力デー
タやレシピデータ)の受け渡しを、PLC3の機種に関
わらず容易に行うことができる。
If the distribution function of the display 2 of the control system is used, the transfer of data (output data and recipe data) between the application started automatically as described above and the PLC 3 is performed by the PLC 3. It can be easily performed regardless of the model.

【0093】なお、本実施の形態では、共通ネットワー
ク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.

【0094】また、本実施の形態において、共通ネット
ワーク4に伝送されるデータ列DT2 は、図3に示すよ
うに、PLC3への指示内容を含むデータ本体12と、
そのPLC3が接続されたヘッダ部11とを含んでいる
が、これに限るものではない。例えば、パソコン1に1
つの表示器2が接続される構成や、表示器2が複数であ
っても、パソコン1が、それぞれの表示器2と通信する
ためのポートを個別に備える場合など、ヘッダ部11を
含まなくても通信相手を特定可能な場合は、データ列D
2 がヘッダ部11を含まなくても、同様の効果が得ら
れる。
Further, 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.

【0095】なお、この場合は、共通ネットワーク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 a transmission protocol is employed. 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.

【0096】[0096]

【発明の効果】以上のように、本発明に係るアプリケー
ションソフトウェア起動システムは制御装置と、該制
御装置に接続された表示型制御装置と該表示型制御装
置の上位に設けられ、通信プロトコルの異なる制御装置
に関する情報を該表示型制御装置を介して得るホストコ
ンピュータとを備え、上記表示型制御装置および上記制
御装置が、制御装置毎に固有の上記通信プロトコルで通
信を行う専用ネットワークを介して個々に接続される一
方、上記ホストコンピュータおよび上記表示型制御装置
が、共通の通信プロトコルで通信を行う共通ネットワー
クを介して互いに接続されており、上記表示型制御装置
が、上記制御装置と上記ホストコンピュータとの間の通
信を中継する際、上記両ネットワークで用いられる通信
プロトコルを互いに変換するプロトコル変換手段と、予
め設定されている条件が満たされたときに、その条件に
ついての情報を上記ホストコンピュータに通知する通知
手段とを有し、上記ホストコンピュータが、上記通知手
段からの上記条件についての情報を受けると、予め指定
されたアプリケーションソフトウェアを起動する起動手
段を有している構成である。
As it is evident from the foregoing description, the application software activation system according to the present invention, a control device, 該制
A display-type control device connected to the control device, and a control device provided above the display-type control device and having a different communication protocol
Host computer that obtains information about the
A display control device and the control device.
The control device communicates with the above communication protocol unique to each control device.
Connected individually via a dedicated communication network
, The host computer and the display control device
Is a common network that communicates using a common communication protocol.
Are connected to each other via a network, and the display-type control device communicates between the control device and the host computer.
When relaying the signal, the communication protocol used in the two networks and protocol conversion means for converting each other physician, when the condition is met that is set in advance, and notifies the information about the conditions in the host computer Notification means, and the host computer, when receiving information on the condition from the notification means, has a start means for starting application software designated in advance.

【0097】これにより、表示型制御装置とホストコン
ピュータとの間の共通ネットワークで使用される通信プ
ロトコルと、表示型制御装置と制御装置との間の専用ネ
ットワークで使用される通信プロトコルとが相互に変換
される。それゆえ、表示型制御装置は、制御装置の通信
プロトコルに関わらず、常に同一の通信プロトコルで、
共通ネットワークを介してホストコンピュータと通信す
ることができる。この結果、ホストコンピュータは、通
信プロトコルの異なる制御装置に関する情報を表示型制
御装置を介して得ることができる。
Thus, the communication protocol used on the common network between the display control device and the host computer and the communication protocol used on 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 obtain information on the control devices having different communication protocols via the display control device.

【0098】また、予め設定されている条件が満たされ
たときにホストコンピュータにおけるアプリケーション
ソフトウェアが起動されるので、例えば、ホストコンピ
ュータ側から制御装置にその動作状態を問い合わせる必
要がなくなり、ホストコンピュータ側からの通信の負担
が軽減される。そして、通信プロトコルに関わらずに通
信が可能となるので、起動されたアプリケーションソフ
トウェアと制御装置との間でデータの受け渡しを容易に
行うことができる。
Further, since the application software in the host computer is started when a preset condition is satisfied, for example, it is not necessary for the host computer to inquire of the control device about its operation state, and the host computer does not need to inquire about the operation state. Communication load is reduced. Since communication is possible regardless of the communication protocol, data can be easily exchanged between the started application software and the control device.

【0099】したがって、機種毎に通信プロトコルの異
なる制御装置を備えた制御システムにおいて、制御装置
の動作状態などに基づいてホストコンピュータが所望の
アプリケーションソフトウェアを起動させることができ
るという効果を奏する。
Therefore, in a control system provided with a control device having a different communication protocol for each model, the host computer can start desired application software based on the operation state of the control device.

【0100】本発明に係るアプリケーションソフトウェ
ア起動方法は、制御装置と、該制御装置に接続された表
示型制御装置と、該表示型制御装置の上位に設けられ、
通信プロトコルの異なる制御装置に関する情報を該表示
型制御装置を介して得るホストコンピュータとを備え、
上記表示型制御装置および上記制御装置が、制御装置毎
に固有の上記通信プロトコルで通信を行う専用ネットワ
ークを介して個々に接続される一方、上記ホストコンピ
ュータおよび上記表示型制御装置が、共通の通信プロト
コルで通信を行う共通ネットワークを介して互いに接続
されたシステムを用い、上記表示型制御装置において、
上記制御装置と上記ホストコンピュータとの間の通信を
中継する際、上記両ネットワークで用いられる通信プロ
トコルを互いに変換するとともに、予め設定されている
条件が満たされたときに、その条件についての情報を上
記ホストコンピュータに通知し、上記ホストコンピュー
タにおいて、上記条件についての情報を受けると、予め
指定されたアプリケーションソフトウェアを起動する方
法である。
The application software starting method according to the present invention comprises a control device and a table connected to the control device.
A display-type control device, provided above the display-type control device,
Display information on control devices with different communication protocols
A host computer obtained through the mold control device,
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
Computer and the display-type controller described above share a common communication protocol.
Connected to each other via a common network
In the display type control device using the system,
Communication between the control device and the host computer
When relaying converts the communication protocol used in the both networks to each other physician, when preset condition is satisfied, the information about the condition and notifies the host computer, in said host computer In this method, upon receiving information on the above conditions, the application software specified in advance is started.

【0101】これにより、一方のネットワークで用いら
れる通信プロトコルが、表示型制御装置において伝送先
のネットワークで用いられる通信プロトコルに変換され
る。それゆえ、表示型制御装置は、常に同一の通信プロ
トコルで、共通ネットワークを介してホストコンピュー
タと通信が可能になり、この結果、ホストコンピュータ
は、通信プロトコルの異なる制御装置に関する情報を表
示型制御装置を介して得ることができる。
As a result, the communication protocol used in one network is converted into the communication protocol used in the transmission destination network in the display control device. Therefore, the display-type control device can always communicate with the host computer through the common network using the same communication protocol, and as a result, the host computer can display information about the control device having a different communication protocol from the display-type control device. Can be obtained via

【0102】また、予め設定されている条件が満たされ
ると、ホストコンピュータでは、予め指定されたアプリ
ケーションソフトウェアが起動する。これにより、ホス
トコンピュータは常時制御装置の動作状態を監視する必
要がなくなり、上記の条件が成立すれば自動的にアプリ
ケーションソフトウェアを起動することができる。さら
に、起動されたアプリケーションソフトウェアと通信プ
ロトコルの異なる制御装置との間でデータの受け渡しを
容易に行うことができる。
When a preset condition is satisfied, the host computer starts application software specified in advance. This eliminates the need for the host computer to constantly monitor the operation state of the control device, and can automatically start the application software if the above condition is satisfied. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

【0103】したがって、前記の起動システムと同様、
機種毎に通信プロトコルの異なる制御装置を備えた制御
システムにおいて、制御装置の動作状態などに基づいて
ホストコンピュータが所望のアプリケーションソフトウ
ェアを起動させることができるという効果を奏する。
Therefore, similar to the above-mentioned activation system,
In a control system provided with a control device having a different communication protocol for each model, there is an effect that the host computer can start desired application software based on the operation state of the control device.

【0104】本発明に係るアプリケーションソフトウェ
アの起動のためのプログラムが記録された記録媒体は
制御装置と、該制御装置に接続された表示型制御装置
と、該表示型制御装置の上位に設けられ、通信プロトコ
ルの異なる制御装置に関する情報を該表示型制御装置を
介して得るホストコンピュータとを備え、上記表示型制
御装置および上記制御装置が、制御装置毎に固有の上記
通信プロトコルで通信を行う専用ネットワークを介して
個々に接続される一方、上記ホストコンピュータおよび
上記表示型制御装置が、共通の通信プロトコルで通信を
行う共通ネットワークを介して互いに接続されたシステ
ムを用い、上記表示型制御装置において、上記制御装置
と上記ホストコンピュータとの間の通信を中継する際、
上記両ネットワークで用いられる通信プロトコルを互
に変換するとともに、予め設定されている条件が満たさ
れたときに、その条件についての情報を上記ホストコン
ピュータに通知し、上記ホストコンピュータにおいて、
上記条件についての情報を受けると、予め指定されたア
プリケーションソフトウェアを起動するためのプログラ
ムが記録されている記録媒体である。
A recording medium on which a program for starting application software according to the present invention is recorded is :
Control device and display-type control device connected to the control device
And a communication protocol provided above the display control device.
The information on the control devices with different
And a host computer obtained through
The control device and the control device are unique to each control device.
Via a dedicated network that communicates with the communication protocol
While individually connected, the host computer and
The display control device communicates using a common communication protocol.
Systems connected to each other via a common network
The display-type control device, wherein the control device
When relaying communication between the host computer
Converts to have each other communication protocol used in the both networks <br/>, when preset condition is satisfied, the information about the condition and notifies the host computer, in said host computer ,
A recording medium on which a program for starting application software specified in advance upon receiving information on the above conditions is recorded.

【0105】これにより、一方のネットワークで用いら
れる通信プロトコルが、表示型制御装置において伝送先
のネットワークで用いられる通信プロトコルに変換され
る。それゆえ、表示型制御装置とホストコンピュータと
の間の通信が常に同一の通信プロトコルで行うことが可
能になり、この結果、ホストコンピュータは、通信プロ
トコルの異なる制御装置に関する情報を表示型制御装置
を介して得ることができる。
Thus, the communication protocol used in one network is converted into the communication protocol used in the transmission destination network in the display control device. Therefore, the communication between the display control device and the host computer can always be performed using the same communication protocol. As a result, the host computer can display the information on the control device having a different communication protocol from the display control device. You can get through.

【0106】また、予め設定されている条件が満たされ
ると、ホストコンピュータでは、予め指定されたアプリ
ケーションソフトウェアが起動するので、ホストコンピ
ュータは常時制御装置の動作状態を監視する必要がなく
なり、上記の条件が成立すれば自動的にアプリケーショ
ンソフトウェアを起動することができる。さらに、起動
されたアプリケーションソフトウェアと通信プロトコル
の異なる制御装置との間でデータの受け渡しを容易に行
うことができる。
When the preset condition is satisfied, the host computer starts the application software specified in advance, so that the host computer does not need to constantly monitor the operation state of the control device. If the condition is satisfied, the application software can be automatically started. Further, data can be easily exchanged between the activated application software and a control device having a different communication protocol.

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

【0108】したがって、前記の起動システムと同様、
機種毎に通信プロトコルの異なる制御装置を備えた制御
システムにおいて、制御装置の動作状態などに基づいて
ホストコンピュータが所望のアプリケーションソフトウ
ェアを起動させることができるという効果を奏するとと
もに、プログラムを有効に利用することができるという
効果を併せて奏する。
Therefore, similar to the above-described activation system,
In a control system including a control device having a different communication protocol for each model, the host computer can start desired application software based on the operation state of the control device, and the program can be effectively used. It also has the effect of being able to do so.

【図面の簡単な説明】[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 setting screen including various setting items relating to application software to be activated among various application software installed in the application unit.

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

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

【符号の説明】 1 パーソナルコンピュータ(ホストコンピュー
タ) 1a データ通信処理部(起動手段) 1c データ配信設定部(通知手段) 1f アプリケーション部(アプリケーションソフト
ウェア) 2 プログラマブル表示器(表示型制御装置) 2a データ処理部 2f 変換データ記憶部 2g データ配信部(配信手段) 3 PLC(制御装置) 4 共通ネットワーク 5 専用ネットワーク 6 入力機器 7 出力機器
[Description of Signs] 1 Personal computer (host computer) 1a Data communication processing unit (starting unit) 1c Data distribution setting unit ( notifying unit) 1f Application unit (application software) 2 Programmable display (display control device) 2a Data processing Unit 2f conversion data storage unit 2g data distribution unit (distribution means) 3 PLC (control device) 4 common network 5 dedicated network 6 input device 7 output device

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5H004 GA33 KA03 KA80 MA38 MA39 MA47 MA51 MA52 MA55 5H215 BB05 BB16 CC09 CX08 GG03 GG05 KK04 5H220 BB05 BB17 CC09 CX08 EE01 EE10 GG24 HH01 HH04 JJ12 JJ55 5K034 AA19 HH01 HH02 HH06 HH61 9A001 DD15 HH34  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) HH34

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】入力機器および出力機器が接続された制御
装置と、該制御装置の制御状態を表示し、かつ上記制御
装置に制御指示を与える表示型制御装置と、該表示型制
御装置の上位に設けられるホストコンピュータとの間で
通信を行うことによって上記ホストコンピュータにおけ
るアプリケーションソフトウェアを起動するアプリケー
ションソフトウェア起動システムであって、 上記ホストコンピュータと複数の上記表示型制御装置と
が共通ネットワークを介して共通の通信プロトコルを用
いて通信を行う一方、上記表示型制御装置と上記制御装
置とが専用ネットワークを介して制御装置に固有の通信
プロトコルを用いて通信を行い、 上記表示型制御装置が、上記両ネットワークで用いられ
る通信プロトコルを上記両ネットワークで用いられる通
信プロトコルに互いに変換するプロトコル変換手段と、
予め設定されている条件が満たされたときに、その条件
についての情報を上記ホストコンピュータに通知する通
知手段とを有し、 上記ホストコンピュータが、上記通知手段からの上記条
件についての情報を受けると、予め指定されたアプリケ
ーションソフトウェアを起動する起動手段を有している
ことを特徴とするアプリケーションソフトウェア起動シ
ステム。
1. A control device to which an input device and an output device are connected, a display-type control device for displaying a control state of the control device and giving a control instruction to the control device, and a higher-level device of the display-type control device An application software activation system that activates application software in the host computer by communicating with the host computer provided in the host computer, wherein the host computer and a plurality of display control devices are shared via a common network. While performing communication using the communication protocol of the above, the display-type control device and the control device perform communication using a communication protocol specific to the control device via a dedicated network, and the display-type control device The communication protocol used in the network And protocol conversion means for converting each other in the communication protocol that,
A notification unit for notifying the host computer of information on the condition when a preset condition is satisfied, wherein the host computer receives the information on the condition from the notification unit. An application software activation system, characterized in that the application software activation system further comprises activation means for activating predetermined application software.
【請求項2】入力機器および出力機器が接続された制御
装置と、該制御装置の制御状態を表示し、かつ上記制御
装置に制御指示を与える表示型制御装置と、該表示型制
御装置の上位に設けられるホストコンピュータとの間で
通信を行うことによって上記ホストコンピュータにおけ
るアプリケーションソフトウェアを起動するアプリケー
ションソフトウェア方法システムであって、 上記ホストコンピュータと複数の上記表示型制御装置と
の間で共通ネットワークを介して共通の通信プロトコル
を用いて通信を行わせる一方、上記表示型制御装置と上
記制御装置との間で専用ネットワークを介して制御装置
に固有の通信プロトコルを用いて通信を行わせ、 上記表示型制御装置において、上記両ネットワークで用
いられる通信プロトコルを上記両ネットワークで用いら
れる通信プロトコルに互いに変換するとともに、予め設
定されている条件が満たされたときに、その条件につい
ての情報を上記ホストコンピュータに通知し、 上記ホストコンピュータにおいて、上記条件についての
情報を受けると、予め指定されたアプリケーションソフ
トウェアを起動することを特徴とするアプリケーション
ソフトウェア起動方法。
2. A control device to which an input device and an output device are connected, a display control device for displaying a control state of the control device and giving a control instruction to the control device, An application software method system for starting application software in the host computer by performing communication with a host computer provided in the host computer, wherein the host computer and the plurality of display control devices are connected via a common network. Communication between the display-type control device and the control device using a communication protocol specific to the control device via a dedicated network, while allowing the display-type control device and the control device to perform communication using the common communication protocol. In the control device, the communication protocol used in both networks is The protocol is mutually converted into a communication protocol used in a network, and when a preset condition is satisfied, information on the condition is notified to the host computer, and the host computer receives information on the condition. And a method for activating application software designated in advance.
【請求項3】入力機器および出力機器が接続された制御
装置と、該制御装置の制御状態を表示し、かつ上記制御
装置に制御指示を与える表示型制御装置との間で専用ネ
ットワークを介して制御装置に固有の通信プロトコルを
用いて通信を行わせ、上記表示型制御装置の上位に設け
られるホストコンピュータと複数の上記表示型制御装置
との間で共通ネットワークを介して共通の通信プロトコ
ルを用いて通信を行わせることによって上記ホストコン
ピュータにおけるアプリケーションソフトウェアを起動
するためのプログラムが記録された記録媒体であって、 上記表示型制御装置において、上記両ネットワークで用
いられる通信プロトコルを上記両ネットワークで用いら
れる通信プロトコルに互いに変換するとともに、予め設
定されている条件が満たされたときに、その条件につい
ての情報を上記ホストコンピュータに通知し、 上記ホストコンピュータにおいて、上記条件についての
情報を受けると、予め指定されたアプリケーションソフ
トウェアを起動するためのプログラムが記録されたコン
ピュータ読み取り可能な記録媒体。
3. A control device to which an input device and an output device are connected, and a display control device for displaying a control state of the control device and giving a control instruction to the control device via a dedicated network. A control device performs communication using a unique communication protocol, and uses a common communication protocol via a common network between a host computer provided above the display control device and a plurality of the display control devices. A program for activating the application software in the host computer by causing the host computer to perform communication, wherein the display-type control device uses a communication protocol used in the two networks in the two networks. Are converted to each other according to the specified communication protocol, and the Is satisfied, the information on the condition is notified to the host computer. When the information on the condition is received by the host computer, a program for activating the application software designated in advance is recorded. Computer readable recording medium.
JP18432399A 1999-06-29 1999-06-29 Application software start-up system and start-up method, and recording medium on which a program for the start-up is recorded Expired - Lifetime JP3155254B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18432399A JP3155254B2 (en) 1999-06-29 1999-06-29 Application software start-up system and start-up method, and recording medium on which a program for the start-up is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18432399A JP3155254B2 (en) 1999-06-29 1999-06-29 Application software start-up system and start-up method, and recording medium on which a program for the start-up is recorded

Publications (2)

Publication Number Publication Date
JP2001014009A true JP2001014009A (en) 2001-01-19
JP3155254B2 JP3155254B2 (en) 2001-04-09

Family

ID=16151329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18432399A Expired - Lifetime JP3155254B2 (en) 1999-06-29 1999-06-29 Application software start-up system and start-up method, and recording medium on which a program for the start-up is recorded

Country Status (1)

Country Link
JP (1) JP3155254B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252104A (en) * 2005-03-10 2006-09-21 Yokogawa Electric Corp Application initiation method, and application initiation apparatus using the same
CN111782358A (en) * 2020-06-22 2020-10-16 北京北方华创微电子装备有限公司 Software control method for semiconductor process equipment and semiconductor process equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252104A (en) * 2005-03-10 2006-09-21 Yokogawa Electric Corp Application initiation method, and application initiation apparatus using the same
CN111782358A (en) * 2020-06-22 2020-10-16 北京北方华创微电子装备有限公司 Software control method for semiconductor process equipment and semiconductor process equipment

Also Published As

Publication number Publication date
JP3155254B2 (en) 2001-04-09

Similar Documents

Publication Publication Date Title
JP3364207B2 (en) Control system, display device, data transmission method, and recording medium on which the program is recorded
JP2001016662A (en) Data collection system, data collection method, and recording medium recording program for data collection
CN100501617C (en) Programmable terminal system
JP3155253B2 (en) Data transfer system, data transfer method and recording medium on which data transfer program is recorded
JP3155254B2 (en) Application software start-up system and start-up method, and recording medium on which a program for the start-up is recorded
JP3155259B1 (en) Notification system, notification method, and recording medium storing program for notification
JP3621326B2 (en) Data accumulation system, data accumulation method, and recording medium recording program for data accumulation
JP3512705B2 (en) Screen simulation system for programmable display, screen simulation method, and recording medium recording program for screen simulation
JP2003044325A (en) Asset managing device
JP2007249471A (en) Shared data management system, management server, and shared data management method
JP3155258B1 (en) Data collection system, data collection method, and recording medium on which data collection program is recorded
JP2002111680A (en) Control system
JP3423626B2 (en) Control host computer and recording medium on which the program is recorded
JP3155257B1 (en) Data collection system, data collection method, and recording medium on which data collection program is recorded
JP2004227175A (en) Maintenance system
JP3196704B2 (en) Industrial robot
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
JP3190628B2 (en) Control host computer and recording medium on which the program is recorded
JP3190627B2 (en) Control host computer and recording medium on which the program is recorded
JP3751917B2 (en) DATA COLLECTION SYSTEM, DATA COLLECTION METHOD, DATA COLLECTION PROGRAM, 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
JP2002341906A (en) Program formula display device and data communication system using the same
JP3497441B2 (en) Control server device and control system
JP2004302880A (en) Programmable logic controller, program editor device, their program, and recording medium

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: 3155254

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