JP4509979B2 - CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents
CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM Download PDFInfo
- Publication number
- JP4509979B2 JP4509979B2 JP2006205442A JP2006205442A JP4509979B2 JP 4509979 B2 JP4509979 B2 JP 4509979B2 JP 2006205442 A JP2006205442 A JP 2006205442A JP 2006205442 A JP2006205442 A JP 2006205442A JP 4509979 B2 JP4509979 B2 JP 4509979B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- server computer
- programmable display
- data
- display
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- User Interface Of Digital Computer (AREA)
- Programmable Controllers (AREA)
Description
本発明は、サーバコンピュータとネットワーク接続されたプログラマブル表示器にサーバコンピュータに表示される情報を表示させることができるプログラマブル表示器およびそれを備えた制御システムに関するものである。 The present invention relates to a programmable display capable of displaying information displayed on a server computer on a programmable display connected to the server computer via a network, and a control system including the programmable display.
プログラマブル表示器は、ホストコントローラ(PLC、インバータ、温調計など)とのインタフェースを備えており、ホストコントローラに接続されたデバイスの稼働状況を表示したり、デバイスへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。一般に、プログラマブル表示器は、グラフィック表示機能を有するので、操作盤、スイッチ、表示灯などを表示することができ、制御システムにおける操作端末としての役割を果たす。 The programmable display has an interface with the host controller (PLC, inverter, temperature controller, etc.), and displays the operating status of the devices connected to the host controller and gives control instructions to the devices. This is an operation-type display with a function to accept input from the screen. In general, since the programmable display has a graphic display function, it can display an operation panel, a switch, an indicator lamp, and the like, and serves as an operation terminal in the control system.
このようなプログラマブル表示器は、例えば、生産現場においては、一般に生産業務に携わるオペレータなどによって操作される。制御システムに何らかの問題が生じた場合には、問題によってはオペレータで対処することが難しい場合があるため、そのような場合に制御システムの管理責任者が問題の解決に当ることがある。しかしながら、管理責任者は、解決すべき問題が生じる度に現場に出向いて、プログラマブル表示器に表示された画像で制御システムの状況を確認しなければならないという煩わしさがある。 Such a programmable display is operated by an operator who is generally engaged in production work, for example, at a production site. When a problem occurs in the control system, it may be difficult for the operator to deal with the problem depending on the problem. In such a case, the manager of the control system may solve the problem. However, there is an annoyance that the person in charge of management has to go to the site every time a problem to be solved arises and check the status of the control system with an image displayed on the programmable display.
あるいは、生産ラインの管理責任者が生産ラインの稼働状況を監視したい場合にも同様に、管理責任者が現場に出向いて、プログラマブル表示器に表示された画像で制御システムの状況を確認しなければならないという煩わしさがある。 Or, if the manager of the production line wants to monitor the operating status of the production line, the manager must go to the site and check the status of the control system with the image displayed on the programmable display. There is annoyance that it must not be.
このような不都合を解消するため、例えば、特許文献1に開示されたように、プログラマブル表示器が設置された現場から離れた場所で、プログラマブル表示器に表示される画像と同じ画像を見ることや、表示された画面上でプログラマブル表示器と同様に操作することができる技術が開示されている。この技術では、サーバコンピュータにおいて、画像データを変換して作成したアプレット(Java(登録商標)アプレット)をインターネットを介してクライアント装置に送信する。クライアント装置は、受信したアップレットを実行することにより、プログラマブル表示器で表示する画像と同じ画像をブラウザで表示し、表示した画像上でプログラマブル表示器と同様にPLCへの指示などの操作することができる。
上記の技術では、クライアント装置のようなプログラマブル表示器と離間して配置されたコンピュータにおいて、プログラマブル表示器と同様の画面表示や操作を実現することができる。しかしながら、逆に、上記の技術では、プログラマブル表示器から上記のコンピュータを操作することはできない。 In the above technique, a screen display and operation similar to those of a programmable display can be realized in a computer arranged separately from a programmable display such as a client device. However, on the contrary, with the above technology, the computer cannot be operated from a programmable display.
プログラマブル表示器は、LANなどのネットワークと接続可能に構成されることから、ネットワークが構築された環境下において、汎用のパーソナルコンピュータなどで構成されるサーバコンピュータとデータ通信を行うように設置されることがよくある。ところが、プログラマブル表示器は、サーバコンピュータとデータの送受信を行うのみであり、サーバコンピュータにインストールされている各種のアプリケーションプログラムやデータファイルを利用することができない。 Since the programmable display is configured to be connectable to a network such as a LAN, the programmable display is installed so as to perform data communication with a server computer including a general-purpose personal computer in an environment where the network is constructed. There is often. However, the programmable display only transmits and receives data to and from the server computer, and cannot use various application programs and data files installed in the server computer.
このため、プログラマブル表示器が設置されている現場に、アプリケーションプログラムやデータファイルを有するパーソナルコンピュータをやむを得ず設置することがある。一般の電子機器にとって環境が良好であるとはいえない生産現場においては、耐環境性を備えたプログラマブル表示器が支障なく動作するが、耐環境性を備えていないパーソナルコンピュータは故障や誤動作が生じ易いという不都合がある。 For this reason, a personal computer having application programs and data files may be unavoidably installed at a site where a programmable display is installed. In production sites where the environment is not good for general electronic equipment, programmable displays with environmental resistance operate without problems, but personal computers without environmental resistance may fail or malfunction. There is an inconvenience that it is easy.
また、狭い現場においては、プログラマブル表示器以外の機器を設置することになり、作業環境の悪化を招くという不都合もある。プログラマブル表示器は、操作盤として装置に組み込まれることが多いので、水平面の設置スペースをあまり必要としないが、パーソナルコンピュータは、小型であっても机のような設置台を必要とする。このため、省スペース化や制御システムの維持管理コスト低減を図る上でも、パーソナルコンピュータを生産現場に持ち込むことは好ましくない。 Further, in a narrow site, equipment other than the programmable display is installed, which causes a disadvantage that the working environment is deteriorated. Since a programmable display is often incorporated in an apparatus as an operation panel, it does not require much horizontal installation space, but a personal computer requires an installation table such as a desk even if it is small. For this reason, it is not preferable to bring a personal computer to the production site in order to save space and reduce the maintenance cost of the control system.
また、このような余分な機器を導入しないように、パーソナルコンピュータで用いるアプリケーションプログラムをプログラマブル表示器に移植することも考えられるが、パーソナルコンピュータとのハードウエア構成の相違によって、多大な開発工数を必要とする。また、アプリケーションプログラムをプログラマブル表示器に移植できたとしても、CPUの能力やメモリ容量の制限が影響して、正常に使用できないことが多い。 In order not to introduce such extra equipment, it may be possible to port application programs used in personal computers to programmable displays. However, due to differences in hardware configuration with personal computers, a large amount of development man-hours are required. And Even if an application program can be ported to a programmable display device, it cannot often be used normally due to the limitation of CPU capacity and memory capacity.
本発明は、上記の問題点に鑑みてなされたものであり、汎用コンピュータが有するアプリケーションプログラムやデータファイルを利用することができるプログラマブル表示器を提供することを目的としている。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a programmable display that can use an application program and a data file that a general-purpose computer has.
本発明に係る制御システムは、制御装置とプログラマブル表示器とサーバコンピュータとを備えた制御システムであって、当該プログラマブル表示器は、当該制御装置と相互に通信することによって、当該プログラマブル表示器の画面上での操作にしたがって当該制御装置への制御指示を与え、当該制御装置の制御状態を当該プログラマブル表示器の画面上に表示するとともに、当該サーバコンピュータと相互に通信することによって、当該サーバコンピュータの画面上に表示される画像を当該プログラマブル表示器の画面上に表示するプログラマブル表示器である制御システムにおいて、上記の課題を解決するために、当該プログラマブル表示器は、当該制御装置の動作によって発生するトリガや当該プログラマブル表示器の画面上の操作にしたがって発生するトリガを当該サーバコンピュータへ送信するトリガ送信手段と、当該サーバコンピュータにおいてアプリケーションプログラムが制御されることによって当該サーバコンピュータの画面上に表示される画像の画像データを当該サーバコンピュータから受信する画像データ受信手段と、当該画像データ受信手段によって受信された画像データを当該プログラマブル表示器の画面上に表示する画像データ表示手段を備えており、当該サーバコンピュータは、当該トリガ送信手段によって送信されたトリガを受信するトリガ受信手段と、当該トリガ受信手段によって受信されたトリガに応じて指定されたアプリケーションプログラムを制御するプログラム制御手段と、当該プログラム制御手段によって制御されるアプリケーションプログラムの画像データを当該サーバコンピュータの画面上に表示するプログラム表示手段と、当該プログラム表示手段によって当該サーバコンピュータの画面上に表示するアプリケーションプログラムの画像データ送信手段を備えていることを特徴としている。The control system which concerns on this invention is a control system provided with the control apparatus, the programmable display, and the server computer, Comprising: The said programmable display communicates with the said control apparatus mutually, The screen of the said programmable display According to the above operation, a control instruction is given to the control device, the control state of the control device is displayed on the screen of the programmable display, and by communicating with the server computer, In a control system that is a programmable display that displays an image displayed on the screen on the screen of the programmable display, the programmable display is generated by the operation of the control device in order to solve the above-described problem. Trigger and operation on the screen of the programmable display Therefore, trigger transmission means for transmitting the generated trigger to the server computer, and an image for receiving image data of the image displayed on the screen of the server computer from the server computer by controlling the application program in the server computer A data receiving means; and image data display means for displaying the image data received by the image data receiving means on the screen of the programmable display, and the server computer transmits a trigger transmitted by the trigger transmitting means. Trigger receiving means for receiving the program, program control means for controlling the application program designated in accordance with the trigger received by the trigger receiving means, and application controlled by the program control means Program display means for displaying the image data of the computer program on the screen of the server computer, and image data transmission means of the application program for displaying on the screen of the server computer by the program display means. .
上記の構成では、プログラマブル表示器のトリガ送信手段によって、トリガがサーバコンピュータに送信されると、サーバコンピュータが、当該トリガに応じて指定されたアプリケーションプログラムを動作させて、アプリケーションプログラムの動作によって表示される画像の画像データをプログラマブル表示器に送信する。プログラマブル表示器において、画像データ受信手段によって当該画像データが受信されると、その画像データが画像データ表示手段によって表示される。 In the above configuration, when the trigger is transmitted to the server computer by the trigger transmission means of the programmable display device, the server computer operates the application program designated according to the trigger and is displayed by the operation of the application program. The image data of the image to be transmitted is transmitted to the programmable display. In the programmable display, when the image data is received by the image data receiving means, the image data is displayed by the image data display means .
これにより、サーバコンピュータにおいてアプリケーションプログラムが動作することによって表示される画像、すなわちアプリケーションプログラムによって開かれたファイルの画像をプログラマブル表示器においても表示することができる。 Thereby, an image displayed by the application program running on the server computer, that is, an image of a file opened by the application program can be displayed on the programmable display.
上記のアプリケーションプログラムは、例えば、下記の(1)ないし(4)のいずれかのアプリケーションプログラムであることが好ましい。
(1)前記画像を作成する画像作成プログラム
(2)前記制御装置による制御手順を定めるシーケンスプログラムを作成するエディタプログラム
このエディタプログラムは、前記制御装置によるシーケンスプログラムの実行状況をモニタする機能を有することが好ましい。
(3)データファイルを表示するための表示プログラム
(4)プログラマブル表示器に備えられた、所定の送信条件を満たすと前記制御装置からのデータを前記サーバコンピュータに送信するデータ送信手段からサーバコンピュータに送信されたデータを処理するデータ処理プログラム
アプリケーションプログラムが(2)ないし(4)のアプリケーションプログラムであるプログラマブル表示器については、前記トリガが前記制御装置において生じたもの(例えば制御状態の変化)であることが好ましい。これにより、制御装置が稼働中に発生したトリガによって自動的にアプリケーションプログラムを動作させることができる。この結果、例えば、制御装置で発生したアラームをトリガとして、アラームに対処するためのマニュアルを記載したドキュメントを表示するためのアプリケーションプログラムを動作させて、マニュアルを表示させるといったことが可能となる。
The application program is preferably, for example, any one of the following (1) to (4).
(1) The image creation program (2) to create an image editor program The editor program to create a sequence program that defines the control procedure by the control unit, has a function to monitor the execution status of a sequence program by the control unit Is preferred.
(3) display program (4) for displaying the data files provided in the programmable display device, from the data transmit means for sending the data from the control device to a predetermined transmit satisfying to the server computer it data processing program application program that processes the data sent to the server computer (2) to (4) for the programmable display device is an application program, which the trigger has occurred in the control device (for example, the control state Change). Thereby, the application program can be automatically operated by a trigger generated during operation of the control device. As a result, for example, an alarm generated in the control device can be used as a trigger to operate an application program for displaying a document describing a manual for dealing with the alarm, thereby displaying the manual.
また、アプリケーションプログラムが(1)のアプリケーションプログラムであるプログラマブル表示器については、前記トリガが前記画像作成プログラムに前記画像を前記ホストコンピュータから前記制御装置へダウンロードさせる指示であることが好ましい。これにより、例えば、プログラマブル表示器におけるユーザの操作をトリガとして、画像を画像作成プログラムからプログラマブル表示器にダウンロードすることができる。 For the programmable display whose application program is the application program of (1), it is preferable that the trigger is an instruction for causing the image creation program to download the image from the host computer to the control device. Thus, for example, an image can be downloaded from the image creation program to the programmable display using a user operation on the programmable display as a trigger.
また、アプリケーションプログラムが(2)のアプリケーションプログラムであるプログラマブル表示器については、前記トリガが前記エディタプログラムに前記ラダープログラムを前記ホストコンピュータから前記制御装置へダウンロードさせる指示であることを特徴とすることが好ましい。これにより、例えば、プログラマブル表示器におけるユーザの操作をトリガとして、ラダープログラムをエディタプログラムから制御装置にダウンロードすることができる。 In the programmable display whose application program is the application program of (2), the trigger is an instruction for the editor program to download the ladder program from the host computer to the control device. preferable. Thus, for example, the ladder program can be downloaded from the editor program to the control device with the user operation on the programmable display as a trigger.
また、アプリケーションプログラムが(3)のアプリケーションプログラムであるプログラマブル表示器については、前記トリガが前記表示プログラムに前記データファイルを前記プログラマブル表示器または前記制御装置へダウンロードさせる指示であることが好ましい。これにより、例えば、プログラマブル表示器におけるユーザの操作をトリガとして、データファイルを表示プログラムからプログラマブル表示器または制御装置にダウンロードすることができる。 For the programmable display whose application program is the application program of (3), it is preferable that the trigger is an instruction for causing the display program to download the data file to the programmable display or the control device. Accordingly, for example, the data file can be downloaded from the display program to the programmable display or the control device with a user operation on the programmable display as a trigger.
本発明のプログラマブル表示器は、前記制御システムを構成するプログラマブル表示器である。The programmable display of this invention is a programmable display which comprises the said control system.
本発明のプログラマブル表示器のためのプログラムは、前記制御システムを構成するプログラマブル表示器を実現するコンピュータを前記各手段として機能させるためのプログラムである。The program for the programmable display of the present invention is a program for causing a computer that realizes the programmable display constituting the control system to function as each means.
また、このプログラムは、コンピュータ読み取り可能な記録媒体に記録されて提供される。The program is provided by being recorded on a computer-readable recording medium.
これにより、プログラマブル表示器が当該プログラムにしたがって動作することにより、前述のように、サーバコンピュータにおいてアプリケーションプログラムが動作することによって表示される画像をプログラマブル表示器においても表示することができる。Thereby, when a programmable display operate | moves according to the said program, the image displayed when an application program operate | moves in a server computer as mentioned above can also be displayed on a programmable display.
本発明のサーバコンピュータは、前記制御システムを構成するサーバコンピュータである。The server computer of the present invention is a server computer constituting the control system.
本発明のサーバコンピュータのためのプログラムは、前記制御システムにおける前記サーバコンピュータを実現するコンピュータを前記サーバコンピュータの各手段として機能させる。The program for the server computer of the present invention causes a computer that implements the server computer in the control system to function as each unit of the server computer.
また、このプログラムは、コンピュータ読み取り可能な記録媒体に記録されて提供される。The program is provided by being recorded on a computer-readable recording medium.
これにより、前述のように、サーバコンピュータにおいてアプリケーションプログラムが動作することによって表示される画像をプログラマブル表示器においても表示することができる。Thereby, as described above, an image displayed by the application program running on the server computer can be displayed also on the programmable display.
本発明に係る制御システムを構成するプログラマブル表示器は、以上のように、前述のトリガ送信手段と、画像データ受信手段と、画像データ表示手段とを備えることによって、サーバコンピュータにおいてアプリケーションプログラムが動作することで表示される画像をプログラマブル表示器においても表示することができる。これにより、アプリケーションプログラムを利用するために、プログラマブル表示器が設置された現場にアプリケーションプログラムをインストールしたコンピュータを別途設置する必要がない。この結果、省スペース化や制御システムの維持管理コスト低減を図ることができるという効果を奏する。また、アプリケーションプログラムをプログラマブル表示器に移植する必要もないため、そのために多大な開発工数を生じさせることや、移植後のアプリケーションプログラムが正常に使用できないことを回避できる。この結果、プログラマブル表示器を含むメンテナンスを効率的に行うことができるという効果をも併せて奏する。 As described above, the programmable display that constitutes the control system according to the present invention includes the trigger transmission unit, the image data reception unit, and the image data display unit, so that the application program operates on the server computer. Thus, the displayed image can also be displayed on the programmable display. Thereby, in order to use an application program, it is not necessary to install the computer which installed the application program in the field where the programmable display was installed separately. As a result, it is possible to save space and reduce the maintenance cost of the control system. In addition, since it is not necessary to port the application program to a programmable display device, it is possible to avoid a great amount of development man-hours and that the ported application program cannot be used normally. As a result, there is an effect that maintenance including the programmable display can be efficiently performed.
本発明の実施形態について図1ないし図5に基づいて説明すると、以下の通りである。 The embodiment of the present invention will be described with reference to FIGS. 1 to 5 as follows.
図1に示すように、本実施形態に係る制御システム1は、プログラマブル表示器2と、サーバコンピュータ3と、ネットワーク4と、PLC5とを備えている。
As shown in FIG. 1, the control system 1 according to the present embodiment includes a
プログラマブル表示器2は、ネットワーク4を介してサーバコンピュータ3と接続されている。ネットワーク4は、共通の通信プロトコル(共通通信プロトコル)で通信を行うことが可能なイーサネット(登録商標)などからなるローカルエリアネットワーク(LAN)やインターネットを含むような通信ネットワークである。
The
PLC5は、ユーザが作成したシーケンスプログラム(ラダープログラムなど)にしたがって、例えば、数十msなどの予め定められたスキャンタイム毎に、入力ユニットを介して入力用のデバイス6の状態を取り込むとともに、出力用のデバイス6に制御指示を与える。
In accordance with a sequence program (such as a ladder program) created by the user, the
入力用のデバイス6としては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような機器が用いられる。出力用のデバイス6としては、アクチュエータ、リレー、電磁弁、表示器などが用いられる。これらのデバイス6は、製造ラインなどの各種のターゲットシステムの所要各部に配置されて、制御システム1の一部を構成している。 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 6, an actuator, a relay, a solenoid valve, a display, or the like is used. These devices 6 are arranged in required parts of various target systems such as a production line and constitute a part of the control system 1.
なお、デバイス6は、後述するタッチパネル25から手動で入力されたデータを格納するためのデータメモリ(図示せず)における特定の領域であってもよい。また、デバイス6は、PLC5内のメモリにおける特定の領域であってもよい。
The device 6 may be a specific area in a data memory (not shown) for storing data manually input from the
PLC5内のメモリ(デバイスメモリ)は、デバイス6の状態(デバイス6からの出力値やデバイス6への設定値)を示すデータ(ワードデータやビットデータ)を、デバイスアドレスで特定される領域に格納している。上記メモリにおいて、ワードデバイスとビットデバイスとが設定される。ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、メモリ内の任意のワードデバイスまたはビットデバイスをデバイスアドレスを指定してアクセスするだけでデバイス6を制御し、またはその状態に関する情報を個別に取り出すことができる。
The memory (device memory) in the
以降の説明では、デバイスアドレスを適宜、アドレスと称する。 In the following description, the device address is appropriately referred to as an address.
プログラマブル表示器2は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用の画像データを表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。制御システム1のHMI機器として好適に使用されるプログラマブル表示器2は、後述する処理規定情報(タグ)を組み合わせて決定される画像データに基づいて、デバイス6の状態を画面表示する際の動作や、画面への操作に応じてデバイス6の状態を制御するときの動作を特定する。
The
このプログラマブル表示器2は、通信ケーブル7を介したPLC5との通信により、PLC5を介して表示画面に状態を表示する各デバイス6の状態を取得し、例えば、後述のスクリーン24に各デバイス6の状態を表示する機能を有する。また、プログラマブル表示器2は、後述のタッチパネル25への操作に応じて、デバイス6へデバイスの状態制御を指示する機能を有する。
This
なお、デバイス6の状態の取得/変更は、その都度指示してもよいし、プログラマブル表示器2内に一時的なメモリ空間を用意し、取得/変更時には、当該メモリ空間へアクセスするとともに、所定の時間間隔毎や所定のイベント毎にPLC5と通信して各々のアドレスが割り当てられた実体と同期を取ってもよい。
The acquisition / change of the state of the device 6 may be instructed each time, or a temporary memory space is prepared in the
プログラマブル表示器2は、上記の機能を実現するために、HMI制御部21と、メモリ部22と、VRAM23と、スクリーン24と、タッチパネル25と、入力装置26と、インターフェース部(図中、I/F)27,28と、パススルー機能部29とを備えている。以下、プログラマブル表示器2の主要各部について詳細に説明する。
In order to realize the above functions, the
VRAM23は、メモリ部22のデータメモリ222から呼び出された画像データのイメージをスクリーン24に表示するために、水平方向に表示される順にドットデータとして格納する。スクリーン24は、プログラマブル表示器2を薄型に構成するために、液晶スクリーン、ELスクリーン、プラズマスクリーンなどのような平板型スクリーンが好適に用いられる。タッチパネル25は、スクリーン24の表示画面上でタッチ入力を行うために設けられている。
In order to display the image of the image data called from the
入力装置26は、キーボードやマウスなどのプログラマブル表示器2に着脱可能に外部接続される入力装置である。この入力装置26は、サーバコンピュータ3における後述のアプリケーション部33の各アプリケーションプログラムを実行したときに行う操作のために好適に用いられる。
The
インターフェース部27は、プログラマブル表示器2がサーバコンピュータ3およびサーバコンピュータ3との間の通信を行うための通信制御部であり、ネットワーク4に接続されている。このインターフェース部27は、サーバコンピュータ3のIPアドレスに基づくネットワーク通信を行うことができるように構成される。
The
一方、インターフェース部28は、プログラマブル表示器2がPLC5との間の通信を行うための通信制御部である。このインターフェース部28は、PLC5がシリアル通信を行う機種である場合にシリアル通信制御を行う一方、PLC5がネットワーク通信を行う機種である場合にネットワーク通信を行うように構成されている。インターフェース部28は、シリアル通信制御を行う場合、PLC5のメーカや機種に応じた通信プロトコルを用いて通信を行う。
On the other hand, the
パススルー機能部29は、PLC5とサーバコンピュータ3との間の通信(シリアル通信やネットワーク通信など)をプログラマブル表示器2内でパススルーして行う通信ポートである。このパススルー機能部29は、プログラマブル表示器2がPLC5からインターフェース部28を介して受信したデータをそのままサーバコンピュータ3に送信するので、サーバコンピュータ3から見て、あたかもPLC5の通信ポートであるかのように振る舞う。
The pass-through
メモリ部22は、作業メモリ221と、データメモリ222とを含んでいる。
The
作業メモリ221は、例えば、DRAMによって構成されており、表示制御などの演算処理時の作業用に用いられる他、PLC5との間でやり取りされるデータの一時的な記憶に用いられる。特に、DRAMは、PLC5のメモリに格納されるデバイス6の状態(デバイスアドレスの内容)をPLC5のメモリとの間で受け渡しするための状態メモリ領域を有している。
The
また、作業メモリ221は、サーバコンピュータ3から伝送された画像データを一時的に退避・複写する領域としても利用される。ここで、この特定の領域はリングバッファ状に配され、一定の容量で最新の画像データを退避・複写している。
The
データメモリ222は、画像データ、上記の通信プロトコルなどを格納するためのメモリであり、FEPROM(Flash Erasable and Programmable ROM)が用いられる。FEPROMは、書き替え可能な読み出し専用のフラッシュメモリであるので、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。
The
画像データは、プログラマブル表示器2に表示される1つ以上のユーザ画像(1フレーム分の画像データによって構成される単位画像)のデータをまとめた画像ファイルである。画像データは、通常、ターゲットシステムやターゲットシステムで製造される製品などに応じた一連の関連する複数の画像データがひとまとまりのプロジェクトファイルとして用意される。
The image data is an image file in which data of one or more user images (unit images composed of image data for one frame) displayed on the
プログラマブル表示器2は、上記のプロジェクトファイルから各画像番号に付与される固有の画像番号に基づいて1つの画像データを選択して、その画像データに基づいてユーザ画像を表示する。
上記の画像データは、スクリーン24に表示すべきベース画像や部品のデータおよび各部品に付与された後述する処理規定情報などを含んでいる。この画像データは、図形データ部およびアドレスデータ部を含んでいる。図形データ部は、ユーザが作成したマークについての図形データや選択された部品を格納し、アドレスデータ部は、図形データ部に対応するように、入力されたマークや部品について、前記のアドレスおよびアドレスに対応するコメントを格納している。具体的には、図形データ部におけるマークや部品の個々は、アドレスデータ部においてそれぞれ対応するコメントおよびアドレスと対応付けられている。
The image data includes a base image to be displayed on the
コメントとしては、デバイス6の動作状態(起動、停止等)のような事象名や、スイッチに対応するSWやランプに対応するLAMPのようなデバイス6に対応する符号や、操作指示や、制御対象となる物理量などが挙げられる。また、コメントは、変数として扱うこともできる。このように定義されるコメントは、デバイス6に対応する所望のデバイスアドレスに予め対応付けられている。 Comments include event names such as the operating status (start, stop, etc.) of the device 6, codes corresponding to the device 6 such as SW and lamp corresponding to the switch, LAMP, operation instructions, and control targets The physical quantity that becomes. Comments can also be handled as variables. The comment defined in this way is associated with a desired device address corresponding to the device 6 in advance.
上記の処理規定情報(タグ)は、ユーザ画像に関連して行われる各種の処理を規定する。この処理規定情報は、ベース画像上で実行されるべき事象毎に作成されており、基本的には、表示処理を実行すべきベース画像のファイル番号(画像番号)と、このベース画像上で実行すべき動作内容を特定する事象名と、各実行事象毎に参照される1または複数のデータからなる参照情報とを一組として備えている。 The processing definition information (tag) defines various types of processing performed in relation to the user image . The process specification information is created for each event to be performed on the base image, basically, the file number (image number) of the base image to be performed display processing, performed on this base image An event name for specifying the operation content to be performed and reference information including one or a plurality of data referred to for each execution event are provided as a set.
本実施の形態に係るプログラマブル表示器2では、上記のタグとして、ベース画像上の領域(表示範囲)とその領域への表示に対応するデバイスのデバイスアドレスとの対応を示す表示タグ、および画面上の領域(入力範囲)とその領域へのタッチ入力に対応するアドレスとの対応を示すタッチ入力タグが規定されている。さらに、本実施形態では、各タグは、複数のユーザ画像の少なくとも1つと関連付けることができる。
In the
さらに、画像データは、サーバコンピュータ3の後述するVNCサーバ36から取得した画像データを表示するための領域(VNC表示領域)を定める座標などの表示領域データを含んでいる。また、この画像データは、VNC表示領域に画像データを表示するためのトリガの条件(トリガ条件)などを含んでいる。トリガ条件としては、例えば、ユーザ画像上の所定のスイッチがタッチされることや、PLC5の所定のビットアドレスのビットデータの変化などが挙げられる。
Further, the image data includes display area data such as coordinates for defining an area (VNC display area) for displaying image data acquired from the
HMI制御部21は、HMI制御プログラムをプログラマブル表示器2が備えるCPUなどの演算処理手段に実行させることにより実現される機能ブロックである。上記のHMI制御プログラムは、プログラマブル表示器2と分離可能に構成される記録媒体にも記録可能であり、その記録媒体からプログラマブル表示器2にインストールされてもよい。HMI制御プログラムは、プログラマブル表示器2の機種に応じた機能を発揮させるために、機種毎に個別に用意されている。
The
上記の記録媒体は、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。 The above recording media include tape systems such as magnetic tapes and cassette tapes, magnetic disk systems such as flexible disks and hard disks, optical disk systems such as CD-ROM, MO, MD, and DVD, IC cards (including memory cards), optical A card system such as a card is preferred. In addition, the program medium may be a medium that carries a fixed program including a semiconductor memory such as a mask ROM, EPROM, EEPROM, flash ROM, or the like.
また、本制御システム1が、インターネットを含む通信ネットワークと接続可能に構成されていれば、当該通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めプログラマブル表示器2に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。
Further, if the control system 1 is configured to be connectable to a communication network including the Internet, it may be a medium that carries the program in a fluid manner so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in advance in the
このHMI制御部21は、ユーザ画像の表示制御、ユーザ画像を介した入力操作の制御、PLC5などの接続機器との通信の制御といったHMI機能の中心的な制御動作を行う。また、HMI制御部21は、VNC(Virtual Network Computing)クライアント部211、表示処理部212、入力処理部213およびデータ配信部214を有している。
The
VNCクライアント部211は、サーバコンピュータ3と通信可能に接続して、サーバコンピュータ3の後述するVNCサーバ36と通信を行う。VNCクライアント部211は、この通信によって、VNCサーバ36へ接続を要求したり、VNCサーバ36から取得した画像データを表示処理部212に渡したり、入力処理部213からのトリガ条件をVNCサーバ36へ送信したり、プログラマブル表示器2のIDを送信したりする。VNCクライアント部211は、上記の処理を行うために、サーバコンピュータ3を遠隔操作するためのVNCのクライアント機能を有している。プログラマブル表示器2は、上記のVNCクライアント部211を備えることにより、リモートアクセスクライアントとして機能する。
The
表示処理部212は、デバイス6の状態を取得してユーザ画像に表示する処理を行う。この表示処理部212は、PLC5内のメモリに設定される前述のビットデバイスまたはワードデバイスが示す状態情報のうち、必要な情報を適時に作業メモリ221に読み込む一方、上記の表示タグを繰り返し読み出して、表示タグで指定された表現形式の部品を読み出した値に応じた形態で画面上の指定された領域へスクリーン24に表示させる。これによって、ビットデバイスまたはワードデバイスの状態の変化に応じて変化する表示動作が実行され、PLC5から取得したデバイス6の状態がユーザ画像における部品の表示状態に反映される。また、表示処理部212は、VNCクライアント部211が受信したVNCサーバ36からの画像データを画面に設けられた前述のVNC表示領域に表示する。
The
入力処理部213は、ユーザ画像上でのタッチパネル25を介した入力(タッチ入力や数値入力)によってデバイス6に制御指示を与える処理を行う。この入力処理部213は、前述の入力タグを繰り返し読み出して、入力タグにおける参照情報に含まれる、ユーザ画像の所定の領域における入力位置を特定するための範囲(入力が有効となる有効入力座標範囲)、およびタッチパネル25の操作(数値入力操作、ON/OFF操作など)を特定する事象名などで特定される内容の動作をPLC5内のメモリにビットデバイスまたはワードデバイスとして設定する。例えば、数値入力操作であれば、ワードデバイスに制御指示として数値データなどが書き込まれ、ON/OFF操作であれば、ビットデバイスに制御指示として新たなビットの状態が書き込まれる。これによって、PLC5において、設定された制御指示が上記の動作として実行され、デバイス6の状態が変化する。また、入力処理部213は、サーバコンピュータ3から画像データを取得するための前述のトリガ条件をVNCクライアント部211に渡す。
The
データ配信部214は、予め指定された条件が満たされると、指定されたデータ配信元からデータ配信先にデータを配信する。データ配信元およびデータ配信先となる機器は、例えば、PLC5、プログラマブル表示器2(自機または他機)、サーバコンピュータ3を含むネットワーク4に接続される機器である。配信条件としては、例えば、所定時間毎、ビットデバイスのビットの変化(ONからOFFまたはOFFからON)、プログラマブル表示器2の電源投入時などが挙げられる。
The
また、データ配信部214は、PLC5がシリアル通信をする機種である場合、PLC5の通信プロトコルをネットワーク4での通信プロトコルに変換する。具体的には、データ配信部214は、データメモリ222などに格納されているプロトコル変換データを参照しながら、送信データにおける命令コードの変換や引数の変換あるいは伝送時の制御コードの変換などのプロトコル変換を行って、サーバコンピュータ3とプログラマブル表示器2に接続されたPLC5との通信を中継する。
In addition, when the
続いて、サーバコンピュータ3について説明する。サーバコンピュータ3は、一般の汎用パーソナルコンピュータと同様に、CPU、メモリ(RAM、ROMなど)、外部記憶装置(ハードディスクドライブ、MOドライブなど)、表示装置および入力装置(キーボード、マウスなど)を有している。また、サーバコンピュータ3は、インターフェース部(図中、I/F)31、イベントマネージャ32、アプリケーション部33、データコレクタ34、データ処理プログラム35、VNCサーバ36、記憶装置37、表示処理部38、VRAM39および仮想COM40を備えている。
Next, the server computer 3 will be described. The server computer 3 has a CPU, a memory (RAM, ROM, etc.), an external storage device (hard disk drive, MO drive, etc.), a display device and an input device (keyboard, mouse, etc.) as in a general-purpose personal computer. ing. The server computer 3 includes an interface unit (I / F in the figure) 31, an
インターフェース部31は、プログラマブル表示器2との間の通信を行うためにネットワーク4に接続されている。
The
イベントマネージャ32は、予め定められているバッチコマンドから、プログラマブル表示器2のVNCクライアント部211から送信されてくるトリガ条件を入力イベントとしてとらえ、その入力イベントに応じたバッチコマンドを指定して実行する。具体的には、イベントマネージャ32は、バッチコマンドを実行することによって、アプリケーション部33における各アプリケーションプログラムのうち指定されたアプリケーションプログラムを起動する。例えば、プログラマブル表示器2において表示されているユーザ画像上でのタッチ入力によって指定されたPDFファイルを開くといった処理を行う。
The
アプリケーション部33は、イベントマネージャ32によって起動される各種のアプリケーションプログラムとして、画像エディタ331、ラダーエディタ332、ビューワ333、ブラウザ334を含んでいる。
The
画像エディタ331は、ユーザ独自の画像であるユーザ画像を作成できるように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品、各種のタグ設定機能、描画機能、テキスト入力機能などを備えている。画像エディタ331は、ユーザによって作成された画像データを記憶装置37にファイル形式で保存し、必要に応じてプログラマブル表示器2にダウンロードする。
The
また、画像エディタ331は、ユーザのマウス操作などによってベース画像上に指定された範囲を前述のVNC表示領域として定め、これによって決定した座標などの表示領域データを画像データに持たせる。また、画像エディタ331は、ユーザによって設定された前述のトリガ条件も画像データに持たせる。
In addition, the
ラダーエディタ332は、デバイス6が所望のシーケンスにしたがって動作するようにPLC5の制御手順を定める前述のラダープログラムを作成するためのプログラミングソフトウェアである。このラダーエディタ332は、サーバコンピュータ3の図示しないディスプレイの表示画面上でデバイス6に対応するラダー記号や演算処理などの各種処理を表すラダー記号を配置してラダー図(ラダープログラム)を作成できるように構成されている。また、ラダーエディタ332は、アドレスとユーザにより設定されたコメント(変数)との対応付けを行う。この割り付けの結果は、ラダープログラムの一部として保存される。ラダーエディタ332は、ユーザによって作成されたラダープログラムを記憶装置37にファイル形式で保存し、必要に応じてPLC5にダウンロードする。
The
また、ラダーエディタ332は、PLC5におけるラダープログラムの実行状況を表示するラダーモニタ機能を有している。このため、ラダーエディタ332は、サーバコンピュータ3の仮想COM40とプログラマブル表示器2のパススルー機能部29とを介してPLC5と通信を行って、PLC5からデバイスデータを取得する。
The
ビューワ333は、記憶装置37に保存されているデータファイルの内容を表示するソフトウエアである。ビューワ333としては、PDFファイル、CADファイル、テキストファイルなどの各種のデータファイルを表示するためのソフトウエアが用意されている。
The
ブラウザ334は、インターネット上のWebサーバで公開されているデータファイルをダウンロードして、表示したり再生したりするためのソフトウエアである。
The
データコレクタ34は、プログラマブル表示器2のデータ配信部214から配信されたデータを収集するため、データ処理プログラム35に収集したデータを処理させて、配信データファイルとして記憶装置37に保存させる。また、データコレクタ34は、ポーリングを行って、プログラマブル表示器2などからの送信要求の有無を問い合わせる。
In order to collect the data distributed from the
データ処理プログラム35は、データコレクタ34から渡されたデータを処理するためのアプリケーションプログラムである。データ処理プログラム35としては、例えば、表計算プログラムなどが用意されている。表計算プログラムをデータ処理プログラム35として用いる場合、データコレクタ34によって収集されたデータを指定されたセルに指定された順で書き込んだり、データをグラフ化したりといった処理が行われる。
The
表示処理部38は、イベントマネージャ32によって起動されたアプリケーションプログラムによって開かれたファイルを表示したり、データコレクタ35によって起動されたデータ処理プログラムによって開かれた配信データファイルを表示したりするために、ファイル内容の画像をVRAM39に展開して表示する。
The
仮想COM40は、ラダーエディタ332がPLC5と接続(ハンドシェイク)するときに、通常の通信経路ではなくプログラマブル表示器2のパススルー機能部29を介して通信を行うようにデータ伝送を制御する。この仮想COM40を用いることにより、ラダーエディタ332とPLC5との間で、仮想COM40、パススルー機能部29およびインターフェース部28を介した通信が行われる。
When the
VNCサーバ36は、前述のVNCクライアント部211とVNCプロトコルで通信する。このVNCサーバ36は、VNCクライアント部211からの画像データの送信要求に応じて、現在表示している画像のうち指定された領域の画像の画像データをVRAM39から読み出してVNCクライアント部211に送信する。また、VNCサーバ36は、表示内容が更新された場合、変化分(差分)の画像データのみをVNCクライアント部211に送信する。
The
上記のイベントマネージャ32、データコレクタ34、VNCサーバ36、表示処理部38および仮想COM40はプログラムであり、サーバコンピュータ3が実行することによって実現される機能ブロックである。イベントマネージャ32、データコレクタ34、VNCサーバ36、表示処理部38および仮想COM40は、サーバコンピュータ3と分離可能に構成される記録媒体に記録可能であり、この記憶媒体からサーバコンピュータ3にインストールすることが可能である。この記録媒体は、前述のHMI制御プログラムが記録される記録媒体と同様なコンピュータ読み取り可能な記録媒体である。なお、表示処理部38は、サーバコンピュータ3のOS(オペーティングシステム)によって実現される機能であってもよい。
The
ここで、上記のように構成される制御システム1におけるプログラマブル表示器2によるサーバコンピュータ3のリモートアクセスの動作について図2の処理フローを参照して説明する。
Here, the remote access operation of the server computer 3 by the
まず、プログラマブル表示器2とPLC5とは、非同期で繰り返しのデータ送受信を行う。プログラマブル表示器2(HMI制御部21)は、PLC5にハンドシェイクの要求を送信すると、PLC5はハンドシェイクが確立したことをプログラマブル表示器2に送信する。これにより、プログラマブル表示器2とPLC5との間でデータの送受信が可能となる。この状態で、プログラマブル表示器2から指定されたデバイスのデータが要求されると、PLC5は当該デバイスのデータをプログラマブル表示器2に送信する。また、プログラマブル表示器2が指定されたデバイスのデータを書き込むために当該データをPLC5に送信すると、PLC5は該当するデバイスアドレスに受信したデータを書き込む。
First, the
このようにして、プログラマブル表示器2とPLC5との間でデータの送受信が行われる。
In this way, data transmission / reception is performed between the
プログラマブル表示器2において、表示されている画面上でユーザによるタッチ操作や、PLC5における指定ビットデバイスの変化などによるトリガ条件が成立すると、そのトリガ条件が入力イベントとしてVNCクライアント部211からサーバコンピュータ3に送信される。サーバコンピュータ3のイベントマネージャ32は、その入力イベントを受けると、バッチコマンドを実行することにより、バッチコマンドで指定されているアプリケーション部33のアプリケーションプログラムを起動して、バッチコマンドで指定されている処理をアプリケーションプログラムに実行させる。
In the
この結果、起動したアプリケーションにより記憶装置37のファイルやWebサーバのファイルが開かれて、そのファイルの内容を示す画像が表示処理部38によってVRAM39に展開されて表示される。
As a result, the file of the
また、プログラマブル表示器2(データ配信部214)からデータが配信されると、サーバコンピュータ3のデータコレクタ34は、データ処理プログラム35を起動して、受信したデータをデータ処理プログラム35に処理させる。データ処理プログラム35は、処理した結果を配信データファイルとして記憶装置37に保存する。また、データ処理プログラム35が起動されて配信データファイルが開かれている状態では、その内容を示す画像が表示処理部38によってVRAM39に展開されて表示される。
When data is distributed from the programmable display device 2 (data distribution unit 214), the
この状態で、プログラマブル表示器2(VNCクライアント部211)からサーバコンピュータ3のVNCサーバ36に対して接続が要求されると、VNCサーバ36は、プログラマブル表示器2対してID(例えばプログラマブル表示器2のIPアドレス)の送信を要求する。VNCサーバ36は、プログラマブル表示器2からIDが送信されると、現在表示されている画像の指定された領域の画像データをプログラマブル表示器2に送信する。
In this state, when a connection is requested from the programmable display 2 (VNC client unit 211) to the
プログラマブル表示器2においては、VNCクライアント部211が受信した画像データを表示処理部212に渡して表示させる。表示処理部212は、受け取った画像データをVRAM23に展開してディスプレイ24に表示する。この結果、プログラマブル表示
器2においても、サーバコンピュータ3で表示される画像と同じ画像が表示される。
In the
また、サーバコンピュータ3での表示内容が変更されると、変更分の画像データがVNCサーバ36からVNCクライアント部211に送信される。この結果、プログラマブル表示器2においては、サーバコンピュータ3での表示の変更が同様に反映される。
When the display content on the server computer 3 is changed, the changed image data is transmitted from the
例えば、アプリケーションプログラムとして画像エディタ331が起動されているときには、図3に示すように、サーバコンピュータ3において、作画ウインドウ101が表示されており、当該作画ウインドウ101上でユーザ画像102の作成や編集を行うことが可能である。また、上記のような動作により、プログラマブル表示器2においても、ユーザ画像102を含む作画ウインドウ101が表示されており、ユーザが入力装置26を用いて作画ウインドウ101上のユーザ画像102に対して編集操作を行うと、その操作が入力イベントとしてサーバコンピュータ3に送信される。イベントマネージャ32が、その入力イベントに応じたバッチコマンドを実行することにより、画像エディタ331は上記の入力イベントに応じた処理を行う。
For example, when the
このようにして、プログラマブル表示器2において表示された作画ウインドウ101上でユーザ画像102を作成したり編集したりするだけでなく、作成後のユーザ画像102(画像データ)をプログラマブル表示器2にダウンロードすることができる。それゆえ、プログラマブル表示器2が設置されている現場でユーザ画像102を修正することができる。
In this way, not only the
また、アプリケーションプログラムとしてラダーエディタ332が起動されているときには、図4に示すように、サーバコンピュータ3において、ラダーウインドウ201が表示されており、当該ラダーウインドウ201上でラダープログラム202の作成や編集を行うことが可能である。また、プログラマブル表示器2においても、ラダープログラム202を含むラダーウインドウ201が表示されており、ユーザが入力装置26を用いてラダーウインドウ201上のラダープログラム202に対して編集操作を行うと、その操作が入力イベントとしてサーバコンピュータ3に送信される。イベントマネージャ32が、その入力イベントに応じたバッチコマンドを実行することにより、ラダーエディタ332は上記の入力イベントに応じた処理を行う。
When the
このようにして、プログラマブル表示器2において表示されたラダーウインドウ201上でラダープログラム202を作成したり編集したりするだけでなく、作成後のラダープログラ202ムをPLC5にダウンロードすることができる。それゆえ、プログラマブル表示器2が設置されている現場でラダープログラム202を修正することができる。
In this way, not only can the
ラダーエディタ332が起動されている状態でラダーモニタを行うときには、サーバコンピュータ3の仮想COM40とプログラマブル表示器2のパススルー機能部29とを介して、ラダーエディタ332とPLC5との間でデータの送受信が行われる。このとき、モニタするラダープログラム202が記憶装置37から読み出されて、作成時と同様に、ラダーウインドウ201に表示され、PLC5から取得したデバイスデータによる変化がラダープログラム202に反映させる。これにより、ラダープログラムの実行状況をリアルタイムに確認することができる。この画像は、勿論、VNCサーバ36とVNCクライアント部211との間の通信によって、プログラマブル表示器2でも表示される。
When performing ladder monitoring with the
また、アプリケーションプログラムとしてビューワ333が起動されているときには、データファイルが開かれており、表示処理部38によってその内容の画像が表示される。この画像の指定された領域の部分の画像データは、VNCサーバ36からVNCクライアント部211に送信されることにより、プログラマブル表示器2においても表示される。具体的には、図5に示すように、ユーザ画像103がプログラマブル表示器2に表示されているとき、ユーザ画像103に設けられたVNC表示領域103aに上記の部分画像データの画像が表示される。この画像は、例えば、PDFファイル(データファイル)に記載された操作手順であったり、トラブル発生時の回避マニュアルであったりする。
When the
また、アプリケーションプログラムとしてブラウザ334が起動されているときには、ブラウザ334がインターネット上のWebサーバからサーバコンピュータ3の作業メモリ(図示せず)にダウンロードしたデータファイルが表示処理部38によって表示される。その表示画像も、ビューワ333で表示した画像と同様に、プログラマブル表示器2において、上記のVNC表示領域103aに表示される。これにより、ユーザ画像103を表示しているときに、VNC表示領域103aに表示されたWebページを見ることができ、プログラマブル表示器2のメーカが公開するWebページからプログラマブル表示器2のメンテナンスなどの情報を得ることができる。
When the
また、データコレクタ34の指示によってデータ処理プログラム35が起動しているときには、配信データファイルが開かれており、表示処理部38によってその内容の画像が表示される。この画像の指定された領域の部分の画像データは、VNCサーバ36からVNCクライアント部211に送信されることにより、プログラマブル表示器2においても、VNC表示領域103aに表示される。これにより、データ処理プログラム35によって配信データを基に作成されたグラフなどの画像をVNC表示領域103aに表示させることができる。それゆえ、上記のようなグラフもあたかもユーザ画像103の一部であるかのように扱うことができる。
Further, when the
以上のように、本実施の形態の制御システム1は、プログラマブル表示器2がVNCクライアント部211を備えるとともに、サーバコンピュータ3が、イベントマネージャ32、データコレクタ34およびVNCサーバ36を備えている。これにより、プログラマブル表示器2からの要求に応じてサーバコンピュータ3において指定したアプリケーションプログラムを起動して指定したファイルを開き、そのファイルの内容の画像をプログラマブル表示器2でも表示することができる。また、プログラマブル表示器2における操作に応じて、アプリケーションプログラムに処理を行わせることができる。
As described above, in the control system 1 of the present embodiment, the
このように、プログラマブル表示器2がサーバコンピュータのリソースを利用して、その結果をPLC5の制御に反映させることができる。それゆえ、プログラマブル表示器2が設置された現場にパーソナルコンピュータを別途設置する必要がなく、生産現場の省スペース化を図ることができる。また、余分な機器を導入する必要がなくなり、制御システム1の維持管理コストの増大を抑えることも可能となる。さらに、プログラマブル表示器2にアプリケーションプログラムを移植する必要もなくなり、そのための多大な開発工数や、移植後のアプリケーションプログラムが正常に動作しなくなるといった不都合も生じることはない。
Thus, the
したがって、プログラマブル表示器2を含む制御システム1のメンテナンス性を大幅に向上させることが可能となる。
Therefore, the maintainability of the control system 1 including the
なお、本実施の形態では、制御装置としてPLC5を用いた例について説明したが、制御装置としてはPLC5に限定されない。例えば、制御装置は、インバータや温調計のように、プログラマブル表示器2とデータ通信可能である制御機器であればよい。
In the present embodiment, the example in which the
本発明は、上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.
本発明のプログラマブル表示器は、サーバコンピュータにアクセスすることによって、サーバコンピュータにおいて、アプリケーションプログラムを起動されて、アプリケーションプログラムが開くデータファイルの表示画像がプログラマブル表示器に送信されるので、プログラマブル表示器からサーバコンピュータのリソースを有効に利用する制御システムなどに好適に利用できる。 In the programmable display of the present invention, the application program is started in the server computer by accessing the server computer, and the display image of the data file opened by the application program is transmitted to the programmable display. The present invention can be suitably used for a control system that effectively uses the resources of a server computer.
1制御システム
2プログラマブル表示器
3サーバコンピュータ
4ネットワーク
5PLC(制御装置)
21HMI制御部
23VRAM
24スクリーン
25タッチパネル
32イベントマネージャ(プログラム制御手段)
33アプリケーション部
34データコレクタ(プログラム制御手段)
35データ処理プログラム
36VNCサーバ(画像データ送信手段)
37記憶装置
38表示処理部(プログラム表示手段)
39VRAM
211VNCクライアント部(トリガ送信手段,画像データ受信手段)
212表示処理部(画像データ表示手段)
213入力処理部
331画像エディタ(アプリケーションプログラム)
332ラダーエディタ(アプリケーションプログラム)
333ビューワ(アプリケーションプログラム)
334ブラウザ(アプリケーションプログラム)
1
21HMI controller 23VRAM
24
33
35
37
39VRAM
211 VNC client unit ( trigger transmission means, image data reception means)
212 display processing unit ( image data display means)
213
332 ladder editor (application program)
333 viewer (application program)
334 browser (application program)
Claims (15)
当該プログラマブル表示器は、当該制御装置と相互に通信することによって、当該プログラマブル表示器の画面上での操作にしたがって当該制御装置への制御指示を与え、当該制御装置の制御状態を当該プログラマブル表示器の画面上に表示するとともに、当該サーバコンピュータと相互に通信することによって、当該サーバコンピュータの画面上に表示される画像を当該プログラマブル表示器の画面上に表示するプログラマブル表示器である制御システムにおいて、
当該プログラマブル表示器は、
当該制御装置の動作によって発生するトリガや当該プログラマブル表示器の画面上の操作にしたがって発生するトリガを当該サーバコンピュータへ送信するトリガ送信手段と、
当該サーバコンピュータにおいてアプリケーションプログラムが制御されることによって当該サーバコンピュータの画面上に表示される画像の画像データの送信を当該サーバコンピュータに要求する画像データ送信要求手段と、
当該画像データ送信要求手段による要求に対して当該サーバコンピュータから要求されるIDを送信するID送信手段と、
当該ID送信手段によるIDの送信に対して当該サーバコンピュータから送信された当該画像データを受信する画像データ受信手段と、
当該画像データ受信手段によって受信された画像データを当該プログラマブル表示器の画面上に表示する画像データ表示手段を備えており、
当該サーバコンピュータは、
当該トリガ送信手段によって送信されたトリガを受信するトリガ受信手段と、
当該トリガ受信手段によって受信されたトリガに応じたバッチコマンドを実行することにより、指定されたアプリケーションプログラムを起動することで当該アプリケーションプログラムを制御するプログラム制御手段と、
当該プログラム制御手段によって制御されるアプリケーションプログラムの画像データを当該サーバコンピュータの画面上に表示するプログラム表示手段と、
当該プログラム表示手段によって当該サーバコンピュータの画面上に表示するアプリケーションプログラムの画像データの送信を当該画像データ要求手段によって要求されると、当該IDの送信を当該ID送信手段に要求するID送信要求手段と、
当該ID送信要求手段の要求に応じて当該ID送信手段から送信された当該IDを受信すると、当該画像データを当該プログラマブル表示器に送信する画像データ送信手段を備えていることを特徴とする制御システム。 A control system comprising a control device, a programmable display and a server computer,
The programmable display device gives a control instruction to the control device according to an operation on the screen of the programmable display device by communicating with the control device, and displays the control state of the control device in the programmable display device. In a control system which is a programmable display that displays an image displayed on the screen of the server computer by displaying the image on the screen of the programmable display by communicating with the server computer.
The programmable display is
Trigger transmitting means for transmitting a trigger generated by the operation of the control device and a trigger generated according to an operation on the screen of the programmable display to the server computer;
Image data transmission requesting means for requesting the server computer to transmit image data of an image displayed on the screen of the server computer by controlling an application program in the server computer ;
ID transmitting means for transmitting an ID requested from the server computer in response to a request from the image data transmission requesting means;
Image data receiving means for receiving the image data transmitted from the server computer in response to transmission of the ID by the ID transmitting means ;
Image data display means for displaying the image data received by the image data receiving means on the screen of the programmable display,
The server computer
Trigger receiving means for receiving the trigger transmitted by the trigger transmitting means;
A program control means for controlling the application program by starting a designated application program by executing a batch command corresponding to the trigger received by the trigger receiving means;
Program display means for displaying image data of an application program controlled by the program control means on the screen of the server computer;
An ID transmission requesting unit for requesting the ID transmission unit to transmit the ID when the image data requesting unit requests transmission of image data of the application program displayed on the screen of the server computer by the program display unit; ,
A control system comprising image data transmitting means for transmitting the image data to the programmable display when receiving the ID transmitted from the ID transmitting means in response to a request from the ID transmission requesting means .
前記プログラマブル表示器が画面上に表示する画像の表示用画像データが、前記画像データ送信手段から取得した画像データを表示するための表示領域を定める表示領域データと、取得した画像データを当該表示領域に表示するための前記トリガとを含んでいることを特徴とする請求項1に記載の制御システム。 Ri display program der for the application program to display the data file,
Display image data for an image to be displayed on the screen by the programmable display is display area data for defining a display area for displaying the image data acquired from the image data transmitting means, and the acquired image data is displayed in the display area. The control system according to claim 1, further comprising: the trigger for displaying on the screen .
前記サーバコンピュータは、当該制御装置データ送信手段によって送信される制御装置データを受信する制御装置データ受信手段を備え、
前記アプリケーションプログラムが当該制御装置データ受信手段が受信した制御装置受信データを処理する制御装置データ処理プログラムであることを特徴とする請求項1に記載の制御システム。 The programmable display includes a control device data transmission means for transmitting data from the control device to the server computer when a predetermined transmission condition is satisfied,
The server computer includes control device data receiving means for receiving control device data transmitted by the control device data transmitting means,
The control system according to claim 1, wherein the application program is a control device data processing program for processing control device reception data received by the control device data receiving means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006205442A JP4509979B2 (en) | 2006-07-27 | 2006-07-27 | CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006205442A JP4509979B2 (en) | 2006-07-27 | 2006-07-27 | CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2008033575A JP2008033575A (en) | 2008-02-14 |
| JP2008033575A5 JP2008033575A5 (en) | 2008-12-25 |
| JP4509979B2 true JP4509979B2 (en) | 2010-07-21 |
Family
ID=39122932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006205442A Active JP4509979B2 (en) | 2006-07-27 | 2006-07-27 | CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4509979B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4970404B2 (en) * | 2008-10-30 | 2012-07-04 | 株式会社デジタル | Editor device and program |
| JP7052620B2 (en) * | 2018-07-30 | 2022-04-12 | オムロン株式会社 | Support equipment and support programs |
| JP2021071837A (en) * | 2019-10-30 | 2021-05-06 | 株式会社ジェイテクト | Operation state display system and screen information generation device |
| JP7672859B2 (en) * | 2021-04-01 | 2025-05-08 | 株式会社キーエンス | Programming support device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3712640B2 (en) * | 2001-07-23 | 2005-11-02 | 株式会社デジタル | Editor device and recording medium recording editor program |
| JP4329390B2 (en) * | 2003-04-23 | 2009-09-09 | 株式会社デジタル | Programmable display, program, server device, data communication method and data communication system. |
| JP4500718B2 (en) * | 2004-06-23 | 2010-07-14 | キヤノン株式会社 | Information processing apparatus, image processing apparatus, remote operation system and control method thereof |
| CN101057227A (en) * | 2004-10-06 | 2007-10-17 | 同步加株式会社 | Synchronization system and synchronization program |
| JP2006155327A (en) * | 2004-11-30 | 2006-06-15 | Hitachi Systems & Services Ltd | Remote operation system for computer |
-
2006
- 2006-07-27 JP JP2006205442A patent/JP4509979B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008033575A (en) | 2008-02-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6175206B1 (en) | Robot information processor | |
| US7500597B2 (en) | Configurable interface configuration method and system using a remote interface | |
| JP4322770B2 (en) | Screen creation device, screen creation program, and recording medium recording the same | |
| JP5875555B2 (en) | Image creation system | |
| JP4554570B2 (en) | Programmable display, control program and recording medium recording the same, and control system, client program and recording medium recording the same | |
| JP3897970B2 (en) | Editor device and recording medium recording editor program | |
| JP4509979B2 (en) | CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
| JP6856153B2 (en) | Equipment maintenance equipment, equipment maintenance methods, equipment maintenance programs and recording media | |
| JP4916170B2 (en) | Programmable display, server and program thereof | |
| JP2006072442A (en) | Control system | |
| WO2021044654A1 (en) | Information processing system, programmable display device, and information processing device | |
| JP3512705B2 (en) | Screen simulation system for programmable display, screen simulation method, and recording medium recording program for screen simulation | |
| JP2008033575A5 (en) | ||
| CN103069353A (en) | Facility management device, screen display method, and recording medium | |
| JP4322780B2 (en) | Screen creation device, screen creation program and recording medium | |
| JP4335109B2 (en) | Screen creation device, screen creation program, and recording medium recording the same | |
| JP4566904B2 (en) | System, control program and recording medium recording the program, and image data creation program and recording medium recording the program | |
| JP2006099566A (en) | Screen forming device, screen forming program and storage medium recording the same | |
| JP2008033572A (en) | Screen generating apparatus, screen generating program and recording medium for recording this program | |
| JPH0973383A (en) | HMI management system and management method | |
| WO2007106085A1 (en) | Configurable human-machine interface configuration method and system using a remote interface | |
| JP2007065914A (en) | Screen generation device and program, and recording medium recording program | |
| JP2009009498A (en) | Programmable display, data distribution program, recording medium with the program recorded, and data collection system | |
| JP2007179112A5 (en) | ||
| JP3847542B2 (en) | Recording system recording control system and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081111 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081111 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091225 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100112 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100312 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100427 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100428 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4509979 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140514 Year of fee payment: 4 |
|
| 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 |
|
| 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |