JP2003150240A - Data transmission method for control system and its program - Google Patents
Data transmission method for control system and its programInfo
- Publication number
- JP2003150240A JP2003150240A JP2001343723A JP2001343723A JP2003150240A JP 2003150240 A JP2003150240 A JP 2003150240A JP 2001343723 A JP2001343723 A JP 2001343723A JP 2001343723 A JP2001343723 A JP 2001343723A JP 2003150240 A JP2003150240 A JP 2003150240A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- unit
- display
- control
- status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 55
- 230000005540 biological transmission Effects 0.000 title claims description 11
- 238000004891 communication Methods 0.000 claims abstract description 42
- 230000004044 response Effects 0.000 claims description 31
- 238000012545 processing Methods 0.000 abstract description 72
- 238000010586 diagram Methods 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 102100026205 1-phosphatidylinositol 4,5-bisphosphate phosphodiesterase gamma-1 Human genes 0.000 description 2
- 101000691599 Homo sapiens 1-phosphatidylinositol 4,5-bisphosphate phosphodiesterase gamma-1 Proteins 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 102100033041 Carbonic anhydrase 13 Human genes 0.000 description 1
- 102100033007 Carbonic anhydrase 14 Human genes 0.000 description 1
- 102100036738 Guanine nucleotide-binding protein subunit alpha-11 Human genes 0.000 description 1
- 101000867860 Homo sapiens Carbonic anhydrase 13 Proteins 0.000 description 1
- 101000867862 Homo sapiens Carbonic anhydrase 14 Proteins 0.000 description 1
- 101100283445 Homo sapiens GNA11 gene Proteins 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
- Debugging And Monitoring (AREA)
- User Interface Of Digital Computer (AREA)
- Safety Devices In Control Systems (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Digital Computer Display Output (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ローカル制御シス
テムから離れた場所に配置された端末装置にて、デバイ
スの状態を表示/操作可能な制御システムのデータ伝送
方法、並びに、それを実現するためのプログラムに関す
るものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control system data transmission method capable of displaying / operating the state of a device in a terminal device located at a place distant from a local control system, and to realize the method. Of the program.
【0002】[0002]
【従来の技術】インターネットなどの広域通信網の発達
によって、ターゲットシステムの近傍のローカル制御シ
ステムだけではなく、当該ローカル制御システムから離
れた場所のクライアント装置からも、ターゲットシステ
ムのデバイスの状態を表示し、制御可能な制御システム
が提案されている。2. Description of the Related Art With the development of a wide area communication network such as the Internet, not only a local control system near a target system but also a client device located away from the local control system can display the status of a device of the target system. , Controllable control systems have been proposed.
【0003】例えば、図13に示す制御システム101
では、クライアント装置104に形成されたHMI(Hu
man Machine Interface )処理部151が、インターネ
ット105を介して、ローカル制御システム103の制
御用ホストコンピュータ114に周期的に問い合わせ
て、デバイスの状態を取得し、例えば、デバイスの状態
に応じた表示方法で、デバイスを示す図形を表示するな
どして、クライアント装置104の画面にデバイスの状
態を表示する。For example, a control system 101 shown in FIG.
Then, the HMI (Hu
The man machine interface) processing unit 151 periodically makes an inquiry to the control host computer 114 of the local control system 103 via the Internet 105 to acquire the device status, and, for example, by a display method according to the device status. , The device status is displayed on the screen of the client apparatus 104 by displaying a graphic showing the device.
【0004】一方、マウスなどによって、クライアント
装置104の画面上に表示されたデバイスが操作される
と、上記HMI処理部151は、制御用ホストコンピュ
ータ114と通信して、操作に応じた制御を当該デバイ
スに対して指示するよう伝える。この場合、制御用ホス
トコンピュータ114は、受け取った制御指示に基づい
て、プログラマブル表示器112に指示したり、プログ
ラマブル表示器112を介してプログラマブル・ロジッ
ク・コントローラ(PLC)111へ指示するなどし
て、デバイスの実体へ、制御指示を伝える。On the other hand, when a device displayed on the screen of the client device 104 is operated by a mouse or the like, the HMI processing section 151 communicates with the control host computer 114 to perform control according to the operation. Tell the device to instruct. In this case, the control host computer 114 gives an instruction to the programmable display device 112 based on the received control instruction, or gives an instruction to the programmable logic controller (PLC) 111 via the programmable display device 112, Send control instructions to the device entity.
【0005】さらに、制御用ホストコンピュータ114
にファイル生成部131が設けられており、当該ファイ
ル生成部131は、プログラマブル表示器112が画面
を表示する際に参照する画面データに基づいて、クライ
アント装置104用のデータを生成する。Further, the control host computer 114
Is provided with a file generation unit 131, and the file generation unit 131 generates data for the client device 104 based on screen data referred to when the programmable display 112 displays a screen.
【0006】上記制御システム101では、上記クライ
アント装置104が上記ファイル生成部131が生成し
たクライアント装置用データに基づいて画面を表示する
ことで、クライアント装置104用の画面を新たに設計
せずに、ターゲットシステム102のデバイス102a
の状態を表示し操作できる。In the control system 101, the client device 104 displays a screen based on the client device data generated by the file generation unit 131, so that the screen for the client device 104 is not newly designed, Device 102a of target system 102
The status of can be displayed and operated.
【0007】具体的には、プログラマブル表示器112
の画面データは、複数の単位画面のうちの何れかを、プ
ログラマブル表示器112に表示させるためのデータで
あって、画面上の領域と、当該領域への表示や入力に対
応するデバイスとの対応関係を示すタグを、各単位画面
に関連付けることで形成されている。Specifically, the programmable display 112
Screen data is data for displaying any of the plurality of unit screens on the programmable display 112, and corresponds to an area on the screen and a device corresponding to display or input to the area. It is formed by associating a tag indicating a relationship with each unit screen.
【0008】上記プログラマブル表示器112は、上記
画面データが格納されると、所定の時間間隔で、自らの
システム領域のうち、現在表示中の単位画面を記憶する
領域の値を読み出し、自らに格納された画面データが示
す複数の単位画面の中から、現在表示中の単位画面を決
定する。さらに、上記画面データから、当該単位画面で
表示すべき表示タグを抽出すると共に、各表示タグが示
すデバイスの状態を取得し、各表示タグが示す画面領域
に取得した状態を表示する。When the screen data is stored, the programmable display 112 reads out the value of the area for storing the currently displayed unit screen in its own system area at a predetermined time interval and stores it in itself. The currently displayed unit screen is determined from the plurality of unit screens indicated by the displayed screen data. Further, the display tag to be displayed on the unit screen is extracted from the screen data, the device state indicated by each display tag is acquired, and the obtained state is displayed in the screen area indicated by each display tag.
【0009】また、プログラマブル表示器112は、図
示しないタッチパネルなどからの操作を受け付けると、
上記と同様の手順で現在表示中の単位画面を取得すると
共に、上記画面データの入力タグのうち、現在表示中の
単位画面に関連し、しかも、受け付けた操作に対応する
入力タグを特定し、入力タグが示すデバイスへ、操作に
応じた制御を指示する。When the programmable display 112 accepts an operation from a touch panel (not shown) or the like,
While obtaining the unit screen currently displayed in the same procedure as above, among the input tags of the screen data, the input tag related to the currently displayed unit screen, and further, the input tag corresponding to the accepted operation is specified, Instruct the device indicated by the input tag to perform control according to the operation.
【0010】ここで、上記プログラマブル表示器112
では、現在表示中の単位画面を記憶するシステム領域
も、デバイスの1つとして扱われており、画面切り換え
指示の受け付けも、入力タグによって表現される。Here, the programmable display 112 is
Then, the system area that stores the currently displayed unit screen is also treated as one of the devices, and the acceptance of the screen switching instruction is also expressed by the input tag.
【0011】上記構成では、入力タグや表示タグを、画
面上の領域とデバイスと単位画面とに対応付けるだけ
で、プログラマブル表示器112の画面を設計できるの
で、表示/操作受付用のプログラムを作成(修正)して
画面設計する場合よりも容易に、プログラマブル表示器
112の画面を設計できる。In the above configuration, the screen of the programmable display 112 can be designed by simply associating the input tag and the display tag with the area on the screen, the device, and the unit screen. Therefore, a program for display / operation reception is created ( The screen of the programmable display 112 can be designed more easily than in the case where the screen is modified and designed.
【0012】また、上記ファイル生成部131が生成す
るクライアント装置用のデータは、画面データ中の入力
タグおよび表示タグを参照するプログラマブル表示器1
12と同様の動作を、クライアント装置104が実行す
るよう、クライアント装置104に指示する。ただし、
クライアント装置用のデータでは、表示先および操作元
がクライアント装置104の表示装置および入力装置に
変更される。また、画面データを参照するプログラマブ
ル表示器112が、PLC111と通信して、デバイス
の状態を取得したり、デバイスの状態制御指示を送信す
る代わりに、クライアント装置104が、制御用ホスト
コンピュータ114の公開サーバ部133と通信して、
デバイスの状態を取得したり、デバイスの制御指示を送
信するように、クライアント装置104へ指示する。Further, the data for the client device generated by the file generation unit 131 is the programmable display 1 which refers to the input tag and the display tag in the screen data.
The client device 104 is instructed to perform the same operation as 12. However,
In the data for the client device, the display destination and the operation source are changed to the display device and the input device of the client device 104. Further, instead of the programmable display 112, which refers to the screen data, communicating with the PLC 111 to acquire the device status or send a device status control instruction, the client device 104 publishes the control host computer 114. Communicating with the server unit 133,
The client device 104 is instructed to acquire the state of the device and send a control instruction of the device.
【0013】ここで、上記クライアント装置用のデータ
では、プログラマブル表示器112と同様に、現在表示
中の単位画面の決定や、単位画面の切り換えが、画面制
御用のデバイスの状態取得や状態制御として扱われてい
る。ところが、単位画面の取得に失敗すると、プログラ
マブル表示器112で現在表示中の単位画面を特定でき
ず、適切な画面を表示できない。さらに、プログラマブ
ル表示器112で現在表示中の単位画面を、クライアン
ト装置104のユーザが、プログラマブル表示器112
で表示中の単位画面と誤解すると、誤操作する虞れもあ
る。したがって、クライアント装置104のHMI処理
部151は、単位画面の取得に失敗すると、画面表示を
停止するように構成されている。Here, in the data for the client device, similarly to the programmable display 112, the determination of the currently displayed unit screen and the switching of the unit screen are performed as the status acquisition and the status control of the device for screen control. Being treated. However, when the acquisition of the unit screen fails, the unit screen currently displayed on the programmable display 112 cannot be specified, and an appropriate screen cannot be displayed. Further, the unit screen currently displayed on the programmable display 112 is displayed on the programmable display 112 by the user of the client device 104.
If it is misunderstood that the unit screen is being displayed at, there is a risk of erroneous operation. Therefore, the HMI processing unit 151 of the client device 104 is configured to stop the screen display when acquisition of the unit screen fails.
【0014】[0014]
【発明が解決しようとする課題】しかしながら、上記構
成では、クライアント装置がインターネットに常時接続
していない場合には、画面表示できないという問題を生
じる。この結果、例えば、常時接続するために、通信費
用が高騰する虞れがある。However, the above-mentioned configuration has a problem that the screen cannot be displayed when the client device is not always connected to the Internet. As a result, for example, since the connection is always made, the communication cost may increase.
【0015】なお、単位画面の取得に失敗しても、以前
の単位画面が取得されたものとして、単位画面の取得に
成功した場合と同様に画面表示すると、クライアント装
置104のユーザが、プログラマブル表示器112で表
示中の単位画面を誤解して、誤操作する虞れがある。Even if the acquisition of the unit screen is unsuccessful, if the previous unit screen is acquired and the screen display is performed in the same manner as the case where the acquisition of the unit screen is successful, the user of the client device 104 performs the programmable display. There is a possibility that the unit screen currently displayed on the device 112 may be misunderstood and an erroneous operation may be performed.
【0016】本発明は、上記の問題点に鑑みてなされた
ものであり、その目的は、上記誤解に起因する誤操作の
防止と、通信費用の軽減との双方を実現可能な制御シス
テムのデータ伝送方法を実現することにある。The present invention has been made in view of the above problems, and an object thereof is data transmission of a control system capable of both preventing an erroneous operation due to the above misunderstanding and reducing communication costs. To realize the method.
【0017】[0017]
【課題を解決するための手段】請求項1の発明に係る制
御システムのデータ伝送方法は、上記課題を解決するた
めに、画面データに基づいて、デバイスの状態を、広域
通信網を介して応答手段へ周期的に問い合わせて取得
し、端末装置の画面に表示する表示工程と、上記画面デ
ータに含まれ、デバイスと操作との対応を示す対応情報
に基づいて、上記端末装置への操作を認識し、操作に応
じたデバイスの状態制御指示を、上記広域通信網を介し
て上記応答手段へ伝える操作認識工程とを含んでいる。
さらに、上記対応情報では、単位画面の切り換え操作
が、複数の単位画面のうちの表示すべき単位画面を記憶
する画面制御用デバイスに対応する操作として記憶され
ている。また、上記表示工程では、画面を更新する際、
上記画面制御デバイスの状態として、表示すべき単位画
面を取得した後で、当該単位画面を表示し、当該画面制
御デバイスの状態取得に失敗すると画面表示を停止す
る。加えて、上記制御システムのデータ伝送方法は、さ
らに、上記問い合わせの状態を上記端末装置の使用者に
提示する提示工程と、上記端末装置への使用者の操作に
応じて上記問い合わせの状態を制御する制御工程とを含
んでいる。In order to solve the above-mentioned problems, a control system data transmission method according to a first aspect of the present invention responds to a device status based on screen data via a wide area communication network. The operation to the terminal device is recognized on the basis of a display step of periodically inquiring the means to obtain and display it on the screen of the terminal device, and correspondence information included in the screen data and showing correspondence between the device and the operation. Then, an operation recognition step of transmitting a device state control instruction according to an operation to the response means via the wide area communication network.
Further, in the above correspondence information, the unit screen switching operation is stored as the operation corresponding to the screen control device that stores the unit screen to be displayed among the plurality of unit screens. Also, in the above display step, when updating the screen,
After acquiring the unit screen to be displayed as the state of the screen control device, the unit screen is displayed, and if the acquisition of the state of the screen control device fails, the screen display is stopped. In addition, the data transmission method of the control system further includes a presentation step of presenting the status of the inquiry to the user of the terminal device, and controlling the status of the inquiry according to the user's operation on the terminal device. And a control process for controlling.
【0018】また、請求項2の発明に係る制御システム
のデータ伝送方法は、請求項1記載の発明の構成におい
て、上記表示工程にて、上記広域通信網を介して応答手
段へデバイスの状態を問い合わせて取得し、上記操作認
識工程にて、上記広域通信網を介して応答手段へデバイ
スの状態制御指示を伝える代わりに、上記表示工程に
て、広域通信網を介してデバイスと通信する応答手段へ
デバイスの状態を問い合わせて取得すると共に、上記操
作認識工程にて、当該応答手段にデバイスの状態制御指
示を送信することを特徴としている。なお、この場合
は、上記応答手段と端末装置とが一体であってもよい。According to a second aspect of the present invention, in the data transmission method of the control system according to the first aspect of the invention, in the display step, the status of the device is sent to the response means via the wide area communication network. Responsive means for obtaining by inquiry and communicating with the device through the wide area communication network in the display step instead of transmitting the device state control instruction to the response means through the wide area communication network in the operation recognition step The device state is inquired and acquired, and in the operation recognition step, a device state control instruction is transmitted to the response means. In this case, the response means and the terminal device may be integrated.
【0019】さらに、請求項3の発明に係るプログラム
は、請求項1または2記載の各工程を上記端末装置とし
てのコンピュータに実行させるプログラムであって、当
該プログラムを実行するコンピュータによって、上記各
工程が行われる。Further, a program according to a third aspect of the present invention is a program for causing a computer as the terminal device to execute each step of the first or second aspect, and the computer executing the program causes each of the steps to be performed. Is done.
【0020】なお、上記問い合わせの状態の提示は、例
えば、問い合わせ周期の提示であってもよいし、周期的
に問い合わせているか否かや次の問い合わせ時点などの
提示であってもよい。さらに、問い合わせの状態の制御
は、例えば、問い合わせ周期の変更であってもよいし、
問い合わせの停止または再開であってもよい。The presentation of the inquiry status may be, for example, presentation of the inquiry cycle, or presentation of whether or not the inquiry is made periodically and the time of the next inquiry. Further, the control of the inquiry status may be, for example, a change of the inquiry cycle,
It may be the suspension or resumption of the inquiry.
【0021】上記構成によれば、デバイスから端末装置
までの間に広域通信網が介在しているにも拘わらず、上
記端末装置は、画面データが示す単位画面を表示して、
デバイスの状態を使用者に提示し、デバイスへの操作を
受け付けることができる。さらに、上記画面データにお
いて、単位画面の切り換え操作は、デバイスの一種とし
ての画面制御デバイスに対する操作として記憶されてい
るので、画面データを設計する際、画面切り換えのため
に、デバイスへの操作とは異なる設計手順が不要にな
り、設計者の負担を軽減できる。According to the above configuration, the terminal device displays the unit screen indicated by the screen data, although the wide area communication network is interposed between the device and the terminal device.
The state of the device can be presented to the user, and the operation to the device can be accepted. Further, in the above screen data, the switching operation of the unit screen is stored as an operation for the screen control device as a kind of device, so when designing the screen data, the operation to the device for switching the screen is not A different design procedure is not required, and the burden on the designer can be reduced.
【0022】また、デバイスの一種として、画面制御デ
バイスが扱われているので、例えば、プログラマブル表
示器など、デバイスが設けられたローカル制御システム
にて、デバイスの状態を表示し、操作を受け付ける制御
用表示装置が現在表示している単位画面を上記応答手段
が取得して、上記画面制御デバイスへの問い合わせに対
して、当該取得結果を返答すると共に、制御用表示装置
の各単位画面を表示する画面データに基づいて、端末装
置が表示すれば、制御用表示装置が表示している単位画
面と端末装置が表示している単位画面とを一致させるこ
とができる。この場合、端末装置では、制御用表示装置
にて現在操作されている単位画面を、確認でき、当該単
位画面における操作への応答を確認できる。したがっ
て、制御用表示装置へのオペレータの操作も端末装置で
確認できる。Further, since a screen control device is treated as a kind of device, for example, a control device for displaying the state of the device and accepting an operation in a local control system provided with the device, such as a programmable display. A screen in which the response unit acquires the unit screen currently displayed by the display device, responds to the inquiry to the screen control device with the acquisition result, and displays each unit screen of the control display device. If the terminal device displays based on the data, the unit screen displayed by the control display device and the unit screen displayed by the terminal device can be matched. In this case, the terminal device can confirm the unit screen currently operated on the control display device, and can confirm the response to the operation on the unit screen. Therefore, the operator's operation on the control display device can also be confirmed on the terminal device.
【0023】ここで、上記構成のように、端末装置で表
示中の単位画面を、制御用表示装置で表示中の単位画面
と一致させることができる場合、上記画面制御デバイス
の状態取得に失敗した場合に、画面表示を続けると、端
末装置の使用者が、制御用表示装置で現在表示中の単位
画面を誤解して、誤操作する虞れがある。したがって、
上記表示工程では、上記画面制御デバイスの状態取得に
失敗すると、画面表示を停止するように構成されてい
る。Here, if the unit screen being displayed on the terminal device can be made to match the unit screen being displayed on the control display device as in the above configuration, the acquisition of the status of the screen control device has failed. In this case, if the screen display is continued, the user of the terminal device may misunderstand the unit screen currently displayed on the control display device and may make an erroneous operation. Therefore,
The display step is configured to stop the screen display when the acquisition of the status of the screen control device fails.
【0024】さらに、提示工程および制御工程が設けら
れているので、端末装置の使用者は、問い合わせの状態
を確認しながら、例えば、問い合わせの周期あるいは停
止や再開など、問い合わせの状態を制御できる。したが
って、上記誤解に起因する誤操作を防止できるにも拘わ
らず、端末装置の使用者は、デバイスから端末装置まで
の間の広域通信網に端末装置を常時接続するとコストが
嵩んだり、短い周期で問い合わせると広域通信網の帯域
を占有してしまう場合には、問い合わせを一時停止した
り、問い合わせの周期を長くするなど、広域通信網の状
態に応じた問い合わせの状態を制御できる。Further, since the presenting step and the controlling step are provided, the user of the terminal device can control the inquiry status, for example, the inquiry cycle or stop or restart while confirming the inquiry status. Therefore, although it is possible to prevent an erroneous operation due to the above misunderstanding, the user of the terminal device has a problem in that the cost of the terminal device is constantly connected to the wide area communication network from the device to the terminal device or the terminal device is connected in a short cycle. When the inquiry occupies the bandwidth of the wide area communication network, the inquiry state can be controlled according to the state of the wide area communication network by temporarily suspending the inquiry or lengthening the inquiry period.
【0025】[0025]
【発明の実施の形態】本発明の一実施形態について図1
ないし図12に基づいて説明すると、以下の通りであ
る。すなわち、本実施形態に係る制御システム1は、図
2に示すように、ローカル制御システム3から離れた場
所のクライアント装置(端末装置)4でも、インターネ
ット(広域通信網)5を介して、上記ターゲットシステ
ム2のデバイス2aの状態を表示し制御可能なシステム
である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention.
The following is a description with reference to FIG. That is, in the control system 1 according to the present embodiment, as shown in FIG. 2, even in the client device (terminal device) 4 at a place distant from the local control system 3, the above target is transmitted via the Internet (wide area communication network) 5. The system is capable of displaying and controlling the state of the device 2a of the system 2.
【0026】上記ローカル制御システム3は、上記ター
ゲットシステム2のデバイス2aを制御する制御装置と
してのPLC11と、多くの場合、制御対象近傍に配さ
れると共に、制御システム1のHMI(Human Machine
Interface )として、デバイス2aの状態を表示し、オ
ペレータによるデバイス2aへの操作を受け付けるプロ
グラマブル表示器12とを備えている。さらに、本実施
形態に係るローカル制御システム3では、各プログラマ
ブル表示器12は、イーサネット(登録商標)などのロ
ーカルエリアネットワーク(LAN)13によって互い
に接続されている。また、上記LAN13には、多くの
場合、プログラマブル表示器12よりも離れた場所か
ら、ローカル制御システム3全体を管理する制御用ホス
トコンピュータ14が接続されている。The local control system 3 and the PLC 11 as a control device for controlling the device 2a of the target system 2 are arranged in the vicinity of the control target in many cases, and the HMI (Human Machine) of the control system 1 is provided.
Interface), the programmable display 12 that displays the state of the device 2a and accepts an operation on the device 2a by the operator. Further, in the local control system 3 according to the present embodiment, the programmable displays 12 are connected to each other by a local area network (LAN) 13 such as Ethernet (registered trademark). In addition, a control host computer 14 that manages the entire local control system 3 is often connected to the LAN 13 from a location distant from the programmable display 12.
【0027】なお、上記各プログラマブル表示器12
は、シリアルケーブルなどを介して、それぞれに対応す
るPLC11と接続されている。また、図2では、説明
の便宜上、LAN13にプログラマブル表示器12が2
台接続され、各プログラマブル表示器12には、PLC
11がそれぞれ1台ずつ接続されると共に、各PLC1
1にデバイス2aが1台接続されている場合を例示して
いるが、当然ながら、それぞれの接続台数は任意に設定
できる。Each programmable display 12 described above
Are connected to the corresponding PLCs 11 via serial cables or the like. Further, in FIG. 2, for convenience of description, the programmable indicator 12 is connected to the LAN 13 by two.
PLC connected to each programmable display 12
11 are connected one by one, and each PLC1
Although the case where one device 2a is connected to 1 is illustrated, as a matter of course, the number of connected devices can be set arbitrarily.
【0028】また、デバイスは、デバイスアドレスや後
述するシンボル名により特定可能で、しかも、状態を取
得したり、制御(変更)できるものであれば、例えば、
デバイス2a自体であってもよいし、例えば、PLC1
1やプログラマブル表示器12の記憶装置など、ローカ
ル制御システム3に設けられた記憶装置の一領域を示し
ていてもよい。If the device can be specified by a device address or a symbol name described later and the state can be acquired or controlled (changed), for example,
It may be the device 2a itself, for example, PLC1.
1 may represent an area of a storage device provided in the local control system 3, such as the storage device of 1 or the programmable display 12.
【0029】ここで、上記ローカル制御システム3で
は、ローカル制御システム3に必須の構成であり、しか
も、HMIとして動作するため、演算能力に余力のある
プログラマブル表示器12が通信の大半を処理するよう
に構成されている。さらに、各プログラマブル表示器1
2は、自らに接続されているPLC11の機種に固有の
専用プロトコルと、LAN13での共通プロトコルとを
変換して、他のプログラマブル表示器12や制御用ホス
トコンピュータ14と、PLC11との通信を中継す
る。なお、共通プロトコルと専用プロトコルとの間のプ
ロトコル変換には、同じ指示に同じコードが割り当てら
れるように予め定められた共通のコマンドと上記共通の
コマンドに対応するPLC11固有のコマンドとの間の
変換や、データやアドレスの表現方法の変換、シンボル
名とデバイスアドレスとの間の変換なども含まれる。In the local control system 3, the local control system 3 has an indispensable configuration and operates as an HMI. Therefore, the programmable display 12 having a spare computing power handles most of the communication. Is configured. Furthermore, each programmable display 1
2 converts the dedicated protocol unique to the model of PLC 11 connected to itself and the common protocol in LAN 13 to relay the communication between PLC 11 and another programmable display 12 or control host computer 14. To do. In the protocol conversion between the common protocol and the dedicated protocol, conversion is performed between a common command predetermined so that the same code is assigned to the same instruction and a command unique to the PLC 11 corresponding to the common command. It also includes conversion of data and address representation methods, conversion between symbol names and device addresses, and so on.
【0030】これにより、プログラマブル表示器12お
よび制御用ホストコンピュータ14は、他のプログラマ
ブル表示器12に接続されているPLC11の機種に拘
らず、LAN13を介して共通のプロトコルで通信でき
る。この結果、互いに異なる機種のPLC11の混在す
るローカル制御システム3が比較的容易に実現されてい
る。As a result, the programmable display device 12 and the control host computer 14 can communicate with each other via the LAN 13 by a common protocol regardless of the model of the PLC 11 connected to another programmable display device 12. As a result, the local control system 3 in which PLCs 11 of different models are mixed is relatively easily realized.
【0031】より詳細には、上記プログラマブル表示器
12は、予め自らに格納される画面データを参照して、
オペレータにデバイスの状態を表示し、操作を受け付け
るための操作画面を表示している。当該画面データは、
画面上の領域と、当該領域への表示や入力に対応するデ
バイスとの対応関係を示すタグを組み合わせて構成され
ている。More specifically, the programmable display device 12 refers to screen data stored in advance in the programmable display device 12,
The device status is displayed to the operator, and the operation screen for accepting the operation is displayed. The screen data is
It is configured by combining tags indicating the correspondence between the area on the screen and the device corresponding to the display and input to the area.
【0032】上記プログラマブル表示器12は、複数の
単位画面を切り換え表示可能であり、上記タグは、例え
ば、図3および図4に示すように、当該タグが有効とな
る単位画面を示すファイル番号Fと、単位画面上で実行
すべき動作内容を特定する事象名Nと、各事象毎に参照
される参照情報Rとを含んでいる。The programmable display 12 can switch and display a plurality of unit screens, and the tag has a file number F indicating a unit screen in which the tag is valid, as shown in FIGS. 3 and 4, for example. And an event name N that specifies the operation content to be executed on the unit screen, and reference information R that is referenced for each event.
【0033】例えば、上記タグが所定の画面領域(表示
座標範囲)へ所定のデバイスの状態に応じた部品図形を
表示する表示タグWLの場合、例えば、図3に示すよう
に、上記参照情報Rには、表示座標範囲(X・Y)と、
デバイスを特定可能なシンボル(後述)を示すシンボル
名SNと、例えば、部品図形がスイッチの場合、ONを
示す図形のファイルおよびOFFを示す図形のファイル
など、表示時に参照するファイル番号FL…とが含まれ
る。また、タグが入力タグWTの場合、例えば、図4に
示すように、参照情報Rとして、有効入力座標範囲(X
・Y)と、入力結果が書き込まれるデバイスのシンボル
を示すシンボル名SNとが含まれる。For example, in the case where the tag is a display tag WL that displays a component graphic corresponding to the state of a predetermined device in a predetermined screen area (display coordinate range), for example, as shown in FIG. In the display coordinate range (X / Y),
A symbol name SN indicating a device-identifying symbol (described later) and, for example, when the component figure is a switch, a file of figures indicating ON and a file of figures indicating OFF and the file numbers FL referred to at the time of display included. When the tag is the input tag WT, for example, as shown in FIG. 4, the effective input coordinate range (X
Y) and the symbol name SN indicating the symbol of the device to which the input result is written are included.
【0034】一方、プログラマブル表示器12は、所定
の時間間隔で、自らに格納された画面データから、単位
画面のファイル番号が、現在表示中の単位画面である表
示タグを抽出すると共に、予め格納されたシンボルとデ
バイスアドレスとの対応表を参照して、例えば、デバイ
スの実体が自らに接続されたPLC11によって制御さ
れるデバイス2aの場合は、PLC11と通信したり、
デバイスの実体が他のプログラマブル表示器12に接続
されたPLC11によって制御されるデバイス2aの場
合は、当該他のプログラマブル表示器12を介して当該
PLC11と通信するなどして、各表示タグのシンボル
に対応するデバイスアドレスからデバイスの状態(デバ
イスアドレスの内容)を読み出し、デバイスの状態に応
じた部品図形を画面に表示する。これにより、プログラ
マブル表示器12の画面には、例えば、図5に示すよう
に、デバイスの状態が反映される。On the other hand, the programmable display device 12 extracts the display tag, which is the unit screen currently being displayed, with the file number of the unit screen from the screen data stored in the programmable display device 12 at a predetermined time interval and stores it in advance. For example, in the case where the entity of the device is the device 2a controlled by the PLC 11 connected to itself, communication with the PLC 11 is performed by referring to the correspondence table between the generated symbol and the device address.
In the case of the device 2a controlled by the PLC 11 connected to the other programmable display 12, the device entity communicates with the PLC 11 via the other programmable display 12 and becomes a symbol of each display tag. The device status (contents of the device address) is read from the corresponding device address, and the part graphic corresponding to the device status is displayed on the screen. Thereby, the state of the device is reflected on the screen of the programmable display 12, as shown in FIG. 5, for example.
【0035】また、図示しないタッチパネルへの押し操
作など、オペレータの入力操作を受け取ると、プログラ
マブル表示器12は、上記画面データから、現在表示中
の単位画面に対応し、当該入力操作にマッチする入力タ
グを検索すると共に、デバイスの実体の状態を取得する
場合と略同様に、PLC11やプログラマブル表示器1
2と通信するなどして、入力結果に応じて、入力タグの
シンボルが示すデバイスの状態を変更するようデバイス
アドレスの内容(デバイスの状態)を変更する。ここ
で、入力操作の後も、プログラマブル表示器12は、デ
バイスの状態を画面表示するので、操作結果が画面表示
に反映される。Further, upon receiving an operator's input operation such as a push operation on a touch panel (not shown), the programmable display device 12 receives an input corresponding to the currently displayed unit screen from the screen data and matching the input operation. Similar to the case of searching for tags and acquiring the actual state of the device, the PLC 11 and programmable display 1
The contents of the device address (device state) are changed so as to change the state of the device indicated by the symbol of the input tag according to the input result by communicating with the device 2. Here, since the programmable display 12 displays the device state on the screen even after the input operation, the operation result is reflected on the screen display.
【0036】さらに、本実施形態に係るプログラマブル
表示器12では、現在表示中の単位画面を記憶するシス
テム領域も、デバイスの1つとして扱われており、画面
切り換え操作を受け付けるタグは、当該デバイスのシン
ボルに対応付けられた入力タグとして実現されている。
このように、入力タグによって、画面切り換えの受け付
けとデバイスの状態指示の受け付けとの双方が指示され
るので、画面データの設計者は、それぞれ用の設計手順
に習熟する必要がなく、設計者の負担を軽減できる。Further, in the programmable display device 12 according to this embodiment, the system area for storing the currently displayed unit screen is also treated as one of the devices, and the tag for accepting the screen switching operation is the device. It is realized as an input tag associated with a symbol.
In this way, both the screen switching acceptance and the device status instruction acceptance are instructed by the input tag, so that the designer of screen data does not need to be familiar with the design procedure for each, and the designer The burden can be reduced.
【0037】一方、上記制御用ホストコンピュータ14
は、ローカル制御システム3の監視制御を行うHMI処
理部21と、LAN13に接続され、上述の共通プロト
コルで通信するLAN・IF部22と、LAN・IF部
22およびLAN13を介して各プログラマブル表示器
12と通信して上記HMI処理部21などの要求に応じ
るサーバ部23と、シンボルとデバイスアドレスとの対
応を記憶するシンボルデータベース24と、各プログラ
マブル表示器12の画面データを作成する作画処理部2
5と、作成した画面データを格納する画面データメモリ
26とを備えている。これにより、制御用ホストコンピ
ュータ14は、画面データを管理すると共に、ローカル
制御システム3が稼動中、ターゲットシステム2やPL
C11あるいはプログラマブル表示器12の状態を表示
したり制御できる。On the other hand, the control host computer 14
Is an HMI processing unit 21 that performs monitoring control of the local control system 3 and a LAN / IF unit 22 that is connected to the LAN 13 and communicates by the above-described common protocol, and each programmable display device via the LAN / IF unit 22 and the LAN 13. A server unit 23 that communicates with the HMI processing unit 21 to respond to a request from the HMI processing unit 21, a symbol database 24 that stores the correspondence between symbols and device addresses, and a drawing processing unit 2 that creates screen data for each programmable display 12.
5 and a screen data memory 26 for storing the created screen data. As a result, the control host computer 14 manages the screen data, and while the local control system 3 is operating, the target system 2 and PL are controlled.
The state of C11 or the programmable display 12 can be displayed and controlled.
【0038】上記作画処理部25は、上記画面データを
作成する際、例えば、タグのパレットを表示し、パレッ
ト中のタグを選択して画面上に所望のタグを配置するよ
うに、ユーザへ促す。また、作画処理部25は、配置さ
れたタグを指定された座標に表示して、ユーザのドラグ
&ドロップなどの操作に応じてタグの座標を調整する。
また、作画処理部25は、タグに対応するシンボル(後
述)を入力するようにユーザへ促す。ここで、シンボル
は、後述するように、デバイスアドレスと対応付けられ
ており、シンボルにタグを対応付けることで、作画処理
部25は、タグとデバイスアドレスとを対応付けること
ができる。これらの結果、ユーザは、作画処理部25を
操作して、画面上の所望の位置にタグを配置すると共
に、各タグとデバイスのシンボルとを対応付けるだけ
で、画面データを作成できる。When creating the screen data, the drawing processing section 25 prompts the user to display a palette of tags, select a tag in the palette and place a desired tag on the screen, for example. . Further, the drawing processing unit 25 displays the arranged tags at the designated coordinates and adjusts the coordinates of the tags according to the user's operation such as drag and drop.
The drawing processing unit 25 also prompts the user to input a symbol (described later) corresponding to the tag. Here, as will be described later, the symbol is associated with the device address. By associating the tag with the symbol, the drawing processing unit 25 can associate the tag with the device address. As a result, the user can create the screen data by operating the drawing processing unit 25 to arrange the tag at a desired position on the screen and associating each tag with the symbol of the device.
【0039】したがって、プログラマブル表示器12の
表示プログラムを修正する場合に比べて容易に、各プロ
グラマブル表示器12の表示や操作を決定(変更)で
き、ローカル制御システム3のユーザ(制御用ホストコ
ンピュータ14のユーザ)は、ターゲットシステム2の
実情や、プログラマブル表示器12のオペレータの習熟
度、あるいは、ユーザの好みに合わせることができる。Therefore, the display and operation of each programmable display 12 can be determined (changed) more easily than when the display program of the programmable display 12 is modified, and the user of the local control system 3 (control host computer 14). User) of the target system 2, the proficiency level of the operator of the programmable display 12, or the preference of the user.
【0040】また、上記各部材23・25は、デバイス
アドレスではなく、ユーザが意味ある名前をシンボル名
として関連付け可能なシンボルによって、各デバイスを
特定している。ここで、PLC11がデバイス2aを制
御する際、PLC11は、演算量を削減するために、例
えば、X0000のような英数字で表現されるデバイス
アドレスで各デバイス2aを特定している。一方、HM
I処理部21を操作する管理者や、制御プログラムや画
面データの作成者、あるいは、プログラマブル表示器1
2のオペレータなど、制御システム1のユーザにとって
は、各デバイスをデバイスアドレスで特定するより
も、”スイッチ2”のように、意味のある名前で呼んだ
方が、呼称と各デバイスの実体とを関連付けしやすい。
したがって、デバイスアドレスではなく、シンボルで制
御対象となるデバイスを指定することで、上記ユーザが
操作しやすい制御システム1を実現できる。The members 23 and 25 specify each device not by the device address but by a symbol with which the user can associate a meaningful name as a symbol name. Here, when the PLC 11 controls the device 2a, the PLC 11 specifies each device 2a by a device address represented by alphanumeric characters such as X0000 in order to reduce the calculation amount. On the other hand, HM
An administrator who operates the I processing unit 21, a creator of the control program or screen data, or the programmable display device 1
For the user of the control system 1 such as the operator of No. 2, it is better to call each device with a meaningful name such as “switch 2” rather than to specify each device with the device address. Easy to associate.
Therefore, by designating the device to be controlled by the symbol instead of the device address, it is possible to realize the control system 1 that is easy for the user to operate.
【0041】さらに、例えば、PLC11の機種変更な
どによって、デバイスアドレスが変更されたとしても、
作画処理部25は、タグをシンボルと対応付けているの
で、シンボルデータベース24において、シンボルとデ
バイスアドレスとの対応を変更するだけで変更に対応で
きる。この結果、デバイスアドレスを対応付ける構成と
異なり、当該デバイスアドレスが出現する度にデバイス
アドレスを変更する必要がない。この結果、変更時の手
間が少ない制御システム1を実現できる。Further, even if the device address is changed by changing the model of the PLC 11, for example,
Since the drawing processing unit 25 associates the tag with the symbol, the modification can be handled only by changing the correspondence between the symbol and the device address in the symbol database 24. As a result, unlike the configuration in which the device address is associated, it is not necessary to change the device address each time the device address appears. As a result, it is possible to realize the control system 1 that requires less labor when changing.
【0042】また、上記作画処理部25は、ユーザの指
示に従って、シンボルとデバイスアドレスとを対応付
け、両者の対応を、シンボルデータベース24に登録で
きる。一例として、本実施形態に係るシンボルデータベ
ース24は、図6に示すように、ローカル制御システム
3内の各デバイスに対応するシンボルについて、シンボ
ル名と、デバイスアドレスとの組み合わせを含むレコー
ドを記憶している。また、シンボルデータベース24に
おいて、各シンボルのレコードは、図7に示すように、
階層的に記憶されており、シンボルデータベース24を
参照することで、サーバ部23などは、ローカル制御シ
ステム3内に存在するプログラマブル表示器12を把握
し、各プログラマブル表示器12に登録されたシンボル
を把握できると共に、各シンボルのレコードから、シン
ボル名やデバイスアドレスなどを取得できる。また、シ
ンボルデータベース24を検索することで、所定のシン
ボル名を持つデバイスの実体(デバイス2a)を制御す
るPLC11へ接続されたプログラマブル表示器12を
特定できる。Further, the drawing processing section 25 can associate the symbol with the device address and register the correspondence between them in the symbol database 24 according to the user's instruction. As an example, as shown in FIG. 6, the symbol database 24 according to the present embodiment stores a record including a combination of a symbol name and a device address for a symbol corresponding to each device in the local control system 3. There is. Further, in the symbol database 24, the record of each symbol is as shown in FIG.
It is stored hierarchically, and by referring to the symbol database 24, the server unit 23 or the like grasps the programmable display 12 existing in the local control system 3 and displays the symbols registered in each programmable display 12. In addition to being able to grasp, the symbol name and device address can be acquired from the record of each symbol. Further, by searching the symbol database 24, the programmable display 12 connected to the PLC 11 that controls the substance of the device (device 2a) having a predetermined symbol name can be specified.
【0043】なお、シンボルデータベース24には、各
プログラマブル表示器12など、LAN13に加入して
いる各機器についても、機器を示す局IDと、局の名称
(局名)と、機器のネットワークアドレスなどとの組み
合わせを含むレコードが記憶されており、上記制御シス
テム1のユーザは、上記各機器を局名で指定できる。In addition, in the symbol database 24, for each device such as each programmable display 12 that joins the LAN 13, the station ID indicating the device, the name of the station (station name), the network address of the device, etc. A record including a combination of the above is stored, and the user of the control system 1 can specify each of the devices by the station name.
【0044】さらに、本実施形態に係る上記制御用ホス
トコンピュータ14には、プログラマブル表示器12用
の画面データに基づいて、クライアント装置4が遠隔監
視制御する際の動作を指示する公開用ファイルを生成す
るファイル生成部31と、公開用ファイルを記憶するフ
ァイル記憶部32と、上記動作を行うクライアント装置
4と通信する公開サーバ部(応答手段)33とが設けら
れている。上記公開用ファイルは、プログラマブル表示
器12が画面データに基づいてデバイス2aの状態に応
じて表示する動作、および、操作に応じたデバイス2a
の状態変更を指示する際の動作と略同様の動作を、クラ
イアント装置4へ指示できる。Further, in the control host computer 14 according to the present embodiment, based on the screen data for the programmable display 12, a public file for instructing an operation when the client device 4 performs remote monitoring control is generated. There is provided a file generating unit 31, a file storing unit 32 for storing a file for publication, and a public server unit (response means) 33 for communicating with the client device 4 performing the above operation. The above-mentioned public file is an operation that the programmable display 12 displays according to the state of the device 2a based on screen data, and the device 2a according to the operation.
The client device 4 can be instructed to perform an operation substantially similar to the operation for instructing the state change of.
【0045】ただし、プログラマブル表示器12が画面
データに基づいて動作する場合と異なり、表示先は、ク
ライアント装置4の図示しない表示装置であり、操作
は、クライアント装置4の図示しない入力装置から受け
取る。また、クライアント装置4がデバイス2aの状態
を問い合わせる相手や状態変更指示の送信先も、公開サ
ーバ部33に変更されており、公開サーバ部33は、上
記クライアント装置4と通信して、デバイス2aの状態
をクライアント装置4へ伝えると共に、デバイス2aの
状態変更指示をクライアント装置4から受け取ることが
できる。However, unlike the case where the programmable display 12 operates based on the screen data, the display destination is the display device (not shown) of the client device 4, and the operation is received from the input device (not shown) of the client device 4. Also, the party to which the client device 4 inquires about the state of the device 2a and the transmission destination of the state change instruction are also changed to the public server unit 33, and the public server unit 33 communicates with the client device 4 to communicate with the client device 4a. The state can be transmitted to the client device 4 and an instruction to change the state of the device 2a can be received from the client device 4.
【0046】さらに、上記公開用ファイルは、上記各動
作(操作画面表示/操作受付用の動作)に加えて、例え
ば、クライアント装置4が周期的にデバイス2aの状態
を問い合わせる際の周期や、問い合わせの一時停止な
ど、問い合わせの状態を画面に表示して、問い合わせの
状態変更の入力を促す動作と、変更指示に応じて、クラ
イアント装置4による問い合わせの状態を制御する動作
(問い合わせ制御用の動作)とを、クライアント装置4
に指示できる。Further, in addition to the above-mentioned operations (operation screen display / operation acceptance operation), for example, the above-mentioned public file has a cycle when the client device 4 periodically inquires about the state of the device 2a, and an inquiry. Operation of displaying the inquiry status on the screen and prompting for input of the inquiry status change, and operation of controlling the inquiry status by the client device 4 according to the change instruction (operation for inquiry control) And client device 4
Can be instructed to.
【0047】上記公開用ファイルは、例えば、クライア
ント装置4のバーチャルマシン41で実行可能で、上記
各動作を実行するアプレットと、ブラウザ42で読み込
み可能で、上記アプレットをバーチャルマシン41に実
行させるハイパーテキスト文書との組み合わせなどとし
て実現され、公開サーバ部33によってクライアント装
置4に送信される。The public file can be executed by the virtual machine 41 of the client device 4 and can be read by the browser 42 and the applet for executing the above-mentioned operations. It is realized as a combination with a document or the like, and is transmitted to the client device 4 by the public server unit 33.
【0048】なお、上記ファイル生成部31は、画面デ
ータに基づいて、アプレットとハイパーテキスト文書と
を直接生成してもよい。また、上記画面データの各タグ
に対応するパラメータが記述されたデータファイルを参
照して、上記各動作を実行するようにアプレットが生成
されている場合、上記ファイル生成部31は、画面デー
タに基づいて、上記公開用ファイルの1つとしてのデー
タファイルを生成してもよい。The file generator 31 may directly generate the applet and the hypertext document based on the screen data. Further, when an applet is generated to execute each operation by referring to the data file in which the parameter corresponding to each tag of the above-mentioned screen data is described, the above-mentioned file generation unit 31 is based on the screen data. Then, a data file as one of the public files may be generated.
【0049】また、上記各部材21〜25、31〜33
および41〜42は、CPUなどの演算手段が、ROM
やRAMなどの記憶手段に格納されたプログラムを実行
し、タッチパネルや液晶表示装置などの入出力手段、あ
るいは、インターフェース回路などの通信回路を制御す
ることによって実現される機能ブロックである。したが
って、これらの手段を有するコンピュータが、上記プロ
グラムを記録した記録媒体(例えば、CD−ROMな
ど)を読み取り、当該プログラムを実行するだけで、本
実施形態に係る制御用ホストコンピュータ14およびク
ライアント装置4を実現できる。特に、クライアント装
置4のバーチャルマシン41およびブラウザ42は、多
くのコンピュータに予めインストールされている汎用の
ブラウザソフトで実現できるので、これらのコンピュー
タは、特別なプログラムをインストールすることなく、
クライアント装置4として動作できる。なお、例えば、
LAN13やインターネット5、あるいは、他の通信路
を介してプログラムをダウンロードするためのプログラ
ムが、上記コンピュータに予めインストールされていれ
ば、これらの通信路を介して、上記コンピュータへ上記
プログラムを配付することもできる。Further, the above members 21 to 25, 31 to 33
And 41 to 42, the arithmetic means such as a CPU is a ROM
Is a functional block realized by executing a program stored in a storage unit such as a RAM or RAM and controlling an input / output unit such as a touch panel or a liquid crystal display device, or a communication circuit such as an interface circuit. Therefore, a computer having these means only needs to read a recording medium (for example, a CD-ROM or the like) in which the above program is recorded and execute the program to control the host computer 14 and the client device 4 according to the present embodiment. Can be realized. In particular, since the virtual machine 41 and the browser 42 of the client device 4 can be realized by general-purpose browser software preinstalled on many computers, these computers can be installed without installing a special program.
It can operate as the client device 4. Note that, for example,
If a program for downloading the program through the LAN 13, the Internet 5, or another communication path is installed in the computer in advance, distribute the program to the computer through these communication paths. You can also
【0050】以下では、一例として、公開用ファイル
が、上記画面データに含まれる各単位画面に対応するX
ML(eXtensible Mark-up Language )ファイルと、当
該XMLファイルを参照して、上記操作画面表示/操作
受付用の動作をクライアント装置4に実行させるHMI
用アプレットが格納されたアプレットファイルと、上記
問い合わせ制御用の動作を実行させるアプレットが格納
されたアプレットファイルと、両アプレットを実行させ
るHTML文書とから構成されている場合について詳細
に説明する。In the following, as an example, the open file is an X file corresponding to each unit screen included in the screen data.
An ML (eXtensible Mark-up Language) file and an HMI that causes the client device 4 to perform the operation screen display / operation accepting operation with reference to the XML file.
A detailed description will be given of a case in which it is composed of an applet file in which an applet for storing is stored, an applet file in which an applet for executing the above-mentioned inquiry control operation is stored, and an HTML document for executing both applets.
【0051】すなわち、上記各XMLファイルには、そ
れぞれに対応する単位画面に関連するタグ(処理指示
語)を示すXML要素(エレメント)が含まれている。That is, each XML file includes an XML element (element) indicating a tag (processing instruction word) related to the corresponding unit screen.
【0052】例えば、プログラマブル表示器12用の画
面データ内に、図3に示す形式で、単位画面=1(メイ
ン画面)の表示タグWLが含まれている場合、当該メイ
ン画面に対応するXMLファイルでは、例えば、図8に
示すように、当該表示タグWLに対応するTag要素E
1が含まれている。当該Tag要素E1には、事象名、
表示座標範囲、参照ファイル番号、並びに、シンボル名
などに対応するTagName要素E11、X要素E1
2およびY要素E13、LibraryNo要素E1
4、並びに、BitSymbolName要素E15な
どが含まれており、各要素E11〜E15の内容(コン
テンツ)は、上記表示タグWLの内容に応じて、例え
ば、図8の例では、”L_0000”、−232および
120、101、並びに、010100に設定されてい
る。また、図4に示す入力タグWTに対応するTag要
素E2では、事象名、シンボル名、並びに、有効入力範
囲などに対応するTagName要素E21、Symb
olName要素E22、並びに、X要素E23、Y要
素E24、X2要素E25およびY2要素E26などの
内容が、入力タグWTの内容に応じて設定される。な
お、シンボル名が画面制御用デバイスとなる入力タグW
Tに対応するTag要素が、特許請求の範囲に記載の対
応情報に対応する。For example, when the screen data for the programmable display 12 includes a display tag WL of unit screen = 1 (main screen) in the format shown in FIG. 3, an XML file corresponding to the main screen is displayed. Then, for example, as shown in FIG. 8, the Tag element E corresponding to the display tag WL is displayed.
1 is included. The Tag element E1 has an event name,
TagName element E11, X element E1 corresponding to the display coordinate range, reference file number, symbol name, etc.
2 and Y element E13, LibraryNo element E1
4 and the BitSymbolName element E15 and the like are included, and the contents (contents) of the respective elements E11 to E15 depend on the contents of the display tag WL, for example, “L_0000”, −232 in the example of FIG. And 120, 101, and 010100. Further, in the Tag element E2 corresponding to the input tag WT shown in FIG. 4, the EventName, the symbol name, and the TagName element E21, Symb corresponding to the valid input range and the like.
The contents of the olName element E22, the X element E23, the Y element E24, the X2 element E25, the Y2 element E26, and the like are set according to the content of the input tag WT. The input tag W whose symbol name is the screen control device
The Tag element corresponding to T corresponds to the correspondence information described in the claims.
【0053】ここで、上記各要素E11〜E26などの
内容は、表示タグWLや入力タグWTの内容と一致する
ように設定してもよいし、例えば、プログラマブル表示
器12の解像度とクライアント装置4の解像度との相違
などに応じた比率で拡大/縮小するなど、表示タグWL
や入力タグWTの内容を所定の手順で変換して設定して
もよい。Here, the contents of each of the elements E11 to E26 may be set so as to match the contents of the display tag WL or the input tag WT. For example, the resolution of the programmable display 12 and the client device 4 may be set. Display tag WL, such as enlarging / reducing at a ratio according to the difference with the resolution of the
Alternatively, the contents of the input tag WT may be converted and set in a predetermined procedure.
【0054】図2に示すファイル生成部31は、例え
ば、プログラマブル表示器12用の画面データから、あ
る単位画面の処理指示語(タグWL・WT…)、すなわ
ち、単位画面のファイル番号が所定の値のタグを順次抜
き出し、当該タグに応じたXML要素を生成し、当該X
ML要素の内容を上記タグに応じて設定することで、当
該単位画面のXMLファイルを作成し、ファイル記憶部
32にできる。The file generation unit 31 shown in FIG. 2 determines a processing instruction word (tag WL.WT ...) Of a certain unit screen, that is, a file number of the unit screen from the screen data for the programmable display 12, for example. Value tags are sequentially extracted, an XML element corresponding to the tag is generated, and the X
By setting the contents of the ML element according to the tag, an XML file of the unit screen can be created and stored in the file storage unit 32.
【0055】一方、上記ファイル記憶部32に格納され
るHMI用アプレットは、上記HTMLファイルで参照
されると共に、上記XMLファイルを参照しながら、プ
ログラマブル表示器12が単位画面の表示や操作を行う
際の動作と同等の動作を、クライアント装置4に実行さ
せるプログラムであり、本実施形態では、クライアント
装置4のバーチャルマシン41が実行可能なJava
(登録商標)言語で記述されたバイトコードとして実現
されている。On the other hand, the HMI applet stored in the file storage unit 32 is referred to in the HTML file, and when the programmable display 12 displays or operates a unit screen while referring to the XML file. Is a program that causes the client apparatus 4 to execute the same operation as the above operation. In the present embodiment, Java that can be executed by the virtual machine 41 of the client apparatus 4 is executed.
It is realized as a bytecode written in the (registered trademark) language.
【0056】上記HMI用アプレットは、画面データ中
に出現可能なタグの種類に対応するメソッドが定義され
たクラスと、XMLファイルを参照して、タグ種に対応
するメソッドを呼び出すメソッドが定義されたクラスと
を含んでおり、当該アプレットを実行するバーチャルマ
シン41は、XMLファイルを参照し、タグを示すXM
L要素に基づいて、タグ種に応じたメソッドを呼び出す
ことができる。当該HMI用アプレットをバーチャルマ
シン41が実行することで、クライアント装置4には、
図1に示すHMI処理部51が形成される。In the above HMI applet, a class in which a method corresponding to the type of tag that can appear in the screen data is defined, and a method for calling the method corresponding to the tag type by referring to the XML file are defined. The virtual machine 41 including the class and executing the applet refers to the XML file and shows the XM indicating the tag.
A method corresponding to the tag type can be called based on the L element. When the virtual machine 41 executes the HMI applet, the client device 4 becomes
The HMI processing part 51 shown in FIG. 1 is formed.
【0057】より詳細には、バーチャルマシン41が実
行するメソッドのうち、タグ種に対応するメソッドは、
例えば、表示タグの場合、所定の時間間隔で呼び出さ
れ、特定のデバイスの状態を公開サーバ部33へ問い合
わせると共に、応答に応じた表示を行う描画メソッドで
ある。また、入力タグの場合は、入力イベントが発生し
たときに呼び出され、入力結果に応じた制御指示を操作
に応じたデバイスへ与えるように、公開サーバ部33へ
要求する入力メソッドである。More specifically, among the methods executed by the virtual machine 41, the method corresponding to the tag type is
For example, in the case of a display tag, it is a drawing method that is called at a predetermined time interval, inquires the public server unit 33 about the state of a specific device, and displays according to the response. The input tag is an input method that is called when an input event occurs and requests the public server unit 33 to give a control instruction according to the input result to the device according to the operation.
【0058】ここで、本実施形態に係る画面データで
は、プログラマブル表示器12と同様、プログラマブル
表示器12の記憶領域のうち、現在表示中の単位画面を
示すデータが格納されるシステム領域が、デバイスとし
て扱われており、各単位画面の切り換え動作も、当該デ
バイス(以下では、画面制御用デバイスと称する)の状
態を変更する入力タグによって実現されている。この場
合、入力タグには、参照情報Rとして、上記画面制御用
デバイスのシンボル名が含まれる。Here, in the screen data according to the present embodiment, like the programmable display device 12, in the storage area of the programmable display device 12, the system area in which the data indicating the currently displayed unit screen is stored is the device. The switching operation of each unit screen is also realized by an input tag that changes the state of the device (hereinafter, referred to as a screen control device). In this case, the input tag includes the symbol name of the screen control device as reference information R.
【0059】したがって、上記各入力メソッドのうち、
上記画面制御用デバイスへの変更指示を要求する入力メ
ソッドは、通常の入力メソッドと同様に、公開サーバ部
33へ単位画面の変更指示を送信すると共に、変更後の
単位画面に応じたXMLファイルを読み込む。これによ
り、クライアント装置4およびプログラマブル表示器1
2は、常時同じ単位画面を表示できる。Therefore, among the above input methods,
The input method for requesting a change instruction to the screen control device transmits a change instruction of the unit screen to the public server unit 33 and also generates an XML file corresponding to the changed unit screen, as in the normal input method. Read. Thereby, the client device 4 and the programmable display 1
2 can always display the same unit screen.
【0060】また、上記入力メソッドは、上記画面制御
用デバイスへの変更指示を送信する代わりに、クライア
ント装置4内に設けられた代替の記憶領域の内容を変更
してもよい。この場合、他のメソッドにて、当該画面制
御用デバイスを参照する際は、公開サーバ部33へ問い
合わせる代わりに上記代替の記憶領域が参照される。し
たがって、クライアント装置4は、プログラマブル表示
器12用の単位画面であっても、当該プログラマブル表
示器12で現在表示している単位画面とは異なる単位画
面を表示することもできる。The input method may change the contents of an alternative storage area provided in the client device 4 instead of sending the change instruction to the screen control device. In this case, when referring to the screen control device by another method, the alternative storage area is referred to instead of making an inquiry to the public server unit 33. Therefore, the client device 4 can also display a unit screen different from the unit screen currently displayed on the programmable display 12, even if the unit screen is for the programmable display 12.
【0061】さらに、例えば、後述するアプレット実行
時のパラメータ設定によって指定したり、あるいは、単
位画面の選択操作と連動してメニューを表示して選択さ
せるなどして、プログラマブル表示器12と同じ単位画
面を表示するか、異なる単位画面を表示するかを選択で
きるように、上記各メソッドを作成してもよい。この場
合、同じアプレットやXMLファイルを使用しているに
も拘らず、例えば、プログラマブル表示器12のオペレ
ータの操作を監視したい場合などには、前者を選択し、
オペレータの操作とは別にローカル制御システム3を監
視したい場合などには、後者を選択することができる。Further, for example, the same unit screen as the programmable display 12 can be specified by specifying it by parameter setting at the time of executing an applet which will be described later, or by displaying a menu in conjunction with the unit screen selecting operation. Each of the above methods may be created so as to select whether to display or a different unit screen. In this case, although the same applet or XML file is used, for example, when the operator wants to monitor the operation of the programmable display 12, the former is selected,
The latter can be selected when it is desired to monitor the local control system 3 separately from the operation of the operator.
【0062】また、XMLファイルを参照するメソッド
は、例えば、当該XMLファイルから、タグを示すXM
L要素を抽出し、当該タグの種類(例えば、当該XML
要素中のTagName要素の内容)に対応するクラス
のインスタンスを生成し、当該インスタンスのフィール
ドへ、上記タグのパラメータ(例えば、上記XML要素
中の各要素の内容)を設定するなどして、XMLファイ
ルに応じたメソッドをバーチャルマシン41に実行させ
ることができる。The method for referring to the XML file is, for example, the XM indicating the tag from the XML file.
The L element is extracted, and the type of the tag (for example, the XML
An XML file is created by creating an instance of the class corresponding to the TagName element in the element) and setting the parameters of the tag (for example, the content of each element in the XML element) in the field of the instance. It is possible to cause the virtual machine 41 to execute a method according to the above.
【0063】ここで、プログラマブル表示器12で現在
表示している単位画面と同じ単位画面をクライアント装
置4で表示しようとする場合、クライアント装置4に
て、画面制御デバイスの状態取得に失敗しているにも拘
わらず、状態取得に成功している場合と同様に画面表示
すると、クライアント装置4のユーザは、状態取得の成
否を確認できない。この場合、プログラマブル表示器1
2の単位画面が切り換えられた場合であっても、クライ
アント装置4のユーザは、クライアント装置4で現在表
示している単位画面がプログラマブル表示器12の単位
画面であると誤解して、誤った制御を指示する虞れがあ
る。したがって、上記HMI用アプレットの実行によっ
て形成されるHMI処理部51は、画面制御デバイスの
状態取得に失敗すると、画面表示を停止して、ユーザ
に、画面制御デバイスの状態取得に失敗した旨を通知す
るように構成されている。Here, when the client device 4 attempts to display the same unit screen as the one currently displayed on the programmable display 12, the client device 4 has failed to acquire the state of the screen control device. Nevertheless, when the screen display is performed as in the case where the status acquisition is successful, the user of the client device 4 cannot confirm the success or failure of the status acquisition. In this case, programmable display 1
Even when the unit screen No. 2 is switched, the user of the client device 4 misunderstands that the unit screen currently displayed on the client device 4 is the unit screen of the programmable display device 12, and thus the wrong control is performed. There is a risk of instructing. Therefore, when the HMI processing unit 51 formed by executing the HMI applet fails to acquire the status of the screen control device, it stops the screen display and notifies the user that the status acquisition of the screen control device has failed. Is configured to.
【0064】一方、HTMLファイルには、図9に示す
ように、上記HMI用アプレットをクライアント装置4
のバーチャルマシン41へ実行させるための文字列P1
1と、例えば、"<HTML>"や"<TITLE>" など、HTML文
書として必要な文字列P1とが含まれている。また、H
TMLファイルには、例えば、アプレットが表示するプ
ログラマブル表示器12を説明する文字や画像を表示す
るための文字列、あるいは、ローカル制御システム3を
説明するハイパーテキスト文書へのリンクを示す文字列
など、HTMLの書式に沿った文字列P2が含まれてい
てもよい。さらに、HTMLファイルには、単位画面切
り換え用のアプレットを実行させるための文字列P12
が含まれていてもよい。On the other hand, in the HTML file, as shown in FIG.
Character string P1 to be executed by the virtual machine 41 of
1 and a character string P1 required as an HTML document, such as "<HTML>" or "<TITLE>". Also, H
In the TML file, for example, a character string for displaying a character or an image that describes the programmable display 12 displayed by the applet, or a character string that indicates a link to a hypertext document that describes the local control system 3, The character string P2 according to the HTML format may be included. Further, the HTML file includes a character string P12 for executing the applet for switching the unit screen.
May be included.
【0065】さらに、本実施形態に係るHTMLファイ
ルには、詳細は後述するように、問い合わせ制御用アプ
レットをクライアント装置4のバーチャルマシン41へ
実行させるための文字列P21も含まれている。Further, the HTML file according to the present embodiment also includes a character string P21 for causing the virtual machine 41 of the client device 4 to execute the inquiry control applet, as will be described later in detail.
【0066】なお、本実施形態では、XMLファイルが
単位画面毎に設けられており、例えば、クライアント装
置4のブラウザ42が上記HTMLファイルを表示する
際に最初に表示する単位画面の指定やプログラマブル表
示器12の指定など、画面データ(プログラマブル表示
器12)全体に関連する情報は、上記文字列P11中に
含まれている。本実施形態の場合、当該情報は、アプレ
ットを実行する際のパラメータとして指定されており、
例えば、最初の単位画面は、PARAM要素の属性名"B
ASESCR" の属性値(この例では、"1" )として指定され
る。なお、図2に示すファイル生成部31は、画面デー
タメモリ26に格納された画面データを参照して、HT
MLファイルを生成し、ファイル記憶部32に格納でき
る。In this embodiment, an XML file is provided for each unit screen. For example, when the browser 42 of the client device 4 displays the HTML file, the unit screen to be displayed first is designated or programmable display is possible. Information relating to the entire screen data (programmable display 12) such as designation of the display 12 is included in the character string P11. In the case of this embodiment, the information is specified as a parameter when executing the applet,
For example, the first unit screen is the attribute name "B of the PARAM element.
ASESCR "is designated as the attribute value (" 1 "in this example). The file generation unit 31 shown in FIG.
An ML file can be generated and stored in the file storage unit 32.
【0067】また、公開サーバ部33は、クライアント
装置4から要求があると、例えば、URI(Universal R
esource Identifier) などに基づいて、クライアント装
置4が要求しているHTMLファイルやXMLファイル
あるいはアプレットを判別し、これらをクライアント装
置4へ配布できる。Further, when the public server unit 33 receives a request from the client device 4, for example, the URI (Universal R)
It is possible to determine the HTML file, the XML file, or the applet requested by the client device 4 based on the esource identifier) and distribute them to the client device 4.
【0068】さらに、公開サーバ部33は、HMI処理
部21が取得する場合と同様に、サーバ部23を介して
デバイスの状態を取得できる。また、公開サーバ部33
は、HMI処理部21がサーバ部23を介してデバイス
の状態を変更する場合と同様に、上記クライアント装置
4からの指示に応じて、サーバ部23へ要求して、プロ
グラマブル表示器12自体やプログラマブル表示器12
に接続されたPLC11など、デバイスの実体へ内容の
変更指示を伝送できる。Further, the public server unit 33 can acquire the device status via the server unit 23, as in the case of the HMI processing unit 21. Also, the public server unit 33
In the same manner as when the HMI processing unit 21 changes the state of the device via the server unit 23, the HMI processing unit 21 requests the server unit 23 in accordance with an instruction from the client device 4, and the programmable display 12 itself or the programmable display 12 itself. Indicator 12
A content change instruction can be transmitted to the entity of the device such as the PLC 11 connected to the.
【0069】これにより、クライアント装置4は、イン
ターネット5を介して遠隔地から接続されている場合で
あっても、プログラマブル表示器12の画面と同一内容
の操作画面を表示すると共に、同じ操作で、デバイスの
状態を制御できる。As a result, even when the client device 4 is remotely connected via the Internet 5, the client device 4 displays an operation screen having the same contents as the screen of the programmable display 12, and the same operation allows You can control the state of the device.
【0070】上記構成では、図10に示すステップ1
(以下では、S1のように略称する)において、ローカ
ル制御システム3のユーザは、制御用ホストコンピュー
タ14の作画処理部25を操作し、ターゲットシステム
2の実情やプログラマブル表示器12のオペレータの習
熟度、あるいは、ユーザの好みに合わせて、画面データ
を作成/修正し、当該画面データを画面データメモリ2
6に格納する。また、画面データ作成/修正の際、生成
/修正されたシンボルは、シンボルデータベース24に
登録される。さらに、作成された画面データは、例え
ば、シミュレーションや接続試験などによって、正常に
動くことが確認された後、S2において、プログラマブ
ル表示器12に配信され、S3において、プログラマブ
ル表示器12が画面データに応じた表示や操作受け付け
を開始する。In the above configuration, step 1 shown in FIG.
In (hereinafter, abbreviated as S1), the user of the local control system 3 operates the drawing processing unit 25 of the control host computer 14 to learn the actual situation of the target system 2 and the proficiency level of the operator of the programmable display 12. Alternatively, the screen data is created / modified according to the user's preference, and the screen data is stored in the screen data memory 2
Store in 6. In addition, when the screen data is created / corrected, the generated / corrected symbols are registered in the symbol database 24. Further, the created screen data is distributed to the programmable display device 12 in S2 after it is confirmed to operate normally by, for example, a simulation or a connection test, and the programmable display device 12 converts it into screen data in S3. The corresponding display and operation acceptance are started.
【0071】ここで、最適な画面は、好みや習熟度など
にも左右されるため、一意に決めることができず、比較
的頻繁に変更されることが多い。ところが、上述したよ
うに、本実施形態では、ローカル制御システム2(制御
用ホストコンピュータ14)のユーザが、画面データを
タグの組み合わせで生成できるので、これらの要求に柔
軟に対応でき、最適な状態を保ち続けることができる。
また、制御用ホストコンピュータ14で一括して管理で
きるため、多くの場所で並行して管理する場合に比べ
て、画面データを容易に管理できる。Here, the optimum screen cannot be uniquely determined because it depends on the taste and the degree of proficiency and is often changed relatively frequently. However, as described above, in the present embodiment, the user of the local control system 2 (control host computer 14) can generate screen data with a combination of tags, so that it is possible to flexibly respond to these requests and create an optimal state. Can be kept.
Further, since the control host computer 14 can collectively manage the screen data, it is possible to easily manage the screen data as compared with the case where the management is performed in parallel at many places.
【0072】また、画面データが更新されると、制御用
ホストコンピュータ14のファイル生成部31は、S1
1において、当該画面データからHTMLファイルおよ
びXMLファイルなどの公開用ファイルを生成してファ
イル記憶部32に格納する。When the screen data is updated, the file generation unit 31 of the control host computer 14 causes the S1
In 1, the public files such as the HTML file and the XML file are generated from the screen data and stored in the file storage unit 32.
【0073】一方、S21において、インターネット5
を介して、クライアント装置4がローカル制御システム
3の制御用ホストコンピュータ14(公開サーバ部3
3)にアクセスして、あるプログラマブル表示器12の
画面を表示するように指示すると、公開サーバ部33
は、例えば、クライアント装置4から受け取った識別番
号およびパスワードが予め定められた組み合わせである
か否かを確認するなどして、上記画面による表示/制御
が上記クライアント装置4、または、そのユーザに許可
されているか否かを認証し、許可されていないクライア
ント装置4からのアクセスを拒否する。On the other hand, in S21, the Internet 5
Via the client device 4 via the control host computer 14 of the local control system 3 (public server unit 3
When the user accesses 3) to instruct to display the screen of a certain programmable display 12, the public server unit 33
Confirms whether or not the identification number and the password received from the client device 4 are a predetermined combination, and allows the client device 4 or the user to display / control the screen. It is authenticated whether or not the access is permitted, and the access from the unauthorized client device 4 is denied.
【0074】許可された正規なクライアント装置4であ
ることが確認されると、公開サーバ部33は、S22に
おいて、上記S11にて生成された公開用ファイルのう
ち、クライアント装置4が要求した画面を表示するため
のHTMLファイルをファイル記憶部32から読み出
し、インターネット5を介してクライアント装置4へ当
該ファイルを送信する。When it is confirmed that the authorized client device 4 is the authorized client device 4, in S22, the public server unit 33 displays the screen requested by the client device 4 among the public files generated in S11. The HTML file to be displayed is read from the file storage unit 32, and the file is transmitted to the client device 4 via the Internet 5.
【0075】さらに、クライアント装置4のブラウザ4
2は、HTMLファイル中の各APPLET要素("<APPLET>"
から"</APPLET>" の部分)で指定された各アプレットを
公開サーバ部33から取得し、バーチャルマシン41へ
実行させる。これにより、クライアント装置4には、図
1に示すように、公開サーバ部33と通信して、操作画
面を表示し、操作を受け付けるHMI処理部51と、ク
ライアント装置4のユーザの指示に応じて、当該HMI
処理部51による公開サーバ部33への問い合わせの状
態を制御する制御部52とが生成される(S23)。な
お、HMI処理部51および制御部52は、バーチャル
マシン41が上述のHMI用アプレットおよび問い合わ
せ制御用アプレットを、それぞれ実行することで実現さ
れる機能ブロックである。Further, the browser 4 of the client device 4
2 is each APPLET element ("<APPLET>" in the HTML file
From the public server section 33, and causes the virtual machine 41 to execute each applet specified by "</ APPLET>". As a result, as shown in FIG. 1, the client device 4 communicates with the public server unit 33 to display an operation screen and receive an operation, and the HMI processing unit 51 and the user of the client device 4 receive an instruction. , The HMI
The control unit 52 that controls the state of the inquiry to the public server unit 33 by the processing unit 51 is generated (S23). The HMI processing unit 51 and the control unit 52 are functional blocks realized by the virtual machine 41 executing the HMI applet and the inquiry control applet, respectively.
【0076】さらに、上記制御部52は、例えば、図1
1に示すように、S31において、クライアント装置4
の表示画面のうち、問い合わせ制御用のアプレット(制
御部52)に割り当てられた領域A52に、上記HMI
処理部51による問い合わせ(ポーリング)の状態を表
示し、入力を待ち受ける。Further, the control unit 52 is, for example, as shown in FIG.
As shown in FIG. 1, in S31, the client device 4
In the area A52 allocated to the inquiry control applet (control unit 52) on the display screen of
The status of inquiry (polling) by the processing unit 51 is displayed and the input is awaited.
【0077】本実施形態に係る制御部52は、上記HM
I処理部51による現在の問い合わせ周期(ポーリング
周期)を〔ms〕単位で表示し、設定するためのテキス
トボックスB1と、ポーリング処理の一時停止を指示す
るボタンB11と、ポーリング処理の再開を指示するた
めのボタンB12と、ポーリング処理のステップ実行を
指示するボタンB13と、ポーリング処理が完了するま
での期間を示すプログレスバーB21とを表示してい
る。The control unit 52 according to the present embodiment uses the HM
The current inquiry period (polling period) by the I processing unit 51 is displayed in units of [ms], a text box B1 for setting, a button B11 for instructing suspension of the polling process, and an instruction for resuming the polling process. A button B12 for performing the polling process, a button B13 for instructing step execution of the polling process, and a progress bar B21 indicating a period until the polling process is completed are displayed.
【0078】なお、クライアント装置4のユーザが特に
指示していない間、HMI処理部51は、予め定められ
たポーリング周期で公開サーバ部33に問い合わせてい
るので、上記テキストボックスB1には、ポーリング周
期の初期値(例えば、2000〔ms〕など)が表示さ
れている。While the user of the client device 4 does not give a particular instruction, the HMI processing unit 51 makes an inquiry to the public server unit 33 at a predetermined polling cycle, so that the text box B1 has a polling cycle. The initial value of (for example, 2000 [ms]) is displayed.
【0079】一方、上記HMI処理部51は、画面表示
に必要なXMLファイルを公開サーバ部33から取得す
ると共に、ユーザからの指示がない限り(S32にて、
NOの場合)、S33において、今回表示すべき単位画面
を取得した後、S34において、当該単位画面を示すX
MLファイルを参照しながら、公開サーバ部33へ、デ
バイスの状態を問い合わせ、応答結果に応じて、デバイ
スの状態を画面に表示する。また、画面(操作画面)へ
の操作を受け付けると、HMI処理部51は、上記XM
Lファイルを参照して、操作を認識し、認識結果に応じ
た制御指示を公開サーバ部33に送信できる。なお、上
記S31〜S34の処理は、予め定められたポーリング
周期で繰り返され、クライアント装置4の画面には、各
デバイスの現状が表示される。On the other hand, the HMI processing section 51 obtains the XML file required for screen display from the public server section 33, and unless otherwise instructed by the user (at S32,
In the case of NO), in S33, after acquiring the unit screen to be displayed this time, in S34, X indicating the unit screen is displayed.
While referring to the ML file, the public server unit 33 is inquired about the device status, and the device status is displayed on the screen according to the response result. Further, upon receiving an operation on the screen (operation screen), the HMI processing unit 51 causes the XM
The operation can be recognized by referring to the L file, and the control instruction according to the recognition result can be transmitted to the public server unit 33. The processes of S31 to S34 are repeated at a predetermined polling cycle, and the current status of each device is displayed on the screen of the client device 4.
【0080】より詳細には、上記HMI処理部51用の
アプレット(HMI用アプレット)を実行するバーチャ
ルマシン41は、XMLファイルを参照し、各タグ(処
理指示語)に応じたインスタンスを生成する。これらの
インスタンスのうち、表示タグに応じたインスタンスの
描画メソッドは、上記ポーリング周期で実行される。こ
の結果、これらインスタンスを含むHMI処理部51
は、各デバイスの状態をポーリング周期で公開サーバ部
33に問い合わせることができる。More specifically, the virtual machine 41 executing the applet for the HMI processing unit 51 (HMI applet) refers to the XML file and creates an instance corresponding to each tag (processing instruction word). Of these instances, the drawing method of the instance corresponding to the display tag is executed in the polling cycle. As a result, the HMI processing unit 51 including these instances
Can inquire the state of each device to the public server unit 33 at a polling cycle.
【0081】一方、公開サーバ部33は、問い合わせを
受けると、サーバ部23に当該デバイス2aの状態取得
を指示し、サーバ部23は、HMI処理部21から指示
された場合と同様に、プログラマブル表示器12と、あ
るいは、プログラマブル表示器12を介してPLC11
と通信して、デバイスの状態を取得し、公開サーバ部3
3へ伝える。さらに、公開サーバ部33がインターネッ
ト5を介してクライアント装置4へ状態を通知すると、
上記描画メソッドは、当該データ(デバイスの状態)に
応じて、クライアント装置4の表示画面のうち、予め定
められた表示領域(X・Y)の表示を更新する。On the other hand, when the public server unit 33 receives the inquiry, the public server unit 33 instructs the server unit 23 to acquire the state of the device 2a, and the server unit 23 performs the programmable display as in the case where the HMI processing unit 21 gives an instruction. PLC 12 via the display 12 or the programmable display 12
Communicates with the device to obtain the device status and publish server unit 3
Tell 3. Furthermore, when the public server unit 33 notifies the client device 4 of the status via the Internet 5,
The drawing method updates the display of a predetermined display area (X / Y) on the display screen of the client device 4 according to the data (device state).
【0082】ここで、上記XMLファイル、および、H
MI用アプレットを呼び出すHTMLファイルは、画面
データに基づいて生成されており、上記各インスタンス
は、画面データ中の対応するタグと、同じデバイスの状
態を参照するように設定されている。また、各インスタ
ンスの描画メソッドは、デバイスの状態が同じ場合、タ
グと同じ画像を表示するように作成されている。したが
って、HMI用アプレットが実行されると、クライアン
ト装置4の表示画面のうち、HMI用アプレットのため
に割り当てられた領域A51には、図11に示すよう
に、図5と同様のレイアウトで、デバイスの状態を示す
部品図形J1(J2)が表示される。Here, the XML file and H
The HTML file that calls the MI applet is generated based on the screen data, and each of the above instances is set so as to refer to the corresponding tag in the screen data and the state of the same device. Also, the drawing method of each instance is created to display the same image as the tag when the device state is the same. Therefore, when the HMI applet is executed, in the area A51 allocated for the HMI applet on the display screen of the client device 4, as shown in FIG. The part graphic J1 (J2) indicating the state of is displayed.
【0083】一方、バーチャルマシン41は、HMI用
アプレットの実行中、例えば、マウス操作などの入力操
作が行われると、入力タグに対応するインスタンスのう
ち、入力操作に応じたインスタンスの入力メソッドを実
行する。したがって、これらインスタンスを含むHMI
処理部51は、入力に対応するデバイスに対して入力結
果に応じた制御指示を与えるよう、公開サーバ部33へ
要求する。この場合、公開サーバ部33は、サーバ部2
3へ当該要求を伝える。これにより、HMI処理部21
がデバイスの状態を制御する場合と同様に、クライアン
ト装置4の操作に応じた制御指示が、デバイスの実体に
伝えられる。On the other hand, when an input operation such as a mouse operation is performed while the HMI applet is being executed, the virtual machine 41 executes the input method of the instance corresponding to the input operation among the instances corresponding to the input tag. To do. Therefore, the HMI containing these instances
The processing unit 51 requests the public server unit 33 to give a control instruction according to the input result to the device corresponding to the input. In this case, the public server unit 33 is the server unit 2
The request is transmitted to 3. As a result, the HMI processing unit 21
In the same manner as when the device controls the state of the device, a control instruction according to the operation of the client device 4 is transmitted to the substance of the device.
【0084】なお、HMI処理部51による問い合わせ
の際には、制御指示を受けた後のデバイスの状態が返答
されるので、クライアント装置4の表示画面には、デバ
イスの制御後、上記描画メソッドが実行された時点で、
プログラマブル表示器12と同様に、操作結果が反映さ
れる。When inquiring by the HMI processing unit 51, since the state of the device after receiving the control instruction is returned, the drawing method described above is displayed on the display screen of the client device 4 after the device is controlled. When executed,
Similar to the programmable display 12, the operation result is reflected.
【0085】一方、図11に示す上記各表示B1〜B2
1の何れかが操作され、クライアント装置4にポーリン
グ処理の制御が指示されると(図10に示すS32に
て、YES の場合)、制御部52は、指示に応じて、HM
I処理部51による問い合わせ処理(ポーリング処理)
を制御する(S41)。On the other hand, the respective displays B1 and B2 shown in FIG.
When any one of 1 is operated and the control of the polling process is instructed to the client device 4 (YES in S32 shown in FIG. 10), the control unit 52 responds to the instruction.
Inquiry processing (polling processing) by the I processing unit 51
Is controlled (S41).
【0086】例えば、クライアント装置4がインターネ
ット5と常時接続されておらず、通信時間に応じた通信
費用が請求される場合、クライアント装置4のユーザ
は、上記S34での表示によって、ローカル制御システ
ム3のデバイスの状態が把握でき、監視の継続が不要と
判断した時点で、図11に示すボタンB11を操作し
て、ポーリング処理の停止を指示する。この場合、制御
部52は、HMI処理部51へ指示して、問い合わせを
一時停止させる。For example, when the client device 4 is not always connected to the Internet 5 and the communication fee is charged according to the communication time, the user of the client device 4 displays the local control system 3 according to the display in S34. When the state of the device can be grasped and it is determined that it is not necessary to continue the monitoring, the button B11 shown in FIG. 11 is operated to instruct to stop the polling process. In this case, the control unit 52 instructs the HMI processing unit 51 to suspend the inquiry.
【0087】ここで、上述したように、HMI処理部5
1は、単位画面の切り換えを特定のデバイスへの制御指
示で実現することで、クライアント装置4で表示してい
る単位画面とプログラマブル表示器12で表示している
単位画面を一致させることができる一方で、上記S33
での当該画面制御用デバイスの取得に失敗した場合、誤
操作を避けるために、画面表示を停止している。Here, as described above, the HMI processing unit 5
1 realizes switching of unit screens by a control instruction to a specific device, so that the unit screens displayed on the client device 4 and the unit screens displayed on the programmable display 12 can be matched. Then, the above S33
If the acquisition of the screen control device in step 1 fails, the screen display is stopped to avoid erroneous operation.
【0088】ところが、上記構成では、制御部52がH
MI処理部51の問い合わせを一時停止させている。し
たがって、単位画面の一致が可能なHMI処理部51を
用いているにも拘わらず、クライアント装置4がインタ
ーネット5と接続していない状態でも上記画面制御用デ
バイスの取得に失敗することがなく、画面表示を続ける
ことができる。However, in the above-mentioned configuration, the control unit 52 controls the H
The inquiry of the MI processing unit 51 is temporarily stopped. Therefore, even though the HMI processing unit 51 capable of matching the unit screens is used, the acquisition of the screen control device does not fail even if the client device 4 is not connected to the Internet 5, and the screen does not fail. The display can continue.
【0089】また、HMI処理部51用の領域A51と
共に、制御部52によって、ポーリングの状態を示す画
面が表示されているので、ポーリング処理が停止されて
いる場合、クライアント装置4のユーザは、現在、表示
されているデバイスの状態がポーリング処理の停止前の
状態であることを把握できる。したがって、誤解に起因
する誤操作を防止できる。Further, since the control unit 52 displays the screen showing the polling state together with the area A51 for the HMI processing unit 51, when the polling process is stopped, the user of the client device 4 is , It can be understood that the status of the displayed device is the status before the polling process was stopped. Therefore, an erroneous operation due to a misunderstanding can be prevented.
【0090】さらに、例えば、制御部52は、ボタンB
12が操作された場合、上記S41において、HMI処
理部51へ指示して、ポーリング処理を再開させる。ま
た、ボタンB13が操作された場合、制御部52は、H
MI処理部51によるポーリング処理をステップ実行さ
せる。Further, for example, the control unit 52 uses the button B
When 12 is operated, in step S41, the HMI processing unit 51 is instructed to restart the polling process. Further, when the button B13 is operated, the control unit 52 causes the H
The MI processing unit 51 causes the polling processing to be executed step by step.
【0091】一方、他のポーリング処理の制御例とし
て、テキストボックスB1に新たなポーリング周期が入
力されると、制御部52は、HMI処理部51へポーリ
ング周期の変更を指示する。これにより、クライアント
装置4のユーザは、HMI処理部51によるポーリング
周期を所望の値に設定できる。なお、設定値は、テキス
トボックスB1に表示されているので、ユーザは、ポー
リング周期を誤解することがない。On the other hand, as another control example of the polling process, when a new polling period is input to the text box B1, the control unit 52 instructs the HMI processing unit 51 to change the polling period. Thereby, the user of the client device 4 can set the polling cycle by the HMI processing unit 51 to a desired value. Since the set value is displayed in the text box B1, the user does not misunderstand the polling cycle.
【0092】また、制御部52は、プログレスバーB2
1に、取得すべきデバイスの状態全てと、これまでに取
得したデバイスの状態との比率を表示して、ユーザに、
ポーリング処理が完了するまでの期間を提示している。The control unit 52 also controls the progress bar B2.
In 1, the ratio of all the device states to be acquired and the device states acquired so far is displayed, and the user can
It indicates the period until the polling process is completed.
【0093】なお、上記では、公開サーバ部33がロー
カル制御システム3内の制御用ホストコンピュータ14
に設けられている場合を例にして説明したが、これに限
るものではない。例えば、これらの部材を有する公開サ
ーバ装置をローカル制御システム3外に配してもよい。In the above description, the public server unit 33 is used as the control host computer 14 in the local control system 3.
However, the present invention is not limited to this. For example, a public server device including these members may be arranged outside the local control system 3.
【0094】この構成の場合、クライアント装置4は、
公開サーバ装置と通信して、アプレットを受け取ると共
に、デバイスの状態を送受する。また、公開サーバ装置
は、制御用ホストコンピュータ14に設けられた通信処
理部と通信して、画面データを受け取ったり、デバイス
の状態を送受する。In the case of this configuration, the client device 4
It communicates with the public server device to receive the applet and also to send and receive the device status. In addition, the public server device communicates with a communication processing unit provided in the control host computer 14 to receive screen data and send / receive device status.
【0095】当該構成であっても、当該通信処理部は、
サーバ部23を介してデバイス2aの状態を取得すると
共に、公開サーバ装置とローカル制御システム3との間
の通信路、公開サーバ装置およびインターネット5を介
して、クライアント装置4へ、デバイスの状態を通知
し、当該デバイスの状態をクライアント装置4に表示さ
せることができる。Even with this configuration, the communication processing section is
The status of the device 2a is acquired via the server unit 23, and the status of the device is notified to the client apparatus 4 via the communication path between the public server apparatus and the local control system 3, the public server apparatus and the Internet 5. Then, the state of the device can be displayed on the client device 4.
【0096】さらに、上記構成では、クライアント装置
4がローカル制御システム3とは別の公開サーバ装置に
アクセスする。したがって、インターネット5に接続さ
れたクライアント装置4へデバイスの状態を表示させる
ことができるにも拘らず、ローカル制御システム3は、
予め定められた公開サーバ装置と通信するだけでよい。
この結果、制御用ホストコンピュータ14がクライアン
ト装置4から直接アクセスされる場合に比べて、ローカ
ル制御システム3の負担を軽減でき、ローカル制御シス
テム3の安全性を向上できる。Further, in the above configuration, the client device 4 accesses a public server device different from the local control system 3. Therefore, although the status of the device can be displayed on the client device 4 connected to the Internet 5, the local control system 3
It only needs to communicate with a predetermined public server device.
As a result, compared with the case where the control host computer 14 is directly accessed from the client device 4, the load on the local control system 3 can be reduced, and the safety of the local control system 3 can be improved.
【0097】また、他の構成例として、図12に示すよ
うに、クライアント装置4内に、HMI処理部51と通
信して、デバイスの状態を送受する応答処理部(応答手
段)53を設けてもよい。この場合、HMI処理部51
は、クライアント装置4内の応答処理部53と通信し
て、デバイスの状態を送受し、応答処理部53は、HM
I処理部51からの問い合わせや制御指示に応じて、制
御用ホストコンピュータ14の公開サーバ部33と通信
して、デバイスの状態を送受する。なお、この場合、ア
プレットなどを含む公開用ファイルは、図1の構成と同
様に、公開サーバ部33からクライアント装置4に送信
される。As another configuration example, as shown in FIG. 12, a response processing section (response means) 53 which communicates with the HMI processing section 51 and transmits / receives the state of the device is provided in the client device 4. Good. In this case, the HMI processing unit 51
Communicates with the response processing unit 53 in the client device 4 to send and receive the status of the device.
In response to an inquiry or control instruction from the I processing unit 51, the I processing unit 51 communicates with the public server unit 33 of the control host computer 14 to send and receive the device status. In this case, the public file including the applet and the like is transmitted from the public server unit 33 to the client device 4 as in the configuration of FIG.
【0098】この場合であっても、HMI処理部51の
ポーリング処理の状態は、制御部52によって提示され
ると共に、ユーザの指示に応じて制御される。したがっ
て、ユーザの誤解に起因する誤操作を防止しながら、H
MI処理部51による問い合わせの状態を制御できる。
ここで、応答処理部53による制御用ホストコンピュー
タ14への問い合わせは、HMI処理部51による問い
合わせをトリガとしている。したがって、HMI処理部
51による問い合わせ状態を制御することで、制御部5
2は、応答処理部53による問い合わせも制御でき、図
1と同様の効果が得られる。Even in this case, the state of the polling process of the HMI processing unit 51 is presented by the control unit 52 and is controlled according to the user's instruction. Therefore, while preventing an erroneous operation caused by a user's misunderstanding,
The status of the inquiry by the MI processing unit 51 can be controlled.
Here, the inquiry from the response processing unit 53 to the control host computer 14 is triggered by the inquiry from the HMI processing unit 51. Therefore, by controlling the inquiry state by the HMI processing unit 51, the control unit 5
2, the inquiry by the response processing unit 53 can be controlled, and the same effect as in FIG. 1 can be obtained.
【0099】なお、本実施形態では、プログラマブル表
示器12が専用プロトコルと共通プロトコルとを変換し
ているが、これに限るものではなく、他の装置がプロト
コルしてもよいし、制御用ホストコンピュータ14が専
用プロトコルでPLC11と直接通信してもよい。ただ
し、本実施形態のように、公開サーバ部33からPLC
11までの間に、プロトコル変換する部材が設けられて
いる場合、公開サーバ部33およびファイル生成部31
は、デバイス2aの状態の問い合わせや状態制御指示の
内容が同じであれば、専用プロトコルに拘らず、同じ動
作をすればよい。したがって、専用プロトコル毎に、公
開サーバ部33およびファイル生成部31を設ける必要
がなく、制御システム1を構築する際の手間を削減でき
る。In the present embodiment, the programmable display 12 converts the dedicated protocol and the common protocol, but the present invention is not limited to this, and another device may perform the protocol, or the control host computer. 14 may communicate directly with the PLC 11 using a dedicated protocol. However, as in the present embodiment, the PLC from the public server unit 33
When a protocol converting member is provided up to 11, the public server unit 33 and the file generating unit 31
May perform the same operation regardless of the dedicated protocol as long as the contents of the state inquiry and the state control instruction of the device 2a are the same. Therefore, it is not necessary to provide the public server unit 33 and the file generation unit 31 for each dedicated protocol, and the labor for constructing the control system 1 can be reduced.
【0100】また、上記実施形態では、アプレットを公
開する場合を例にして説明したが、アプレットの代わり
に、例えば、べーシックなどのプログラム言語をコンパ
イルするなどして作成され、アプレットと同様の動作を
クライアント装置4に実行させる実行プログラムを配信
しても、略同様の効果が得られる。In the above embodiment, the case where the applet is disclosed has been described as an example. However, instead of the applet, it is created by compiling a programming language such as Basic, and the same operation as the applet is performed. Even if the execution program that causes the client device 4 to execute is delivered, substantially the same effect can be obtained.
【0101】ただし、本実施形態のように、クライアン
ト装置4のバーチャルマシン41が、当該アプレットを
クライアント装置4が実行可能な機械語に翻訳して実行
する場合、クライアント装置4がバーチャルマシンを備
えていれば、クライアント装置のオペレーティングシス
テム(OS)やCPUが実行可能な機械語が異なってい
ても、アプレットを実行できる。したがって、公開サー
バ部33が配布するアプレットの種類を増加させること
なく、より多くのクライアント装置4でデバイスの状態
を表示し、制御できる。However, when the virtual machine 41 of the client device 4 translates and executes the applet into a machine language that the client device 4 can execute as in the present embodiment, the client device 4 includes a virtual machine. Thus, the applet can be executed even if the operating system (OS) of the client device or the machine language that can be executed by the CPU is different. Therefore, more client devices 4 can display and control the device status without increasing the types of applets distributed by the public server unit 33.
【0102】なお、上記実施形態では、ローカル制御シ
ステム3とクライアント装置4との間をインターネット
5で接続する場合について説明したが、これに限るもの
ではなく、公衆電話回線網などの広域通信網を介して接
続してもよい。ただし、公衆電話回線網とは異なり、イ
ンターネット5は、送信側と受信側との間の回線を確保
しないので、通信費用が安く設定されていることが多
い。したがって、例えば、ローカル制御システム3やク
ライアント装置4あるいは上述の公開用サーバ装置の間
の距離が離れている場合には、本実施形態のように、イ
ンターネット5で接続する方が好ましい。In the above embodiment, the case where the local control system 3 and the client device 4 are connected by the Internet 5 has been described, but the present invention is not limited to this, and a wide area communication network such as a public telephone line network is used. You may connect through. However, unlike the public telephone line network, the Internet 5 does not secure a line between the transmitting side and the receiving side, so that the communication cost is often set low. Therefore, for example, when the local control system 3, the client device 4, or the above-mentioned public server device is far from each other, it is preferable to connect via the Internet 5 as in the present embodiment.
【0103】[0103]
【発明の効果】請求項1の発明に係る制御システムのデ
ータ伝送方法は、以上のように、画面データに基づい
て、デバイスの状態を、広域通信網を介して応答手段へ
周期的に問い合わせて取得し、端末装置の画面に表示す
る表示工程と、上記画面データに含まれ、デバイスと操
作との対応を示す対応情報に基づいて、上記端末装置へ
の操作を認識し、操作に応じたデバイスの状態制御指示
を、上記広域通信網を介して上記応答手段へ伝える操作
認識工程とを含み、上記対応情報では、単位画面の切り
換え操作が、複数の単位画面のうちの表示すべき単位画
面を記憶する画面制御用デバイスに対応する操作として
記憶され、上記表示工程では、画面を更新する際、上記
画面制御デバイスの状態として、表示すべき単位画面を
取得した後で、当該単位画面を表示し、当該画面制御デ
バイスの状態取得に失敗すると画面表示を停止すると共
に、上記問い合わせの状態を上記端末装置の使用者に提
示する提示工程と、上記端末装置への使用者の操作に応
じて上記問い合わせの状態を制御する制御工程とを含ん
でいる構成である。As described above, in the data transmission method of the control system according to the first aspect of the present invention, the status of the device is periodically inquired to the response means via the wide area communication network based on the screen data. A display step of acquiring and displaying on the screen of the terminal device, a device corresponding to the operation, recognizing the operation to the terminal device based on the correspondence information included in the screen data and indicating the correspondence between the device and the operation. The operation control step of transmitting the state control instruction of (1) to the response means via the wide area communication network, and in the correspondence information, the operation of switching the unit screen indicates the unit screen to be displayed among the plurality of unit screens. It is stored as an operation corresponding to the screen control device to be stored, and in the display step, when updating the screen, after acquiring the unit screen to be displayed as the state of the screen control device, A display screen, and if the acquisition of the status of the screen control device fails, the screen display is stopped, and a presentation step of presenting the status of the inquiry to the user of the terminal device, and a user operation on the terminal device. And a control step of controlling the state of the inquiry according to the above.
【0104】請求項2の発明に係る制御システムのデー
タ伝送方法は、以上のように、請求項1記載の発明の構
成において、上記表示工程にて、上記広域通信網を介し
て応答手段へデバイスの状態を問い合わせて取得し、上
記操作認識工程にて、上記広域通信網を介して応答手段
へデバイスの状態制御指示を伝える代わりに、上記表示
工程にて、広域通信網を介してデバイスと通信する応答
手段へデバイスの状態を問い合わせて取得すると共に、
上記操作認識工程にて、当該応答手段にデバイスの状態
制御指示を送信する構成である。As described above, in the data transmission method of the control system according to the invention of claim 2, in the configuration of the invention of claim 1, in the display step, the device is sent to the response means via the wide area communication network. The state of the device is inquired and acquired, and instead of transmitting a device state control instruction to the response means via the wide area communication network in the operation recognition step, communication with the device via the wide area communication network is performed in the display step. Inquires about the status of the device to the response means
In the operation recognition step, the device state control instruction is transmitted to the response means.
【0105】請求項3の発明に係るプログラムは、以上
のように、請求項1または2記載の各工程を上記端末装
置としてのコンピュータに実行させるプログラムであっ
て、当該プログラムを実行するコンピュータによって、
上記各工程が行われる。As described above, the program according to the invention of claim 3 is a program for causing a computer as the terminal device to execute each process according to claim 1 or 2 by a computer executing the program,
The above steps are performed.
【0106】上記構成によれば、上記画面データにおい
て、単位画面の切り換え操作は、デバイスの一種として
の画面制御デバイスに対する操作として記憶されている
ので、画面データを設計する際、画面切り換えのため
に、デバイスへの操作とは異なる設計手順が不要にな
り、設計者の負担を軽減できる。また、上記表示工程で
は、上記画面制御デバイスの状態取得に失敗すると、画
面表示を停止するように構成されているので、端末装置
のユーザは、当該画面制御用デバイスの状態取得を確実
に把握できる。According to the above configuration, in the screen data, the switching operation of the unit screen is stored as the operation for the screen control device which is a kind of device. Therefore, when designing the screen data, the switching operation is performed. , The design procedure different from the operation to the device becomes unnecessary, and the burden on the designer can be reduced. Further, in the display step, when the state acquisition of the screen control device fails, the screen display is stopped, so that the user of the terminal device can surely grasp the state acquisition of the screen control device. .
【0107】さらに、提示工程および制御工程が設けら
れているので、端末装置の使用者は、問い合わせの状態
を確認しながら、例えば、問い合わせの周期あるいは停
止や再開など、問い合わせの状態を制御できる。したが
って、上記誤解に起因する誤操作を防止できるにも拘わ
らず、端末装置の使用者は、デバイスから端末装置まで
の間の広域通信網に端末装置を常時接続するとコストが
嵩んだり、短い周期で問い合わせると広域通信網の帯域
を占有してしまう場合には、問い合わせを一時停止した
り、問い合わせの周期を長くするなど、広域通信網の状
態に応じた問い合わせの状態を制御できるという効果を
奏する。Further, since the presenting step and the controlling step are provided, the user of the terminal device can control the inquiry state, for example, the inquiry period or stop and restart, while confirming the inquiry state. Therefore, although it is possible to prevent an erroneous operation due to the above misunderstanding, the user of the terminal device has a problem in that the cost of the terminal device is constantly connected to the wide area communication network from the device to the terminal device or the terminal device is connected in a short cycle. When an inquiry occupies the bandwidth of the wide area communication network, the effect of being able to control the state of the inquiry according to the state of the wide area communication network, such as temporarily suspending the inquiry or lengthening the inquiry cycle, is obtained.
【図1】本発明の一実施形態を示すものであり、ローカ
ル制御システムからのアプレットにより、クライアント
装置に機能ブロックが形成された状態における、制御シ
ステムの要部構成を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention and showing a main configuration of a control system in a state where a functional block is formed in a client device by an applet from a local control system.
【図2】上記制御システムを示すものであり、上記アプ
レットによる機能ブロックが形成される前の状態を示す
ブロック図である。FIG. 2 is a block diagram showing the control system and showing a state before a functional block is formed by the applet.
【図3】上記制御システムのプログラマブル表示器の操
作画面を定義する画面データを示すものであり、画面デ
ータ中の表示タグのデータ構造を示す説明図である。FIG. 3 shows screen data defining an operation screen of a programmable display device of the control system, and is an explanatory diagram showing a data structure of a display tag in the screen data.
【図4】上記画面データ中の入力タグのデータ構造を示
す説明図である。FIG. 4 is an explanatory diagram showing a data structure of an input tag in the screen data.
【図5】上記画面データに基づいて表示される、プログ
ラマブル表示器の画面例を示す説明図である。FIG. 5 is an explanatory diagram showing a screen example of a programmable display device displayed based on the screen data.
【図6】上記制御システムにおいて、シンボルデータベ
ースに記憶されるデータの構造を示すものであり、シン
ボル毎のレコードを示す説明図である。FIG. 6 is an explanatory diagram showing a structure of data stored in a symbol database in the control system and showing a record for each symbol.
【図7】上記制御システムにおいて、シンボルデータベ
ースに記憶されるデータの構造を示すものであり、シン
ボルの階層構造を示す説明図である。FIG. 7 is an explanatory diagram showing a structure of data stored in a symbol database in the control system and showing a hierarchical structure of symbols.
【図8】上記制御システムにおいて、ローカル制御シス
テムからクライアント装置に配信されるXMLファイル
の例を示す説明図である。FIG. 8 is an explanatory diagram showing an example of an XML file distributed from a local control system to a client device in the control system.
【図9】上記制御システムにおいて、ローカル制御シス
テムからクライアント装置に配信されるHTMLファイ
ルの例を示す説明図である。FIG. 9 is an explanatory diagram showing an example of an HTML file distributed from a local control system to a client device in the control system.
【図10】上記制御システムの動作を示すフローチャー
トである。FIG. 10 is a flowchart showing an operation of the control system.
【図11】上記各ファイルによってクライアント装置に
表示される画面例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a screen displayed on the client device by each of the files.
【図12】上記制御システムの変形例を示すものであ
り、制御システムの要部構成を示すブロック図である。FIG. 12 is a block diagram showing a modified example of the control system and showing a main configuration of the control system.
【図13】従来例を示すものであり、制御システムの要
部構成を示すブロック図である。FIG. 13 shows a conventional example and is a block diagram showing a main configuration of a control system.
1 制御システム 2a デバイス 4 クライアント装置(端末装置) 5 インターネット(広域通信網) 33 公開サーバ部(応答手段) 53 応答処理部(応答手段) 1 control system 2a device 4 Client device (terminal device) 5 Internet (wide area communication network) 33 Public server section (response means) 53 Response Processing Unit (Response Means)
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 13/00 351 G06F 13/00 351N 5H223 Fターム(参考) 5B042 GA12 GA36 JJ08 LA26 LA27 MB04 NN04 5B069 AA18 BA01 BA04 CA13 CA14 5B089 GA11 GB02 JA35 JA36 KA12 KG02 LB17 5E501 AB15 AB30 AC37 BA05 CA01 EB06 5H209 CC03 CC07 CC11 CC13 FF06 GG08 HH21 JJ09 5H223 CC03 CC08 CC09 DD03 DD05 DD07 EE06 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G06F 13/00 351 G06F 13/00 351N 5H223 F term (reference) 5B042 GA12 GA36 JJ08 LA26 LA27 MB04 NN04 5B069 AA18 BA01 BA04 CA13 CA14 5B089 GA11 GB02 JA35 JA36 KA12 KG02 LB17 5E501 AB15 AB30 AC37 BA05 CA01 EB06 5H209 CC03 CC07 CC11 CC13 FF06 GG08 HH21 JJ09 5H223 CC03 CC08 CC09 DD03 DD05 DD07 EE06
Claims (3)
を、広域通信網を介して応答手段へ周期的に問い合わせ
て取得し、端末装置の画面に表示する表示工程と、 上記画面データに含まれ、デバイスと操作との対応を示
す対応情報に基づいて、上記端末装置への操作を認識
し、操作に応じたデバイスの状態制御指示を、上記広域
通信網を介して上記応答手段へ伝える操作認識工程とを
含み、 上記対応情報では、単位画面の切り換え操作が、複数の
単位画面のうちの表示すべき単位画面を記憶する画面制
御用デバイスに対応する操作として記憶され、 上記表示工程では、画面を更新する際、上記画面制御デ
バイスの状態として、表示すべき単位画面を取得した後
で、当該単位画面を表示し、当該画面制御デバイスの状
態取得に失敗すると画面表示を停止すると共に、 上記問い合わせの状態を上記端末装置の使用者に提示す
る提示工程と、 上記端末装置への使用者の操作に応じて上記問い合わせ
の状態を制御する制御工程とを含んでいることを特徴と
する制御システムのデータ伝送方法。1. A display step of displaying the status of a device on the screen of a terminal device by periodically inquiring the response means via a wide area communication network to acquire the status of the device based on the screen data, and including the screen data. Operation recognition for recognizing an operation to the terminal device based on correspondence information indicating correspondence between the device and the operation and transmitting a device state control instruction according to the operation to the response means via the wide area communication network. In the correspondence information, the unit screen switching operation is stored as an operation corresponding to the screen control device that stores the unit screen to be displayed among the plurality of unit screens. When updating the screen control device status, after displaying the unit screen to be displayed as the status of the screen control device, the unit screen is displayed, and if the status acquisition of the screen control device fails, the screen display And a presentation step of presenting the status of the inquiry to the user of the terminal device, and a control step of controlling the status of the inquiry according to the user's operation on the terminal device. And a data transmission method for a control system.
て応答手段へデバイスの状態を問い合わせて取得し、上
記操作認識工程にて、上記広域通信網を介して応答手段
へデバイスの状態制御指示を伝える代わりに、 上記表示工程にて、広域通信網を介してデバイスと通信
する応答手段へデバイスの状態を問い合わせて取得する
と共に、 上記操作認識工程にて、当該応答手段にデバイスの状態
制御指示を送信することを特徴とする請求項1記載の制
御システムのデータ伝送方法。2. In the display step, the status of the device is inquired and obtained from the response means via the wide area communication network, and in the operation recognition step, the status of the device is sent to the response means via the wide area communication network. Instead of transmitting the control instruction, the display step inquires and acquires the state of the device from the response means that communicates with the device via the wide area communication network, and the operation recognition step causes the response means to display the state of the device. The data transmission method of the control system according to claim 1, wherein the control instruction is transmitted.
装置としてのコンピュータに実行させるプログラム。3. A program for causing a computer as the terminal device to execute each step according to claim 1 or 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001343723A JP3712659B2 (en) | 2001-11-08 | 2001-11-08 | Data transmission method for control system, control system, program thereof and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001343723A JP3712659B2 (en) | 2001-11-08 | 2001-11-08 | Data transmission method for control system, control system, program thereof and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003150240A true JP2003150240A (en) | 2003-05-23 |
| JP3712659B2 JP3712659B2 (en) | 2005-11-02 |
Family
ID=19157359
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001343723A Expired - Fee Related JP3712659B2 (en) | 2001-11-08 | 2001-11-08 | Data transmission method for control system, control system, program thereof and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3712659B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006053624A (en) * | 2004-08-10 | 2006-02-23 | Fujitsu Ltd | Application operation management method and system |
| US7986710B2 (en) | 2007-05-09 | 2011-07-26 | Sony Corporation | Communication system for providing updatable information via polling communication |
| JPWO2012046293A1 (en) * | 2010-10-04 | 2014-02-24 | 富士通株式会社 | Fault monitoring apparatus, fault monitoring method and program |
| JP2014151846A (en) * | 2013-02-13 | 2014-08-25 | Denso Corp | Power consumption reduction device for vehicle |
| JP2018180094A (en) * | 2017-04-05 | 2018-11-15 | 東芝三菱電機産業システム株式会社 | HMI screen test equipment |
| JP2019003642A (en) * | 2017-06-15 | 2019-01-10 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | System and apparatus for distribution of batch and continuous process control data to remote devices |
| US12078981B2 (en) | 2016-10-17 | 2024-09-03 | Fisher-Rosemount Systems, Inc. | Systems and apparatus for distribution of process control data to remote |
-
2001
- 2001-11-08 JP JP2001343723A patent/JP3712659B2/en not_active Expired - Fee Related
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006053624A (en) * | 2004-08-10 | 2006-02-23 | Fujitsu Ltd | Application operation management method and system |
| US7986710B2 (en) | 2007-05-09 | 2011-07-26 | Sony Corporation | Communication system for providing updatable information via polling communication |
| JPWO2012046293A1 (en) * | 2010-10-04 | 2014-02-24 | 富士通株式会社 | Fault monitoring apparatus, fault monitoring method and program |
| JP2014151846A (en) * | 2013-02-13 | 2014-08-25 | Denso Corp | Power consumption reduction device for vehicle |
| US12078981B2 (en) | 2016-10-17 | 2024-09-03 | Fisher-Rosemount Systems, Inc. | Systems and apparatus for distribution of process control data to remote |
| JP2018180094A (en) * | 2017-04-05 | 2018-11-15 | 東芝三菱電機産業システム株式会社 | HMI screen test equipment |
| JP2019003642A (en) * | 2017-06-15 | 2019-01-10 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | System and apparatus for distribution of batch and continuous process control data to remote devices |
| JP7657012B2 (en) | 2017-06-15 | 2025-04-04 | フィッシャー-ローズマウント システムズ,インコーポレイテッド | SYSTEM AND APPARATUS FOR DISTRIBUTION OF BATCH AND CONTINUOUS PROCESS CONTROL DATA TO REMOTE DEVICES - Patent application |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3712659B2 (en) | 2005-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3883775B2 (en) | CONTROL SYSTEM SERVER DEVICE, CONTROL SYSTEM, CONTROL SYSTEM SERVER DEVICE COMMUNICATION METHOD, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
| US20040021679A1 (en) | Human machine interface | |
| EP1628212A2 (en) | Method of and apparatus for updating software of network device | |
| JP3175626B2 (en) | Printing system | |
| JP2002091913A (en) | Remote maintenance system, and maintenance device and supporting device used for the same | |
| JPH11109933A (en) | Monitoring and control system | |
| JP3897970B2 (en) | Editor device and recording medium recording editor program | |
| JP2003150240A (en) | Data transmission method for control system and its program | |
| JP3494967B2 (en) | Control system and recording medium on which program is recorded | |
| JP2008210394A (en) | Communication system for control, and computer-readable recording medium with communication program for control recorded thereon | |
| JP2002108600A (en) | Terminal device for control system and recording medium and control system | |
| JP2004171282A (en) | Client device, control system equipped with this client device and its program | |
| JP2002189508A (en) | Controller and recording medium with its program recorded | |
| US7120663B2 (en) | Method and apparatus for updating XML data | |
| JP4197343B2 (en) | COMMUNICATION COMMUNICATION SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING CONTROL COMMUNICATION PROGRAM | |
| JP3494968B2 (en) | COMMUNICATION COMMUNICATION SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING CONTROL COMMUNICATION PROGRAM | |
| JP3638878B2 (en) | Control system, its program, and recording medium on which it is recorded | |
| JP2002032228A (en) | Software installation / update method and peripheral device | |
| JP4034171B2 (en) | Control system and program thereof | |
| JP2002091836A (en) | Communication system for control and computer readable recording medium having communication program for control recorded thereon | |
| JP2002091514A (en) | Control system and recording medium recorded with program therefor | |
| JP3904865B2 (en) | Control system, program thereof and recording medium | |
| JP3847542B2 (en) | Recording system recording control system and program | |
| JP2002091912A (en) | Control system | |
| JP3832619B2 (en) | Control system and recording medium on which program is recorded |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050518 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050524 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050722 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20050722 |
|
| 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: 20050816 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050817 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 3712659 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080826 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090826 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090826 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100826 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110826 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110826 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120826 Year of fee payment: 7 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120826 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130826 Year of fee payment: 8 |
|
| 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 |
|
| 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 |
|
| LAPS | Cancellation because of no payment of annual fees |