JP2008243061A - Editor device, editor program, storage medium storing the same - Google Patents
Editor device, editor program, storage medium storing the same Download PDFInfo
- Publication number
- JP2008243061A JP2008243061A JP2007085841A JP2007085841A JP2008243061A JP 2008243061 A JP2008243061 A JP 2008243061A JP 2007085841 A JP2007085841 A JP 2007085841A JP 2007085841 A JP2007085841 A JP 2007085841A JP 2008243061 A JP2008243061 A JP 2008243061A
- Authority
- JP
- Japan
- Prior art keywords
- address
- editor
- display
- attribute
- window
- 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
- 230000006870 function Effects 0.000 claims description 29
- 238000012545 processing Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 7
- 238000013500 data storage Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 101100190621 Arabidopsis thaliana PLC4 gene Proteins 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
本発明は、プログラマブル表示器などの表示装置に表示させる画面に含まれる部品やシーケンス制御装置を動作させるためのシーケンスプログラムに含まれる命令を表す記号などに付与された属性の確認を容易にするエディタ装置、エディタプログラムおよびそれを記録した記録媒体に関するものである。 The present invention is an editor that facilitates confirmation of attributes assigned to components included in a screen to be displayed on a display device such as a programmable display or a symbol representing a command included in a sequence program for operating a sequence control device. The present invention relates to a device, an editor program, and a recording medium on which the program is recorded.
プログラマブルロジックコントローラ(以降、PLCと称する)などと呼ばれる制御装置は、シーケンス制御をはじめとする各種制御を実現するために、CPUおよびメモリを中心とするハードウェアの部分と、ターゲットシステムの制御を司るソフトウェアの部分とを備えている。ソフトウェアの部分は、PLCを設計当初の制御システム通りに動作させるためのシーケンス制御フローの設計、その制御フローの命令語への変換、命令語のメモリへの書き込みなどを含んでいる。一般に、この一連の作業をプログラミングと称している。 A control device called a programmable logic controller (hereinafter referred to as “PLC”) manages the control of the target system and the hardware part centering on the CPU and memory in order to realize various controls including sequence control. Software part. The software part includes design of a sequence control flow for operating the PLC in accordance with the control system at the time of design, conversion of the control flow into an instruction word, writing of the instruction word into a memory, and the like. In general, this series of operations is called programming.
このようなプログラミングにおいては、コンピュータの専門知識を持たなくても簡単にプログラム作成ができるように、ラダープログラムのような独自の言語を用いており、利用者に使いやすい各種のプログラミング言語が次々と開発されるようになった。例えば、ラダー図(LD)は、命令記号を用いて比較的容易にラダー回路を設計することができるので従来から広く普及しており、現在でも最もよく用いられているプログラミング言語である。このようなプログラミング言語によるプログラミング作業において用いられるプログラミングツールとしては、ラダーエディタなどのプログラミングソフトウェアが普及してきている。このソフトウェアは、エディタコンピュータなどのコンピュータ装置において、ラダー図のような記号化された命令を含む形態でプログラムを容易に作成および編集することができる。 In such programming, a unique language such as a ladder program is used so that it is easy to create a program without having specialized knowledge of computers. It has been developed. For example, a ladder diagram (LD) is a programming language that has been widely used since the ladder circuit can be designed relatively easily by using instruction symbols, and is still the most commonly used programming language. Programming software such as a ladder editor has become widespread as a programming tool used in such programming work using a programming language. This software can easily create and edit a program in a form including a symbolized instruction such as a ladder diagram in a computer device such as an editor computer.
一方、プログラマブル表示器は、PLCとのインターフェースを備えており、PLCに接続されたデバイスの稼働状況を表示したり、デバイスへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。一般に、プログラマブル表示器は、グラフィック表示機能を有するので、操作盤、スイッチ、表示灯等を表示することができ、制御システムにおける操作端末としての役割を果たす。 On the other hand, the programmable display has an interface with the PLC, and has a function of displaying the operating status of a device connected to the PLC and receiving an operation input for giving a control instruction to the device from the screen. This is an operation type display. In general, since the programmable display has a graphic display function, it can display an operation panel, a switch, an indicator lamp, and the like, and serves as an operation terminal in the control system.
このようなプログラマブル表示器で表示される画面は、画面作成ソフトウェア(画面エディタ)を用いてユーザによって作成される。画面作成に際しては、ユーザが、エディタコンピュータ等において画面作成ソフトウェアによって提供される部品、描画機能等を用いて所望の画面を構成する。 The screen displayed on such a programmable display is created by the user using screen creation software (screen editor). When creating a screen, a user configures a desired screen using components, drawing functions, and the like provided by screen creation software in an editor computer or the like.
上記の部品は、スイッチ、テンキー、メータ表示器、グラフ表示器等をそれぞれ表す画像であって、実際の部品のごとく組み合わせて扱えるように、予めライブラリ形式で画面作成ソフトウェアに用意されている。作成された画面は、画面データとしてプログラマブル表示器に転送されて記憶される。そして、PLCの稼働時には、PLCに接続されたデバイスの状態に応じて、プログラマブル表示器の表示部に表示される画面上のメータ表示器等の出力部品が動的に変化する。また、スイッチ等の入力部品への画面上の入力操作が制御指示としてデバイスに与えられる。 The above parts are images representing switches, numeric keys, meter displays, graph displays, etc., and are prepared in advance in the screen creation software in a library format so that they can be handled in combination like actual parts. The created screen is transferred to the programmable display device as screen data and stored. When the PLC is in operation, output components such as a meter display on the screen displayed on the display unit of the programmable display dynamically change according to the state of the device connected to the PLC. Further, an input operation on the screen to an input component such as a switch is given to the device as a control instruction.
前述のラダーエディタや画面エディタは、ラダープログラムの命令記号や画面における部品に各種の属性を設定する機能を有している。例えば、画面エディタにおいては、通常、デバイスの状態を部品の表示に反映させたり、部品を介した入力指示をデバイスの状態に反映させたりするために、デバイスのデータを格納するPLCやプログラマブル表示器におけるメモリのアドレスを属性として部品に設定する。また、ラダーエディタにおいても、デバイスの状態をPLCやプログラマブル表示器のメモリにおいて書き替えるために、当該メモリのアドレスを属性として命令記号に設定する。 The above-described ladder editor and screen editor have a function of setting various attributes to ladder program instruction symbols and screen components. For example, in a screen editor, a PLC or programmable display for storing device data is usually used to reflect the state of the device on the display of the component or to reflect an input instruction via the component on the state of the device. The address of the memory at is set to the component as an attribute. Also in the ladder editor, in order to rewrite the device state in the memory of the PLC or programmable display, the address of the memory is set as an instruction symbol as an attribute.
あるいは、画面エディタにおいては、部品の色も属性として設定する。例えば、スイッチ部品やランプ部品の色は、ON状態で赤になり、OFF状態で緑になるというように設定される。 Alternatively, in the screen editor, the color of the component is also set as an attribute. For example, the color of the switch component and the lamp component is set so that it is red in the ON state and green in the OFF state.
画面エディタのアドレス設定については、アドレス使用状況の変化を監視してアイコン形式で表示させ、空きアドレスのアイコンを部品にドラッグ&ドロップ操作することにより、部品に空きアドレスを設定することが特許文献1に記載されている。これにより、アドレスの使用状況を確認しながら、空きのアドレスを用いて部品にアドレスを設定することができる。
ラダーエディタや画面エディタでは、制御システムの仕様の変更等に応じて、画面における部品やラダープログラムにおける命令記号に付与された属性を変更する必要が生じる。このため、部品や命令記号に現在付与されている属性を確認しなければならない。 In the ladder editor and the screen editor, it is necessary to change the attributes given to the parts on the screen and the instruction symbols in the ladder program in accordance with the change in the specification of the control system. For this reason, it is necessary to confirm the attributes currently assigned to the parts and command symbols.
ところが、上記の特許文献1には、アドレス設定の方法について記載されているが、現在、特定の部品に設定されている属性としてのアドレスを確認する方法については記載されていない。 However, the above Patent Document 1 describes a method for setting an address, but does not describe a method for confirming an address as an attribute currently set for a specific component.
また、部品についての全ての属性の一覧を表示させることがすでに実現されており、この全属性一覧表示を用いて部品に設定されたアドレスを確認することができる。しかしながら、このような属性の一覧を表示させるための操作が必要であり、かつ属性の一覧にはアドレス以外の属性も含まれるため、アドレスのみを素早く確認するには不向きである。また、この全属性一覧を用いる場合、部品に設定されたアドレス以外の属性(例えば色)についても、同様に素早く確認することは容易ではない。 Further, it has already been realized to display a list of all attributes for a part, and the address set for the part can be confirmed using this all attribute list display. However, an operation for displaying such a list of attributes is necessary, and the attribute list includes attributes other than addresses, so it is not suitable for quickly confirming only the addresses. Further, when this all attribute list is used, it is not easy to quickly confirm attributes (for example, colors) other than the addresses set for the parts as well.
本発明は、上記の問題点に鑑みてなされたものであり、その目的は、部品や命令記号のような表示要素に付与された特定の属性を容易に確認することにある。 The present invention has been made in view of the above-described problems, and an object of the present invention is to easily confirm a specific attribute assigned to a display element such as a component or a command symbol.
本発明に係るエディタ装置は、表示要素を含むアプリケーションデータを作成するエディタ装置において、上記の課題を解決するために、前記アプリケーションデータを作成する主表示領域と隣接して設けられた属性表示領域に、前記表示要素に設定するための特定の属性の一覧を表示する属性一覧表示手段と、前記主表示領域に表示された前記表示要素のうち選択された表示要素を前記属性表示領域へドラッグする操作によって、当該表示要素に設定されている属性を表示する設定属性表示手段とを備えていることを特徴としている。 In order to solve the above problems, an editor device according to the present invention creates an application data including display elements in an attribute display region provided adjacent to a main display region for creating the application data. Attribute list display means for displaying a list of specific attributes to be set in the display element, and an operation of dragging a selected display element among the display elements displayed in the main display area to the attribute display area And setting attribute display means for displaying the attribute set in the display element.
上記の構成では、主表示領域に表示された表示要素のうち、ユーザによって、表示要素を選択し、当該表示要素を属性表示領域へドラッグする操作が行われると、設定属性表示手段によって、表示要素に設定されている属性が表示される。これにより、表示要素に設定されている特定の属性を容易に確認することができる。 In the above configuration, when the user selects a display element from among the display elements displayed in the main display area and drags the display element to the attribute display area, the setting attribute display means displays the display element. The attributes set in are displayed. Thereby, the specific attribute set to the display element can be easily confirmed.
例えば、エディタ装置がアドレスで特定されたメモリにおける領域にデータが読み書きされる状態を表示する表示要素を含むアプリケーションデータを作成する場合、そのアドレスが属性となる。この場合、前記属性は前記データを読み書きする前記メモリ領域を特定するアドレスであり、前記設定属性表示手段は前記選択された表示要素に設定された前記アドレスを識別表示する。あるいは、属性は表示要素の色であってもよい。 For example, when the application device creates application data including a display element that displays a state in which data is read and written in an area in the memory specified by the address, the address is an attribute. In this case, the attribute is an address specifying the memory area where the data is read and written, and the setting attribute display means identifies and displays the address set in the selected display element. Alternatively, the attribute may be the color of the display element.
前記エディタ装置において、属性一覧表示手段は、表示された属性のうち1つが選択されると、属性の一覧における選択された属性を含む部分を表示することが好ましい。これにより、属性の一覧がすべての属性を表示しきれない場合、選択された属性を含む部分が表示される。それゆえ、当該部分を表示させるために、ユーザが属性の一覧をスクロール操作するという手間を省くことができるとともに、選択された属性を属性の一覧における周囲の属性へ変更することが容易になる。 In the editor device, the attribute list display means preferably displays a portion including the selected attribute in the attribute list when one of the displayed attributes is selected. As a result, when the list of attributes cannot display all the attributes, a portion including the selected attributes is displayed. Therefore, it is possible to save the user from scrolling the attribute list in order to display the portion, and to easily change the selected attribute to a surrounding attribute in the attribute list.
本発明のエディタプログラムは、前述のいずれかのエディタ装置を動作させるためのエディタプログラムであって、コンピュータを上記各手段として機能させるプログラムである。また、このエディタプログラムは、コンピュータ読み取り可能な記録媒体に記録される。これにより、プログラムをコンピュータに読み取らせて実行させることにより前記エディタ装置を実現することができる。 The editor program of the present invention is an editor program for operating any one of the above-described editor devices, and is a program that causes a computer to function as each of the above means. The editor program is recorded on a computer-readable recording medium. Thereby, the said editor apparatus is realizable by making a computer read and run a program.
本発明に係るエディタ装置は、以上のように、アプリケーションデータを作成する主表示領域と隣接して設けられた属性表示領域に、前記表示要素に設定するための特定の属性の一覧を表示する属性一覧表示手段と、前記主表示領域に表示された前記表示要素のうち選択された表示要素を前記属性表示領域へドラッグする操作によって、当該表示要素に設定されている属性を表示する設定属性表示手段とを備えているので、表示要素に設定されている属性を容易に確認することができる。したがって、属性を変更する作業を効率的に行うことができるという効果を奏する。 As described above, the editor device according to the present invention has an attribute for displaying a list of specific attributes for setting the display element in the attribute display area provided adjacent to the main display area for creating application data. List display means and setting attribute display means for displaying attributes set in the display element by an operation of dragging a display element selected from the display elements displayed in the main display area to the attribute display area Therefore, it is possible to easily confirm the attributes set in the display element. Therefore, there is an effect that the work of changing the attribute can be performed efficiently.
本発明の実施形態を図1ないし図5に基づいて説明すると、以下の通りである。 An embodiment of the present invention will be described with reference to FIGS. 1 to 5 as follows.
本実施の形態に係るエディタ装置は、図1に示すように、エディタコンピュータ1によって構成されている。エディタコンピュータ1は、CPU、メモリ(RAM、ROMなど)、外部記憶装置(ハードディスクドライブ、MOドライブなど)、表示装置および入力装置(キーボード、マウスなど)を有している。また、エディタコンピュータ1は、図1に示すように、制御部11、インターフェース部(図中、I/F)12、エディタ部13およびデータ記憶部14を備えている。 The editor device according to the present embodiment is configured by an editor computer 1 as shown in FIG. The editor computer 1 includes a CPU, a memory (RAM, ROM, etc.), an external storage device (hard disk drive, MO drive, etc.), a display device, and an input device (keyboard, mouse, etc.). As shown in FIG. 1, the editor computer 1 includes a control unit 11, an interface unit (I / F in the figure) 12, an editor unit 13, and a data storage unit 14.
インターフェース部12は、プログラマブル表示器2との間の通信を行うための通信制御部であり、画面転送ケーブル3に接続されている。画面転送ケーブル3としては、例えばUSBケーブルなどが用いられる。 The interface unit 12 is a communication control unit for performing communication with the programmable display device 2, and is connected to the screen transfer cable 3. As the screen transfer cable 3, for example, a USB cable or the like is used.
プログラマブル表示器2は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用の画面データを表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。 The programmable display 2 is provided with an arithmetic processing unit such as a CPU, and is a dedicated computer that realizes an operation function and a display function unique to the programmable display by displaying input operation and display screen data created by the user. is there.
このプログラマブル表示器2は、シリアルケーブル6を介したPLC4との通信により、PLC4を介して表示画面に表示される各デバイス5の状態を取得して、例えば、後述のディスプレイ22に各デバイス5の状態を表示する機能を有している。また、プログラマブル表示器2は、後述のタッチパネル24への操作に応じて、デバイス5の状態制御をPLC4に指示する機能を有している。 This programmable display 2 acquires the state of each device 5 displayed on the display screen via the PLC 4 through communication with the PLC 4 via the serial cable 6. It has a function to display the status. The programmable display 2 has a function of instructing the PLC 4 to control the state of the device 5 in response to an operation on the touch panel 24 described later.
HMI(Human Machine Interface)として好適に使用されるプログラマブル表示器2は、HMI処理部21を制御の中心として備えている。このHMI処理部21は、HMI処理のプログラムを実行することによって実現される機能ブロックである。 A programmable display 2 suitably used as an HMI (Human Machine Interface) includes an HMI processing unit 21 as the center of control. The HMI processing unit 21 is a functional block realized by executing an HMI processing program.
上記のHMI処理部21は、所定の時間間隔毎や所定のイベント毎にPLC4と通信することによって、PLC4のメモリから、デバイス5の状態を状態データとして取得して、プログラマブル表示器2内に用意された一時的なメモリ空間、例えば作業メモリ27の特定の領域(状態メモリ領域)に書き込む。また、HMI処理部21は、PLC4のメモリにおける状態データを更新するように、状態メモリ領域におけるデバイス5の状態データを書き替えて、PLC4に送信する。また、HMI処理部21は、後述する部品などのオブジェクトを組み合わせて作成された画面データに基づいて、デバイス5の状態データをPLC4から取得してプログラマブル表示器2に描画表示するときの動作や、画面上のタッチパネル24への操作に応じてデバイス5の状態の変更を指示するときの動作を処理規定情報によって特定する。 The HMI processing unit 21 acquires the state of the device 5 as state data from the memory of the PLC 4 by communicating with the PLC 4 every predetermined time interval or every predetermined event, and prepares it in the programmable display 2 Is written in a specified temporary memory space, for example, a specific area (state memory area) of the work memory 27. In addition, the HMI processing unit 21 rewrites the state data of the device 5 in the state memory area so as to update the state data in the memory of the PLC 4 and transmits it to the PLC 4. In addition, the HMI processing unit 21 obtains the state data of the device 5 from the PLC 4 based on screen data created by combining objects such as components described later, and draws and displays the data on the programmable display 2. The operation when the change of the state of the device 5 is instructed according to the operation on the touch panel 24 on the screen is specified by the processing regulation information.
また、HMI処理部21は、インターフェース部(図中I/F)23によるシリアルケーブル6を介したPLC4との通信により、PLC4のメモリに格納された各デバイス5の状態を取得し、ディスプレイ22に表示される画面上に各デバイス5の状態を描画表示する機能を有する。 Further, the HMI processing unit 21 acquires the state of each device 5 stored in the memory of the PLC 4 through communication with the PLC 4 via the serial cable 6 by the interface unit (I / F in the figure) 23, and displays it on the display 22. It has a function of drawing and displaying the state of each device 5 on the displayed screen.
画面データは、エディタコンピュータ1から画面転送ケーブル3を介して転送されて、データメモリ25に格納される。プログラマブル表示器2における画面データの受信は、インターフェース部(図中I/F)26によって行われる。 The screen data is transferred from the editor computer 1 via the screen transfer cable 3 and stored in the data memory 25. Reception of screen data in the programmable display 2 is performed by the interface unit (I / F in the figure) 26.
ここで、PLC4について説明する。 Here, the PLC 4 will be described.
PLC4は、ユーザが作成したシーケンスプログラム(ラダープログラムなど)にしたがって、例えば、数十msなどの予め定められたスキャンタイム毎に、入力ユニットを介して入力用のデバイス5の状態を取り込むとともに、出力用のデバイス5に状態を変更するように制御指示を与える。 In accordance with a sequence program (such as a ladder program) created by the user, the PLC 4 captures the state of the input device 5 via the input unit and outputs it at every predetermined scan time such as several tens of ms. A control instruction is given to the device 5 for changing the state.
入力用のデバイス5としては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような機器が用いられる。出力用のデバイス5としては、アクチュエータ、リレー、電磁弁、表示器などが用いられる。これらのデバイス5は、製造ラインなどの所要各部に配置される。また、プログラマブル表示器2に表示されるユーザ画面に設けられるスイッチ部品や表示器部品もデバイス5として扱われる。 As the input device 5, devices such as sensors (temperature sensors, optical sensors, etc.) and switches (push button switches, limit switches, pressure switches, etc.) are used. As the output device 5, an actuator, a relay, a solenoid valve, a display, or the like is used. These devices 5 are arranged in required parts such as a production line. Further, switch parts and display parts provided on the user screen displayed on the programmable display 2 are also handled as the device 5.
なお、デバイス5は、プログラマブル表示器2における特定のメモリ領域(例えば後述のシステムエリアにおけるユーザエリア)であってもよいし、PLC4内のメモリにおける特定のメモリ領域であってもよい。これらのメモリ領域は内部デバイスとして設定される。 The device 5 may be a specific memory area in the programmable display 2 (for example, a user area in a system area described later), or may be a specific memory area in a memory in the PLC 4. These memory areas are set as internal devices.
PLC4内のメモリは、デバイス5の状態(デバイス5からの出力値やデバイス5への設定値)を示すデータ(ワードデータやビットデータ)を、デバイスアドレスで特定される領域に格納している。上記メモリにおいて、ワードデバイスとビットデバイスとが設定される。ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、メモリ内の任意のワードデバイスまたはビットデバイスをデバイスアドレスとして指定してアクセスするだけでデバイス5を制御し、またはその状態に関する情報を個別に取り出すことができる。 The memory in the PLC 4 stores data (word data and bit data) indicating the state of the device 5 (the output value from the device 5 and the setting value to the device 5) in an area specified by the device address. In the memory, a word device and a bit device are set. The word device is set as an area for storing word data such as numeric values as input / output data, and is designated by a word address (device address). The bit device is set as an area for storing bit data such as an on / off state, and is set by a bit address (device address). With such a setting, the device 5 can be controlled by simply specifying and accessing any word device or bit device in the memory as a device address, or information regarding the state can be individually taken out.
PLC4のメーカ毎に固有の名称で呼ばれるデバイスアドレスには、変数が対応付けられている。変数は、ユーザによって任意に設定可能な名称であり、後述するコメントを変数として扱うことができる。 A variable is associated with a device address called by a unique name for each manufacturer of PLC4. The variable is a name that can be arbitrarily set by the user, and a comment described later can be handled as a variable.
ここで、再びエディタコンピュータ1の説明に戻る。 Here, the description returns to the editor computer 1 again.
制御部11は、ハードウエア(CPUやメモリなど)およびソフトウエア(オペレーティングシステムなど)によって実現される機能ブロックであり、アプリケーションプログラムの実行や周辺機器の動作を制御する部分である。制御部11は、その機能を果たすために作業メモリ11aを有している。作業メモリ11aは、RAMなどによって構成され、エディタ部13が画面データやラダープログラムを展開するためなどに用いられる。 The control unit 11 is a functional block realized by hardware (CPU, memory, etc.) and software (operating system, etc.), and controls execution of application programs and operations of peripheral devices. The control unit 11 has a work memory 11a in order to fulfill its function. The work memory 11a is composed of a RAM or the like, and is used by the editor unit 13 for developing screen data and ladder programs.
また、制御部11は、アプリケーションプログラムである画面作成ソフトウエアを実行することにより、画面エディタ131をエディタ部13に実現する。また、制御部11は、アプリケーションプログラムであるラダープログラミングソフトウェアを実行することにより、ラダーエディタ132をエディタ部13に実現する。エディタ部13は、エディタコンピュータ1と分離可能に構成される記録媒体に記録され、この記憶媒体からエディタコンピュータ1にインストールすることが可能である。また、エディタコンピュータ1は、エディタ部13を備えることによりエディタ装置として機能する。 In addition, the control unit 11 implements the screen editor 131 in the editor unit 13 by executing screen creation software that is an application program. The control unit 11 implements a ladder editor 132 in the editor unit 13 by executing ladder programming software that is an application program. The editor unit 13 is recorded on a recording medium configured to be separable from the editor computer 1, and can be installed in the editor computer 1 from this storage medium. The editor computer 1 functions as an editor device by including the editor unit 13.
上記の記録媒体(プログラムメディア)は、コンピュータに読み取り可能な記録媒体であり、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。 The above-mentioned recording medium (program medium) is a computer-readable recording medium, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk system such as a flexible disk or a hard disk, CD-ROM, MO, MD, DVD, etc. A card system such as an optical disk system, an IC card (including a memory card), or an optical card is suitable. In addition, the program medium may be a medium that carries a fixed program including a semiconductor memory such as a mask ROM, EPROM, EEPROM, flash ROM, or the like.
また、エディタコンピュータ1が、インターネットを含む通信ネットワークと接続可能な環境に置かれていれば、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めエディタコンピュータ1に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。 Further, if the editor computer 1 is placed in an environment connectable to a communication network including the Internet, it may be a medium that fluidly carries the program so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in the editor computer 1 in advance or may be installed from another recording medium.
画面エディタ131は、ユーザ独自の画面であるユーザ画面を作成できるように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品、描画機能、テキスト入力機能などを備えている。部品としては、単一の機能を有する部品だけでなく、複数の機能を有する、複合スイッチ、カウンタ、タイマといった複合機能を有する部品が用意されている。オブジェクト(表示要素)としての部品は、ユーザが容易に選択できるようにライブラリ形式で登録されており、部品の機能に応じた処理規定情報(オブジェクトに対する手続き)が予め付与されている。描画機能は、直線や曲線の線図形を描画したり、各種のグラフ、円、四角形、三角形などの基本図形の描画および図形内の指定色や模様による塗りつぶしを行ったりするための機能である。 The screen editor 131 has components such as switches, lamps, numeric keys, various displays (for example, a numerical display, a meter display, and a graph display), a drawing function, It has a text input function. As components, not only components having a single function but also components having a plurality of functions such as a composite switch, a counter, and a timer are prepared. Parts as objects (display elements) are registered in a library format so that the user can easily select them, and processing definition information (procedures for objects) corresponding to the functions of the parts is given in advance. The drawing function is a function for drawing a line figure such as a straight line or a curve, drawing a basic figure such as various graphs, circles, squares, and triangles, and painting with a designated color or pattern in the figure.
また、画面エディタ131は、作成した画面のデータすなわち画面データ(アプリケーションデータ)を上記の外部記憶装置によって構成されるデータ記憶部14に画面ファイルとして保存する。また、画面エディタ131は、画面ファイルをデータ記憶部14から読み出して、転送ケーブル3を介してプログラマブル表示器2に転送する。 The screen editor 131 stores the created screen data, that is, screen data (application data) as a screen file in the data storage unit 14 configured by the external storage device. Further, the screen editor 131 reads the screen file from the data storage unit 14 and transfers it to the programmable display device 2 via the transfer cable 3.
ラダーエディタ132は、デバイス5が所望のシーケンスにしたがって動作するようにユーザの入力・編集操作によってPLC4の制御手順を定めるラダープログラム(アプリケーションデータ)を作成する。このラダーエディタ132は、エディタコンピュータ1の図示しないディスプレイの表示画面上でデバイス5に対応するラダー記号(表示要素,命令記号)や演算処理などの各種処理を表すラダー記号(表示要素,命令記号)をユーザの操作に応じて配置してラダー図を組み上げることでラダープログラムを作成できるように構成されている。 The ladder editor 132 creates a ladder program (application data) that determines the control procedure of the PLC 4 by a user input / edit operation so that the device 5 operates according to a desired sequence. The ladder editor 132 is a ladder symbol (display element, instruction symbol) representing various processes such as a ladder symbol (display element, instruction symbol) corresponding to the device 5 on a display screen of a display (not shown) of the editor computer 1. Are arranged according to the user's operation, and a ladder program can be created by assembling a ladder diagram.
また、ラダーエディタ132は、作成したラダープログラムをデータ記憶部14にラダーファイルとして保存する。また、ラダーエディタ132は、ラダーファイルをデータ記憶部14から読み出して、PLC4にロードする。 The ladder editor 132 also saves the created ladder program in the data storage unit 14 as a ladder file. Further, the ladder editor 132 reads the ladder file from the data storage unit 14 and loads it into the PLC 4.
また、エディタ部13は属性設定部133を含んでいる。属性設定部133は、部品やラダー記号に所定の属性を設定するために設けられており、アドレス設定部133aとカラー設定部133bとを有している。属性設定部133は、部品にアドレスや色などをユーザに設定させるためのダイアログボックス(図示せず)をユーザインターフェースとして提供する。 The editor unit 13 includes an attribute setting unit 133. The attribute setting unit 133 is provided to set a predetermined attribute for a component or ladder symbol, and includes an address setting unit 133a and a color setting unit 133b. The attribute setting unit 133 provides a dialog box (not shown) as a user interface for allowing the user to set an address, a color, and the like for the component.
また、アドレス設定部133aは、部品やラダー記号にアドレスを設定したり、アドレスに関連付けられた変数を設定したりする。変数としては、デバイス5の動作状態のような事象名や、スイッチに対応するSWやランプに対応するLAMPのようなデバイス5に対応する符号や、操作指示などが挙げられる。また、変数は、アドレスに付与される任意の名称であり、PLC4のメーカ特有のアドレス表現の相違に関わらずラダープログラムを利用することを可能とする。 Further, the address setting unit 133a sets an address for a component or ladder symbol, or sets a variable associated with the address. Examples of the variable include an event name such as an operating state of the device 5, a code corresponding to the device 5 such as SW and LAMP corresponding to the switch, and an operation instruction. The variable is an arbitrary name given to the address, and the ladder program can be used regardless of the difference in address expression unique to the manufacturer of PLC4.
その他、アドレス設定部133aは、画面エディタ131が起動しているときに部品に設定されているアドレスを表示する機能を備えている。また、アドレス設定部133aは、ラダーエディタ132が起動しているときにラダー記号に設定されているアドレスを表示する機能を備えている。以降、その機能について説明する。 In addition, the address setting unit 133a has a function of displaying an address set for a component when the screen editor 131 is activated. The address setting unit 133a has a function of displaying an address set in the ladder symbol when the ladder editor 132 is activated. Hereinafter, the function will be described.
まず、画面エディタ131が起動した状態で、図2(a)に示すように、作業ウインドウ101が開かれ、さらに作業ウインドウ101内に作画ウインドウ102が開かれている。アドレス設定部133aは、この状態で、アドレス設定ウインドウ103を開く操作がユーザによって行われると、アドレス設定ウインドウ103を作業ウインドウ101内に開く。 First, in a state where the screen editor 131 is activated, as shown in FIG. 2A, the work window 101 is opened, and the drawing window 102 is opened in the work window 101. In this state, the address setting unit 133a opens the address setting window 103 in the work window 101 when an operation for opening the address setting window 103 is performed by the user.
アドレス設定ウインドウ103は、アドレスタイプ設定ボックス103a、表示アドレス入力ボックス103bおよびアドレスマップ103cを含んでいる。 The address setting window 103 includes an address type setting box 103a, a display address input box 103b, and an address map 103c.
アドレスタイプ設定ボックス103aは、アドレスのタイプとして、「ビットアドレス」または「ワードアドレス」のいずれかを選択して設定するために設けられているスピンボックスである。アドレス設定部133aは、「ビットアドレス」が選択されると、ビットアドレスの使用状況をアドレスマップ103cを表示し、「ワードアドレス」が選択されると、ワードアドレスの使用状況をアドレスマップ103cに表示する。 The address type setting box 103a is a spin box provided for selecting and setting “bit address” or “word address” as the address type. When “bit address” is selected, the address setting unit 133a displays the usage status of the bit address in the address map 103c, and when “word address” is selected, the usage status of the word address is displayed in the address map 103c. To do.
表示アドレス入力ボックス103bは、アドレスマップ103cに表示させるアドレスを入力するために設けられている。この表示アドレス入力ボックス103bは、例えば、アドレスをエディタコンピュータ1のキーボードなどを用いて直接入力できるように構成されている。アドレス設定部133aは、表示アドレス入力ボックス103bにアドレスが入力されると、当該アドレスが表示されるように、アドレスマップ103cにおけるアドレス表示範囲を移動させる。 The display address input box 103b is provided for inputting an address to be displayed on the address map 103c. The display address input box 103b is configured such that an address can be directly input using the keyboard of the editor computer 1 or the like, for example. When an address is input to the display address input box 103b, the address setting unit 133a moves the address display range in the address map 103c so that the address is displayed.
アドレスマップ103cは、アドレスのビットを方形などの図形で表したアドレスブロック103dによってアドレスを表現している。アドレスマップ103cの左側には、アドレスを識別するためのデバイスラベルとして「X」が表示されるとともに、デバイスラベルに続く下部分のオフセットラベルが表示される。また、アドレスマップ103cの上側には、アドレスのビット位置0〜n(インデックス;nはワードデバイスのビット数)を示すインデックスラベルが表示される。 The address map 103c represents an address by an address block 103d in which bits of the address are represented by a figure such as a square. On the left side of the address map 103c, “X” is displayed as a device label for identifying an address, and a lower offset label following the device label is displayed. In addition, an index label indicating bit positions 0 to n (index; n is the number of bits of the word device) of the address is displayed on the upper side of the address map 103c.
アドレス設定部133aは、アドレス設定部133aが管理しているアドレス使用状況に関する情報に基づいて、使用されているアドレスのビットを表すアドレスブロック103dを赤色で表示し、使用されていないアドレスについてのアドレスブロック103dを緑色で表示する。アドレス設定部133aは、ビットアドレスを表示する場合、使用されているビットのみ赤色表示し、ワードアドレスを表示する場合、使用しているアドレスの全ビット(ビット位置0〜n)を赤色表示する。また、アドレス設定部133aは、ビットアドレスおよびワードアドレスの双方に対応している部品に対しては、両アドレスが使用されると、それぞれのアドレスで使用ビットのアドレスブロック103dを赤色表示する。また、アドレス設定部133aは、1つの部品に複数のビットアドレスやワードアドレスが設定されている場合にも、設定されているアドレスを示すアドレスブロック103dの全てを赤色表示する。 The address setting unit 133a displays the address block 103d representing the bits of the used address in red based on the information on the address use status managed by the address setting unit 133a, and addresses for the unused addresses. The block 103d is displayed in green. The address setting unit 133a displays only the used bits in red when displaying a bit address, and displays all bits (bit positions 0 to n) of the used address in red when displaying a word address. Further, when both addresses are used for a component corresponding to both a bit address and a word address, the address setting unit 133a displays the used bit address block 103d in red at each address. Further, even when a plurality of bit addresses and word addresses are set for one component, the address setting unit 133a displays all the address blocks 103d indicating the set addresses in red.
アドレスマップ103cは、アドレスブロック103dを表示できる範囲が限られており、図示した例では、n=8、すなわち9ビット分を表示している。しかしながら、アドレスマップ103cは、上下および左右方向にスクロールバーによるスクロール操作により、隠れた部分を表示することができる。したがって、インデックスラベルを16ビット分有するアドレスであっても表示することができる。 The address map 103c has a limited range in which the address block 103d can be displayed. In the illustrated example, n = 8, that is, 9 bits are displayed. However, the address map 103c can display a hidden portion by scrolling the scroll bar in the vertical and horizontal directions. Therefore, even an address having 16-bit index labels can be displayed.
また、アドレス設定部133aは、PLC4の機種毎に各画面で使用している部品に使用(設定)されているアドレスを管理しており、アドレス毎に使用または未使用の情報を確保している。前述のアドレスブロック103dの使用または未使用を表す表示は、このアドレス設定部133aで管理されているアドレスの使用または未使用の情報に基づいて行われる。 The address setting unit 133a manages the addresses used (set) for the parts used on each screen for each PLC4 model, and secures used or unused information for each address. . The above-described display indicating the use or non-use of the address block 103d is performed based on the use or non-use information of the address managed by the address setting unit 133a.
アドレス設定部133aは、一まとまりの画面やラダープログラムについて、すべてのアドレスの使用/未使用の状態を管理している。具体的には、アドレス設定部133aは、制御部11の作業メモリ11aなどを使用したメモリテーブルにおいて、すべてのアドレスについて、使用状態をフラグ“1”とし未使用状態を“0”としている。また、アドレス設定部133aは、アドレスマップ103cに現在のアドレスの使用状況が表示されるときに、一まとまりの画面やラダープログラムに含まれる各部品に対して使用されているアドレスを読み取って、上記のメモリテーブルにアドレスの使用/未使用状態を作成する。また、アドレス設定部133aは、管理しているアドレスの使用状況(使用/未使用状態)の情報を上記のメモリテーブルに反映させる。 The address setting unit 133a manages the used / unused state of all addresses for a group of screens and ladder programs. Specifically, the address setting unit 133a sets the use state to the flag “1” and the unused state to “0” for all addresses in the memory table using the work memory 11a of the control unit 11 and the like. Further, the address setting unit 133a reads the addresses used for each component included in a group of screens and ladder programs when the current address usage status is displayed in the address map 103c, and The used / unused state of the address is created in the memory table. Further, the address setting unit 133a reflects the information on the use status (used / unused state) of the managed address in the memory table.
また、アドレス設定部133aは、アドレス設定によって新たに使用されることになったアドレスや、アドレス設定解除によって使用されなくなったアドレスを常に監視している。そして、アドレス設定部133aは、アドレスの使用状況に変化があれば、その情報を即座にメモリテーブルに反映させることにより、常にアドレスの使用状況についての最新の情報を確保している。 Further, the address setting unit 133a constantly monitors addresses that are newly used by address setting and addresses that are no longer used by address setting cancellation. Then, if there is a change in the address usage status, the address setting unit 133a always reflects the information in the memory table to ensure the latest information on the address usage status.
また、アドレス設定部133aは、図2(a)に示すように、作画ウインドウ102に表示されている画面における部品104をマウスカーソル105によってアドレスマップ103cにドラッグしてドロップする操作が行われると、アドレスウインドウ106を表示する。アドレスウインドウ106は、部品104に設定されているアドレスとそのタイプとを含んでいる。アドレス設定部133aは、上記の操作が行われると、現在、作画ウインドウ102に表示されている画面が画面データとして展開されている作業メモリ11aから、部品104に属性として設定されているアドレスとそのタイプとを読み出してアドレスウインドウ106に表示する。また、アドレス設定部133aは、部品104に設定されているアドレスを示すアドレスブロック103dを赤色表示から青色表示に切り替える。これにより、部品104に設定されているアドレスを容易に判別することができる。 Further, as shown in FIG. 2A, the address setting unit 133a performs an operation of dragging and dropping the component 104 on the screen displayed in the drawing window 102 onto the address map 103c with the mouse cursor 105. An address window 106 is displayed. The address window 106 includes an address set for the component 104 and its type. When the above operation is performed, the address setting unit 133a, from the work memory 11a in which the screen currently displayed in the drawing window 102 is expanded as screen data, the address set as an attribute to the component 104 and its address The type is read out and displayed in the address window 106. The address setting unit 133a switches the address block 103d indicating the address set in the component 104 from red display to blue display. Thereby, the address set in the component 104 can be easily determined.
また、アドレス設定部133aは、図2(b)に示すように、マウスカーソル105によって指示されてクリック操作によってアドレスウインドウ106に表示されているアドレスの中から1つのアドレスが選択されると、当該アドレスを含む領域までアドレスマップ103cを自動的にスクロールして表示する。これにより、表示アドレス入力ボックス103bにアドレスを入力することなく、部品104に設定されているアドレスのうち、アドレスマップ103cにおける所望のアドレスの設定位置を確認することができる。 In addition, as shown in FIG. 2B, the address setting unit 133a is instructed by the mouse cursor 105 and when one address is selected from the addresses displayed in the address window 106 by a click operation, The address map 103c is automatically scrolled and displayed up to the area including the address. As a result, it is possible to confirm the set position of a desired address in the address map 103c among the addresses set in the component 104 without inputting the address in the display address input box 103b.
さらに、アドレス設定部133aは、特許文献1に記載された作画エディタのアドレス設定部と同様にして、アドレスを部品104に設定する。具体的には、アドレス設定部133aは、アドレス設定ウインドウ103に表示されたアドレスブロック103dをマウスカーソル105によって部品104にドラッグする操作によって、部品104の側に機能一覧ウインドウ(図示せず)を表示し、この機能一覧ウインドウにドロップ操作が行われると、部品104にアドレスを設定する。 Further, the address setting unit 133 a sets an address to the component 104 in the same manner as the address setting unit of the drawing editor described in Patent Document 1. Specifically, the address setting unit 133 a displays a function list window (not shown) on the part 104 side by dragging the address block 103 d displayed in the address setting window 103 to the part 104 with the mouse cursor 105. When a drop operation is performed on this function list window, an address is set for the component 104.
このように、アドレス設定部133aは、部品104をアドレスマップ103cにドラッグ&ドロップする操作が行われるだけで、部品104に設定されているアドレスをアドレスウインドウ106に表示する。これにより、簡単な操作によって部品104に設定されているアドレスを容易に確認することができる。また、アドレスウインドウ106でアドレスが選択されると、アドレスマップ103cにおいて、そのアドレスを含む部分が表示される。これにより、部品104に設定されているアドレスを容易に確認することができるとともに、部品104に設定されているアドレスをアドレスマップ103cの設定位置の周辺位置におけるアドレスに容易に変更することができる。 As described above, the address setting unit 133a displays the address set in the component 104 on the address window 106 only by performing an operation of dragging and dropping the component 104 onto the address map 103c. Thereby, the address set to the component 104 can be easily confirmed by a simple operation. When an address is selected in the address window 106, a part including the address is displayed in the address map 103c. As a result, the address set for the component 104 can be easily confirmed, and the address set for the component 104 can be easily changed to an address at a peripheral position of the set position of the address map 103c.
アドレス設定部133aは、上記のように、部品に対するアドレスの確認および設定を行うが、ラダー記号に対しても、同様にアドレスの確認および設定を行う。続いて、アドレス設定部133aの当該機能について説明する。 As described above, the address setting unit 133a confirms and sets an address for a component, and similarly confirms and sets an address for a ladder symbol. Next, the function of the address setting unit 133a will be described.
まず、ラダーエディタ132が起動した状態で、図3(a)に示すように、作業ウインドウ201が開かれ、さらに作業ウインドウ201内にラダーウインドウ202が開かれている。アドレス設定部133aは、この状態で、アドレス設定ウインドウ203を開く操作がユーザによって行われると、アドレス設定ウインドウ203を作業ウインドウ201内に開く。 First, in a state where the ladder editor 132 is activated, as shown in FIG. 3A, the work window 201 is opened, and further, the ladder window 202 is opened in the work window 201. In this state, the address setting unit 133a opens the address setting window 203 in the work window 201 when an operation for opening the address setting window 203 is performed by the user.
アドレス設定ウインドウ203は、アドレスタイプ設定ボックス203a、表示アドレス入力ボックス203bおよびアドレスマップ203cを含んでいる。アドレス設定ウインドウ203は、アドレスタイプ設定ボックス203a、表示アドレス入力ボックス203bおよびアドレスマップ203cは、それぞれ前述のアドレスタイプ設定ボックス103a、表示アドレス入力ボックス103bおよびアドレスマップ103cと同等の機能を有している。よって、ここでは、これらの説明を省略する。 The address setting window 203 includes an address type setting box 203a, a display address input box 203b, and an address map 203c. In the address setting window 203, the address type setting box 203a, the display address input box 203b, and the address map 203c have the same functions as the address type setting box 103a, the display address input box 103b, and the address map 103c, respectively. . Therefore, these descriptions are omitted here.
アドレス設定部133aは、図3(a)に示すように、ラダーウインドウ202に表示されているラダープログラムにおけるラダー記号204をマウスカーソル205によってアドレスマップ203cにドラッグしてドロップする操作が行われると、アドレスウインドウ206を表示する。アドレスウインドウ206は、ラダー記号204に設定されているアドレスとそのタイプとを含んでいる。アドレス設定部133aは、上記の操作が行われると、現在、ラダーウインドウ202に表示されているラダープログラムが展開されている作業メモリ11aから、ラダー記号204に属性として設定されているアドレスとそのタイプとを読み出してアドレスウインドウ206に表示する。また、アドレス設定部133aは、ラダー記号204に設定されているアドレスを示すアドレスブロック203dを赤色表示から青色表示に切り替える。これにより、ラダー記号204に設定されているアドレスを容易に判別することができる。 When the address setting unit 133a performs an operation of dragging and dropping the ladder symbol 204 in the ladder program displayed in the ladder window 202 to the address map 203c with the mouse cursor 205 as shown in FIG. An address window 206 is displayed. The address window 206 includes the address set in the ladder symbol 204 and its type. When the above operation is performed, the address setting unit 133a, from the work memory 11a in which the ladder program currently displayed in the ladder window 202 is expanded, the address set as an attribute to the ladder symbol 204 and its type Are displayed on the address window 206. Further, the address setting unit 133a switches the address block 203d indicating the address set in the ladder symbol 204 from red display to blue display. Thereby, the address set in the ladder symbol 204 can be easily determined.
また、アドレス設定部133aは、図3(b)に示すように、マウスカーソル205によって指示されてクリック操作によってアドレスウインドウ206に表示されているアドレスの中から1つのアドレスが選択されると、当該アドレスを含む領域までアドレスマップ203cを自動的にスクロールして表示する。これにより、表示アドレス入力ボックス203bにアドレスを入力することなく、ラダー記号204に設定されているアドレスのうち、アドレスマップ203cにおける所望のアドレスの設定位置を確認することができる。 Further, as shown in FIG. 3B, when one address is selected from the addresses displayed in the address window 206 by a click operation, the address setting unit 133a is instructed by the mouse cursor 205. The address map 203c is automatically scrolled and displayed to the area including the address. Thereby, it is possible to confirm the set position of a desired address in the address map 203c among the addresses set in the ladder symbol 204 without inputting the address in the display address input box 203b.
さらに、アドレス設定部133aは、特許文献1に記載された作画エディタのアドレス設定部と同様にして、アドレスをラダー記号204に設定する。具体的には、アドレス設定部133aは、アドレス設定ウインドウ203に表示されたアドレスブロック203dをマウスカーソル205によってラダー記号204にドラッグする操作によって、ラダー記号204の側に機能一覧ウインドウ(図示せず)を表示し、この機能一覧ウインドウにドロップ操作が行われると、ラダー記号204にアドレスを設定する。 Further, the address setting unit 133a sets the address to the ladder symbol 204 in the same manner as the address setting unit of the drawing editor described in Patent Document 1. Specifically, the address setting unit 133a is configured to drag the address block 203d displayed in the address setting window 203 to the ladder symbol 204 with the mouse cursor 205, so that a function list window (not shown) is displayed on the ladder symbol 204 side. When a drop operation is performed on this function list window, an address is set in the ladder symbol 204.
このように、アドレス設定部133aは、ラダー記号204をアドレスマップ203cにドラッグ&ドロップする操作が行われるだけで、ラダー記号204に設定されているアドレスをアドレスウインドウ206に表示する。これにより、簡単な操作によってラダー記号204に設定されているアドレスを容易に確認することができる。また、アドレスウインドウ206でアドレスが選択されると、アドレスマップ203cにおいて、そのアドレスを含む部分が表示される。これにより、ラダー記号204に設定されているアドレスを容易に確認することができるとともに、ラダー記号204に設定されているアドレスをアドレスマップ203cの設定位置の周辺位置におけるアドレスに容易に変更することができる。 As described above, the address setting unit 133a displays the address set in the ladder symbol 204 on the address window 206 only by performing an operation of dragging and dropping the ladder symbol 204 onto the address map 203c. As a result, the address set in the ladder symbol 204 can be easily confirmed by a simple operation. When an address is selected in the address window 206, a part including the address is displayed in the address map 203c. As a result, the address set in the ladder symbol 204 can be easily confirmed, and the address set in the ladder symbol 204 can be easily changed to an address at a peripheral position of the set position of the address map 203c. it can.
続いて、カラー設定部133bについて説明する。 Next, the color setting unit 133b will be described.
カラー設定部133bは、部品に対して色を設定するだけではなく、画面エディタ131が起動しているときに部品に設定されているアドレスを表示する機能を備えている。 The color setting unit 133b has a function of not only setting a color for a part, but also displaying an address set for the part when the screen editor 131 is activated.
まず、画面エディタ131が起動した状態で、図4(a)に示すように、作業ウインドウ301が開かれ、さらに作業ウインドウ301内に作画ウインドウ302が開かれている。カラー設定部133bは、この状態で、カラー設定ウインドウ303を開く操作がユーザによって行われると、カラー設定ウインドウ303を作業ウインドウ301内に開く。 First, with the screen editor 131 activated, a work window 301 is opened as shown in FIG. 4A, and a drawing window 302 is opened in the work window 301. In this state, the color setting unit 133b opens the color setting window 303 in the work window 301 when an operation for opening the color setting window 303 is performed by the user.
カラー設定ウインドウ303は、色タイプ切替スイッチ303a、パレットタイプ設定ボックス303bおよびカラーパレット303cを含んでいる。 The color setting window 303 includes a color type changeover switch 303a, a palette type setting box 303b, and a color palette 303c.
色タイプ切替スイッチ303aは、カラーパレット303cの色のタイプとして、256色表示の「カラー」または12階調のモノクロ表示の「モノクロ」のいずれかを選択して設定するために設けられているラジオボタンである。カラー設定部133bは、「カラー」が選択されると、256色表示対応のカラーパレット303cを表示し、「モノクロ」が選択されると、12階調モノクロのカラーパレット303cを表示する。 The color type change-over switch 303a is a radio provided to select and set “color” of 256 color display or “monochrome” of 12 gradation monochrome display as the color type of the color palette 303c. Button. When “Color” is selected, the color setting unit 133b displays a color palette 303c that can display 256 colors. When “Monochrome” is selected, the color setting unit 133b displays a 12-tone monochrome color palette 303c.
パレットタイプ設定ボックス303bは、カラーパレット303cのタイプとして、「色コード順」に配列されたカラーパレット303cまたは「色相順」に配列されたカラーパレット303cのいずれかを選択するために設けられているスピンボックスである。パレットタイプ設定ボックス303bによるパレットタイプの選択は、色タイプ切替スイッチ303aにて「カラー」が選択されている場合のみ有効となる。 The palette type setting box 303b is provided to select either the color palette 303c arranged in “color code order” or the color palette 303c arranged in “hue order” as the type of the color palette 303c. It is a spin box. The selection of the palette type by the palette type setting box 303b is valid only when “color” is selected by the color type selector switch 303a.
カラーパレット303cは、色タイプ切替スイッチ303aおよびパレットタイプ設定ボックス303bで選択されたタイプで配列された色をカラーセル303d(ブロック)として表示する。 The color palette 303c displays colors arranged in the type selected by the color type changeover switch 303a and the palette type setting box 303b as a color cell 303d (block).
カラー設定部133bは、図4(a)に示すように、作画ウインドウ302に表示されている画面における部品304をマウスカーソル305によってカラーパレット303cにドラッグしてドロップする操作が行われると、図4(b)に示すように、カラー属性リストウインドウ306を表示する。カラー属性リストウインドウ306は、部品304に設定されている色を含んでいる。部品304に設定される色としては、部品304そのものの色だけでなく、部品304に設けられた枠(設けられている場合のみ)の色、部品304に設けられた文字(設けられている場合のみ)の色、および部品304の背景(設けられている場合のみ)の色が用意される。カラー設定部133bは、上記の操作が行われると、現在、作画ウインドウ302に表示されている画面が画面データとして展開されている作業メモリ11aから、部品304に属性として設定されているカラー属性を読み出して、カラー属性リストウインドウ306に表示する。また、カラー設定部133bは、図4(b)に示すように、マウスカーソル305によって指示されてクリック操作によってカラー属性リストウインドウ306に表示されている部品の設定部分の中から1つの部品の設定部分が選択されると、その選択された設定部分の色を示すカラーセル303dの周囲に縁取りを施して表示する。これにより、部品304に設定されている色を容易に判別することができる。 As shown in FIG. 4A, when the color setting unit 133b performs an operation of dragging and dropping the component 304 on the screen displayed in the drawing window 302 to the color palette 303c with the mouse cursor 305, the operation shown in FIG. As shown in (b), a color attribute list window 306 is displayed. The color attribute list window 306 includes colors set for the component 304. The color set for the component 304 is not only the color of the component 304 itself, but also the color of the frame provided in the component 304 (only when provided), and the character provided in the component 304 (when provided) Only) and the background color of the component 304 (only when provided) are prepared. When the above operation is performed, the color setting unit 133b changes the color attribute set as an attribute to the component 304 from the work memory 11a in which the screen currently displayed in the drawing window 302 is expanded as screen data. It is read out and displayed in the color attribute list window 306. Further, as shown in FIG. 4B, the color setting unit 133b sets one component from among the setting portions of the components indicated by the mouse cursor 305 and displayed in the color attribute list window 306 by a click operation. When a part is selected, the color cell 303d indicating the color of the selected setting part is displayed with a border. As a result, the color set for the component 304 can be easily determined.
さらに、カラー設定部133bは、カラー属性リストウインドウ306を用いて色を部品304に設定する。具体的には、カラー設定部133bは、図5(a)に示すように、カラーパレット303cに表示されたカラーセル303dをマウスカーソル305によって部品304にドラッグする操作によって、部品304の側にカラー属性リストウインドウ306を表示し、このカラー属性リストウインドウ306の色設定の部分にドロップ操作が行われると、図5(b)に示すように、部品304に上記のカラーセル303dの色を設定する。 Further, the color setting unit 133 b sets the color to the component 304 using the color attribute list window 306. Specifically, as illustrated in FIG. 5A, the color setting unit 133 b moves the color cell 303 d displayed on the color palette 303 c to the component 304 by dragging the color cell 303 d to the component 304 with the mouse cursor 305. When the attribute list window 306 is displayed and a drop operation is performed on the color setting portion of the color attribute list window 306, the color of the color cell 303d is set in the component 304 as shown in FIG. 5B. .
このように、カラー設定部133bは、部品304をカラーパレット303cにドラッグ&ドロップする操作が行われるだけで、部品304に設定されている色をカラー属性リストウインドウ306に表示する。これにより、簡単な操作によって部品304に設定されている色を容易に確認することができる。また、カラー属性リストウインドウ306で色が選択されると、カラーパレット303cにおいて、そのカラーセル303dが縁取り表示(強調表示)されるので、部品304に設定されている色を容易に確認することができる。 As described above, the color setting unit 133b displays the color set for the component 304 in the color attribute list window 306 only by dragging and dropping the component 304 to the color palette 303c. As a result, the color set for the component 304 can be easily confirmed by a simple operation. Further, when a color is selected in the color attribute list window 306, the color cell 303d is outlined (highlighted) in the color palette 303c, so that the color set for the component 304 can be easily confirmed. it can.
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims. That is, embodiments obtained by combining technical means appropriately changed within the scope of the claims are also included in the technical scope of the present invention.
本発明のエディタ装置は、プログラマブル表示器などに表示する画面に含まれる部品やシーケンスプログラムに含まれる命令記号に設定された属性を容易に確認することができるので、当該属性を変更する作業を効率的に行うことが可能となり、プログラマブル表示器等を含む制御システムの開発に好適に利用できる。 Since the editor device of the present invention can easily confirm the attribute set in the instruction symbol included in the part or sequence program included in the screen displayed on the programmable display or the like, the work of changing the attribute is efficient. And can be suitably used for developing a control system including a programmable display.
1 エディタコンピュータ(エディタ装置)
13 エディタ部
101 作業ウインドウ
102 作画ウインドウ
103 アドレス設定ウインドウ
104 部品(表示要素)
106 アドレスウインドウ
131 画面エディタ
132 ラダーエディタ
133 属性設定部
133a アドレス設定部(属性一覧表示手段,設定属性表示手段)
133b カラー設定部(属性一覧表示手段,設定属性表示手段)
201 作業ウインドウ
202 ラダーウインドウ
203 アドレス設定ウインドウ
204 ラダー記号(表示要素)
206 アドレスウインドウ
301 作業ウインドウ
302 作画ウインドウ
303 アドレス設定ウインドウ
304 部品(表示要素)
306 カラー属性リストウインドウ
1. Editor computer (editor device)
13 Editor 101 Work Window 102 Drawing Window 103 Address Setting Window 104 Parts (Display Elements)
106 Address window 131 Screen editor 132 Ladder editor 133 Attribute setting unit 133a Address setting unit (attribute list display means, setting attribute display means)
133b Color setting section (attribute list display means, setting attribute display means)
201 Work Window 202 Ladder Window 203 Address Setting Window 204 Ladder Symbol (Display Element)
206 Address Window 301 Work Window 302 Drawing Window 303 Address Setting Window 304 Parts (Display Elements)
306 Color attribute list window
Claims (6)
前記アプリケーションデータを作成する主表示領域と隣接して設けられた属性表示領域に、前記表示要素に設定するための特定の属性の一覧を表示する属性一覧表示手段と、
前記主表示領域に表示された前記表示要素のうち選択された表示要素を前記属性表示領域へドラッグする操作によって、当該表示要素に設定されている属性を表示する設定属性表示手段とを備えていることを特徴とするエディタ装置。 In an editor device for creating application data including display elements,
Attribute list display means for displaying a list of specific attributes for setting in the display element in an attribute display area provided adjacent to a main display area for creating the application data;
Setting attribute display means for displaying an attribute set in the display element by an operation of dragging a display element selected from the display elements displayed in the main display area to the attribute display area; An editor device characterized by that.
前記設定属性表示手段は前記選択された表示要素に設定された前記アドレスを識別表示することを特徴とする請求項1に記載のエディタ装置。 The attribute is an address that specifies the memory area where the data is read and written;
2. The editor apparatus according to claim 1, wherein the setting attribute display means identifies and displays the address set in the selected display element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007085841A JP4970105B2 (en) | 2007-03-28 | 2007-03-28 | Editor device and editor program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007085841A JP4970105B2 (en) | 2007-03-28 | 2007-03-28 | Editor device and editor program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008243061A true JP2008243061A (en) | 2008-10-09 |
JP4970105B2 JP4970105B2 (en) | 2012-07-04 |
Family
ID=39914282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007085841A Active JP4970105B2 (en) | 2007-03-28 | 2007-03-28 | Editor device and editor program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4970105B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102555223B1 (en) | 2016-11-14 | 2023-07-12 | 엘에스일렉트릭(주) | Apparatus for editing object |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09185543A (en) * | 1995-12-28 | 1997-07-15 | Fujitsu Ltd | Multimedia information processing equipment |
JPH1125285A (en) * | 1997-07-02 | 1999-01-29 | Mutoh Ind Ltd | Input system of graphic element |
JPH11308539A (en) * | 1998-04-23 | 1999-11-05 | Sony Corp | Broadcast receiver and recording medium |
JP2000047775A (en) * | 1998-07-28 | 2000-02-18 | Digital Electronics Corp | Display screen generation support device for program type display device |
JP2000268201A (en) * | 1999-03-15 | 2000-09-29 | Sony Corp | Device and method for making display element to be stereoscopic |
JP2001266171A (en) * | 2000-03-23 | 2001-09-28 | Digital Electronics Corp | Plotting device and computer-readable recording medium with plotting program recorded thereon |
-
2007
- 2007-03-28 JP JP2007085841A patent/JP4970105B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09185543A (en) * | 1995-12-28 | 1997-07-15 | Fujitsu Ltd | Multimedia information processing equipment |
JPH1125285A (en) * | 1997-07-02 | 1999-01-29 | Mutoh Ind Ltd | Input system of graphic element |
JPH11308539A (en) * | 1998-04-23 | 1999-11-05 | Sony Corp | Broadcast receiver and recording medium |
JP2000047775A (en) * | 1998-07-28 | 2000-02-18 | Digital Electronics Corp | Display screen generation support device for program type display device |
JP2000268201A (en) * | 1999-03-15 | 2000-09-29 | Sony Corp | Device and method for making display element to be stereoscopic |
JP2001266171A (en) * | 2000-03-23 | 2001-09-28 | Digital Electronics Corp | Plotting device and computer-readable recording medium with plotting program recorded thereon |
Also Published As
Publication number | Publication date |
---|---|
JP4970105B2 (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4322770B2 (en) | Screen creation device, screen creation program, and recording medium recording the same | |
JP4485326B2 (en) | PROGRAMMABLE DISPLAY, DISPLAY CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
JP3835589B2 (en) | Drawing device and computer-readable recording medium recording drawing program | |
JP2003044108A (en) | Registering device for editor, registering program, and recording medium where the same is recorded | |
JP4322780B2 (en) | Screen creation device, screen creation program and recording medium | |
JP4970105B2 (en) | Editor device and editor program | |
JP4266334B2 (en) | Ladder program macro creation device, ladder program macro creation method, ladder program macro creation program, and computer-readable recording medium | |
JP4476223B2 (en) | Screen data creation device, screen data editing method, and screen data editing program | |
JP3913414B2 (en) | Editor device and recording medium recording editor program | |
JP2006099566A (en) | Screen forming device, screen forming program and storage medium recording the same | |
JP4851390B2 (en) | Editor device and editor program | |
JP3712913B2 (en) | Display drawing device | |
JP4381793B2 (en) | PROGRAMMABLE DISPLAY, DISPLAY CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP4429990B2 (en) | SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP4970404B2 (en) | Editor device and program | |
JP3795473B2 (en) | Editor device and recording medium recording editor program | |
JP4515434B2 (en) | Unit information setting device, unit information setting program, and recording medium recording the same | |
JP4372739B2 (en) | PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP2006099573A (en) | Screen forming device, screen forming program and storage medium recording the same | |
JP2006134098A (en) | Programmable display, display control program, and recording medium with the program recorded thereon | |
JP2006099572A (en) | Screen forming device, screen forming program and storage medium recording the same | |
JP2007094724A (en) | Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program | |
JP2007065914A (en) | Screen generation device and program, and recording medium recording program | |
JP2006285496A (en) | Programmable display, display control program, and recording medium recording the same | |
JP2007065910A (en) | Screen preparation device, and screen preparation program, and record medium recording its program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090911 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110617 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110705 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110826 |
|
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: 20120327 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120404 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150413 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4970105 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |