Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4509979B2 - CONTROL SYSTEM, PROGRAMMABLE DISPLAY AND SERVER COMPUTER, PROGRAM FOR PROGRAMMABLE DISPLAY AND SERVER COMPUTER, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents
[go: Go Back, main page]

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 PDF

Info

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
Application number
JP2006205442A
Other languages
Japanese (ja)
Other versions
JP2008033575A (en
JP2008033575A5 (en
Inventor
秀樹 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2006205442A priority Critical patent/JP4509979B2/en
Publication of JP2008033575A publication Critical patent/JP2008033575A/en
Publication of JP2008033575A5 publication Critical patent/JP2008033575A5/ja
Application granted granted Critical
Publication of JP4509979B2 publication Critical patent/JP4509979B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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への指示などの操作することができる。
特開2002−91510号公報(2002年3月29日公開)
In order to eliminate such inconvenience, for example, as disclosed in Patent Document 1, the same image as the image displayed on the programmable display can be viewed at a location away from the site where the programmable display is installed. The technique which can be operated similarly to a programmable display on the displayed screen is disclosed. In this technique, an applet (Java (registered trademark) applet) created by converting image data in a server computer is transmitted to a client device via the Internet. The client device executes the received applet, it displays the same image as the image to be displayed on the programmable display device in a browser, to operations such as instructions to the same manner as the programmable display device on the displayed image PLC Can do.
JP 2002-91510 A (published March 29, 2002)

上記の技術では、クライアント装置のようなプログラマブル表示器と離間して配置されたコンピュータにおいて、プログラマブル表示器と同様の画面表示や操作を実現することができる。しかしながら、逆に、上記の技術では、プログラマブル表示器から上記のコンピュータを操作することはできない。 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 programmable display 2, a server computer 3, a network 4, and a PLC 5.

プログラマブル表示器2は、ネットワーク4を介してサーバコンピュータ3と接続されている。ネットワーク4は、共通の通信プロトコル(共通通信プロトコル)で通信を行うことが可能なイーサネット(登録商標)などからなるローカルエリアネットワーク(LAN)やインターネットを含むような通信ネットワークである。 The programmable display 2 is connected to the server computer 3 via the network 4. The network 4 is a communication network including a local area network (LAN) made up of Ethernet (registered trademark) or the like capable of performing communication using a common communication protocol (common communication protocol) and the Internet.

PLC5は、ユーザが作成したシーケンスプログラム(ラダープログラムなど)にしたがって、例えば、数十msなどの予め定められたスキャンタイム毎に、入力ユニットを介して入力用のデバイス6の状態を取り込むとともに、出力用のデバイス6に制御指示を与える。 In accordance with a sequence program (such as a ladder program) created by the user, the PLC 5 captures the state of the input device 6 via the input unit and outputs it at every predetermined scan time such as several tens of ms. A control instruction is given to the device 6 for use.

入力用のデバイス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 touch panel 25 described later. The device 6 may be a specific area in the memory in the PLC 5.

PLC5内のメモリ(デバイスメモリ)は、デバイス6の状態(デバイス6からの出力値やデバイス6への設定値)を示すデータ(ワードデータやビットデータ)を、デバイスアドレスで特定される領域に格納している。上記メモリにおいて、ワードデバイスとビットデバイスとが設定される。ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、メモリ内の任意のワードデバイスまたはビットデバイスをデバイスアドレスを指定してアクセスするだけでデバイス6を制御し、またはその状態に関する情報を個別に取り出すことができる。 The memory (device memory) in the PLC 5 stores data (word data or bit data) indicating the state of the device 6 (output value from the device 6 or set value to the device 6) in an area specified by the device address. is doing. In the memory, a word device and a bit device are set. The word device is set as an area for storing word data such as numeric values as input / output data, and is designated by a word address (device address). The bit device is set as an area for storing bit data such as an on / off state, and is set by a bit address (device address). With such a setting, the device 6 can be controlled simply by accessing an arbitrary word device or bit device in the memory by designating the device address, or information regarding the state can be individually taken out.

以降の説明では、デバイスアドレスを適宜、アドレスと称する。 In the following description, the device address is appropriately referred to as an address.

プログラマブル表示器2は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用の画像データを表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。制御システム1のHMI機器として好適に使用されるプログラマブル表示器2は、後述する処理規定情報(タグ)を組み合わせて決定される画像データに基づいて、デバイス6の状態を画面表示する際の動作や、画面への操作に応じてデバイス6の状態を制御するときの動作を特定する。 The programmable display device 2 includes an arithmetic processing unit such as a CPU, and is a dedicated computer that realizes an operation function and a display function unique to the programmable display device by displaying image data for input operation and display created by the user. is there. The programmable display 2 that is preferably used as an HMI device of the control system 1 is an operation for displaying the state of the device 6 on the screen based on image data determined by combining processing definition information (tag) described later. The operation when the state of the device 6 is controlled according to the operation on the screen is specified.

このプログラマブル表示器2は、通信ケーブル7を介したPLC5との通信により、PLC5を介して表示画面に状態を表示する各デバイス6の状態を取得し、例えば、後述のスクリーン24に各デバイス6の状態を表示する機能を有する。また、プログラマブル表示器2は、後述のタッチパネル25への操作に応じて、デバイス6へデバイスの状態制御を指示する機能を有する。 This programmable display 2 acquires the state of each device 6 that displays the state on the display screen via the PLC 5 through communication with the PLC 5 via the communication cable 7. For example, the programmable display 2 displays the state of each device 6 on the screen 24 described later. It has a function to display the status. The programmable display 2 has a function of instructing the device 6 to control the state of the device in response to an operation on the touch panel 25 described later.

なお、デバイス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 programmable display 2, and when acquiring / changing, the memory space is accessed and a predetermined It is also possible to communicate with the PLC 5 at every time interval or every predetermined event to synchronize with the entity to which each address is assigned.

プログラマブル表示器2は、上記の機能を実現するために、HMI制御部21と、メモリ部22と、VRAM23と、スクリーン24と、タッチパネル25と、入力装置26と、インターフェース部(図中、I/F)27,28と、パススルー機能部29とを備えている。以下、プログラマブル表示器2の主要各部について詳細に説明する。 In order to realize the above functions, the programmable display 2 includes an HMI control unit 21, a memory unit 22, a VRAM 23, a screen 24, a touch panel 25, an input device 26, an interface unit (I / O in the figure). F) 27 and 28, and a pass-through function unit 29. Hereinafter, each main part of the programmable display device 2 will be described in detail.

VRAM23は、メモリ部22のデータメモリ222から呼び出された画像データのイメージをスクリーン24に表示するために、水平方向に表示される順にドットデータとして格納する。スクリーン24は、プログラマブル表示器2を薄型に構成するために、液晶スクリーン、ELスクリーン、プラズマスクリーンなどのような平板型スクリーンが好適に用いられる。タッチパネル25は、スクリーン24の表示画面上でタッチ入力を行うために設けられている。 In order to display the image of the image data called from the data memory 222 of the memory unit 22 on the screen 24, the VRAM 23 stores it as dot data in the order of display in the horizontal direction. Screen 24, to configure the programmable display device 2 to be thin, liquid-crystal screen, EL screens, flat screens such as plasma screens are preferably used. The touch panel 25 is provided for performing touch input on the display screen of the screen 24.

入力装置26は、キーボードやマウスなどのプログラマブル表示器2に着脱可能に外部接続される入力装置である。この入力装置26は、サーバコンピュータ3における後述のアプリケーション部33の各アプリケーションプログラムを実行したときに行う操作のために好適に用いられる。 The input device 26 is an input device that is detachably connected to the programmable display device 2 such as a keyboard or a mouse. This input device 26 is preferably used for an operation performed when each application program of an application unit 33 described later in the server computer 3 is executed.

インターフェース部27は、プログラマブル表示器2がサーバコンピュータ3およびサーバコンピュータ3との間の通信を行うための通信制御部であり、ネットワーク4に接続されている。このインターフェース部27は、サーバコンピュータ3のIPアドレスに基づくネットワーク通信を行うことができるように構成される。 The interface unit 27 is a communication control unit for the programmable display 2 to communicate with the server computer 3 and the server computer 3, and is connected to the network 4. The interface unit 27 is configured to perform network communication based on the IP address of the server computer 3.

一方、インターフェース部28は、プログラマブル表示器2がPLC5との間の通信を行うための通信制御部である。このインターフェース部28は、PLC5がシリアル通信を行う機種である場合にシリアル通信制御を行う一方、PLC5がネットワーク通信を行う機種である場合にネットワーク通信を行うように構成されている。インターフェース部28は、シリアル通信制御を行う場合、PLC5のメーカや機種に応じた通信プロトコルを用いて通信を行う。 On the other hand, the interface unit 28 is a communication control unit for the programmable display device 2 to communicate with the PLC 5. The interface unit 28 is configured to perform serial communication control when the PLC 5 is a model that performs serial communication, and to perform network communication when the PLC 5 is a model that performs network communication. When performing serial communication control, the interface unit 28 performs communication using a communication protocol according to the manufacturer and model of the PLC 5.

パススルー機能部29は、PLC5とサーバコンピュータ3との間の通信(シリアル通信やネットワーク通信など)をプログラマブル表示器2内でパススルーして行う通信ポートである。このパススルー機能部29は、プログラマブル表示器2がPLC5からインターフェース部28を介して受信したデータをそのままサーバコンピュータ3に送信するので、サーバコンピュータ3から見て、あたかもPLC5の通信ポートであるかのように振る舞う。 The pass-through function unit 29 is a communication port that performs communication (serial communication, network communication, etc.) between the PLC 5 and the server computer 3 through the programmable display 2. Since the pass-through function unit 29 transmits the data received by the programmable display device 2 from the PLC 5 via the interface unit 28 to the server computer 3 as it is, as viewed from the server computer 3, it is as if it is a communication port of the PLC 5. Behave.

メモリ部22は、作業メモリ221と、データメモリ222とを含んでいる。 The memory unit 22 includes a work memory 221 and a data memory 222.

作業メモリ221は、例えば、DRAMによって構成されており、表示制御などの演算処理時の作業用に用いられる他、PLC5との間でやり取りされるデータの一時的な記憶に用いられる。特に、DRAMは、PLC5のメモリに格納されるデバイス6の状態(デバイスアドレスの内容)をPLC5のメモリとの間で受け渡しするための状態メモリ領域を有している。 The work memory 221 is composed of, for example, a DRAM, and is used not only for work during arithmetic processing such as display control but also for temporary storage of data exchanged with the PLC 5. In particular, the DRAM has a state memory area for transferring the state of the device 6 (the contents of the device address) stored in the PLC 5 memory to and from the PLC 5 memory.

また、作業メモリ221は、サーバコンピュータ3から伝送された画像データを一時的に退避・複写する領域としても利用される。ここで、この特定の領域はリングバッファ状に配され、一定の容量で最新の画像データを退避・複写している。 The work memory 221 is also used as an area for temporarily saving / copying image data transmitted from the server computer 3. Here, this specific area is arranged in a ring buffer shape, and the latest image data is saved and copied with a certain capacity.

データメモリ222は、画像データ、上記の通信プロトコルなどを格納するためのメモリであり、FEPROM(Flash Erasable and Programmable ROM)が用いられる。FEPROMは、書き替え可能な読み出し専用のフラッシュメモリであるので、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。 The data memory 222 is a memory for storing image data, the above communication protocol, and the like, and FEPROM (Flash Erasable and Programmable ROM) is used. Since FEPROM is a rewritable read-only flash memory, it plays the role of a hard disk drive in a general personal computer. A flash memory does not have a movable part and is resistant to impacts, and thus operates stably even in a poor ambient environment.

画像データは、プログラマブル表示器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 programmable display device 2 are collected. As image data, a series of related image data corresponding to a target system, a product manufactured by the target system, and the like are usually prepared as a set of project files.

プログラマブル表示器2は、上記のプロジェクトファイルから各画像番号に付与される固有の画像番号に基づいて1つの画像データを選択して、その画像データに基づいてユーザ画像を表示する。 Programmable display device 2 selects one of the image data based on the unique image number is assigned to each image number from the project file, and displays the user image based on the image data.

上記の画像データは、スクリーン24に表示すべきベース画像や部品のデータおよび各部品に付与された後述する処理規定情報などを含んでいる。この画像データは、図形データ部およびアドレスデータ部を含んでいる。図形データ部は、ユーザが作成したマークについての図形データや選択された部品を格納し、アドレスデータ部は、図形データ部に対応するように、入力されたマークや部品について、前記のアドレスおよびアドレスに対応するコメントを格納している。具体的には、図形データ部におけるマークや部品の個々は、アドレスデータ部においてそれぞれ対応するコメントおよびアドレスと対応付けられている。 The image data includes a base image to be displayed on the screen 24, component data, processing definition information to be described later assigned to each component, and the like. This image data includes a graphic data portion and an address data portion. The graphic data part stores graphic data and selected parts for the mark created by the user, and the address data part corresponds to the graphic data part, and the address and address for the input mark or part are input. The comment corresponding to is stored. Specifically, each mark or part in the graphic data portion is associated with a corresponding comment and address in the address data portion.

コメントとしては、デバイス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 programmable display device 2 according to the present embodiment, as the above-described tag, a display tag indicating the correspondence between the region (display range) on the base image and the device address of the device corresponding to the display in the region, and on the screen A touch input tag indicating the correspondence between an area (input range) and an address corresponding to a touch input to the area is defined. Furthermore, in this embodiment, each tag can be associated with at least one of a plurality of user images .

さらに、画像データは、サーバコンピュータ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 VNC server 36 described later of the server computer 3. The image data includes a trigger condition (trigger condition) for displaying the image data in the VNC display area. Examples of the trigger condition include touch of a predetermined switch on the user image , change of bit data of a predetermined bit address of the PLC 5, and the like.

HMI制御部21は、HMI制御プログラムをプログラマブル表示器2が備えるCPUなどの演算処理手段に実行させることにより実現される機能ブロックである。上記のHMI制御プログラムは、プログラマブル表示器2と分離可能に構成される記録媒体にも記録可能であり、その記録媒体からプログラマブル表示器2にインストールされてもよい。HMI制御プログラムは、プログラマブル表示器2の機種に応じた機能を発揮させるために、機種毎に個別に用意されている。 The HMI control unit 21 is a functional block realized by causing an arithmetic processing means such as a CPU provided in the programmable display 2 to execute the HMI control program. The above-mentioned HMI control program can be recorded on a recording medium configured to be separable from the programmable display 2 and may be installed in the programmable display 2 from the recording medium. The HMI control program is individually prepared for each model in order to exhibit a function corresponding to the model of the programmable display device 2.

上記の記録媒体は、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、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 programmable display 2 or may be installed from another recording medium.

このHMI制御部21は、ユーザ画像の表示制御、ユーザ画像を介した入力操作の制御、PLC5などの接続機器との通信の制御といったHMI機能の中心的な制御動作を行う。また、HMI制御部21は、VNC(Virtual Network Coputing)クライアント部211、表示処理部212、入力処理部213およびデータ配信部214を有している。 The HMI control unit 21, display control of the user image, the control of the input operation via the user image, performs a central control operation of the HMI functions such control of the communication with the connected devices such as PLC5. Further, HMI control section 21 has a VNC (Virtual Network Co m puting) client unit 211, display processing unit 212, input processing unit 213 and the data distribution unit 214.

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 VNC client unit 211 is communicably connected to the server computer 3 and communicates with a VNC server 36 described later of the server computer 3. Through this communication, the VNC client unit 211 requests connection to the VNC server 36, passes the image data acquired from the VNC server 36 to the display processing unit 212, and sends the trigger condition from the input processing unit 213 to the VNC server 36. Or the ID of the programmable display device 2 is transmitted. The VNC client unit 211 has a VNC client function for remotely operating the server computer 3 in order to perform the above processing. The programmable display device 2 functions as a remote access client by including the VNC client unit 211 described above.

表示処理部212は、デバイス6の状態を取得してユーザ画像に表示する処理を行う。この表示処理部212は、PLC5内のメモリに設定される前述のビットデバイスまたはワードデバイスが示す状態情報のうち、必要な情報を適時に作業メモリ221に読み込む一方、上記の表示タグを繰り返し読み出して、表示タグで指定された表現形式の部品を読み出した値に応じた形態で画面上の指定された領域へスクリーン24に表示させる。これによって、ビットデバイスまたはワードデバイスの状態の変化に応じて変化する表示動作が実行され、PLC5から取得したデバイス6の状態がユーザ画像における部品の表示状態に反映される。また、表示処理部212は、VNCクライアント部211が受信したVNCサーバ36からの画像データを画面に設けられた前述のVNC表示領域に表示する。 The display processing unit 212 performs processing for acquiring the state of the device 6 and displaying it on the user image . The display processing unit 212 reads necessary information among the state information indicated by the bit device or the word device set in the memory in the PLC 5 to the work memory 221 in a timely manner, and repeatedly reads the display tag. The parts in the expression format designated by the display tag are displayed on the screen 24 in the designated area on the screen in a form corresponding to the read value. As a result, a display operation that changes according to a change in the state of the bit device or the word device is executed, and the state of the device 6 acquired from the PLC 5 is reflected in the display state of the component in the user image . The display processing unit 212 displays the image data from the VNC server 36 received by the VNC client unit 211 in the VNC display area provided on the screen .

入力処理部213は、ユーザ画像上でのタッチパネル25を介した入力(タッチ入力や数値入力)によってデバイス6に制御指示を与える処理を行う。この入力処理部213は、前述の入力タグを繰り返し読み出して、入力タグにおける参照情報に含まれる、ユーザ画像の所定の領域における入力位置を特定するための範囲(入力が有効となる有効入力座標範囲)、およびタッチパネル25の操作(数値入力操作、ON/OFF操作など)を特定する事象名などで特定される内容の動作をPLC5内のメモリにビットデバイスまたはワードデバイスとして設定する。例えば、数値入力操作であれば、ワードデバイスに制御指示として数値データなどが書き込まれ、ON/OFF操作であれば、ビットデバイスに制御指示として新たなビットの状態が書き込まれる。これによって、PLC5において、設定された制御指示が上記の動作として実行され、デバイス6の状態が変化する。また、入力処理部213は、サーバコンピュータ3から画像データを取得するための前述のトリガ条件をVNCクライアント部211に渡す。 The input processing unit 213 performs processing for giving a control instruction to the device 6 by input (touch input or numerical input) via the touch panel 25 on the user image . The input processing unit 213 repeatedly reads out the above-described input tag and specifies a range (an effective input coordinate range in which the input is valid) for specifying an input position in a predetermined area of the user image included in the reference information in the input tag. ), And the operation specified by the event name specifying the operation of the touch panel 25 (numerical value input operation, ON / OFF operation, etc.) is set as a bit device or a word device in the memory in the PLC 5. For example, in the case of a numerical input operation, numerical data or the like is written as a control instruction to the word device, and in the case of an ON / OFF operation, a new bit state is written as a control instruction to the bit device. As a result, in the PLC 5, the set control instruction is executed as the above operation, and the state of the device 6 changes. Further, the input processing unit 213 passes the trigger condition described above for acquiring image data from the server computer 3 to the VNC client unit 211.

データ配信部214は、予め指定された条件が満たされると、指定されたデータ配信元からデータ配信先にデータを配信する。データ配信元およびデータ配信先となる機器は、例えば、PLC5、プログラマブル表示器2(自機または他機)、サーバコンピュータ3を含むネットワーク4に接続される機器である。配信条件としては、例えば、所定時間毎、ビットデバイスのビットの変化(ONからOFFまたはOFFからON)、プログラマブル表示器2の電源投入時などが挙げられる。 The data delivery unit 214 delivers data from the designated data delivery source to the data delivery destination when a predesignated condition is satisfied. A device serving as a data distribution source and a data distribution destination is, for example, a device connected to a network 4 including a PLC 5, a programmable display 2 (own device or another device), and a server computer 3. Examples of the delivery condition include a change in bit of the bit device (ON to OFF or OFF to ON) at every predetermined time, and power on the programmable display 2.

また、データ配信部214は、PLC5がシリアル通信をする機種である場合、PLC5の通信プロトコルをネットワーク4での通信プロトコルに変換する。具体的には、データ配信部214は、データメモリ222などに格納されているプロトコル変換データを参照しながら、送信データにおける命令コードの変換や引数の変換あるいは伝送時の制御コードの変換などのプロトコル変換を行って、サーバコンピュータ3とプログラマブル表示器2に接続されたPLC5との通信を中継する。 In addition, when the PLC 5 is a model that performs serial communication, the data distribution unit 214 converts the communication protocol of the PLC 5 into a communication protocol for the network 4. Specifically, the data distribution unit 214 refers to protocol conversion data stored in the data memory 222 or the like, and converts protocols such as instruction code conversion, argument conversion, or transmission control code conversion in transmission data. Conversion is performed and communication between the server computer 3 and the PLC 5 connected to the programmable display 2 is relayed.

続いて、サーバコンピュータ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 event manager 32, an application unit 33, a data collector 34, a data processing program 35, a VNC server 36, a storage device 37, a display processing unit 38, and a VRAM 39. And a virtual COM 40.

インターフェース部31は、プログラマブル表示器2との間の通信を行うためにネットワーク4に接続されている。 The interface unit 31 is connected to the network 4 in order to perform communication with the programmable display device 2.

イベントマネージャ32は、予め定められているバッチコマンドから、プログラマブル表示器2のVNCクライアント部211から送信されてくるトリガ条件を入力イベントとしてとらえ、その入力イベントに応じたバッチコマンドを指定して実行する。具体的には、イベントマネージャ32は、バッチコマンドを実行することによって、アプリケーション部33における各アプリケーションプログラムのうち指定されたアプリケーションプログラムを起動する。例えば、プログラマブル表示器2において表示されているユーザ画像上でのタッチ入力によって指定されたPDFファイルを開くといった処理を行う。 The event manager 32 recognizes a trigger condition transmitted from the VNC client unit 211 of the programmable display device 2 as an input event from a predetermined batch command, and designates and executes the batch command corresponding to the input event. . Specifically, the event manager 32 starts a designated application program among the application programs in the application unit 33 by executing a batch command. For example, processing such as opening a PDF file designated by touch input on the user image displayed on the programmable display 2 is performed.

アプリケーション部33は、イベントマネージャ32によって起動される各種のアプリケーションプログラムとして、画像エディタ331、ラダーエディタ332、ビューワ333、ブラウザ334を含んでいる。 The application unit 33 includes an image editor 331, a ladder editor 332, a viewer 333, and a browser 334 as various application programs activated by the event manager 32.

画像エディタ331は、ユーザ独自の画像であるユーザ画像を作成できるように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品、各種のタグ設定機能、描画機能、テキスト入力機能などを備えている。画像エディタ331は、ユーザによって作成された画像データを記憶装置37にファイル形式で保存し、必要に応じてプログラマブル表示器2にダウンロードする。 The image editor 331 can create a user image that is a user-specific image , such as switches, lamps, numeric keys, various displays (for example, a numerical display, a meter display, and a graph display), and various tags. A setting function, a drawing function, a text input function, etc. are provided. The image editor 331 stores the image data created by the user in the storage device 37 in a file format, and downloads it to the programmable display 2 as necessary.

また、画像エディタ331は、ユーザのマウス操作などによってベース画像上に指定された範囲を前述のVNC表示領域として定め、これによって決定した座標などの表示領域データを画像データに持たせる。また、画像エディタ331は、ユーザによって設定された前述のトリガ条件も画像データに持たせる。 In addition, the image editor 331 determines a range designated on the base image by a user's mouse operation or the like as the VNC display area described above, and causes the image data to have display area data such as coordinates determined thereby. The image editor 331 also gives the image data the trigger conditions set by the user.

ラダーエディタ332は、デバイス6が所望のシーケンスにしたがって動作するようにPLC5の制御手順を定める前述のラダープログラムを作成するためのプログラミングソフトウェアである。このラダーエディタ332は、サーバコンピュータ3の図示しないディスプレイの表示画面上でデバイス6に対応するラダー記号や演算処理などの各種処理を表すラダー記号を配置してラダー図(ラダープログラム)を作成できるように構成されている。また、ラダーエディタ332は、アドレスとユーザにより設定されたコメント(変数)との対応付けを行う。この割り付けの結果は、ラダープログラムの一部として保存される。ラダーエディタ332は、ユーザによって作成されたラダープログラムを記憶装置37にファイル形式で保存し、必要に応じてPLC5にダウンロードする。 The ladder editor 332 is programming software for creating the ladder program that defines the control procedure of the PLC 5 so that the device 6 operates according to a desired sequence. The ladder editor 332 can create a ladder diagram (ladder program) by placing ladder symbols corresponding to the device 6 and ladder symbols representing various processes such as arithmetic processing on a display screen (not shown) of the server computer 3. It is configured. The ladder editor 332 associates an address with a comment (variable) set by the user. The result of this allocation is stored as part of the ladder program. The ladder editor 332 stores the ladder program created by the user in the storage device 37 in a file format, and downloads it to the PLC 5 as necessary.

また、ラダーエディタ332は、PLC5におけるラダープログラムの実行状況を表示するラダーモニタ機能を有している。このため、ラダーエディタ332は、サーバコンピュータ3の仮想COM40とプログラマブル表示器2のパススルー機能部29とを介してPLC5と通信を行って、PLC5からデバイスデータを取得する。 The ladder editor 332 has a ladder monitor function for displaying the execution status of the ladder program in the PLC 5. For this reason, the ladder editor 332 communicates with the PLC 5 via the virtual COM 40 of the server computer 3 and the pass-through function unit 29 of the programmable display 2 to acquire device data from the PLC 5.

ビューワ333は、記憶装置37に保存されているデータファイルの内容を表示するソフトウエアである。ビューワ333としては、PDFファイル、CADファイル、テキストファイルなどの各種のデータファイルを表示するためのソフトウエアが用意されている。 The viewer 333 is software that displays the contents of the data file stored in the storage device 37. As the viewer 333, software for displaying various data files such as a PDF file, a CAD file, and a text file is prepared.

ブラウザ334は、インターネット上のWebサーバで公開されているデータファイルをダウンロードして、表示したり再生したりするためのソフトウエアである。 The browser 334 is software for downloading, displaying, and playing back data files published on a Web server on the Internet.

データコレクタ34は、プログラマブル表示器2のデータ配信部214から配信されたデータを収集するため、データ処理プログラム35に収集したデータを処理させて、配信データファイルとして記憶装置37に保存させる。また、データコレクタ34は、ポーリングを行って、プログラマブル表示器2などからの送信要求の有無を問い合わせる。 In order to collect the data distributed from the data distribution unit 214 of the programmable display device 2, the data collector 34 causes the data processing program 35 to process the collected data and store it in the storage device 37 as a distribution data file. Further, the data collector 34 performs polling to inquire about the presence of a transmission request from the programmable display 2 or the like.

データ処理プログラム35は、データコレクタ34から渡されたデータを処理するためのアプリケーションプログラムである。データ処理プログラム35としては、例えば、表計算プログラムなどが用意されている。表計算プログラムをデータ処理プログラム35として用いる場合、データコレクタ34によって収集されたデータを指定されたセルに指定された順で書き込んだり、データをグラフ化したりといった処理が行われる。 The data processing program 35 is an application program for processing data passed from the data collector 34. As the data processing program 35, for example, a spreadsheet program is prepared. When a spreadsheet program is used as the data processing program 35, processing such as writing the data collected by the data collector 34 to the specified cell in the specified order or graphing the data is performed.

表示処理部38は、イベントマネージャ32によって起動されたアプリケーションプログラムによって開かれたファイルを表示したり、データコレクタ35によって起動されたデータ処理プログラムによって開かれた配信データファイルを表示したりするために、ファイル内容の画像をVRAM39に展開して表示する。 The display processing unit 38 displays a file opened by the application program activated by the event manager 32 or displays a distribution data file opened by the data processing program activated by the data collector 35. The image of the file contents is expanded and displayed on the VRAM 39.

仮想COM40は、ラダーエディタ332がPLC5と接続(ハンドシェイク)するときに、通常の通信経路ではなくプログラマブル表示器2のパススルー機能部29を介して通信を行うようにデータ伝送を制御する。この仮想COM40を用いることにより、ラダーエディタ332とPLC5との間で、仮想COM40、パススルー機能部29およびインターフェース部28を介した通信が行われる。 When the ladder editor 332 connects (handshake) with the PLC 5, the virtual COM 40 controls data transmission so that communication is performed via the pass-through function unit 29 of the programmable display 2 instead of the normal communication path. By using the virtual COM 40, communication is performed between the ladder editor 332 and the PLC 5 via the virtual COM 40, the pass-through function unit 29, and the interface unit 28.

VNCサーバ36は、前述のVNCクライアント部211とVNCプロトコルで通信する。このVNCサーバ36は、VNCクライアント部211からの画像データの送信要求に応じて、現在表示している画像のうち指定された領域の画像の画像データをVRAM39から読み出してVNCクライアント部211に送信する。また、VNCサーバ36は、表示内容が更新された場合、変化分(差分)の画像データのみをVNCクライアント部211に送信する。 The VNC server 36 communicates with the aforementioned VNC client unit 211 using the VNC protocol. In response to a transmission request for image data from the VNC client unit 211, the VNC server 36 reads out image data of an image of a specified area from the currently displayed image from the VRAM 39 and transmits it to the VNC client unit 211. . Further, when the display content is updated, the VNC server 36 transmits only the change (difference) image data to the VNC client unit 211.

上記のイベントマネージャ32、データコレクタ34、VNCサーバ36、表示処理部38および仮想COM40はプログラムであり、サーバコンピュータ3が実行することによって実現される機能ブロックである。イベントマネージャ32、データコレクタ34、VNCサーバ36、表示処理部38および仮想COM40は、サーバコンピュータ3と分離可能に構成される記録媒体に記録可能であり、この記憶媒体からサーバコンピュータ3にインストールすることが可能である。この記録媒体は、前述のHMI制御プログラムが記録される記録媒体と同様なコンピュータ読み取り可能な記録媒体である。なお、表示処理部38は、サーバコンピュータ3のOS(オペーティングシステム)によって実現される機能であってもよい。 The event manager 32, the data collector 34, the VNC server 36, the display processing unit 38, and the virtual COM 40 are programs and are functional blocks that are realized by the server computer 3 executing. The event manager 32, the data collector 34, the VNC server 36, the display processing unit 38, and the virtual COM 40 can be recorded on a recording medium configured to be separable from the server computer 3, and installed on the server computer 3 from this storage medium. Is possible. This recording medium is a computer-readable recording medium similar to the recording medium on which the aforementioned HMI control program is recorded. Note that the display processing unit 38 may be a function realized by an OS (operating system) of the server computer 3.

ここで、上記のように構成される制御システム1におけるプログラマブル表示器2によるサーバコンピュータ3のリモートアクセスの動作について図2の処理フローを参照して説明する。 Here, the remote access operation of the server computer 3 by the programmable display 2 in the control system 1 configured as described above will be described with reference to the processing flow of FIG.

まず、プログラマブル表示器2とPLC5とは、非同期で繰り返しのデータ送受信を行う。プログラマブル表示器2(HMI制御部21)は、PLC5にハンドシェイクの要求を送信すると、PLC5はハンドシェイクが確立したことをプログラマブル表示器2に送信する。これにより、プログラマブル表示器2とPLC5との間でデータの送受信が可能となる。この状態で、プログラマブル表示器2から指定されたデバイスのデータが要求されると、PLC5は当該デバイスのデータをプログラマブル表示器2に送信する。また、プログラマブル表示器2が指定されたデバイスのデータを書き込むために当該データをPLC5に送信すると、PLC5は該当するデバイスアドレスに受信したデータを書き込む。 First, the programmable display 2 and the PLC 5 perform asynchronous data transmission / reception asynchronously. When the programmable display 2 (HMI control unit 21) transmits a handshake request to the PLC 5, the PLC 5 transmits to the programmable display 2 that the handshake has been established. Thereby, transmission / reception of data is attained between the programmable display 2 and PLC5. In this state, when the data of the specified device is requested from the programmable display 2, the PLC 5 transmits the data of the device to the programmable display 2. Further, when the programmable display 2 transmits the data of the designated device to the PLC 5, the PLC 5 writes the received data to the corresponding device address.

このようにして、プログラマブル表示器2とPLC5との間でデータの送受信が行われる。 In this way, data transmission / reception is performed between the programmable display 2 and the PLC 5.

プログラマブル表示器2において、表示されている画面上でユーザによるタッチ操作や、PLC5における指定ビットデバイスの変化などによるトリガ条件が成立すると、そのトリガ条件が入力イベントとしてVNCクライアント部211からサーバコンピュータ3に送信される。サーバコンピュータ3のイベントマネージャ32は、その入力イベントを受けると、バッチコマンドを実行することにより、バッチコマンドで指定されているアプリケーション部33のアプリケーションプログラムを起動して、バッチコマンドで指定されている処理をアプリケーションプログラムに実行させる。 In the programmable display 2, when a trigger condition is established by a user touch operation on the displayed screen or a change in a designated bit device in the PLC 5, the trigger condition is input from the VNC client unit 211 to the server computer 3 as an input event. Sent. Upon receiving the input event, the event manager 32 of the server computer 3 executes the batch command to start the application program of the application unit 33 specified by the batch command, and the process specified by the batch command Is executed by the application program.

この結果、起動したアプリケーションにより記憶装置37のファイルやWebサーバのファイルが開かれて、そのファイルの内容を示す画像が表示処理部38によってVRAM39に展開されて表示される。 As a result, the file of the storage device 37 and the file of the Web server are opened by the activated application, and an image indicating the contents of the file is developed and displayed on the VRAM 39 by the display processing unit 38.

また、プログラマブル表示器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 data collector 34 of the server computer 3 starts the data processing program 35 and causes the data processing program 35 to process the received data. The data processing program 35 stores the processed result in the storage device 37 as a distribution data file. In the state where the data processing program 35 is activated and the distribution data file is opened, an image indicating the contents is developed and displayed on the VRAM 39 by the display processing unit 38.

この状態で、プログラマブル表示器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 VNC server 36 of the server computer 3, the VNC server 36 identifies the programmable display 2 with an ID (for example, the programmable display 2). IP address) is requested to be transmitted. When the ID is transmitted from the programmable display device 2, the VNC server 36 transmits the image data of the designated area of the currently displayed image to the programmable display device 2.

プログラマブル表示器2においては、VNCクライアント部211が受信した画像データを表示処理部212に渡して表示させる。表示処理部212は、受け取った画像データをVRAM23に展開してディスプレイ24に表示する。この結果、プログラマブル表示
器2においても、サーバコンピュータ3で表示される画像と同じ画像が表示される。
In the programmable display device 2, the image data received by the VNC client unit 211 is passed to the display processing unit 212 for display. The display processing unit 212 develops the received image data in the VRAM 23 and displays it on the display 24. As a result, the same image as that displayed on the server computer 3 is also displayed on the programmable display 2.

また、サーバコンピュータ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 VNC server 36 to the VNC client unit 211. As a result, in the programmable display device 2, the display change in the server computer 3 is reflected in the same manner.

例えば、アプリケーションプログラムとして画像エディタ331が起動されているときには、図3に示すように、サーバコンピュータ3において、作画ウインドウ101が表示されており、当該作画ウインドウ101上でユーザ画像102の作成や編集を行うことが可能である。また、上記のような動作により、プログラマブル表示器2においても、ユーザ画像102を含む作画ウインドウ101が表示されており、ユーザが入力装置26を用いて作画ウインドウ101上のユーザ画像102に対して編集操作を行うと、その操作が入力イベントとしてサーバコンピュータ3に送信される。イベントマネージャ32が、その入力イベントに応じたバッチコマンドを実行することにより、画像エディタ331は上記の入力イベントに応じた処理を行う。 For example, when the image editor 331 is activated as an application program, a drawing window 101 is displayed on the server computer 3 as shown in FIG. 3, and the user image 102 is created and edited on the drawing window 101. Is possible. In addition, by the operation as described above, the drawing window 101 including the user image 102 is also displayed on the programmable display 2, and the user edits the user image 102 on the drawing window 101 using the input device 26. When an operation is performed, the operation is transmitted to the server computer 3 as an input event. When the event manager 32 executes a batch command corresponding to the input event, the image editor 331 performs processing corresponding to the input event.

このようにして、プログラマブル表示器2において表示された作画ウインドウ101上でユーザ画像102を作成したり編集したりするだけでなく、作成後のユーザ画像102(画像データ)をプログラマブル表示器2にダウンロードすることができる。それゆえ、プログラマブル表示器2が設置されている現場でユーザ画像102を修正することができる。 In this way, not only the user image 102 is created and edited on the drawing window 101 displayed on the programmable display 2, but also the created user image 102 ( image data) is downloaded to the programmable display 2. can do. Therefore, the user image 102 can be corrected at the site where the programmable display 2 is installed.

また、アプリケーションプログラムとしてラダーエディタ332が起動されているときには、図4に示すように、サーバコンピュータ3において、ラダーウインドウ201が表示されており、当該ラダーウインドウ201上でラダープログラム202の作成や編集を行うことが可能である。また、プログラマブル表示器2においても、ラダープログラム202を含むラダーウインドウ201が表示されており、ユーザが入力装置26を用いてラダーウインドウ201上のラダープログラム202に対して編集操作を行うと、その操作が入力イベントとしてサーバコンピュータ3に送信される。イベントマネージャ32が、その入力イベントに応じたバッチコマンドを実行することにより、ラダーエディタ332は上記の入力イベントに応じた処理を行う。 When the ladder editor 332 is activated as an application program, a ladder window 201 is displayed on the server computer 3 as shown in FIG. 4, and the ladder program 202 is created and edited on the ladder window 201. Is possible. The programmable display 2 also displays a ladder window 201 including the ladder program 202. When the user performs an editing operation on the ladder program 202 on the ladder window 201 using the input device 26, the operation is performed. Is transmitted to the server computer 3 as an input event. When the event manager 32 executes a batch command corresponding to the input event, the ladder editor 332 performs processing corresponding to the input event.

このようにして、プログラマブル表示器2において表示されたラダーウインドウ201上でラダープログラム202を作成したり編集したりするだけでなく、作成後のラダープログラ202ムをPLC5にダウンロードすることができる。それゆえ、プログラマブル表示器2が設置されている現場でラダープログラム202を修正することができる。 In this way, not only can the ladder program 202 be created or edited on the ladder window 201 displayed on the programmable display 2, but also the ladder program 202 that has been created can be downloaded to the PLC 5. Therefore, the ladder program 202 can be modified at the site where the programmable display 2 is installed.

ラダーエディタ332が起動されている状態でラダーモニタを行うときには、サーバコンピュータ3の仮想COM40とプログラマブル表示器2のパススルー機能部29とを介して、ラダーエディタ332とPLC5との間でデータの送受信が行われる。このとき、モニタするラダープログラム202が記憶装置37から読み出されて、作成時と同様に、ラダーウインドウ201に表示され、PLC5から取得したデバイスデータによる変化がラダープログラム202に反映させる。これにより、ラダープログラムの実行状況をリアルタイムに確認することができる。この画像は、勿論、VNCサーバ36とVNCクライアント部211との間の通信によって、プログラマブル表示器2でも表示される。 When performing ladder monitoring with the ladder editor 332 activated, data is transmitted and received between the ladder editor 332 and the PLC 5 via the virtual COM 40 of the server computer 3 and the pass-through function unit 29 of the programmable display 2. Done. At this time, the ladder program 202 to be monitored is read from the storage device 37 and displayed on the ladder window 201 in the same manner as at the time of creation, and changes due to the device data acquired from the PLC 5 are reflected in the ladder program 202. As a result, the execution status of the ladder program can be confirmed in real time. Of course, this image is also displayed on the programmable display 2 by communication between the VNC server 36 and the VNC client unit 211.

また、アプリケーションプログラムとしてビューワ333が起動されているときには、データファイルが開かれており、表示処理部38によってその内容の画像が表示される。この画像の指定された領域の部分の画像データは、VNCサーバ36からVNCクライアント部211に送信されることにより、プログラマブル表示器2においても表示される。具体的には、図5に示すように、ユーザ画像103がプログラマブル表示器2に表示されているとき、ユーザ画像103に設けられたVNC表示領域103aに上記の部分画像データの画像が表示される。この画像は、例えば、PDFファイル(データファイル)に記載された操作手順であったり、トラブル発生時の回避マニュアルであったりする。 When the viewer 333 is activated as an application program, the data file is opened and an image of the content is displayed by the display processing unit 38. The image data of the designated area portion of the image is displayed on the programmable display 2 by being transmitted from the VNC server 36 to the VNC client unit 211. Specifically, as shown in FIG. 5, when the user image 103 is displayed on the programmable display 2, the image of the partial image data is displayed in the VNC display area 103 a provided in the user image 103. . This image is, for example, an operation procedure described in a PDF file (data file) or a manual for avoiding trouble.

また、アプリケーションプログラムとしてブラウザ334が起動されているときには、ブラウザ334がインターネット上のWebサーバからサーバコンピュータ3の作業メモリ(図示せず)にダウンロードしたデータファイルが表示処理部38によって表示される。その表示画像も、ビューワ333で表示した画像と同様に、プログラマブル表示器2において、上記のVNC表示領域103aに表示される。これにより、ユーザ画像103を表示しているときに、VNC表示領域103aに表示されたWebページを見ることができ、プログラマブル表示器2のメーカが公開するWebページからプログラマブル表示器2のメンテナンスなどの情報を得ることができる。 When the browser 334 is activated as an application program, a data file downloaded by the browser 334 from a Web server on the Internet to a working memory (not shown) of the server computer 3 is displayed by the display processing unit 38. The display image is also displayed in the VNC display area 103a on the programmable display device 2 in the same manner as the image displayed on the viewer 333. Thereby, while displaying the user image 103, the Web page displayed in the VNC display area 103a can be viewed, and maintenance of the programmable display 2 can be performed from the Web page published by the manufacturer of the programmable display 2. Information can be obtained.

また、データコレクタ34の指示によってデータ処理プログラム35が起動しているときには、配信データファイルが開かれており、表示処理部38によってその内容の画像が表示される。この画像の指定された領域の部分の画像データは、VNCサーバ36からVNCクライアント部211に送信されることにより、プログラマブル表示器2においても、VNC表示領域103aに表示される。これにより、データ処理プログラム35によって配信データを基に作成されたグラフなどの画像をVNC表示領域103aに表示させることができる。それゆえ、上記のようなグラフもあたかもユーザ画像103の一部であるかのように扱うことができる。 Further, when the data processing program 35 is activated in accordance with an instruction from the data collector 34, the distribution data file is opened, and an image of the content is displayed by the display processing unit 38. The image data of the designated area of the image is transmitted from the VNC server 36 to the VNC client unit 211, and is displayed on the VNC display area 103 a also on the programmable display 2. Thereby, an image such as a graph created based on the distribution data by the data processing program 35 can be displayed in the VNC display area 103a. Therefore, the graph as described above can be handled as if it is a part of the user image 103.

以上のように、本実施の形態の制御システム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 programmable display device 2 includes the VNC client unit 211, and the server computer 3 includes the event manager 32, the data collector 34, and the VNC server 36. Thereby, in response to a request from the programmable display device 2, the application program specified in the server computer 3 is activated to open the specified file, and an image of the contents of the file can be displayed on the programmable display device 2. Further, the application program can be made to perform processing in accordance with the operation on the programmable display device 2.

このように、プログラマブル表示器2がサーバコンピュータのリソースを利用して、その結果をPLC5の制御に反映させることができる。それゆえ、プログラマブル表示器2が設置された現場にパーソナルコンピュータを別途設置する必要がなく、生産現場の省スペース化を図ることができる。また、余分な機器を導入する必要がなくなり、制御システム1の維持管理コストの増大を抑えることも可能となる。さらに、プログラマブル表示器2にアプリケーションプログラムを移植する必要もなくなり、そのための多大な開発工数や、移植後のアプリケーションプログラムが正常に動作しなくなるといった不都合も生じることはない。 Thus, the programmable display 2 can reflect the result on control of PLC5 using the resource of a server computer. Therefore, it is not necessary to separately install a personal computer at the site where the programmable display device 2 is installed, and space can be saved at the production site. In addition, it is not necessary to introduce extra equipment, and an increase in maintenance cost of the control system 1 can be suppressed. Furthermore, it is not necessary to port the application program to the programmable display device 2, and there is no inconvenience that the development man-hours for that purpose and the application program after porting do not operate normally.

したがって、プログラマブル表示器2を含む制御システム1のメンテナンス性を大幅に向上させることが可能となる。 Therefore, the maintainability of the control system 1 including the programmable display device 2 can be greatly improved.

なお、本実施の形態では、制御装置としてPLC5を用いた例について説明したが、制御装置としてはPLC5に限定されない。例えば、制御装置は、インバータや温調計のように、プログラマブル表示器2とデータ通信可能である制御機器であればよい。 In the present embodiment, the example in which the PLC 5 is used as the control device has been described. However, the control device is not limited to the PLC 5. For example, the control device may be a control device capable of data communication with the programmable display 2 such as an inverter or a temperature controller.

本発明は、上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 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.

本発明の実施形態に係る制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system which concerns on embodiment of this invention. 上記制御システムにおいてプログラマブル表示器がサーバコンピュータを操作するリモートアクセスの動作を行うときの各部の通信の処理フローを示す図である。It is a figure which shows the processing flow of communication of each part when a programmable display performs the operation | movement of the remote access which operates a server computer in the said control system. 上記制御システムのサーバコンピュータの画像エディタによって表示される作画ウインドウを示す図である。It is a figure which shows the drawing window displayed by the image editor of the server computer of the said control system. 上記制御システムのサーバコンピュータのラダーエディタによって表示されるラダーウインドウを示す図である。It is a figure which shows the ladder window displayed by the ladder editor of the server computer of the said control system. 上記制御システムのサーバコンピュータのビューワによって表示される画像が組み込まれた、プログラマブル表示器で表示されるユーザ画像を示す図である。It is a figure which shows the user image displayed with a programmable display in which the image displayed by the viewer of the server computer of the said control system was integrated.

符号の説明Explanation of symbols

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 control system 2 programmable display 3 server computer 4 network 5 PLC (control device)
21HMI controller 23VRAM
24 screen 25 touch panel 32 event manager (program control means)
33 application section 34 data collector ( program control means)
35 data processing program 36 VNC server ( image data transmission means)
37 storage device 38 display processing unit ( program display means)
39VRAM
211 VNC client unit ( trigger transmission means, image data reception means)
212 display processing unit ( image data display means)
213 input processing unit 331 image editor (application program)
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に記載の制御システム。   The control system according to claim 1, wherein the application program is an image creation program for creating the image data. 前記アプリケーションプログラムが前記制御装置による制御手順を定めるシーケンスプログラムを作成するエディタプログラムであることを特徴とする請求項1に記載の制御システム。   The control system according to claim 1, wherein the application program is an editor program that creates a sequence program that defines a control procedure by the control device. 前記エディタプログラムが前記制御装置によるシーケンスプログラムの実行状況をモニタする機能を有し、モニタに必要なデータを前記エディタプログラムと前記制御装置との間で前記プログラマブル表示器の内部をパススルーする通信ポートを介して通信することにより取得することを特徴とする請求項3に記載の制御システム。 The communication port the editor program have a function to monitor the execution status of a sequence program by the control unit, pass through the interior of the programmable display device among the data necessary for monitoring and the editor program and the control device The control system according to claim 3, wherein the control system is acquired by communicating via the communication system. 前記アプリケーションプログラムがデータファイルを表示するための表示プログラムであり、
前記プログラマブル表示器が画面上に表示する画像の表示用画像データが、前記画像データ送信手段から取得した画像データを表示するための表示領域を定める表示領域データと、取得した画像データを当該表示領域に表示するための前記トリガとを含んでいることを特徴とする請求項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 .
前記トリガが前記画像作成プログラムに前記画像を前記サーバコンピュータから前記プログラマブル表示器へダウンロードさせる指示であることを特徴とする請求項2に記載の制御システム。   The control system according to claim 2, wherein the trigger is an instruction to cause the image creation program to download the image from the server computer to the programmable display. 前記トリガが前記エディタプログラムに前記シーケンスプログラムを前記サーバコンピュータから前記制御装置へダウンロードさせる指示であることを特徴とする請求項3に記載の制御システム。   4. The control system according to claim 3, wherein the trigger is an instruction for causing the editor program to download the sequence program from the server computer to the control device. 前記トリガが前記表示プログラムに前記データファイルを前記サーバコンピュータから前記プログラマブル表示器または前記制御装置へダウンロードさせる指示であることを特徴とする請求項5に記載の制御システム。   6. The control system according to claim 5, wherein the trigger is an instruction for causing the display program to download the data file from the server computer to the programmable display or the control device. 前記プログラマブル表示器は、所定の送信条件を満たすと前記制御装置からのデータを前記サーバコンピュータに送信する制御装置データ送信手段を備え、
前記サーバコンピュータは、当該制御装置データ送信手段によって送信される制御装置データを受信する制御装置データ受信手段を備え、
前記アプリケーションプログラムが当該制御装置データ受信手段が受信した制御装置受信データを処理する制御装置データ処理プログラムであることを特徴とする請求項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.
請求項1ないし9のいずれか1項に記載の制御システムを構成するプログラマブル表示器。   The programmable display which comprises the control system of any one of Claim 1 thru | or 9. 請求項10に記載のプログラマブル表示器を実現するコンピュータを前記各手段として機能させるためのプログラム。   The program for functioning the computer which implement | achieves the programmable display of Claim 10 as said each means. 請求項11に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 11. 請求項1ないし9のいずれか1項に記載の制御システムを構成するサーバコンピュータ。   The server computer which comprises the control system of any one of Claim 1 thru | or 9. 請求項13に記載のサーバコンピュータを実現するコンピュータを前記各手段として機能させるためのプログラム。 A program for causing a computer that realizes the server computer according to claim 13 to function as each means. 請求項14に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 14.
JP2006205442A 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 Active JP4509979B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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