JP2001242909A - Data preparation device, data preparation method and recording medium and display recording data preparation program - Google Patents

Data preparation device, data preparation method and recording medium and display recording data preparation program

Info

Publication number
JP2001242909A
JP2001242909A JP2000052057A JP2000052057A JP2001242909A JP 2001242909 A JP2001242909 A JP 2001242909A JP 2000052057 A JP2000052057 A JP 2000052057A JP 2000052057 A JP2000052057 A JP 2000052057A JP 2001242909 A JP2001242909 A JP 2001242909A
Authority
JP
Japan
Prior art keywords
information
element information
control device
value
control
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
Application number
JP2000052057A
Other languages
Japanese (ja)
Other versions
JP4414050B2 (en
Inventor
Shoichi Yoshioka
昌一 吉岡
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP2000052057A priority Critical patent/JP4414050B2/en
Publication of JP2001242909A publication Critical patent/JP2001242909A/en
Application granted granted Critical
Publication of JP4414050B2 publication Critical patent/JP4414050B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily set the value of essential information in accordance with a rule defined for each control device to prepare setting data consisting of essential information of device information and the like and control parameter. SOLUTION: Device type of programmable controller is set in a device setting column on device display screen, and the device type is input in device type column 602 on device setting screen W2. When arrow buttons 605 and 606 in a device number column 603 are clicked, device number increases or decreases in accordance with the device number setting rule defined for each type of programmable controller.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラ等の制御装置から送信されるデータに基づき
制御装置の制御動作に関連する画像を表示する表示装
置、その表示装置のために設定用データを作成するデー
タ作成装置、データ作成方法、およびデータ作成プログ
ラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display device for displaying an image related to a control operation of a control device based on data transmitted from a control device such as a programmable controller, and to generate setting data for the display device. The present invention relates to a data creation device, a data creation method, and a recording medium that records a data creation program.

【0002】[0002]

【従来の技術】被制御機器をシーケンシャルに制御する
ためにプログラマブルコントローラが用いられている。
プログラマブルコントローラには、スイッチ、センサ等
の入力機器および電磁開閉器、リレー、ソレノイド、モ
ータ、シリンダ等の出力機器が接続される。このプログ
ラマブルコントローラは、予め作成された制御プログラ
ムに従って被制御機器を制御する。
2. Description of the Related Art Programmable controllers are used to sequentially control controlled devices.
Input devices such as switches and sensors and output devices such as electromagnetic switches, relays, solenoids, motors, and cylinders are connected to the programmable controller. This programmable controller controls a controlled device according to a control program created in advance.

【0003】また、プログラマブルコントローラ内のメ
モリには、種々のデバイスが割り付けられる。ここで、
デバイスとは、制御プログラム上で用いられるリレー
(入力リレー、出力リレー、入出力リレー、補助リレー
等)、タイマ、カウンタ、データメモリ等の要素をい
う。デバイスには、データ種別として、メモリ上の1ビ
ットの領域からなるビットデバイス(リレー、カウンタ
およびタイマの接点等)と、メモリ上の1または複数ワ
ードの領域からなるワードデバイス(タイマおよびカウ
ンタの設定値、タイマおよびカウンタの現在値、データ
メモリ等)とがある。
Various devices are allocated to a memory in a programmable controller. here,
The device refers to an element such as a relay (an input relay, an output relay, an input / output relay, an auxiliary relay, etc.), a timer, a counter, a data memory, and the like used on the control program. The device includes, as data types, a bit device consisting of a 1-bit area on a memory (contacts of a relay, a counter, and a timer) and a word device consisting of one or more words on a memory (setting of a timer and a counter). Values, current values of timers and counters, data memory, etc.).

【0004】これらのデバイスは、デバイス種別および
デバイス番号からなるデバイス情報により特定される。
すなわち、デバイス種別およびデバイス番号を用いてデ
バイスが割り付けられたメモリ上のアドレスが特定され
る。デバイス種別は、デバイスの名称を表し、デバイス
番号は、同一デバイス種別の複数のデバイスを識別する
ために付された番号である。
[0004] These devices are specified by device information including a device type and a device number.
That is, the address on the memory to which the device is assigned is specified using the device type and the device number. The device type represents the name of the device, and the device number is a number assigned to identify a plurality of devices of the same device type.

【0005】プログラマブルコントローラによる被制御
機器の制御動作に伴ってデバイスの状態が変化する。例
えば、入力リレー等のビットデバイスのオンオフや、デ
ータメモリ等のワードデバイスのデータ値が変化する。
The state of the device changes with the control operation of the controlled device by the programmable controller. For example, ON / OFF of a bit device such as an input relay or a data value of a word device such as a data memory changes.

【0006】プログラマブルコントローラのデバイスの
状態を表示するために表示装置が用いられる。この表示
装置は、デバイスの状態を表示するだけでなく、プログ
ラマブルコントローラのデバイスの状態を設定するため
にも用いられる。この場合、デバイス情報を用いてプロ
グラマブルコントローラのメモリ上のアドレスを特定
し、そのメモリのアドレスに記憶させるデータ値を制御
パラメータとして設定する。
[0006] A display device is used to display the state of the device of the programmable controller. This display device is used not only for displaying the state of the device, but also for setting the state of the device of the programmable controller. In this case, an address on the memory of the programmable controller is specified using the device information, and a data value stored at the address of the memory is set as a control parameter.

【0007】上記のプログラマブルコントローラおよび
表示装置を用いて被制御機器を制御する生産設備では、
製造物の変更によりその動作内容を変更する必要があ
る。このため、プログラマブルコントローラは、想定さ
れる製造物の変更に対応して、例えば、ロボットの移動
距離、シリンダのストローク値、回転数等を制御するた
めに使用される制御パラメータを、通常、製造物の型番
等の動作内容を特定する名称情報とともに動作内容ごと
に内部のメモリに記憶している。
In a production facility for controlling a controlled device using the above-mentioned programmable controller and display device,
It is necessary to change the operation content due to a change in the product. For this reason, the programmable controller usually changes the control parameters used to control the moving distance of the robot, the stroke value of the cylinder, the number of revolutions, etc. Are stored in an internal memory for each operation content together with name information for specifying the operation content such as the model number.

【0008】しかしながら、複数の動作内容に対応する
すべての制御パラメータをプログラマブルコントローラ
に記憶するのは、プログラマブルコントローラの負担が
大きくなり、また、プログラマブルコントローラにどの
ような制御パラメータが記憶されているかが作業者には
容易にわからないため、上記の制御パラメータは、名称
情報ごとに表示装置に記憶されている。
[0008] However, storing all control parameters corresponding to a plurality of operation contents in the programmable controller increases the burden on the programmable controller. In addition, it is difficult to determine which control parameters are stored in the programmable controller. The above control parameters are stored in the display device for each name information because they are not easily understood by the user.

【0009】これにより、作業者は、表示装置を用いて
必要なときに製造物の型番等の名称情報を選択し、その
名称情報に対応付けられて記憶されている制御パラメー
タを表示装置からプログラマブルコントローラへ書き込
んだり、選択した名称情報の制御パラメータをプログラ
マブルコントローラから表示装置へ読み出したりするこ
とが行われている。
With this, the operator selects the name information such as the model number of the product using the display device when necessary, and controls the control parameters stored in association with the name information from the display device. Writing to a controller and reading control parameters of selected name information from a programmable controller to a display device are performed.

【0010】また、名称情報ごとに制御パラメータとデ
バイス情報との対応関係を示す設定用データを作成する
データ作成装置も開発されている。このデータ作成装置
を用いて設定用データを作成する際には、名称情報ごと
に1以上のデバイス情報を設定するとともに、各デバイ
ス情報により特定されるデバイスに設定すべき制御パラ
メータをデータ値として入力する。このようにして名称
情報ごとに作成された設定用データは、データ作成装置
から表示装置へ転送されてメモリに記憶される。そし
て、設定用データに含まれる制御パラメータがプログラ
マブルコントローラに転送され、デバイス情報により特
定されるメモリ上のアドレスに記憶される。
[0010] Further, there has been developed a data creating apparatus for creating setting data indicating the correspondence between control parameters and device information for each name information. When creating setting data using this data creating apparatus, one or more device information is set for each name information, and a control parameter to be set for a device specified by each device information is input as a data value. I do. The setting data created for each name information in this way is transferred from the data creating device to the display device and stored in the memory. Then, the control parameters included in the setting data are transferred to the programmable controller, and stored at an address on the memory specified by the device information.

【0011】[0011]

【発明が解決しようとする課題】上記のように、データ
作成装置を用いて表示装置に転送すべき設定用データを
作成する際には、ユーザがデバイス情報を設定する必要
がある。具体的には、デバイス種別を入力し、さらにデ
バイス番号を入力する。
As described above, when creating setting data to be transferred to a display device using a data creating device, a user needs to set device information. Specifically, a device type is input, and a device number is input.

【0012】しかしながら、複数のメーカから種々の機
種のプログラマブルコントローラが提供されており、各
メーカごとまたはプログラマブルコントローラの機種ご
とにデバイス番号の指定規則が異なる。
However, various types of programmable controllers are provided by a plurality of manufacturers, and the rules for specifying device numbers are different for each manufacturer or for each type of programmable controller.

【0013】例えば、あるメーカのあるプログラマブル
コントローラの機種においては、デバイスに0000
0,00001,00002…と1ずつ増加するデバイ
ス番号が付与されている。また、他のメーカのあるプロ
グラマブルコントローラの機種においては、デバイスに
00001,00017,00033…と16ずつ増加
するデバイス番号が付されている。この場合には、デバ
イス番号として例えば00002を設定することはでき
ない。したがって、ユーザは、各メーカごとまたはプロ
グラマブルコントローラの機種ごとにデバイス番号の指
定規則を覚える必要がある。
For example, in the case of a certain programmable controller model of a certain manufacturer, 0000
. 000001,00002... Are incremented by one. Further, in a programmable controller model of another manufacturer, the device is assigned a device number which is increased by 16 such as 00000001000003. In this case, for example, 00002 cannot be set as the device number. Therefore, the user needs to remember the device number specification rules for each maker or for each model of the programmable controller.

【0014】図12および図13は従来のデータ作成装
置のデバイス設定画面の例を示す図である。
FIGS. 12 and 13 show examples of a device setting screen of a conventional data creating apparatus.

【0015】図12に示す例では、データ設定画面80
0にデバイス種別欄801およびデバイス番号欄802
が表示されている。デバイス種別欄801にデバイス種
別を示す番号を入力し、デバイス番号欄802に数値ボ
タン803を用いてデバイス番号を入力する。この場
合、ユーザは、メーカごとまたはプログラマブルコント
ローラの機種ごとに定められたデバイス番号の指定規則
に従ってデバイス番号を入力する必要がある。
In the example shown in FIG.
In 0, the device type column 801 and the device number column 802
Is displayed. A number indicating a device type is input to a device type column 801, and a device number is input to a device number column 802 using a numeric button 803. In this case, the user needs to input a device number in accordance with a device number designation rule defined for each maker or model of a programmable controller.

【0016】図13に示す例においても、データ設定画
面810にデバイス種別欄811およびデバイス番号欄
812が表示されている。デバイス種別欄811にデバ
イス種別を示す番号を入力し、デバイス番号欄812に
表示されたデバイス番号の初期値「000」を矢印ボタ
ン813,814で1ずつ増減させる。あるいは、デバ
イス番号欄812に数値ボタン815を用いてデバイス
番号を入力する。「OK」ボタン816を押すとデバイ
ス番号が設定される。
In the example shown in FIG. 13 as well, a device type column 811 and a device number column 812 are displayed on the data setting screen 810. The number indicating the device type is input in the device type column 811, and the initial value “000” of the device number displayed in the device number column 812 is increased or decreased by one using the arrow buttons 813 and 814. Alternatively, a device number is input to the device number column 812 using the numeric buttons 815. When an “OK” button 816 is pressed, a device number is set.

【0017】このとき、ユーザがメーカごとまたはプロ
グラマブルコントローラの機種ごとに定められたデバイ
ス番号の指定規則において存在しないデバイス番号を設
定した場合にはエラーが発生する。そのため、ユーザ
は、指定規則に合致しない誤ったデバイス番号を入力し
た場合に、「OK」ボタン816を押したときに初めて
デバイス番号が誤っていたことを認識することができ
る。
At this time, if the user sets a device number that does not exist in the device number specification rules defined for each maker or each model of the programmable controller, an error occurs. Therefore, when the user inputs an erroneous device number that does not match the specification rule, the user can recognize that the device number is incorrect only when the “OK” button 816 is pressed.

【0018】このように、従来のデータ作成装置におい
てデバイス番号を設定する場合には、ユーザがメーカご
とまたはプログラマブルコントローラの機種ごとに定め
られたデバイス番号の指定規則を覚えていないとデバイ
ス番号を設定することができない。
As described above, when a device number is set in a conventional data creating apparatus, the device number must be set unless the user remembers the device number specification rules set for each manufacturer or each model of programmable controller. Can not do it.

【0019】本発明の目的は、デバイス情報等の要素情
報および制御パラメータからなる設定用データを作成す
る際に制御装置の機種ごとに定められた規則に従う要素
情報の値を容易に設定することができるデータ作成装
置、データ作成方法およびデータ作成プログラムを記録
した記録媒体を提供することである。
An object of the present invention is to easily set a value of element information according to a rule defined for each model of a control device when setting data including element information such as device information and control parameters is created. An object of the present invention is to provide a data creation device, a data creation method, and a recording medium that records a data creation program.

【0020】本発明の他の目的は、デバイス情報等の要
素情報および制御パラメータからなる設定用データを作
成する際に制御装置の機種ごとに定められた規則に従う
要素情報を容易に設定することができる表示装置を提供
することである。
Another object of the present invention is to easily set element information according to rules determined for each model of a control device when creating setting data including element information such as device information and control parameters. It is to provide a display device which can be used.

【0021】[0021]

【課題を解決するための手段および発明の効果】(1)
第1の発明 第1の発明に係るデータ作成装置は、被制御機器を制御
するための制御装置において用いられる制御プログラム
上の要素を特定するための要素情報を、当該要素情報に
より特定される要素に設定される制御パラメータととも
に、制御装置の動作内容を特定する設定用データとして
記憶する記憶部と、記憶部に記憶された制御パラメータ
を制御装置に送信するとともに制御装置から送信される
データを受信する通信手段と、通信手段により受信され
たデータに基づき制御装置の制御動作に関連する画像を
表示する表示部とを備えた表示装置のために、記憶部に
記憶させる設定用データを作成するデータ作成装置であ
って、制御装置の機種ごとに定められた要素情報の値に
関する規則を規則情報として記憶する規則情報記憶手段
と、制御装置の機種を入力するための機種入力手段と、
要素情報の値を表示する要素情報表示手段と、要素情報
表示手段により表示された要素情報の値の増加または減
少を指示するための指示手段と、指示手段により要素情
報の値の増加または減少が指示されたときに規則情報記
憶手段に記憶された規則情報のうち機種入力手段により
入力された制御装置の機種に対応する規則情報に従って
要素情報表示手段により表示される要素情報の値を増加
または減少させる要素情報増減手段と、要素情報表示手
段により表示された要素情報に対応する制御パラメータ
を設定するための設定手段と、設定手段により設定され
た制御パラメータを対応する要素情報とともに設定用デ
ータとして表示装置に転送する転送手段とを備えたもの
である。
Means for Solving the Problems and Effects of the Invention (1)
A first invention provides a data creation device according to a first invention, wherein element information for specifying an element on a control program used in a control device for controlling a controlled device is stored in an element specified by the element information. A storage unit for storing the control parameters set in the storage unit as setting data for specifying the operation content of the control device, and transmitting the control parameters stored in the storage unit to the control device and receiving data transmitted from the control device. Data for generating setting data to be stored in the storage unit for a display device including a communication unit that performs the operation and a display unit that displays an image related to the control operation of the control device based on the data received by the communication unit. A rule information storage means for storing, as rule information, a rule regarding a value of element information determined for each model of the control device; Model input means for inputting the model of the control device,
Element information display means for displaying the value of element information, instruction means for instructing increase or decrease of the value of element information displayed by the element information display means, and increase or decrease of the value of element information by the instruction means. Increase or decrease the value of the element information displayed by the element information display means according to the rule information corresponding to the model of the control device input by the model input means among the rule information stored in the rule information storage means when instructed Element information increasing / decreasing means, setting means for setting control parameters corresponding to the element information displayed by the element information display means, and displaying the control parameters set by the setting means together with the corresponding element information as setting data. Transfer means for transferring the data to the device.

【0022】本発明に係るデータ作成装置においては、
制御装置の機種ごとに定められた要素情報の値に関する
規則が規則情報として規則情報記憶手段に記憶される。
また、要素情報の値が要素情報表示手段により表示され
る。ユーザが機種入力手段により制御装置の機種を入力
し、指示手段により要素情報の値の増加または減少を指
示すると、規則情報記憶手段に記憶された規則情報のう
ち機種入力手段により入力された制御装置の機種に対応
する規則情報に従って要素情報表示手段により表示され
る要素情報の値が増加または減少される。ユーザが設定
手段により要素情報に対応する制御パラメータを設定す
ると、設定手段により設定された制御パラメータが対応
する要素情報とともに設定用データとして転送手段によ
り表示装置に転送される。
In the data creation device according to the present invention,
Rules on the value of element information determined for each model of the control device are stored as rule information in the rule information storage means.
Further, the value of the element information is displayed by the element information display means. When the user inputs the model of the control device by the model input means and instructs the increase or decrease of the value of the element information by the instruction means, the control device input by the model input means among the rule information stored in the rule information storage means. The value of the element information displayed by the element information display means is increased or decreased in accordance with the rule information corresponding to the model of. When the user sets the control parameter corresponding to the element information by the setting unit, the control parameter set by the setting unit is transferred to the display device as setting data along with the corresponding element information by the transfer unit.

【0023】このように、制御装置の機種ごとに定めら
れた規則情報に従って要素情報表示手段により表示され
る要素情報の値が自動的に増加または減少されるので、
ユーザは制御装置の機種ごとに定められた規則を覚える
必要がなく、規則に従わない要素情報の値を誤って入力
することもない。したがって、正確な要素情報の値を容
易に設定することが可能となる。その結果、設定用デー
タの作成における作業性が大幅に向上する。
As described above, the value of the element information displayed by the element information display means is automatically increased or decreased in accordance with the rule information determined for each model of the control device.
The user does not need to remember rules set for each model of the control device, and does not erroneously input a value of element information that does not comply with the rules. Therefore, it is possible to easily set an accurate value of the element information. As a result, workability in creating the setting data is greatly improved.

【0024】(2)第2の発明 第2の発明に係るデータ作成装置は、第1の発明に係る
データ作成装置の構成において、要素情報は、要素の名
称を示す要素種別および同一の要素種別を有する要素を
識別するための要素番号を含み、規則情報は、制御装置
の機種ごとおよび要素種別ごとに存在する要素番号の規
則を表し、要素情報増減手段は、指示手段により要素情
報の値の増加または減少が指示されたときに要素番号の
規則に従って存在しない要素番号を除いて要素情報表示
手段により表示される要素番号を増加または減少させる
ものである。
(2) Second invention In a data creation device according to a second invention, in the configuration of the data creation device according to the first invention, the element information includes an element type indicating a name of the element and the same element type. The rule information indicates the rule of the element number that exists for each model and each element type of the control device, and the element information increasing / decreasing means uses the instruction means to specify the value of the element information. When the increase or decrease is instructed, the element number displayed by the element information display means is increased or decreased except for the element number which does not exist according to the rule of the element number.

【0025】この場合、ユーザが指示手段により要素情
報の値の増加または減少を指示すると、要素番号の規則
に従って存在しない要素番号を除いて表示される要素番
号が増加または減少される。したがって、ユーザは、制
御装置の機種ごとに定められる要素番号の規則を覚える
ことなく正確な要素番号を容易に設定することができ
る。
In this case, when the user instructs to increase or decrease the value of the element information by the instruction means, the displayed element number is increased or decreased except for the element number which does not exist according to the rule of the element number. Therefore, the user can easily set an accurate element number without memorizing element number rules determined for each model of the control device.

【0026】(3)第3の発明 第3の発明に係るデータ作成装置は、第1または第2の
発明に係るデータ作成装置の構成において、転送手段
は、規則情報記憶手段に記憶された規則情報を設定用デ
ータとともに表示装置に転送するものである。
(3) Third invention In a data creation device according to a third invention, in the configuration of the data creation device according to the first or second invention, the transfer means includes a rule stored in the rule information storage means. The information is transferred to the display device together with the setting data.

【0027】この場合、ユーザが表示装置において設定
用データに含まれる要素情報を変更する際に、制御装置
の機種ごとに定められた規則情報に従って要素情報の値
を自動的に増加または減少させることが可能となる。
In this case, when the user changes the element information included in the setting data on the display device, the value of the element information is automatically increased or decreased in accordance with rule information defined for each model of the control device. Becomes possible.

【0028】(4)第4の発明 第4の発明に係るデータ作成方法は、被制御機器を制御
するための制御装置において用いられる制御プログラム
上の要素を特定するための要素情報を、当該要素情報に
より特定される要素に設定される制御パラメータととも
に、制御装置の動作内容を特定する設定データとして記
憶する記憶部と、記憶部に記憶された制御パラメータを
制御装置に送信するとともに制御装置から送信されるデ
ータを受信する通信手段と、通信手段により受信された
データに基づき制御装置の制御動作に関連する画像を表
示する表示部とを備えた表示装置のために、記憶部に記
憶させる設定用データを作成するデータ作成方法であっ
て、制御装置の機種ごとに定められた要素情報の値に関
する規則を規則情報として記憶するステップと、制御装
置の機種の入力を受け付けるステップと、要素情報の値
を表示するステップと、表示された要素情報の値の増加
または減少の指示を受け付けるステップと、要素情報の
値の増加または減少が指示されたときに記憶された規則
情報のうち入力された制御装置の機種に対応する規則情
報に従って表示される要素情報の値を増加または減少さ
せるステップと、表示された要素情報に対応する制御パ
ラメータを設定するステップと、設定された制御パラメ
ータを対応する要素情報とともに設定用データとして表
示装置に転送するステップとを備えたものである。
(4) Fourth invention A data creation method according to a fourth invention is characterized in that element information for specifying an element on a control program used in a control device for controlling a controlled device is stored in the element information. A storage unit that stores control parameters set in the element specified by the information as setting data that specifies the operation content of the control device, and a control parameter stored in the storage unit is transmitted to the control device and transmitted from the control device. Setting for storing in a storage unit for a display device including a communication unit that receives data to be transmitted and a display unit that displays an image related to a control operation of the control device based on the data received by the communication unit A data creation method for creating data, comprising a step of storing, as rule information, a rule regarding a value of element information defined for each model of a control device. Receiving the input of the model of the control device, the step of displaying the value of the element information, the step of receiving an instruction to increase or decrease the value of the displayed element information, and the step of increasing or decreasing the value of the element information Increasing or decreasing the value of element information displayed according to the rule information corresponding to the model of the control device input from among the rule information stored when the instruction is given, and controlling the element information according to the displayed element information. The method includes a step of setting parameters and a step of transferring the set control parameters together with the corresponding element information to the display device as setting data.

【0029】本発明に係るデータ作成方法においては、
制御装置の機種ごとに定められた要素情報の値に関する
規則が規則情報として記憶される。また、要素情報の値
が表示される。ユーザが制御装置の機種を入力し、要素
情報の値の増加または減少を指示すると、記憶された規
則情報のうち入力された制御装置の機種に対応する規則
情報に従って表示される要素情報の値が増加または減少
される。ユーザが要素情報に対応する制御パラメータを
設定すると、設定された制御パラメータが対応する要素
情報とともに設定用データとして表示装置に転送され
る。
In the data creation method according to the present invention,
Rules regarding the values of element information determined for each model of the control device are stored as rule information. Also, the value of the element information is displayed. When the user inputs the model of the control device and instructs to increase or decrease the value of the element information, the value of the element information displayed according to the rule information corresponding to the input model of the control device among the stored rule information is changed. Increased or decreased. When the user sets a control parameter corresponding to the element information, the set control parameter is transferred to the display device as setting data together with the corresponding element information.

【0030】このように、制御装置の機種ごとに定めら
れた規則情報に従って表示される要素情報の値が自動的
に増加または減少されるので、ユーザは制御装置の機種
ごとに定められた規則を覚える必要がなく、規則に従わ
ない要素情報の値を誤って入力することもない。したが
って、正確な要素情報の値を容易に設定することが可能
となる。その結果、設定用データの作成における作業性
が大幅に向上する。
As described above, the value of the element information displayed according to the rule information defined for each model of the control device is automatically increased or decreased, so that the user can set the rule defined for each model of the control device. There is no need to remember, and no mistake is made in inputting the value of element information that does not follow the rules. Therefore, it is possible to easily set an accurate value of the element information. As a result, workability in creating the setting data is greatly improved.

【0031】(5)第5の発明 第5の発明に係るデータ作成プログラムを記録した記録
媒体は、被制御機器を制御するための制御装置において
用いられる制御プログラム上の要素を特定するための要
素情報を、当該要素情報により特定される要素に設定さ
れる制御パラメータとともに、制御装置の動作内容を特
定する設定用データとして記憶する記憶部と、記憶部に
記憶された制御パラメータを制御装置に送信するととも
に制御装置から送信されるデータを受信する通信手段
と、通信手段により受信されたデータに基づき制御装置
の制御動作に関連する画像を表示する表示部とを備えた
表示装置のために、記憶部に記憶させる設定用データを
作成するデータ作成プログラムを記録したコンピュータ
読み取り可能な記憶媒体であって、データ作成プログラ
ムは、制御装置の機種ごとに定められた要素情報の値に
関する規則を規則情報として記憶する処理と、制御装置
の機種の入力を受け付ける処理と、要素情報の値を表示
する処理と、表示された要素情報の値の増加または減少
の指示を受け付ける処理と、要素情報の値の増加または
減少が指示されたときに記憶された規則情報のうち入力
された制御装置の機種に対応する規則情報に従って表示
される要素情報の値を増加または減少させる処理と、表
示された要素情報に対応する制御パラメータを設定する
処理と、設定された制御パラメータを対応する要素情報
とともに設定用データとして表示装置に転送する処理と
を、コンピュータに実行させるものである。
(5) Fifth invention A recording medium storing a data creation program according to the fifth invention is an element for specifying an element on a control program used in a control device for controlling a controlled device. A storage unit for storing the information as setting data for specifying the operation content of the control device together with the control parameters set for the element specified by the element information, and transmitting the control parameters stored in the storage unit to the control device And a communication unit for receiving data transmitted from the control device and a display unit including a display unit for displaying an image related to a control operation of the control device based on the data received by the communication unit. A computer-readable storage medium having recorded thereon a data creation program for creating setting data to be stored in the section; The configuration program includes a process of storing, as rule information, a rule regarding a value of element information determined for each model of the control device, a process of receiving an input of a model of the control device, a process of displaying a value of the element information, For receiving an instruction to increase or decrease the value of the element information, and the rule information corresponding to the model of the input control device among the rule information stored when the instruction to increase or decrease the value of the element information is given A process of increasing or decreasing the value of the element information displayed in accordance with, a process of setting a control parameter corresponding to the displayed element information, and setting the set control parameter together with the corresponding element information as setting data to the display device. The transfer process is to cause a computer to execute the process.

【0032】本発明に係るデータ作成プログラムによれ
ば、制御装置の機種ごとに定められた要素情報の値に関
する規則が規則情報として記憶される。また、要素情報
の値が表示される。ユーザが制御装置の機種を入力し、
要素情報の値の増加または減少を指示すると、記憶され
た規則情報のうち入力された制御装置の機種に対応する
規則情報に従って表示される要素情報の値が増加または
減少される。ユーザが要素情報に対応する制御パラメー
タを設定すると、設定された制御パラメータが対応する
要素情報とともに設定用データとして表示装置に転送さ
れる。
According to the data creation program of the present invention, rules regarding the value of element information determined for each model of control device are stored as rule information. Also, the value of the element information is displayed. The user inputs the model of the control device,
When an instruction to increase or decrease the value of the element information is issued, the value of the element information displayed according to the rule information corresponding to the model of the input control device in the stored rule information is increased or decreased. When the user sets a control parameter corresponding to the element information, the set control parameter is transferred to the display device as setting data together with the corresponding element information.

【0033】このように、制御装置の機種ごとに定めら
れた規則情報に従って表示される要素情報の値が自動的
に増加または減少されるので、ユーザは制御装置の機種
ごとに定められた規則を覚える必要がなく、規則に従わ
ない要素情報の値を誤って入力することもない。したが
って、正確な要素情報の値を設定することが可能とな
る。その結果、設定用データの作成における作業性が大
幅に向上する。
As described above, the value of the element information displayed according to the rule information defined for each model of the control device is automatically increased or decreased, so that the user can set the rule defined for each model of the control device. There is no need to remember, and no mistake is made in inputting the value of element information that does not follow the rules. Therefore, it is possible to set an accurate value of element information. As a result, workability in creating the setting data is greatly improved.

【0034】(6)第6の発明 第6の発明に係る表示装置は、被制御機器を制御するた
めの制御装置において用いられる制御プログラム上の要
素を特定するための要素情報を、当該要素情報により特
定される要素に設定される制御パラメータとともに、前
記制御装置の動作内容を特定する設定用データとして記
憶する記憶部と、記憶部に記憶された制御パラメータを
制御装置に送信するとともに制御装置から送信されるデ
ータを受信する通信手段と、通信手段により受信された
データに基づき制御装置の制御動作に関連する画像を表
示する表示部と、制御装置の機種ごとに定められた要素
情報の値に関する規則を規則情報として記憶する規則情
報記憶手段と、制御装置の機種を入力するための機種入
力手段と、要素情報の値を表示する要素情報表示手段
と、要素情報表示手段により表示された要素情報の値の
増加または減少を指示する指示手段と、指示手段により
要素情報の値の増加または減少が指示されたときに規則
情報記憶手段に記憶された規則情報のうち機種入力手段
により入力された制御装置の機種に対応する規則情報に
従って要素情報表示手段により表示される要素情報の値
を増加または減少させる要素情報増減手段と、要素情報
表示手段により表示された要素情報に対応する制御パラ
メータを記憶部に設定するための設定手段と、記憶部に
記憶された設定用データに含まれる制御パラメータを対
応する要素情報に基づいて制御装置に転送する転送手段
とを備えたものである。
(6) Sixth Invention A display device according to a sixth invention is a display device which stores element information for specifying an element on a control program used in a control device for controlling a controlled device, by using the element information. A storage unit that stores, as control data set for specifying the operation content of the control device, together with a control parameter set to the element specified by the control unit, and a control parameter stored in the storage unit is transmitted to the control device and transmitted from the control device. A communication unit for receiving the transmitted data, a display unit for displaying an image related to a control operation of the control device based on the data received by the communication unit, and a value of element information determined for each model of the control device Rule information storage means for storing rules as rule information, model input means for inputting the model of the control device, and element information for displaying the value of element information Information display means, instruction means for instructing an increase or decrease of the value of element information displayed by the element information display means, and a rule information storage means when an increase or decrease of the element information value is instructed by the instruction means. An element information increasing / decreasing means for increasing or decreasing the value of element information displayed by the element information display means according to the rule information corresponding to the model of the control device inputted by the model input means from the stored rule information; Setting means for setting a control parameter corresponding to the element information displayed by the means in the storage unit, and transferring a control parameter included in the setting data stored in the storage unit to the control device based on the corresponding element information And transfer means for performing the transfer.

【0035】本発明に係る表示装置においては、制御装
置の機種ごとに定められた要素情報の値に関する規則が
規則情報として規則情報記憶手段に記憶される。また、
要素情報の値が要素情報表示手段により表示される。ユ
ーザが機種入力手段により制御装置の機種を入力し、指
示手段により要素情報の値の増加または減少を指示する
と、規則情報記憶手段に記憶された規則情報のうち機種
入力手段により入力された制御装置の機種に対応する規
則情報に従って要素情報表示手段により表示される要素
情報の値が増加または減少される。ユーザが設定手段に
より要素情報に対応する制御パラメータを設定すると、
設定手段により設定された制御パラメータが対応する要
素情報とともに設定用データとして転送手段により表示
装置に転送される。
In the display device according to the present invention, rules regarding the value of element information determined for each model of the control device are stored in the rule information storage means as rule information. Also,
The value of the element information is displayed by the element information display means. When the user inputs the model of the control device by the model input means and instructs the increase or decrease of the value of the element information by the instruction means, the control device input by the model input means among the rule information stored in the rule information storage means. The value of the element information displayed by the element information display means is increased or decreased in accordance with the rule information corresponding to the model of. When the user sets the control parameters corresponding to the element information by the setting means,
The control parameters set by the setting means are transferred to the display device by the transfer means as setting data together with the corresponding element information.

【0036】このように、制御装置の機種ごとに定めら
れた規則情報に従って要素情報表示手段により表示され
る要素情報の値が自動的に増加または減少されるので、
ユーザは制御装置の機種ごとに定められた規則を覚える
必要がなく、規則に従わない要素情報の値を誤って入力
することもない。したがって、正確な要素情報の値を容
易に設定することが可能となる。その結果、設定用デー
タの作成における作業性が大幅に向上する。
As described above, the value of the element information displayed by the element information display means is automatically increased or decreased according to the rule information determined for each model of the control device.
The user does not need to remember rules set for each model of the control device, and does not erroneously input a value of element information that does not comply with the rules. Therefore, it is possible to easily set an accurate value of the element information. As a result, workability in creating the setting data is greatly improved.

【0037】[0037]

【発明の実施の形態】図1は、本発明の一実施の形態に
よる表示装置の構成およびプログラマブルコントローラ
の構成の一例を示すブロック図である。また、図2は、
図1に示す表示装置に用いられる設定用データを作成す
るデータ作成装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing an example of a configuration of a display device and a configuration of a programmable controller according to an embodiment of the present invention. Also, FIG.
FIG. 2 is a block diagram illustrating a configuration of a data creation device that creates setting data used in the display device illustrated in FIG. 1.

【0038】図1において、表示装置100は、通信制
御部110、ディスプレイ120、表示制御部130、
タッチパネル140、入力制御部150、CPU(中央
演算処理装置)160、書き換え可能なROM(リード
オンリメモリ)170、SRAM(スタティックランダ
ムアクセスメモリ)180およびDRAM(ダイナミッ
クランダムアクセスメモリ)190を備える。本実施の
形態では、ROM170としてフラッシュROMが用い
られ、SRAM180は、バックアップ電源により装置
の電源をオフしてもデータを保持できるように構成され
ている。
In FIG. 1, a display device 100 includes a communication control unit 110, a display 120, a display control unit 130,
It includes a touch panel 140, an input control unit 150, a CPU (central processing unit) 160, a rewritable ROM (read only memory) 170, an SRAM (static random access memory) 180, and a DRAM (dynamic random access memory) 190. In the present embodiment, a flash ROM is used as the ROM 170, and the SRAM 180 is configured to be able to retain data even when the power of the apparatus is turned off by a backup power supply.

【0039】一方、プログラマブルコントローラ200
は、通信制御部210、CPU220、メモリ230、
入力部240および出力部250を備える。
On the other hand, the programmable controller 200
Is a communication control unit 210, a CPU 220, a memory 230,
An input unit 240 and an output unit 250 are provided.

【0040】表示装置100の通信制御部110は、プ
ログラマブルコントローラ200等の制御装置との通信
を制御する。通信制御部110の通信形式は、有線また
は無線のいずれでもよく、通信プロトコルも特に限定さ
れない。本実施の形態では、表示装置100の通信制御
部110はプログラマブルコントローラ200とシリア
ル通信を行う。ディスプレイ120は、プログラマブル
コントローラ200から受信したデータの状態を所定の
表示画面に表示する。表示制御部130は、CPU16
0からの指令に従ってディスプレイ120の表示動作を
制御する。
The communication control unit 110 of the display device 100 controls communication with a control device such as the programmable controller 200. The communication format of the communication control unit 110 may be either wired or wireless, and the communication protocol is not particularly limited. In the present embodiment, the communication control unit 110 of the display device 100 performs serial communication with the programmable controller 200. The display 120 displays the state of the data received from the programmable controller 200 on a predetermined display screen. The display control unit 130 controls the CPU 16
The display operation of the display 120 is controlled according to a command from 0.

【0041】タッチパネル140は、ディスプレイ12
0に重ねて設けられ、プログラマブルコントローラ20
0のメモリ230に設定される制御パラメータ等の入力
およびディスプレイ120の表示状態の変更のための入
力手段として用いられる。入力制御部150は、タッチ
パネル140からの入力信号を処理してCPU160に
伝える。
The touch panel 140 is connected to the display 12
0 and the programmable controller 20
0 is used as input means for inputting control parameters and the like set in the memory 230 and changing the display state of the display 120. The input control unit 150 processes an input signal from the touch panel 140 and transmits it to the CPU 160.

【0042】ROM170には、通信制御部110、表
示制御部130および入力制御部150の動作を制御す
るシステムプログラムが記憶される。SRAM180
は、図2のデータ作成装置300とのデータの送受信に
使用され、データ作成装置300により作成された設定
用データが記憶される。DRAM190は、プログラマ
ブルコントローラ200とのデータの送受信に使用され
る。
The ROM 170 stores a system program for controlling the operations of the communication control unit 110, the display control unit 130, and the input control unit 150. SRAM 180
Is used to transmit and receive data to and from the data creation device 300 of FIG. 2, and stores the setting data created by the data creation device 300. The DRAM 190 is used for transmitting and receiving data to and from the programmable controller 200.

【0043】SRAM180に記憶されている設定用デ
ータのうち送信すべき制御パラメータがDRAM190
に記憶され、DRAM190に記憶された制御パラメー
タは通信制御部110を介して送信される。また、通信
制御部110を介して受信された制御パラメータは、D
RAM190に一旦記憶された後、当該制御パラメータ
がSRAM180に記憶される。なお、DRAM190
を介さずにSRAM180をプログラマブルコントロー
ラ200とのデータの送受信に直接使用してもよい。
The control parameters to be transmitted among the setting data stored in the SRAM 180
And the control parameters stored in the DRAM 190 are transmitted via the communication control unit 110. The control parameter received via the communication control unit 110 is D
After being stored once in the RAM 190, the control parameters are stored in the SRAM 180. The DRAM 190
The SRAM 180 may be used directly for transmitting and receiving data to and from the programmable controller 200 without going through.

【0044】CPU160は、ROM170に記憶され
たシステムプログラムをDRAM190上で実行し、通
信制御部110、表示制御部130および入力制御部1
50に各種指令を与えるとともに、プログラマブルコン
トローラ200から送信されるデータに基づきプログラ
マブルコントローラ200の制御動作に関連する画像を
ディスプレイ120に表示させる。
The CPU 160 executes the system program stored in the ROM 170 on the DRAM 190, and executes the communication control unit 110, the display control unit 130, and the input control unit 1.
While giving various instructions to 50, an image related to the control operation of the programmable controller 200 is displayed on the display 120 based on data transmitted from the programmable controller 200.

【0045】一方、プログラマブルコントローラ200
の通信制御部210は、表示装置100との通信を制御
する。通信制御部210は、表示装置100とシリアル
通信を行う。メモリ230には、プログラマブルコント
ローラ用プログラム作成装置により作成された制御プロ
グラムが記憶されるとともに、各種デバイスが割り付け
られる。
On the other hand, the programmable controller 200
The communication control unit 210 controls communication with the display device 100. The communication control unit 210 performs serial communication with the display device 100. In the memory 230, a control program created by the programmable controller program creating device is stored, and various devices are allocated.

【0046】入力部240には、スイッチ、センサ等の
入力機器が接続され、出力部250には、電磁開閉器、
リレー、ソレノイド、モータ、シリンダ等の出力機器が
接続される。CPU220は、メモリ230に記憶され
た制御プログラムを実行する。CPU220による制御
プログラムの実行に伴ってメモリ230に割り付けられ
たデバイスの状態が変化する。
The input unit 240 is connected to input devices such as switches and sensors, and the output unit 250 is connected to an electromagnetic switch,
Output devices such as relays, solenoids, motors and cylinders are connected. CPU 220 executes the control program stored in memory 230. As the CPU 220 executes the control program, the state of the device allocated to the memory 230 changes.

【0047】図2において、データ作成装置300は、
通信制御部310、ディスプレイ320、入力装置33
0、ROM340、CPU350、RAM360、記録
媒体駆動装置370および外部記憶装置380を備え
る。
In FIG. 2, the data creation device 300
Communication control unit 310, display 320, input device 33
0, a ROM 340, a CPU 350, a RAM 360, a recording medium driving device 370, and an external storage device 380.

【0048】通信制御部310は、表示装置100との
通信を制御する。ディスプレイ320は、液晶表示パネ
ル、CRT(陰極線管)等からなり、データ作成処理に
用いられる画面等を表示する。入力装置330は、キー
ボード、マウス等からなり、設定用データの作成時に種
々の指令を入力するために用いられる。
The communication control section 310 controls communication with the display device 100. The display 320 includes a liquid crystal display panel, a cathode ray tube (CRT), and the like, and displays a screen used for data creation processing. The input device 330 includes a keyboard, a mouse, and the like, and is used to input various commands when creating setting data.

【0049】ROM340にはシステムプログラムが記
憶される。記録媒体駆動装置370は、CD−ROMド
ライブ、フロッピィディスクドライブ等からなり、CD
−ROM、フロッピィディスク等の記録媒体371に対
してデータの読み書きを行う。記録媒体371には、表
示装置100に用いられる設定用データを作成するため
のデータ作成プログラムが記録されている。外部記憶装
置380は、ハードディスク装置等からなり、記録媒体
駆動装置370を介して記録媒体371から読み込まれ
たデータ作成プログラムを記憶する。
The ROM 340 stores a system program. The recording medium drive 370 includes a CD-ROM drive, a floppy disk drive, and the like.
-Read and write data from and to a recording medium 371 such as a ROM and a floppy disk. The recording medium 371 stores a data creation program for creating setting data used in the display device 100. The external storage device 380 includes a hard disk device or the like, and stores a data creation program read from the recording medium 371 via the recording medium driving device 370.

【0050】RAM360には、プログラマブルコント
ローラ200の機種ごとおよびデバイス種別ごとにデバ
イス番号の指定規則を示すデバイス番号指定規則情報が
予め記憶される。CPU350は、外部記憶装置380
に記憶されたデータ作成プログラムをRAM360上で
実行し、通信制御部310、ディスプレイ320および
入力装置330を制御する。
The RAM 360 stores in advance device number designation rule information indicating a device number designation rule for each model and device type of the programmable controller 200. The CPU 350 includes an external storage device 380
Is executed on the RAM 360, and controls the communication control unit 310, the display 320, and the input device 330.

【0051】データ作成装置300は、例えばパーソナ
ルコンピュータと、記録媒体371に記録されたデータ
作成プログラムとにより構成される。
The data creation device 300 includes, for example, a personal computer and a data creation program recorded on a recording medium 371.

【0052】なお、データ作成プログラムを記録する記
録媒体371として、ROM等の半導体メモリ、ハード
ディスク等の種々の記録媒体を用いることができる。ま
た、データ作成プログラムを通信回線等の通信媒体を介
して外部記憶装置380にダウンロードし、RAM36
0上で実行してもよい。この場合、通信媒体が記録媒体
に相当する。
As the recording medium 371 for recording the data creation program, various recording media such as a semiconductor memory such as a ROM and a hard disk can be used. Further, the data creation program is downloaded to the external storage device 380 via a communication medium such as a communication line,
0 may be executed. In this case, the communication medium corresponds to a recording medium.

【0053】本実施の形態では、図1のSRAM180
およびDRAM190が記憶部に相当し、通信制御部1
10が通信手段に相当し、ディスプレイ120が表示部
に相当する。また、図1のプログラマブルコントローラ
200が制御装置に相当する。さらに、図2のRAM3
60が規則情報記憶手段に相当し、ディスプレイ320
および入力装置330が機種入力手段、指示手段および
設定手段に相当し、ディスプレイ320が要素情報表示
手段に相当する。また、ディスプレイ320、入力装置
330およびCPU350が要素情報増減手段に相当
し、通信制御部310が転送手段に相当する。
In this embodiment, the SRAM 180 shown in FIG.
And the DRAM 190 correspond to a storage unit, and the communication control unit 1
Reference numeral 10 corresponds to a communication unit, and the display 120 corresponds to a display unit. Further, the programmable controller 200 in FIG. 1 corresponds to a control device. Further, the RAM 3 of FIG.
60 corresponds to the rule information storage means, and the display 320
The input device 330 corresponds to a model input unit, an instruction unit, and a setting unit, and the display 320 corresponds to an element information display unit. Further, the display 320, the input device 330, and the CPU 350 correspond to the element information increasing / decreasing unit, and the communication control unit 310 corresponds to the transfer unit.

【0054】図3は、図1に示す表示装置100の制御
パラメータの管理方法を説明するための概略図である。
FIG. 3 is a schematic diagram for explaining a method of managing the control parameters of the display device 100 shown in FIG.

【0055】図3に示すように、SRAM180には、
使用するデバイスごとにデバイス情報D1〜D4、…が
記憶される。このデバイス情報は、プログラマブルコン
トローラ200において用いられる制御プログラム上の
要素であるデバイスを特定するための要素情報である。
デバイス情報はデバイス種別およびデバイス番号からな
り、デバイス種別およびデバイス番号を用いてデバイス
が割り付けられたプログラマブルコントローラ200の
メモリ230上のアドレスが特定される。デバイス種別
は、デバイスの名称を表し、デバイス番号は、同一デバ
イス種別の複数のデバイスを識別するために付された番
号である。
As shown in FIG. 3, the SRAM 180 has
Device information D1 to D4,... Are stored for each device to be used. This device information is element information for specifying a device which is an element on a control program used in the programmable controller 200.
The device information includes a device type and a device number, and an address on the memory 230 of the programmable controller 200 to which the device is assigned is specified using the device type and the device number. The device type represents the name of the device, and the device number is a number assigned to identify a plurality of devices of the same device type.

【0056】また、SRAM180には、プログラマブ
ルコントローラ200により制御される被制御機器の動
作内容ごとに当該動作内容を特定する識別情報となる名
称情報とともに、記憶されたデバイス情報の各々に対し
て制御パラメータとなるデータ値が記憶される。例え
ば、図3に示すパラメータ1では、名称情報1が動作内
容を特定するための名称情報として記憶され、当該動作
内容に使用されるデバイスのデバイス情報D1〜D4に
対応するデータ値D11〜D14がそれぞれ記憶され
る。同様に、他の動作内容に対応するパラメータ2とし
て図示のように名称情報2およびデータ値D21〜D2
4が記憶され、さらに他の動作内容に対応するパラメー
タ3として図示のように名称情報3およびデータ値D3
1〜D34が記憶される。
The SRAM 180 stores, for each operation content of the controlled device controlled by the programmable controller 200, name information serving as identification information for specifying the operation content, and a control parameter for each of the stored device information. Is stored. For example, in the parameter 1 shown in FIG. 3, the name information 1 is stored as name information for specifying the operation content, and the data values D11 to D14 corresponding to the device information D1 to D4 of the device used for the operation content are stored. Each is stored. Similarly, name information 2 and data values D21 to D2 as shown in FIG.
4 are stored, and the name information 3 and the data value D3 are stored as a parameter 3 corresponding to another operation content as shown in FIG.
1 to D34 are stored.

【0057】上記のように、本実施の形態では、デバイ
ス情報がデバイスごとに記憶され、各デバイス情報ごと
に制御パラメータとなるデータ値が記憶されているた
め、名称情報だけでなく、デバイス情報ごとに制御パラ
メータを特定することができる。
As described above, in the present embodiment, device information is stored for each device, and a data value serving as a control parameter is stored for each device information. Control parameters can be specified.

【0058】図4は、図2のデータ作成装置300のデ
ィスプレイ320に表示されるデバイス表示画面の初期
状態の一例を示す図である。
FIG. 4 is a diagram showing an example of an initial state of a device display screen displayed on the display 320 of the data creating apparatus 300 of FIG.

【0059】図4に示すように、図2のディスプレイ3
20にデバイス表示画面W1が表示される。デバイス表
示画面W1には、デバイス情報表示領域DIおよびデー
タ値表示領域DVが表示される。
As shown in FIG. 4, the display 3 shown in FIG.
20, a device display screen W1 is displayed. On the device display screen W1, a device information display area DI and a data value display area DV are displayed.

【0060】図4の例では、デバイス情報表示領域DI
に6個のデバイス情報「D000000」〜「D000
005」が表示されている。「D」はデバイス種別であ
り、デバイスがデータレジスタであることを示してお
り、「000000」等の数値はデバイス番号である。
また、デバイス情報表示領域DIの各欄に表示される
「W」は当該デバイスがワードデバイスであることを示
している。デバイスがビットデバイスの場合には「B」
が表示される。
In the example of FIG. 4, the device information display area DI
6 device information "D000000"-"D000"
005 "is displayed. “D” is a device type, indicating that the device is a data register, and a numerical value such as “000000” is a device number.
“W” displayed in each column of the device information display area DI indicates that the device is a word device. "B" if the device is a bit device
Is displayed.

【0061】レコードは、動作内容ごとに記憶されてい
る名称情報および各デバイスのデータ値から構成され、
例えば、図3に示すパラメータ1等に対応するものであ
る。図4の例では、名称情報として「レコード0000
0」が表示され、この名称情報に対してデータ値表示領
域DVにデバイスごとのデータ値が表示されている。初
期状態では、データ値「0」が設定されている。これら
の名称情報およびデータ値により1つのレコードが設定
される。
The record is composed of name information stored for each operation content and data values of each device.
For example, it corresponds to parameter 1 and the like shown in FIG. In the example of FIG. 4, "record 0000" is used as name information.
"0" is displayed, and the data value for each device is displayed in the data value display area DV for this name information. In an initial state, a data value “0” is set. One record is set by the name information and the data value.

【0062】デバイス表示画面W1の上部にデバイス
数、レコード数等が表示される。図4の例では、デバイ
ス情報表示領域DIに6個のデバイスのデバイス情報が
設定されているため、デバイス数として「6」が表示さ
れている。デバイスの追加は、「新規デバイス」の欄を
ダブルクリックすることにより行うことができ、また、
「デバイス数」の横に矢印で示される増減ボタンを操作
することによっても可能である。また、レコード数とし
ては「1」が表示されている。レコードの追加は、「新
規レコード」の欄をダブルクリックすることにより行う
ことができ、また、「レコード数」の横に矢印で示され
る増減ボタンを操作することによっても可能である。
The number of devices, the number of records, and the like are displayed at the top of the device display screen W1. In the example of FIG. 4, since device information of six devices is set in the device information display area DI, "6" is displayed as the number of devices. Devices can be added by double-clicking on the "New device" field.
It is also possible by operating an increase / decrease button indicated by an arrow next to “the number of devices”. Also, “1” is displayed as the number of records. A record can be added by double-clicking on the “new record” column, or by operating an increase / decrease button indicated by an arrow next to “number of records”.

【0063】また、デバイス表示画面W1には、機種名
設定欄600が表示されている。ユーザは、この機種名
設定欄600にプログラマブルコントローラ200の機
種名を設定する。
Further, a model name setting column 600 is displayed on the device display screen W1. The user sets the model name of the programmable controller 200 in the model name setting column 600.

【0064】上記のデバイス表示画面W1のデバイス情
報表示領域DI内の任意の欄をダブルクリックすると、
当該欄にデバイス情報を設定するためのデバイス設定画
面が表示される。
When an arbitrary field in the device information display area DI of the device display screen W1 is double-clicked,
A device setting screen for setting device information is displayed in the column.

【0065】図5、図6および図7はデバイス設定画面
の例を示す図である。図5〜図7に示すように、デバイ
ス設定画面W2には、データ種別欄601、デバイス種
別欄602、デバイス番号欄603およびデバイス番号
指定規則欄604が表示されている。
FIGS. 5, 6 and 7 show examples of the device setting screen. As shown in FIGS. 5 to 7, a data type column 601, a device type column 602, a device number column 603, and a device number designation rule column 604 are displayed on the device setting screen W2.

【0066】データ種別欄601には、データ種別とし
て「1ワード」または「1ビット」が表示される。「1
ワード」はワードデバイスを示し、「1ビット」はビッ
トデバイスを示す。
In the data type column 601, “1 word” or “1 bit” is displayed as the data type. "1
"Word" indicates a word device, and "1 bit" indicates a bit device.

【0067】デバイス種別欄602にはデバイス種別が
表示される。ユーザは、デバイス種別欄602に任意の
デバイス種別を入力することができる。この場合、デバ
イス種別欄602の矢印ボタン607をクリックするこ
とにより設定可能なデバイス種別が一覧表示される。
The device type column 602 displays the device type. The user can input an arbitrary device type in the device type column 602. In this case, a list of device types that can be set by clicking the arrow button 607 in the device type column 602 is displayed.

【0068】また、デバイス番号欄603にはデバイス
番号が表示される。ユーザは、矢印ボタン605,60
6によりデバイス番号欄603に表示されるデバイス番
号を増加または減少させることができる。この矢印ボタ
ン605,606をクリックすると、後述する指定規則
に従ってデバイス番号が増加または減少する。
In the device number column 603, a device number is displayed. The user can select the arrow buttons 605 and 60
6, the device number displayed in the device number column 603 can be increased or decreased. When these arrow buttons 605 and 606 are clicked, the device number increases or decreases according to a specification rule described later.

【0069】さらに、デバイス番号指定規則欄604に
は、図4の機種名設定欄600に設定されたプログラマ
ブルコントローラ200の機種および図5〜図7のデバ
イス種別欄602に表示されたデバイス種別に対応する
デバイス番号の指定規則が表示される。「OK」ボタン
OBをダブルクリックすることにより、デバイス種別欄
602に表示されたデバイス種別およびデバイス番号欄
603に表示されたデバイス番号がデバイス情報として
設定される。
Further, the device number designation rule column 604 corresponds to the model of the programmable controller 200 set in the model name setting column 600 of FIG. 4 and the device type displayed in the device type column 602 of FIGS. The rule for specifying the device number to be used is displayed. By double-clicking the “OK” button OB, the device type displayed in the device type column 602 and the device number displayed in the device number column 603 are set as device information.

【0070】図5の例では、デバイス種別欄602にデ
バイス種別として「データレジスタ」が表示されてい
る。また、デバイス番号欄603にデバイス番号として
「000000」が表示されている。
In the example of FIG. 5, "data register" is displayed as a device type in the device type column 602. “000000” is displayed as a device number in the device number column 603.

【0071】デバイス番号指定規則欄604に表示され
たデバイス番号の指定規則は、「入力範囲は10進で0
00000〜006143」となっている。したがっ
て、デバイス番号は、000000,000001,0
00002,…,006143と1ずつ増加する。
The device number specification rule displayed in the device number specification rule column 604 is as follows: “The input range is 0 in decimal.
0000-006143 ". Therefore, the device number is 000000,000001,0
000043,...

【0072】この場合、矢印ボタン605をクリックす
ると、デバイス番号欄603に表示されるデバイス番号
が1ずつ増加し、矢印ボタン606をクリックすると、
デバイス番号欄603に表示されるデバイス番号が1ず
つ減少する。
In this case, when the arrow button 605 is clicked, the device number displayed in the device number column 603 increases by one, and when the arrow button 606 is clicked,
The device number displayed in the device number column 603 decreases by one.

【0073】図6の例では、デバイス種別欄602にデ
バイス種別として「内部リレー」が表示されている。ま
た、デバイス番号欄603にデバイス番号として「01
000」が表示されている。
In the example of FIG. 6, “internal relay” is displayed as the device type in the device type column 602. In the device number column 603, “01” is set as the device number.
000 "is displayed.

【0074】デバイス番号指定規則欄604に表示され
たデバイス番号の指定規則は、「入力範囲は10進で0
1000〜01900、下2桁は00」となっている。
したがって、デバイス番号は、01000,0110
0,01200,…,01900と100ずつ増加す
る。
The device number designation rule displayed in the device number designation rule column 604 is “input range is 0 in decimal.
1000 to 01900, and the last two digits are 00.
Therefore, the device number is 01000,0110
0, 01200,..., 01900 and increase by 100.

【0075】この場合、矢印ボタン605をクリックす
ると、デバイス番号欄603に表示されるデバイス番号
が100ずつ増加し、矢印ボタン606をクリックする
と、デバイス番号欄603に表示されるデバイス番号が
100ずつ減少する。
In this case, clicking the arrow button 605 increases the device number displayed in the device number column 603 by 100, and clicking the arrow button 606 decreases the device number displayed in the device number column 603 by 100. I do.

【0076】図7の例では、デバイス種別欄602にデ
バイス種別として「拡張ファイルレジスタ」が表示され
ている。また、デバイス番号欄603にデバイス番号と
して「000000」が表示されている。
In the example of FIG. 7, “extended file register” is displayed as a device type in the device type column 602. “000000” is displayed as a device number in the device number column 603.

【0077】デバイス番号指定規則欄604に表示され
たデバイス番号の指定規則は、「入力範囲は10進で0
00000〜488191、上位2桁は0〜48であ
り、下位4桁は0000〜8191」となっている。し
たがって、デバイス番号は、000000,00000
1,000002,…,008191と1ずつ増加し、
次に010000,010002,…,018191と
増加する。
The device number designation rule displayed in the device number designation rule column 604 is “input range is 0 in decimal.
0000-488191, the upper two digits are 0-48, and the lower four digits are 0000-8191. Therefore, the device number is 0000000000
1, 000002, ..., 008191, one by one,
Next, the number increases to 010000, 010002, ..., 018191.

【0078】この場合、矢印ボタン605をクリックす
ると、デバイス番号欄603に表示されるデバイス番号
の下2桁が1ずつ増加し、下2桁が8191から000
0になるごとに上2桁が1ずつ増加する。矢印ボタン6
06をクリックすると、デバイス番号欄603に表示さ
れるデバイス番号の下2桁が1ずつ減少し、下2桁が0
000から8191になるごとに上2桁が1ずつ減少す
る。
In this case, when the arrow button 605 is clicked, the lower two digits of the device number displayed in the device number column 603 are incremented by one, and the lower two digits are from 8191 to 000.
Each time it becomes 0, the first two digits increase by one. Arrow button 6
When 06 is clicked, the lower two digits of the device number displayed in the device number column 603 decrease by one, and the lower two digits become 0.
Each time from 000 to 8191, the first two digits decrease by one.

【0079】このように、矢印ボタン605,606を
クリックすることによりデバイス番号欄603に表示さ
れるデバイス番号が設定されたプログラマブルコントロ
ーラ200の機種に対応する指定規則に従って自動的に
変化する。したがって、ユーザは、プログラマブルコン
トローラ200の機種ごとにデバイス番号の指定規則を
覚える必要がない。
As described above, by clicking the arrow buttons 605 and 606, the device number displayed in the device number column 603 automatically changes according to the specification rule corresponding to the model of the programmable controller 200 set. Therefore, the user does not need to remember the device number specification rules for each model of the programmable controller 200.

【0080】図8は図7に示されるデバイス番号の指定
規則に従うデバイス情報の例を示す図である。図8のデ
バイス情報は、デバイス種別文字列「nR」およびデバ
イス番号「458000」からなる。デバイス番号は、
後述する下4桁のチェック範囲C1と下2桁のチェック
範囲C2とに区分される。
FIG. 8 is a diagram showing an example of device information according to the device number designation rule shown in FIG. The device information in FIG. 8 includes a device type character string “nR” and a device number “458000”. The device number is
It is divided into a lower four digit check range C1 and a lower two digit check range C2 which will be described later.

【0081】なお、デバイス番号の指定規則は図5〜図
7の例に限らない。例えば、デバイス番号の指定規則と
してデバイス番号が偶数となっている場合には、矢印ボ
タン605,606をクリックすることによりデバイス
番号欄603に表示されるデバイス番号が00000
0,000002,000004,…と変化する。
The rule for designating the device number is not limited to the examples shown in FIGS. For example, if the device number is an even number as a device number designation rule, clicking the arrow buttons 605 and 606 causes the device number displayed in the device number column 603 to be 00000.
0, 000002, 000004,...

【0082】図9は、デバイス設定画面によるデバイス
情報の設定後のデバイス表示画面の一例を示す図であ
る。
FIG. 9 is a diagram showing an example of a device display screen after setting device information on the device setting screen.

【0083】図9に示すように、デバイス表示画面W1
のデバイス情報表示領域DIにデバイス設定画面W2で
設定された6個のデバイス情報が表示されている。この
状態で「レコード00000」のデータ値表示領域DV
の各欄に制御パラメータとしてデータ値を入力すること
ができる。
As shown in FIG. 9, the device display screen W1
In the device information display area DI, six pieces of device information set on the device setting screen W2 are displayed. In this state, the data value display area DV of “Record 00000”
A data value can be input as a control parameter in each of the fields.

【0084】デバイス表示画面W1のデバイス情報表示
領域DIに設定されたデバイス情報および各デバイス情
報に対応してデータ値表示領域DVのレコードに設定さ
れたデータ値は設定用データとしてRAM360に記憶
される。RAM360に記憶された設定用データは、通
信制御部310を介して表示装置100の通信制御部1
10へ送信される。表示装置100は、通信制御部11
0により受信した上記の設定用データをSRAM180
に記憶する。
The device information set in the device information display area DI of the device display screen W1 and the data value set in the record of the data value display area DV corresponding to each device information are stored in the RAM 360 as setting data. . The setting data stored in the RAM 360 is transmitted to the communication control unit 1 of the display device 100 via the communication control unit 310.
Sent to 10. The display device 100 includes a communication control unit 11
0 is stored in the SRAM 180
To memorize.

【0085】さらに、表示装置100は、SRAM18
0に記憶された設定用データに含まれるデータ値を制御
パラメータとして通信制御部110を介してプログラマ
ブルコントローラ200の通信制御部210に送信す
る。プログラマブルコントローラ200は、通信制御部
210により受信した制御パラメータを対応するデバイ
ス情報により特定されるメモリ230のアドレスに設定
する。
Further, the display device 100 includes the SRAM 18
The data value included in the setting data stored in “0” is transmitted to the communication control unit 210 of the programmable controller 200 via the communication control unit 110 as a control parameter. The programmable controller 200 sets the control parameter received by the communication control unit 210 to the address of the memory 230 specified by the corresponding device information.

【0086】なお、データ作成装置300から表示装置
100に送信される設定用データにデバイス番号指定規
則情報を含めてもよい。その場合には、ユーザが表示装
置100において設定用データ内のデバイス情報を変更
する際に図5〜図7に示したようにプログラマブルコン
トローラ200の機種ごとに定められるデバイス番号の
指定規則に従ってデバイス番号を自動的に増減させるこ
とができる。
Note that the setting data transmitted from the data creation device 300 to the display device 100 may include device number designation rule information. In this case, when the user changes the device information in the setting data on the display device 100, the device number is changed according to the device number specification rule determined for each model of the programmable controller 200 as shown in FIGS. Can be automatically increased or decreased.

【0087】図10および図11はデータ作成プログラ
ムにおけるデバイス番号表示処理を示すフロチャートで
ある。
FIGS. 10 and 11 are flowcharts showing the device number display processing in the data creation program.

【0088】まず、CPU350は、プログラマブルコ
ントローラ200の機種名の入力を受け付ける(ステッ
プS1)。この場合、ユーザが図4に示すデバイス表示
画面W1の機種名設定欄600においてプログラマブル
コントローラ200の機種名を設定すると、CPU35
0は設定された機種名を取得する。
First, the CPU 350 receives an input of the model name of the programmable controller 200 (step S1). In this case, when the user sets the model name of the programmable controller 200 in the model name setting column 600 of the device display screen W1 shown in FIG.
0 acquires the set model name.

【0089】次に、CPU350は、デバイス種別の入
力を受け付ける(ステップS2)。この場合、ユーザが
図4に示すデバイス表示画面W1のデバイス情報表示領
域DIの所望の欄をダブルクリックすると、ディスプレ
イ320にデバイス設定画面W2が表示される。そし
て、ユーザが図5〜図7に示したデバイス設定画面W2
のデバイス種別欄602においてデバイス種別を選択す
ると、CPU350は選択されたデバイス種別を取得す
る。
Next, the CPU 350 accepts an input of a device type (step S2). In this case, when the user double-clicks on a desired column in the device information display area DI of the device display screen W1 shown in FIG. 4, a device setting screen W2 is displayed on the display 320. Then, the user sets the device setting screen W2 shown in FIGS.
When a device type is selected in the device type column 602, the CPU 350 acquires the selected device type.

【0090】次に、CPU350は、入力された機種名
およびデバイス種別に対応するデバイス番号指定規則情
報をRAM360から取得する(ステップS3)。
Next, the CPU 350 acquires device number designation rule information corresponding to the input model name and device type from the RAM 360 (step S3).

【0091】その後、CPU350は、デバイス番号の
インクリメント操作を受け付ける(ステップS4)。こ
の場合、ユーザがデバイス設定画面W2の矢印ボタン6
05,606をクリックすると、CPU350は矢印ボ
タン605,606がクリックされたことを認識する。
Thereafter, CPU 350 accepts a device number increment operation (step S4). In this case, the user presses the arrow button 6 on the device setting screen W2.
When the user clicks on the buttons 05 and 606, the CPU 350 recognizes that the arrow buttons 605 and 606 have been clicked.

【0092】そして、CPU350は、デバイス設定画
面W2のデバイス番号欄603に表示されたデバイス番
号を取得する(ステップS5)。デバイス番号欄603
には初期値が表示されている。
Then, the CPU 350 acquires the device number displayed in the device number column 603 of the device setting screen W2 (step S5). Device number column 603
Indicates an initial value.

【0093】次に、CPU350は、取得したデバイス
番号指定規則情報に基づいて取得したデバイス番号を複
数のチェック範囲に分割する(ステップS6)。例え
ば、図8の例では、デバイス番号「458000」を下
位4桁のチェック範囲C1と上位2桁のチェック範囲C
2とに分割する。
Next, the CPU 350 divides the acquired device number into a plurality of check ranges based on the acquired device number designation rule information (step S6). For example, in the example of FIG. 8, the device number “458000” is set to the lower 4 digits of the check range C1 and the upper 2 digits of the check range C
Divide into two.

【0094】さらに、CPU350は、最初のチェック
範囲の値を取得する(ステップS7)。図8の例では、
チェック範囲C1の値「8000」を取得する。
Further, the CPU 350 acquires the value of the first check range (step S7). In the example of FIG.
The value “8000” of the check range C1 is acquired.

【0095】次いで、CPU350は、当該チェック範
囲の値に1を加算する(ステップS8)。図8の例で
は、チェック範囲C1の値「8000」に1を加算し、
「8001」とする。
Next, the CPU 350 adds 1 to the value of the check range (step S8). In the example of FIG. 8, 1 is added to the value “8000” of the check range C1,
“8001”.

【0096】次に、CPU350は、当該チェック範囲
の値がオーバーフローしたか否かを判定する(ステップ
S9)。この場合、当該チェック範囲の値がデバイス番
号指定規則情報により規定された範囲を超えた場合にオ
ーバーフローしたとみなす。当該チェック範囲の値がオ
ーバーフローした場合には、オーバーフローが生じたこ
とを示すオーバーフローフラグをセットして当該チェッ
ク範囲の値を0にする(ステップS10)。図7および
図8の例では、チェック範囲C1の値が「8192」に
なった場合に、オーバーフローフラグをセットして当該
チェック範囲の値を「0000」にする。ステップS9
で当該チェック範囲の値がオーバーフローしていない場
合には、ステップS11に進む。
Next, the CPU 350 determines whether or not the value of the check range has overflowed (step S9). In this case, when the value of the check range exceeds the range specified by the device number specification rule information, it is considered that an overflow has occurred. When the value of the check range overflows, an overflow flag indicating that the overflow has occurred is set and the value of the check range is set to 0 (step S10). In the example of FIGS. 7 and 8, when the value of the check range C1 becomes “8192”, the overflow flag is set and the value of the check range is set to “0000”. Step S9
If the value of the check range does not overflow, the process proceeds to step S11.

【0097】さらに、CPU350は、当該チェック範
囲の値が正当な値であるか否かを判定する(ステップS
11)。当該チェック範囲の値がデバイス番号指定規則
情報に合致する値である場合には正当な値とみなし、当
該チェック範囲の値がデバイス番号指定規則情報に合致
しない場合には不正な値とみなす。例えば、図7および
図8の例では、チェック範囲C1の値が「0000」〜
「8191」の範囲の値であれば正当な値とみなし、
「0000」〜「8191」の範囲外の値であれば不正
な値とみなす。また、図6の例では、チェック範囲が1
つであるので、デバイス番号の下2桁が「00」であれ
ば正当な値とみなし、デバイス番号の下2桁が「00」
以外の値であれば不正な値とみなす。
Further, CPU 350 determines whether or not the value of the check range is a valid value (step S).
11). If the value of the check range is a value that matches the device number specification rule information, it is regarded as a valid value, and if the value of the check range does not match the device number specification rule information, it is regarded as an invalid value. For example, in the examples of FIGS. 7 and 8, the value of the check range C1 is “0000” to
A value in the range of “8191” is regarded as a valid value,
If the value is out of the range of “0000” to “8191”, it is regarded as an invalid value. In the example of FIG. 6, the check range is 1
Therefore, if the last two digits of the device number are “00”, it is regarded as a valid value, and the last two digits of the device number are “00”.
If the value is other than, it is regarded as an invalid value.

【0098】ステップS11で当該チェック範囲の値が
不正な値の場合には、ステップS8に戻り、当該チェッ
ク範囲の値が正当な値となるまでステップS8〜S11
の処理を繰り返す。
If the value of the check range is an invalid value in step S11, the process returns to step S8, and steps S8 to S11 are performed until the value of the check range becomes a valid value.
Is repeated.

【0099】ステップS11で当該チェック範囲の値が
正当な値の場合には、オーバーフローフラグがセットさ
れているか否かを判定する(ステップS12)。オーバ
ーフローフラグがセットされている場合には、オーバー
フローフラグをクリアして次のチェック範囲の値を取得
し(ステップS13)、ステップS8に戻る。図7およ
び図8の例では、オーバーフローフラグをクリアしてチ
ェック範囲C2の値「00」を取得する。そして、チェ
ック範囲C2についてステップS8〜S12の処理を繰
り返す。
If the value of the check range is a valid value in step S11, it is determined whether or not the overflow flag is set (step S12). If the overflow flag is set, the overflow flag is cleared and the value of the next check range is obtained (step S13), and the process returns to step S8. In the examples of FIGS. 7 and 8, the overflow flag is cleared and the value “00” of the check range C2 is acquired. Then, the processing of steps S8 to S12 is repeated for the check range C2.

【0100】ステップS12でオーバーフローフラグが
セットされていない場合には、分割された複数のチェッ
ク範囲を結合してデバイス番号欄602に表示する(ス
テップS14)。図7および図8の例では、チェック範
囲C1,C2の値を結合してデバイス番号欄602に表
示する。
If the overflow flag is not set in step S12, the plurality of divided check ranges are combined and displayed in the device number column 602 (step S14). In the examples of FIGS. 7 and 8, the values of the check ranges C1 and C2 are combined and displayed in the device number column 602.

【0101】その後、次のインクリメント操作があった
場合には、ステップS5に戻り、上記のステップS5〜
S14の処理を繰り返す。
Thereafter, when the next increment operation is performed, the process returns to step S5, and returns to steps S5 to S5.
The process of S14 is repeated.

【0102】上記のように、本実施の形態のデータ作成
装置300においては、プログラマブルコントローラ2
00の機種ごとに定められた規則に従ってデバイス設定
画面W2のデバイス番号欄603に表示されるデバイス
番号が自動的に増加または減少されるので、ユーザはプ
ログラマブルコントローラ200の機種ごとに定められ
たデバイス番号の規則を覚えることなく正確なデバイス
番号を容易に設定することが可能となる。
As described above, in the data generating apparatus 300 of the present embodiment, the programmable controller 2
Since the device number displayed in the device number column 603 of the device setting screen W2 is automatically increased or decreased according to a rule defined for each model of the programmable controller 200, the user can change the device number defined for each model of the programmable controller 200. It is possible to easily set an accurate device number without memorizing the rules.

【0103】表示装置100がデータ作成装置300と
同様のデータ作成機能を備えてもよい。この場合には、
上記のデータ作成プログラムが図1の表示装置100の
ROM170に記憶される。CPU160は、ROM1
70に記憶されたデータ作成プログラムをDRAM19
0上で実行する。それにより、図4および図9に示した
デバイス表示画面W1および図5〜図7に示したデバイ
ス設定画面W2がディスプレイ120に表示される。デ
バイス番号指定規則情報および設定用データはSRAM
180に記憶される。
The display device 100 may have the same data creation function as the data creation device 300. In this case,
The above data creation program is stored in the ROM 170 of the display device 100 in FIG. The CPU 160 has the ROM 1
70 is stored in the DRAM 19
Run on zero. Thereby, the device display screen W1 shown in FIGS. 4 and 9 and the device setting screen W2 shown in FIGS. 5 to 7 are displayed on the display 120. Device number designation rule information and setting data are SRAM
180.

【0104】この場合、図1のSRAM180が規則情
報記憶手段に相当し、ディスプレイ120およびタッチ
パネル140が機種入力手段、指示手段および設定手段
に相当し、ディスプレイ120およびCPU160が要
素情報増減手段に相当し、通信制御部110が転送手段
に相当する。なお、ROM170を規則情報記憶手段と
して用いてもよい。
In this case, the SRAM 180 in FIG. 1 corresponds to the rule information storage means, the display 120 and the touch panel 140 correspond to the model input means, the instruction means and the setting means, and the display 120 and the CPU 160 correspond to the element information increase / decrease means. , The communication control unit 110 corresponds to a transfer unit. Note that the ROM 170 may be used as rule information storage means.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態による表示装置の構成お
よびプログラマブルコントローラの構成の一例を示すブ
ロック図である。
FIG. 1 is a block diagram illustrating an example of a configuration of a display device and a configuration of a programmable controller according to an embodiment of the present invention.

【図2】図1に示す表示装置に用いられる設定用データ
を作成するデータ作成装置の構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a configuration of a data creation device for creating setting data used in the display device shown in FIG.

【図3】図1に示す表示装置の制御パラメータの管理方
法を説明するための概略図である。
1. FIG. 3 is a schematic diagram for explaining a method for managing control parameters of the display device shown in FIG.

【図4】図2のデータ作成装置のディスプレイに表示さ
れるデバイス表示画面の初期状態の一例を示す図であ
る。
FIG. 4 is a diagram illustrating an example of an initial state of a device display screen displayed on a display of the data creating apparatus in FIG. 2;

【図5】図2のデータ作成装置のディスプレイに表示さ
れるデバイス設定画面の一例を示す図である。
FIG. 5 is a diagram showing an example of a device setting screen displayed on a display of the data creation device in FIG. 2;

【図6】図2のデータ作成装置のディスプレイに表示さ
れるデバイス設定画面の一例を示す図である。
FIG. 6 is a diagram showing an example of a device setting screen displayed on a display of the data creating apparatus of FIG. 2;

【図7】図2のデータ作成装置のディスプレイに表示さ
れるデバイス設定画面の一例を示す図である。
FIG. 7 is a diagram showing an example of a device setting screen displayed on a display of the data creation device in FIG. 2;

【図8】デバイス情報の一例を示す図である。FIG. 8 is a diagram illustrating an example of device information.

【図9】デバイス設定画面によるデバイス情報の設定後
のデバイス表示画面の一例を示す図である。
FIG. 9 is a diagram showing an example of a device display screen after setting device information on the device setting screen.

【図10】データ作成プログラムにおけるデバイス番号
表示処理を示すフローチャートである。
FIG. 10 is a flowchart showing a device number display process in the data creation program.

【図11】データ作成プログラムにおけるデバイス番号
表示処理を示すフローチャートである。
FIG. 11 is a flowchart showing a device number display process in the data creation program.

【図12】従来のデータ作成装置のデバイス設定画面の
一例を示す図である。
FIG. 12 is a diagram showing an example of a device setting screen of a conventional data creation device.

【図13】従来のデータ作成装置のデバイス設定画面の
他の例を示す図である。
FIG. 13 is a diagram showing another example of a device setting screen of a conventional data creation device.

【符号の説明】[Explanation of symbols]

100 表示装置 110 通信制御部 120 ディスプレイ 140 タッチパネル 160 CPU 170 ROM 180 SRAM 190 DRAM 200 プログラマブルコントローラ 210 通信制御部 220 CPU 230 メモリ 300 データ作成装置 310 通信制御部 320 ディスプレイ 330 入力装置 340 ROM 350 CPU 360 RAM 370 記録媒体駆動装置 371 記録媒体 380 外部記憶装置 600 機種名設定欄 602 デバイス種別欄 603 デバイス番号欄 W1 デバイス表示画面 W2 デバイス設定画面 REFERENCE SIGNS LIST 100 display device 110 communication control unit 120 display 140 touch panel 160 CPU 170 ROM 180 SRAM 190 DRAM 200 programmable controller 210 communication control unit 220 CPU 230 memory 300 data creation device 310 communication control unit 320 display 330 input device 340 ROM 350 CPU 350 RAM 370 Recording medium drive 371 Recording medium 380 External storage device 600 Model name setting field 602 Device type field 603 Device number field W1 Device display screen W2 Device setting screen

フロントページの続き Fターム(参考) 5C082 AA13 AA21 BA02 BA12 BB24 BB26 BB46 BD01 BD02 CA84 CB05 DA87 EA15 MM06 5H220 BB05 BB11 CC07 CC09 CX09 EE10 FF05 GG03 GG14 HH01 JJ12 JJ53 9A001 BB03 BB04 BB06 CZ02 DD15 HH34 JZ49 KZ54 Continued on the front page F-term (reference) 5C082 AA13 AA21 BA02 BA12 BB24 BB26 BB46 BD01 BD02 CA84 CB05 DA87 EA15 MM06 5H220 BB05 BB11 CC07 CC09 CX09 EE10 FF05 GG03 GG14 HH01 JJ12 JJ53 9A001 BB03 Z04 DD04

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 被制御機器を制御するための制御装置に
おいて用いられる制御プログラム上の要素を特定するた
めの要素情報を、当該要素情報により特定される要素に
設定される制御パラメータとともに、前記制御装置の動
作内容を特定する設定用データとして記憶する記憶部
と、前記記憶部に記憶された制御パラメータを前記制御
装置に送信するとともに前記制御装置から送信されるデ
ータを受信する通信手段と、前記通信手段により受信さ
れたデータに基づき前記制御装置の制御動作に関連する
画像を表示する表示部とを備えた表示装置のために、前
記記憶部に記憶させる設定用データを作成するデータ作
成装置であって、 前記制御装置の機種ごとに定められた要素情報の値に関
する規則を規則情報として記憶する規則情報記憶手段
と、 前記制御装置の機種を入力するための機種入力手段と、 要素情報の値を表示する要素情報表示手段と、 前記要素情報表示手段により表示された要素情報の値の
増加または減少を指示するための指示手段と、 前記指示手段により要素情報の値の増加または減少が指
示されたときに前記規則情報記憶手段に記憶された規則
情報のうち前記機種入力手段により入力された前記制御
装置の機種に対応する規則情報に従って前記要素情報表
示手段により表示される要素情報の値を増加または減少
させる要素情報増減手段と、 前記要素情報表示手段により表示された要素情報に対応
する制御パラメータを設定するための設定手段と、 前記設定手段により設定された制御パラメータを対応す
る要素情報とともに前記設定用データとして前記表示装
置に転送する転送手段とを備えたことを特徴とするデー
タ作成装置。
1. The control device according to claim 1, wherein element information for specifying an element on a control program used in a control device for controlling the controlled device is controlled together with a control parameter set for the element specified by the element information. A storage unit that stores as setting data specifying the operation content of the device, a communication unit that transmits control parameters stored in the storage unit to the control device and receives data transmitted from the control device, A display unit for displaying an image related to the control operation of the control device based on the data received by the communication unit, for a display device having a display unit for generating setting data to be stored in the storage unit. A rule information storage unit that stores, as rule information, a rule regarding a value of element information determined for each model of the control device; A model input unit for inputting a model of the control device, an element information display unit for displaying a value of the element information, and an instruction for increasing or decreasing the value of the element information displayed by the element information display unit. Instruction means, corresponding to the model of the control device input by the model input means among the rule information stored in the rule information storage means when an increase or decrease of the value of the element information is instructed by the instruction means Element information increasing / decreasing means for increasing or decreasing the value of element information displayed by the element information display means in accordance with the rule information to be performed; and setting for setting control parameters corresponding to the element information displayed by the element information display means. Means for transferring the control parameters set by the setting means to the display device as the setting data together with corresponding element information. A data creating device comprising:
【請求項2】 前記要素情報は、要素の名称を示す要素
種別および同一の要素種別を有する要素を識別するため
の要素番号を含み、前記規則情報は、前記制御装置の機
種ごとおよび要素種別ごとに存在する要素番号の規則を
表し、 前記要素情報増減手段は、前記指示手段により要素情報
の値の増加または減少が指示されたときに前記要素番号
の規則に従って存在しない要素番号を除いて前記要素情
報表示手段により表示される要素番号を増加または減少
させることを特徴とする請求項1記載のデータ作成装
置。
2. The method according to claim 1, wherein the element information includes an element type indicating a name of the element and an element number for identifying an element having the same element type, and the rule information includes an element type and an element type of the control device. The element information increasing / decreasing means, when the increase or decrease of the value of the element information is instructed by the instruction means, excludes the element number which does not exist according to the rule of the element number. 2. The data creation apparatus according to claim 1, wherein the element number displayed by the information display means is increased or decreased.
【請求項3】 前記転送手段は、前記規則情報記憶手段
に記憶された規則情報を前記設定用データとともに前記
表示装置に転送することを特徴とする請求項1または2
記載のデータ作成装置。
3. The apparatus according to claim 1, wherein the transfer unit transfers the rule information stored in the rule information storage unit to the display device together with the setting data.
Data creation device as described.
【請求項4】 被制御機器を制御するための制御装置に
おいて用いられる制御プログラム上の要素を特定するた
めの要素情報を、当該要素情報により特定される要素に
設定される制御パラメータとともに、前記制御装置の動
作内容を特定する設定データとして記憶する記憶部と、
前記記憶部に記憶された制御パラメータを前記制御装置
に送信するとともに前記制御装置から送信されるデータ
を受信する通信手段と、前記通信手段により受信された
データに基づき前記制御装置の制御動作に関連する画像
を表示する表示部とを備えた表示装置のために、前記記
憶部に記憶させる設定用データを作成するデータ作成方
法であって、 前記制御装置の機種ごとに定められた要素情報の値に関
する規則を規則情報として記憶するステップと、 前記制御装置の機種の入力を受け付けるステップと、 要素情報の値を表示するステップと、 前記表示された要素情報の値の増加または減少の指示を
受け付けるステップと、 要素情報の値の増加または減少が指示されたときに前記
記憶された規則情報のうち入力された前記制御装置の機
種に対応する規則情報に従って前記表示される要素情報
の値を増加または減少させるステップと、 前記表示された要素情報に対応する制御パラメータを設
定するステップと、 前記設定された制御パラメータを対応する要素情報とと
もに前記設定用データとして前記表示装置に転送するス
テップとを備えたことを特徴とするデータ作成方法。
4. The control device according to claim 1, wherein element information for specifying an element on a control program used in the control device for controlling the controlled device is set together with a control parameter set for the element specified by the element information. A storage unit for storing as setting data for specifying the operation content of the device,
A communication unit that transmits the control parameters stored in the storage unit to the control device and receives data transmitted from the control device; and a communication unit that controls the control device based on the data received by the communication unit. A data creation method for creating setting data to be stored in the storage unit for a display device having a display unit for displaying an image to be processed, the value of element information determined for each model of the control device. Storing a rule relating to the type of the control device, displaying an element information value, and receiving an instruction to increase or decrease the value of the displayed element information. And when the increase or decrease of the value of the element information is instructed, the model of the control device input from the stored rule information Increasing or decreasing the value of the displayed element information according to the corresponding rule information; setting a control parameter corresponding to the displayed element information; and setting the set control parameter together with the corresponding element information. Transferring the setting data to the display device.
【請求項5】 被制御機器を制御するための制御装置に
おいて用いられる制御プログラム上の要素を特定するた
めの要素情報を、当該要素情報により特定される要素に
設定される制御パラメータとともに、前記制御装置の動
作内容を特定する設定用データとして記憶する記憶部
と、前記記憶部に記憶された制御パラメータを前記制御
装置に送信するとともに前記制御装置から送信されるデ
ータを受信する通信手段と、前記通信手段により受信さ
れたデータに基づき前記制御装置の制御動作に関連する
画像を表示する表示部とを備えた表示装置のために、前
記記憶部に記憶させる設定用データを作成するデータ作
成プログラムを記録したコンピュータ読み取り可能な記
憶媒体であって、 前記データ作成プログラムは、 前記制御装置の機種ごとに定められた要素情報の値に関
する規則を規則情報として記憶する処理と、 前記制御装置の機種の入力を受け付ける処理と、 要素情報の値を表示する処理と、 前記表示された要素情報の値の増加または減少の指示を
受け付ける処理と、 要素情報の値の増加または減少が指示されたときに前記
記憶された規則情報のうち入力された前記制御装置の機
種に対応する規則情報に従って前記表示される要素情報
の値を増加または減少させる処理と、 前記表示された要素情報に対応する制御パラメータを設
定する処理と、 前記設定された制御パラメータを対応する要素情報とと
もに前記設定用データとして前記表示装置に転送する処
理とを、前記コンピュータに実行させることを特徴とす
るデータ作成プログラムを記録した記録媒体。
5. The control device according to claim 1, wherein element information for specifying an element on a control program used in a control device for controlling the controlled device is controlled together with a control parameter set for the element specified by the element information. A storage unit that stores as setting data specifying the operation content of the device, a communication unit that transmits control parameters stored in the storage unit to the control device and receives data transmitted from the control device, For a display device having a display unit for displaying an image related to the control operation of the control device based on data received by the communication unit, a data creation program for creating setting data to be stored in the storage unit for a display device. A recorded computer-readable storage medium, wherein the data creation program is provided for each model of the control device. Storing the rule regarding the value of the obtained element information as rule information; processing of receiving the input of the model of the control device; processing of displaying the value of the element information; and increasing the value of the displayed element information. Or a process for receiving an instruction to decrease, and an element to be displayed in accordance with the entered rule information corresponding to the model of the control device among the stored rule information when an instruction to increase or decrease the value of the element information is issued. A process of increasing or decreasing the value of information; a process of setting a control parameter corresponding to the displayed element information; and transferring the set control parameter to the display device as the setting data together with the corresponding element information. And a computer-readable storage medium storing the data creation program.
【請求項6】 被制御機器を制御するための制御装置に
おいて用いられる制御プログラム上の要素を特定するた
めの要素情報を、当該要素情報により特定される要素に
設定される制御パラメータとともに、前記制御装置の動
作内容を特定する設定用データとして記憶する記憶部
と、 前記記憶部に記憶された制御パラメータを前記制御装置
に送信するとともに前記制御装置から送信されるデータ
を受信する通信手段と、 前記通信手段により受信されたデータに基づき前記制御
装置の制御動作に関連する画像を表示する表示部と、 前記制御装置の機種ごとに定められた要素情報の値に関
する規則を規則情報として記憶する規則情報記憶手段
と、 前記制御装置の機種を入力するための機種入力手段と、 要素情報の値を表示する要素情報表示手段と、 前記要素情報表示手段により表示された要素情報の値の
増加または減少を指示する指示手段と、 前記指示手段により要素情報の値の増加または減少が指
示されたときに前記規則情報記憶手段に記憶された規則
情報のうち前記機種入力手段により入力された前記制御
装置の機種に対応する規則情報に従って前記要素情報表
示手段により表示される要素情報の値を増加または減少
させる要素情報増減手段と、 前記要素情報表示手段により表示された要素情報に対応
する制御パラメータを前記記憶部に設定するための設定
手段と、 前記記憶部に記憶された設定用データに含まれる前記制
御パラメータを対応する要素情報に基づいて前記制御装
置に転送する転送手段とを備えたことを特徴とする表示
装置。
6. The control device according to claim 1, wherein element information for specifying an element on a control program used in a control device for controlling the controlled device is controlled together with a control parameter set for the element specified by the element information. A storage unit configured to store operation data of the device as setting data; a communication unit configured to transmit control parameters stored in the storage unit to the control device and receive data transmitted from the control device; A display unit that displays an image related to the control operation of the control device based on data received by the communication unit; and rule information that stores, as rule information, a rule regarding a value of element information determined for each model of the control device. Storage means; model input means for inputting a model of the control device; element information display means for displaying a value of element information; Instruction means for instructing an increase or decrease of the value of the element information displayed by the element information display means; stored in the rule information storage means when an instruction to increase or decrease the value of the element information is issued by the instruction means; Element information increasing / decreasing means for increasing or decreasing the value of element information displayed by the element information display means in accordance with the rule information corresponding to the model of the control device input by the model input means among the rule information, Setting means for setting control parameters corresponding to the element information displayed by the information display means in the storage unit; and setting the control parameters included in the setting data stored in the storage unit based on the corresponding element information. And a transfer means for transferring the data to the control device.
JP2000052057A 2000-02-28 2000-02-28 Data creation device, data creation method, recording medium recording data creation program, and display device Expired - Fee Related JP4414050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000052057A JP4414050B2 (en) 2000-02-28 2000-02-28 Data creation device, data creation method, recording medium recording data creation program, and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000052057A JP4414050B2 (en) 2000-02-28 2000-02-28 Data creation device, data creation method, recording medium recording data creation program, and display device

Publications (2)

Publication Number Publication Date
JP2001242909A true JP2001242909A (en) 2001-09-07
JP4414050B2 JP4414050B2 (en) 2010-02-10

Family

ID=18573633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000052057A Expired - Fee Related JP4414050B2 (en) 2000-02-28 2000-02-28 Data creation device, data creation method, recording medium recording data creation program, and display device

Country Status (1)

Country Link
JP (1) JP4414050B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008071033A (en) * 2006-09-13 2008-03-27 Idec Corp Programmable display and picture drawing device
JP2017079008A (en) * 2015-10-21 2017-04-27 株式会社キーエンス Programmable logic controller and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008071033A (en) * 2006-09-13 2008-03-27 Idec Corp Programmable display and picture drawing device
JP2017079008A (en) * 2015-10-21 2017-04-27 株式会社キーエンス Programmable logic controller and control method

Also Published As

Publication number Publication date
JP4414050B2 (en) 2010-02-10

Similar Documents

Publication Publication Date Title
JP3476484B2 (en) Operation history display device in control device
JPH0642137B2 (en) Display information processing device
JPS60262204A (en) Programmable controller
JP2010287034A (en) Address display system of modbus protocol communication between external equipment and plc
JP4971226B2 (en) Design support device
JP2001242909A (en) Data preparation device, data preparation method and recording medium and display recording data preparation program
US9792000B2 (en) System construction assistance apparatus, method, and recording medium
JP2000122776A (en) Method for displaying trend graph
JPS6146844B2 (en)
JP2006134098A (en) Programmable display, display control program, and recording medium with the program recorded thereon
JP4557625B2 (en) Chemical plant design support method and chemical plant design support program
JPH01199212A (en) Control system for operating procedure of interactive display device
JPH08278935A (en) Programmable controller
JPH07271994A (en) Method and system for graphic selection
JPS61279906A (en) Programmable controller
JP2001242908A (en) Display device, its communication method, dat preparation device and recording medium recording dat preparation method and data preparation program
JP2001202106A (en) Method for setting up contents of operation and display device
JPH11161613A (en) Electronic computer, computing method, and record medium storing computing process program
JP2965410B2 (en) Display control device
JPH08180118A (en) Table processor
JPS61201349A (en) Memory device for processing data
JPH077839U (en) Numerical control device
JPH02140866A (en) Facility control processor
JPS58105302A (en) Illustrating programming device of programmable controller
KR100512970B1 (en) Electronic apparatus having a time device capable of displaying input-state for time data and a method processing thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090727

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090804

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091002

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

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

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4414050

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151127

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees