JP2003295912A - Editor device for recording medium recording editor program - Google Patents

Editor device for recording medium recording editor program

Info

Publication number
JP2003295912A
JP2003295912A JP2003117994A JP2003117994A JP2003295912A JP 2003295912 A JP2003295912 A JP 2003295912A JP 2003117994 A JP2003117994 A JP 2003117994A JP 2003117994 A JP2003117994 A JP 2003117994A JP 2003295912 A JP2003295912 A JP 2003295912A
Authority
JP
Japan
Prior art keywords
editor
variable
screen
display
function
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
JP2003117994A
Other languages
Japanese (ja)
Other versions
JP3795473B2 (en
Inventor
Kenichi Munamoto
健一 胸元
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 JP2003117994A priority Critical patent/JP3795473B2/en
Publication of JP2003295912A publication Critical patent/JP2003295912A/en
Application granted granted Critical
Publication of JP3795473B2 publication Critical patent/JP3795473B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To simply create a program similarly to a conventional editor device and to correspond various creation pattern of the program. <P>SOLUTION: A ladder instruction (ladder symbol) used in a ladder editor 32a, and a mark (parts, etc.), used in a plotting editor 32b are associated with a single variable attached with an attribute based on a function (for example, a switch or a lamp) to register in advance. When inputting a ladder instruction by the ladder editor 32a and inputting a mark by the design editor 32b, the registered variables are displayed in a variable list. When the desired variable is selected from the list to drag and drop into a ladder window or a plotting window, the ladder instruction and the mark associated to the variable are displayed at the dropped position. Thus, the program can be created with any procedure only by registering the variables (with functional attributes). <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、制御対象機器の状
態を表示させる機能および制御対象機器の動作を制御す
る機能を有するシステムにおいて、制御対象機器の状態
に応じた表示内容および制御対象機器の制御手順をプロ
グラミングするエディタ装置およびエディタプログラム
が記録された記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system having a function of displaying the state of a controlled device and a function of controlling the operation of the controlled device, and a display content according to the state of the controlled device and the controlled device. The present invention relates to an editor device for programming a control procedure and a recording medium on which an editor program is recorded.

【0002】[0002]

【従来の技術】プログラマブルロジックコントローラ
(以降、PLCと称する)などと呼ばれる産業用制御装
置は、シーケンス制御をはじめとする各種制御を実現す
るために、CPUおよびメモリを中心とするハードウェ
アの部分と、制御を司るソフトウェアの部分とを備えて
いる。ソフトウェアの部分は、PLCを設計当初の制御
システム通りに動作させるためのシーケンス制御フロー
の設計、その制御フローの命令語への変換、命令語のメ
モリへの書き込みなどを含んでいる。一般に、この一連
の作業をプログラミングと称している。
2. Description of the Related Art An industrial control device called a programmable logic controller (hereinafter referred to as a PLC) or the like has a hardware portion mainly including a CPU and a memory in order to realize various controls such as sequence control. , And the software part that controls it. The software part includes designing a sequence control flow for operating the PLC according to the control system at the time of designing, converting the control flow into an instruction word, writing the instruction word into a memory, and the like. Generally, this series of operations is called programming.

【0003】このようなプログラミングにおいては、コ
ンピュータの専門知識を持たなくても簡単にプログラム
作成ができるように、独自の言語を用いており、利用者
に使いやすい各種のプログラミング言語が次々と開発さ
れるようになった。現在、IEC(International Elect
rotechnical Commission) において、標準のプログラミ
ング言語が制定されている(IEC 6 1131-3 )。それ
は、SFC(Sequential Function Chart) 、LD(Ladde
r Diagram)、IL(Instruction List)、FBD(Functio
n Block Diagram)およびST(Structured Text) の5言
語である。
In such programming, a unique language is used so that a program can be easily created without having specialized knowledge of a computer, and various programming languages which are easy for users to use are successively developed. It became so. Currently, IEC (International Elect
The rotechnical Commission has established a standard programming language (IEC 6 1131-3). It is SFC (Sequential Function Chart), LD (Ladde
r Diagram), IL (Instruction List), FBD (Functio
n Block Diagram) and ST (Structured Text).

【0004】上記のように、各種のプログラミング言語
を用いてプログラム開発を行うことができるように環境
が整えられつつある。例えば、ラダー図(LD)は、リ
レーシンボルを用いて比較的容易にラダー回路を設計す
ることができるので従来から広く普及しており、現在で
も最もよく用いられているプログラミング言語である。
このようなプログラミング言語を用いたプログラミング
作業において用いられるプログラミングツールとして
は、ラダーエディタなどのプログラミングソフトウェア
が普及してきている。このソフトウェアは、パーソナル
コンピュータなどのコンピュータ装置において、ラダー
図などをシンボルを含む形態で作成できるので、プログ
ラムの作成および編集が容易に行える。
As described above, an environment is being prepared so that programs can be developed using various programming languages. For example, the ladder diagram (LD) has been widely used from the past because the ladder circuit can be relatively easily designed by using relay symbols, and is still the most used programming language.
Programming software such as a ladder editor has become popular as a programming tool used in programming work using such a programming language. Since this software can create a ladder diagram or the like in a form including symbols in a computer device such as a personal computer, the program can be easily created and edited.

【0005】一方、プログラマブル表示器は、ドット表
示画面、操作用入力スイッチ、ホストコントローラ(P
LC)とのインターフェース、画面上での操作入力のよ
うな制御のためのプログラムメモリなどを備えた操作用
表示器である。一般に、プログラマブル表示器は、グラ
フィック表示を行うので、操作盤、スイッチ、表示灯な
どの機能を備えることができる他、制御対象機器(デバ
イス)の稼働状況や作業指示のような管理のための各種
のモニタ、機器に対する設定値を入力する端末としての
機能を備えている。
On the other hand, the programmable display includes a dot display screen, an operation input switch, a host controller (P
It is an operation display device including an interface with an LC, a program memory for control such as operation input on the screen, and the like. In general, a programmable display can display functions such as an operation panel, a switch, and an indicator light because it displays a graphic, and various types of management such as the operating status of a controlled device (device) and work instructions. It has a function as a monitor and a terminal for inputting setting values for devices.

【0006】また、近年では、制御対象機器を接続する
ための入出力ユニットなどを搭載することによってPL
Cの制御機能を備えたプログラマブル表示器も登場して
きている。
[0006] In recent years, by mounting an input / output unit or the like for connecting control target equipment, PL
Programmable displays with C control function have also appeared.

【0007】このようなプログラマブル表示器で表示さ
れる制御画面(表示内容プログラム)は、画面作成ソフ
トウェア(作画エディタ)を用いてユーザ独自で作成で
きるようになっている。画面作成に際しては、ユーザ
が、パーソナルコンピュータなどにおいて作画ソフトに
よって提供されるスイッチ、ランプ、テンキー、メータ
表示器、グラフ表示器などの部品(マーク)、描画機能
などを用いて所望の制御画面を構成する。
A control screen (display content program) displayed on such a programmable display can be created by the user by using screen creation software (drawing editor). When creating a screen, the user configures the desired control screen using switches, lamps, numeric keys, meter display, parts (marks) such as graph display, drawing functions, etc. provided by drawing software on a personal computer. To do.

【0008】作成された制御画面は、画面データとして
プログラマブル表示器に転送されて記憶される。PLC
の稼働時には、プログラマブル表示器は、PLCとの間
でやり取りされるデータに基づいて、制御対象機器の動
作状態に応じて制御画面上に各部品や図形を表示させ
る。
The created control screen is transferred to and stored in the programmable display as screen data. PLC
During operation, the programmable display displays each component or figure on the control screen according to the operating state of the controlled device based on the data exchanged with the PLC.

【0009】ところで、ラダーエディタなどを用いた制
御手順プログラムの作成(プログラミング)と、作画エ
ディタを用いた表示内容プログラムの作成(画面作成)
とは、一般には独立して行われる。例えば、作成された
制御手順プログラムに基づいて表示内容プログラムを作
成する場合は、制御手順プログラムの作成時に各デバイ
スについて入力された名称およびアドレスをテーブルの
形式で書き留めたような設計資料を作成しておき、その
設計資料を参照しながらI/Oアドレスの定義付けなど
を含む表示内容プログラムの作成作業を行う。また、作
成された表示内容プログラムに基づいて制御手順プログ
ラムを作成する場合も同様に、予め用意された設計資料
に基づいて作業を行う。
By the way, creation of a control procedure program using a ladder editor (programming) and creation of a display content program using a drawing editor (screen creation)
And are generally done independently. For example, when creating a display content program based on the created control procedure program, create a design document in which the names and addresses entered for each device when creating the control procedure program are written down in a table format. Then, the display content program including the definition of the I / O address is created with reference to the design material. Similarly, when the control procedure program is created based on the created display content program, the work is similarly performed based on the design material prepared in advance.

【0010】このような不都合を解消するためになされ
た発明として、特開平11−175326号公報には、
ラダー図を作成するラダーエディタと画面を作成する作
画エディタとの間でラダー命令(ラダー記号)と画面に
配置されるマーク(部品など)とを対応付けるエディタ
装置が開示されている。このエディタ装置は、ラダーウ
インドウ上に表示されているラダー命令を作画ウインド
ウに、例えばドラッグ&ドロップすることによって、そ
のラダー命令に対応するマークを作画ウインドウに表示
する一方、その逆の動作を行うようにも構成されてい
る。
As an invention made in order to eliminate such inconvenience, Japanese Patent Laid-Open No. 11-175326 discloses:
Disclosed is an editor device that associates a ladder instruction (ladder symbol) with a mark (a part or the like) arranged on a screen between a ladder editor that creates a ladder diagram and a drawing editor that creates a screen. This editor device displays the mark corresponding to the ladder instruction by dragging and dropping the ladder instruction displayed on the ladder window to the drawing window, for example, while performing the opposite operation. Is also configured.

【0011】これにより、予めラダー図または画面の一
方が作成されておれば、それに基づいてユーザがドラッ
グ&ドロップなどの操作を行うのみで他方を容易に作成
することができる。
Accordingly, if one of the ladder diagram and the screen is created in advance, the user can easily create the other only by performing an operation such as drag and drop based on the created one.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、このよ
うなエディタ装置では、ラダー図および画面を並行して
作成することも可能であるが、効率的でないため、通常
はラダー図または画面のいずれか一方を作成した後に他
方を作成するといった手順を採ることが好ましい。した
がって、上記の方法は、ラダー図および画面を並行して
作成する場合には不向きである。このため、一旦作成し
たラダー図または画面に基づいて他方を作成する際に、
ラダー命令やマークに変更する必要が生じた場合、作成
済のプログラム(ラダー図または画面)を修正する必要
があり、プログラミングの効率が低下するという不都合
がある。
However, in such an editor device, it is possible to create a ladder diagram and a screen in parallel, but since it is not efficient, either the ladder diagram or the screen is usually created. It is preferable to adopt a procedure of creating the other and then creating the other. Therefore, the above method is not suitable for creating a ladder diagram and a screen in parallel. Therefore, when creating the other based on the ladder diagram or screen that was created once,
When it is necessary to change to a ladder instruction or mark, it is necessary to modify the created program (ladder diagram or screen), which is a disadvantage that programming efficiency is reduced.

【0013】また、上記のエディタ装置では、一方のエ
ディタで入力されたラダー命令やマークに関するデータ
をプログラムとしてファイルに登録しており、そのデー
タを利用して他方のプログラムを作成する。このため、
両プログラムに共通のデータを予め作成しておいて、こ
れに基づいて一方のプログラムまたは両プログラムを作
成することができない。
Further, in the above-mentioned editor device, the data relating to the ladder command and the mark inputted by one of the editors are registered in the file as a program, and the other program is created by utilizing the data. For this reason,
It is not possible to create common data for both programs in advance and create one program or both programs based on this.

【0014】本発明は、上記の事情に鑑みてなされたも
のであって、従来のエディタ装置と同様にプログラムの
簡易作成が可能であり、さらにプログラムの多様な作成
形態に対応することができるようにしたエディタ装置お
よびエディタプログラムを記録した記録媒体を提供する
ことを目的としている。
The present invention has been made in view of the above circumstances, and it is possible to easily create a program as in the conventional editor device, and further to cope with various forms of creating the program. It is an object of the present invention to provide an editor device and a recording medium having an editor program recorded therein.

【0015】[0015]

【課題を解決するための手段】制御対象機器の状態を表
示する表示機能部と、該制御対象機器の動作を制御する
制御機能部とを有する表示/制御システムを対象とし
て、上記表示機能部が実行する表示の内容を定めるため
の表示内容プログラムを第1エディタ画面上での入力操
作に応じて作成する第1エディタ手段と、上記制御機能
部が実行する制御の手順を定めるための制御手順プログ
ラムを第2エディタ画面上での入力操作に応じて作成す
るための第2エディタ手段とを備えるエディタ装置であ
って、上記の課題を解決するために、上記制御機能部の
入出力端子と該入出力端子に各々接続される上記制御対
象機器とを対応付ける変数を、予め用意されている画像
ブロックが表す機能と関連付けて登録する登録手段と、
上記第1エディタ画面と、上記第2エディタ画面と、登
録された上記変数と同一の表示画面上に表示する一方、
表示された変数を選択し、上記第1エディタ画面上に指
示する操作に伴って、該変数に関連付けられた機能に対
応する第1画像ブロックを上記第1エディタ画面に表示
させるとともに、表示された変数を選択し、上記第2エ
ディタ画面上に指示する操作に伴って、該変数に関連付
けられた機能に対応する第2画像ブロックを上記第2エ
ディタ画面に表示させる表示手段とを備えていることを
特徴としている。
A display / control system for a display / control system having a display function unit for displaying the state of a controlled device and a control function unit for controlling the operation of the controlled device is provided. First editor means for creating a display content program for defining the content of the display to be executed according to an input operation on the first editor screen, and a control procedure program for defining a control procedure executed by the control function unit And an input / output terminal of the control function unit and an input terminal for the input / output terminal for solving the above-mentioned problems. Registration means for registering a variable associated with each of the control target devices connected to the output terminals in association with a function represented by a previously prepared image block;
While displaying the first editor screen, the second editor screen, and the same display screen as the registered variables,
The first image block corresponding to the function associated with the variable is displayed on the first editor screen in accordance with the operation of selecting the displayed variable and instructing on the first editor screen. Display means for displaying, on the second editor screen, a second image block corresponding to a function associated with the variable in response to an operation of selecting a variable and giving an instruction on the second editor screen. Is characterized by.

【0016】上記の構成では、第1エディタ手段の操作
による表示内容プログラムの作成時、登録手段によって
上記の変数を登録しておけば、表示手段によって上記の
変数が表示される。そして、この変数を選択して第1エ
ディタ画面上に指示すれば、表示手段によって、その変
数に関連付けられた画像ブロックが第1エディタ画面に
表示される。上記の選択および指示の操作としては、例
えばドラッグ&ドロップが挙げられる。一方、第2エデ
ィタ手段の操作による制御手順プログラムの作成時、同
様にして上記の変数を登録しておけば、表示手段によっ
て上記の変数を選択して第2エディタ画面上に指示すれ
ば、その変数に関連付けられた画像ブロックが第2エデ
ィタ画面に表示される。また、予め変数が登録されてい
れば、第1および第2エディタ手段によって、並行して
両プログラムを作成することができる。
In the above configuration, if the above-mentioned variables are registered by the registration means when the display content program is created by operating the first editor means, the above-mentioned variables are displayed by the display means. Then, when this variable is selected and indicated on the first editor screen, the display means displays the image block associated with the variable on the first editor screen. Examples of the operation of the above selection and instruction include drag and drop. On the other hand, when creating the control procedure program by operating the second editor means, if the above variables are registered in the same manner, if the above variables are selected by the display means and indicated on the second editor screen, the The image block associated with the variable is displayed on the second editor screen. If the variables are registered in advance, both programs can be created in parallel by the first and second editor means.

【0017】変数の登録は、両プログラムの作成前に予
め登録しておいてもよいが、それぞれのプログラムを作
成しながら行われてもよい。この場合は、画像ブロック
の第1または第2エディタ画面上への入力操作と併せて
変数の登録が行われるので、表示手段によって画像ブロ
ックを自動的に表示させることはできないが、登録され
た変数を他方のエディタ手段でプログラムを作成する際
に利用することができる。
The variables may be registered in advance before both programs are created, or may be registered while creating each program. In this case, since the variable is registered together with the input operation of the image block on the first or second editor screen, the image block cannot be automatically displayed by the display means, but the registered variable is registered. Can be used when creating a program by the other editor means.

【0018】このように、登録された変数に基づいて画
像ブロックを表示させるので、作成された一方のプログ
ラムを参照しながら他方のプログラムを作成するといっ
た手順を採る必要はなく、変数が登録されていれば、プ
ログラムの作成形態に関わらず、画像ブロックの自動生
成を行うことができる。
As described above, since the image block is displayed based on the registered variables, it is not necessary to refer to one of the created programs and create the other program, and the variables are registered. With this, it is possible to automatically generate the image block regardless of the form in which the program is created.

【0019】上記のエディタ装置においては、上記登録
手段が、上記画像ブロックと上記変数との関連付けを変
数に機能属性を付与するよって行うことが好ましい。機
能属性としては、例えば、スイッチ、ランプ、タイマ、
カウンタといった制御機能部が備える制御処理(カウン
ト、演算処理など)や制御対象機器の機能が適してい
る。変数がこのような機能属性を備えることによって、
変数を機能属性に基づいて管理することが可能になる。
したがって、変数の表示を機能属性毎に行うなどして、
変数を容易に選択することができるという効果を奏す
る。また、上記登録手段が、機能属性が一義的に定まる
場合に変数が入力されるのみで機能属性を設定すること
により、ユーザによる機能属性の登録が不要になる。
In the above editor device, it is preferable that the registration means associates the image block with the variable by adding a function attribute to the variable. As the function attribute, for example, a switch, a lamp, a timer,
The control processing (counting, arithmetic processing, etc.) included in the control function unit such as a counter and the function of the controlled device are suitable. By providing a variable with such a functional attribute,
Variables can be managed based on functional attributes.
Therefore, by displaying variables for each function attribute,
An effect that a variable can be easily selected is achieved. Further, the registration means sets the function attribute only by inputting a variable when the function attribute is uniquely determined, so that the user does not need to register the function attribute.

【0020】また、このエディタ装置においては、上記
表示手段が、上記変数を上記画像ブロックとともに表示
させることが好ましい。このように構成することによっ
て、画像ブロックに関する名称やコメントなどの付帯情
報を画像ブロックと併せて表示させる場合に、その付帯
情報として変数の機能属性を用いることができ、入力す
べきパラメータを増加させることがない。
Further, in this editor device, it is preferable that the display means displays the variable together with the image block. With such a configuration, when additional information such as a name or comment about the image block is displayed together with the image block, the function attribute of the variable can be used as the additional information to increase the parameter to be input. Never.

【0021】本発明のエディタプログラムが記録された
記録媒体は、制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とをコンピュータに実行させるエディタプログラ
ムを記録したコンピュータ読み取り可能な記録媒体であ
って、前記の課題を解決するために、上記制御機能部の
入出力端子と該入出力端子に各々接続される上記制御対
象機器とを対応付ける変数を、予め用意されている画像
ブロックが表す機能と関連付けて登録する登録処理と、
上記第1エディタ画面と、上記第2エディタ画面と、登
録された上記変数と同一の表示画面上に表示する一方、
表示された変数を選択し、上記第1エディタ画面上に指
示する操作に伴って、該変数に関連付けられた機能に対
応する第1画像ブロックを上記第1エディタ画面に表示
させるとともに、表示された変数を選択し、上記第2エ
ディタ画面上に指示する操作に伴って、該変数に関連付
けられた機能に対応する第2画像ブロックを上記第2エ
ディタ画面に表示させる表示処理とをコンピュータに実
行させることを特徴としている。
A recording medium in which the editor program of the present invention is recorded is intended for a display / control system having a display function unit for displaying the state of a controlled device and a control function unit for controlling the operation of the controlled device. And a first editor process for creating a display content program for determining the content of the display executed by the display function unit in response to an input operation on the first editor screen, and a control procedure executed by the control function unit. Is a computer-readable recording medium having an editor program recorded thereon for causing a computer to execute a second editor process for creating a control procedure program for defining a second editor screen in response to an input operation on the second editor screen. In order to solve the above problem, the input / output terminal of the control function unit and the control target device connected to the input / output terminal are associated with each other. Variables, and registration processing for registering in association with a prepared image being blocking represented that,
While displaying the first editor screen, the second editor screen, and the same display screen as the registered variables,
The first image block corresponding to the function associated with the variable is displayed on the first editor screen in accordance with the operation of selecting the displayed variable and instructing on the first editor screen. A computer is made to perform the display process which displays the 2nd image block corresponding to the function linked | related with the said variable on the 2nd editor screen according to the operation which selects a variable and gives an instruction on the said 2nd editor screen. It is characterized by that.

【0022】この記録媒体を用いると、本発明のエディ
タ装置と同様、登録処理によって登録された変数を表示
処理によって表示させ、変数を選択し第1または/およ
び第2エディタ画面に指示することで、指示されたエデ
ィタ画面に画像ブロックが表示される。それゆえ、変数
が登録されていれば、プログラムの作成形態に関わら
ず、画像ブロックの自動生成を行うことができる。
By using this recording medium, similarly to the editor device of the present invention, the variable registered by the registration process is displayed by the display process, the variable is selected, and the first or / and the second editor screen is instructed. , The image block is displayed on the designated editor screen. Therefore, if the variables are registered, it is possible to automatically generate the image block regardless of the program creation mode.

【0023】上記の記録媒体は、上記登録処理が、上記
画像ブロックと上記変数との関連付けを変数に機能属性
を付与することによって行うことが好ましい。このよう
な記録媒体を用いれば、前述のエディタ装置と同様、変
数が機能属性を備えることによって、変数を機能属性に
基づいて管理することが可能になる。また、上記登録処
理が、機能属性が一義的に定まる場合に変数が入力され
るのみで機能属性を設定することにより、ユーザによる
機能属性の登録が不要になる。
In the above recording medium, it is preferable that the registration processing is performed by associating the image block with the variable by giving a function attribute to the variable. If such a recording medium is used, the variable has a function attribute, and the variable can be managed based on the function attribute, as in the above-described editor device. Further, in the registration process, when the function attribute is uniquely determined, the variable is only input to set the function attribute, so that the user does not need to register the function attribute.

【0024】また、この記録媒体においては、上記表示
処理が、上記変数を上記画像ブロックとともに表示させ
ることことが好ましい。このような記録媒体を用いれ
ば、前述のエディタ装置と同様、画像ブロックに関する
名称やコメントなどの付帯情報を画像ブロックと併せて
表示させる場合に、その付帯情報として変数の機能属性
を用いることができ、入力すべきパラメータを増加させ
ることがない。
Further, in this recording medium, it is preferable that the display processing displays the variable together with the image block. When such a recording medium is used, as in the above-described editor device, when the additional information such as the name and comment about the image block is displayed together with the image block, the function attribute of the variable can be used as the additional information. , Does not increase the parameters to be input.

【0025】[0025]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図15に基づいて説明すれば、以下の通りであ
る。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIGS. 1 to 15.

【0026】本実施の形態に係る表示/制御システム
は、様々な構成が考えられるが、ここでは、第1ないし
第3の構成について説明する。
The display / control system according to the present embodiment may have various configurations. Here, the first to third configurations will be described.

【0027】まず、図1に示す第1の表示/制御システ
ムは、プログラマブル表示器1およびPLC2を含んで
いる。
First, the first display / control system shown in FIG. 1 includes a programmable display 1 and a PLC 2.

【0028】表示機能部としてのプログラマブル表示器
1は、CPU11、メモリ部12、VRAM13、ディ
スプレイ14、グラフィックコントローラ15、タッチ
パネル16、タッチパネルコントローラ17、メンテナ
ンスポート18および通信コントローラ19を備えてい
る。
The programmable display 1 as a display function unit includes a CPU 11, a memory unit 12, a VRAM 13, a display 14, a graphic controller 15, a touch panel 16, a touch panel controller 17, a maintenance port 18 and a communication controller 19.

【0029】メモリ部12は、DRAM12a、FEP
ROM(Flash Erasable and Programmable ROM)12b
等のメモリを含んでいる。DRAM12aは、主に、表
示制御などの演算処理時の作業用に用いられる他、PL
C2との間でやり取りされるデータの一時的な記憶に用
いられる。FEPROM12bは、書き替え可能な読み
出し専用のフラッシュメモリであり、一般のパーソナル
コンピュータにおけるハードディスクドライブの役割を
果たす。フラッシュメモリは、可動部を持たず、かつ衝
撃に強いので、劣悪な周囲環境でも安定して動作する。
The memory section 12 includes a DRAM 12a and a FEP.
ROM (Flash Erasable and Programmable ROM) 12b
Includes memory etc. The DRAM 12a is mainly used for work during arithmetic processing such as display control, and is also used for PL.
Used for temporary storage of data exchanged with C2. The FEPROM 12b is a rewritable read-only flash memory and plays a role of a hard disk drive in a general personal computer. Since the flash memory has no moving parts and is strong against shock, it operates stably even in a bad surrounding environment.

【0030】また、上記のFEPROM12bは、図2
に示すように、表示制御システムプログラムと、通信プ
ロトコルと、ユーザ画面とをそれぞれ格納するエリアを
有している。表示制御システムプログラムは、画像表示
制御を行うための基本機能を実現するためのプログラム
である。通信プロトコルは、PLC2との通信処理で用
いられるプロトコルであり、PLC2の機種(メーカ)
に応じて固有に定められている。ユーザ画面は、後述す
る作画エディタ32bによって作成されて、FEPRO
M12bにダウンロードされている。このユーザ画面
は、ディスプレイ14に表示すべきベース画面や画像ブ
ロックとしてのマークのデータおよび各マークに付与さ
れた後述する処理指示語W(図3参照)などを含んでお
り、表示内容プログラムを構成している。
The FEPROM 12b shown in FIG.
As shown in, the display control system program, the communication protocol, and the user screen each have an area for storing therein. The display control system program is a program for realizing a basic function for performing image display control. The communication protocol is a protocol used in communication processing with PLC2, and is a model (manufacturer) of PLC2.
It is uniquely defined according to. The user screen is created by the drawing editor 32b to be described later, and FEPRO
It has been downloaded to M12b. The user screen includes a base screen to be displayed on the display 14, data of marks as image blocks, and a processing instruction word W (see FIG. 3) given to each mark, which will be described later, and constitutes a display content program. is doing.

【0031】上記のマークは、タッチスイッチ、ラン
プ、各種表示器などの画像化された基本的な部品として
予め用意されている。また、マークとしては、スイッチ
や数値表示器などの動的変化を画面上の任意の位置で表
現させるために、所望の位置に設定された矩形エリアに
所望の動画機能が設定された動画機能部も含まれる。
The above marks are prepared in advance as basic imaged parts such as a touch switch, a lamp, and various displays. In addition, as a mark, a moving image function unit in which a desired moving image function is set in a rectangular area set in a desired position in order to express a dynamic change of a switch or a numerical display at an arbitrary position on the screen. Is also included.

【0032】図3に示すように、画面データに含まれる
処理指示語Wは、ベース画面上で実行されるべき事象毎
に作成されている。この処理指示語Wは、基本的には、
表示制御動作を実行すべきベース画面のファイル番号F
と、このベース画面上で実行されるべき動作内容を特定
する事象名Tと、各実行事象毎に参照される1または複
数のデータからなる参照情報Iとを一組として備えてい
る。
As shown in FIG. 3, the processing instruction word W included in the screen data is created for each event to be executed on the base screen. This processing instruction word W is basically
File number F of the base screen that should execute the display control operation
And an event name T that specifies the operation content to be executed on this base screen, and reference information I consisting of one or more data that is referenced for each execution event, as a set.

【0033】CPU11は、前述のFEPROM12b
に格納された表示制御システムプログラムにしたがっ
て、プログラマブル表示器1の各部の動作を制御する。
また、CPU11は、後述するメンテナンスポート18
を介しての後述するコンピュータ装置3との通信を制御
する機能を有しており、作画エディタ32bからの画面
データを受け取るとFEPROM12bに格納したり、
ラダーエディタ32aからのラダープログラム(ユーザ
プログラム)を受け取るとPLC2に転送したりする。
The CPU 11 is the above-mentioned FEPROM 12b.
The operation of each part of the programmable display device 1 is controlled according to the display control system program stored in.
Further, the CPU 11 has a maintenance port 18 which will be described later.
It has a function of controlling communication with the computer device 3 described later via the, and stores screen data in the FEPROM 12b when receiving screen data from the drawing editor 32b,
When the ladder program (user program) from the ladder editor 32a is received, it is transferred to the PLC 2.

【0034】VRAM13は、ディスプレイ14に表示
される画面のイメージを一時的に保持するメモリであ
り、FEPROM12bからの画面データのイメージを
水平方向に表示される順にドットデータとして格納して
いる。
The VRAM 13 is a memory for temporarily holding the image of the screen displayed on the display 14, and stores the image of the screen data from the FEPROM 12b as dot data in the order of being displayed in the horizontal direction.

【0035】ディスプレイ14は、液晶パネルやELパ
ネルのような平板型表示素子によって構成されている。
グラフィックコントローラ15は、VRAM13に展開
された画面のイメージを、ディスプレイ14に描画する
ドライバソフトウェアである。タッチパネル16は、デ
ィスプレイ14の表示画面上で入力を行うために設けら
れており、アナログ抵抗膜式タッチパネルなどが好適で
ある。タッチパネルコントローラ17は、タッチパネル
16の出力電圧を入力位置情報に変換してCPU11に
出力する。
The display 14 is composed of a flat panel display element such as a liquid crystal panel or an EL panel.
The graphic controller 15 is driver software that draws an image of a screen expanded in the VRAM 13 on the display 14. The touch panel 16 is provided for inputting on the display screen of the display 14, and is preferably an analog resistance film type touch panel or the like. The touch panel controller 17 converts the output voltage of the touch panel 16 into input position information and outputs it to the CPU 11.

【0036】メンテナンスポート18は、後述するコン
ピュータ装置3との間の通信を行うための通信ポートで
ある。一方、通信コントローラ19は、通信ケーブル
(例えばRS−232C)を介してPLC2との間で入
出力機器4…の制御や監視に関するデータなどの転送や
PLC2の出力データの取り込みを制御するインターフ
ェースである。
The maintenance port 18 is a communication port for communicating with the computer device 3 described later. On the other hand, the communication controller 19 is an interface that controls transfer of data relating to control and monitoring of the input / output devices 4 and the like with the PLC 2 via a communication cable (for example, RS-232C) and capture of output data of the PLC 2. .

【0037】制御機能部としてのPLC2は、内蔵する
CPU部によって、後述する制御機能プログラムにした
がい、ラダーエディタ32aで作成されたユーザプログ
ラム(制御手順プログラム)で定められた手順で、入出
力機器4…の動作を制御する。
The PLC 2 serving as the control function unit has a built-in CPU unit according to a control function program which will be described later, according to a procedure determined by a user program (control procedure program) created by the ladder editor 32a. Controls the operation of.

【0038】PLC2内のメモリには、アドレスを指定
することにより、ワードデバイスおよびビットデバイス
が格納場所を特定可能に設定されている。ワードデバイ
スは、入出力されるデータが数値のようなワードデータ
に対して設定され、ビットデバイスは、オン・オフ状態
のようなビットデータに対して設定される。このような
設定により、PLC2内の任意のワードデバイスまたは
ビットデバイスをアクセスするだけで入出力機器4…を
制御し、またはその動作状態に関する情報を個別に取り
出すことができる。
The memory in the PLC 2 is set so that the storage locations of the word device and the bit device can be specified by designating an address. A word device is set for input / output data for word data such as a numerical value, and a bit device is set for bit data such as an on / off state. With such a setting, it is possible to control the input / output devices 4 ... Or to individually retrieve the information regarding the operation state thereof by only accessing an arbitrary word device or bit device in the PLC 2.

【0039】プログラマブル表示器1は、上記のビット
デバイスまたはワードデバイスが示す状態情報のうち、
必要な情報を適時にメモリ部12に読み込む一方、上記
の処理指示語Wを繰り返し読み出して各処理指示語Wの
事象名Tで特定される内容の動作をPLC2側の状態情
報を参照しながら実行する。これによって、ビットデバ
イスまたはワードデバイスの状態の変化に応じて変化す
る表示動作が実行される。
Of the status information indicated by the above bit device or word device, the programmable display 1 is
While the necessary information is read into the memory unit 12 in a timely manner, the processing instruction word W is repeatedly read and the operation of the content specified by the event name T of each processing instruction word W is executed while referring to the state information on the PLC 2 side. To do. As a result, the display operation that changes according to the change in the state of the bit device or the word device is executed.

【0040】プログラマブル表示器1の表示動作は、図
4に示すフローチャートの手順にしたがって行われる。
The display operation of the programmable display 1 is performed according to the procedure of the flowchart shown in FIG.

【0041】まず、入出力機器4…の制御が可能なオン
ラインモード、またはプログラマブル表示器1のみを動
作させるオフラインモードのいずれか一方を選択する
(S1)。オフラインモードが選択された場合(N
O)、プログラマブル表示器1において、設定処理、診
断処理などの各種の処理を行い(S6)、処理をS1に
戻す。
First, either the online mode in which the input / output devices 4 can be controlled or the offline mode in which only the programmable display 1 is operated is selected (S1). When offline mode is selected (N
O), various processes such as setting process and diagnostic process are performed in the programmable display 1 (S6), and the process is returned to S1.

【0042】S1でオンラインモードが選択された場合
(YES)、起動処理としてプログラマブル表示器1の
メモリ部12に設定されている前記の処理指示語Wで引
用されているPLC2側の状態情報がプログラマブル表
示器1側に取り出される。具体的には、メモリ部12に
格納されている処理指示語W…のうち、現在表示されて
いるベース画面に関係する処理指示語Wに含まれる情報
から、PLC2に設定されたワードデバイスおよびビッ
トデバイスのアドレスが抽出される。そして、そのアド
レスに基づいてPLC2のメモリに直接アクセスするこ
とによって、アドレス指定された状態情報がメモリ部1
2に展開され、操作画面上に表示される。オンラインモ
ードでは、プログラマブル表示器1に表示された操作パ
ネル画面による入力操作があったか否かを判断する(S
2)。ここで、入力操作があった場合は、入力されたデ
ータに基づいて所定の演算処理を実行し(S3)、さら
にデータ通信処理を行う(S4)。
When the online mode is selected in S1 (YES), the status information on the PLC2 side quoted by the processing instruction word W set in the memory unit 12 of the programmable display 1 as the start processing is programmable. It is taken out to the display 1 side. Specifically, of the process instruction words W ... Stored in the memory unit 12, the word device and bit set in the PLC 2 are calculated from the information included in the process instruction word W related to the currently displayed base screen. The device address is extracted. Then, by directly accessing the memory of the PLC 2 based on the address, the addressed state information is stored in the memory unit 1.
It is expanded to 2 and displayed on the operation screen. In the online mode, it is determined whether or not there is an input operation on the operation panel screen displayed on the programmable display 1 (S
2). Here, if there is an input operation, a predetermined calculation process is executed based on the input data (S3), and further a data communication process is executed (S4).

【0043】次いで、各事象の表示処理を実行する(S
5)。このとき、メモリ部12に格納されている処理指
示語Wのうち、通信処理によって抽出された状態情報に
基づく表示動作が行われる。
Then, display processing of each event is executed (S
5). At this time, the display operation based on the state information extracted by the communication process among the processing instruction words W stored in the memory unit 12 is performed.

【0044】続いて、コンピュータ装置3について説明
する。
Next, the computer device 3 will be described.

【0045】図1に示すように、コンピュータ装置3
は、パーソナルコンピュータなどの汎用コンピュータに
よって構成されている。このコンピュータ装置3は、C
PU31、エディタ部32、データファイル33、メモ
リ部34、ディスプレイ35、入力装置36、外部記憶
装置37およびインターフェース部(図中、I/F)3
8を備えている。
As shown in FIG. 1, the computer device 3
Is composed of a general-purpose computer such as a personal computer. This computer device 3 is C
PU 31, editor unit 32, data file 33, memory unit 34, display 35, input device 36, external storage device 37, and interface unit (I / F in the figure) 3
Eight.

【0046】CPU31は、コンピュータ装置3にイン
ストールされているOS(オペレーティングシステム)
上でエディタ部32を含むアプリケーションソフトウェ
アを動作させる際の各部の制御や演算処理を行う。
The CPU 31 is an OS (operating system) installed in the computer device 3.
The control and arithmetic processing of each unit when the application software including the editor unit 32 is operated are performed.

【0047】メモリ部34は、RAM、ROMなどのメ
モリを備えており、固定データの格納、一時的なデータ
記憶、CPU31の演算処理時における作業エリアの提
供といった役割を果たしている。
The memory unit 34 is provided with a memory such as a RAM and a ROM, and plays a role of storing fixed data, temporarily storing data, and providing a work area during arithmetic processing of the CPU 31.

【0048】エディタ部32は、ラダーエディタ32
a、作画エディタ32bおよび変数管理部32cを含ん
でいる。
The editor unit 32 is a ladder editor 32.
a, a drawing editor 32b, and a variable management unit 32c.

【0049】第2エディタ手段としてのラダーエディタ
32aは、入出力機器4…が所望のシーケンスにしたが
って動作するようにPLC2の制御手順を定めるユーザ
プログラムを作成するためのプログラミングソフトウェ
アであり、ディスプレイ35の表示画面35a(例えば
図15(a)参照)上で入出力機器4の動作に対応する
ラダー記号を配置してラダー図を作成できるように構成
されている。このラダーエディタ32aにおいては、例
えば、国際基準IECに準拠した前述のプログラミング
言語が用いられる。
The ladder editor 32a as the second editor means is programming software for creating a user program that determines the control procedure of the PLC 2 so that the input / output devices 4 ... Operate in accordance with a desired sequence. A ladder diagram corresponding to the operation of the input / output device 4 is arranged on the display screen 35a (see, for example, FIG. 15A) so that a ladder diagram can be created. In the ladder editor 32a, for example, the above-mentioned programming language based on the international standard IEC is used.

【0050】また、ラダーエディタ32aは、PLC2
の入力端子および出力端子のそれぞれに付与されている
入力番号および出力番号と、各入出力端子に接続される
入出力機器4の名称(デバイス名)との対応付けを変数
を介して入出力番号の割り付け(I/Oアサイン)とし
て行う。この割り付けの結果は、後述するラダーファイ
ル33aに保存される。
Further, the ladder editor 32a is the PLC 2
The input number and the output number assigned to each of the input terminal and the output terminal and the name (device name) of the input / output device 4 connected to each input / output terminal are associated with each other through a variable. Allocation (I / O assignment). The result of this allocation is stored in the ladder file 33a described later.

【0051】割り付けを行う際、メモリ部34には、入
力番号および出力番号をそれぞれアドレスとして、各ア
ドレスに対応するデバイス名が格納される。従来、この
ような割り付けは、PLCのメーカによって異なってお
り、絶対アドレスで設定されるので、メーカに応じたメ
モリテーブルを用意する必要がある。ただし、IECに
準拠した本ラダーエディタ32aは、上記の変数(自由
変数)によってユーザが入出力を決定できるので、上記
のようなメモリテーブルは不要である。また、一度決定
した割り付けも、後に変更することができる。
At the time of allocation, the memory unit 34 stores the device name corresponding to each address, with the input number and the output number as addresses. Conventionally, such allocation differs depending on the PLC manufacturer and is set by an absolute address, so it is necessary to prepare a memory table according to the manufacturer. However, the IEC-compliant ladder editor 32a does not require the memory table as described above because the user can determine the input / output by the variable (free variable). Further, the allocation once determined can be changed later.

【0052】ラダーエディタ32aで作成されたユーザ
プログラムは、プログラマブル表示器1を介して(また
は直接)PLC2に転送され、PLC2内のメモリにダ
ウンロードされる。
The user program created by the ladder editor 32a is transferred to the PLC 2 via the programmable display 1 (or directly) and downloaded to the memory in the PLC 2.

【0053】第1エディタ手段としての作画エディタ3
2bは、プログラマブル表示器1が、入出力機器4…の
稼働状況や作業指示のような管理のための各種のモニ
タ、機器に対する設定値を入力する端末としての機能を
備えるように、ディスプレイ14に表示させる画面を作
成する画面作成ソフトウェアである。一般に、作画エデ
ィタ32bは、ユーザ独自の画面(ユーザ画面)を作成
できるように、スイッチ、ランプ、テンキー、各種表示
器(例えば、数値表示器、メータ表示器およびグラフ表
示器)などの部品(マーク)、描画機能、テキスト入力
機能などを備えている。さらに、作画エディタ32b
は、作成された画面に配置されたマークの各入出力機器
4に対する前記の入出力番号(アドレス)を前記の変数
を介して割り付ける。
Drawing editor 3 as first editor means
2b is provided on the display 14 so that the programmable display 1 has various monitors for management such as the operating status of the input / output devices 4 and work instructions and a terminal as a terminal for inputting set values for the devices. It is screen creation software that creates the screen to be displayed. Generally, the drawing editor 32b is provided with parts (marks) such as switches, lamps, ten keys, various indicators (for example, numerical indicators, meter indicators and graph indicators) so that a user's own screen (user screen) can be created. ), Drawing function, text input function, etc. Furthermore, the drawing editor 32b
Assigns the input / output numbers (addresses) to the respective input / output devices 4 of the marks arranged on the created screen via the variables.

【0054】上記の作画エディタ32bによって作成さ
れたユーザ画面は、後述の画面ファイル33bに格納さ
れる。このユーザ画面は、必要に応じてインターフェー
ス部38を介してプログラマブル表示器1に転送され、
FEPROM12bにダウンロードされる。
The user screen created by the drawing editor 32b is stored in a screen file 33b described later. This user screen is transferred to the programmable display device 1 via the interface unit 38 as necessary,
It is downloaded to the FEPROM 12b.

【0055】登録手段としての変数管理部32cは、ラ
ダーエディタ32aおよび作画エディタ32bから入力
された変数に、ラダー命令およびマークが表す機能(ス
イッチ、ランプ、タイマ、カウンタなど)を機能属性と
して付与した形態で後述のデータファイル33に登録す
る。
The variable management unit 32c as a registration means adds the functions (switches, lamps, timers, counters, etc.) represented by the ladder commands and marks to the variables input from the ladder editor 32a and the drawing editor 32b as functional attributes. It is registered in the data file 33 described later in the form.

【0056】変数を登録する方法としては、例えば、次
の2つの方法が挙げられる。
As a method of registering variables, the following two methods can be cited, for example.

【0057】第1の方法は、ラダーエディタ32aに用
意されているラダー命令群から所望のラダー命令が選択
されると、変数登録のための画面(例えば、後述の図5
(b)のダイアログボックス)が表示され、そこに変数
を登録する。第2の方法は、まず、変数を登録してお
き、その後に入力したラダー命令を登録された変数に割
り付ける。
In the first method, when a desired ladder command is selected from the ladder command group prepared in the ladder editor 32a, a screen for variable registration (for example, FIG.
A dialog box (b) is displayed, and variables are registered there. In the second method, first, variables are registered in advance, and the ladder command input after that is allocated to the registered variables.

【0058】また、変数に機能属性を付与する方法とし
ては、例えば、次の2つの方法が挙げられる。
Further, as a method of giving a function attribute to a variable, for example, there are the following two methods.

【0059】第1の方法は、変数に予約語を含ませるこ
とで変数に機能属性を付与する。具体的には、“S**
**”(*は任意の文字や数字を表す)のようにSとい
う予約語を先頭に含む変数をスイッチ変数とする。同様
に、L、T、Cという予約語をそれぞれ先頭に含む変数
を、ランプ変数、タイマ変数、カウンタ変数とする。
The first method is to add a function attribute to a variable by including the reserved word in the variable. Specifically, "S **
A switch variable is a variable that includes a reserved word S at the beginning such as ** "(* represents an arbitrary character or number). Similarly, variables that include reserved words L, T, and C at the beginning are also used. , Ramp variable, timer variable, counter variable.

【0060】第2の方法は、変数そのものに機能属性を
持たせる方法である。具体的には、図5(a)に示すよ
うに、入力された変数について名称、型、保持、グロー
バルおよび機能を設定する。これらの設定は、例えば、
図5(b)に示すようなダイアログボックスにおいて行
われる。型および機能は、複数用意されている中から選
択できるようになっている。
The second method is a method in which the variable itself has a functional attribute. Specifically, as shown in FIG. 5A, the name, type, hold, global and function of the input variables are set. These settings are, for example,
This is done in a dialog box as shown in FIG. The types and functions can be selected from multiple types.

【0061】名称は、変数の名称であって、あるスイッ
チについては“SW1”というように設定される。型
は、変数の型を表しており、各機能要素に応じて設定さ
れる。例えば、スイッチやランプのようなON・OFF
動作をする機能要素に対しては、型として“ビット”が
設定され、タイマやカウンタのような数値のカウント動
作をする機能要素に対しては、型として“整数”が設定
される。また、メータのような計測値の表示動作をする
機能要素に対しては、型として“実数”が設定される。
機能としては、前述のようなスイッチ、ランプ、タイ
マ、カウンタなどが用意されている。
The name is the name of a variable, and is set as "SW1" for a certain switch. The type represents the type of variable and is set according to each functional element. For example, ON / OFF like switches and lamps
A "bit" is set as a type for a functional element that operates, and an "integer" is set as a type for a functional element that counts a numerical value such as a timer or a counter. Further, for a functional element such as a meter that displays a measured value, a "real number" is set as a type.
As the function, the switch, the lamp, the timer, the counter and the like as described above are prepared.

【0062】保持は、電断の際に上記のデータを保持す
るか否かの設定であり、設定する場合にはチェックボッ
クスにチェックされる。グローバルは、機能属性の登録
を行ったエディタ(例えば、ラダーエディタ32a)と
他のアプリケーションソフトウェア(例えば、作画エデ
ィタ32b)との間で、登録された変数を共有するか否
かの設定である。共有する場合にも、同様にチェックボ
ックスにチェックする。グローバルが設定されていない
場合、他のアプリケーションソフトウェアに変数をイン
ポートすることができない。
The hold is a setting for whether or not to hold the above data at the time of power interruption, and a check box is checked in the case of setting. Global is a setting as to whether the registered variable is shared between the editor (for example, the ladder editor 32a) that has registered the function attribute and the other application software (for example, the drawing editor 32b). When sharing, check the checkbox as well. If Global is not set, variables cannot be imported into other application software.

【0063】なお、上記の保持およびグローバルは必要
に応じて設けられる。
The above-mentioned holding and global are provided as necessary.

【0064】また、変数管理部32cは、ラダー命令や
部品などから機能属性が一義的に定まる場合は、変数が
入力されるのみで機能属性を設定する。このような場合
は、ユーザによる機能属性の登録が不要になる。
Further, when the function attribute is uniquely determined from the ladder command or the parts, the variable management section 32c sets the function attribute only by inputting the variable. In such a case, the user does not need to register the function attribute.

【0065】上記の変数管理部32cは、データファイ
ル33に登録された変数を、後述のラダーウインドウ3
2a1 および作画ウインドウ32b1 に機能毎にリスト
形式で表示させる。具体的には、図6に示すように、機
能毎に設けられたタブ形式で変数リストを構成する。こ
の変数リストにおいては、例えば、スイッチのタブに、
スイッチの種類に応じて“SW1”,“SW2”,…,
“SWn”のように複数の変数が含まれる。
The variable management section 32c stores the variables registered in the data file 33 into the ladder window 3 to be described later.
2a 1 and the drawing window 32b 1 are displayed in list form for each function. Specifically, as shown in FIG. 6, the variable list is configured in a tab format provided for each function. In this variable list, for example, on the switch tab,
Depending on the type of switch, "SW1", "SW2", ...,
A plurality of variables such as "SWn" are included.

【0066】変数リストとしては、上記の変数リスト以
外に、機能に関わらず一覧的に表示する形式であっても
よい。このような変数リストでは、機能属性が把握でき
るように変数と併せて機能属性のデータ(機能、変数の
型など)も表示される。
As the variable list, other than the above-mentioned variable list, a format for displaying a list regardless of the function may be used. In such a variable list, data of the function attribute (function, variable type, etc.) is displayed together with the variable so that the function attribute can be grasped.

【0067】すなわち、変数リストは、その中から必要
な変数を選択できるように構成されていれば、どのよう
な形態であってもよいが、上記の例のように変数が選択
しやすいように構成されていることが、より好ましい。
That is, the variable list may have any form as long as it can be configured to select a necessary variable from the variable list. However, as in the above example, the variable list can be easily selected. More preferably, it is configured.

【0068】また、表示手段としての変数管理部32c
は、上記の変数リストから例えばマウスのクリック操作
で選択された変数が、ラダーウインドウ32a1 および
作画ウインドウ32b1 上の入力可能領域にドラッグさ
れ、かつドロップされると、ラダーエディタ32aおよ
び作画エディタ32bに、ラダーウインドウ32a1
よび作画ウインドウ32b1 におけるドロップ位置にラ
ダー記号およびマークを自動的に生成(描画)させる。
The variable management section 32c as a display means
When a variable selected by, for example, a mouse click operation from the above variable list is dragged and dropped in the inputtable area on the ladder window 32a 1 and the drawing window 32b 1 , the ladder editor 32a and the drawing editor 32b Then, the ladder symbols and marks are automatically generated (drawn) at the drop positions in the ladder window 32a 1 and the drawing window 32b 1 .

【0069】なお、上記の変数管理部32cは、ラダー
エディタ32aまたは作画エディタ32bのいずれか一
方の一機能または両エディタ32a・32bに共通の一
機能としてそれぞれに含まれていてもよい。
The variable management unit 32c may be included in each of the ladder editor 32a and the drawing editor 32b as one function or as a function common to both editors 32a and 32b.

【0070】コンピュータ装置3は、エディタ部32を
備えることによってユーザプログラムおよびユーザ画面
の作成および編集を行うためのエディタ装置として機能
する。
The computer device 3 functions as an editor device for creating and editing a user program and a user screen by including the editor unit 32.

【0071】エディタ部32は、パッケージソフトウェ
アまたはオーダーメイドソフトウェアとしてプログラム
メディアの形態で提供可能なソフトウェアであって、例
えば、コンピュータ装置3と分離可能な記録媒体5に記
録されている。そして、エディタ部32は、記録媒体5
からコンピュータ装置3にインストールされることによ
ってエディタ機能を発揮することができる。
The editor unit 32 is software that can be provided in the form of a program medium as packaged software or made-to-order software, and is recorded on the recording medium 5 that can be separated from the computer device 3, for example. Then, the editor unit 32 uses the recording medium 5
The editor function can be exerted by being installed in the computer device 3 from.

【0072】なお、エディタ部32は、単一の記録媒体
5に記録されていてもよいが、ラダーエディタ32aと
作画エディタ32bとがそれぞれ別個の記録媒体に記録
されていてもよい。
The editor unit 32 may be recorded on a single recording medium 5, but the ladder editor 32a and the drawing editor 32b may be recorded on separate recording media.

【0073】上記のプログラムメディアは、磁気テープ
やカセットテープなどのテープ系、フロッピディスクや
ハードディスクなどの磁気ディスク系、CD−ROM、
MO、MD、DVDなどの光ディスク系、ICカード
(メモリカードを含む)、光カードなどのカード系が好
適である。その他、上記のプログラムメディアは、マス
クROM、EPROM、EEPROM、フラッシュRO
Mなどによる半導体メモリを含めた固定的にプログラム
を担持する媒体であってもよい。
The above program media are tape systems such as magnetic tapes and cassette tapes, magnetic disk systems such as floppy disks and hard disks, CD-ROMs,
Optical disc systems such as MO, MD, and DVD, card systems such as IC cards (including memory cards) and optical cards are suitable. In addition, the above program media are mask ROM, EPROM, EEPROM, flash RO
It may be a medium including a semiconductor memory such as M that holds a program fixedly.

【0074】また、コンピュータ装置3は、インターネ
ットを含む通信ネットワークと接続可能であることか
ら、通信ネットワークからプログラムをダウンロードす
るように流動的にプログラムを担持する媒体であっても
よい。ただし、このように通信ネットワークからプログ
ラムをダウンロードする場合には、そのダウンロード用
プログラムは予めコンピュータ装置3に格納されるか、
あるいは別な記録媒体からインストールされるものであ
ってもよい。
Further, since the computer device 3 can be connected to a communication network including the Internet, it may be a medium that carries the program fluidly 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 is stored in advance in the computer device 3,
Alternatively, it may be installed from another recording medium.

【0075】データファイル33においては、例えば、
図7に示すように、ユーザプログラムがラダーファイル
33aに格納され、図8に示すように、ユーザ画面が画
面ファイル33bに格納される。
In the data file 33, for example,
The user program is stored in the ladder file 33a as shown in FIG. 7, and the user screen is stored in the screen file 33b as shown in FIG.

【0076】ラダーファイル33aは、コマンドファイ
ル部33a1 および変数データファイル部33a2 から
構成されている。コマンドファイル部33a1 は、入力
されたラダー記号に対応するラダー命令およびオペラン
ドを格納し、変数データファイル部33a2 は、コマン
ドファイル部33a1 に対応するように、上記のラダー
命令について、デバイスの変数およびアドレスを格納し
ている。また、変数データファイル部33a2 は、変数
管理部32cによって登録された機能属性を、変数と併
せて保存している。
The ladder file 33a is composed of a command file section 33a 1 and a variable data file section 33a 2 . The command file section 33a 1 stores the ladder instruction and the operand corresponding to the input ladder symbol, and the variable data file section 33a 2 corresponds to the command file section 33a 1 so that the ladder instruction of the device Stores variables and addresses. In addition, the variable data file unit 33a 2 stores the function attributes registered by the variable management unit 32c together with the variables.

【0077】画面ファイル33bは、図形データファイ
ル部33b1 および共通データファイル部33b2 から
構成されている。図形データファイル部33b1 は、各
種の図形(円、ライン、四角形など)、テキスト(文字
列)、部品などについてのデータを格納している。変数
データファイル部33b2 は、図形データファイル部3
3b1 に対応するように、入力されたマークについて、
デバイスの変数およびアドレスを格納している。また、
変数データファイル部33b2 は、変数管理部32cに
よって登録された機能属性に関するデータを、変数と併
せて保存している。
The screen file 33b is composed of a graphic data file section 33b 1 and a common data file section 33b 2 . The figure data file section 33b 1 stores data on various figures (circles, lines, rectangles, etc.), texts (character strings), parts, and the like. The variable data file section 33b 2 is the graphic data file section 3
As for the input mark so as to correspond to 3b 1 ,
Stores device variables and addresses. Also,
The variable data file unit 33b 2 stores the data regarding the function attributes registered by the variable management unit 32c together with the variables.

【0078】データファイル33において、個別に形成
されるラダーファイル33aおよび画面ファイル33b
を用いる場合、変数管理部32cによって予め変数デー
タファイル部33a2 または33b2 に登録された変数
およびその機能属性に関するデータを後述のように他方
にインポートする必要がある。
In the data file 33, the ladder file 33a and the screen file 33b which are individually formed.
In the case of using, it is necessary to import the data regarding the variable and its function attribute registered in advance in the variable data file section 33a 2 or 33b 2 by the variable management section 32c into the other as described later.

【0079】ラダーファイル33aおよび画面ファイル
33bが、変数データファイル部33a2 ・33b2
保存された変数およびその機能属性によって互いに関連
付けられているので、第1ないし第3の表示/制御シス
テムにおける表示動作および制御動作は互いに関連す
る。
Since the ladder file 33a and the screen file 33b are associated with each other by the variables and their function attributes stored in the variable data file section 33a 2 · 33b 2 , the display in the first to third display / control systems Actions and control actions are related to each other.

【0080】あるいは、データファイル33は、例え
ば、図9に示すように、前記のラダーファイル33aお
よび画面ファイル33bが統合された形態をなしてお
り、これにユーザプログラムおよびユーザ画面を格納す
るように構成されていてもよい。このデータファイル3
3は、コマンドファイル部33e、図形データファイル
部33fおよび変数データファイル部33gから構成さ
れている。
Alternatively, the data file 33 has a form in which the ladder file 33a and the screen file 33b are integrated, as shown in FIG. 9, for storing the user program and the user screen. It may be configured. This data file 3
3 includes a command file section 33e, a graphic data file section 33f, and a variable data file section 33g.

【0081】このデータファイル33を用いる場合、変
数管理部32cによるラダーファイル33aおよび画面
ファイル33bの間での変数データ(変数およびその機
能属性に関するデータならびにアドレスを含む)は、ユ
ーザプログラムおよびユーザ画面に共通して保存されて
いる。このため、前述のラダーファイル33aおよび画
面ファイル33bを用いる場合のように両ファイル33
a・33b間で変数データをインポートする必要はな
い。
When this data file 33 is used, the variable data (including data and addresses relating to variables and their function attributes) between the ladder file 33a and the screen file 33b by the variable management unit 32c is stored in the user program and the user screen. Saved in common. Therefore, as in the case of using the ladder file 33a and the screen file 33b described above, both files 33
It is not necessary to import variable data between a and 33b.

【0082】ディスプレイ35は、CRT、LCDなど
によって構成されるが、パネルコンピュータであるコン
ピュータ装置3においては、液晶パネルやELパネルの
ような平板型表示素子によって構成される。入力装置3
6は、キーボード、マウスなどの入力操作を行うための
装置であり、特に、GUI(Graphical User Interface)
環境上で動作するエディタ部32での入力作業にはマウ
スなどの装置が適している。外部記憶装置37は、ハー
ドディスク装置などの磁気ディスクドライブ、CD−R
OMドライブなどの光ディスクドライブといった装置で
あり、少なくとも、前記の記録媒体5に記録されたプロ
グラムなどの情報を読み出すことができる装置を含んで
いる。インターフェース部38は、プログラマブル表示
器1との間でデータ通信を行う入出力部である。ラダー
エディタ32aで作成されたユーザプログラムおよび作
画エディタ32bで作成されたユーザ画面は、このイン
ターフェース部38を介してプログラマブル表示器1に
転送される。
The display 35 is composed of a CRT, LCD or the like, but in the computer device 3 which is a panel computer, it is composed of a flat panel display element such as a liquid crystal panel or an EL panel. Input device 3
Reference numeral 6 denotes a device for performing an input operation such as a keyboard and a mouse, and particularly, a GUI (Graphical User Interface)
A device such as a mouse is suitable for input work in the editor unit 32 operating in the environment. The external storage device 37 is a magnetic disk drive such as a hard disk device or a CD-R.
It is a device such as an optical disc drive such as an OM drive and includes at least a device capable of reading information such as a program recorded in the recording medium 5. The interface unit 38 is an input / output unit that performs data communication with the programmable display 1. The user program created by the ladder editor 32 a and the user screen created by the drawing editor 32 b are transferred to the programmable display device 1 via the interface unit 38.

【0083】続いて、第2の表示/制御システムについ
て説明する。
Next, the second display / control system will be described.

【0084】図10に示す第2の表示/制御システム
は、前述の第1の表示/制御システムと同様、プログラ
マブル表示器1およびPLC2を含んでいるが、ここで
のプログラマブル表示器1は、さらにPLC機能を備え
ており、入出力機器4…を直接制御するように構成され
ている。このため、プログラマブル表示器1は、メモリ
部12にSRAM12cを備えるとともに、前述の通信
コントローラ19に加えて入出力ユニット(図中、I/
Oユニット)20およびI/O制御インターフェース2
1を備えている。
The second display / control system shown in FIG. 10 includes the programmable display 1 and the PLC 2 like the first display / control system described above, but the programmable display 1 here further includes the programmable display 1 and the PLC 2. It has a PLC function and is configured to directly control the input / output devices 4. Therefore, the programmable display 1 includes the SRAM 12c in the memory unit 12, and in addition to the communication controller 19 described above, an input / output unit (I / I in the figure).
O unit) 20 and I / O control interface 2
1 is provided.

【0085】SRAM12cは、ラダーエディタ32a
によって作成されたユーザプログラムを格納するエリア
を有している。また、FEPROM12bは、PLC機
能を備えるために、図11に示すように、表示制御シス
テムプログラムと、通信プロトコルと、ユーザ画面とを
それぞれ格納するエリアに加えて、制御機能プログラム
とユーザプログラムとをそれぞれ格納するエリアを有し
ている。制御機能プログラムは、シーケンス制御の基本
機能を実現するためのプログラムである。
The SRAM 12c is a ladder editor 32a.
It has an area for storing the user program created by. Further, since the FEPROM 12b has a PLC function, as shown in FIG. 11, in addition to the areas for storing the display control system program, the communication protocol, and the user screen, respectively, the control function program and the user program are respectively stored. It has an area for storing. The control function program is a program for realizing the basic function of sequence control.

【0086】入出力ユニット20は、入出力機器4…が
接続可能となるように、多数の入出力端子、入出力回路
などを備えている。I/O制御インターフェース21
は、CPU11と入出力ユニット20との間の信号の授
受を仲介するインターフェース回路であって、入出力メ
モリ、D/A変換器、A/D変換器などを備えている。
The input / output unit 20 is provided with a large number of input / output terminals, input / output circuits and the like so that the input / output devices 4 ... Can be connected. I / O control interface 21
Is an interface circuit that mediates the exchange of signals between the CPU 11 and the input / output unit 20, and includes an input / output memory, a D / A converter, an A / D converter, and the like.

【0087】引き続き、第3の表示/制御システムにつ
いて説明する。
Next, the third display / control system will be described.

【0088】図12に示す第3表示/制御システムは、
ソフトウェアで動作するいわゆるオープンコントローラ
(ソフトウェアPLC)を中心として構成されている。
The third display / control system shown in FIG.
It is mainly composed of a so-called open controller (software PLC) that operates by software.

【0089】オープンコントローラは、コンピュータ装
置3によって構成されており、入出力機器4…を接続す
るために、前述の第1の表示/制御システムにおけるコ
ンピュータ装置3のインターフェース部38の代わりに
入出力ユニット(図中、I/Oユニット)39およびI
/O制御インターフェース40を備えている。
The open controller is constituted by the computer device 3, and in order to connect the input / output devices 4 ..., Instead of the interface section 38 of the computer device 3 in the above-mentioned first display / control system, the input / output unit. (I / O unit in the figure) 39 and I
The I / O control interface 40 is provided.

【0090】入出力ユニット39は、入出力機器4…が
接続可能となるように、多数の入出力端子、入出力回路
などを備えている。このような入出力ユニット39は、
I/Oボードとしてコンピュータ装置3内に実装される
が、リモートI/Oとしてコンピュータ装置3の外部に
独立して設けられてもよい。
The input / output unit 39 is provided with a large number of input / output terminals, input / output circuits and the like so that the input / output devices 4 ... Can be connected. Such an input / output unit 39 is
The I / O board is mounted in the computer apparatus 3, but may be independently provided outside the computer apparatus 3 as a remote I / O.

【0091】I/O制御インターフェース40は、CP
U31と入出力ユニット39との間の信号の授受を仲介
するインターフェース回路であって、入出力メモリ、D
/A変換器、A/D変換器などを備えている。このI/
O制御インターフェース40は、入出力機器4…との間
で入出力されるデジタル信号またはアナログ信号をCP
U31とやり取りするようになっている。
The I / O control interface 40 is a CP
An interface circuit for mediating the exchange of signals between the U31 and the input / output unit 39, which is an input / output memory, D
The A / A converter and the A / D converter are provided. This I /
The O control interface 40 sends a digital signal or an analog signal input / output to / from the input / output device 4 ...
It is designed to interact with U31.

【0092】また、コンピュータ装置3は、オープンコ
ントローラとして機能するように、インターフェースユ
ニット(図中、I/Fユニット)41を備えている。イ
ンターフェースユニット41は、イーサネット(登録商
標)などの汎用の通信プロトコルを用いるオープンネッ
トワーク8に対応した入出力部であり、オープンネット
ワーク8に接続されている。これによって、コンピュー
タ装置3は、オープンネットワーク8を介して他のコン
ピュータ装置、プログラマブル表示器、PLCなどと接
続される。
The computer device 3 is also provided with an interface unit (I / F unit in the figure) 41 so as to function as an open controller. The interface unit 41 is an input / output unit compatible with the open network 8 that uses a general-purpose communication protocol such as Ethernet (registered trademark), and is connected to the open network 8. As a result, the computer device 3 is connected via the open network 8 to other computer devices, programmable displays, PLCs and the like.

【0093】メモリ部34は、前述のSRAM12cと
同様、図11に示すように、表示制御システムプログラ
ムと、通信プロトコルと、画面データと、制御機能プロ
グラムと、ユーザプログラムとをそれぞれ格納するエリ
アを有している。
As with the SRAM 12c described above, the memory section 34 has areas for storing a display control system program, a communication protocol, screen data, a control function program, and a user program, as shown in FIG. is doing.

【0094】このように構成されるコンピュータ装置3
は、入出力機器4…が配備されたターゲットシステムの
運転時(オンライン状態)では、作成された画面や現場
の様子をディスプレイ35に表示させることによってタ
ーゲットシステムの運転状況を監視するモニタとして機
能するとともに、ターゲットシステムにおける入出力機
器4…の制御を行う。このとき、コンピュータ装置3
は、ラダーエディタ32aで作成され、データファイル
33に格納されているユーザプログラムを、制御機能プ
ログラムにしたがって実行する。一方、コンピュータ装
置3は、ターゲットシステムの非運転時(オフライン状
態)において、ラダーエディタ32aまたは作画エディ
タ32bを起動することによってユーザプログラムまた
はユーザ画面を作成するためのエディタ装置として機能
する。
Computer device 3 configured in this way
Functions as a monitor for monitoring the operating status of the target system by displaying the created screen and the state of the site on the display 35 when the target system in which the input / output devices 4 ... Are deployed is operating (online state). At the same time, it controls the input / output devices 4 ... In the target system. At this time, the computer device 3
Executes the user program created by the ladder editor 32a and stored in the data file 33 according to the control function program. On the other hand, the computer device 3 functions as an editor device for creating a user program or a user screen by activating the ladder editor 32a or the drawing editor 32b when the target system is not operating (offline state).

【0095】第1および第2の表示/制御システムで
は、ユーザプログラムおよびユーザ画面が、一旦データ
ファイル33に格納された後、それぞれPLC2および
プログラマブル表示器1にダウンロードされ、メモリに
格納される。第2の表示/制御システムでは、あるい
は、ユーザプログラムおよびユーザ画面が、一旦データ
ファイル33に格納された後、プログラマブル表示器1
にダウンロードされ、メモリ部12に格納される。第3
の表示/制御システムでは、ユーザプログラムおよびユ
ーザ画面がデータファイル33に格納される。
In the first and second display / control systems, the user program and the user screen are once stored in the data file 33, then downloaded to the PLC 2 and the programmable display 1, respectively, and stored in the memory. In the second display / control system, or after the user program and the user screen are once stored in the data file 33, the programmable display 1
And is stored in the memory unit 12. Third
In the display / control system, the user program and the user screen are stored in the data file 33.

【0096】ここで、第1ないし第3の表示/制御シス
テムにおけるユーザプログラムおよびユーザ画面の作成
手順について、より詳細に説明する。
Now, the procedure for creating the user program and the user screen in the first to third display / control systems will be described in more detail.

【0097】ユーザプログラムを作成する場合は、図1
3のフローチャートに示す手順にしたがう。ここでは、
コンピュータ装置3において、少なくともラダーエディ
タ32aが起動されており、ディスプレイ35の表示部
35a(図15(a)参照)には、ユーザプログラム作
成用のエディタ画面(第2エディタ画面)を表示するウ
インドウ(以降、ラダーウインドウと称する)32a1
が開いているものとする。
When creating a user program, refer to FIG.
3. Follow the procedure shown in the flowchart of FIG. here,
In the computer device 3, at least the ladder editor 32a is activated, and the display unit 35a (see FIG. 15A) of the display 35 displays a window (second editor screen) for displaying an editor screen for creating a user program (second editor screen). Hereinafter referred to as a ladder window) 32a 1
Shall be open.

【0098】まず、ラダーウインドウ32a1 上にて、
各入出力機器4を対象としてラダー命令に対応する変数
を機能属性と併せて登録する(S11)。このとき、変
数に対応するアドレスを、その変数に割り付けておく。
使用するラダー命令に対する変数の登録が全て終了すれ
ば(S12)、変数リストからラダー命令を入力するか
否かを判断する(S13)。
First, on the ladder window 32a 1 ,
The variable corresponding to the ladder command is registered together with the function attribute for each input / output device 4 (S11). At this time, the address corresponding to the variable is assigned to the variable.
When all the variables for the ladder instruction to be used are registered (S12), it is determined whether or not the ladder instruction is input from the variable list (S13).

【0099】変数リストからラダー命令を入力する場合
は、変数リストを表示する(S14)。次いで、変数リ
ストから所望の変数を選択して、ラダーウインドウ32
1にドラッグし、かつドロップする(S15)。する
と、選択された変数に対応するラダー命令が自動的に入
力され(S16)、そのラダー命令を表すラダー記号が
ラダーウインドウ32a1 に表示される。そして、ラダ
ー命令の入力が終了したか否かを判断し(S17)、こ
こで、終了しない場合はS13に処理を戻す一方、終了
する場合は作成されたユーザプログラムをデータファイ
ル33に登録する(S18)。
When a ladder command is input from the variable list, the variable list is displayed (S14). Then, select the desired variable from the variable list and click the ladder window 32.
Drag in a 1, and to drop (S15). Then, the ladder command corresponding to the selected variable is automatically input (S16), and the ladder symbol representing the ladder command is displayed in the ladder window 32a 1 . Then, it is determined whether or not the input of the ladder command is completed (S17). If the ladder command is not completed, the process is returned to S13. If the process is completed, the created user program is registered in the data file 33 ( S18).

【0100】一方、S13で変数リストからラダー命令
を入力しない場合、すなわち、入力すべきラダー命令が
変数リストに登録されていない場合、ラダーエディタ3
2aによる通常の方法でラダー命令を入力する(S1
9)。そして、そのラダー命令に対応する変数を入力す
る(S20)。このとき、入力とともに、S11と同様
に、変数および機能属性の登録を行い、変数に対応する
アドレスを、その変数に割り付けておく。その後、処理
をS17に移行させる。
On the other hand, if the ladder command is not input from the variable list in S13, that is, if the ladder command to be input is not registered in the variable list, the ladder editor 3
Input the ladder command by the normal method according to 2a (S1
9). Then, the variable corresponding to the ladder instruction is input (S20). At this time, along with the input, similarly to S11, the variable and the function attribute are registered, and the address corresponding to the variable is assigned to the variable. After that, the process proceeds to S17.

【0101】なお、上記の例では、予め変数を登録して
から、その登録された変数に基づいてラダー命令を自動
入力する方法について説明した。しかしながら、変数の
登録については、この方法に限らず、ラダー命令を入力
しながら変数の登録してもよい。この場合は、S19、
S11、S12、S17およびS18の順に処理が行わ
れる。
In the above example, a method of registering variables in advance and automatically inputting a ladder command based on the registered variables has been described. However, the variable registration is not limited to this method, and the variable may be registered while inputting a ladder command. In this case, S19,
The processing is performed in the order of S11, S12, S17, and S18.

【0102】また、作画エディタ32bを用いて、後述
のように、変数および機能属性の登録がユーザ画面の作
成とともに行われた場合は、その登録によって得られた
変数リストを利用する。具体的には、S11およびS1
2を除く処理が行われる。
Further, as will be described later, when the variables and the function attributes are registered with the user screen by using the drawing editor 32b, the variable list obtained by the registration is used. Specifically, S11 and S1
Processings other than 2 are performed.

【0103】ユーザ画面を作成する場合は、図14のフ
ローチャートに示す手順にしたがう。ここでは、コンピ
ュータ装置3において、少なくとも作画エディタ32b
が起動されており、ディスプレイ35の表示部35a
(図15(a)参照)には、ユーザ画面作成用のエディ
タ画面(第1エディタ画面)を表示するウインドウ(以
降、作画ウインドウと称する)32b1 が開いているも
のとする。
When creating a user screen, the procedure shown in the flowchart of FIG. 14 is followed. Here, in the computer device 3, at least the drawing editor 32b.
Is activated and the display unit 35a of the display 35 is
It is assumed that a window (hereinafter referred to as a drawing window) 32b 1 for displaying an editor screen (first editor screen) for creating a user screen is open in (see FIG. 15A).

【0104】まず、ラダーウインドウ32a1 上にて、
各入出力機器4を対象としてマークに対応する変数を機
能属性と併せて登録する(S21)。このとき、変数に
対応するアドレスを、その変数に割り付けておく。使用
するマークに対する変数の登録が全て終了すれば(S2
2)、変数リストからマークを入力するか否かを判断す
る(S23)。
First, on the ladder window 32a 1 ,
A variable corresponding to the mark is registered together with the function attribute for each input / output device 4 (S21). At this time, the address corresponding to the variable is assigned to the variable. If all variables have been registered for the marks to be used (S2
2) It is determined whether a mark is input from the variable list (S23).

【0105】変数リストからマークを入力する場合は、
変数リストを表示する(S24)。次いで、変数リスト
から所望の変数を選択して、作画ウインドウ32b1
ドラッグし、かつドロップする(S25)。すると、選
択された変数に対応するマークが自動的に入力され(S
26)、そのマークが作画ウインドウ32b1 に表示さ
れる。そして、マークの入力が終了したか否かを判断し
(S27)、ここで、終了しない場合はS23に処理を
戻す一方、終了する場合は作成されたユーザ画面をデー
タファイル33に登録する(S28)。
When inputting a mark from the variable list,
A variable list is displayed (S24). Next, a desired variable is selected from the variable list, dragged and dropped onto the drawing window 32b 1 (S25). Then, the mark corresponding to the selected variable is automatically entered (S
26), the mark is displayed in the drawing window 32b 1 . Then, it is determined whether or not the input of the mark is completed (S27), and if not completed, the process is returned to S23, while if completed, the created user screen is registered in the data file 33 (S28). ).

【0106】一方、S23で変数リストからマークを入
力しない場合、すなわち、入力すべきマークが変数リス
トに登録されていない場合、作画エディタ32bによる
通常の方法でマークを入力する(S29)。そして、そ
のマークに対応する変数を入力する(S30)。このと
き、入力とともに、S21と同様に、変数および機能属
性の登録を行い、変数に対応するアドレスを、その変数
に割り付けておく。その後、処理をS27に移行させ
る。
On the other hand, if the mark is not input from the variable list in S23, that is, if the mark to be input is not registered in the variable list, the mark is input by the normal method by the drawing editor 32b (S29). Then, the variable corresponding to the mark is input (S30). At this time, along with the input, the variable and the function attribute are registered as in S21, and the address corresponding to the variable is assigned to the variable. After that, the process proceeds to S27.

【0107】なお、上記の例では、予め変数を登録して
から、その登録された変数に基づいてマークを自動入力
する方法について説明した。しかしながら、変数の登録
については、この方法に限らず、マークを入力しながら
変数の登録してもよい。この場合は、S29、S21、
S22、S27およびS28の順に処理が行われる。
In the above example, a method of registering variables in advance and automatically inputting marks based on the registered variables has been described. However, the variable registration is not limited to this method, and the variable may be registered while inputting the mark. In this case, S29, S21,
The processing is performed in the order of S22, S27 and S28.

【0108】また、ラダーエディタ32aを用いて、前
述のように、変数および機能属性の登録がユーザプログ
ラムの作成とともに行われた場合は、その登録によって
得られた変数リストを利用する。具体的には、S21お
よびS22を除く処理が行われる。
When the variables and function attributes are registered with the user program by using the ladder editor 32a as described above, the variable list obtained by the registration is used. Specifically, the processing excluding S21 and S22 is performed.

【0109】ここで、図13および図14のフローチャ
ートの手順で行われるユーザプログラムおよびユーザ画
面の作成を併せて行う場合の具体例について説明する。
Here, a specific example in the case of simultaneously creating the user program and the user screen, which are performed in the procedure of the flowcharts of FIGS. 13 and 14, will be described.

【0110】ここで、図15(a)に示すように、ラダ
ーエディタ32aおよび作画エディタ32bが起動され
ており、ラダーウインドウ32a1 および作画ウインド
ウ32b1 がディスプレイ35の表示部35aに開かれ
ている。また、変数およびその変数に関する機能属性
は、すでに登録されているものとする。
Here, as shown in FIG. 15A, the ladder editor 32a and the drawing editor 32b are activated, and the ladder window 32a 1 and the drawing window 32b 1 are opened in the display section 35a of the display 35. . Further, it is assumed that the variable and the function attribute related to the variable have already been registered.

【0111】この状態で、図15(b)に示すように、
変数リストを表示部35aに表示させ、スイッチのタブ
に含まれる変数のうち、例えば、変数“SW1”がドラ
ッグされ、かつラダーウインドウ32a1 および作画ウ
インドウ32b1 における所望の位置にドロップされ
る。
In this state, as shown in FIG.
The variable list is displayed on the display unit 35a, and of the variables included in the switch tab, for example, the variable "SW1" is dragged and dropped at a desired position in the ladder window 32a 1 and the drawing window 32b 1 .

【0112】すると、図15(c)に示すように、ラダ
ーウインドウ32a1 には、変数“SW1”がドロップ
された位置にLD(ロード)命令に相当するラダー記号
Lが表示される。また、そのラダー記号Lの付近に変数
“SW1”が併せて表示される。一方、作画ウインドウ
32b1 には、変数“SW1”がドロップされた位置に
その変数に関連付けられたスイッチのマークMが表示さ
れる。また、そのマークMの上に変数“SW1”が併せ
て表示される。
Then, as shown in FIG. 15C, the ladder symbol L corresponding to the LD (load) instruction is displayed at the position where the variable "SW1" is dropped in the ladder window 32a 1 . In addition, the variable “SW1” is also displayed near the ladder symbol L. On the other hand, in the drawing window 32b 1 , the switch mark M associated with the variable is displayed at the position where the variable "SW1" is dropped. Further, the variable “SW1” is also displayed on the mark M.

【0113】上記の処理によって、ユーザは、変数リス
トから予め登録された変数を選択して、ドラッグ&ドロ
ップの操作を行うだけで、その変数に関連付けられた所
望のラダー記号およびマークをそれぞれラダーウインド
ウ32a1 および作画ウインドウ32b1 上に自動的に
生成することができる。また、併せて、ラダー記号Lお
よびマークMと併せて変数を表示させるので、その入力
の手間を省くこともできる。
By the above processing, the user simply selects a previously registered variable from the variable list and performs a drag and drop operation, and the desired ladder symbols and marks associated with the variable are respectively displayed in the ladder window. 32a 1 and the drawing window 32b 1 can be automatically generated. In addition, since the variables are displayed together with the ladder symbol L and the mark M, it is possible to save the trouble of inputting them.

【0114】上記の例では、ユーザプログラムとユーザ
画面とを並行して作成する場合であるが、前述のよう
に、ラダー記号またはマークを入力しながら、変数およ
び機能属性を登録する場合は、その登録とユーザプログ
ラムまたはユーザ画面の作成が同時に行われる。したが
って、この場合は、前述のように、その際に登録された
変数および機能属性を利用して、ユーザ画面またはユー
ザプログラムを作成することになる。
In the above example, the user program and the user screen are created in parallel. However, as described above, when registering variables and function attributes while inputting a ladder symbol or mark, Registration and creation of a user program or user screen are performed simultaneously. Therefore, in this case, as described above, the user screen or user program is created using the variables and function attributes registered at that time.

【0115】以上のように、本実施の形態に係る各表示
/制御システムは、変数を機能属性を持たせて登録する
変数管理部32cを備え、登録された変数を用いて、前
述のようにラダー記号およびマークを自動的に生成する
ように構成されている。これにより、(1)ユーザプロ
グラムまたはユーザ画面のいずれかを作成してから、他
方を作成する手順、および(2)ユーザプログラムおよ
びユーザ画面を並行して作成する手順のいずれをも効率
的に行うことができる。また、(2)の手順でも、変数
および機能属性の登録とラダー命令およびマークの入力
とを逐次行うだけでなく、予め変数および機能属性の登
録を全て行ってから、ラダー記号およびマークの入力を
行うことも可能である。しかも、登録後でも、図5
(b)のダイアログボックスを呼び出して、登録内容を
容易に変更することができる。したがって、上記のよう
なプログラムの多様な作成形態に対応することができ
る。
As described above, each display / control system according to the present embodiment is provided with the variable management section 32c for registering a variable with a function attribute, and using the registered variable, as described above. It is configured to automatically generate ladder symbols and marks. As a result, both (1) the procedure for creating the user program and the user screen and then the other, and (2) the procedure for creating the user program and the user screen in parallel are efficiently performed. be able to. Also in the procedure of (2), not only the variable and function attribute registration and the ladder command and mark input are sequentially performed, but also the ladder symbol and mark input are performed after all the variables and function attributes are registered in advance. It is also possible to do so. Moreover, even after registration,
The registered contents can be easily changed by calling the dialog box of (b). Therefore, it is possible to deal with various forms of creating the program as described above.

【0116】しかも、変数に機能属性を持たせるので、
その変数をラダー記号およびマークとともに表示させる
ことによって、表示されたラダー記号およびマークの特
徴づけのために別途コメントや名称などを入力する必要
がなくなる。また、機能属性によって変数の管理も容易
になる。
Moreover, since the variable has the function attribute,
By displaying the variable together with the ladder symbol and the mark, it is not necessary to separately input a comment or a name for characterizing the displayed ladder symbol and the mark. In addition, management of variables is facilitated by the function attribute.

【0117】なお、本発明は、ラダー図だけではなく、
前述のIEC 6 1131-3 で規定された5言語を含む他の
言語によるプログラミングにおいても適用されるのは勿
論である。
The present invention is not limited to the ladder diagram,
Needless to say, the present invention can be applied to programming in other languages including the five languages defined by IEC 61131-3 mentioned above.

【0118】また、本実施の形態では、変数リストから
変数をドラッグおよびドロップする例について説明した
が、本発明は、これに限定されない。
Further, in the present embodiment, an example in which a variable is dragged and dropped from the variable list has been described, but the present invention is not limited to this.

【0119】[0119]

【発明の効果】以上のように、本発明のエディタ装置
は、制御機能部の入出力端子と該入出力端子に各々接続
される制御対象機器とを対応付ける変数を、予め用意さ
れている画像ブロックが表す機能と関連付けて登録する
登録手段と、上記第1エディタ画面と、上記第2エディ
タ画面と、登録された上記変数と同一の表示画面上に表
示する一方、表示された変数を選択し、上記第1エディ
タ画面上に指示する操作に伴って、該変数に関連付けら
れた機能に対応する第1画像ブロックを上記第1エディ
タ画面に表示させるとともに、表示された変数を選択
し、上記第2エディタ画面上に指示する操作に伴って、
該変数に関連付けられた機能に対応する第2画像ブロッ
クを上記第2エディタ画面に表示させる表示手段とを備
えている構成である。
As described above, according to the editor device of the present invention, the variables for associating the input / output terminals of the control function unit with the control target devices respectively connected to the input / output terminals are prepared in advance as image blocks. Is displayed on the same display screen as the registered variables, the first editor screen, the second editor screen, and the registered variable, and selects the displayed variable, In accordance with the operation instructed on the first editor screen, the first image block corresponding to the function associated with the variable is displayed on the first editor screen, and the displayed variable is selected. Along with the operation instructed on the editor screen,
And a display unit for displaying a second image block corresponding to the function associated with the variable on the second editor screen.

【0120】これによって、登録された変数に基づいて
画像ブロックを表示させるので、変数が登録されていれ
ば、プログラムの作成形態に関わらず、画像ブロックの
自動生成を行うことができる。したがって、プログラム
の多様な作成形態に対応してプログラムの簡易作成を実
現することができるという効果を奏する。
As a result, the image block is displayed based on the registered variables, so that if the variables are registered, the image blocks can be automatically generated regardless of the program creation mode. Therefore, there is an effect that the simple creation of the program can be realized corresponding to various creation modes of the program.

【0121】上記のエディタ装置においては、上記登録
手段が、上記画像ブロックと上記変数との関連付けを変
数に機能属性を付与するよって行うので、変数を機能属
性に基づいて管理することが可能になる。したがって、
変数の表示を機能属性毎に行うなどして、変数を容易に
選択することができるという効果を奏する。また、上記
登録手段が、機能属性が一義的に定まる場合に変数が入
力されるのみで機能属性を設定することにより、ユーザ
による機能属性の登録が不要になる。
In the above editor device, the registration means associates the image block with the variable by assigning a function attribute to the variable, so that the variable can be managed based on the function attribute. . Therefore,
There is an effect that a variable can be easily selected by displaying the variable for each functional attribute. Further, the registration means sets the function attribute only by inputting a variable when the function attribute is uniquely determined, so that the user does not need to register the function attribute.

【0122】このエディタ装置においては、上記表示手
段が、上記変数を上記画像ブロックとともに表示させる
ので、画像ブロックに関する名称やコメントなどの付帯
情報を画像ブロックと併せて表示させる場合に、その付
帯情報として変数の機能属性を用いることができ、入力
すべきパラメータを増加させることがない。したがっ
て、入力の手間を削減して、操作性をより向上させるこ
とができるという効果を奏する。
In this editor device, the display means displays the variable together with the image block. Therefore, when displaying supplementary information such as a name and a comment regarding the image block together with the image block, the supplementary information is used as the supplementary information. The function attribute of the variable can be used without increasing the parameters to be input. Therefore, there is an effect that the labor of input can be reduced and the operability can be further improved.

【0123】本発明の記録媒体は、制御機能部の入出力
端子と該入出力端子に各々接続される制御対象機器とを
対応付ける変数を、予め用意されている画像ブロックが
表す機能と関連付けて登録する登録処理と、上記第1エ
ディタ画面と、上記第2エディタ画面と、登録された上
記変数と同一の表示画面上に表示する一方、表示された
変数を選択し、上記第1エディタ画面上に指示する操作
に伴って、該変数に関連付けられた機能に対応する第1
画像ブロックを上記第1エディタ画面に表示させるとと
もに、表示された変数を選択し、上記第2エディタ画面
上に指示する操作に伴って、該変数に関連付けられた機
能に対応する第2画像ブロックを上記第2エディタ画面
に表示させる表示処理とをコンピュータに実行させるエ
ディタプログラムを記録している。
In the recording medium of the present invention, a variable associating an input / output terminal of the control function unit with a control target device connected to the input / output terminal is registered in association with a function represented by an image block prepared in advance. Registration processing, the first editor screen, the second editor screen, and the same display screen as the registered variables are displayed, while the displayed variable is selected and displayed on the first editor screen. The first operation corresponding to the function associated with the variable according to the instructed operation
The image block is displayed on the first editor screen, the displayed variable is selected, and the second image block corresponding to the function associated with the variable is displayed in accordance with the operation of instructing on the second editor screen. An editor program for causing a computer to execute the display processing to be displayed on the second editor screen is recorded.

【0124】これによって、本発明のエディタ装置と同
様、変数が登録されていれば、プログラムの作成形態に
関わらず、画像ブロックの自動生成を行うことができ
る。したがって、プログラムの多様な作成形態に対応し
てプログラムの簡易作成を実現することができるという
効果を奏する。
As a result, similar to the editor device of the present invention, if variables are registered, it is possible to automatically generate image blocks regardless of the program creation mode. Therefore, there is an effect that the simple creation of the program can be realized corresponding to various creation modes of the program.

【0125】上記の記録媒体は、上記登録処理が、上記
画像ブロックと上記変数との関連付けを変数に機能属性
を付与することによって行うので、前述のエディタ装置
と同様、変数が機能属性を備えることによって、変数を
機能属性に基づいて管理することが可能になる。したが
って、変数の表示を機能属性毎に行うなどして、変数を
容易に選択することができるという効果を奏する。ま
た、上記登録処理が、機能属性が一義的に定まる場合に
変数が入力されるのみで機能属性を設定することによ
り、ユーザによる機能属性の登録が不要になる。
In the above recording medium, since the registration process associates the image block with the variable by giving the variable a functional attribute, the variable has the functional attribute as in the above-mentioned editor device. This allows variables to be managed based on functional attributes. Therefore, it is possible to easily select a variable by displaying the variable for each function attribute. Further, in the registration process, when the function attribute is uniquely determined, the variable is only input to set the function attribute, so that the user does not need to register the function attribute.

【0126】また、この記録媒体においては、上記表示
処理が、上記変数を上記画像ブロックとともに表示させ
るので、前述のエディタ装置と同様、画像ブロックに関
する名称やコメントなどの付帯情報を画像ブロックと併
せて表示させる場合に、その付帯情報として変数の機能
属性を用いることができ、入力すべきパラメータを増加
させることがない。したがって、入力の手間を削減し
て、操作性をより向上させることができるという効果を
奏する。
Further, in this recording medium, the display processing displays the variable together with the image block. Therefore, like the editor device described above, the supplementary information such as the name and comment about the image block is combined with the image block. When displaying, the function attribute of the variable can be used as the additional information, and the parameter to be input is not increased. Therefore, there is an effect that the labor of input can be reduced and the operability can be further improved.

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

【図1】本発明の実施の一形態に係る第1の表示/制御
システムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first display / control system according to an embodiment of the present invention.

【図2】上記第1の表示/制御システムにおけるプログ
ラマブル表示器のFEPROMに格納されるプログラム
を示す説明図である。
FIG. 2 is an explanatory diagram showing a program stored in an FEPROM of a programmable display in the first display / control system.

【図3】上記プログラマブル表示器などで表示されるユ
ーザ画面に含まれる処理指示語の基本的フォーマットを
示す説明図である。
FIG. 3 is an explanatory diagram showing a basic format of a processing instruction word included in a user screen displayed on the programmable display or the like.

【図4】上記プログラマブル表示器の表示動作の処理手
順を示すフローチャートである。
FIG. 4 is a flowchart showing a processing procedure of a display operation of the programmable display.

【図5】(a)は、変数に機能属性を持たせる第2方法
の具体例を示す説明図であり、(b)は、機能属性を設
定するためのダイアログボックスを示す説明図である。
5A is an explanatory diagram showing a specific example of a second method in which a variable has a function attribute, and FIG. 5B is an explanatory diagram showing a dialog box for setting a function attribute.

【図6】上記変数を表示する変数リストを示す説明図で
ある。
FIG. 6 is an explanatory diagram showing a variable list displaying the variables.

【図7】本発明の各表示/制御システムにおけるコンピ
ュータ装置に設けられるデータファイルに形成されるラ
ダーファイルの構成を示す説明図である。
FIG. 7 is an explanatory diagram showing a configuration of a ladder file formed in a data file provided in a computer device in each display / control system of the present invention.

【図8】本発明の各表示/制御システムにおけるコンピ
ュータ装置に設けられるデータファイルに形成される画
面ファイルの構成を示す説明図である。
FIG. 8 is an explanatory diagram showing a configuration of a screen file formed in a data file provided in a computer device in each display / control system of the present invention.

【図9】本発明の各表示/制御システムにおけるコンピ
ュータ装置に設けられるデータファイルの他の構成を示
す説明図である。
FIG. 9 is an explanatory diagram showing another configuration of a data file provided in a computer device in each display / control system of the present invention.

【図10】本発明の実施の一形態に係る第2の表示/制
御システムの構成を示すブロック図である。
FIG. 10 is a block diagram showing a configuration of a second display / control system according to an embodiment of the present invention.

【図11】第2および第3の表示/制御システムにおけ
るプログラマブル表示器のFEPROMに格納されるプ
ログラムを示す説明図である。
FIG. 11 is an explanatory diagram showing a program stored in the FEPROM of the programmable display in the second and third display / control systems.

【図12】本発明の実施の一形態に係る第3の表示/制
御システムの構成を示すブロック図である。
FIG. 12 is a block diagram showing the configuration of a third display / control system according to an embodiment of the present invention.

【図13】上記の各表示/制御システムで実行されるユ
ーザプログラムを作成する手順を示すフローチャートで
ある。
FIG. 13 is a flowchart showing a procedure for creating a user program executed by each of the above display / control systems.

【図14】上記の各表示/制御システムで実行されるユ
ーザ画面を作成する手順を示すフローチャートである。
FIG. 14 is a flowchart showing a procedure for creating a user screen executed by each of the above display / control systems.

【図15】(a)ないし(c)はユーザプログラムおよ
びユーザ画面を並行して作成する場合のラダーエディタ
および作画エディタの動作の具体例を示す説明図であ
る。
15A to 15C are explanatory diagrams showing specific examples of operations of a ladder editor and a drawing editor when a user program and a user screen are created in parallel.

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

1 プログラマブル表示器(表示機能部、制御機
能部) 2 PLC(制御機能部) 3 コンピュータ装置(表示機能部、制御機能
部) 4 入出力機器(制御対象機器) 5 記録媒体 32a ラダーエディタ(第2エディタ手段) 32a1 ラダーウインドウ(第2エディタ画面) 32b 作画エディタ(第1エディタ手段) 32b1 作画ウインドウ(第1エディタ画面) 32c 変数管理部(登録手段、表示手段) 35a 表示画面 L ラダー記号(画像ブロック、第2画像ブロ
ック) M マーク(画像ブロック、第1画像ブロッ
ク)
1 programmable display (display function unit, control function unit) 2 PLC (control function unit) 3 computer device (display function unit, control function unit) 4 input / output device (control target device) 5 recording medium 32a ladder editor (second) Editor means) 32a 1 Ladder window (second editor screen) 32b Drawing editor (first editor means) 32b 1 Drawing window (first editor screen) 32c Variable management unit (registration means, display means) 35a Display screen L ladder symbol ( Image block, second image block) M mark (image block, first image block)

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ手段と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ手段とを備えるエディタ装置であって、 上記制御機能部の入出力端子と該入出力端子に各々接続
される上記制御対象機器とを対応付ける変数を、予め用
意されている画像ブロックが表す機能と関連付けて登録
する登録手段と、 上記第1エディタ画面と、上記第2エディタ画面と、登
録された上記変数と同一の表示画面上に表示する一方、
表示された変数を選択し、上記第1エディタ画面上に指
示する操作に伴って、該変数に関連付けられた機能に対
応する第1画像ブロックを上記第1エディタ画面に表示
させるとともに、表示された変数を選択し、上記第2エ
ディタ画面上に指示する操作に伴って、該変数に関連付
けられた機能に対応する第2画像ブロックを上記第2エ
ディタ画面に表示させる表示手段とを備えていることを
特徴とするエディタ装置。
1. A display / control system for a display / control system having a display function unit for displaying the state of a controlled device and a control function unit for controlling the operation of the controlled device. A first editor means for creating a display content program for defining the contents in response to an input operation on the first editor screen, and a control procedure program for defining the control procedure executed by the control function unit as the second editor. An editor device comprising second editor means for creating in response to an input operation on a screen, comprising: an input / output terminal of the control function unit and the control target device respectively connected to the input / output terminal. Registration means for registering the variable to be associated with the function represented by the image block prepared in advance, the first editor screen, the second editor screen, and the registered While displayed on the same display screen and on the variable,
The first image block corresponding to the function associated with the variable is displayed on the first editor screen in accordance with the operation of selecting the displayed variable and instructing on the first editor screen. Display means for displaying, on the second editor screen, a second image block corresponding to a function associated with the variable in response to an operation of selecting a variable and giving an instruction on the second editor screen. Editor device characterized by.
【請求項2】上記登録手段が、上記画像ブロックと上記
変数との関連付けを変数に機能属性を付与することによ
って行うことを特徴とする請求項1に記載のエディタ装
置。
2. The editor device according to claim 1, wherein the registration unit associates the image block with the variable by assigning a function attribute to the variable.
【請求項3】上記登録手段が、機能属性が一義的に定ま
る場合に変数が入力されるのみで機能属性を設定するこ
とを特徴とする請求項2に記載のエディタ装置。
3. The editor device according to claim 2, wherein the registration means sets the function attribute only by inputting a variable when the function attribute is uniquely determined.
【請求項4】上記表示手段が、上記変数を上記画像ブロ
ックとともに表示させることを特徴とする請求項2に記
載のエディタ装置。
4. The editor device according to claim 2, wherein the display means displays the variable together with the image block.
【請求項5】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とをコンピュータに実行させるエディタプログラ
ムを記録したコンピュータ読み取り可能な記録媒体であ
って、 上記制御機能部の入出力端子と該入出力端子に各々接続
される上記制御対象機器とを対応付ける変数を、予め用
意されている画像ブロックが表す機能と関連付けて登録
する登録処理と、 上記第1エディタ画面と、上記第2エディタ画面と、登
録された上記変数と同一の表示画面上に表示する一方、
表示された変数を選択し、上記第1エディタ画面上に指
示する操作に伴って、該変数に関連付けられた機能に対
応する第1画像ブロックを上記第1エディタ画面に表示
させるとともに、表示された変数を選択し、上記第2エ
ディタ画面上に指示する操作に伴って、該変数に関連付
けられた機能に対応する第2画像ブロックを上記第2エ
ディタ画面に表示させる表示処理とをコンピュータに実
行させることを特徴とするエディタプログラムを記録し
た記録媒体。
5. A display / control system for a display / control system having a display function unit for displaying the state of a controlled device and a control function unit for controlling the operation of the controlled device. A first editor process for creating a display content program for defining the contents in response to an input operation on the first editor screen, and a control procedure program for defining the control procedure executed by the control function unit as the second editor. A computer-readable recording medium recording an editor program for causing a computer to execute a second editor process for creating in response to an input operation on a screen, the input / output terminal of the control function unit and the input / output. A registration process for registering variables associated with the control target devices connected to the terminals in association with the functions represented by the image blocks prepared in advance. And the first editor screen, the second editor screen, and the same display screen as the registered variables, while displaying
The first image block corresponding to the function associated with the variable is displayed on the first editor screen in accordance with the operation of selecting the displayed variable and instructing on the first editor screen. A computer is made to perform the display process which displays the 2nd image block corresponding to the function linked | related with the said variable on the 2nd editor screen according to the operation which selects a variable and gives an instruction on the said 2nd editor screen. A recording medium having an editor program recorded therein.
【請求項6】上記登録処理が、上記画像ブロックと上記
変数との関連付けを変数に機能属性を付与することによ
って行うことを特徴とする請求項5に記載の記録媒体。
6. The recording medium according to claim 5, wherein the registration processing is performed by associating the image block with the variable by assigning a function attribute to the variable.
【請求項7】上記登録処理が、機能属性が一義的に定ま
る場合に変数が入力されるのみで機能属性を設定するこ
とを特徴とする請求項6に記載の記録媒体。
7. The recording medium according to claim 6, wherein the registration process sets the function attribute only by inputting a variable when the function attribute is uniquely determined.
【請求項8】上記表示処理が、上記変数を上記画像ブロ
ックとともに表示させることを特徴とする請求項6に記
載の記録媒体。
8. The recording medium according to claim 6, wherein the display processing displays the variable together with the image block.
JP2003117994A 2003-04-23 2003-04-23 Editor device and recording medium recording editor program Expired - Fee Related JP3795473B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003117994A JP3795473B2 (en) 2003-04-23 2003-04-23 Editor device and recording medium recording editor program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003117994A JP3795473B2 (en) 2003-04-23 2003-04-23 Editor device and recording medium recording editor program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP24644599A Division JP3913414B2 (en) 1999-08-31 1999-08-31 Editor device and recording medium recording editor program

Publications (2)

Publication Number Publication Date
JP2003295912A true JP2003295912A (en) 2003-10-17
JP3795473B2 JP3795473B2 (en) 2006-07-12

Family

ID=29398279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003117994A Expired - Fee Related JP3795473B2 (en) 2003-04-23 2003-04-23 Editor device and recording medium recording editor program

Country Status (1)

Country Link
JP (1) JP3795473B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005141368A (en) * 2003-11-05 2005-06-02 Kinden Corp Remote i/o system, data communication method, data communication control program, and recording medium
JP2007179114A (en) * 2005-12-26 2007-07-12 Digital Electronics Corp Data processor, its indication data creating device, program, and recording medium
JP2009519506A (en) * 2005-11-15 2009-05-14 アイエルエス・テクノロジー・エルエルシー RFID with two-stage connection, RFID in PLC rack, secure RFID tag, RFID transmission control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005141368A (en) * 2003-11-05 2005-06-02 Kinden Corp Remote i/o system, data communication method, data communication control program, and recording medium
JP2009519506A (en) * 2005-11-15 2009-05-14 アイエルエス・テクノロジー・エルエルシー RFID with two-stage connection, RFID in PLC rack, secure RFID tag, RFID transmission control system
JP2007179114A (en) * 2005-12-26 2007-07-12 Digital Electronics Corp Data processor, its indication data creating device, program, and recording medium

Also Published As

Publication number Publication date
JP3795473B2 (en) 2006-07-12

Similar Documents

Publication Publication Date Title
US7603183B1 (en) Editor device and recorded medium on which editor program is recorded
WO2014064819A1 (en) System building assistance tool and system
JP2010257464A (en) Configuring animation and event for operator interface display in process control system
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
JP3913414B2 (en) Editor device and recording medium recording editor program
JP3795473B2 (en) Editor device and recording medium recording editor program
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP4322780B2 (en) Screen creation device, screen creation program and recording medium
JP2002062910A (en) Editor device and storage medium recording editor program
JP2001075791A (en) Editor device and recording medium recording editor program
JP3795357B2 (en) Editor device, editor program, and recording medium recording the same
JP3939518B2 (en) Input / output address setting device, input / output address setting program and recording medium recording the same
JP3710731B2 (en) Editor device and recording medium recording editor program
JP3195322B2 (en) Editor device and recording medium recording editor program
JP4970404B2 (en) Editor device and program
JP2001075614A (en) Editor device and recording medium recording editor program
JP3712640B2 (en) Editor device and recording medium recording editor program
JPH11265280A (en) Graphic editor and computer-readable recording medium for recording editor program
JP3712641B2 (en) Editor device and recording medium recording editor program
JP2001075616A (en) Editor device and recording medium recording editor program
JP4515434B2 (en) Unit information setting device, unit information setting program, and recording medium recording the same
JP3195321B2 (en) Editor device and recording medium recording editor program
JP4970105B2 (en) Editor device and editor program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050909

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060412

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090421

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

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

LAPS Cancellation because of no payment of annual fees