JP2003084811A - Ladder monitor device, and its program and recording medium - Google Patents
Ladder monitor device, and its program and recording mediumInfo
- Publication number
- JP2003084811A JP2003084811A JP2001274327A JP2001274327A JP2003084811A JP 2003084811 A JP2003084811 A JP 2003084811A JP 2001274327 A JP2001274327 A JP 2001274327A JP 2001274327 A JP2001274327 A JP 2001274327A JP 2003084811 A JP2003084811 A JP 2003084811A
- Authority
- JP
- Japan
- Prior art keywords
- ladder
- screen
- display
- control
- monitor
- 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 claims abstract description 34
- 238000010586 diagram Methods 0.000 claims abstract description 29
- 230000005856 abnormality Effects 0.000 abstract description 15
- 230000002159 abnormal effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 101100048435 Caenorhabditis elegans unc-18 gene Proteins 0.000 description 1
- 230000009118 appropriate response Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、視認性を損なうこ
となくラダーモニタ画面を表示可能なラダーモニタ装
置、並びに、それを実現するためのプログラムおよび記
録媒体に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ladder monitor device capable of displaying a ladder monitor screen without impairing visibility, and a program and a recording medium for realizing the same.
【0002】[0002]
【従来の技術】従来から、例えば、デバイスの状態に異
常が発生した際に異常の原因となるデバイスを特定する
ために、ラダーモニタ画面を表示可能な装置(ラダーモ
ニタ装置)が用いられている。当該ラダーモニタ装置
は、プログラマブル・ロジック・コントローラ(以下、
PLCと略称する)など、デバイスを制御する制御装置
の制御プログラムをラダー図として表示すると共に、ラ
ダー図中の各ラダー記号の表示方法によって、それぞれ
に対応するデバイスの状態を表示できる。2. Description of the Related Art Conventionally, for example, an apparatus capable of displaying a ladder monitor screen (ladder monitor apparatus) has been used to identify a device causing an abnormality when an abnormality occurs in a device state. . The ladder monitor device is a programmable logic controller (hereinafter,
It is possible to display the control program of the control device for controlling the device such as PLC) as a ladder diagram, and display the state of the device corresponding to each by the display method of each ladder symbol in the ladder diagram.
【0003】これにより、ラダーモニタ装置のユーザ
は、ラダー記号の表示方法によって、各デバイスの状態
を把握すると共に、ラダー記号の接続関係によって、各
デバイスの制御手順を把握し、状態が異常となったデバ
イスの制御に関係するデバイス群を推定できる。この結
果、異常が検出されたデバイスと、異常の原因となった
デバイスとが異なっている場合であっても、原因となる
デバイスを特定し、当該デバイスを操作したり、交換す
るなどして、正常状態に復帰させることができる。As a result, the user of the ladder monitor device grasps the state of each device by the display method of the ladder symbol and the control procedure of each device by the connection relation of the ladder symbol, and the state becomes abnormal. It is possible to estimate the device group related to the control of the device. As a result, even if the device in which the abnormality is detected and the device that caused the abnormality are different, identify the device that is the cause, operate the device, replace it, etc. It is possible to return to a normal state.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、例え
ば、プログラマブル表示器など、現場に設置される表示
装置をラダーモニタ装置としても使用する場合など、画
面の解像度が十分でない場合には、同時表示可能なラダ
ー記号数が少なくなり、各デバイス間の相互関係の把握
が難しくなる虞れがある。However, when the screen resolution is not sufficient, for example, when a display device installed in the field such as a programmable display is also used as a ladder monitor device, simultaneous display is possible. The number of ladder symbols is reduced, and it may be difficult to understand the mutual relationship between each device.
【0005】また、例えば、ラダー記号に対応するデバ
イス名など、それに付随する情報と、ラダー記号とをラ
ダーモニタ画面に全て表示する際、各デバイス間の相互
関係が把握できる程度に多くのラダー記号を表示できる
ように、画面全体を縮小表示すると、画面の解像度が十
分でない場合、これらの情報が読み取れなくなってしま
う。Further, for example, when all the information associated with the ladder symbol such as the device name corresponding to the ladder symbol and the ladder symbol are displayed on the ladder monitor screen, a large number of ladder symbols can be grasped so that the mutual relationship between the devices can be grasped. If the entire screen is reduced so that can be displayed, if the resolution of the screen is not sufficient, these pieces of information cannot be read.
【0006】本発明は、上記の問題点に鑑みてなされた
ものであり、その目的は、ラダーモニタの視認性を低下
させることなく、デバイスの相互関係と、個々のデバイ
スの状態とを的確に把握可能なラダーモニタ装置を実現
することにある。The present invention has been made in view of the above problems, and an object of the present invention is to accurately determine the interrelationship of devices and the state of each device without reducing the visibility of the ladder monitor. It is to realize a ladder monitor device that can be grasped.
【0007】[0007]
【課題を解決するための手段】請求項1の発明に係るラ
ダーモニタ装置は、上記課題を解決するために、デバイ
スを制御する際の制御プログラムをラダー図として表示
すると共に、ラダー記号に対応するデバイスの状態に応
じてラダー記号の表示方法を変更するラダーモニタ手段
を有するラダーモニタ装置において、ラダー記号と共
に、当該ラダー記号に関連する詳細情報を併記する詳細
画面と、当該詳細情報の一部または全部を省略して、詳
細画面で表示されるラダー記号よりも多くのラダー記号
を概略表示する概略画面とを、上記ラダーモニタ手段に
切り換え表示させる表示制御手段を備えていることを特
徴としている。In order to solve the above-mentioned problems, a ladder monitor device according to the invention of claim 1 displays a control program for controlling a device as a ladder diagram and corresponds to a ladder symbol. In a ladder monitor device having a ladder monitor means for changing the display method of the ladder symbol according to the state of the device, with the ladder symbol, a detailed screen that also describes detailed information related to the ladder symbol, and a part of the detailed information or All of them are omitted, and a display control means for switching and displaying on the ladder monitor means a schematic screen for roughly displaying more ladder symbols than the ladder symbols displayed on the detailed screen is provided.
【0008】上記構成において、ラダーモニタ手段は、
表示制御手段が概略画面表示を指示している場合、ラダ
ー記号に関連する詳細情報の一部または全部を省略し
て、詳細情報全てを併記する詳細画面表示の場合よりも
多くのラダー記号を表示する。これにより、ラダーモニ
タ装置のユーザは、あるデバイスの状態が異常な場合、
各ラダー記号の表示方法で、ラダー記号に対応する各デ
バイスの状態の概略を把握すると共に、各ラダー記号同
士の相互関係を把握できるので、異常の原因となるデバ
イスを推測しやすい。In the above arrangement, the ladder monitor means is
When the display control means instructs the outline screen display, some or all of the detailed information related to the ladder symbol is omitted, and more ladder symbols are displayed than in the case of the detailed screen display in which all the detailed information is written together. To do. As a result, the user of the ladder monitor device can be
With the display method of each ladder symbol, the outline of the state of each device corresponding to the ladder symbol can be grasped and the mutual relation between the ladder symbols can be grasped, so that the device causing the abnormality can be easily guessed.
【0009】ここで、概略画面では、詳細画面と比較し
て、より多くのラダー記号がデバイスの状態に応じた表
示方法で表示されているが、詳細情報の一部または全部
の表示が省略されている。したがって、ユーザは、デバ
イスの相互関係をより的確に把握でき、詳細情報を取得
すべきデバイスを的確に発見できる。Here, in the summary screen, more ladder symbols are displayed by a display method according to the state of the device than in the detail screen, but the display of some or all of the detailed information is omitted. ing. Therefore, the user can more accurately understand the interrelationship of the devices, and can accurately discover the device for which detailed information should be acquired.
【0010】なお、全詳細情報を含む画面全体を縮小表
示する場合には、デバイスの相互関係を把握できる程度
に、多くのラダー記号を表示しようとして、縮小率を大
きくすると、詳細情報が読めなくなる虞れがある。この
場合、詳細情報の表示領域が無駄になるので、画面が見
にくくなってしまう。ところが、上記構成では、詳細情
報の一部または全部の表示が省略されているので、多く
のラダー記号を表示しても、ラダーモニタの視認性低下
を防止できる。When the entire screen including all the detailed information is reduced and displayed, if the reduction ratio is increased so as to display a large number of ladder symbols to the extent that the mutual relationship of the devices can be grasped, the detailed information cannot be read. There is fear. In this case, the display area of the detailed information is wasted, and the screen becomes difficult to see. However, in the above configuration, the display of part or all of the detailed information is omitted, so that even if many ladder symbols are displayed, it is possible to prevent the visibility of the ladder monitor from being degraded.
【0011】一方、表示制御手段によって、詳細画面へ
の切り換えが指示されると、ラダーモニタ手段は、例え
ば、ラダー記号の状態を示す文字列や、ラダー記号に対
応するデバイスの名称、あるいは、デバイスのアドレス
など、ラダー記号に関連する詳細情報全てを、各ラダー
記号に併記して表示する。これにより、ラダーモニタ装
置のユーザは、全ての詳細情報に基づいて、当該ラダー
記号に対応するデバイスが異常の原因か否かを的確に判
断できる。また、全ての詳細情報が表示されているの
で、詳細情報が表示されていない場合や一部のみが表示
されている場合に比べて、異常から復帰する手順を把握
しやすい。On the other hand, when the display control means gives an instruction to switch to the detailed screen, the ladder monitor means displays, for example, a character string indicating the state of the ladder symbol, the name of the device corresponding to the ladder symbol, or the device. All detailed information related to the ladder symbol, such as the address of, is displayed together with each ladder symbol. Thereby, the user of the ladder monitor device can accurately determine whether or not the device corresponding to the ladder symbol is the cause of the abnormality, based on all the detailed information. Further, since all the detailed information is displayed, it is easier to understand the procedure for recovering from the abnormality than when the detailed information is not displayed or only a part of the detailed information is displayed.
【0012】なお、詳細画面では、概略画面と比較し
て、より多くの詳細情報が表示されているが、概略画面
よりも少ないラダー記号しか表示されていない。したが
って、ユーザは、概略画面表示の際と同じ広さの画面に
表示する場合であっても、個々のデバイスの状態をより
的確に把握できる。It should be noted that the detailed screen displays more detailed information than the general screen, but displays fewer ladder symbols than the general screen. Therefore, the user can more accurately understand the state of each device even when the screen is displayed on the screen having the same size as that of the general screen display.
【0013】このように、デバイスの相互関係を把握し
やすい概略画面と、個々のデバイスの状態を詳細画面と
を切り換えできるので、ラダーモニタの視認性を低下さ
せることなく、デバイスの相互関係と、個々のデバイス
の状態とを的確に把握できる。As described above, since it is possible to switch the outline screen in which it is easy to grasp the interrelationship of the devices and the detailed screen of the state of each device, the interrelationship of the devices and the interrelationship of the devices can be realized without lowering the visibility of the ladder monitor. You can accurately understand the status of each device.
【0014】さらに、請求項2の発明に係るラダーモニ
タ装置は、請求項1記載の発明の構成において、上記表
示制御手段は、概略画面で表示されるラダー記号が選択
された場合、当該ラダー記号を含む詳細画面を表示する
ことを特徴としている。Further, in the ladder monitor device according to the invention of claim 2, in the configuration of the invention of claim 1, when the ladder symbol displayed on the outline screen is selected, the display control means selects the ladder symbol. It is characterized by displaying a detailed screen including.
【0015】上記構成によれば、概略画面上で選択され
たラダー記号を含む詳細画面が表示されるので、例え
ば、ラダー記号に対応するデバイスの名称で指定する場
合など、他の方法で指定する場合よりも容易に、全詳細
情報と共に表示すべきラダー記号を選択できる。According to the above configuration, the detailed screen including the ladder symbol selected on the schematic screen is displayed. Therefore, for example, when designating by the name of the device corresponding to the ladder symbol, it is designated by another method. It's easier than ever to choose which ladder symbol to display with all the details.
【0016】また、請求項3の発明に係るラダーモニタ
装置は、請求項1または2記載の発明の構成において、
上記制御プログラムに応じて、デバイスを制御する制御
手段と、各デバイスの状態に応じた表示方法の図形で、
各デバイスの状態を表示すると共に、当該図形に対する
操作を受け付けると、操作に応じたデバイスの制御を上
記制御手段に指示する操作手段とを備えていることを特
徴としている。A ladder monitor device according to a third aspect of the invention is the ladder monitor device according to the first or second aspect of the invention.
According to the control program, a control means for controlling the device, and a graphic of a display method according to the state of each device,
The display device is characterized by comprising operation means for displaying the state of each device and for instructing the control means to control the device according to the operation when the operation for the graphic is accepted.
【0017】上記構成によれば、制御システムにおい
て、必須の手段、すなわち、制御装置としての制御手
段、および、HMI(Human Machine Interface )とし
ての操作手段を備えた装置が、ラダーモニタ装置として
も動作する。したがって、異常が発生した場合、現場に
新たな機器を持ち込むことなく、ラダーモニタによって
異常なデバイスを特定できる。この結果、正常動作に復
帰するまでの時間を短縮できる。According to the above configuration, in the control system, the device provided with the indispensable means, that is, the control means as the control device and the operation means as the HMI (Human Machine Interface) also operates as the ladder monitor device. To do. Therefore, when an abnormality occurs, the abnormal device can be identified by the ladder monitor without bringing new equipment to the site. As a result, the time required to return to normal operation can be shortened.
【0018】ところで、上記ラダーモニタ装置は、ハー
ドウェアで実現してもよいし、プログラムをコンピュー
タに実行させて実現してもよい。具体的には、請求項4
の発明に係るプログラムは、請求項1記載の各手段とし
てコンピュータを動作させるプログラムであり、請求項
5の発明に係る記録媒体には、請求項4記載のプログラ
ムが記録されている。By the way, the ladder monitor device may be realized by hardware, or may be realized by causing a computer to execute a program. Specifically, claim 4
The program according to the invention of claim 1 is a program for operating a computer as each unit according to claim 1, and the program according to claim 4 is recorded on the recording medium according to the invention of claim 5.
【0019】これらのプログラムが上記コンピュータで
実行されると、当該コンピュータは、請求項1記載のラ
ダーモニタ装置として動作する。したがって、請求項1
と同様に、ラダーモニタの視認性を低下させることな
く、デバイスの相互関係と、個々のデバイスの状態とを
的確に把握できる。When these programs are executed by the computer, the computer operates as the ladder monitor device according to claim 1. Therefore, claim 1
Similarly, the mutual relationship between devices and the state of each device can be accurately grasped without reducing the visibility of the ladder monitor.
【0020】[0020]
【発明の実施の形態】本発明の一実施形態について図1
ないし図10に基づいて説明すると以下の通りである。
すなわち、本実施形態に係る制御システム1は、現場に
新たな機器を持ち込むことなく、ユーザが所望するトリ
ガでラダーモニタ画面を表示し、表示制御可能なシステ
ムであって、図1に示すように、例えば、ベルトコンベ
アー式の自動組付機など、ターゲットシステム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, the control system 1 according to the present embodiment is a system in which the ladder monitor screen is displayed by a trigger desired by the user and display control is possible without bringing new equipment to the site, and as shown in FIG. For example, it is used to control the device 2a of the target system 2 such as a belt conveyor type automatic assembly machine.
【0021】上記制御システム1には、上記デバイス2
aを制御する制御装置としてのPLC11と、多くの場
合、制御対象近傍に配されると共に、制御システム1の
HMIとして、デバイス2aの状態を表示し、オペレー
タによるデバイス2aへの操作を受け付けるプログラマ
ブル表示器12とを備えている。また、本実施形態に係
るプログラマブル表示器12は、詳細は後述するよう
に、PLCとしての機能も備えており、それぞれに対応
するPLC11だけではなく、自らが制御するデバイス
2aにも直接接続されている。The control system 1 includes the device 2
PLC 11 as a control device for controlling a, and in many cases, a programmable display that is arranged in the vicinity of the control target and that displays the state of the device 2a as the HMI of the control system 1 and that accepts an operation on the device 2a by an operator. And a container 12. Further, as will be described later in detail, the programmable display device 12 according to the present embodiment also has a function as a PLC, and is directly connected not only to the corresponding PLC 11 but also to the device 2a controlled by itself. There is.
【0022】さらに、本実施形態に係る制御システム1
では、各プログラマブル表示器12は、イーサネット
(登録商標)などのLAN(ローカルエリアネットワー
ク)13によって互いに接続されている。また、上記L
AN13には、多くの場合、プログラマブル表示器12
よりも離れた場所から、制御システム1全体を管理する
制御用ホストコンピュータ14が接続されている。Further, the control system 1 according to the present embodiment.
Then, the programmable displays 12 are connected to each other by a LAN (Local Area Network) 13 such as Ethernet (registered trademark). Also, the above L
The AN 13 often includes a programmable indicator 12
A control host computer 14 that manages the entire control system 1 is connected from a place farther away.
【0023】なお、上記各プログラマブル表示器12
は、シリアルケーブルなどを介して、それぞれに対応す
るPLC11と接続されている。また、図1では、説明
の便宜上、LAN13にプログラマブル表示器12が2
台接続され、各プログラマブル表示器12には、PLC
11およびデバイス2aがそれぞれ1台ずつ接続される
と共に、各PLC11にデバイス2aが1台接続されて
いる場合を例示しているが、当然ながら、それぞれの接
続台数は任意に設定できる。Each programmable display 12 described above
Are connected to the corresponding PLCs 11 via serial cables or the like. Further, in FIG. 1, for convenience of description, the programmable display 12 is connected to the LAN 13 by two.
PLC connected to each programmable display 12
11 and the device 2a are connected one by one, and the case where one device 2a is connected to each PLC 11 is shown as an example, but it goes without saying that each connected number can be set arbitrarily.
【0024】また、デバイスは、デバイスアドレスによ
り特定可能で、しかも、状態を取得したり、制御(変
更)できるものであれば、例えば、デバイス2a自体で
あってもよいし、例えば、PLC11やプログラマブル
表示器12の記憶装置など、制御システム1に設けられ
た記憶装置の一領域を示していてもよい。The device may be, for example, the device 2a itself, or the PLC 11 or programmable device, as long as the device can be identified by the device address and the state can be acquired or controlled (changed). It may indicate an area of the storage device provided in the control system 1, such as the storage device of the display 12.
【0025】ここで、上記制御システム1では、制御シ
ステム1に必須の構成であり、しかも、HMIとして動
作するため、演算能力に余力のあるプログラマブル表示
器12が通信の大半を処理するように構成されている。
さらに、各プログラマブル表示器12は、自らに接続さ
れているPLC11の機種に固有の専用プロトコルと、
LAN13での共通プロトコルとを変換して、他のプロ
グラマブル表示器12や制御用ホストコンピュータ14
と、PLC11との通信を中継する。なお、共通プロト
コルと専用プロトコルとの間のプロトコル変換には、同
じ指示に同じコードが割り当てられるように予め定めら
れた共通のコマンドと上記共通のコマンドに対応するP
LC11固有のコマンドとの間の変換や、データやアド
レスの表現方法の変換、デバイスアドレスと、当該デバ
イスアドレスに対応し、しかも、デバイスアドレスとは
異なる値に設定可能な変数や変数の名称(変数名)との
変換なども含まれる。Here, the control system 1 is an indispensable component of the control system 1 and operates as an HMI. Therefore, the programmable display 12, which has a spare computing power, processes most of the communication. Has been done.
Further, each programmable display 12 has a dedicated protocol unique to the model of the PLC 11 connected to itself,
A common protocol for the LAN 13 is converted to another programmable display 12 or a control host computer 14
And relay communication with the PLC 11. In the protocol conversion between the common protocol and the dedicated protocol, a common command predetermined so that the same code is assigned to the same instruction and the P corresponding to the common command are assigned.
Variables that can be converted to commands specific to LC11, conversion of data and address representation methods, device addresses and variables that can be set to values that correspond to the device addresses and are different from the device addresses (variables). Name) and conversion etc. are also included.
【0026】これにより、プログラマブル表示器12お
よび制御用ホストコンピュータ14は、他のプログラマ
ブル表示器12に接続されているPLC11の機種に拘
らず、LAN13を介して共通のプロトコルで通信でき
る。この結果、互いに異なる機種のPLC11の混在す
る制御システム1が比較的容易に実現されている。As a result, the programmable display 12 and the control host computer 14 can communicate with each other via the LAN 13 regardless of the model of the PLC 11 connected to the other programmable display 12. As a result, the control system 1 in which PLCs 11 of different models are mixed is realized relatively easily.
【0027】上記プログラマブル表示器12は、後述す
る画面データに基づいて、デバイスの状態を画面表示す
る際の動作や、画面への操作に応じてデバイスの状態を
制御する際の動作を特定するものであって、PLC11
と通信するPLC・IF部21と、上記LAN13に接
続するためのLAN・IF部22と、例えば、液晶表示
装置などからなるディスプレイ23と、ディスプレイ2
3の画面上に配されたタッチパネル24と、上記各部材
21〜24を制御するHMI処理部25と、当該HMI
処理部25によって参照され、上記画面データおよび後
述する変数が格納される画面メモリ26および変数メモ
リ27とを備えている。なお、上記HMI処理部25が
および後述のデバイス制御部33が特許請求の範囲に記
載の操作手段および制御手段にそれぞれ対応する。The programmable display 12 specifies an operation for displaying the state of the device on the screen and an operation for controlling the state of the device according to an operation on the screen, based on screen data described later. And PLC11
A PLC / IF unit 21 for communicating with the LAN 13, a LAN / IF unit 22 for connecting to the LAN 13, a display 23 including, for example, a liquid crystal display device, and a display 2
3, a touch panel 24 arranged on the screen of FIG. 3, an HMI processing unit 25 for controlling the members 21 to 24, and the HMI.
A screen memory 26 and a variable memory 27, which are referred to by the processing unit 25 and store the screen data and variables described later, are provided. The HMI processing unit 25 and the device control unit 33, which will be described later, correspond to the operating means and the control means described in the claims, respectively.
【0028】上記画面データは、画面上の領域と、当該
領域への表示や入力に対応するデバイスとの対応関係を
示すタグを組み合わせて構成されている。本実施形態で
は、HMI処理部25が複数の単位画面を切り換え表示
可能であり、上記タグは、当該タグが有効となる単位画
面を示すファイル番号と、単位画面上で実行すべき動作
内容を特定する事象名と、各事象毎に参照される参照情
報とを含んでいる。The screen data is composed of a combination of an area on the screen and a tag indicating a correspondence relationship between a device corresponding to display and input in the area. In the present embodiment, the HMI processing unit 25 can switch and display a plurality of unit screens, and the tag specifies the file number indicating the unit screen for which the tag is valid and the operation content to be executed on the unit screen. The event name and the reference information referred to for each event are included.
【0029】例えば、上記タグが所定の画面領域(表示
座標範囲)へ所定のデバイスの状態に応じた部品図形を
表示する表示タグの場合、上記参照情報には、表示座標
範囲と、デバイスを特定可能な変数(後述)と、例え
ば、部品図形がスイッチの場合、ONを示す図形のファ
イルおよびOFFを示す図形のファイルなど、表示時に
参照するファイル番号とが含まれる。さらに、タグが入
力タグの場合、参照情報として、有効入力座標範囲と、
入力結果が書き込まれるデバイスの変数とが含まれる。For example, when the tag is a display tag that displays a part graphic corresponding to a state of a predetermined device in a predetermined screen area (display coordinate range), the display coordinate range and the device are specified in the reference information. Possible variables (described later) and, for example, when the part graphic is a switch, a file number of a graphic that indicates ON and a file of a graphic that indicates OFF are included in the file number to be referred to at the time of display. Furthermore, when the tag is an input tag, the valid input coordinate range and
Contains the device variables to which the input results will be written.
【0030】また、変数メモリ27には、図2に示すよ
うに、各変数について、変数の名称(変数名)と、変数
に対応するデバイス2aまたは内部メモリを特定するた
めの情報(例えば、アドレスなど)と、変数の内容との
組み合わせが記憶されている。なお、本実施形態では、
変数に対応するデバイス2aの機種に拘わらず、変数の
内容を格納する際の表現方法(例えば、ワード長や符号
の有無、あるいは、BCD/2進表記など)が予め定め
られた表現方法に統一されており、変数が実在のデバイ
ス2aに対応する場合、変数メモリ27には、実際の機
種での表現方法も機能されている。この場合、HMI処
理部25は、PLC・IF部21を介してデバイス2a
の状態を取得あるいは制御する際、表現方法を形式変換
して、格納時の表現方法を統一する。Further, in the variable memory 27, as shown in FIG. 2, for each variable, a variable name (variable name) and information for specifying the device 2a or the internal memory corresponding to the variable (for example, an address). Etc.) and the contents of the variable are stored. In this embodiment,
Regardless of the model of the device 2a corresponding to the variable, the expression method for storing the content of the variable (for example, word length or presence of code, or BCD / binary notation) is unified to a predetermined expression method. If the variable corresponds to the existing device 2a, the variable memory 27 also has a function of expressing the actual model. In this case, the HMI processing unit 25 causes the device 2 a via the PLC / IF unit 21.
When acquiring or controlling the state of, the format of the expression method is converted to unify the expression method at the time of storage.
【0031】一方、上記HMI処理部25は、所定の時
間間隔で、画面メモリ26に格納された画面データか
ら、ベース画面のファイル番号が、現在表示中のベース
画面である表示タグを抽出する。さらに、HMI処理部
25は、変数メモリ27を参照して、タグに対応する変
数の内容を読み出し、内容に応じた部品図形をディスプ
レイ23に表示する。ここで、PLC・IF部21に接
続されたPLC11により制御されるデバイス2aに、
上記変数が対応している場合、HMI処理部25は、P
LC・IF部21によるPLC11との通信によって、
デバイス2aの状態を取得し、上記変数の内容を当該状
態に応じて更新している。これにより、ディスプレイ2
3には、デバイス2aの状態が表示される。On the other hand, the HMI processing section 25 extracts a display tag whose base screen file number is the currently displayed base screen from the screen data stored in the screen memory 26 at predetermined time intervals. Further, the HMI processing unit 25 refers to the variable memory 27, reads out the content of the variable corresponding to the tag, and displays the component graphic corresponding to the content on the display 23. Here, in the device 2a controlled by the PLC 11 connected to the PLC / IF unit 21,
If the above variables correspond, the HMI processing unit 25 determines that P
By communicating with the PLC 11 by the LC / IF unit 21,
The state of the device 2a is acquired, and the content of the variable is updated according to the state. This allows the display 2
At 3, the status of the device 2a is displayed.
【0032】なお、変数が他のプログラマブル表示器1
2に接続されたPLC11によって制御されるデバイス
2aの場合、HMI処理部25は、LAN・IF部2
2、LAN13および他のプログラマブル表示器12を
介して当該PLC11と通信するなどして、デバイスの
状態を取得し、それに応じて変数の内容を更新する。Note that the variable is another programmable display 1
In the case of the device 2a controlled by the PLC 11 connected to the LAN 2, the HMI processing unit 25 uses the LAN / IF unit 2
2. The device state is acquired by communicating with the PLC 11 via the LAN 13, the other programmable display 12, and the contents of the variables are updated accordingly.
【0033】また、タッチパネル24への押し操作な
ど、オペレータの入力操作を受け付けると、HMI処理
部25は、上記画面データから、現在表示中のベース画
面に対応し、当該入力操作にマッチする入力タグを検索
すると共に、入力結果に応じて、タグに対応する変数の
内容を更新する。さらに、HMI処理部25は、デバイ
ス2aの状態を取得する場合と略同様に、PLC11や
プログラマブル表示器12と通信するなどして、上記変
数の内容に応じて、デバイス2aの状態を制御させる。
ここで、入力操作の後も、HMI処理部25は、デバイ
ス2aの状態を画面表示するので、操作結果が画面表示
に反映される。When an input operation by the operator, such as a push operation on the touch panel 24, is received, the HMI processing unit 25 corresponds to the base screen currently displayed from the screen data and an input tag matching the input operation. And the content of the variable corresponding to the tag is updated according to the input result. Further, the HMI processing unit 25 controls the state of the device 2a according to the content of the variable by communicating with the PLC 11 or the programmable display 12 in substantially the same manner as when acquiring the state of the device 2a.
Here, since the HMI processing unit 25 also displays the state of the device 2a on the screen after the input operation, the operation result is reflected on the screen display.
【0034】加えて、HMI処理部25は、例えば、他
のプログラマブル表示器12や制御用ホストコンピュー
タ14など、LAN13に接続された機器から自らに接
続されたPLC11のデバイス2aへの制御指示を受け
取った場合や、これとは逆に、上記機器へ報告すべきデ
バイス2aの状態を自らのPLC11から受け取った場
合には、上述したプロトコル変換によって、LAN13
での通信、および、PLC11との通信の間を中継でき
る。In addition, the HMI processing unit 25 receives a control instruction from the device connected to the LAN 13, such as another programmable display 12 or the control host computer 14, to the device 2a of the PLC 11 connected to itself. If the status of the device 2a to be reported to the device is received from the PLC 11 of its own, on the contrary, by the protocol conversion described above, the LAN 13
It is possible to relay between the communication in and the communication with the PLC 11.
【0035】さらに、本実施形態に係るプログラマブル
表示器12は、PLCとしても動作するために、デバイ
ス2aに接続するためのIO・IF部31と、制御プロ
グラムなどを記憶する制御用ファイルメモリ32と、当
該制御プログラムに基づいて、IO・IF部31に接続
されたデバイス2aを制御するデバイス制御部33とを
備えている。Further, the programmable display device 12 according to the present embodiment also operates as a PLC, and therefore has an IO / IF unit 31 for connecting to the device 2a, and a control file memory 32 for storing a control program and the like. A device control unit 33 that controls the device 2a connected to the IO / IF unit 31 based on the control program.
【0036】本実施形態に係るデバイス制御部33は、
制御プログラムにおいて、制御対象を変数で特定可能な
PLCであって、例えば、数十msなど、予め定められ
た長さの走査期間(スキャンタイム)毎に、各デバイス
2aの状態を読み出し、各デバイス2aに対応する変数
の内容として、変数メモリ27に格納する。The device control unit 33 according to this embodiment is
In the control program, the PLC is a PLC whose control target can be specified by a variable. For example, the state of each device 2a is read at every scanning period (scan time) of a predetermined length such as several tens of ms, and each device is read. The content of the variable corresponding to 2a is stored in the variable memory 27.
【0037】さらに、デバイス制御部33は、変数メモ
リ27に格納された各変数の内容を参照しながら、制御
用ファイルメモリ32の制御プログラムが示す各命令を
順次実行する。ここで、各命令では、図3に示すラダー
プログラムのように、各命令語Cα…の制御対象(オペ
ランド)を変数で指定可能であり、各命令の実行に伴な
って、各変数の内容は更新される。さらに、エンド命令
が実行され、制御プログラムの実行が終了すると、デバ
イス制御部33は、変数メモリ27に格納された各変数
のうち、IO・IF部31に接続されたデバイス2aに
対応する変数の内容を各デバイス2aに書き込む。これ
により、デバイス制御部33は、PLCと同様に、ユー
ザが作成した制御プログラムに従い、デバイス2aの状
態に応じて各デバイス2aを制御できる。Further, the device control unit 33 sequentially executes each instruction indicated by the control program of the control file memory 32 while referring to the contents of each variable stored in the variable memory 27. Here, in each instruction, as in the ladder program shown in FIG. 3, the control object (operand) of each instruction word Cα ... Can be specified by a variable, and the contents of each variable are associated with the execution of each instruction. Will be updated. Further, when the end instruction is executed and the execution of the control program is completed, the device control unit 33 determines which one of the variables stored in the variable memory 27 corresponds to the device 2a connected to the IO / IF unit 31. The contents are written in each device 2a. With this, the device control unit 33 can control each device 2a according to the state of the device 2a according to the control program created by the user, similarly to the PLC.
【0038】なお、上述したように、変数の内容を格納
する際の表現方法が統一されているので、デバイス制御
部33は、IO・IF部31を介してデバイス2aと通
信する際、表現方法を形式変換して、格納時の表現方法
を統一する。As described above, since the expression method for storing the contents of variables is unified, the device control unit 33 uses the expression method when communicating with the device 2a via the IO / IF unit 31. The format is converted to unify the representation method at the time of storage.
【0039】さらに、本実施形態に係るプログラマブル
表示器12は、ラダーモニタ装置としての機能も有して
おり、例えば、あるデバイス2aの状態が異常な場合
に、その異常の原因となるデバイス2aを特定する際な
どに好適に用いられるラダーモニタ画面を表示するため
に、上記HMI処理部25およびデバイス制御部33を
連携動作させるコントロール−HMI処理部(ラダーモ
ニタ手段および表示制御手段)41を備えている。さら
に、上記変数メモリ27には、ラダーモニタに関する変
数(ラダーモニタ変数)を格納する領域42が設けられ
ている。なお、上記制御用ファイルメモリ32には、制
御プログラムのOPコード(命令語)およびオペランド
だけではなく、例えば、変数の情報、ジャンプ先のラベ
ル、各ラダー記号がどのように接続されるかを示す情報
や、ラング番号など、制御プログラムに応じたラダー図
を表示するための情報も記憶されている。Further, the programmable display device 12 according to the present embodiment also has a function as a ladder monitor device. For example, when the state of a certain device 2a is abnormal, the device 2a causing the abnormality is detected. A control-HMI processing unit (ladder monitor unit and display control unit) 41 for operating the HMI processing unit 25 and the device control unit 33 in cooperation is provided in order to display a ladder monitor screen that is preferably used when specifying. There is. Further, the variable memory 27 is provided with an area 42 for storing variables relating to the ladder monitor (ladder monitor variables). The control file memory 32 indicates not only the OP code (instruction word) and the operand of the control program but also, for example, variable information, a jump destination label, and how each ladder symbol is connected. Information and information for displaying a ladder diagram corresponding to the control program such as a rung number are also stored.
【0040】ここで、ラダー図は、例えば、図4に示す
ように、接点やコイル、カウンタなど、図形やその他の
形式で表された機能ブロックとしてのラダー記号(Iα
…)と、これらに関連するラベルとからなる1または複
数のネットワーク(L1…)を、左右の母線(La・L
b)内に記述した図であって、配置されているラダー記
号の種類と、各ラダー記号の接続関係とによって、制御
手順を図示できると共に、例えば、形状や色あるいは点
滅の有無など、ラダー記号の表示形式で、デバイス2a
の現在の制御状態も表示できる。Here, the ladder diagram is, for example, as shown in FIG. 4, a ladder symbol (Iα) as a functional block represented by figures or other formats such as contacts, coils, counters, and the like.
...) and one or a plurality of networks (L1 ...) Consisting of these and related labels are connected to left and right buses (La · L).
In the diagram described in b), the control procedure can be illustrated by the type of the ladder symbol arranged and the connection relationship of each ladder symbol, and the ladder symbol such as shape, color, or blinking can be displayed. Device 2a in the display format of
The current control status of can also be displayed.
【0041】例えば、図4および図5のラダー図は、上
記図3にてラダープログラムとして記載された制御プロ
グラムを図示したものであって、ロードを示すラダー記
号Iαが、アンドを示すラダー記号Iβ、および、イン
クリメントを示すラダー記号Iγを介して、母線Lbに
接続されている。したがって、これらのラダー記号Iα
〜Iγと、各ラダー記号Iα〜Iγの接続関係とによっ
て、命令語Cα〜Cγに対応する制御手順、すなわち、
ラダー記号Iαに対応するデバイスがオン状態で、しか
も、ラダー記号Iβに対応するデバイスがオン状態の場
合、カウンタをインクリメントするという手順を記述で
きる。For example, the ladder diagrams of FIGS. 4 and 5 illustrate the control program described as the ladder program in FIG. 3 above, and the ladder symbol Iα indicating load is the ladder symbol Iβ indicating AND. , And a ladder symbol Iγ indicating increment, and is connected to the bus Lb. Therefore, these ladder symbols Iα
~ Iγ and the connection relationship of the ladder symbols Iα to Iγ, the control procedure corresponding to the command words Cα to Cγ, that is,
When the device corresponding to the ladder symbol Iα is in the on state and the device corresponding to the ladder symbol Iβ is in the on state, the procedure of incrementing the counter can be described.
【0042】また、図4のラダー図では、ロードを示す
ラダー記号IαおよびIδがオフ状態を示す形状で記述
されているのに対して、図5のラダー図では、両ラダー
記号Iα、Iδがオン状態を示す形状で記述されてい
る。したがって、図4および図5に示すラダー図から
は、制御手順だけではなく、デバイスの制御状態、すな
わち、図4の場合は、ラダー記号IαおよびIδに対応
するデバイスがオフ状態であり、図5の場合は、ラダー
記号IαおよびIδに対応するデバイスがオン状態であ
ることも読み取れる。また、母線La・Lbやネットワ
ークL1…のうち、導電部分は、太く描画されている。
なお、図3ないし図6では、例えば、命令語Cαとラダ
ー記号Iαとのように、互いに対応するもの同士に、互
いに同じギリシャ文字を付している。Further, in the ladder diagram of FIG. 4, the ladder symbols Iα and Iδ indicating the load are described in a shape indicating the off state, whereas in the ladder diagram of FIG. 5, both the ladder symbols Iα and Iδ are described. It is described by a shape indicating an ON state. Therefore, from the ladder diagrams shown in FIGS. 4 and 5, not only the control procedure but also the control state of the device, that is, in the case of FIG. 4, the devices corresponding to the ladder symbols Iα and Iδ are in the off state, In the case of, it can also be read that the devices corresponding to the ladder symbols Iα and Iδ are in the ON state. Further, the conductive portions of the bus lines La and Lb and the networks L1 ... Are drawn thick.
In FIGS. 3 to 6, the same Greek letters are affixed to those corresponding to each other, such as the instruction word Cα and the ladder symbol Iα.
【0043】さらに、本実施形態に係るコントロール−
HMI処理部41は、ラダーモニタ画面として上記ラダ
ー図を表示する際、図4および図5に示すように、ラダ
ーモニタ画面を操作するためのボタンB1〜B41も合
わせて表示するよう、HMI処理部25へ指示する。こ
こで、上記ボタンB1は、ラダーモニタの終了を指示す
るボタンであり、ボタンB11は、ネットワークL1…
の番号(ラング番号)を指示するボタンである。また、
ボタンB21〜B24は、制御プログラムに応じたラダ
ー図全体のうちのラダーモニタ画面中に表示する領域の
移動(スクロール)を指示するボタンであり、それぞ
れ、左右上下方向に対応している。さらに、ボタンB3
1は、移動の単位をページ単位とするかラング単位とす
るかを指示するボタンであり、ボタンB41は、ラダー
図中に数値を表示する際、10進表示するか16進表示
するかの切り換えを指示するボタンである。Further, the control according to the present embodiment
When the HMI processing unit 41 displays the ladder diagram as the ladder monitor screen, the HMI processing unit 41 also displays buttons B1 to B41 for operating the ladder monitor screen as shown in FIGS. 4 and 5. Instruct 25. Here, the button B1 is a button for instructing to end the ladder monitor, and the button B11 is a network L1 ...
Is a button for instructing the number (rung number). Also,
Buttons B21 to B24 are buttons for instructing the movement (scrolling) of the area displayed on the ladder monitor screen of the entire ladder diagram according to the control program, and correspond to the left, right, up, and down directions, respectively. Furthermore, button B3
Reference numeral 1 is a button for instructing whether the unit of movement is the page unit or the rung unit, and the button B41 switches between decimal display and hexadecimal display when displaying a numerical value in the ladder diagram. Is a button for instructing.
【0044】一方、変数メモリ27のラダーモニタ変数
を記憶する領域42には、ラダーモニタ変数の内容を記
憶する領域として、図6に示すように、ラダーモニタ画
面の表示開始/終了を指示するためのビット領域M1
と、ラダー図の左右上下方向のスクロールを指示するた
めのビット領域M21〜M24と、スクロールの単位を
指示するためのビット領域M31と、ラダー図におい
て、数値を表示する際、10進で表示するか16進で表
示するかを示すビット領域M41とが設けられている。On the other hand, the area 42 for storing the ladder monitor variables in the variable memory 27 is used as an area for storing the contents of the ladder monitor variables to instruct the start / end of the display of the ladder monitor screen as shown in FIG. Bit area M1
And bit areas M21 to M24 for instructing scrolling in the left / right and up / down directions of the ladder diagram, bit area M31 for instructing the unit of scrolling, and when displaying numerical values in the ladder diagram, they are displayed in decimal. Or a bit area M41 indicating whether to display in hexadecimal.
【0045】上記構成において、例えば、制御用ホスト
コンピュータ14の作画エディタなどによって、プログ
ラマブル表示器12用の画面データが作成される。ま
た、制御用ホストコンピュータ14の制御プログラムエ
ディタなどによって、プログラマブル表示器12のデバ
イス制御部33用の制御プログラムを含む制御用ファイ
ルが作成される。上記各エディタでは、タグや制御プロ
グラムにて、操作や参照の対象となるデバイスを指定す
る際、デバイスに対応する変数が生成され、当該変数で
指定される。In the above structure, the screen data for the programmable display 12 is created by, for example, the drawing editor of the control host computer 14. In addition, a control file including a control program for the device control unit 33 of the programmable display 12 is created by a control program editor of the control host computer 14 or the like. In each of the above editors, when a device to be operated or referred to is specified by a tag or a control program, a variable corresponding to the device is generated and specified by the variable.
【0046】さらに、上記各エディタなどによって、各
変数が実際のデバイス2aなどと関連付けられる。な
お、変数には、実際のデバイス2aだけではなく、プロ
グラマブル表示器12の記憶領域や、マクロの演算結果
を関連付けることができる。この場合、HMI処理部2
5は、予め設定されたプログラム(マクロ)に従って、
変数メモリ27の変数の内容を演算した結果を、マクロ
に関連付けられた変数の内容に設定できる。Furthermore, each variable is associated with the actual device 2a or the like by the above editors or the like. Note that not only the actual device 2a but also the storage area of the programmable display device 12 and the macro operation result can be associated with the variable. In this case, the HMI processing unit 2
5 is according to a preset program (macro),
The result of calculating the contents of the variable in the variable memory 27 can be set to the contents of the variable associated with the macro.
【0047】また、画面表示や操作あるいは制御に関連
する変数の場合と同様に、上記各エディタによって、ラ
ダーモニタ変数は、トリガとなる事象、すなわち、デバ
イス2aやプログラマブル表示器12の記憶領域または
マクロと関連付けられる。Further, as in the case of variables related to screen display, operation or control, the ladder monitor variables are triggered by the above editors, that is, the event that serves as a trigger, that is, the storage area of the device 2a or the programmable display 12 or the macro. Associated with.
【0048】ここで、上記各エディタでは、デバイスの
アドレスを指定するのではなく、デバイスを変数で指定
している。したがって、実際のデバイス2aと変数との
対応は、プログラマブル表示器12が動作を開始するま
でに関連付ければよく、実際のアドレスが決まっていな
い段階でも、画面や制御手順を設計できる。また、デバ
イス2aの変更などによって、実際のアドレスが変更さ
れたとしても、画面データおよび制御プログラムにおい
て、当該デバイス2aに関連する箇所全てを変更する必
要がなく、変数とアドレスとの関連付けを変更するだけ
でよい。Here, in each of the above-mentioned editors, the device is specified by a variable, not the address of the device. Therefore, the correspondence between the actual device 2a and the variable may be associated by the time the programmable display 12 starts its operation, and the screen and control procedure can be designed even when the actual address is not determined. Further, even if the actual address is changed due to the change of the device 2a or the like, it is not necessary to change all the parts related to the device 2a in the screen data and the control program, and the association between the variable and the address is changed. Just enough.
【0049】画面データ、制御プログラムおよび変数の
関連付けが完成すると、これらのデータは、プログラマ
ブル表示器12に伝送され、画面メモリ26、制御用フ
ァイルメモリ32および変数メモリ27に格納される。
なお、上記では、説明の便宜上、画面データ、制御プロ
グラムおよび変数の関連付けの順で説明したが、プログ
ラマブル表示器12に格納されるまでに、これらのデー
タが設定されれば、順序が異なっていてもよい。When the association of the screen data, the control program and the variables is completed, these data are transmitted to the programmable display 12 and stored in the screen memory 26, the control file memory 32 and the variable memory 27.
In the above description, for convenience of description, the order of associating the screen data, the control program, and the variable has been described. However, if these data are set before being stored in the programmable display 12, the order is different. Good.
【0050】さらに、プログラマブル表示器12は、上
記制御プログラムに基づいて、IO・IF部31に接続
されたデバイス2aを制御すると共に、上記画面データ
に基づいて、操作画面を表示する。ここで、コントロー
ル−HMI処理部41は、ラダーモニタ変数の内容がラ
ダーモニタの起動を示す値(図6に示す領域M1がO
N)になるか否かを監視しており、当該値が起動を示す
値になるまでの間、ラダーモニタを起動しない。したが
って、操作画面の表示およびデバイス2aの制御は、ラ
ダーモニタ画面表示のトリガとなる事象が発生するまで
の間、繰り返される。Further, the programmable display device 12 controls the device 2a connected to the IO / IF unit 31 based on the control program, and displays an operation screen based on the screen data. Here, in the control-HMI processing unit 41, the content of the ladder monitor variable is a value indicating that the ladder monitor is activated (the area M1 shown in FIG.
N) is monitored, and the ladder monitor is not activated until the value reaches a value indicating activation. Therefore, the display of the operation screen and the control of the device 2a are repeated until the event that triggers the ladder monitor screen display occurs.
【0051】一例として、上記変数の関連付けによっ
て、ラダーモニタ変数のうちの上記領域M1が、IO・
IF部31に接続されたデバイス2aのON/OFFに
関連付けられていた場合、デバイス制御部33は、デバ
イス2aのON/OFFに応じて、領域M1を更新して
いる。したがって、当該デバイス2aがON状態となっ
たときに、領域M1の値がONとなる。As an example, by associating the variables with each other, the area M1 of the ladder monitor variables becomes IO.
When it is associated with ON / OFF of the device 2a connected to the IF unit 31, the device control unit 33 updates the area M1 according to ON / OFF of the device 2a. Therefore, when the device 2a is turned on, the value of the area M1 is turned on.
【0052】このように、ラダーモニタ画面表示のトリ
ガとなる事象が発生し、上記領域M1の値がONになる
と、コントロール−HMI処理部41は、図7に示すス
テップ1(以下では、S1のように略称する)におい
て、HMI処理部25へ指示して、ラダーモニタの概略
画面を表示させる。In this way, when an event that triggers the ladder monitor screen display occurs and the value of the area M1 is turned ON, the control-HMI processing unit 41 causes the control-HMI processing unit 41 to perform step 1 (hereinafter, step S1 in FIG. 7). In this case, the HMI processing unit 25 is instructed to display a schematic screen of the ladder monitor.
【0053】具体的には、コントロール−HMI処理部
41は、画面データのうち、予めラダーモニタ用に用意
された画面を表示するよう、HMI処理部25へ指示す
る。これにより、図4および図5に示すように、各ボタ
ンB1〜B41が表示される。さらに、コントロール−
HMI処理部41は、制御用ファイルメモリ32の内容
を解析して、制御プログラムが示すラダー図に含まれる
ラダー記号、および、各ラダー記号間の接続関係を把握
し、上記ラダー図を表示するよう、HMI処理部25へ
指示する。Specifically, the control-HMI processing unit 41 instructs the HMI processing unit 25 to display the screen prepared in advance for the ladder monitor in the screen data. As a result, the buttons B1 to B41 are displayed as shown in FIGS. 4 and 5. In addition, control-
The HMI processing unit 41 analyzes the contents of the control file memory 32, grasps the ladder symbols included in the ladder diagram indicated by the control program and the connection relationship between the ladder symbols, and displays the ladder diagram. , HMI processing unit 25.
【0054】より詳細には、コントロール−HMI処理
部41は、制御用ファイルに基づいて、ラダー図を表示
するために必要な変数を特定する。また、コントロール
−HMI処理部41は、これらの各変数について、デバ
イス制御部33へ変数名を通知し、デバイス制御部33
から、変数メモリ27のアドレスのうち、当該変数名の
変数の内容が格納されたアドレスを受け取る。さらに、
コントロール−HMI処理部41は、当該アドレスへア
クセスして、変数の内容を取得する。More specifically, the control-HMI processing section 41 specifies the variables necessary for displaying the ladder diagram based on the control file. Further, the control-HMI processing unit 41 notifies the device control unit 33 of the variable name for each of these variables, and the device control unit 33
From among the addresses of the variable memory 27, the address in which the content of the variable of the variable name is stored is received. further,
The control-HMI processing unit 41 accesses the address and acquires the content of the variable.
【0055】また、各変数の内容が取得できると、コン
トロール−HMI処理部41は、各変数の内容に応じた
表示形式で、各変数に対応するラダー記号を表示するよ
う、HMI処理部25へ指示する。When the contents of each variable can be acquired, the control-HMI processing unit 41 instructs the HMI processing unit 25 to display the ladder symbol corresponding to each variable in the display format according to the content of each variable. Give instructions.
【0056】ここで、各デバイス2aに対応する変数の
内容は、HMI処理部25またはデバイス制御部33に
よって更新されており、変数の内容取得および内容に応
じた表示指示は、終了が指示されるまで、予め定めれた
周期で繰り返される。これにより、ディスプレイ23に
は、図4または図5などに示すように、デバイス2aの
状態に応じたラダー図が表示される。Here, the content of the variable corresponding to each device 2a is updated by the HMI processing section 25 or the device control section 33, and the acquisition of the content of the variable and the display instruction according to the content are instructed to end. Up to a predetermined cycle. As a result, a ladder diagram corresponding to the state of the device 2a is displayed on the display 23, as shown in FIG. 4 or FIG.
【0057】また、上記画面データでは、各ボタンB1
〜B41が表示されており、HMI処理部25は、各ボ
タンB1〜B41が操作された場合、ラダーモニタ変数
のうち、それぞれに対応する領域M1〜M41を変更す
る。一方、コントロール−HMI処理部41は、ラダー
モニタ変数の内容を常時監視しており、内容に応じて、
ラダーモニタ画面をスクロールしたり、ラダーモニタ画
面に表示する数値の表現方法を変更する。Further, in the above screen data, each button B1
To B41 are displayed, and the HMI processing unit 25 changes the regions M1 to M41 corresponding to the ladder monitor variables when the buttons B1 to B41 are operated. On the other hand, the control-HMI processing unit 41 constantly monitors the contents of the ladder monitor variable, and according to the contents,
Scroll the ladder monitor screen or change the expression method of the numerical values displayed on the ladder monitor screen.
【0058】ここで、概略画面では、後述の詳細画面と
異なり、ラダー記号に対応するデバイス2aの名称やア
ドレスなど、各ラダー記号の詳細情報の表示が省略され
ている代わりに、より多くのラダー記号が表示されてい
る。また、ラダー記号に対応するデバイス2aの状態
は、ラダー記号の表示方法によって提示されている。し
たがって、ユーザは、当該概略画面によって、デバイス
2aの状態の概略を把握できる。Here, unlike the detailed screen described later, in the summary screen, the display of detailed information of each ladder symbol such as the name and address of the device 2a corresponding to the ladder symbol is omitted, but more ladders are displayed. The symbol is displayed. The state of the device 2a corresponding to the ladder symbol is presented by the display method of the ladder symbol. Therefore, the user can grasp the outline of the state of the device 2a on the outline screen.
【0059】また、より多くのラダー記号が表示されて
いるので、各ラダー記号間の接続関係を把握しやすく、
あるデバイス2aの状態が異常な場合、その状態異常に
関連するデバイス2a群を容易に把握できる。この結
果、当該状態異常の原因となったデバイス2aを推測し
やすい。この結果、不具合が発生したデバイス2aとは
異なるデバイス2aにて異常が検出された場合でも、不
具合が発生したデバイス2aを特定しやすい。Further, since more ladder symbols are displayed, it is easy to understand the connection relationship between each ladder symbol,
When the state of a certain device 2a is abnormal, the device 2a group related to the abnormal state can be easily grasped. As a result, it is easy to guess the device 2a that has caused the abnormal state. As a result, even if an abnormality is detected in the device 2a different from the device 2a in which the defect has occurred, it is easy to identify the device 2a in which the defect has occurred.
【0060】ここで、上記詳細情報を含むラダー図全体
を縮小表示する場合には、概略画面と同じ程度の数のラ
ダー記号を表示しようとすると、縮小率が高くなり、詳
細情報が潰れて読み取れなくなる虞れがある。この場合
は、詳細情報が縮小表示されているにも拘らず、この表
示領域が無駄になり、ラダー記号が示すデバイス2aの
状態やラダー記号の相互関係の把握を妨げてしまう。Here, in the case where the entire ladder diagram including the above detailed information is displayed in a reduced size, if the same number of ladder symbols as the outline screen is displayed, the reduction rate becomes high and the detailed information is crushed and readable. There is a risk of disappearing. In this case, although the detailed information is displayed in a reduced size, this display area is wasted, and it is difficult to grasp the state of the device 2a indicated by the ladder symbol and the mutual relation of the ladder symbol.
【0061】これに対して、概略表示では、詳細情報の
表示が省略されているので、視認性を低下させることな
く、上記デバイス2aの状態や相互関係をユーザに提示
できる。On the other hand, since the detailed information is not displayed in the schematic display, the state and mutual relationship of the device 2a can be presented to the user without lowering the visibility.
【0062】一方、ユーザは、概略画面の表示中に、異
常の原因となったデバイス2aが推測された場合など、
詳細情報を表示したいラダー記号が決まると、例えば、
タッチパネル24への操作などによって、所望のラダー
記号を指定する。On the other hand, when the user suspects the device 2a that is the cause of the abnormality while displaying the summary screen,
When the ladder symbol you want to display detailed information is decided, for example,
A desired ladder symbol is designated by operating the touch panel 24 or the like.
【0063】この場合(S2にて、YES の場合)、コン
トロール−HMI処理部41は、S3において、操作位
置に基づいて、操作されたラダー記号(例えば、図4に
示すラダー記号Iγ)を特定し、図8に示すように、詳
細画面として、当該ラダー記号に対応付けられたデバイ
ス2aの状態の文字表示、デバイス2aの名称およびデ
バイス2aのアドレスなど、デバイス2aの詳細情報
を、ラダー記号に併記して表示する。In this case (YES in S2), the control-HMI processing unit 41 specifies the operated ladder symbol (for example, the ladder symbol Iγ shown in FIG. 4) based on the operation position in S3. Then, as shown in FIG. 8, detailed information of the device 2a such as a character display of the state of the device 2a associated with the ladder symbol, a name of the device 2a and an address of the device 2a is displayed on the ladder symbol as a detailed screen. Displayed together.
【0064】具体的には、コントロール−HMI処理部
41は、概略画面をHMI処理部25に表示させる際、
各ラダー記号について、ラダー記号の位置と、ラダー記
号に対応する変数の内容とを指示している。したがっ
て、操作位置に基づいて、ラダー記号が特定されると、
コントロール−HMI処理部41は、選択されたラダー
記号を特定できる。さらに、コントロール−HMI処理
部41は、変数メモリ27から、当該ラダー記号に対応
する変数の名称およびアドレスを読み出し、ラダー記号
に併記させる。さらに、当該変数の内容に応じた表示方
法で、ラダー記号を拡大表示するよう、HMI処理部2
5へ指示すると共に、変数の内容を文字列でも表示する
よう指示する。これにより、詳細画面では、デバイス2
aの名称、アドレスおよび状態を示す文字が、ラダー記
号に併記される。Specifically, when the control-HMI processing unit 41 causes the HMI processing unit 25 to display a schematic screen,
For each ladder symbol, the position of the ladder symbol and the content of the variable corresponding to the ladder symbol are indicated. Therefore, when the ladder symbol is specified based on the operation position,
The control-HMI processing unit 41 can specify the selected ladder symbol. Further, the control-HMI processing unit 41 reads out the name and address of the variable corresponding to the ladder symbol from the variable memory 27, and causes it to be written together with the ladder symbol. Furthermore, the HMI processing unit 2 is configured to display the ladder symbol in an enlarged manner by a display method according to the content of the variable.
5 is instructed and the contents of the variable are instructed to be displayed as a character string. As a result, the device 2
Letters indicating the name, address, and state of a are written together with the ladder symbol.
【0065】コントロール−HMI処理部41は、概略
画面表示が指示されるまでの間(S4にて、NOの間)、
上記S3の処理を繰り返す。これにより、デバイス2a
の状態変更に伴なって、ラダー記号の表示方法およびデ
バイス2aの状態の文字表示が更新される。The control-HMI processing unit 41 keeps waiting until the general screen display is instructed (NO in S4).
The process of S3 is repeated. This allows the device 2a
The display method of the ladder symbol and the character display of the state of the device 2a are updated along with the change of the state.
【0066】ここで、詳細画面では、ラダー記号に詳細
情報として、デバイス2aの状態の文字表示が併記され
ているので、ユーザは、ラダー記号に対応するデバイス
2aの状態をより的確に把握できる。また、詳細情報と
して、アドレスや変数名(デバイス名)も表示されてい
るので、デバイス2aの設置場所なども把握でき、例え
ば、設置場所へ赴いて、当該デバイス2aに不具合が発
生しているか否かを確認したり、そのデバイス2aを交
換するなどの対応を取ることができる。なお、変数メモ
リ27に、アドレスやデバイス名に加えて、設置場所や
不具合への対応方法なども格納しておき、それらの情報
も詳細情報として併記してもよい。いずれの場合であっ
ても、詳細情報によって、ユーザへ、デバイス2aの現
状を的確に提示できると共に、適切な対応を取るための
情報も伝えることができる。Here, on the detailed screen, since the character display of the state of the device 2a is also written as detailed information in the ladder symbol, the user can more accurately grasp the state of the device 2a corresponding to the ladder symbol. Further, since the address and the variable name (device name) are displayed as the detailed information, the installation location of the device 2a and the like can be grasped. For example, whether or not the device 2a has a malfunction when it goes to the installation location. Whether the device 2a is replaced or not can be taken. In addition to the address and the device name, the variable memory 27 may also store the installation location and a method for dealing with a defect, and the information may also be described as detailed information. In any case, the detailed information can accurately present the current state of the device 2a to the user and also can provide information for taking an appropriate response.
【0067】また、例えば、詳細画面で、終了ボタンB
1を押すなどして、概略画面表示が指示されると(S4
にて、YES の場合)、コントロール−HMI処理部41
は、S1以降の処理を繰り返す。これにより、図4や図
5に示すように、ラダーモニタの概略画面が再度表示さ
れる。Further, for example, on the detail screen, the end button B
When the general screen display is instructed by pressing 1, etc. (S4
In case of YES), the control-HMI processing unit 41
Repeats the processing from S1. As a result, the schematic screen of the ladder monitor is displayed again as shown in FIGS. 4 and 5.
【0068】ところで、例えば、概略画面の表示中にボ
タンB1を押すなど、ラダーモニタの表示終了が指示さ
れると、HMI処理部25は、ラダーモニタ変数の領域
M1をOFFに設定し、コントロール−HMI処理部4
1は、HMI処理部25へラダーモニタ画面の表示終了
を指示する。これにより、HMI処理部25は、再び、
操作画面を表示する。なお、本実施形態に係るコントロ
ール−HMI処理部41は、ラダーモニタを起動する
際、例えば、画面番号などの形式で、直前に表示してい
た操作画面を記憶しており、終了時には、当該操作画面
の表示の再開をHMI処理部25へ指示する。By the way, when an instruction to end the display of the ladder monitor is given, for example, by pressing the button B1 during the display of the outline screen, the HMI processing section 25 sets the area M1 of the ladder monitor variable to OFF and the control- HMI processing unit 4
1 instructs the HMI processing unit 25 to end the display of the ladder monitor screen. As a result, the HMI processing unit 25 again
Display the operation screen. It should be noted that the control-HMI processing unit 41 according to the present embodiment stores the operation screen that was displayed immediately before, for example, in the form of a screen number when the ladder monitor is activated, and at the end, the operation screen is displayed. The HMI processing unit 25 is instructed to restart the screen display.
【0069】なお、上記では、ラダーモニタ変数の領域
M1にデバイス2aが関連付けられている場合を例にし
て説明したが、上記変数の関連付けによって、プログラ
マブル表示器12の記憶領域のうち、メニュー画面中の
ボタンへの操作結果を示す記憶領域に、上記ラダーモニ
タ変数の領域M1が関連付けられた場合、プログラマブ
ル表示器12は、以下のように動作する。In the above description, the case where the device 2a is associated with the area M1 of the ladder monitor variable has been described as an example. When the area M1 of the ladder monitor variable is associated with the storage area indicating the operation result of the button of, the programmable display 12 operates as follows.
【0070】すなわち、プログラマブル表示器12のH
MI処理部25が、図9に示すように、各デバイス2a
の状態を示す操作画面を表示している間に、画面の4隅
の領域A11〜A14のうちの任意の3点が押される
と、HMI処理部25は、画面データに基づいて、メニ
ュー表示が指示されたと判断して、図10に示すよう
に、操作画面A2の一部(この例では下端)にメニュー
を表示する。当該メニューには、メニューの項目を切り
換えるボタンB51や、ラダーモニタ画面の表示を指示
するボタンB52、あるいは、その他のボタンB53〜
B54が表示されており、ボタンB52が押されると、
HMI処理部25は、プログラマブル表示器12の内部
メモリの記憶領域に、ボタンB52が操作されたことを
記憶する。ここで、当該記憶領域は、上記変数の関連付
けにて、ラダーモニタ変数の領域M1と関連付けられて
いるので、上記操作によって上記領域M1の内容も起動
を示す値になる。この結果、当該領域M1の内容を監視
しているコントロール−HMI処理部41は、ラダーモ
ニタを起動させる。That is, H of the programmable display 12
The MI processing unit 25, as shown in FIG.
When any three points among the four areas A11 to A14 at the four corners of the screen are pressed while the operation screen showing the state is displayed, the HMI processing unit 25 displays the menu based on the screen data. When it is determined that the instruction has been given, as shown in FIG. 10, a menu is displayed on a part (lower end in this example) of the operation screen A2. The menu includes a button B51 for switching menu items, a button B52 for instructing display of a ladder monitor screen, and other buttons B53 to
When B54 is displayed and button B52 is pressed,
The HMI processing unit 25 stores in the storage area of the internal memory of the programmable display 12 that the button B52 has been operated. Here, since the storage area is associated with the area M1 of the ladder monitor variable by the association of the variables, the content of the area M1 also becomes a value indicating activation by the above operation. As a result, the control-HMI processing unit 41 monitoring the contents of the area M1 activates the ladder monitor.
【0071】また別の関連付けの例として、上記変数の
関連付けによって、当該領域M1がマクロに関連付けら
れていた場合、HMI処理部25は、マクロの演算結果
がONを示す値になると、上記領域M1の値をONに設
定する。この場合、当該ラダーモニタ変数の内容を監視
するコントロール−HMI処理部41は、ラダーモニタ
画面表示のトリガが発生したと判断し、上述したよう
に、ラダーモニタ画面を表示させる。As another example of the association, when the area M1 is associated with the macro by the association of the variables, the HMI processing section 25 causes the area M1 to become ON when the operation result of the macro becomes a value indicating ON. Set the value of to ON. In this case, the control-HMI processing unit 41 that monitors the contents of the ladder monitor variable determines that the ladder monitor screen display trigger has occurred, and displays the ladder monitor screen as described above.
【0072】ここで、上記ラダーモニタ変数の関連付け
は、画面表示や操作あるいは制御に関連する変数の場合
と同様に、上記作画エディタや制御プログラムエディタ
などによって変更できる。したがって、ラダーモニタ画
面の起動のトリガが固定の場合と異なり、ラダーモニタ
画面を自動起動する際のトリガを、制御システム1のユ
ーザが必要に応じて変更できるので、ラダーモニタ画面
を起動する際の柔軟性を高めることができる。Here, the association of the ladder monitor variables can be changed by the drawing editor, the control program editor or the like as in the case of the variables related to the screen display, operation or control. Therefore, unlike the case where the trigger for starting the ladder monitor screen is fixed, the trigger for automatically starting the ladder monitor screen can be changed by the user of the control system 1 as necessary. Flexibility can be increased.
【0073】また、本実施形態では、ラダーモニタ画面
の起動だけではなく、例えば、終了やスクロールなど、
ラダーモニタ画面に対する操作もラダーモニタ変数に関
連付けられており、コントロール−HMI処理部41
は、これらの変数の内容に応じて、ラダーモニタ画面の
表示を制御する。ここで、これらの変数も、デバイス2
aやプログラマブル表示器12の記憶領域あるいはマク
ロなどに関連付けできる。したがって、ラダーモニタ画
面への操作を自動実行する際のトリガも、ユーザが必要
に応じて設定できる。この結果、例えば、デバイス2a
の状態が特定の状態になった場合に、ラダーモニタ画面
に、そのデバイス2aに対応するラダー記号を含む箇所
を表示するなど、ラダーモニタ画面への自動的な操作を
設定する際の柔軟性を向上できる。In addition, in the present embodiment, not only is the ladder monitor screen activated, but, for example, termination, scrolling, etc.
The operation on the ladder monitor screen is also associated with the ladder monitor variable, and the control-HMI processing unit 41
Controls the display of the ladder monitor screen according to the contents of these variables. Here, these variables are also in the device 2
a, a storage area of the programmable display 12, a macro, or the like. Therefore, the user can also set a trigger for automatically executing an operation on the ladder monitor screen. As a result, for example, the device 2a
When the status of is changed to a specific status, the flexibility of setting the automatic operation on the ladder monitor screen, such as displaying the part including the ladder symbol corresponding to the device 2a on the ladder monitor screen, is provided. Can be improved.
【0074】なお、上記では、プログラマブル表示器1
2のラダーモニタ画面の起動や画面への操作を、デバイ
ス2aやプログラマブル表示器12の記憶領域あるいは
マクロの演算結果などに対応付け可能な変数で制御する
場合を例にして説明したが、例えば、制御用ホストコン
ピュータ14にて、ラダーモニタ画面を表示/操作する
場合にする場合であっても、略同様の効果が得られる。In the above, the programmable display 1
The case where the activation of the ladder monitor screen of No. 2 and the operation to the screen are controlled by the variable that can be associated with the storage area of the device 2a or the programmable display 12 or the calculation result of the macro has been described as an example. Even in the case of displaying / operating the ladder monitor screen on the control host computer 14, substantially the same effect can be obtained.
【0075】ただし、本実施形態のように、ターゲット
システム2の近傍(現場)にて、オペレータに操作され
るプログラマブル表示器12へ、ラダーモニタ画面やデ
バイスモニタ画面を表示できると、異常が発生した場合
に、現場に新たな機器を持ち込むことなく、これらの画
面を参照して、異常の原因を追求できる。However, when the ladder monitor screen or the device monitor screen can be displayed on the programmable display 12 operated by the operator near the target system 2 (on site) as in the present embodiment, an abnormality occurs. In this case, the cause of the abnormality can be pursued by referring to these screens without bringing new equipment to the site.
【0076】また、プログラマブル表示器12は、現場
に設置されるため、設置場所が限られていることが多
く、十分な解像度や画面の広さを確保できないことが多
い。ところが、上記構成では、全てを縮小表示する場合
と比較して、ラダーモニタの視認性を低下させることな
く、デバイス2aの相互関係と、個々のデバイス2aの
状態とを的確に把握できるので、特に効果が大きい。Since the programmable display device 12 is installed in the field, the installation place is often limited, and it is often impossible to secure sufficient resolution and screen size. However, in the above-described configuration, the mutual relationship between the devices 2a and the state of each device 2a can be accurately grasped without lowering the visibility of the ladder monitor, as compared with the case where all are displayed in a reduced size. Great effect.
【0077】なお、上記各部材21〜42は、CPUな
どの演算手段が、ROMやRAMなどの記憶手段に格納
されたプログラムを実行し、タッチパネルや液晶表示装
置などの入出力手段、あるいは、インターフェース回路
などの通信回路を制御することによって実現される機能
ブロックである。したがって、これらの手段を有するコ
ンピュータが、上記プログラムを記録した記録媒体(例
えば、CD−ROMなど)を読み取り、当該プログラム
を実行するだけで、本実施形態に係るプログラマブル表
示器12を実現できる。なお、例えば、シリアルケーブ
ルやLAN13あるいは、他の通信路を介してプログラ
ムをダウンロードするためのプログラムが、上記コンピ
ュータに予めインストールされていれば、当該通信路を
介して、上記コンピュータへ上記プログラムを配付する
こともできる。In each of the members 21 to 42, an arithmetic means such as a CPU executes a program stored in a storage means such as a ROM or a RAM, an input / output means such as a touch panel or a liquid crystal display device, or an interface. It is a functional block realized by controlling a communication circuit such as a circuit. Therefore, the computer having these means can read the recording medium (for example, a CD-ROM or the like) recording the program and execute the program to implement the programmable display 12 according to the present embodiment. Note that, for example, if a program for downloading the program through the serial cable, the LAN 13, or another communication path is installed in the computer in advance, the program is distributed to the computer through the communication path. You can also do it.
【0078】[0078]
【発明の効果】請求項1の発明に係るラダーモニタ装置
は、以上のように、ラダー記号と共に、当該ラダー記号
に関連する詳細情報を併記する詳細画面と、当該詳細情
報の一部または全部を省略して、詳細画面で表示される
ラダー記号よりも多くのラダー記号を概略表示する概略
画面とを、ラダーモニタを表示するラダーモニタ手段に
切り換え表示させる表示制御手段を備えている構成であ
る。また、請求項4の発明に係るプログラムおよび請求
項5の発明に係る記録媒体に記録されたプログラムは、
請求項1記載の各手段としてコンピュータを動作させる
プログラムであり、当該プログラムを実行するコンピュ
ータは、請求項1記載のラダーモニタ装置として動作す
る。As described above, the ladder monitor device according to the first aspect of the present invention displays, together with the ladder symbol, a detailed screen on which detailed information related to the ladder symbol is written, and part or all of the detailed information. By omitting it, the display control means is provided for switching and displaying the rough screen for roughly displaying more ladder symbols than the ladder symbols displayed on the detailed screen for the ladder monitor means for displaying the ladder monitor. Further, the program according to the invention of claim 4 and the program recorded on the recording medium according to the invention of claim 5 are:
A program that causes a computer to operate as each unit according to claim 1, and the computer that executes the program operates as the ladder monitor device according to claim 1.
【0079】これらの構成では、デバイスの相互関係を
把握しやすい概略画面と、個々のデバイスの状態を詳細
画面とを切り換えできるので、ラダーモニタの視認性を
低下させることなく、デバイスの相互関係と、個々のデ
バイスの状態とを的確に把握できるという効果を奏す
る。In these configurations, since it is possible to switch the outline screen in which it is easy to grasp the mutual relationship of the devices and the detailed screen of the state of each device, it is possible to realize the mutual relationship of the devices without lowering the visibility of the ladder monitor. The effect is that the state of each device can be accurately grasped.
【0080】請求項2の発明に係るラダーモニタ装置
は、以上のように、請求項1記載の発明の構成におい
て、上記表示制御手段は、概略画面で表示されるラダー
記号が選択された場合、当該ラダー記号を含む詳細画面
を表示する構成である。As described above, in the ladder monitor device according to the invention of claim 2, in the configuration of the invention of claim 1, when the ladder symbol displayed on the outline screen is selected, It is a configuration for displaying a detailed screen including the ladder symbol.
【0081】上記構成によれば、概略画面上で選択され
たラダー記号を含む詳細画面が表示されるので、全詳細
情報と共に表示すべきラダー記号を容易に選択できると
いう効果を奏する。According to the above configuration, since the detailed screen including the ladder symbol selected on the schematic screen is displayed, it is possible to easily select the ladder symbol to be displayed together with all the detailed information.
【0082】請求項3の発明に係るラダーモニタ装置
は、以上のように、請求項1または2記載の発明の構成
において、上記制御プログラムに応じて、デバイスを制
御する制御手段と、各デバイスの状態に応じた表示方法
の図形で、各デバイスの状態を表示すると共に、当該図
形に対する操作を受け付けると、操作に応じたデバイス
の制御を上記制御手段に指示する操作手段とを備えてい
る構成である。As described above, the ladder monitor apparatus according to the third aspect of the present invention is, in the configuration of the first or second aspect of the invention, a control means for controlling the device in accordance with the control program, and a device for controlling each device. In addition to displaying the state of each device with a graphic of a display method according to the state, when an operation for the graphic is accepted, an operation means for instructing the control means to control the device according to the operation is provided. is there.
【0083】上記構成によれば、制御システムにおい
て、必須の手段、すなわち、制御装置としての制御手
段、および、HMIとしての操作手段を備えた装置が、
ラダーモニタ装置としても動作する。したがって、異常
が発生した場合、現場に新たな機器を持ち込むことな
く、ラダーモニタによって異常なデバイスを特定でき
る。この結果、正常動作に復帰するまでの時間を短縮で
きるという効果を奏する。According to the above configuration, in the control system, the device provided with the essential means, that is, the control means as the control device and the operation means as the HMI,
It also works as a ladder monitor. Therefore, when an abnormality occurs, the abnormal device can be identified by the ladder monitor without bringing new equipment to the site. As a result, there is an effect that the time required to return to normal operation can be shortened.
【図1】本発明の実施形態を示すものであり、制御シス
テムの要部構成を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention and showing a main configuration of a control system.
【図2】上記制御システムのプログラマブル表示器の変
数メモリに格納される変数のデータ構造を示す説明図で
ある。FIG. 2 is an explanatory diagram showing a data structure of variables stored in a variable memory of the programmable display of the control system.
【図3】上記プログラマブル表示器のプログラマブル・
ロジック・コントローラ機能で実行される制御プログラ
ムを示す説明図である。FIG. 3 shows a programmable display of the programmable display.
It is an explanatory view showing a control program executed by a logic controller function.
【図4】上記プログラマブル表示器で表示されるラダー
モニタの画面例を示す説明図である。FIG. 4 is an explanatory diagram showing a screen example of a ladder monitor displayed on the programmable display.
【図5】上記ラダーモニタの画面例を示すものであり、
図4とはデバイスの状態が異なる場合を示す説明図であ
る。FIG. 5 shows an example of a screen of the ladder monitor,
It is explanatory drawing which shows the case where the state of a device differs from FIG.
【図6】上記変数メモリに格納されるラダーモニタ変数
のデータ構造を示す説明図である。FIG. 6 is an explanatory diagram showing a data structure of a ladder monitor variable stored in the variable memory.
【図7】上記制御システムの動作を示すフローチャート
である。FIG. 7 is a flowchart showing the operation of the control system.
【図8】上記プログラマブル表示器の画面例であり、詳
細画面を示す説明図である。FIG. 8 is an explanatory diagram showing a detailed screen, which is an example of a screen of the programmable display.
【図9】上記プログラマブル表示器の画面例であり、操
作画面を示す説明図である。FIG. 9 is an explanatory diagram showing an operation screen, which is an example of a screen of the programmable display device.
【図10】上記プログラマブル表示器の画面例であり、
メニューを示す説明図である。FIG. 10 is a screen example of the programmable display,
It is explanatory drawing which shows a menu.
2a デバイス
12 プログラマブル表示器(ラダーモニタ装置)
25 HMI処理部(操作手段)
33 デバイス制御部(制御手段)
41 コントロール−HMI処理部(ラダーモニタ手
段;表示制御手段)2a device 12 programmable display (ladder monitor device) 25 HMI processing unit (operating means) 33 device control unit (control means) 41 control-HMI processing unit (ladder monitor means; display control means)
フロントページの続き Fターム(参考) 5H220 BB10 CC03 CX06 CX08 DD04 HH01 JJ12 JJ15 JJ19 JJ27 JJ42 JJ53 KK08 Continued front page F-term (reference) 5H220 BB10 CC03 CX06 CX08 DD04 HH01 JJ12 JJ15 JJ19 JJ27 JJ42 JJ53 KK08
Claims (5)
ラダー図として表示すると共に、ラダー記号に対応する
デバイスの状態に応じてラダー記号の表示方法を変更す
るラダーモニタ手段を有するラダーモニタ装置におい
て、 ラダー記号と共に、当該ラダー記号に関連する詳細情報
を併記する詳細画面と、当該詳細情報の一部または全部
を省略して、詳細画面で表示されるラダー記号よりも多
くのラダー記号を概略表示する概略画面とを、上記ラダ
ーモニタ手段に切り換え表示させる表示制御手段を備え
ていることを特徴とするラダーモニタ装置。1. A ladder monitor apparatus having a ladder monitor means for displaying a control program for controlling a device as a ladder diagram and changing the display method of the ladder symbol according to the state of the device corresponding to the ladder symbol, A detailed screen in which detailed information related to the ladder symbol is written together with the ladder symbol, and a part or all of the detailed information is omitted, and more ladder symbols than the ladder symbols displayed on the detailed screen are roughly displayed. A ladder monitor device comprising display control means for switching and displaying a schematic screen on the ladder monitor means.
るラダー記号が選択された場合、当該ラダー記号を含む
詳細画面を表示することを特徴とする請求項1記載のラ
ダーモニタ装置。2. The ladder monitor device according to claim 1, wherein the display control means displays a detailed screen including the ladder symbol when the ladder symbol displayed on the schematic screen is selected.
制御する制御手段と、 各デバイスの状態に応じた表示方法の図形で、各デバイ
スの状態を表示すると共に、当該図形に対する操作を受
け付けると、操作に応じたデバイスの制御を上記制御手
段に指示する操作手段とを備えていることを特徴とする
請求項1または2記載のラダーモニタ装置。3. A control means for controlling a device in accordance with the control program, and a graphic of a display method corresponding to the status of each device to display the status of each device and to accept an operation on the graphic. 3. The ladder monitor device according to claim 1, further comprising operation means for instructing the control means to control a device according to an operation.
ラダー図として表示すると共に、ラダー記号に対応する
デバイスの状態に応じてラダー記号の表示方法を変更す
るラダーモニタ手段、並びに、 ラダー記号と共に、当該ラダー記号に関連する詳細情報
を併記する詳細画面と、当該詳細情報の一部または全部
を省略して、詳細画面で表示されるラダー記号よりも多
くのラダー記号を概略表示する概略画面とを、上記ラダ
ーモニタ手段に切り換え表示させる表示制御手段とし
て、コンピュータを動作させるプログラム。4. A ladder monitor means for displaying a control program for controlling a device as a ladder diagram and changing the display method of the ladder symbol according to the state of the device corresponding to the ladder symbol, and with the ladder symbol, A detailed screen in which detailed information related to the ladder symbol is written together, and a schematic screen in which a part or all of the detailed information is omitted and more ladder symbols than the ladder symbols displayed in the detailed screen are schematically displayed. A program for operating a computer as display control means for switching and displaying on the ladder monitor means.
録媒体。5. A recording medium on which the program according to claim 4 is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001274327A JP4043742B2 (en) | 2001-09-10 | 2001-09-10 | Ladder monitor device, program thereof, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001274327A JP4043742B2 (en) | 2001-09-10 | 2001-09-10 | Ladder monitor device, program thereof, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003084811A true JP2003084811A (en) | 2003-03-19 |
JP4043742B2 JP4043742B2 (en) | 2008-02-06 |
Family
ID=19099387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001274327A Expired - Lifetime JP4043742B2 (en) | 2001-09-10 | 2001-09-10 | Ladder monitor device, program thereof, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4043742B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005092806A (en) * | 2003-09-19 | 2005-04-07 | Keyence Corp | Ladder diagram editing device, ladder diagram editing method, ladder diagram editing program and computer readable recording medium |
GB2418613A (en) * | 2004-09-24 | 2006-04-05 | Primrose Hill Ltd | Skin exfoliating and softening composition |
WO2012105026A1 (en) * | 2011-02-03 | 2012-08-09 | 三菱電機株式会社 | Display device, and method for verifying operation of display device |
JP2012256178A (en) * | 2011-06-08 | 2012-12-27 | Mitsubishi Electric Corp | Information processor, information processing method and program |
TWI381112B (en) * | 2008-05-19 | 2013-01-01 | Mitsubishi Electric Corp | Power amplifier device for clutchbrake and control system therefor |
US11467990B2 (en) | 2018-10-15 | 2022-10-11 | Mitsubishi Electric Corporation | Programmable logic controller, external apparatus, method, and recording medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59174912A (en) * | 1983-03-25 | 1984-10-03 | Toshiba Corp | Programming device |
JPH05313708A (en) * | 1992-05-14 | 1993-11-26 | Fanuc Ltd | Sequence program editing system |
JPH10283020A (en) * | 1997-04-04 | 1998-10-23 | Digital Electron Corp | Programmable display device |
JP2000315105A (en) * | 1999-04-30 | 2000-11-14 | Star Micronics Co Ltd | Management system for nc machine tool and its management program |
JP2001075791A (en) * | 1999-09-02 | 2001-03-23 | Digital Electronics Corp | Editor device and recording medium recording editor program |
-
2001
- 2001-09-10 JP JP2001274327A patent/JP4043742B2/en not_active Expired - Lifetime
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59174912A (en) * | 1983-03-25 | 1984-10-03 | Toshiba Corp | Programming device |
JPH05313708A (en) * | 1992-05-14 | 1993-11-26 | Fanuc Ltd | Sequence program editing system |
JPH10283020A (en) * | 1997-04-04 | 1998-10-23 | Digital Electron Corp | Programmable display device |
JP2000315105A (en) * | 1999-04-30 | 2000-11-14 | Star Micronics Co Ltd | Management system for nc machine tool and its management program |
JP2001075791A (en) * | 1999-09-02 | 2001-03-23 | Digital Electronics Corp | Editor device and recording medium recording editor program |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005092806A (en) * | 2003-09-19 | 2005-04-07 | Keyence Corp | Ladder diagram editing device, ladder diagram editing method, ladder diagram editing program and computer readable recording medium |
GB2418613A (en) * | 2004-09-24 | 2006-04-05 | Primrose Hill Ltd | Skin exfoliating and softening composition |
TWI381112B (en) * | 2008-05-19 | 2013-01-01 | Mitsubishi Electric Corp | Power amplifier device for clutchbrake and control system therefor |
WO2012105026A1 (en) * | 2011-02-03 | 2012-08-09 | 三菱電機株式会社 | Display device, and method for verifying operation of display device |
JP5241969B2 (en) * | 2011-02-03 | 2013-07-17 | 三菱電機株式会社 | Display device and method for confirming operation of display device |
JP2012256178A (en) * | 2011-06-08 | 2012-12-27 | Mitsubishi Electric Corp | Information processor, information processing method and program |
US11467990B2 (en) | 2018-10-15 | 2022-10-11 | Mitsubishi Electric Corporation | Programmable logic controller, external apparatus, method, and recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP4043742B2 (en) | 2008-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10139805B2 (en) | Ladder diagram monitoring device capable of additionally displaying operation situation of CNC in comment | |
JP3892405B2 (en) | Sequence circuit display method for injection molding machine | |
JP2003084811A (en) | Ladder monitor device, and its program and recording medium | |
JP2014206939A (en) | Controller, control device, device control system, computer program and computer readable information storage medium | |
JP3847665B2 (en) | Control program search device and program thereof | |
JP2003157105A (en) | Control system, and its program and recording medium | |
JP2002244798A (en) | Programmable display | |
JPH06333185A (en) | Display device for local control panel | |
JP2006209381A (en) | Control display device, its program, and recording medium | |
JPH08314620A (en) | Display device | |
CN115803785B (en) | Display device, control system and drawing method | |
JP2782864B2 (en) | Terminal device | |
CN119987241A (en) | Nuclear power sequence control method, electronic equipment, and storage medium | |
JP2533373B2 (en) | Control program creation method | |
JP2018176340A (en) | Control system of industrial robot | |
JP2008059488A (en) | Sequence processing monitoring device | |
JP2663959B2 (en) | Programmable terminal | |
JPH11327610A (en) | Monitoring method and device for programmable controller system | |
JP2003186506A (en) | Monitoring apparatus for sequence controller | |
JP2705260B2 (en) | Terminal device | |
JP2714458B2 (en) | XY plotter | |
JP3470940B2 (en) | How to display the data processing screen | |
JP2895172B2 (en) | Process monitoring device | |
JPH06266419A (en) | Display method for operation indicator of programmable controller | |
JP2003122408A (en) | Data creation method for control system. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051122 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060120 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061205 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070205 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070821 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070913 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20071019 |
|
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: 20071113 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071114 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4043742 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101122 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111122 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: 20121122 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: 20121122 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131122 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |