JP4515434B2 - Unit information setting device, unit information setting program, and recording medium recording the same - Google Patents

Unit information setting device, unit information setting program, and recording medium recording the same Download PDF

Info

Publication number
JP4515434B2
JP4515434B2 JP2006282057A JP2006282057A JP4515434B2 JP 4515434 B2 JP4515434 B2 JP 4515434B2 JP 2006282057 A JP2006282057 A JP 2006282057A JP 2006282057 A JP2006282057 A JP 2006282057A JP 4515434 B2 JP4515434 B2 JP 4515434B2
Authority
JP
Japan
Prior art keywords
unit
information
interface unit
setting
display
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.)
Active
Application number
JP2006282057A
Other languages
Japanese (ja)
Other versions
JP2008097551A (en
Inventor
昌平 西田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2006282057A priority Critical patent/JP4515434B2/en
Publication of JP2008097551A publication Critical patent/JP2008097551A/en
Application granted granted Critical
Publication of JP4515434B2 publication Critical patent/JP4515434B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

本発明は、インターフェースユニットを有するプログラマブル表示器のインターフェースユニットの設定を容易にするユニット情報設定装置、ユニット情報設定プログラムおよびそれを記録した記録媒体に関するものである。   The present invention relates to a unit information setting device, a unit information setting program, and a recording medium on which a unit information setting program that facilitates setting of an interface unit of a programmable display having an interface unit.

プログラマブル表示器は、ホストコントローラ(PLC、インバータ、温調計等)とのインタフェースを備えており、ホストコントローラに接続されたデバイスの稼働状況を表示したり、デバイスへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。一般に、プログラマブル表示器は、グラフィック表示機能を有するので、操作盤、スイッチ、表示灯などを表示することができ、制御システムにおける操作端末としての役割を果たす。   The programmable display has an interface with the host controller (PLC, inverter, temperature controller, etc.), and displays the operating status of the devices connected to the host controller and gives control instructions to the devices. This is an operation-type display with a function to accept input from the screen. 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.

近年、このようなプログラマブル表示器には、特許文献1に開示されているように、入出力ユニットとI/O制御インターフェースとを備え、さらにシーケンスプログラムを実行する実行環境を備えることにより、PLCと同等の制御機能を備えた機種が登場してきている。また、このような機種では、外部のPLCと通信する機能を省き、各種のインターフェースユニットを外部に装着できる機能を充実させたものも登場してきている(例えば特許文献1)。   In recent years, as disclosed in Patent Document 1, such a programmable display device includes an input / output unit and an I / O control interface, and further includes an execution environment for executing a sequence program. Models with equivalent control functions are emerging. In addition, in such models, there have been some products that omit the function of communicating with an external PLC and have a function that can attach various interface units to the outside (for example, Patent Document 1).

このようなプログラマブル表示器では、インターフェースユニットに応じた適正なデータ通信を行うために、接続されるインターフェースユニットの情報を持っておく必要がある。このため、従来、インターフェースユニットに関する情報は、プログラマブル表示器2に表示させる画面やプログラマブル表示器で実行させるシーケンスプログラムを作成するためのエディタソフトウエアを用いて設定され、プログラマブル表示器にダウンロードされていた。   In such a programmable display, it is necessary to have information on the interface unit to be connected in order to perform appropriate data communication according to the interface unit. For this reason, conventionally, information related to the interface unit has been set using editor software for creating a screen to be displayed on the programmable display 2 and a sequence program to be executed on the programmable display, and has been downloaded to the programmable display. .

また、インターフェースユニットの設定については、プログラマブル表示器ではないが、プログラマブルロジックコントローラ(PLC)に関して特許文献2に開示されている。特許文献2には、周辺装置(プログラミング手段)で設定されたシステム構成をCPUユニットが入出力ユニットの構成を読み取って、メモリに展開される各ユニットの配列を、変更されたI/O割付データとなるように正しい順序に変更することが記載されている。
特開平10−78806号公報(1998年3月24日公開) 特開平10−340108号公報(1998年12月22日公開)
Moreover, although it is not a programmable display about the setting of an interface unit, it is disclosed by patent document 2 regarding the programmable logic controller (PLC). In Patent Document 2, the CPU unit reads the configuration of the input / output unit from the system configuration set by the peripheral device (programming means), and the arrangement of each unit developed in the memory is changed to the changed I / O allocation data. It is described that the order is changed to be correct.
Japanese Patent Laid-Open No. 10-78806 (published March 24, 1998) Japanese Patent Laid-Open No. 10-340108 (released on December 22, 1998)

しかしながら、従来のプログラマブル表示器におけるユニット情報設定方法では、各インターフェースユニット毎に設定用のダイアログボックスが用意されており、設定を変更する度に対応するダイアログボックスを開いたり閉じたりという手間が生じる。また、従来のユニット情報設定方法では、ダイアログボックス上での文字のみによって各設定項目が表示されるだけであるので、ハードウェア構成が全くわからない。これは、特許文献1の設定方法でも同様である。   However, in the unit information setting method in the conventional programmable display, a dialog box for setting is prepared for each interface unit, and it takes time to open and close the corresponding dialog box each time the setting is changed. Further, in the conventional unit information setting method, each setting item is displayed only by characters on the dialog box, so the hardware configuration is not known at all. The same applies to the setting method disclosed in Patent Document 1.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、プログラマブル表示器に接続されるインターフェースユニットに関する情報の設定・変更を容易にすることにある。   The present invention has been made in view of the above-described problems, and an object thereof is to facilitate setting / changing of information related to an interface unit connected to a programmable display.

本発明に係るユニット情報設定装置は、上記の課題を解決するために、複数のインターフェースユニットを外部に連続的に装着可能なプログラマブル表示器に装着される前記インターフェースユニットに関する情報を前記プログラマブル表示器に設定するユニット情報設定装置であって、前記インターフェースユニットに関する情報を設定するための設定画面に、設定された前記インターフェースユニットが前記プログラマブル表示器に装着された状態のイメージを表示する装着イメージ表示手段と、前記装着イメージにおける前記ユニット部分が選択されると、当該ユニット部分に対応する前記インターフェースユニットに関する情報を前記設定画面に表示する情報表示手段とを備えていることを特徴としている。   In order to solve the above-described problem, the unit information setting device according to the present invention provides information related to the interface unit that is mounted on a programmable display capable of continuously mounting a plurality of interface units to the programmable display. A unit information setting device for setting, and a mounting image display means for displaying an image of a state in which the set interface unit is mounted on the programmable display on a setting screen for setting information on the interface unit; And an information display means for displaying information on the interface unit corresponding to the unit portion on the setting screen when the unit portion in the mounted image is selected.

上記の構成では、装着イメージ表示手段によって、設定されたインターフェースユニットがプログラマブル表示器に装着された状態のイメージが設定画面に表示される。これにより、ユーザは、ハードウェア構成とその設定内容を視覚的に容易に確認することができる。また、装着イメージにおけるユニット部分がユーザによって選択されると、情報表示手段によって、当該ユニット部分に対応するインターフェースユニットに関する情報が設定画面に表示される。これにより、1つの設定画面で装着されるインターフェースユニットに関する情報の設定および確認を行うことができる。   In the above configuration, an image of the state in which the set interface unit is mounted on the programmable display is displayed on the setting screen by the mounting image display means. As a result, the user can easily visually confirm the hardware configuration and the setting contents. When the unit portion in the wearing image is selected by the user, information related to the interface unit corresponding to the unit portion is displayed on the setting screen by the information display means. Thereby, it is possible to set and confirm information related to the interface unit mounted on one setting screen.

前記ユニット情報設定装置は、前記インターフェースユニットの前記プログラマブル表示器に対する装着位置を入れ替えるための操作ボタンを前記設定画面に表示するとともに、前記操作ボタンが操作されると、指定されたインターフェースユニットの装着位置の情報を装着位置の入れ替えに応じて変更する位置情報変更手段を備え、前記装着イメージ表示手段が、変更された装着位置の情報に基づいて、前記ユニット部分の配置を入れ替えて表示することが好ましい。   The unit information setting device displays an operation button for switching the mounting position of the interface unit on the programmable display on the setting screen, and when the operation button is operated, the mounting position of the designated interface unit is displayed. It is preferable that the information includes a position information changing unit that changes the information according to the replacement of the mounting position, and the mounting image display unit displays the unit part by switching the arrangement based on the changed mounting position information. .

この構成では、位置情報変更手段によって操作ボタンが表示され、ユーザがその操作ボタンを操作すると、位置情報変更手段によって、指定されたインターフェースユニットの装着位置の情報が装着位置の入れ替えに応じて変更される。また、装着位置の情報が入れ替えられたときには、前記装着イメージ表示手段によって、変更された装着位置の情報に基づいて、ユニット部分の配置が入れ替えて表示される。これにより、インターフェースユニットの装着位置入れ替えを簡単な操作で行うことができ、かつ装着位置の入れ替え後のハードウェア構成も容易に確認することができる。 In this configuration, the operation button is displayed by the position information changing unit, and when the user operates the operation button, the position information changing unit changes the information on the mounting position of the designated interface unit according to the replacement of the mounting position. The Further, when the information on the mounting position is exchanged, the arrangement of the unit portions is exchanged and displayed on the basis of the information on the changed mounting position by the wearing image display means. Thus, it is possible to perform the replacement of the mounting position of the interface unit by a simple operation, and can also be easily confirmed hardware configuration after replacement of the mounting position.

本発明の画面作成プログラムは、前述のいずれかのユニット情報設定装置を動作させるためのユニット情報設定プログラムであって、コンピュータを前記各手段として機能させるプログラムである。また、このユニット情報設定プログラムは、コンピュータ読み取り可能な記録媒体に記録される。これにより、プログラムをコンピュータに読み取らせて実行させることにより前記ユニット情報設定装置を実現することができる。   The screen creation program of the present invention is a unit information setting program for operating any one of the above-described unit information setting devices, and is a program that causes a computer to function as each of the means. The unit information setting program is recorded on a computer-readable recording medium. Thus, the unit information setting device can be realized by causing a computer to read and execute the program.

本発明に係るユニット情報設定装置は、以上のように、インターフェースユニットに関する情報を設定するための設定画面に、設定された前記インターフェースユニットが前記プログラマブル表示器に装着された状態のイメージを表示する装着イメージ表示手段と、前記装着イメージにおける前記ユニット部分が選択されると、当該ユニット部分に対応する前記インターフェースユニットに関する情報を前記設定画面に表示する情報表示手段とを備えている。これにより、1つの設定画面で装着されるインターフェースユニットに関する情報の設定および確認をハードウェア構成を視覚的に確認しながら行うことができる。したがって、インターフェースユニットに関する設定および確認を容易に行うことができるという効果を奏する。   As described above, the unit information setting device according to the present invention is mounted so that an image of a state in which the set interface unit is mounted on the programmable display is displayed on a setting screen for setting information on the interface unit. Image display means, and information display means for displaying information on the interface unit corresponding to the unit part on the setting screen when the unit part in the mounted image is selected. Thereby, setting and confirmation of information regarding the interface unit mounted on one setting screen can be performed while visually confirming the hardware configuration. Therefore, there is an effect that the setting and confirmation regarding the interface unit can be easily performed.

本発明の実施形態を図1ないし図5に基づいて説明すると、以下の通りである。   An embodiment of the present invention will be described with reference to FIGS. 1 to 5 as follows.

図1に示すように、本実施の形態に係るエディタコンピュータ1は、転送ケーブル3を介してプログラマブル表示器2と接続されている。エディタコンピュータ1は、プログラマブル表示器2に表示される画面およびプログラマブル表示器2が実行するロジックプログラムを作成するエディタ装置である。エディタコンピュータ1で作成された画面およびロジックプログラムは、転送ケーブル3を介してプログラマブル表示器2に転送される。   As shown in FIG. 1, an editor computer 1 according to the present embodiment is connected to a programmable display 2 via a transfer cable 3. The editor computer 1 is an editor device that creates a screen displayed on the programmable display 2 and a logic program executed by the programmable display 2. The screen and logic program created by the editor computer 1 are transferred to the programmable display 2 via the transfer cable 3.

まず、ここでプログラマブル表示器2について説明する。   First, the programmable display 2 will be described here.

プログラマブル表示器2は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用の画面データを表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。また、プログラマブル表示器2は、外部にインターフェースユニット4を接続することにより、PLCの制御機能を備えるように構成されている。   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. Moreover, the programmable display 2 is comprised so that the control function of PLC may be provided by connecting the interface unit 4 outside.

プログラマブル表示器2は、HMI/コントローラ部21と、ディスプレイ22と、タッチパネル23と、インターフェース部(図中、I/F)24と、I/O制御インターフェース(図中、I/O・I/F)25と、データメモリ26および作業メモリ27を備えている。   The programmable display 2 includes an HMI / controller unit 21, a display 22, a touch panel 23, an interface unit (I / F in the figure) 24, and an I / O control interface (I / O / I / F in the figure). ) 25, a data memory 26 and a work memory 27.

ディスプレイ22は、プログラマブル表示器2を薄型に構成するために、液晶ディスプレイや、ELディスプレイや、プラズマディスプレイのような平板型ディスプレイが好適に用いられる。タッチパネル23は、ディスプレイ22の表示画上でタッチ入力を行うために設けられている入力装置である。   As the display 22, a flat panel display such as a liquid crystal display, an EL display, or a plasma display is preferably used in order to configure the programmable display device 2 to be thin. The touch panel 23 is an input device provided for performing touch input on the display image of the display 22.

インターフェース部24は、プログラマブル表示器2がエディタコンピュータ1との間の通信を行うための通信制御部であり、転送ケーブル3に接続されている。転送ケーブル3としては、例えばUSBケーブルが用いられる。   The interface unit 24 is a communication control unit for the programmable display device 2 to communicate with the editor computer 1, and is connected to the transfer cable 3. For example, a USB cable is used as the transfer cable 3.

I/O制御インターフェース25は、HMI/コントローラ部21と後述するインターフェースユニット4との間の信号の授受を仲介するインターフェース回路であって、入出力メモリ、D/A変換器、A/D変換器などを備えている。   The I / O control interface 25 is an interface circuit that mediates transmission / reception of signals between the HMI / controller unit 21 and the interface unit 4 described later, and includes an input / output memory, a D / A converter, and an A / D converter. Etc.

インターフェースユニット4は、デバイス5が接続可能となるように、多数の入出力端子、入出力回路などを備えている。このインターフェースユニット4は、接続されるデバイス5などの機器の仕様に応じて異なる機種がプログラマブル表示器2の本体に直接着脱可能に取り付けられる。具体的には、例えば、プログラマブル表示器2の背面に、コネクタ28を介してインターフェースユニット4が装着され、さらに当該インターフェースユニット4に別のインターフェースユニット4が重ねて装着される。このため、各インターフェースユニット4には、両面に接続用のコネクタが設けられている。このようなインターフェースユニット4の装着構造は、例えば前述の特許文献1に開示されているI/Oユニットの装着構造であってもよい。   The interface unit 4 includes a large number of input / output terminals, input / output circuits, and the like so that the device 5 can be connected. The interface unit 4 is detachably attached to the main body of the programmable display device 2 in accordance with the specifications of devices such as the device 5 to be connected. Specifically, for example, the interface unit 4 is attached to the back surface of the programmable display device 2 via the connector 28, and another interface unit 4 is attached to the interface unit 4 in an overlapping manner. For this reason, each interface unit 4 is provided with connectors for connection on both sides. Such a mounting structure of the interface unit 4 may be, for example, the mounting structure of the I / O unit disclosed in Patent Document 1 described above.

また、プログラマブル表示器2は、接続された複数のインターフェースユニット4と個別に通信するために複数のポートを備えている。そして、プログラマブル表示器2は、各ポートを指定するためのポート番号でインターフェースユニット4を特定して通信する。このポート番号は、上記のコネクタに共通して接続されるポート用の信号線を介して各インターフェースユニット4に伝送される。ポート番号は、例えば、プログラマブル表示器2に接続される近い側からポート1、ポート2というように設定される。   Moreover, the programmable display 2 is provided with the some port in order to communicate with the some interface unit 4 connected separately. And the programmable display 2 specifies the interface unit 4 by the port number for designating each port, and communicates. This port number is transmitted to each interface unit 4 via a port signal line commonly connected to the connector. The port numbers are set as, for example, port 1 and port 2 from the side closer to the programmable display 2.

インターフェースユニット4としては、デジタルデータの入出力を行うためのDIOユニットや、アナログ/デジタル変換ユニット、高速カウンタユニット、温度入力ユニットなどが用いられる。プログラマブル表示器2には、装着可能であり、かつ動作を保証しているインターフェースユニット4が予め規定されている。このようなインターフェースユニットを介してデータ通信を行うために、プログラマブル表示器2にドライバソフトウエア(I/Oドライバ)がインストールされる。   As the interface unit 4, a DIO unit for inputting / outputting digital data, an analog / digital conversion unit, a high-speed counter unit, a temperature input unit, or the like is used. The programmable display 2 is preliminarily defined with an interface unit 4 that can be mounted and guarantees the operation. In order to perform data communication via such an interface unit, driver software (I / O driver) is installed in the programmable display 2.

データメモリ26は、画面ファイル、ラダーファイルなどを格納するためのメモリであり、FEPROM(Flash Erasable and Programmable ROM)が用いられる。FEPROMは、書き替え可能な読み出し専用のフラッシュメモリであるので、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。   The data memory 26 is a memory for storing screen files, ladder files, etc., and FEPROM (Flash Erasable and Programmable ROM) is used. Since FEPROM is a rewritable read-only flash memory, it plays the role of a hard disk drive in a general personal computer. A flash memory does not have a movable part and is resistant to impacts, and thus operates stably even in a poor ambient environment.

画面ファイルは、プログラマブル表示器2に表示されるユーザ画面(1フレーム分の画面データによって構成される単位画面)のデータのファイルである。画面データは、ディスプレイ22に表示すべきベース画面や部品のデータおよび各部品に付与された後述する処理規定情報などを含んでいる。この画面データは、図形データ部およびアドレスデータ部を含んでいる。図形データ部は、ユーザが作成したマークについての図形データや、ユーザによって選択された部品のデータを含み、アドレスデータ部は、図形データ部に対応するように、入力されたマークや部品について、前記のアドレスおよびアドレスに対応するコメントを含んでいる。具体的には、図形データ部におけるマークや部品の個々は、アドレスデータ部においてそれぞれ対応するコメントおよびアドレスと対応付けられている。   The screen file is a data file of a user screen (unit screen configured by screen data for one frame) displayed on the programmable display 2. The screen data includes a base screen to be displayed on the display 22, data of parts, processing definition information to be described later assigned to each part, and the like. This screen data includes a graphic data part and an address data part. The graphic data part includes graphic data about the mark created by the user and data of the part selected by the user, and the address data part is about the inputted mark or part so as to correspond to the graphic data part. Address and a comment corresponding to the address. Specifically, each mark or part in the graphic data portion is associated with a corresponding comment and address in the address data portion.

コメントとしては、デバイス5の動作状態(起動、停止等)のような事象名や、スイッチに対応するSWやランプに対応するLAMPのようなデバイス5に対応する符号や、操作指示や、制御対象となる物理量などが挙げられる。また、コメントは、変数として扱うこともできる。このように定義されるコメントは、デバイス5に対応する所望のデバイスアドレスに予め対応付けられている。   Comments include event names such as the operating status (start, stop, etc.) of the device 5, codes corresponding to the device 5 such as SW and lamp corresponding to the switch, LAMP, operation instructions, and control targets The physical quantity that becomes. Comments can also be handled as variables. The comment defined in this way is associated with a desired device address corresponding to the device 5 in advance.

また画面データは、ユーザ画面に関連して行われる各種の処理を規定する処理規定情報(タグ)を含んでいる。この処理規定情報は、ベース画面上で実行されるべき事象毎に作成されており、基本的には、表示処理を実行すべきベース画面のファイル番号(画面番号)と、このベース画面上で実行すべき動作内容を特定する事象名と、各実行事象毎に参照される1または複数のデータからなる参照情報とを一組として備えている。   The screen data includes process definition information (tag) that defines various processes performed in relation to the user screen. This processing specification information is created for each event to be executed on the base screen. Basically, the file number (screen number) of the base screen on which the display processing is to be executed and the base screen are executed. An event name for specifying the operation content to be performed and reference information including one or a plurality of data referred to for each execution event are provided as a set.

本実施の形態に係るプログラマブル表示器2では、上記のタグとして、ベース画面上の領域(表示範囲)とその領域への表示に対応するデバイスのデバイスアドレスとの対応を示す表示タグ、および画面上の領域(入力範囲)とその領域へのタッチ入力に対応するアドレスとの対応を示すタッチ入力タグが規定されている。さらに、本実施形態では、各タグは、複数のユーザ画面の少なくとも1つと関連付けることができる。   In the programmable display device 2 according to the present embodiment, as the above-described tag, a display tag indicating the correspondence between the region (display range) on the base screen and the device address of the device corresponding to the display in the region, and the screen A touch input tag indicating the correspondence between an area (input range) and an address corresponding to a touch input to the area is defined. Furthermore, in this embodiment, each tag can be associated with at least one of a plurality of user screens.

ラダーファイルは、HMI/コントローラ部21が実行するラダープログラムのファイルであり、エディタコンピュータ1で作成される。このラダーファイルは、コマンドデータ部およびアドレスデータ部を含んでいる。コマンドデータ部は、入力されたラダー記号に対応するラダー命令をそれぞれに対応する、コーディングに用いるオペランド(アドレス)を含んでいる。ラダープログラム作成時に選択されたラダー記号は、ラダーファイルにおいてラダー命令として保存される。一方、アドレスデータ部は、コマンドデータ部のオペランドと個々に対応するように、入力されたラダー記号に対応するラダー命令について、ラダーエディタで設定されたアドレスおよびアドレスに関連付けられた前述のコメントを含んでいる。   The ladder file is a ladder program file executed by the HMI / controller unit 21 and is created by the editor computer 1. This ladder file includes a command data part and an address data part. The command data portion includes operands (addresses) used for coding corresponding to ladder instructions corresponding to the input ladder symbols. The ladder symbol selected when creating the ladder program is saved as a ladder command in the ladder file. On the other hand, the address data part includes the address set in the ladder editor and the above-mentioned comment associated with the ladder instruction corresponding to the input ladder symbol so as to correspond to the operand of the command data part. It is out.

作業メモリ27は、例えば、DRAMによって構成されており、表示制御やラダープログラムの実行などの演算処理時の作業用に用いられる他、取得したデバイス5のデータの一時的な記憶に用いられる。また、作業メモリ27は、ディスプレイ22に表示する画像を展開するVRAMも含んでいる。このVRAMには、データメモリ26から読み出された画面データのイメージを水平方向に表示される順にドットデータとして格納する。   The work memory 27 is composed of, for example, a DRAM and is used for work during arithmetic processing such as display control and execution of a ladder program, and is used for temporary storage of acquired data of the device 5. The work memory 27 also includes a VRAM that develops an image to be displayed on the display 22. In this VRAM, the image of the screen data read from the data memory 26 is stored as dot data in the order displayed in the horizontal direction.

HMI/コントローラ部21は、HMI(Hunam Machine Interface)機能および制御機能を実現するために、制御の中心として設けられている。このHMI/コントローラ部21は、プログラムを実行することによって実現される機能ブロックである。   The HMI / controller unit 21 is provided as the center of control in order to realize an HMI (Hunam Machine Interface) function and a control function. The HMI / controller unit 21 is a functional block realized by executing a program.

HMI/コントローラ部21は、後述する処理規定情報(タグ)を組み合わせて決定される画面データに基づいて、プログラマブル表示器2にインターフェースユニット4を介して接続されるデバイス5の状態を画面表示するときの動作や、画面への操作に応じてデバイス5の状態を制御するときの動作を特定する。また、HMI/コントローラ部21は、インターフェースユニット4を介した通信によってデバイス5の状態を取得し、ディスプレイ22に表示される画面上に各デバイス5の状態を描画表示する機能を有する。また、HMI/コントローラ部21は、タッチパネル23への操作に応じて、デバイスへ制御を指示する機能を有する。   When the HMI / controller unit 21 displays a screen of the state of the device 5 connected to the programmable display 2 via the interface unit 4 based on screen data determined by combining processing definition information (tag) described later. And the operation when the state of the device 5 is controlled in accordance with the operation on the screen. Further, the HMI / controller unit 21 has a function of acquiring the state of the device 5 by communication via the interface unit 4 and drawing and displaying the state of each device 5 on the screen displayed on the display 22. Further, the HMI / controller unit 21 has a function of instructing control to the device in accordance with an operation on the touch panel 23.

プログラマブル表示器2は、デバイス5の状態(状態データ)を例えば作業メモリ27の特定の領域(状態メモリ領域)に保有している。HMI/コントローラ部21は、デバイス5の状態データを取得するとき、状態メモリ領域において、ユーザによって予め設定された変数で指定して読み取る。また、HMI/コントローラ部21は、デバイス5に制御指示(状態データの変更指示)を与えるとき、状態メモリ領域において、上記の変数で指定して状態データを書き替えた上で、デバイス5に送信する。   The programmable display 2 holds the state (state data) of the device 5 in a specific area (state memory area) of the work memory 27, for example. When acquiring the state data of the device 5, the HMI / controller unit 21 reads it by designating it with a variable preset by the user in the state memory area. Also, when giving a control instruction (state data change instruction) to the device 5, the HMI / controller unit 21 rewrites the state data specified by the above variables in the state memory area, and then transmits it to the device 5. To do.

インターフェースユニット4の各入出力端子に接続されるデバイス5とは直接対応付けられておらず、上記の変数を介して対応付けられている。これにより、HMI/コントローラ部21は、状態データを変数のデータ(変数データ)として保有することになり、変数を指定することで、状態データの取得や状態データの変更を行うことができる。   The device 5 connected to each input / output terminal of the interface unit 4 is not directly associated with each other, but is associated with the above variable. As a result, the HMI / controller unit 21 holds the state data as variable data (variable data), and by specifying the variable, the state data can be acquired or the state data can be changed.

また、HMI/コントローラ部21は、ラダープログラムの実行といったコントローラ機能の中心的な制御動作を行う。具体的には、HMI/コントローラ部21は、ラダープログラムを実行することに先立って、データメモリ26からラダーファイルを読み出して作業メモリ14にラダープログラムとして展開して数十msなどの予め定められた周期でスキャンすることにより、ラダー命令を一つずつ実行していく。   The HMI / controller unit 21 performs a central control operation of the controller function such as execution of a ladder program. Specifically, prior to executing the ladder program, the HMI / controller unit 21 reads a ladder file from the data memory 26 and develops it as a ladder program in the work memory 14 to determine a predetermined number such as several tens of ms. Ladder instructions are executed one by one by scanning in cycles.

上記のHMI/コントローラ部21を実現するためのプログラムは、プログラマブル表示器2と分離可能に構成される記録媒体にも記録可能であり、その記録媒体からプログラマブル表示器2にインストールされてもよい。当該プログラムは、プログラマブル表示器2の機種に応じた機能を発揮させるために、機種毎に個別に用意されている。   The program for realizing the HMI / controller unit 21 can be recorded on a recording medium configured to be separable from the programmable display 2 and may be installed in the programmable display 2 from the recording medium. The program is prepared individually for each model in order to exhibit a function corresponding to the model of the programmable display 2.

上記の記録媒体は、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。   The above recording media include tape systems such as magnetic tapes and cassette tapes, magnetic disk systems such as flexible disks and hard disks, optical disk systems such as CD-ROM, MO, MD, and DVD, IC cards (including memory cards), optical A card system such as a card is preferred. 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.

また、プログラマブル表示器2が、インターネットを含む通信ネットワークと接続可能に構成されていれば、当該通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めプログラマブル表示器2に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。   Further, if the programmable display device 2 is configured to be 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 advance in the programmable display 2 or may be installed from another recording medium.

続いて、エディタコンピュータ1について説明する。   Next, the editor computer 1 will be described.

エディタコンピュータ1は、CPU、メモリ(RAM、ROMなど)、外部記憶装置(ハードディスクドライブ、MOドライブなど)、表示装置および入力装置(キーボード、マウスなど)を有するパーソナルコンピュータによって構成されている。また、エディタコンピュータ1は、制御部11、インターフェース部(図中、I/F)12、画面エディタ部13およびデータ記憶部14を備えている。   The editor computer 1 is constituted by a personal computer having 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.). The editor computer 1 includes a control unit 11, an interface unit (I / F in the figure) 12, a screen editor unit 13, and a data storage unit 14.

インターフェース部12は、プログラマブル表示器2との間の通信を行うための通信制御部であり、転送ケーブル3に接続されている。   The interface unit 12 is a communication control unit for performing communication with the programmable display 2 and is connected to the transfer cable 3.

制御部11は、ハードウエア(CPUやメモリなど)およびソフトウエア(オペレーティングシステムなど)によって実現される機能ブロックであり、アプリケーションプログラムの実行や周辺機器の動作を制御する部分である。制御部11は、その機能を果たすために作業メモリ11aを有している。作業メモリ11aは、RAMなどによって構成され、画面ファイルやラダーファイルを展開するためなどに用いられる。   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 constituted by a RAM or the like, and is used for developing a screen file or a ladder file.

また、制御部11は、アプリケーションプログラムであるエディタソフトウエアを実行することにより、エディタ部13を実現する。エディタ部13は、エディタコンピュータ1と分離可能に構成される記録媒体に記録され、この記憶媒体からエディタコンピュータ1にインストールすることが可能である。また、エディタコンピュータ1は、後述するように、インターフェースユニット4に関する情報を設定する機能を有するエディタ部13を備えることによりユニット情報設定装置として機能する。   Moreover, the control part 11 implement | achieves the editor part 13 by running the editor software which 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. Further, as will be described later, the editor computer 1 functions as a unit information setting device by including an editor unit 13 having a function of setting information regarding the interface unit 4.

上記の記録媒体(プログラムメディア)は、コンピュータに読み取り可能な記録媒体であり、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、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.

エディタ部13は、ユーザ独自の画面であるユーザ画面の作成を支援するように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品、各種のタグ設定機能、描画機能、テキスト入力機能などを備えている。部品としては、単一の機能を有する部品だけでなく、複数の機能を有する、複合スイッチ、カウンタ、タイマといった複合機能を有する部品が用意されている。部品は、ユーザが容易に選択できるようにライブラリ形式で登録されており、部品の機能に応じた入力タグや表示タグなどが予め付与されている。描画機能は、直線や曲線の線図形を描画したり、各種のグラフ、円、四角形、三角形などの基本図形の描画および図形内の指定色や模様による塗りつぶしを行ったりするための機能である。   The editor unit 13 includes components such as switches, lamps, numeric keys, and various displays (for example, a numerical display, a meter display, and a graph display) and various types so as to support the creation of a user screen that is a screen unique to the user. Tag setting function, drawing function, text input function, etc. 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. The components are registered in a library format so that the user can easily select them, and input tags, display tags, and the like corresponding to the functions of the components are assigned 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.

上記のタグは、処理規定情報として画面データに含まれており、ベース画面上で実行されるべき事象毎に作成されている。この処理規定情報は、基本的には、表示制御動作を実行すべきベース画面のファイル番号と、このベース画面上で実行すべき動作内容を特定する事象名と、各実行事象毎に参照される1または複数のデータからなる参照情報とを一組として備えている。   The above tag is included in the screen data as processing definition information, and is created for each event to be executed on the base screen. This processing specification information is basically referenced for each execution event, the file number of the base screen on which the display control operation is to be executed, the event name that specifies the operation content to be executed on this base screen, and so on. One set of reference information including one or a plurality of data is provided.

エディタ部13は、デバイス5が所望のシーケンスにしたがって動作するように制御手順を定めるシーケンスプログラム(ロジックプログラム)であるラダープログラムの作成を支援する。このエディタ部13は、エディタコンピュータ1の図示しないディスプレイの表示画面上でデバイス5に対応するラダー記号や演算処理などの各種処理を表すラダー記号を配置してラダー図形式でラダープログラムを作成できるように構成されている。   The editor unit 13 supports creation of a ladder program that is a sequence program (logic program) that determines a control procedure so that the device 5 operates in accordance with a desired sequence. The editor unit 13 can create a ladder program in the form of a ladder diagram by arranging ladder symbols corresponding to the device 5 and ladder symbols representing various processes such as arithmetic processing on a display screen (not shown) of the editor computer 1. It is configured.

また、エディタ部13は、インターフェースユニット4の各入出力端子に接続されるデバイス5についてユーザにより設定されたコメント(変数)との対応付けを入出力番号の割り付け(I/O割り付け)として行う。この割り付けの結果は、ラダープログラムの一部としてラダーファイルに保存される。   The editor unit 13 associates the device 5 connected to each input / output terminal of the interface unit 4 with a comment (variable) set by the user as an input / output number assignment (I / O assignment). The result of this allocation is stored in a ladder file as part of the ladder program.

従来、PLCにおけるこのような割り付けは、PLCのメーカによって異なっており、絶対アドレスで設定されるので、メーカに応じたメモリテーブルを用意する必要がある。ただし、国際基準IECに準拠したエディタ13は、コメントのような変数(自由変数)によってユーザが入出力を決定できるので、上記のメモリテーブルは不要である。また、一度決定した割り付けも、後に変更することができる。このように、変数を用いることにより、PLCの機種に依存した属性を考慮することなく、I/O割り付けを行うことができる。   Conventionally, such allocation in the PLC differs depending on the manufacturer of the PLC, and is set with an absolute address. Therefore, it is necessary to prepare a memory table according to the manufacturer. However, the editor 13 compliant with the international standard IEC does not need the above memory table because the user can determine input / output by a variable (free variable) such as a comment. Moreover, the allocation once determined can be changed later. In this way, by using variables, it is possible to perform I / O allocation without considering attributes dependent on the PLC model.

エディタ部13は、使用するインターフェースユニット4についての各種の設定を行うためにユニット設定部131を含んでいる。このユニット設定部131は、ユニット情報設定部131aおよび接続位置変更部131bを有している。   The editor unit 13 includes a unit setting unit 131 for performing various settings for the interface unit 4 to be used. The unit setting unit 131 includes a unit information setting unit 131a and a connection position changing unit 131b.

なお、ここでは、2つのインターフェースユニット4が接続される例について説明する。   Here, an example in which two interface units 4 are connected will be described.

ユニット設定部131は、上記の設定を行うために図2(a)に示すようなI/Oドライバ設定ダイアログボックス101をユーザインターフェースとして表示する。このI/Oドライバ設定ダイアログボックス101は、使用されるインターフェースユニット4およびそれに応じたI/Oドライバを設定するために設けられており、ユニット装着イメージ102と、ユニット情報表示部103と、ユニット操作ボタン104を有している。   The unit setting unit 131 displays an I / O driver setting dialog box 101 as shown in FIG. 2A as a user interface in order to perform the above setting. The I / O driver setting dialog box 101 is provided for setting the interface unit 4 to be used and an I / O driver corresponding to the interface unit 4 to be used, and includes a unit mounting image 102, a unit information display unit 103, a unit operation, and the like. It has a button 104.

ユニット装着イメージ102は、背面にインターフェースユニット4が装着されたプログラマブル表示器2を上方から見たイメージであり、プログラマブル表示器2を表す表示器部分102aと、インターフェースユニット4を表すユニット部分102bとからなる。ユニット部分102bには、プログラマブル表示器2に装着されるインターフェースユニット4に合わせて設定されたインターフェースユニット4の型式名が表示されている。   The unit mounting image 102 is an image of the programmable display 2 with the interface unit 4 mounted on the back as viewed from above. The unit mounting image 102 includes a display portion 102 a representing the programmable display 2 and a unit portion 102 b representing the interface unit 4. Become. In the unit portion 102b, the model name of the interface unit 4 set in accordance with the interface unit 4 attached to the programmable display 2 is displayed.

ユニット情報表示部103は、現在設定されているインターフェースユニット4の情報を表示するために設けられている。ユニット情報設定部131aは、ユニット装着イメージ102のユニット部分がクリックされると、当該ユニット部分の色を変えて選択されたことを示し、ユニット情報表示部103に選択されたインターフェースユニット4の情報を表示する。ユニット情報表示部103に表示される情報としては、例えば、インターフェースユニット4の型式名、ユニットのタイプ、入出力のタイプ(ビットやワード)などが挙げられる。ユニット情報表示部103における表示項目が多い場合は、タブ形式で分けて表示するようにしてもよい。   The unit information display unit 103 is provided for displaying information of the interface unit 4 that is currently set. When the unit portion of the unit mounting image 102 is clicked, the unit information setting unit 131a indicates that the unit portion has been changed in color, and the unit information display unit 103 displays the information of the selected interface unit 4 indicate. Examples of information displayed on the unit information display unit 103 include the model name of the interface unit 4, the unit type, and the input / output type (bit or word). When there are many display items in the unit information display unit 103, they may be displayed separately in a tab format.

ユニット操作ボタン104は、ユニット追加ボタン104a、ユニット削除ボタン104b、ユニット変更ボタン104cおよびユニット入替ボタン104dからなる。   The unit operation button 104 includes a unit addition button 104a, a unit deletion button 104b, a unit change button 104c, and a unit replacement button 104d.

ユニット情報設定部131aは、ユニット追加ボタン104aがクリックされると、図示はしないが、ユニット情報表示部103に、選択可能なインターフェースユニット4をリストボックスにて表示し、ユーザが選択したインターフェースユニット4に関する情報を新たに追加する。また、ユニット情報設定部131aは、追加されたインターフェースユニット4のイメージをユニット装着イメージ102に追加して表示する。   When the unit addition button 104a is clicked, the unit information setting unit 131a displays a selectable interface unit 4 in a list box on the unit information display unit 103, although not shown, and the interface unit 4 selected by the user. Add new information about. Further, the unit information setting unit 131a adds the image of the added interface unit 4 to the unit mounting image 102 and displays it.

ユニット情報設定部131aは、ユニット削除ボタン104bがクリックされると、図示はしないが、ユニット情報表示部103に、すでに設定されているインターフェースユニット4の一覧を表示し、ユーザが選択したインターフェースユニット4に関する情報を削除する。また、ユニット情報設定部131aは、削除されたインターフェースユニット4のイメージをユニット装着イメージ102から消去する。   When the unit deletion button 104b is clicked, the unit information setting unit 131a displays a list of already set interface units 4 on the unit information display unit 103 (not shown), and the interface unit 4 selected by the user is displayed. Delete information about. Further, the unit information setting unit 131 a deletes the deleted image of the interface unit 4 from the unit mounting image 102.

ユニット情報設定部131aは、ユニット変更ボタン104cがクリックされると、図示はしないが、ユニット情報表示部103に、すでに設定されているインターフェースユニット4(交換元)の一覧を表示するとともに、選択可能なインターフェースユニット4(交換先)をリストボックスにて表示し、ユーザが選択した交換元のインターフェースユニット4と交換先のインターフェースユニット4に関する情報を交換表示する。また、ユニット情報設定部131aは、交換されたインターフェースユニット4のイメージをユニット装着イメージ102に新たに表示する。   When the unit change button 104c is clicked, the unit information setting unit 131a displays a list of already set interface units 4 (replacement sources) on the unit information display unit 103 and is selectable. The interface unit 4 (replacement destination) is displayed in a list box, and information on the replacement-source interface unit 4 and the replacement-destination interface unit 4 selected by the user is exchanged and displayed. Further, the unit information setting unit 131a newly displays the image of the replaced interface unit 4 on the unit mounting image 102.

接続位置変更部131bは、ユニット入替ボタン104dがクリックされると、図2(b)に示すように、ユニット装着イメージ102付近に、ユニット入替操作ボタン105を表示する。この接続位置変更部131bは、ユニット入替操作ボタン105がクリックされると、ユニット装着イメージ102におけるユニット部分の位置を入れ替えて表示する。また、接続位置変更部131bは、この入れ替え表示に合わせて、インターフェースユニット4の接続位置(接続順)の情報についても入れ替える。 Connecting position changing section 131b, when unit replacement button 104d is clicked, as shown in FIG. 2 (b), in the vicinity of the unit mounting image 102 displays a unit replacement operation button 105. When the unit replacement operation button 105 is clicked, the connection position changing unit 131b switches and displays the position of the unit portion in the unit mounting image 102. The connection position changing unit 131b also replaces the information on the connection position (connection order) of the interface unit 4 in accordance with the replacement display.

なお、インターフェースユニット4が3つ以上接続される場合は、入れ替える2つのインターフェースユニット4をユニット装着イメージ102においてユーザに選択させるようなユーザインターフェースを用意すればよい。   When three or more interface units 4 are connected, a user interface that allows the user to select two interface units 4 to be replaced in the unit mounting image 102 may be prepared.

ここで、前述の各ユニット操作に伴うデータ状態の遷移について説明する。   Here, the transition of the data state accompanying each unit operation described above will be described.

まず、図3に示すように、前述のポート番号は、インターフェースユニット4の機種の型式を示すポインタと関連付けられており、ユニット情報の設定時には、この状態で作業メモリ11aに展開される。このポート番号とポインタとの対がインターフェースユニット4の接続位置のデータとして設けられている。   First, as shown in FIG. 3, the above-described port number is associated with a pointer indicating the model type of the interface unit 4, and is expanded in the work memory 11a in this state when setting unit information. A pair of the port number and the pointer is provided as connection position data of the interface unit 4.

また、設定データのデータ構造は、例えば、それぞれの型式がA,Bである2つのインターフェースユニット4が設定されている場合、図4のメモリマップのように表される。具体的には、ポインタ“0”で表される領域に、型式Aのデータと、それに対応する設定データとが格納され、ポインタ“100”で表される領域に型式Bのデータと、それに対応する設定データとが格納される。   Further, the data structure of the setting data is represented as a memory map of FIG. 4 when two interface units 4 having respective types A and B are set, for example. Specifically, type A data and corresponding setting data are stored in the area represented by the pointer “0”, and type B data and the corresponding data are stored in the area represented by the pointer “100”. And setting data to be stored.

このように、インターフェースユニット4の設定データと接続位置のデータとは、作業メモリ11aに置いて個別に展開されている。   As described above, the setting data of the interface unit 4 and the data of the connection position are individually developed in the work memory 11a.

まず、すでに型式Aのインターフェースユニット4が設定されており、さらに型式Bのインターフェースユニット4を追加する場合、追加設定されると、図5(a)に示すように、ポート番号2にポインタ“100”が対応するようにポート番号とポインタの対応付け、すなわち接続位置のデータが書き替えられる。   First, when the interface unit 4 of the type A has already been set, and when the interface unit 4 of the type B is further added, as shown in FIG. 5A, the pointer “100” is set at the port number 2. The correspondence between the port number and the pointer, that is, the data of the connection position is rewritten so that “

次に、すでに型式A,Bの2つのインターフェースユニット4が設定されており、型式Aのインターフェースユニット4を削除する場合、削除設定されると、図5(b)に示すように、ポート番号1にポインタ“100”が対応するように接続位置のデータが書き替えられる。   Next, the two interface units 4 of the models A and B are already set. When the interface unit 4 of the model A is deleted, when the deletion is set, as shown in FIG. The data of the connection position is rewritten so that the pointer “100” corresponds to.

次に、すでに型式A,Bの2つのインターフェースユニット4が設定されており、型式Bのインターフェースユニット4を型式Cのインターフェースユニット4に変更する場合、変更設定されると、図5(c)に示すように、ポート番号2に型式Cのポインタ“200”が対応するように接続位置のデータが書き替えられる。   Next, the two interface units 4 of the models A and B are already set. When the interface unit 4 of the model B is changed to the interface unit 4 of the model C, when the change is set, FIG. As shown, the connection position data is rewritten so that the port number 2 corresponds to the pointer “200” of the type C.

さらに、すでに型式A,Bの2つのインターフェースユニット4が設定されており、両インターフェースユニット4の接続位置を入れ替える場合、入替設定されると、図5(d)に示すように、ポート番号1にポインタ“100”が対応し、ポート番号2にポインタ“0”が対応するように接続位置のデータが書き替えられる。   Furthermore, when two interface units 4 of type A and B have already been set and the connection positions of both interface units 4 are switched, when the replacement is set, as shown in FIG. The data at the connection position is rewritten so that the pointer “100” corresponds to the port number 2 and the pointer “0” corresponds to the pointer “0”.

ユニット設定部131は、上記のようにI/Oドライバ設定ダイアログボックス101を用いて設定されている間には、上記のように各設定データを作業メモリ11aに展開している。この状態では、各インターフェースユニット4に関する設定データは、接続位置のデータとは別に作業メモリ11aに展開されている。また、ユニット設定部131は、設定データをファイル形式でユニット設定ファイルとしてデータ記憶部14にI/Oドライバとともに保存する。このとき、各インターフェースユニット4の設定データは、接続位置のデータに基づいて、インターフェースユニット4の接続位置の順が規定された状態で保存される。   While being set using the I / O driver setting dialog box 101 as described above, the unit setting unit 131 develops each setting data in the work memory 11a as described above. In this state, the setting data regarding each interface unit 4 is expanded in the work memory 11a separately from the connection position data. The unit setting unit 131 stores the setting data in the file format as a unit setting file in the data storage unit 14 together with the I / O driver. At this time, the setting data of each interface unit 4 is stored in a state in which the order of the connection positions of the interface units 4 is defined based on the connection position data.

上記のように保存されたユニット設定ファイルは、I/Oドライバとともにプログラマブル表示器2に転送され、データメモリ26に格納される。   The unit setting file saved as described above is transferred to the programmable display 2 together with the I / O driver and stored in the data memory 26.

このように、ユニット設定や確認にエディタコンピュータ1を用いることにより、1つのI/Oドライバ設定ダイアログボックス101で使用されるインターフェースユニット4の設定や確認をすることができる。これにより、従来のように、各インターフェースユニット4について設けられたダイアログボックスをそれぞれの設定を行う度に開いたり閉じたりといった煩わしい操作を省くことができる。   As described above, by using the editor computer 1 for unit setting and confirmation, the interface unit 4 used in one I / O driver setting dialog box 101 can be set and confirmed. As a result, it is possible to eliminate troublesome operations such as opening and closing a dialog box provided for each interface unit 4 each time setting is performed, as in the related art.

また、I/Oドライバ設定ダイアログボックス101にユニット装着イメージ102を表示することにより、現在設定されているユニット構成を把握することができる。それゆえ、ハードウェア構成とその設定内容を視覚的に容易に確認することができる。しかも、インターフェースユニット4の接続位置を変更する場合、接続位置変更部131bによって、ユーザがユニット入替操作ボタン105をクリック操作するだけで、インターフェースユニット4の接続位置が入れ替わるように接続位置の情報を更新する。それゆえ、従来のように、接続位置に応じて現在の設定を削除して新たに設定しなおすといった手間のかかる作業をする必要がなくなる。   Further, by displaying the unit installation image 102 in the I / O driver setting dialog box 101, it is possible to grasp the currently set unit configuration. Therefore, the hardware configuration and the setting contents can be easily confirmed visually. In addition, when the connection position of the interface unit 4 is changed, the connection position change unit 131b updates the connection position information so that the connection position of the interface unit 4 can be changed by simply clicking the unit replacement operation button 105. To do. Therefore, unlike the conventional case, it is not necessary to perform a laborious operation of deleting the current setting according to the connection position and newly setting it again.

また、プログラマブル表示器2に格納されるユニット設定ファイルは、上記のように、インターフェースユニット4の接続位置に関する情報を含んでいるので、プログラマブル表示器2は、その情報に基づいて動作することができる。これにより、インターフェースユニット4の位置が入れ替えられたときに、新たな接続位置に関する情報を含むユニット設定ファイルをプログラマブル表示器2に転送することにより、その接続位置に関する情報に基づいてプログラマブル表示器2が動作できる。それゆえ、プログラマブル表示器2は、特許文献1に開示された設定方法のように、ハードウェアチェックで接続されるユニットの位置を認識する必要がなく、インターフェースユニット4の接続位置を入れ替えた後の再起動時に実際に動作できるまでの時間を短縮することができる。   Moreover, since the unit setting file stored in the programmable display 2 includes information on the connection position of the interface unit 4 as described above, the programmable display 2 can operate based on the information. . Thereby, when the position of the interface unit 4 is replaced, the programmable display 2 is transferred based on the information on the connection position by transferring a unit setting file including information on the new connection position to the programmable display 2. It can work. Therefore, unlike the setting method disclosed in Patent Document 1, the programmable display device 2 does not need to recognize the position of the unit connected by the hardware check, and after the connection position of the interface unit 4 is changed. It is possible to shorten the time required for actual operation at the time of restart.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明のユニット情報設定装置は、プログラマブル表示器に接続されるインターフェースユニットの情報を容易にすることができるので、インターフェースを複数接続可能なプログラマブル表示器を含む制御システムに好適に利用できる。   Since the unit information setting device of the present invention can facilitate the information of the interface unit connected to the programmable display, it can be suitably used for a control system including a programmable display capable of connecting a plurality of interfaces.

本発明の実施形態に係るエディタコンピュータおよびそれに接続されるプログラマブルの構成を示すブロック図である。It is a block diagram which shows the editor computer which concerns on embodiment of this invention, and the programmable structure connected to it. (a)および(b)は上記エディタコンピュータにおけるエディタ部によるインターフェースユニットの設定のために表示されるダイアログボックスを示す図である。(A) And (b) is a figure which shows the dialog box displayed for the setting of the interface unit by the editor part in the said editor computer. 上記エディタコンピュータの作業メモリに展開される上記インターフェースユニットの接続位置データの構造を示す図である。It is a figure which shows the structure of the connection position data of the said interface unit expand | deployed to the working memory of the said editor computer. 上記エディタコンピュータの作業メモリに展開される上記インターフェースユニットの設定データの構造を示す図である。It is a figure which shows the structure of the setting data of the said interface unit expand | deployed to the working memory of the said editor computer. (a)ないし(d)はインターフェースユニットをそれぞれ追加、削除、変更、入替操作する場合の接続位置データの操作前後の変化を示す図である。(A) thru | or (d) is a figure which shows the change before and behind the operation of connection position data in the case of adding, deleting, changing, and replacing each interface unit.

符号の説明Explanation of symbols

1 エディタコンピュータ(ユニット情報設定装置)
2 プログラマブル表示器
4 インターフェースユニット
11a 作業メモリ
13 画面エディタ部(画面作成プログラム)
101 I/Oドライバ設定ダイアログボックス(設定画面)
102 ユニット装着イメージ(装着イメージ)
102a 表示器部分
102b ユニット部分
104d ユニット入替ボタン
105 ユニット入替操作ボタン(操作ボタン)
131 ユニット設定部
131a ユニット情報設定部(装着イメージ表示手段,情報表示手段)
131b 接続位置変更部(位置情報変更手段)
1 Editor computer (unit information setting device)
2 Programmable display 4 Interface unit 11a Work memory 13 Screen editor (screen creation program)
101 I / O driver setting dialog box (setting screen)
102 Unit installation image (installation image)
102a Display portion 102b Unit portion 104d Unit replacement button 105 Unit replacement operation button (operation button)
131 Unit setting unit 131a Unit information setting unit (mounting image display means, information display means)
131b Connection position changing unit (position information changing means)

Claims (3)

複数のインターフェースユニットを外部に連続的に装着可能であり、かつ装着された各インターフェースユニットと個別に通信するための複数のポートを備え、各ポートを指定するためのポート番号で前記インターフェースユニットを特定して通信するプログラマブル表示器に装着される前記インターフェースユニットに関する情報を前記プログラマブル表示器に設定するユニット情報設定装置であって、
前記インターフェースユニットに関する情報を設定するための設定画面に、設定された前記インターフェースユニットが前記プログラマブル表示器に装着された状態のイメージを表示する装着イメージ表示手段と、
記イメージにおける前記インターフェースユニットを表すユニット部分が選択されると、当該ユニット部分に対応する前記インターフェースユニットに関する情報を前記設定画面に表示する情報表示手段と
前記インターフェースユニットの前記プログラマブル表示器に対する装着位置を入れ替えるための操作ボタンを前記設定画面に表示するとともに、前記操作ボタンが操作されると、指定されたインターフェースユニットの装着位置の情報を装着位置の入れ替えに応じて変更する位置情報変更手段とを備え、
前記装着イメージ表示手段は、変更された装着位置の情報に基づいて、前記ユニット部分の配置を入れ替えて表示し、
前記装着位置の情報が、前記インターフェースユニットの型式を示すポインタと前記ポート番号との対であり、前記インターフェースユニットに関する情報が、当該ポインタで表されるメモリ領域に格納されることを特徴とするユニット情報設定装置。
A plurality of interface units can be continuously mounted on the outside , and a plurality of ports for individually communicating with each mounted interface unit are provided, and the interface unit is identified by a port number for designating each port. A unit information setting device for setting information about the interface unit attached to the programmable display to communicate with the programmable display,
A mounting image display means for displaying an image of a state in which the set interface unit is mounted on the programmable display on a setting screen for setting information on the interface unit;
When unit portion representing said interface unit before listening image is selected, and information display means for displaying information about the interface unit corresponding to the unit portion on the setting screen,
An operation button for switching the mounting position of the interface unit with respect to the programmable display is displayed on the setting screen, and when the operation button is operated, information on the mounting position of the specified interface unit is switched. And position information changing means for changing according to
The mounting image display means, based on the information of the changed mounting position, displays the arrangement of the unit part is switched,
The mounting position information is a pair of a pointer indicating the model of the interface unit and the port number, and information relating to the interface unit is stored in a memory area represented by the pointer. Information setting device.
請求項に記載のユニット情報設定装置を動作させるためのユニット情報設定プログラムであって、コンピュータを前記各手段として機能させるためのユニット情報設定プログラム。 A unit information setting program for operating the unit information setting apparatus according to claim 1 , wherein the unit information setting program causes a computer to function as each means. 請求項に記載のユニット情報設定プログラムを記録したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium on which the unit information setting program according to claim 2 is recorded.
JP2006282057A 2006-10-16 2006-10-16 Unit information setting device, unit information setting program, and recording medium recording the same Active JP4515434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006282057A JP4515434B2 (en) 2006-10-16 2006-10-16 Unit information setting device, unit information setting program, and recording medium recording the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006282057A JP4515434B2 (en) 2006-10-16 2006-10-16 Unit information setting device, unit information setting program, and recording medium recording the same

Publications (2)

Publication Number Publication Date
JP2008097551A JP2008097551A (en) 2008-04-24
JP4515434B2 true JP4515434B2 (en) 2010-07-28

Family

ID=39380298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006282057A Active JP4515434B2 (en) 2006-10-16 2006-10-16 Unit information setting device, unit information setting program, and recording medium recording the same

Country Status (1)

Country Link
JP (1) JP4515434B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5810563B2 (en) * 2011-03-15 2015-11-11 オムロン株式会社 Control program development support apparatus, control program development support program, and recording medium
JP5195955B2 (en) 2011-03-15 2013-05-15 オムロン株式会社 Design support system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981232A (en) * 1995-09-18 1997-03-28 Matsushita Electric Works Ltd Display controller
JPH1078806A (en) * 1996-09-02 1998-03-24 Digital:Kk Programmable display device
JP2002108421A (en) * 2000-10-02 2002-04-10 Keyence Corp Plc system construction support tool and program development support tool for plc system which incorporates the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981232A (en) * 1995-09-18 1997-03-28 Matsushita Electric Works Ltd Display controller
JPH1078806A (en) * 1996-09-02 1998-03-24 Digital:Kk Programmable display device
JP2002108421A (en) * 2000-10-02 2002-04-10 Keyence Corp Plc system construction support tool and program development support tool for plc system which incorporates the same

Also Published As

Publication number Publication date
JP2008097551A (en) 2008-04-24

Similar Documents

Publication Publication Date Title
JP4554570B2 (en) Programmable display, control program and recording medium recording the same, and control system, client program and recording medium recording the same
JP4322770B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP2007094294A (en) Programmable display unit, control program and recording medium which records the program, screen creation device, screen creation program and recording medium which records the program
JP4515434B2 (en) Unit information setting device, unit information setting program, and recording medium recording the same
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP4566904B2 (en) System, control program and recording medium recording the program, and image data creation program and recording medium recording the program
JP2003044108A (en) Registering device for editor, registering program, and recording medium where the same is recorded
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP3847601B2 (en) Control display device, control program, and recording medium recording the same
JP2007179112A5 (en)
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP4322780B2 (en) Screen creation device, screen creation program and recording medium
JP3913414B2 (en) Editor device and recording medium recording editor program
JP4372739B2 (en) PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP3795357B2 (en) Editor device, editor program, and recording medium recording the same
JP4335109B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP2007065910A (en) Screen preparation device, and screen preparation program, and record medium recording its program
JP2002268711A (en) Programmable display unit and plotting program for the same and recording medium with its plotting program recorded
JP2006301729A (en) Picture preparation method and picture preparation device
JP4509991B2 (en) Programmable display, program and recording medium recording the same
JP3795473B2 (en) Editor device and recording medium recording editor program
JP4970105B2 (en) Editor device and editor program
JP2008083767A (en) Display
JP2003044277A (en) Program development support device, program development support program and recording medium having the same program recorded thereon
JP4563255B2 (en) Programmable display, control program, and recording medium recording the program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100312

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: 20100511

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: 20100512

R150 Certificate of patent or registration of utility model

Ref document number: 4515434

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130521

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140521

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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