JP2004151762A - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
JP2004151762A
JP2004151762A JP2002313046A JP2002313046A JP2004151762A JP 2004151762 A JP2004151762 A JP 2004151762A JP 2002313046 A JP2002313046 A JP 2002313046A JP 2002313046 A JP2002313046 A JP 2002313046A JP 2004151762 A JP2004151762 A JP 2004151762A
Authority
JP
Japan
Prior art keywords
monitoring control
control terminal
programmable controller
sequence
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002313046A
Other languages
Japanese (ja)
Inventor
Kiichi Inoue
毅一 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2002313046A priority Critical patent/JP2004151762A/en
Publication of JP2004151762A publication Critical patent/JP2004151762A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a programmable controller for quickly updating and displaying processing results based on a request from a monitor control terminal on the monitor control terminal even when it is a complicate picture. <P>SOLUTION: This programmable controller 10 executes a sequence program based on a monitor control request program described in JAVA(R) language transmitted from a monitor control terminal 20, and returns the execution result to the monitor control terminal 20. Then, the programmable controller 10 is provided with a communicating part 14 for receiving a monitor control request program described in JAVA(R) language transmitted from the monitor control terminal 20, a JAVA(R) translation executing part 16 for translating the monitor control request program received by the communicating part 14 into a monitor control command, and for sequentially outputting the translated monitor control command, a sequence control part 11 for sequentially executing the sequence program based on the monitor control command sequentially outputted from the JAVA(R) translation executing part 16 and a communicating part 14 for returning the execution result information of the sequence program executed by the sequence control part 11 to the monitor control terminal 20. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、監視制御端末から遠隔監視制御されるプログラマブルコントローラに関する。
【0002】
【従来の技術】
従来のプログラマブルコントローラの一般的な構成について、図4を用いて説明する。
【0003】
すなわち、一般的なプログラマブルコントローラ18は、図4に示すようにシーケンス制御部11と、データ入出力部12と、実行状態監視モニター部13と、通信部14とで構成されている。そして、通信部14において、通信ケーブル19を介し、パソコンからなる監視制御端末20と接続されている。この通信ケーブル19は、監視制御端末20のRS232C通信ポートに接続されている。
【0004】
監視制御端末20には、プログラマブルコントローラ18を監視制御するための監視制御プログラムが搭載されており、この監視制御プログラムが監視制御端末20上で実行されることによって、通信ケーブル19を介してプログラマブルコントローラ18の通信部14に対してプログラマブルコントローラ18に対する専用コマンドが送信される。
【0005】
専用コマンドには、シーケンス制御部11においてなされているシーケンス制御用のシーケンスプログラムの読み出し又は編集を行うための読出編集コマンドと、データのモニター状態を設定するためのデータモニター設定コマンドと、プログラマブルコントローラ18の実行制御を行うための実行制御コマンドと、システム情報コマンドなどがある。システム情報コマンドは、プログラマブルコントローラ10の機種、シーケンスプログラムの容量、およびシーケンスプログラムのバージョンの読み出し、あるいはシーケンスプログラムの実行周期や、割込みプログラム実行周期などのパラメータを設定するコマンドである。
【0006】
プログラマブルコントローラ18では、監視制御端末20から送信された専用コマンドが通信部14で受信されると、受信した専用コマンドの内容に応じた要求が実行状態監視モニター部13に対してなされる。そして、実行状態監視モニター部13では、この専用コマンドに基づいた処理がなされ、その処理結果が通信部14から通信ケーブル19を介して監視制御端末20に返信される。
【0007】
監視制御端末20の表示画面には、このようにしてプログラマブルコントローラ18側から返信された処理結果が表示される。これによって、オペレータによって、プログラマブルコントローラ18の制御状態が把握されたり、あるいはこのオペレータが設定した値がプログラマブルコントローラ18に設定されたことが確認される。
【0008】
【発明が解決しようとする課題】
しかしながら、このような従来のプログラマブルコントローラでは、以下のような問題がある。
【0009】
すなわち、上述したような構成の従来のプログラマブルコントローラ18の監視制御を行う場合、監視制御端末20は、プログラマブルコントローラ18に用意された専用コマンドで順次プログラマブルコントローラ18にデータを要求し、監視用の画面を表示する必要がある。
【0010】
しかしながら、従来のプログラマブルコントローラ18は、監視制御端末20の監視モニター画面にモニターデータを表示させると同時に、プログラムの実行状態や、プログラマブルコントローラ18のステータス情報を表示させるなどといった複雑な表示をさせるのには適していない。また、監視制御端末20の表示画面を素早く更新することも困難である。
【0011】
本発明はこのような事情に鑑みてなされたものであり、監視制御端末からの要求に基づく処理結果を監視制御端末上に表示させる場合、複雑な画面であっても高速で更新表示させることを可能とするプログラマブルコントローラを提供することを目的とする。
【0012】
【課題を解決するための手段】
上記の目的を達成するために、本発明では、以下のような手段を講じる。
【0013】
すなわち、本発明は、監視制御端末から送信されるJAVA言語で記述された監視制御要求プログラムに基づいてシーケンスプログラムを実行し、実行結果を監視制御端末に返信するプログラマブルコントローラであって、監視制御端末から送信されるJAVA言語で記述された監視制御要求プログラムを受信する受信手段と、受信手段によって受信されたJAVA言語で記述された監視制御要求プログラムを、監視制御コマンドに翻訳し、翻訳した監視制御コマンドを順次出力する翻訳手段と、翻訳手段から順次出力された監視制御コマンドに基づいて、シーケンスプログラムを順次実行するシーケンス実行手段と、シーケンス実行手段によって実行されたシーケンスプログラムの実行結果情報を、監視制御端末に返信する返信手段とを備えている。
【0014】
また、本発明は、監視制御端末から送信される監視制御要求情報に基づいてシーケンスプログラムを実行し、実行結果を監視制御端末に返信するプログラマブルコントローラであって、複数の監視制御コマンドを含み、JAVA言語で記述された監視制御要求プログラムを予め格納した格納手段と、監視制御端末から送信される監視制御要求情報を受信する受信手段と、受信手段によって受信された監視制御要求情報が、格納手段に格納された監視制御要求プログラムのうちの何れかの実行要求である場合には、対応する監視制御要求プログラムを監視制御コマンドに翻訳し、翻訳した監視制御コマンドを順次出力する翻訳手段と、翻訳手段から順次出力された監視制御コマンドに基づいて、シーケンスプログラムを順次実行するシーケンス実行手段と、シーケンス実行手段によって実行されたシーケンスプログラムの実行結果情報を、監視制御端末に返信する返信手段とを備えている。
【0015】
従って、本発明のプログラマブルコントローラにおいては、以上のような手段を講じることにより、複数の専用コマンドが含まれたJAVA言語で記述された監視制御要求プログラムを監視制御端末から受け付け、この監視制御要求プログラムを翻訳することによって認識した専用コマンドに基づく処理を行い、処理結果をまとめて監視制御端末に返信することができる。これによって、複雑な画面であっても監視制御端末上に高速で更新表示することが可能となる。
【0016】
【発明の実施の形態】
以下に、本発明の実施の形態について図面を参照しながら説明する。
【0017】
なお、以下の実施の形態の説明に用いる図中の符号は、図4と同一部分については同一符号を付して示すことにする。
【0018】
本発明の実施の形態を図1から図3を用いて説明する。
【0019】
図1は、本発明の実施の形態に係るプログラマブルコントローラの構成例を示す機能ブロック図である。
【0020】
すなわち、本発明の実施の形態に係るプログラマブルコントローラ10は、図4に示す従来技術によるプログラマブルコントローラ18に、JAVA格納エリア15と、JAVA翻訳実行部16と、JAVA実行エリア17とを備えた構成としている。
【0021】
プログラマブルコントローラ10と監視制御端末20とは通信ケーブル19によって、互いのRS232Cシリアルポート同士を接続している。あるいは、通信ケーブル19としてイーサネット(登録商標)のLANを用いることにより、複数のプログラマブルコントローラ10を、相手先のIPアドレスを指定することにより切り替えられるようにしてもよい。
【0022】
JAVA格納エリア15は、複数の監視制御コマンドを含み、監視制御端末20における画面表示に必要なデータを収集するためのJAVA言語で記述されたプログラムである監視制御要求プログラムを格納している。この監視制御要求プログラムは、監視制御端末20から通信ケーブル19を介してプログラマブルコントローラ10の通信部14に送信され、この通信部14からJAVA格納エリア15にロードすることによって格納するようにしている。
【0023】
なお、JAVA格納エリア15は、このような監視制御要求プログラムを複数格納可能としている。図2は、JAVA格納エリア15に複数の監視制御要求プログラムを格納した場合におけるJAVA格納エリア15のデータ構成図である。監視制御端末20から監視制御要求プログラムをロードする場合に、監視画面に必要なデータを返送する監視制御要求プログラムを、画面に対応する番号を付加して、JAVA格納エリア15の該当するエリアに格納する。
【0024】
監視制御端末20では、監視画面切り換え時に、該当する番号を指定して監視制御コマンドを送信することにより、監視制御端末20が複数の監視画面を持つ場合にも容易に対応できるようにしている。
【0025】
また、JAVA格納エリア15に格納された複数の監視制御要求プログラムに対し、該当する番号を指定することにより、所望の監視制御要求プログラムをJAVA実行エリア17へ転送し、更にJAVA翻訳実行部16がこの監視制御要求プログラムを監視制御コマンドへと翻訳し、実行状態監視モニター部13がこの監視制御コマンドに基づいて監視制御処理を実行することにより、監視制御端末20の監視画面を切り換える毎に監視制御要求プログラムをロードする必要はなくなる。これによって、監視制御端末20の表示画面を、より高速に切換えられるようにしている。
【0026】
JAVA翻訳実行部16は、監視制御端末20から、JAVA格納エリア15に格納されている監視制御要求プログラムのうちの何れかの実行要求が送信された場合には、実行状態監視モニター部13からの指示に基づいて起動されるようにしている。JAVA翻訳実行部16は、実行状態監視モニター部13の指示によって起動がなされると、JAVA格納エリア15から、対応する監視制御要求プログラムをJAVA実行エリア17に転送し、監視制御要求プログラムを監視制御コマンドに翻訳し、翻訳した監視制御コマンドを実行状態監視モニター部13に順次出力する。実行状態監視モニター部13では、この出力された監視制御コマンドに基づく処理が開始され、その応答信号が通信部14から通信ケーブル19を介して監視制御端末20に返信され、監視制御端末20で実行中の監視制御プログラムにて一気に表示されるようにしている。
【0027】
なお、本発明の実施の形態に係るプログラマブルコントローラ10は、上述したようにJAVA言語で記述された監視制御要求プログラムを実行することができるのみならず、監視制御端末20から専用コマンドが送信された場合については、送信された専用コマンドに基づく従来技術で説明したような処理機能も併せて備えている。
【0028】
次に、以上のように構成した本発明の実施の形態に係るプログラマブルコントローラの動作について図3に示すフローチャートを用いて説明する。図3は、プログラマブルコントローラ10のJAVA格納エリア15に格納された監視制御要求プログラムによって監視制御コマンドを読み出すと同時に、モニターデータを監視制御端末20に返送する場合の動作を示すフローチャートである。
【0029】
まず、監視制御端末20において監視制御プログラムが起動され、従来コマンドが送信されてきた場合には、実行状態監視モニター部13において従来コマンドが判別され(STEP1: Yes)、実行状態監視モニター部13によって直接コマンド処理が実行され(STEP2)、その実行結果である応答テキストが通信部14を介して監視制御端末20に返送される(STEP3)。
【0030】
一方、監視制御端末20からJAVA言語で記述された監視制御要求プログラムのロードを要求するJAVAロードコマンドが送信されてきた場合には、実行状態監視モニター部13においてJAVAロードコマンドが判別される(STEP4:Yes)。そして、引き続き監視制御端末20から送信されてくる監視制御要求プログラムが、JAVA格納エリア15にロードされる(STEP5)。その後、ロードが完了すると、ロード完了を示す応答テキストが、実行状態監視モニター部13から通信部14を介して監視制御端末20へと返送される(STEP6)。
【0031】
また一方、監視制御端末20から、監視制御要求プログラムの実行を要求するJAVAプログラム実行コマンドが送信されてきた場合には、実行状態監視モニター部13によってJAVAプログラム実行コマンドが判別され(STEP7: Yes)、更に実行状態監視モニター部13によってJAVA翻訳実行部16が起動される(STEP8)。
【0032】
JAVA翻訳実行部16が起動すると、JAVA格納エリア15からJAVA実行エリア17へと、対応する監視制御要求プログラムが転送され、転送された監視制御要求プログラムがJAVA翻訳実行部16によって監視制御コマンドに翻訳される。そして、翻訳された監視制御コマンドが、実行状態監視モニター部13に順次出力され、実行状態監視モニター部13では、この監視制御コマンドに基づく処理が開始される。実行状態監視モニター部13によってなされる処理の例を、以下に説明するようにSTEP9からSTEP14に示す。
【0033】
まず、監視制御要求プログラムが実行されることによって、プログラムモニターの要求が発生する(STEP9)。これに伴って実行状態監視モニター部13においてプログラムモニター処理が開始され(STEP10)、プログラムモニター処理の結果である応答テキストが、通信部14を介して監視制御端末20へと返送される(STEP11)。
【0034】
続いて、監視制御要求プログラムが実行されることによって、データモニターの要求が発生する(STEP12)。これに伴って、実行状態監視モニター部13においてデータモニター処理が開始され(STEP13)、データモニター処理の結果である応答テキストが、通信部14を介して監視制御端末20へと返送される(STEP14)。監視制御端末20で実行中の監視制御プログラムは、データモニターの応答テキストと、プログラムモニターの応答テキストとが同時に表示されるので、モニターデータの応答テキストと、プログラムモニターの応答テキストとを、1回のコマンドで返送することができる。監視制御端末20へと返送されたこれら応答テキストは、監視制御端末20で実行中の監視制御プログラムにて一気に表示される。
【0035】
上述したようなSTEP9からSTEP14に示す処理が、監視制御要求プログラムの実行が終了するまでなされる(STEP15)。
【0036】
上述したように、本発明の実施の形態に係るプログラマブルコントローラ10は、JAVA言語で記述されたプログラムを実行することができるようにサポートされているので、監視制御プログラムに基づいて監視制御端末20で表示される表示画面が複雑な場合であっても、高速なデータ更新表示を行うことが可能となる。
【0037】
以上、本発明の好適な実施の形態について、添付図面を参照しながら説明したが、本発明はかかる構成に限定されない。特許請求の範囲の発明された技術的思想の範疇において、当業者であれば、各種の変更例及び修正例に想到し得るものであり、それら変更例及び修正例についても本発明の技術的範囲に属するものと了解される。
【0038】
【発明の効果】
以上説明したように、本発明によれば、監視制御端末からの要求に基づく処理結果を監視制御端末上に表示させる場合、複雑な画面であっても高速で更新表示させることを可能とするプログラマブルコントローラを実現することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るプログラマブルコントローラの構成例を示す機能ブロック図
【図2】複数の監視制御要求プログラムを格納したJAVA格納エリアのデータ構成図
【図3】本発明の実施の形態に係るプログラマブルコントローラの動作例を示すフローチャート
【図4】従来技術のプログラマブルコントローラの構成例を示す機能ブロック図
【符号の説明】
10,18…プログラマブルコントローラ
11…シーケンス制御部
12…データ入出力部
13…実行状態監視モニター部
14…通信部
15…JAVA格納エリア
16…JAVA翻訳実行部
17…JAVA実行エリア
19…通信ケーブル
20…監視制御端末
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a programmable controller that is remotely monitored and controlled by a monitoring control terminal.
[0002]
[Prior art]
The general configuration of a conventional programmable controller will be described with reference to FIG.
[0003]
That is, a general programmable controller 18 includes a sequence control unit 11, a data input / output unit 12, an execution state monitoring monitor unit 13, and a communication unit 14, as shown in FIG. The communication unit 14 is connected via a communication cable 19 to a monitoring control terminal 20 formed of a personal computer. The communication cable 19 is connected to an RS232C communication port of the monitoring control terminal 20.
[0004]
The monitoring control terminal 20 has a monitoring control program for monitoring and controlling the programmable controller 18. The monitoring control program is executed on the monitoring control terminal 20. A dedicated command for the programmable controller 18 is transmitted to the communication unit 14 of the controller 18.
[0005]
The dedicated commands include a read / edit command for reading or editing a sequence program for sequence control performed in the sequence control unit 11, a data monitor setting command for setting a data monitoring state, and a programmable controller 18. There are an execution control command for controlling the execution of the program and a system information command. The system information command is a command for reading the model of the programmable controller 10, the capacity of the sequence program, and the version of the sequence program, or setting parameters such as the execution cycle of the sequence program and the execution cycle of the interrupt program.
[0006]
In the programmable controller 18, when the dedicated command transmitted from the monitoring control terminal 20 is received by the communication unit 14, a request according to the content of the received dedicated command is made to the execution state monitoring monitor unit 13. Then, the execution state monitoring monitor 13 performs processing based on the dedicated command, and the processing result is returned from the communication unit 14 to the monitoring control terminal 20 via the communication cable 19.
[0007]
On the display screen of the monitoring control terminal 20, the processing result returned from the programmable controller 18 in this manner is displayed. As a result, the operator can grasp the control state of the programmable controller 18 or confirm that the value set by the operator has been set in the programmable controller 18.
[0008]
[Problems to be solved by the invention]
However, such a conventional programmable controller has the following problems.
[0009]
That is, when performing the monitoring control of the conventional programmable controller 18 having the above-described configuration, the monitoring control terminal 20 sequentially requests data from the programmable controller 18 with a dedicated command prepared for the programmable controller 18, and displays a monitoring screen. Need to be displayed.
[0010]
However, the conventional programmable controller 18 is not only capable of displaying monitor data on the monitoring monitor screen of the monitoring control terminal 20, but also performing complicated display such as displaying the execution state of the program and the status information of the programmable controller 18. Is not suitable. It is also difficult to quickly update the display screen of the monitoring control terminal 20.
[0011]
The present invention has been made in view of such circumstances, and when displaying a processing result based on a request from a monitoring control terminal on a monitoring control terminal, it is necessary to update and display a complicated screen at high speed. It is an object of the present invention to provide a programmable controller that enables it.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the present invention takes the following measures.
[0013]
That is, the present invention is a programmable controller that executes a sequence program based on a monitoring control request program described in the JAVA language transmitted from the monitoring control terminal and returns an execution result to the monitoring control terminal. Receiving means for receiving a supervisory control request program described in JAVA language transmitted from the system, and translating a supervisory control request program described in JAVA language received by the receiving means into a supervisory control command, and translating the supervisory control command A translation unit for sequentially outputting the command, a sequence execution unit for sequentially executing the sequence program based on the monitoring control command sequentially output from the translation unit, and monitoring of execution result information of the sequence program executed by the sequence execution unit. Reply means for replying to the control terminal To have.
[0014]
Further, the present invention is a programmable controller that executes a sequence program based on monitoring control request information transmitted from a monitoring control terminal, and returns an execution result to the monitoring control terminal. Storage means for preliminarily storing a supervisory control request program described in a language, receiving means for receiving supervisory control request information transmitted from the supervisory control terminal, and supervisory control request information received by the receiving means. A translation unit for translating the corresponding monitoring control request program into a monitoring control command if the execution request is any of the stored monitoring control request programs, and sequentially outputting the translated monitoring control command; For sequentially executing a sequence program based on monitoring control commands sequentially output from And line unit, the execution result information of a sequence program which is executed by the sequence executing means, and a returning means for returning the supervisory control terminal.
[0015]
Therefore, in the programmable controller of the present invention, by taking the above measures, a supervisory control request program described in the JAVA language including a plurality of dedicated commands is received from the supervisory control terminal, and the supervisory control request program is executed. Can be processed based on the recognized dedicated command, and the processing results can be collectively returned to the monitoring control terminal. As a result, even a complicated screen can be updated and displayed on the monitoring control terminal at high speed.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0017]
Note that the same reference numerals in the drawings used in the description of the following embodiments denote the same parts as in FIG.
[0018]
An embodiment of the present invention will be described with reference to FIGS.
[0019]
FIG. 1 is a functional block diagram illustrating a configuration example of a programmable controller according to an embodiment of the present invention.
[0020]
That is, the programmable controller 10 according to the embodiment of the present invention is configured such that a programmable controller 18 according to the related art shown in FIG. 4 includes a JAVA storage area 15, a JAVA translation execution unit 16, and a JAVA execution area 17. I have.
[0021]
The RS232C serial ports of the programmable controller 10 and the monitoring control terminal 20 are connected to each other by a communication cable 19. Alternatively, by using an Ethernet (registered trademark) LAN as the communication cable 19, a plurality of programmable controllers 10 may be switched by designating an IP address of a partner.
[0022]
The JAVA storage area 15 contains a plurality of monitoring control commands, and stores a monitoring control request program which is a program described in a JAVA language for collecting data necessary for screen display in the monitoring control terminal 20. The monitoring control request program is transmitted from the monitoring control terminal 20 to the communication unit 14 of the programmable controller 10 via the communication cable 19, and is stored by being loaded from the communication unit 14 into the JAVA storage area 15.
[0023]
The JAVA storage area 15 can store a plurality of such monitoring control request programs. FIG. 2 is a data configuration diagram of the JAVA storage area 15 when a plurality of monitoring control request programs are stored in the JAVA storage area 15. When loading a supervisory control request program from the supervisory control terminal 20, the supervisory control request program for returning necessary data to the supervisory screen is added to the corresponding area of the JAVA storage area 15 by adding a number corresponding to the screen. I do.
[0024]
The supervisory control terminal 20 transmits a supervisory control command by designating the corresponding number when the supervisory screen is switched, so that the supervisory control terminal 20 can easily cope with a case where the supervisory control terminal 20 has a plurality of supervisory screens.
[0025]
Also, by designating the corresponding numbers for the plurality of monitoring control request programs stored in the JAVA storage area 15, the desired monitoring control request program is transferred to the JAVA execution area 17, and further, the JAVA translation execution unit 16 The monitoring control request program is translated into a monitoring control command, and the execution state monitoring monitor unit 13 executes the monitoring control process based on the monitoring control command, so that the monitoring control is performed every time the monitoring screen of the monitoring control terminal 20 is switched. There is no need to load the request program. Thus, the display screen of the monitoring control terminal 20 can be switched at a higher speed.
[0026]
When the monitor control terminal 20 transmits any execution request of the monitor control request program stored in the JAVA storage area 15, the JAVA translation execution unit 16 receives the execution request from the execution state monitor monitor unit 13. It is started based on the instruction. When activated by an instruction from the execution state monitoring monitor unit 13, the JAVA translation execution unit 16 transfers the corresponding monitoring control request program from the JAVA storage area 15 to the JAVA execution area 17, and monitors and controls the monitoring control request program. The command is translated into a command, and the translated monitoring control command is sequentially output to the execution state monitoring monitor unit 13. In the execution state monitoring monitor unit 13, processing based on the output monitoring control command is started, and a response signal is returned from the communication unit 14 to the monitoring control terminal 20 via the communication cable 19, and executed by the monitoring control terminal 20. It is displayed at a stretch by the monitoring control program inside.
[0027]
The programmable controller 10 according to the embodiment of the present invention not only can execute the monitoring control request program described in the JAVA language as described above, but also receives a dedicated command from the monitoring control terminal 20. In such a case, a processing function as described in the related art based on the transmitted dedicated command is also provided.
[0028]
Next, the operation of the programmable controller according to the embodiment of the present invention configured as described above will be described with reference to the flowchart shown in FIG. FIG. 3 is a flowchart showing an operation when the monitor control command is read by the monitor control request program stored in the JAVA storage area 15 of the programmable controller 10 and the monitor data is returned to the monitor control terminal 20 at the same time.
[0029]
First, when the monitoring control program is started in the monitoring control terminal 20 and a conventional command is transmitted, the execution state monitoring monitor unit 13 determines the conventional command (STEP 1: Yes), and the execution state monitoring monitor unit 13 Direct command processing is executed (STEP 2), and a response text as an execution result is returned to the monitoring control terminal 20 via the communication unit 14 (STEP 3).
[0030]
On the other hand, when a JAVA load command requesting loading of the monitoring control request program described in the JAVA language is transmitted from the monitoring control terminal 20, the JAVA load command is determined by the execution state monitoring monitor unit 13 (STEP 4). : Yes). Then, the monitoring control request program continuously transmitted from the monitoring control terminal 20 is loaded into the JAVA storage area 15 (STEP 5). Thereafter, when the loading is completed, a response text indicating the completion of the loading is returned from the execution state monitoring monitor unit 13 to the monitoring control terminal 20 via the communication unit 14 (STEP 6).
[0031]
On the other hand, when a JAVA program execution command requesting the execution of the monitoring control request program is transmitted from the monitoring control terminal 20, the execution state monitoring monitor unit 13 determines the JAVA program execution command (STEP 7: Yes). Then, the JAVA translation execution unit 16 is activated by the execution state monitoring monitor unit 13 (STEP 8).
[0032]
When the JAVA translation execution unit 16 is activated, a corresponding monitoring control request program is transferred from the JAVA storage area 15 to the JAVA execution area 17, and the transferred monitoring control request program is translated into a monitoring control command by the JAVA translation execution unit 16. Is done. Then, the translated monitoring control commands are sequentially output to the execution state monitoring monitor unit 13, and the execution state monitoring monitor unit 13 starts processing based on the monitoring control commands. Examples of processing performed by the execution state monitoring monitor unit 13 are described in STEP 9 to STEP 14 as described below.
[0033]
First, a request for a program monitor is generated by executing the monitor control request program (STEP 9). Along with this, the program monitoring process is started in the execution state monitoring monitor unit 13 (STEP 10), and a response text as a result of the program monitoring process is returned to the monitoring control terminal 20 via the communication unit 14 (STEP 11). .
[0034]
Subsequently, a request for a data monitor is generated by executing the monitoring control request program (STEP 12). Along with this, the data monitoring process is started in the execution state monitoring monitor unit 13 (STEP 13), and a response text as a result of the data monitoring process is returned to the monitoring control terminal 20 via the communication unit 14 (STEP 14). ). The monitor control program running on the monitor control terminal 20 displays the response text of the data monitor and the response text of the program monitor once since the response text of the data monitor and the response text of the program monitor are displayed simultaneously. Can be returned with the command. These response texts returned to the monitoring control terminal 20 are displayed at once by the monitoring control program running on the monitoring control terminal 20.
[0035]
The processing shown in STEP 9 to STEP 14 as described above is performed until the execution of the monitoring control request program ends (STEP 15).
[0036]
As described above, the programmable controller 10 according to the embodiment of the present invention is supported so as to be able to execute a program described in the JAVA language. Even when the displayed display screen is complicated, high-speed data update display can be performed.
[0037]
Although the preferred embodiments of the present invention have been described with reference to the accompanying drawings, the present invention is not limited to such configurations. Within the scope of the invented technical concept of the claims, those skilled in the art will be able to conceive various changes and modifications, and those changes and modifications will be described in the technical scope of the present invention. It is understood that it belongs to.
[0038]
【The invention's effect】
As described above, according to the present invention, when a processing result based on a request from a monitoring control terminal is displayed on the monitoring control terminal, a programmable screen that can be updated and displayed at high speed even on a complicated screen is provided. A controller can be realized.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a configuration example of a programmable controller according to an embodiment of the present invention; FIG. 2 is a data configuration diagram of a JAVA storage area storing a plurality of monitoring control request programs; FIG. 4 is a flowchart showing an operation example of the programmable controller according to the embodiment. FIG. 4 is a functional block diagram showing a configuration example of a conventional programmable controller.
10, 18 ... programmable controller 11 ... sequence control unit 12 ... data input / output unit 13 ... execution state monitoring monitor unit 14 ... communication unit 15 ... JAVA storage area 16 ... JAVA translation execution unit 17 ... JAVA execution area 19 ... communication cable 20 ... Monitoring and control terminal

Claims (3)

監視制御端末から送信されるJAVA言語で記述された監視制御要求プログラムに基づいてシーケンスプログラムを実行し、実行結果を前記監視制御端末に返信するプログラマブルコントローラであって、
前記監視制御端末から送信される前記監視制御要求プログラムを受信する受信手段と、
前記受信手段によって受信された前記監視制御要求プログラムを、監視制御コマンドに翻訳し、翻訳した監視制御コマンドを順次出力する翻訳手段と、
前記翻訳手段から順次出力された監視制御コマンドに基づいて、前記シーケンスプログラムを順次実行するシーケンス実行手段と、
前記シーケンス実行手段によって実行されたシーケンスプログラムの実行結果情報を、前記監視制御端末に返信する返信手段と
を備えたプログラマブルコントローラ。
A programmable controller that executes a sequence program based on a monitoring control request program described in a JAVA language transmitted from a monitoring control terminal, and returns an execution result to the monitoring control terminal,
Receiving means for receiving the monitoring control request program transmitted from the monitoring control terminal,
A translation unit that translates the monitoring control request program received by the receiving unit into a monitoring control command, and sequentially outputs the translated monitoring control command;
Sequence execution means for sequentially executing the sequence program based on a monitoring control command sequentially output from the translation means,
A programmable controller comprising: a return unit that returns execution result information of a sequence program executed by the sequence execution unit to the monitoring control terminal.
監視制御端末から送信される監視制御要求情報に基づいてシーケンスプログラムを実行し、実行結果を前記監視制御端末に返信するプログラマブルコントローラであって、
複数の監視制御コマンドを含み、JAVA言語で記述された監視制御要求プログラムを予め格納した格納手段と、
前記監視制御端末から送信される監視制御要求情報を受信する受信手段と、
前記受信手段によって受信された監視制御要求情報が、前記格納手段に格納された監視制御要求プログラムのうちの何れかの実行要求である場合には、対応する監視制御要求プログラムを監視制御コマンドに翻訳し、翻訳した監視制御コマンドを順次出力する翻訳手段と、
前記翻訳手段から順次出力された監視制御コマンドに基づいて、前記シーケンスプログラムを順次実行するシーケンス実行手段と、
前記シーケンス実行手段によって実行されたシーケンスプログラムの実行結果情報を、前記監視制御端末に返信する返信手段と
を備えたプログラマブルコントローラ。
A programmable controller that executes a sequence program based on monitoring control request information transmitted from a monitoring control terminal, and returns an execution result to the monitoring control terminal,
A storage unit that includes a plurality of monitoring control commands and stores in advance a monitoring control request program described in the JAVA language;
Receiving means for receiving monitoring control request information transmitted from the monitoring control terminal,
If the monitoring control request information received by the receiving means is an execution request of any of the monitoring control request programs stored in the storage means, the corresponding monitoring control request program is translated into a monitoring control command. Translation means for sequentially outputting translated monitoring control commands,
Sequence execution means for sequentially executing the sequence program based on a monitoring control command sequentially output from the translation means,
A programmable controller comprising: a return unit that returns execution result information of a sequence program executed by the sequence execution unit to the monitoring control terminal.
請求項2に記載のプログラマブルコントローラにおいて、
前記監視制御要求プログラムを、前記格納手段に格納させる手段を備えたプログラマブルコントローラ。
The programmable controller according to claim 2,
A programmable controller comprising means for storing the monitoring control request program in the storage means.
JP2002313046A 2002-10-28 2002-10-28 Programmable controller Pending JP2004151762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002313046A JP2004151762A (en) 2002-10-28 2002-10-28 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002313046A JP2004151762A (en) 2002-10-28 2002-10-28 Programmable controller

Publications (1)

Publication Number Publication Date
JP2004151762A true JP2004151762A (en) 2004-05-27

Family

ID=32457772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002313046A Pending JP2004151762A (en) 2002-10-28 2002-10-28 Programmable controller

Country Status (1)

Country Link
JP (1) JP2004151762A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010108219A (en) * 2008-10-30 2010-05-13 Digital Electronics Corp Control system, communication relay device and portable programmable display unit
WO2015136960A1 (en) * 2014-03-13 2015-09-17 オムロン株式会社 Controller
WO2019059001A1 (en) * 2017-09-22 2019-03-28 オムロン株式会社 Information device, terminal device, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010108219A (en) * 2008-10-30 2010-05-13 Digital Electronics Corp Control system, communication relay device and portable programmable display unit
WO2015136960A1 (en) * 2014-03-13 2015-09-17 オムロン株式会社 Controller
JP2015176191A (en) * 2014-03-13 2015-10-05 オムロン株式会社 controller
US10139799B2 (en) 2014-03-13 2018-11-27 Omron Corporation Controller to modify an execution condition during program execution
WO2019059001A1 (en) * 2017-09-22 2019-03-28 オムロン株式会社 Information device, terminal device, and program
CN111095136A (en) * 2017-09-22 2020-05-01 欧姆龙株式会社 Information device, terminal device, and program
US11314219B2 (en) 2017-09-22 2022-04-26 Omron Corporation Information device, terminal device and recording medium

Similar Documents

Publication Publication Date Title
EP2889707B1 (en) Control device and communication control method
JP2002007299A (en) Developing means and executing means for device control program
JP2004151762A (en) Programmable controller
JP4590582B2 (en) Computer network and small device interface method and system
JP2006317990A (en) Programmable logic controller, and communication system
JP2003295910A (en) Unit, tool equipment, and program product
JP2003036103A (en) Process control system
JP2002341906A (en) Program formula display device and data communication system using the same
JP2776443B2 (en) Programmable controller
JPWO2014091623A1 (en) Programmable controller system, its programmable display, support device, program
JPH10105212A (en) Display control system
JP2000298641A (en) Information processor, its data transferring method and storage medium with data transfer control program stored therein
JP2006309565A (en) Plotting editor device, display device for control, program therefor and recording medium
JP4037941B2 (en) Control device
JPH10105226A (en) Programmable display device
JP2002123305A (en) Real-time display data collecting system
JP2004178303A (en) Display device, screen data generating device and program thereof
JPH0869311A (en) Positioning system
JP2023012900A (en) Programming support method, program for programming support, and programming support system
JPH08286734A (en) Programmable display device
JP3005388B2 (en) Multi vision system
JP3358113B2 (en) Program creation device for programmable controller
JP5330321B2 (en) Programmable display
JPH09162998A (en) Operation support simulator
JP2001075612A (en) Method and device for preparing screen data and recording medium recording its program