JP2009104434A - Method for displaying ladder diagram on monitor screen - Google Patents
Method for displaying ladder diagram on monitor screen Download PDFInfo
- Publication number
- JP2009104434A JP2009104434A JP2007276042A JP2007276042A JP2009104434A JP 2009104434 A JP2009104434 A JP 2009104434A JP 2007276042 A JP2007276042 A JP 2007276042A JP 2007276042 A JP2007276042 A JP 2007276042A JP 2009104434 A JP2009104434 A JP 2009104434A
- Authority
- JP
- Japan
- Prior art keywords
- ladder
- data
- display area
- displayed
- ladder diagram
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、ラダー図をモニタ画面に表示する方式に関する。 The present invention relates to a method for displaying a ladder diagram on a monitor screen.
ラダープログラムは、プログラマブルコントローラによる制御シーケンスを定めるプログラムであり、ラダー図で記述される。ラダー図は、左右両端の垂直な二つの母線間を横方向水平に結ぶ平行な接続線上に、デバイス番号と共に押しボタンやスイッチやセンサ等の各種デバイスの状態に対応した命令が接点形状で表示され、また、リレーコイル、タイマ、シフトレジスタ等の各種デバイスへの命令が各種形状で表示される。 The ladder program is a program that defines a control sequence by the programmable controller, and is described in a ladder diagram. In the ladder diagram, commands corresponding to the state of various devices such as push buttons, switches, sensors, etc. are displayed in contact shape on the parallel connection lines that connect the two vertical buses on the left and right ends in the horizontal direction. In addition, commands to various devices such as a relay coil, a timer, and a shift register are displayed in various shapes.
そして、プログラマブルコントローラと負荷とで制御系を構築した場合、プログラマブルコントローラは、CPUと、システム制御プログラム(ファームウエア)や、ラダープログラム等のプログラムメモリや、入出力メモリ、内部リレーメモリ、データメモリ、等の内部メモリが、内部バスで相互接続され、CPUは、ラダープログラムをシステム制御プログラムに従い実行することで、入出力デバイスを介して、被制御機器を制御する。この制御に際して、CPUは、内部メモリに格納されている各種データを参照しながらラダープログラムを実行する。 And when a control system is constructed with a programmable controller and a load, the programmable controller has a CPU, a system control program (firmware), a program memory such as a ladder program, an input / output memory, an internal relay memory, a data memory, And the like are interconnected via an internal bus, and the CPU executes a ladder program in accordance with the system control program, thereby controlling the controlled device via the input / output device. In this control, the CPU executes the ladder program while referring to various data stored in the internal memory.
このようなラダープログラムの修正や実行に際しては、その状態をモニタするパーソナルコンピュータからなるラダー図モニタ装置が提案されている。ラダー図モニタ装置は、モニタ画面にラダー図表示領域を有する。このラダー図表示領域は、さらに、入力条件を記述する入力条件記述表示領域と、この入力条件による操作出力を記述する操作出力記述表示領域とがある。入力条件記述表示領域には、デバイス番号と共に押しボタンやスイッチやセンサ等の各種デバイスが接点形状のラダー部品で表示され、操作出力記述表示領域には、リレーコイル、タイマ、シフトレジスタ等の各種デバイスへの命令がそれぞれに対応した形状のラダー部品で表示される。 When such a ladder program is corrected or executed, a ladder diagram monitor device composed of a personal computer that monitors the state of the ladder program has been proposed. The ladder diagram monitor device has a ladder diagram display area on a monitor screen. The ladder diagram display area further includes an input condition description display area for describing an input condition and an operation output description display area for describing an operation output according to the input condition. In the input condition description display area, various devices such as push buttons, switches, and sensors are displayed with contact-shaped ladder parts along with the device number, and in the operation output description display area, various devices such as relay coils, timers, and shift registers are displayed. Are displayed on the ladder parts with the corresponding shapes.
ところで、ラダー図内に内部に複数のアドレスを持つラダー部品、例えばシフトレジスタが配置されている場合に、表示画面上でシフトレジスタ内部の状態データをユーザが確認する場合、従来のモニタ画面上では、シフトレジスタ内の開始アドレスと終了アドレスでのデータ格納エリア内のデータが簡略にモニタ表示されていた。そのため、開始アドレス先の状態データがOFF、終了アドレス先の状態データがOFFであると表示されても、その途中のアドレス先の状態データは不明であった。なお、このモニタ画面上でのシフトレジスタからなるラダー部品は、内部にアドレスが割り付けられてプログラム実行上での内部状態を示すデータを格納できる複数のデータ格納エリア(シフト桁)を持つラダー部品であり、その各桁のデータ格納エリアには内部メモリに格納されているデータが格納されてユーザがモニタ画面上で認識できるようにしたものである。 By the way, when a ladder part having a plurality of addresses inside the ladder diagram, for example, a shift register is arranged, when the user checks the status data inside the shift register on the display screen, on the conventional monitor screen, The data in the data storage area at the start address and end address in the shift register is simply displayed on the monitor. Therefore, even if it is displayed that the status data of the start address destination is OFF and the status data of the end address destination is OFF, the status data of the address destination in the middle is unknown. Note that the ladder component consisting of the shift register on the monitor screen is a ladder component having a plurality of data storage areas (shift digits) that can store data indicating the internal state during program execution by assigning addresses internally. The data storage area for each digit stores data stored in the internal memory so that the user can recognize it on the monitor screen.
そのため、従来のモニタ画面の表示方式では、シフトレジスタ内の全シフト桁のデータ格納エリアに格納しているデータを確認できないので、ラダープログラムの修正、実行等が行いにくい。 For this reason, in the conventional display method of the monitor screen, the data stored in the data storage area of all the shift digits in the shift register cannot be confirmed, so that it is difficult to correct or execute the ladder program.
一方、このようなラダー図上に表示されるラダー部品に関しては、それぞれを特定するうえで、その種類、デバイス番号、属性、等のデータを登録する必要がある。そこで、プログラマブルコントローラにパーソナルコンピュータを接続し、このパーソナルコンピュータのウインドウ画面上にモニタ対象の各種デバイスを登録するデータビューダイアログを表示し、このデータビューダイアログにデータを登録する技術が提供されている(特許文献1参照)。この特許文献1には、データビューダイアログにデバイスの種類、現在値、設定値、接点ON/OFF情報、コイルON/OFF情報、コメント等が登録される。この登録では、ラダー図に表示されているデバイスをマウスクリックし、そのままの状態でドラッグしてデータビューダイアログに登録する方法と、表示画面内に、デバイスの種類、デバイス番号等をキーボード操作で文字入力して、データビューダイアログに一括登録する方法である。 On the other hand, regarding the ladder parts displayed on such a ladder diagram, it is necessary to register data such as the type, device number, attribute, etc. in order to specify each of the ladder parts. Therefore, a technique is provided in which a personal computer is connected to the programmable controller, a data view dialog for registering various devices to be monitored is displayed on the window screen of the personal computer, and data is registered in the data view dialog ( Patent Document 1). In this Patent Document 1, a device type, a current value, a set value, contact ON / OFF information, coil ON / OFF information, a comment, and the like are registered in a data view dialog. In this registration, click the device displayed in the ladder diagram with the mouse and drag it as is to register it in the data view dialog. On the display screen, enter the device type, device number, etc. using the keyboard. It is a method of inputting and registering in a batch in the data view dialog.
しかしながら、この従来の登録方法では、前者ではラダー図行全体ではなく、デバイス1つずつに対してドラッグアンドドロップで登録するものであり、また、後者ではラダー部品1つずつに対して必要なデータを入力操作して登録するものであり、登録操作が極めて煩雑で時間がかかるものとなっている。
したがって、本発明により解決すべき課題は、シフトレジスタ等のラダー部品に格納するデータを詳細に表示可能とすることである。 Therefore, a problem to be solved by the present invention is to make it possible to display in detail the data stored in a ladder part such as a shift register.
本発明により解決すべき他の課題は、ラダー図行内のラダー部品のデータを自動登録可能とすることである。 Another problem to be solved by the present invention is to enable automatic registration of ladder part data in a ladder diagram row.
本発明によるモニタ画面上へのラダー図表示方式は、表示画面上のラダー図表示領域内に、内部にアドレスが割り付けられてプログラム実行上での内部状態を示すデータを格納できる複数のデータ格納エリアを持つラダー部品が配置されている場合において、上記ラダー部品内のデータ格納エリアのモニタ範囲を指定しない場合は、そのラダー部品の開始と終了アドレスに対応するデータ格納エリアに格納するデータをラダー図上に表示する第1ステップと、上記ラダー部品内のデータ格納エリアのモニタ範囲を指定した場合は、その指定に係る範囲内のデータ格納エリアに格納するデータの表示に切り換える第2ステップと、を有することを特徴とするものである。 The ladder diagram display method on the monitor screen according to the present invention has a plurality of data storage areas in which data indicating an internal state in program execution can be stored in the ladder diagram display area on the display screen. If a monitor part of the data storage area in the ladder part is not specified when the ladder part having the above is arranged, the data stored in the data storage area corresponding to the start and end addresses of the ladder part is displayed in the ladder diagram. A first step of displaying above, and a second step of switching to display of data stored in the data storage area within the range related to the designation when the monitor range of the data storage area in the ladder component is designated. It is characterized by having.
本発明によれば、ラダー図内に、内部に複数のデータ格納エリアを持つラダー部品、例えばシフトレジスタが配置されている場合に、シフトレジスタ内の各データ格納エリアの状態をユーザが確認したい場合、ラダー図のモニタ画面を第1ステップから第2ステップに切り換えることで、シフトレジスタ内のデータ格納エリアに格納する状態データを表示させることができるようになる。そのため、ユーザは、シフトレジスタ内部の各データ格納エリアそれぞれの状態データを確認して、ラダープログラムの修正、あるいは、ラダープログラムの実行状況の確認を行うことができ、プログラマブルコントローラを用いた制御系で必要な制御をより容易に講じることができるようになる。 According to the present invention, when a ladder part having a plurality of data storage areas, for example, a shift register is arranged in the ladder diagram, the user wants to check the state of each data storage area in the shift register. By switching the monitor screen of the ladder diagram from the first step to the second step, the status data stored in the data storage area in the shift register can be displayed. Therefore, the user can check the status data of each data storage area inside the shift register, modify the ladder program, or check the execution status of the ladder program, using a control system using a programmable controller. Necessary control can be taken more easily.
本発明において、好ましい態様は、上記第2ステップでは、データビューダイアログを呼び出し、このデータビューダイアログ上に上記指定に係る範囲内のデータ格納エリアに格納するデータを表示することである。 In the present invention, a preferred aspect is that, in the second step, the data view dialog is called and data stored in the data storage area within the range according to the designation is displayed on the data view dialog.
この態様では、ユーザはデータビューダイアログを呼び出し操作するだけで、そのデータビューダイアログ上で簡単にラダー部品内の各データ格納エリアに格納しているデータを一覧することができるようになる。 In this aspect, the user can simply list the data stored in each data storage area in the ladder component on the data view dialog simply by calling the data view dialog.
本発明において、より好ましい態様は、上記ラダー図表示領域は、入力条件記述表示領域と操作出力記述表示領域とに領域分けされていると共に、操作出力記述表示領域は固定表示可能である一方、入力条件記述表示領域内に表示するラダー図各行が当該領域内で横スクロール可能となっていることである。 In the present invention, a more preferable aspect is that the ladder diagram display area is divided into an input condition description display area and an operation output description display area, and the operation output description display area can be fixedly displayed. Each line of the ladder diagram displayed in the condition description display area can be horizontally scrolled in the area.
上記態様では、ラダー図行が長くてラダー図行全体をラダー図表示領域に表示できなくても、シフトレジスタ等のラダー部品は操作出力記述表示領域に固定表示することができると共に、入力条件記述表示領域内のラダー部品はラダー図行を横スクロールすることにより、当該ラダー図表示領域内に表示することができるようになる。 In the above aspect, even if the ladder diagram line is long and the entire ladder diagram line cannot be displayed in the ladder diagram display area, ladder parts such as a shift register can be fixedly displayed in the operation output description display area and the input condition description Ladder parts in the display area can be displayed in the ladder diagram display area by horizontally scrolling the ladder diagram row.
本発明において、より好ましい態様は、上記データビューダイアログに登録するラダー図行を1行または複数行選択操作する第1ステップと、上記選択されたラダー図行において、操作出力記述表示領域に表示されている行部分と、上記横スクロールで入力条件記述表示領域に表示されてユーザが認識できる行部分と、上記入力条件記述表示領域に表示されていなくてユーザが認識できない行部分と、を自動認識する第2ステップと、上記自動認識したラダー図行上のラダー部品の内部状態を示すデータを上記データビューダイアログに登録する第3ステップと、を実行することが可能となっていることである。 In the present invention, a more preferable aspect is the first step of selecting one or more ladder diagram lines to be registered in the data view dialog, and the selected ladder diagram row is displayed in the operation output description display area. The line part that is displayed in the input condition description display area by horizontal scrolling and can be recognized by the user, and the line part that is not displayed in the input condition description display area and cannot be recognized by the user is automatically recognized. And a third step of registering data indicating the internal state of the ladder part on the ladder diagram row automatically recognized in the data view dialog.
上記態様では、横スクロールの位置によって入力条件記述表示領域に表示されていなくてユーザが認識できない行部分があっても、その行部分を自動認識して、モニタ画面上に登録することができる。 In the above aspect, even if there is a line portion that is not displayed in the input condition description display area depending on the horizontal scroll position and cannot be recognized by the user, the line portion can be automatically recognized and registered on the monitor screen.
本発明によれば、シフトレジスタ等のラダー部品のように内部にアドレスを割り付けられた複数のデータ格納エリアを持つラダー部品に対して、モニタ画面上でそれらデータ格納エリアに格納するデータをモニタすることができる。 According to the present invention, for a ladder part having a plurality of data storage areas to which addresses are assigned, such as a ladder part such as a shift register, the data stored in these data storage areas is monitored on the monitor screen. be able to.
以下、本発明の実施の形態に係るラダー図モニタ方式を、それを実施するラダー図モニタ装置に基づいて、詳細に説明する。 Hereinafter, a ladder diagram monitoring system according to an embodiment of the present invention will be described in detail based on a ladder diagram monitoring device that implements the method.
本発明のラダー図モニタ方式は、ラダー図形式のプログラム(ラダープログラム)の作成、編集等を行うシステム、ラダープログラムの編集等に関連する入出力、表示、演算、通信その他の処理をハードウェア的に限定するものではない。ソフトウェア的にラダー図モニタ装置の処理を実現する装置等も本発明の範囲内に含む。例えば汎用の回路やコンピュータにソフトウェアやプログラム、プラグイン、オブジェクト、ライブラリ、アプレット、コンパイラ、モジュール、特定のプログラム上で動作するマクロ等を組み込んでラダープログラムの編集等あるいはこれに関連する処理を可能とした汎用あるいは専用のコンピュータ、ワークステーション、端末、携帯型電子機器、その他の電子デバイスも、本発明のラダー図モニタ方式を適用する装置に含まれる。また本実施の形態においては、単体としてのラダー図モニタ装置に限定されず、コンピュータプログラムやソフトウェア、サービス等の一部として機能する態様や、必要時に呼び出されて機能する態様、OS等の環境においてサービスとして提供される態様等にも適用することができる。 The ladder diagram monitoring method of the present invention is a system that creates and edits a ladder diagram format program (ladder program), input / output, display, calculation, communication and other processes related to ladder program editing etc. It is not limited to. An apparatus for realizing the processing of the ladder diagram monitoring apparatus by software is also included in the scope of the present invention. For example, software, programs, plug-ins, objects, libraries, applets, compilers, modules, macros that run on specific programs, etc. can be incorporated into general-purpose circuits or computers, and ladder programs can be edited or related processes. Such general-purpose or dedicated computers, workstations, terminals, portable electronic devices, and other electronic devices are also included in the apparatus to which the ladder diagram monitoring system of the present invention is applied. Further, the present embodiment is not limited to a ladder diagram monitor device as a single unit, but in an aspect that functions as a part of a computer program, software, service, etc., an aspect that is called and functions when necessary, and an environment such as an OS. The present invention can also be applied to an aspect provided as a service.
以下、添付した図面を参照して、本発明の実施の形態に係るラダー図モニタ方式を説明すると、図1は、ラダー図モニタ装置1と、プログラマブルコントローラ2と、を備える。プログラマブルコントローラ2は、制御対象機器である入出力機器3(3a〜3d)を接続し、これらを制御する装置である。プログラマブルコントローラ2は、内蔵するCPUによって制御プログラムに従い、ラダープログラム編集プログラムで作成されたラダープログラムで定められた手順で、入出力機器3の動作を制御する。ラダー図モニタ装置1は、プログラマブルコントローラ2に接続され、プログラマブルコントローラ2やプログラマブルコントローラ2で制御される入出力機器3の動作状態を設定し表示することができる。 Hereinafter, a ladder diagram monitoring system according to an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 includes a ladder diagram monitor device 1 and a programmable controller 2. The programmable controller 2 is an apparatus that connects and controls the input / output devices 3 (3a to 3d) that are devices to be controlled. The programmable controller 2 controls the operation of the input / output device 3 in accordance with a procedure defined by a ladder program created by a ladder program editing program according to a control program by a built-in CPU. The ladder diagram monitor device 1 is connected to the programmable controller 2 and can set and display the operation state of the programmable controller 2 and the input / output device 3 controlled by the programmable controller 2.
ラダー図モニタ装置1は、汎用的なコンピュータで構成されており、CPU1a、メモリ1b、表示部1c、操作部1d、外部記憶装置1e、インターフェース1fを備えている。CPU1aは、ラダー図モニタ装置1にインストールされているOS(オペレーティングシステム)上でラダープログラム編集プログラムを含む各種のアプリケーションプログラムを動作させる際の各部の制御や演算処理を行う。メモリ1bは、RAM、ROMなどのメモリを備えており、データの格納、一時的なデータ記憶、CPU1aの演算処理時における作業エリアを提供することができるようになっている。
The ladder diagram monitor device 1 is configured by a general-purpose computer, and includes a
ラダー図モニタ装置1の表示部1cは、CRT、LCD、あるいは液晶パネルやELパネルのような平板型のモニタ画面を備える。操作部1dは、キーボード、マウスなどの入力操作を行うための装置であり、特に、GUI環境下で動作するラダープログラム編集プログラムでの入力作業にはマウスなどのポインティングデバイスが好適である。外部記憶装置1eは、ハードディスク装置などの磁気ディスクドライブ、CD−ROMドライブなどの光ディスクドライブといった装置であり、少なくとも、記録媒体に記録されたラダープログラム編集プログラムなどの情報を読み出すことができる装置を含んでいる。インターフェース1fは、プログラマブルコントローラ2との間でデータ通信を行う入出力部である。ラダープログラム編集プログラムで作成されたラダープログラムは、このインターフェース1fを介してプログラマブルコントローラ2に転送され、プログラマブルコントローラ2内のメモリにダウンロードされる。ラダー図モニタ装置1にインストールされて実行されるラダープログラム編集プログラムは、ラダー図モニタ装置1のCPU1aで実行される。
The display unit 1c of the ladder diagram monitor device 1 includes a CRT, LCD, or a flat monitor screen such as a liquid crystal panel or an EL panel. The
図2を参照して表示部1cのモニタ画面4は、ユーザインターフェース画面として、タイトルバー41、メニューバー42、ツールバー43を有すると共に、メニューバー42のファイル操作により、編集目的とするラダープログラムがラダー図形式でラダー図表示領域44上に表示される。そして、マウスやキーボード等の操作部1dでラダー図の修正等の作業が行われる。なお、操作部1dはラダー図モニタ装置1と有線もしくは無線で接続され、あるいはラダー図モニタ装置1に固定されている。一般的な操作部1dとしては、例えばマウスやキーボード、スライドパッド、トラックポイント、タブレット、ジョイスティック、コンソール、ジョグダイヤル、デジタイザ、ライトペン、テンキー、タッチパッド、等の各種ポインティングデバイスが挙げられる。また、インターフェース画面を表示する表示部1c自体にタッチスクリーンやタッチパネルを利用して、画面上をユーザが手で直接触れることにより入力や操作を可能としたり、または音声入力その他の既存の入力手段を利用、あるいはこれらを併用することもできる。
Referring to FIG. 2, the
なお、ラダープログラム編集プログラムがインストールされたラダー図モニタ装置1に接続された操作部1dから設定を行う態様の他、ラダープログラム編集プログラムやハードウェアをプログラマブルコントローラ2に組み込み、プログラマブルコントローラ2側で設定を行えるようにしても良い。
In addition to a mode in which settings are made from the
図2に示すモニタ画面4のラダー図表示領域44には、ラダー図が、入力条件を記述する部分を表示する入力条件記述表示領域44aと、操作出力を記述する部分を表示する操作出力記述表示領域44bとに画面構成されている。入力条件記述表示領域44aと操作出力記述表示領域44bとの間には縦方向に境界線45が着色表示されている。入力条件記述表示領域44aの下端には横スクロール操作部46が表示され、操作出力記述表示領域44bの右端には縦スクロール操作部47が表示されている。
In the ladder
入力条件記述表示領域44aには、左端側に縦方向に母線M1が表示され、この母線M1から横方向行線L11,L12,L13,L21,…が行方向平行等間隔で複数表示され、各横方向行線L11,L12,L13,L21,…上にデバイス番号C11,C12,…と共に押しボタンやスイッチやセンサ等の入力機器が入力接点形状でシンボル表示されている。これら横方向行線L11,L12,L13,L21,…はラダープログラムをモニタ画面4上でラダー図形式で表示した場合のラダー図各行n1,n2,…を構成する。これら各種入力接点とそれらの組み合わせによるAND、OR、NOT、等の各種回路による入力条件の構成は本実施の形態では説明を略し、かつ、すべて同一の接点形式で表示している。なお、入力条件記述表示領域44a内において、各横方向行線L11,L12,L13,L21,…上には、デバイス番号はC11,C12,…が示されているが、入力接点数がさらに多いので、デバイス番号はそれ以降もあり、横方向行線L11,L12,L13,L21,…が長く、入力条件記述表示領域44a内には表示されていない。そのため、横方向行線L11,L12,L13,L21,…については後述するように横スクロールすることにより、入力条件記述表示領域44a内に表示することができるようになっている。
In the input condition
操作出力記述表示領域44b内には、入力条件記述表示領域44a内の各横方向行線L11,L12,L13,L21,…それぞれに個別対応して横方向行線L12,L22,…がそれぞれ表示され、この横方向行線L12,L12,L13,L22,…上にはリレーコイル、ランプ、モータ、アクチュエータ等の操作出力デバイスであるラダーコイルOUTや、タイマTM、カウンタCT、シフトレジスタSR等のラダー部品が表示される。実施の形態ではリレーコイルOUT1,OUT2,シフトレジスタSRが代表的に表示されている。
In the operation output
両横方向行線L12,L12,L13,L21,…それぞれは横方向行線L12,L22,…それぞれと同一のラダー図各行n1,n2,…を構成する。 Each of the horizontal row lines L12, L12, L13, L21,... Constitutes the same ladder diagram row n1, n2,.
縦スクロール操作部47を、例えば図2から図3で示すように、下方向に操作すると、入力条件記述表示領域44a内のラダー図各横方向線L11,L12,L13,L21,…と操作出力記述表示領域44b内のラダー図各横方向線L12,L12,L13,L22,…とが同期して縦スクロールされる。
When the vertical
次に横スクロール操作部46を、例えば図2から図4で示すように、右方向に移動操作すると、操作出力記述表示領域44b内のラダー図各横方向線L12,L22,…が各行固定され常時表示された状態で入力条件記述表示領域44a内の横方向行線L11,L12,L13,L21,…が左方向に同期横スクロールされる。その結果、入力条件記述表示領域44a内では、横方向行線L11,L12,L13,L21,…上にデバイス番号C11,C12、…の接点が入力条件記述表示領域44aから消え、デバイス番号C14,…の接点が入力条件記述表示領域44a上に表示されてくる。さらに、横スクロール操作部46を、右方向に移動操作すると、横方向行線L11,L12,L13,L21,…が左方向にスクロールされ、次のデバイス番号の接点が表示される。
Next, when the horizontal
(ラダー部品の簡略表示と詳細表示)
次に、図2と図5を参照してシフトレジスタSR内部のデータのモニタ表示を説明する。シフトレジスタSRは、データを格納できる複数の直列に接続されたデータ格納エリア(シフト桁)を持ち、各データ格納エリアに格納されているデータが順次にシフトされるラダー部品であり、各データ格納エリアにはアドレスが割付けられている。このようなシフトレジスタSR内部のデータ格納エリアに格納されているデータをモニタ画面4上にモニタ表示するに際して、データ格納エリアのモニタ範囲を指定しない場合は、その開始アドレスC1と終了アドレスC7に対応するデータ格納エリアに格納するデータが図2に示す通りにラダー図上に「OFF」であると表示される。以上がラダー部品の簡略表示である。
(Simplified display and detailed display of ladder parts)
Next, the monitor display of the data in the shift register SR will be described with reference to FIGS. The shift register SR has a plurality of serially connected data storage areas (shift digits) that can store data, and is a ladder component that sequentially shifts data stored in each data storage area. An address is assigned to the area. When the data stored in the data storage area in the shift register SR is displayed on the
次に、シフトレジスタSRに図示略のマウスカーソルをフォーカスし、ツールバー43上の詳細モニタボタンIC1を選択クリックすると、表示画面4上に図5で示すようにデータビューダイアログDW1が呼び出しされる。このデータビューダイアログDW1には、シフトレジスタSRの各データ格納エリアのアドレスC1,C2,…が表示され、各アドレスC1,C2,…に対応するデータ格納エリアに格納されているデータの状態が表示されている。図5では、シフトレジスタSRは、内部にアドレスがC1〜C7で割り付けられてプログラム実行上での内部状態を示すデータを格納できる7つの縦接続されたデータ格納エリアを持つラダー部品になっている。そして、実施の形態では、アドレスC1〜C4と、アドレスC6,C7に対応するデータ格納エリアに格納されるデータはいずれも「OFF」であり、アドレスC5のデータ格納エリアに格納されるデータは「ON」であることが詳細に表示されている。
Next, when a mouse cursor (not shown) is focused on the shift register SR and the detailed monitor button IC1 on the
このデータビューダイアログDW1により、ユーザは、シフトレジスタSR内部のデータの状態を詳細にモニタすることができることにより、ラダープログラムの修正やラダープログラムの実行状況の確認を詳細に行うことができ、これにより、プログラマブルコントローラを用いた制御系で必要な制御をより容易に講じることができるようになる。 The data view dialog DW1 allows the user to monitor the state of the data in the shift register SR in detail, so that the ladder program can be corrected and the execution status of the ladder program can be checked in detail. Therefore, it is possible to more easily take necessary control in a control system using a programmable controller.
(モニタ画面4へのデータ登録)
次に、モニタ画面4へ内部メモリに格納するデータを登録する操作について説明する。内部メモリにはラダー図を構成するラダー部品の状態を示すデータが格納される。内部メモリの格納データをモニタ画面上に表示するにはモニタ画面上に登録することが必要である。この場合、ラダー部品1つずつに対してドラッグアンドドロップで登録したり、あるいは、ラダー部品1つずつに対して必要なデータを入力操作して登録するのではきわめて煩雑で手間がかかる。そこで、実施の形態では、登録操作を一挙に自動的に行うことができるようにしている。
(Data registration to the monitor screen 4)
Next, an operation for registering data to be stored in the internal memory on the
すなわち、登録操作を例えばラダー図1行ごとに行うとして、まず、図6で示すように、ラダー図の例えばn1行目全体をマウスカーソル等でハッチングで示すように選択する。この選択の後、例えば、マウスカーソルの右クリックでメニューをプルダウン表示し、そのメニュー記載の選項目からデータ登録項目を選択するとか、あるいは、データ登録画面呼び出しボタンIC2をクリックしたりすると、モニタ画面4上に、図7で示すように、データビューダイアログDW2が呼び出される。 That is, assuming that the registration operation is performed, for example, for each row of the ladder diagram, first, as shown in FIG. After this selection, for example, when the menu is pulled down by right-clicking the mouse cursor and a data registration item is selected from the selection items described in the menu or when the data registration screen call button IC2 is clicked, the monitor screen is displayed. 4, the data view dialog DW2 is called as shown in FIG.
このデータビューダイアログDW2には、ラダー図のn1行目の各ラダー部品がラダー順にそれぞれのデバイス番号C11,C12、…,C15,OUT1,SRのデータ格納エリアC1,…がアドレス欄に表示されていると共に、内部メモリから読み出されたそれぞれのアドレスに対応して各ラダー部品の状態を示すデータが自動認識されて表示される。これにより、ユーザは自動登録するに際して、ラダー図のn1行目において各ラダー部品が横方向行線L1のデバイス番号C11−C14のラダー部品が登録され、次いで次の横方向行線L2のデバイス番号C19のラダー部品が登録され、さらに次の横方向行線L3のデバイス番号C20のラダー部品が登録されるというように、ラダー順に登録されるのでデータビューダイアログDW2が非常に見やすくなる。 In the data view dialog DW2, the data storage areas C1,... Of device numbers C11, C12,..., C15, OUT1, SR are displayed in the address column for each ladder component in the n1th row of the ladder diagram in the ladder order. At the same time, data indicating the state of each ladder component corresponding to each address read from the internal memory is automatically recognized and displayed. Thus, when the user automatically registers, each ladder component is registered with the ladder component of the device number C11-C14 of the horizontal row line L1 in the n1th row of the ladder diagram, and then the device number of the next horizontal row line L2. Since the ladder component of C19 is registered and the ladder component of the device number C20 of the next horizontal row line L3 is registered, the data view dialog DW2 becomes very easy to see because it is registered in ladder order.
この場合、図7で示すように選択されたラダー図のn1行においては、操作出力記述表示領域44bに表示されている行部分と、上記横スクロールで入力条件記述表示領域44aに表示されてユーザが認識できる行部分(C11,…)と、入力条件記述表示領域44aに表示されていなくてユーザが認識できない行部分(C15,…)とがある。そして、実施の形態では、上記選択した状態で登録ボタンIC3を操作することにより、ラダー図n1行上のラダー部品の内部状態を示すデータがデータビューダイアログDW2に自動登録される。なお、ラダー図の選択は上記ではn1行の1行であったが、複数の行を同時に選択し、データビューダイアログDW2に表示することができることは勿論である。
In this case, in the n1 line of the ladder diagram selected as shown in FIG. 7, the line part displayed in the operation output
以上説明したように本実施の形態では、モニタ画面4上のラダー図表示領域44に、シフトレジスタSR等のラダー部品が配置されている場合、シフトレジスタSRのデータ格納エリアに格納されているデータのモニタ範囲を指定しないと、そのシフトレジスタSRの開始アドレスC1と終了アドレスC7それぞれのデータ格納エリアに格納するデータをラダー図上に簡略表示する。一方、シフトレジスタSRのデータ格納エリア内に格納されているデータのモニタ範囲を指定すると、その指定に係る範囲内のデータ格納エリアに格納するデータを詳細に表示する。そのため、本実施の形態では、ユーザは、シフトレジスタSR内部の各データ格納エリアそれぞれのデータを詳細確認して、ラダープログラムの修正、あるいは、ラダープログラムの実行状況の確認を行うことができ、プログラマブルコントローラを用いた制御系で必要な制御をより容易に講じることができるようになる。
As described above, in the present embodiment, when ladder parts such as the shift register SR are arranged in the ladder
また、本実施の形態では、横スクロールにより、入力条件記述表示領域44aに表示されていなくてユーザが認識できない行部分のラダー部品であっても、データビューダイアログDW2に自動登録することができる。
Further, in the present embodiment, even if the ladder part is a line part that is not displayed in the input condition
1 ラダー図モニタ装置
2 プログラマブルコントローラ
4 モニタ画面
SR シフトレジスタ
DW1,DW2 データビューダイアログ
1 Ladder diagram monitor device 2
Claims (4)
上記ラダー部品内のデータ格納エリアのモニタ範囲を指定しない場合は、そのラダー部品の開始と終了アドレスに対応するデータ格納エリアに格納するデータを当該ラダー図上に表示する第1ステップと、
上記ラダー部品内のデータ格納エリアのモニタ範囲を指定した場合は、その指定に係る範囲内のデータ格納エリアに格納するデータの表示に切り換える第2ステップと、
を有するモニタ画面上へのラダー図表示方式。 In the ladder diagram display area on the display screen, when a ladder component having a plurality of data storage areas that can store data indicating the internal state of the program executed by assigning addresses,
A first step of displaying the data stored in the data storage area corresponding to the start and end addresses of the ladder part on the ladder diagram when the monitor range of the data storage area in the ladder part is not designated;
When the monitor range of the data storage area in the ladder part is designated, a second step of switching to display of data stored in the data storage area within the range according to the designation;
Ladder diagram display method on the monitor screen with.
上記選択されたラダー図行において、操作出力記述表示領域に表示されている行部分と、上記横スクロールで入力条件記述表示領域に表示されてユーザが認識できる行部分と、上記入力条件記述表示領域に表示されていなくてユーザが認識できない行部分と、を自動認識する第2ステップと、
上記自動認識したラダー図行上のラダー部品の内部状態を示すデータを上記データビューダイアログに登録する第3ステップと、
を実行することを可能とした請求項3に記載の方式。 A first step of selecting one or more ladder diagram rows to be registered in the data view dialog;
In the selected ladder diagram line, the line part displayed in the operation output description display area, the line part displayed in the input condition description display area by the horizontal scroll and recognized by the user, and the input condition description display area A second step of automatically recognizing line portions that are not displayed on the screen and cannot be recognized by the user;
A third step of registering in the data view dialog data indicating the internal state of the ladder part on the automatically recognized ladder diagram row;
The method according to claim 3, wherein the method can be executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007276042A JP2009104434A (en) | 2007-10-24 | 2007-10-24 | Method for displaying ladder diagram on monitor screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007276042A JP2009104434A (en) | 2007-10-24 | 2007-10-24 | Method for displaying ladder diagram on monitor screen |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009104434A true JP2009104434A (en) | 2009-05-14 |
Family
ID=40706036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007276042A Pending JP2009104434A (en) | 2007-10-24 | 2007-10-24 | Method for displaying ladder diagram on monitor screen |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009104434A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010033389A (en) * | 2008-07-30 | 2010-02-12 | Yokogawa Electric Corp | Ladder program development support device, ladder program development support method and ladder program development support program |
CN105278459A (en) * | 2014-07-18 | 2016-01-27 | 株式会社安川电机 | Ladder chart creation device, monitoring device, and machine control device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0764613A (en) * | 1993-08-26 | 1995-03-10 | Matsushita Electric Works Ltd | Action monitoring system for programmable controller |
JPH08123513A (en) * | 1994-10-24 | 1996-05-17 | Nippei Toyama Corp | Data monitoring device for programmable controller |
JPH1011260A (en) * | 1996-06-20 | 1998-01-16 | Keyence Corp | Intra-window data registration method, recording medium, and computer system |
JP2000181516A (en) * | 1998-12-14 | 2000-06-30 | Sharp Manufacturing System Kk | Monitoring device for programmable controller |
JP2001255935A (en) * | 2000-03-08 | 2001-09-21 | Toshiba Corp | Monitor system for controller |
JP2005293311A (en) * | 2004-03-31 | 2005-10-20 | Omron Corp | Display method and display device for ladder program |
JP2007025736A (en) * | 2005-07-12 | 2007-02-01 | Jtekt Corp | Safety plc |
-
2007
- 2007-10-24 JP JP2007276042A patent/JP2009104434A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0764613A (en) * | 1993-08-26 | 1995-03-10 | Matsushita Electric Works Ltd | Action monitoring system for programmable controller |
JPH08123513A (en) * | 1994-10-24 | 1996-05-17 | Nippei Toyama Corp | Data monitoring device for programmable controller |
JPH1011260A (en) * | 1996-06-20 | 1998-01-16 | Keyence Corp | Intra-window data registration method, recording medium, and computer system |
JP2000181516A (en) * | 1998-12-14 | 2000-06-30 | Sharp Manufacturing System Kk | Monitoring device for programmable controller |
JP2001255935A (en) * | 2000-03-08 | 2001-09-21 | Toshiba Corp | Monitor system for controller |
JP2005293311A (en) * | 2004-03-31 | 2005-10-20 | Omron Corp | Display method and display device for ladder program |
JP2007025736A (en) * | 2005-07-12 | 2007-02-01 | Jtekt Corp | Safety plc |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010033389A (en) * | 2008-07-30 | 2010-02-12 | Yokogawa Electric Corp | Ladder program development support device, ladder program development support method and ladder program development support program |
CN105278459A (en) * | 2014-07-18 | 2016-01-27 | 株式会社安川电机 | Ladder chart creation device, monitoring device, and machine control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2472902B1 (en) | Image forming device and program | |
TWI541713B (en) | Apparatus for creating ladder program | |
JP2014032529A (en) | Plc system, drawing editor device thereof, and programmable display | |
US20160246279A1 (en) | Sequence-program-creation supporting apparatus | |
JP2009064068A (en) | Information processor, and user interface control method and program | |
JP6761158B1 (en) | Program creation device, program creation method, and program | |
JP2009104434A (en) | Method for displaying ladder diagram on monitor screen | |
CN110546605A (en) | Program development support device, program development support method, and program development support program | |
TWI472889B (en) | Plc design device | |
JP4941674B2 (en) | Simulation system | |
JP2009259081A (en) | Ladder diagram editing system | |
JP5205111B2 (en) | Ladder diagram monitoring device | |
JP4694877B2 (en) | Switching device, switching system | |
TWI569118B (en) | Screen generating software | |
JP2011107810A (en) | Ladder diagram display method | |
JP2009193276A (en) | Ladder program creation device and ladder program creation execution system using it | |
JP5870214B2 (en) | Programmable controller system, its programmable display, support device, program | |
JP5058053B2 (en) | How to edit ladder diagram | |
JP5360423B2 (en) | Parallel input support method, parallel input support device and computer program for circuit elements in PLC ladder circuit schematic programming device | |
WO2024014364A1 (en) | Ladder program editing device, editing method, and editing program | |
JP2008293392A (en) | Ladder programming editor | |
JP2006331184A (en) | Electronic apparatus and control program for the same | |
KR101886986B1 (en) | Engineering tool program and engineering tool | |
WO2019039197A1 (en) | User interface development assistance device, user interface development assistance method, and user interface development assistance program | |
JP4193505B2 (en) | User program development support apparatus, display switching method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20101015 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111026 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111101 |
|
A02 | Decision of refusal |
Effective date: 20120306 Free format text: JAPANESE INTERMEDIATE CODE: A02 |