JP2001075614A - Editor device and recording medium recording editor program - Google Patents

Editor device and recording medium recording editor program

Info

Publication number
JP2001075614A
JP2001075614A JP24640299A JP24640299A JP2001075614A JP 2001075614 A JP2001075614 A JP 2001075614A JP 24640299 A JP24640299 A JP 24640299A JP 24640299 A JP24640299 A JP 24640299A JP 2001075614 A JP2001075614 A JP 2001075614A
Authority
JP
Japan
Prior art keywords
editor
data
program
screen
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP24640299A
Other languages
Japanese (ja)
Inventor
Kenichi Munamoto
健一 胸元
Toshihiko Moriyama
俊彦 森山
Takao Otomo
貴夫 大友
Shiyunu Tanigawa
舜雨 谷川
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 JP24640299A priority Critical patent/JP2001075614A/en
Priority to CNB2004100004348A priority patent/CN100368986C/en
Priority to AU67329/00A priority patent/AU6732900A/en
Priority to EP00955074A priority patent/EP1213633B9/en
Priority to US10/069,542 priority patent/US7603183B1/en
Priority to DE60035202T priority patent/DE60035202T2/en
Priority to CNB2004100004367A priority patent/CN100368987C/en
Priority to EP07009511A priority patent/EP1816532A3/en
Priority to CNB2004100004386A priority patent/CN1302375C/en
Priority to CNB2004100004371A priority patent/CN100368988C/en
Priority to PCT/JP2000/005803 priority patent/WO2001016657A1/en
Priority to DE60045196T priority patent/DE60045196D1/en
Priority to EP07009509A priority patent/EP1816531A3/en
Priority to CNB008122660A priority patent/CN1160601C/en
Priority to EP07009510A priority patent/EP1821166B1/en
Priority to TW89117483A priority patent/TW541447B/en
Publication of JP2001075614A publication Critical patent/JP2001075614A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily realize sharing of data with an outside system by efficiently using a data base. SOLUTION: A procedure (user program) for controlling operations of input and output equipment 4... by a programmable logic controller 2 is prepared on a ladder window by using a ladder editor 32a, and a screen (user screen) for displaying states of the input and output equipment 4... by a programmable display 1 is prepared on the plotting window by using a plotting editor 32b. For example, at the time of dragging and dropping a symbol in a ladder diagram on the ladder window adjacent to the plotting window to the plotting window, attribute data including a designation and address of the input and output equipment 4 related with the symbol are copied from a ladder file 33a for registering a user program to a screen file 33g for registering the user screen, and a mask corresponding to the attribute data is displayed in the plotting window. Thus, it is not necessary to provide any common data base for registering the attribute data.

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. 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 includes a hardware portion mainly including a CPU and a memory for realizing various controls including a sequence control. And a software part for controlling. The software portion includes designing a sequence control flow for operating the PLC according to the control system originally designed, converting the control flow into a command, writing the command to 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言
語である。
[0003] In such programming, a proprietary 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 a user to use have been developed one after another. It became so. Currently, IEC (International Elect
The Rotechnical Commission) has established a standard programming language (IEC 61131-3). They are SFC (Sequential Function Chart), LD (Ladde
r Diagram), IL (Instruction List), FBD (Functio
n Block Diagram) and ST (Structured Text).

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

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

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

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

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

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

【0010】しかしながら、このような方法では、表示
内容プログラムの作成のための入力作業が制御手順プロ
グラムの作成のための入力作業と別途必要であるので、
多大な時間と労力とを要する。また、一方のプログラム
に対応する設計資料を参照しながら他方のプログラムを
作成するので、他方のプログラムの作成時に誤入力が生
じるおそれがあり、誤入力によってプログラムのデバッ
グ作業が困難になる。さらに、作成されたプログラムに
対応する設計資料を予め用意しなければならず、これに
よって作業効率が低下するという不都合がある。
However, in such a method, an input operation for creating a display content program is required separately from an input operation for creating a control procedure program.
It takes a lot of time and effort. Further, since the other program is created while referring to the design data corresponding to the one program, an erroneous input may occur when the other program is created, and the erroneous input makes it difficult to debug the program. Further, design data corresponding to the created program must be prepared in advance, which causes a disadvantage that work efficiency is reduced.

【0011】このような不都合を解消するためになされ
た発明として、特開平11−175326号公報には、
ラダー図を作成するラダーエディタと画面を作成する作
画エディタとの間でラダーシンボルと画面に配置される
マークとを対応付けるエディタ装置が開示されている。
このエディタ装置では、例えば、ラダー図のシンボルを
作画エディタの作画ウインドウにドラッグ&ドロップす
ることによって、1つのシンボルおよびこのシンボルに
対応する少なくとも1つのマークについて共通する制御
対象機器の名称およびアドレスを含む属性データが共通
データベースに蓄えられるとともに、その属性データを
参照して作画ウインドウにドラッグされた上記のシンボ
ルに対応するマークが表示される。
[0011] As an invention made to solve such inconvenience, Japanese Patent Application Laid-Open No. 11-175326 discloses an invention.
An editor device that associates a ladder symbol with a mark arranged on a screen between a ladder editor for creating a ladder diagram and a drawing editor for creating a screen is disclosed.
In this editor device, for example, by dragging and dropping a ladder diagram symbol onto a drawing window of a drawing editor, the name and address of a control target device common to one symbol and at least one mark corresponding to this symbol are included. The attribute data is stored in the common database, and a mark corresponding to the symbol dragged to the drawing window is displayed with reference to the attribute data.

【0012】[0012]

【発明が解決しようとする課題】ところが、上記公報に
開示されたエディタ装置では、データの共通化を図るこ
とによって、ラダーエディタと作画エディタとで重複す
るデータの再入力を避けることができるものの、属性デ
ータを蓄えるための共通データベースを、ラダーエディ
タ用のラダーファイルおよび作画エディタ用の画面ファ
イルと別途設ける必要がある。しかも、作成されたラダ
ー図(ユーザプログラム)および画面(ユーザ画面)
を、最終的にそれぞれラダーファイルおよび画面ファイ
ルに登録する際に、両ファイルにも上記の属性データが
格納されるため、さらに属性データが重複して登録され
ることになる。また、属性データが共通データベースか
らラダーファイルまたは画面ファイルに複写されるた
め、外部システムのデータをラダーファイルおよび画面
ファイルと共有させる場合、そのシステムからのデータ
を共通データベースに複写してから、さらにラダーファ
イルおよび画面ファイルに複写するという手順を経る必
要がある。
However, in the editor apparatus disclosed in the above-mentioned publication, although the data is shared, it is possible to avoid re-input of duplicate data between the ladder editor and the drawing editor. It is necessary to provide a common database for storing attribute data separately from the ladder file for the ladder editor and the screen file for the drawing editor. Moreover, the created ladder diagram (user program) and screen (user screen)
Is finally registered in the ladder file and the screen file, respectively, because the attribute data described above is stored in both the files. Also, since attribute data is copied from the common database to the ladder file or screen file, when sharing data from an external system with the ladder file and screen file, copy the data from that system to the common database and then It is necessary to go through the procedure of copying to a file and a screen file.

【0013】このように、従来のエディタ装置では、デ
ータベースの効率的な利用が図られていないという不都
合がある。
As described above, the conventional editor apparatus has a disadvantage that the database is not efficiently used.

【0014】本発明は、上記の事情に鑑みてなされたも
のであって、データの重複入力を避けることができると
いう従来のエディタ装置が備える操作性を維持しなが
ら、データベースを効率的に利用し、さらには、外部シ
ステムとのデータの共有を容易に実現することができる
エディタ装置およびエディタプログラムを記録した記録
媒体を提供することを目的としている。
The present invention has been made in view of the above circumstances, and uses a database efficiently while maintaining the operability of a conventional editor device, which can avoid duplication of data. Still another object of the present invention is to provide an editor device and a recording medium on which an editor program is recorded, which can easily realize data sharing with an external system.

【0015】[0015]

【課題を解決するための手段】本発明のエディタ装置
は、制御対象機器の状態を表示する表示機能部と、該制
御対象機器の動作を制御する制御機能部とを有する表示
/制御システムを対象として、上記表示機能部が実行す
る表示の内容を定めるための表示内容プログラムを第1
エディタ画面上での入力操作に応じて作成する第1エデ
ィタ手段と、上記制御機能部が実行する制御の手順を定
めるための制御手順プログラムを第2エディタ画面上で
の入力操作に応じて作成するための第2エディタ手段と
を備えたエディタ装置であって、上記の課題を解決する
ために、いずれか一方の上記第1または第2エディタ画
面上で入力したデータに関して該エディタ画面上に表示
されている画像ブロックを選択し、かつ他方のエディタ
画面上へ複写させる操作に応じて、上記表示内容プログ
ラムと上記制御手順プログラムとの間で共通するデータ
を、上記表示内容プログラムを格納する表示内容プログ
ラムファイルと上記制御手順プログラムを格納する制御
手順プログラムファイルとの間で複写するデータ複写手
段を備えていることを特徴とするデータ複写手段を備え
ていることを特徴としている。
SUMMARY OF THE INVENTION An editor apparatus according to the present invention is directed to a display / control system having a display function unit for displaying a state of a device to be controlled and a control function unit for controlling the operation of the device to be controlled. The display content program for determining the content of the display executed by the display function unit is a first program.
First editor means created in response to an input operation on an editor screen, and a control procedure program for determining a control procedure executed by the control function unit are created in response to an input operation on a second editor screen. And an editor device provided with a second editor means for displaying data entered on one of the first or second editor screens in order to solve the above-mentioned problem. A display content program for storing data common to the display content program and the control procedure program in accordance with an operation of selecting an image block being copied and copying the image block onto the other editor screen Data copy means for copying between a file and a control procedure program file storing the control procedure program. It is characterized in that it comprises a data copying means, characterized in.

【0016】上記の構成では、第1エディタ手段によっ
て作成された表示内容プログラムが表示内容プログラム
ファイルに格納され、第2エディタ手段によって作成さ
れた制御手順プログラムが制御手順プログラムファイル
に格納されている。また、第1エディタ手段の操作によ
る表示内容プログラムの作成後または表示内容プログラ
ムの作成時に、第2エディタ手段の操作によって制御手
順プログラムを作成する場合、データ複写手段によっ
て、第1エディタ画面上での画像ブロックの選択および
それを第2エディタ画面へ複写させる操作に応じて、両
プログラムの間で共通するデータが、両ファイルの間で
複写される。一方、第2エディタ手段の操作による制御
手順プログラムの作成後または制御手順プログラムの作
成時に、第1エディタ手段の操作による表示内容プログ
ラムを作成する場合、データ複写手段によって、第2エ
ディタ画面上での画像ブロックの選択およびそれを第1
エディタ画面へ複写させる操作に応じて、両プログラム
の間で共通するデータが、両ファイルの間で複写され
る。
In the above arrangement, the display content program created by the first editor is stored in the display content program file, and the control procedure program created by the second editor is stored in the control procedure program file. When the control procedure program is created by operating the second editor means after the display content program is created by the operation of the first editor means or at the time of creating the display content program, the data copy means creates the control procedure program on the first editor screen. According to the selection of the image block and the operation of copying it to the second editor screen, data common to both programs is copied between both files. On the other hand, when the display content program is created by operating the first editor after the control procedure program is created by the operation of the second editor or at the time of creating the control procedure program, the data copying means causes the data to be displayed on the second editor screen. Selection of image block and its first
Data common to both programs is copied between both files according to the operation of copying to the editor screen.

【0017】このように、画像ブロックの選択および複
写の操作を行うことによって、一方のファイルに格納さ
れたデータが他方のファイルに複写されるので、両ファ
イルの間で共通のデータベースを作成することができ
る。その結果、両エディタ手段に共通のデータベースを
作成する必要がなくなる。しかも、両エディタ手段によ
るデータの重複入力を避けることができる。
As described above, since the data stored in one file is copied to the other file by performing the operation of selecting and copying an image block, a common database is created between the two files. Can be. As a result, there is no need to create a common database for both editors. In addition, it is possible to avoid duplicate data input by both editors.

【0018】上記のエディタ装置においては、上記第1
エディタ手段が、上記第1エディタ画面に上記制御対象
機器およびそれらの状態を画像ブロックとして描画する
とともに、各制御対象機器を特定する属性データを入力
し、上記第2エディタ手段が、上記第2エディタ画面に
上記制御対象機器に対応する制御動作を表す複数のシン
ボルを画像ブロックとして描画するとともに、上記属性
データを入力し、上記データ複写手段が、いずれか一方
の上記第1または第2エディタ画面上で選択された上記
画像ブロックに付随する属性データを上記両ファイル間
で複写するとともに、属性データが複写されたいずれか
一方の上記ファイルに対応する上記第1または第2エデ
ィタ手段に、複写された属性データを参照することによ
って、選択された画像ブロックに対応する制御対象機器
と同一の制御対象機器についての画像ブロックを自動的
に描画させることが好ましい。
In the above-described editor device, the first
Editor means draws the controlled devices and their states as image blocks on the first editor screen, and inputs attribute data specifying each controlled device, and the second editor means sets the second editor A plurality of symbols representing a control operation corresponding to the control target device are drawn as image blocks on the screen, and the attribute data is input. The data copying means displays one of the first or second editor screen on the screen. The attribute data associated with the image block selected in step 2 is copied between the two files, and the attribute data is copied to the first or second editor means corresponding to one of the copied files. The same control target as the control target device corresponding to the selected image block by referring to the attribute data It is preferable to automatically draw the image block for vessel.

【0019】上記の構成では、第1エディタ手段の操作
によって、制御対象機器に対応するマークが第1エディ
タ画面に画像ブロックとして描画されるとともに、制御
対象機器に関する属性データが入力される。一方、第2
エディタ手段の操作によって、制御対象機器に対応する
シンボル(例えばラダー記号)が第2エディタ画面に画
像ブロックとして描画されるとともに、制御対象機器に
関する属性データが入力される。
In the above configuration, the mark corresponding to the device to be controlled is drawn as an image block on the first editor screen by operating the first editor means, and the attribute data relating to the device to be controlled is input. On the other hand, the second
By operating the editor means, a symbol (for example, a ladder symbol) corresponding to the control target device is drawn as an image block on the second editor screen, and attribute data relating to the control target device is input.

【0020】また、データ複写手段によって、第1エデ
ィタ画面上で選択されたマークに付随する属性データが
表示内容プログラムファイルから制御手順プログラムフ
ァイルに複写される際に、第2エディタ手段が、複写さ
れた属性データを参照することで、選択されたマークに
対応する制御対象機器と同一の制御対象機器についての
シンボルを自動的に描画する。一方、データ複写手段に
よって、第2エディタ画面上で選択されたシンボルに付
随する属性データが制御手順プログラムファイルから表
示内容プログラムファイルに複写される際に、第1エデ
ィタ手段が、複写された属性データを参照することで、
選択されたシンボルに対応する制御対象機器と同一の制
御対象機器についてのマークを自動的に描画する。
When the attribute data associated with the mark selected on the first editor screen is copied from the display content program file to the control procedure program file by the data copying means, the second editor means is copied. By referring to the attribute data, a symbol for the same control target device as the control target device corresponding to the selected mark is automatically drawn. On the other hand, when attribute data associated with the symbol selected on the second editor screen is copied from the control procedure program file to the display content program file by the data copying means, the first editor means By referring to
A mark for the same control target device as the control target device corresponding to the selected symbol is automatically drawn.

【0021】このように、先に一方のエディタ手段で作
成されたマークまたはシンボルと、それらに付随する属
性データとに基づいて、他方のエディタ手段でのシンボ
ルまたはマークの作成および属性データの複写が行われ
る。それゆえ、他方のエディタ手段によるシンボルまた
はマークの作成が容易になるとともに、属性データの入
力が不要になる。
As described above, based on the mark or symbol previously created by one editor means and the attribute data associated therewith, it is possible to create the symbol or mark and copy the attribute data by the other editor means. Done. Therefore, it is easy to create a symbol or mark by the other editor means, and it is not necessary to input attribute data.

【0022】また、上記データ複写手段が、上記属性デ
ータを画像ブロックの選択および複写の操作に先立って
複写することが好ましい。これにより、例えば、すでに
作成されたプログラムに基づいて他方のプログラムを作
成する場合、予め属性データを一括して複写した後に、
マークまたはシンボルが描画される。また、一方のプロ
グラムを作成しながら他方のプログラムを作成する場
合、一方のエディタ画面上でマークまたはシンボルが作
成される毎に属性データが逐次複写されて、他方のエデ
ィタ画面上でシンボルまたはマークが描画される。
Further, it is preferable that the data copying means copies the attribute data before selecting and copying an image block. Thereby, for example, when creating the other program based on the already created program, after copying the attribute data collectively in advance,
A mark or symbol is drawn. When creating one program while creating the other program, each time a mark or symbol is created on one editor screen, the attribute data is copied sequentially, and the symbol or mark is copied on the other editor screen. Is drawn.

【0023】上記のいずれの構成のエディタ装置も、上
記データ複写手段が、アプリケーションプログラムの操
作入力画面で入力したデータに関して該操作画面上に表
示される画像ブロックを選択し、かつ上記第1または第
2エディタ画面上へ複写させる操作に応じて、上記表示
内容プログラムまたは上記制御手順プログラムと上記ア
プリケーションプログラムのデータとの間で共通するデ
ータを、上記表示内容プログラムファイルまたは上記制
御手順プログラムファイルに複写することが好ましい。
これによって、表示内容プログラムファイルまたは制御
手順プログラムファイルは、CADなどのアプリケーシ
ョンプログラムのデータを取り込むことができる。
In any one of the above editor devices, the data copying means selects an image block to be displayed on the operation screen with respect to data input on the operation input screen of the application program, and (2) In response to an operation of copying on the editor screen, data common to the display content program or the control procedure program and the data of the application program is copied to the display content program file or the control procedure program file. Is preferred.
Thus, the display content program file or the control procedure program file can capture data of an application program such as CAD.

【0024】上記のいずれの構成のエディタ装置も、ネ
ットワークを介して上記表示/制御システムと異なるシ
ステムに接続されており、上記データ複写手段が上記両
ファイルと上記システムとの間でデータを複写すること
が好ましい。これによって、システムから直接上記両フ
ァイルのいずれか一方に属性データを複写することがで
きる。
Each of the above-mentioned editor devices is connected to a system different from the display / control system via a network, and the data copying means copies data between the two files and the system. Is preferred. As a result, the attribute data can be directly copied from the system to one of the two files.

【0025】本発明のエディタプログラムが記録された
記録媒体は、制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とを含むエディタプログラムが記録されたコンピ
ュータ読み取り可能な記録媒体であって、前記の課題を
解決するために、上記エディタプログラムが、いずれか
一方の上記第1または第2エディタ画面上で入力したデ
ータに関して該エディタ画面上に表示されている画像ブ
ロックを選択し、かつ他方のエディタ画面上へ複写させ
る操作に応じて、上記表示内容プログラムと上記制御手
順プログラムとの間で共通するデータを、上記表示内容
プログラムを格納する表示内容プログラムファイルと上
記制御手順プログラムを格納する制御手順プログラムフ
ァイルとの間で複写するデータ複写処理を含んでいるこ
とを特徴としている。
A recording medium on which the editor program of the present invention is recorded is directed to a display / control system having a display function unit for displaying a state of a device to be controlled and a control function unit for controlling the operation of the device to be controlled. A first editor process for creating a display content program for determining display content executed by the display function unit in response to an input operation on a first editor screen, and a control procedure executed by the control function unit And a second editor process for creating a control procedure program for determining a control procedure in response to an input operation on a second editor screen. In order to solve the above problem, the editor program may execute the error processing on the data input on one of the first or second editor screens. In response to an operation of selecting an image block displayed on the editor screen and copying the image block to the other editor screen, data common to the display content program and the control procedure program is written to the display content program. It is characterized by including a data copying process for copying between a display content program file storing a program and a control procedure program file storing the control procedure program.

【0026】この記録媒体を用いると、データ複写処理
によって、本発明のエディタ装置と同様、第2エディタ
画面上での画像ブロックの選択およびそれを第1エディ
タ画面へ複写させる操作に応じて、両プログラムの間で
共通するデータが、両ファイルの間で複写される。それ
ゆえ、両ファイルの間で共通のデータベースが作成され
る結果、両エディタ処理に共通のデータベースを作成す
る必要がなくなる。しかも、両エディタ処理によるデー
タの重複入力を避けることができる。
When this recording medium is used, both data blocks are selected by the data copying process in accordance with the operation of selecting an image block on the second editor screen and copying it to the first editor screen, similarly to the editor apparatus of the present invention. Data common between the programs is copied between the two files. Therefore, as a result of creating a common database between the two files, there is no need to create a common database for both editor processes. In addition, it is possible to avoid duplicate input of data by both editor processes.

【0027】本発明のエディタプログラムが記録された
他の記録媒体は、制御対象機器の状態を表示する表示機
能部と、該制御対象機器の動作を制御する制御機能部と
を有する表示/制御システムを対象として、上記表示機
能部が実行する表示の内容を定めるための表示内容プロ
グラムを第1エディタ画面上での入力操作に応じて作成
する第1エディタ処理または上記制御機能部が実行する
制御の手順を定めるための制御手順プログラムを第2エ
ディタ画面上での入力操作に応じて作成するための第2
エディタ処理のいずれか一方を含むエディタプログラム
が記録されたコンピュータ読み取り可能な記録媒体であ
って、前記の課題を解決するために、上記エディタプロ
グラムが、いずれか一方の上記第1または第2エディタ
画面上で入力したデータに関して該エディタ画面上に表
示されている画像ブロックを選択し、かつ他方のエディ
タ画面上へ複写させる操作に応じて、上記表示内容プロ
グラムと上記制御手順プログラムとの間で共通するデー
タを、上記表示内容プログラムを格納する表示内容プロ
グラムファイルと上記制御手順プログラムを格納する制
御手順プログラムファイルとの間で複写するデータ複写
処理を含んでいることを特徴としている。
Another recording medium on which the editor program according to the present invention is recorded has a display function unit for displaying the state of the 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 determining the content of a display executed by the display function unit in response to an input operation on the first editor screen, or a control executed by the control function unit. A second procedure for creating a control procedure program for defining a procedure in accordance with an input operation on the second editor screen
A computer-readable recording medium on which an editor program including one of an editor process is recorded, and in order to solve the above-mentioned problem, the editor program includes one of the first or second editor screen. In accordance with the operation of selecting the image block displayed on the editor screen with respect to the data input above and copying the selected image block to the other editor screen, the display content program and the control procedure program are common. It is characterized by including a data copying process of copying data between a display content program file storing the display content program and a control procedure program file storing the control procedure program.

【0028】この記録媒体を用いれば、前記の記録媒体
と同様、データ複写処理によって、両プログラムの間で
共通するデータが両ファイルの間で複写されるので、両
エディタ処理に共通のデータベースの作成を不要にする
とともに、両エディタ処理によるデータの重複入力を避
けることができる。さらに、この記録媒体によれば、第
1または第2エディタ処理のいずれか一方とデータ複写
処理とを含んでいる2種類のエディタプログラム、すな
わち第1または第2エディタプログラムを提供すること
ができる。
When this recording medium is used, data common to both programs is copied between both files by the data copying process, similarly to the above-mentioned recording medium, so that a database common to both editor processes is created. Is unnecessary, and duplicate input of data by both editor processes can be avoided. Further, according to this recording medium, it is possible to provide two types of editor programs including either the first or second editor process and the data copying process, that is, the first or second editor program.

【0029】上記の両記録媒体は、上記第1エディタ処
理が、上記第1エディタ画面に上記制御対象機器および
それらの状態を画像ブロックとして描画するとともに、
各制御対象機器を特定する属性データを入力し、上記第
2エディタ処理が、上記第2エディタ画面に上記制御対
象機器に対応する制御動作を表す複数のシンボルを画像
ブロックとして描画するとともに、上記属性データを入
力し、上記データ複写処理が、いずれか一方の上記第1
または第2エディタ画面上で選択された上記画像ブロッ
クに付随する属性データを上記両ファイル間で複写する
とともに、属性データが複写されたいずれか一方の上記
ファイルに対応する上記第1または第2エディタ処理
に、複写された属性データを参照することによって、選
択された画像ブロックに対応する制御対象機器と同一の
制御対象機器についての画像ブロックを自動的に描画さ
せることが好ましい。
In the above both recording media, the first editor process renders the controlled devices and their states as image blocks on the first editor screen,
Attribute data specifying each controlled device is input, and the second editor process draws a plurality of symbols representing control operations corresponding to the controlled device on the second editor screen as image blocks, Data is input, and the data copy processing is performed by one of the first
Alternatively, the attribute data associated with the image block selected on the second editor screen is copied between the two files, and the first or second editor corresponding to one of the files to which the attribute data has been copied. Preferably, the process automatically refers to the copied attribute data to automatically draw an image block of the same control target device as the control target device corresponding to the selected image block.

【0030】このような記録媒体を用いれば、前述のエ
ディタ装置と同様、第1エディタ処理によるマークの描
画および属性データの入力が行われる一方、第2エディ
タ処理によるシンボルの描画および属性データの入力が
行われる。また、データ複写処理によって、第2エディ
タ処理が、複写された属性データを参照することで、選
択されたマークに対応する制御対象機器と同一の制御対
象機器についてのシンボルを自動的に描画する一方、第
1エディタ処理が、複写された属性データを参照するこ
とで、選択されたシンボルに対応する制御対象機器と同
一の制御対象機器についてのマークを自動的に描画す
る。それゆえ、他方のエディタ処理によるシンボルまた
はマークの作成が容易になるとともに、属性データの入
力が不要になる。
When such a recording medium is used, similarly to the above-described editor device, the drawing of the mark and the input of the attribute data are performed by the first editor process, while the drawing of the symbol and the input of the attribute data are performed by the second editor process. Is performed. In the data copying process, the second editor process refers to the copied attribute data to automatically draw a symbol for the same control target device as the control target device corresponding to the selected mark. The first editor process refers to the copied attribute data to automatically draw a mark for the same control target device as the control target device corresponding to the selected symbol. Therefore, it is easy to create a symbol or a mark by the other editor process, and it is not necessary to input attribute data.

【0031】また、上記データ複写処理が、上記属性デ
ータを画像ブロックの選択および複写の操作に先立って
複写することが好ましい。これにより、前述のエディタ
装置と同様、作成されたプログラムに基づいて他方のプ
ログラムを作成する場合、予め属性データを一括して複
写した後に、マークまたはシンボルが描画される。ま
た、一方のプログラムを作成しながら他方のプログラム
を作成する場合、一方のエディタ画面上でマークまたは
シンボルが作成される毎に属性データが逐次複写され
て、他方のエディタ画面上でシンボルまたはマークが描
画される。
Preferably, in the data copying process, the attribute data is copied prior to an image block selection and copying operation. As a result, similarly to the above-described editor device, when the other program is created based on the created program, the mark or the symbol is drawn after the attribute data is copied collectively in advance. When creating one program while creating the other program, each time a mark or symbol is created on one editor screen, the attribute data is copied sequentially, and the symbol or mark is copied on the other editor screen. Is drawn.

【0032】あるいは、上記データ複写処理が、アプリ
ケーションプログラムの操作入力画面で入力したデータ
に関して該操作画面上に表示される画像ブロックを選択
し、かつ上記第1または第2エディタ画面上へ複写させ
る操作に応じて、上記表示内容プログラムまたは上記制
御手順プログラムと上記アプリケーションプログラムの
データとの間で共通するデータを、上記表示内容プログ
ラムファイルまたは上記制御手順プログラムファイルに
複写することが好ましい。これによって、前述のエディ
タ装置と同様、表示内容プログラムファイルまたは制御
手順プログラムファイルは、CADなどのアプリケーシ
ョンプログラムのデータを取り込むことができる。
Alternatively, the data copy processing is an operation of selecting an image block displayed on the operation screen with respect to data input on the operation input screen of the application program, and copying the image block onto the first or second editor screen. It is preferable that data common to the display content program or the control procedure program and the data of the application program be copied to the display content program file or the control procedure program file. Thus, similarly to the above-described editor device, the display content program file or the control procedure program file can capture data of an application program such as CAD.

【0033】[0033]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図21に基づいて説明すれば、以下の通りであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

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

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

【0036】表示機能部としてのプログラマブル表示器
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.

【0037】メモリ部12は、DRAM12a、FEP
ROM(Flash Erasable and Programmable ROM)12b
等のメモリを含んでいる。DRAM12aは、主に、表
示制御などの演算処理時の作業用に用いられる他、PL
C2との間でやり取りされるデータの一時的な記憶に用
いられる。FEPROM12bは、書き替え可能な読み
出し専用のフラッシュメモリであり、一般のパーソナル
コンピュータにおけるハードディスクドライブの役割を
果たす。フラッシュメモリは、可動部を持たず、かつ衝
撃に強いので、劣悪な周囲環境でも安定して動作する。
The memory unit 12 includes a DRAM 12a, an FEP
ROM (Flash Erasable and Programmable ROM) 12b
Etc. memory. The DRAM 12a is mainly used for operations at the time of arithmetic processing such as display control.
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. The flash memory has no moving parts and is resistant to impact, so that it operates stably even in a poor surrounding environment.

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

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

【0040】図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 base screen on which display control operation is to be executed
, An event name T for specifying an operation content to be executed on the base screen, and reference information I including one or a plurality of data referred to for each execution event.

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

【0042】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 displayed in the horizontal direction.

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

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

【0045】制御機能部としてのPLC2は、内蔵する
CPU部によって、制御機能プログラムにしたがい、ラ
ダーエディタ32aで作成されたユーザプログラム(制
御手順プログラム)で定められた手順で、入出力機器4
…の動作を制御する。
The PLC 2 as a control function unit is provided with an input / output device 4 according to a control program by a built-in CPU according to a user program (control procedure program) created by a ladder editor 32a.
The operation of ... is controlled.

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

【0047】プログラマブル表示器1は、上記のビット
デバイスまたはワードデバイスが示す状態情報のうち、
必要な情報を適時にメモリ部12に読み込む一方、上記
の処理指示語Wを繰り返し読み出して各処理指示語Wの
事象名Tで特定される内容の動作をPLC2側の状態情
報を参照しながら実行する。これによって、ビットデバ
イスまたはワードデバイスの状態の変化に応じて変化す
る表示動作が実行される。
The programmable display 1 includes, among the status information indicated by the bit device or the word device,
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. I do. Thus, a display operation that changes according to a change in the state of the bit device or the word device is performed.

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

【0049】まず、PLC2と通信が可能なオンライン
モード、またはプログラマブル表示器1のみを動作させ
るオフラインモードのいずれか一方を選択する(S
1)。オフラインモードが選択された場合(NO)、プ
ログラマブル表示器1において、設定処理、診断処理な
どの各種の処理を行い(S6)、処理をS1に戻す。
First, either an online mode in which communication with the PLC 2 is possible or an offline mode in which only the programmable display 1 is operated is selected (S).
1). When the off-line mode is selected (NO), the programmable display 1 performs various processing such as setting processing and diagnostic processing (S6), and returns the processing to S1.

【0050】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 PLC 2 side referred to by the processing instruction word W set in the memory unit 12 of the programmable display 1 as a start-up process is programmable. It is taken out to the display 1 side. Specifically, among the processing instruction words W stored in the memory unit 12, from the information included in the processing instruction word W related to the currently displayed base screen, the word device and bit set in the PLC 2 are determined. 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.
2 and displayed on the operation screen. In the online mode, it is determined whether or not an input operation has been performed 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 performed based on the input data (S3), and further a data communication process is performed (S4).

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

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

【0053】図1に示すように、コンピュータ装置3
は、パーソナルコンピュータなどの汎用コンピュータに
よって構成されている。このコンピュータ装置3は、C
PU31、エディタ部32、データファイル33、メモ
リ部34、ディスプレイ35、入力装置36、外部記憶
装置37およびインターフェース部(図中、I/F)3
8を備えている。
As shown in FIG.
Is constituted by 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
8 is provided.

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

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

【0056】エディタ部32は、ラダーエディタ32
a、作画エディタ32b、アプリケーション32cおよ
び複写機能部32dを含んでいる。
The editor section 32 is a ladder editor 32
a, a drawing editor 32b, an application 32c, and a copy function unit 32d.

【0057】第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 for determining the control procedure of the PLC 2 so that the input / output devices 4 operate in accordance with a desired sequence. The display screen 35a (FIG. 15)
(See (a)) above, a ladder diagram can be created by arranging ladder symbols (symbols) corresponding to the operation of the input / output device 4. In the ladder editor 32a, for example, the above-mentioned programming language conforming to the international standard IEC is used.

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

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

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

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

【0062】このようにして作成されたユーザ画面は、
後述の画面ファイル33bに格納され、必要に応じてイ
ンターフェース部38を介してプログラマブル表示器1
に転送され、FEPROM12bに画面データとしてダ
ウンロードされる。
The user screen created in this way is
It is stored in a screen file 33b to be described later, and the programmable display 1
And downloaded to the FEPROM 12b as screen data.

【0063】アプリケーション32cは、主に汎用のア
プリケーションソフトウェアであって、ラダーエディタ
32aおよび作画エディタ32bとやり取りを行うこと
ができる属性データを生成するソフトウェアによって構
成されている。そのソフトウェアとしては、データを作
成することができる表計算ソフトウェアや、回路などを
設計するためのCADソフトウェアなどが挙げられる。
The application 32c is mainly general-purpose application software, and is constituted by software for generating attribute data that can be exchanged with the ladder editor 32a and the drawing editor 32b. Examples of the software include spreadsheet software capable of creating data and CAD software for designing circuits and the like.

【0064】データ複写手段としての複写機能部32d
は、OSのデータ複写機能を利用して、作画エディタ3
2bで作成される画面において、ラダーエディタ32a
で作成されたラダー図におけるラダー記号に対応するマ
ークを自動的に生成(描画)させるとともに、そのラダ
ー記号の属性データをマークの属性データとして複写す
る。また、複写機能部32dは、同様にOSのデータ複
写機能を利用して、ラダーエディタ32aで作成される
ラダー図において、作画エディタ32bで作成された画
面におけるマークに対応するラダー記号を自動的に生成
(描画)させるとともに、そのマークの属性データをラ
ダー記号の属性データとして複写する。
Copy function section 32d as data copy means
Uses the data copy function of the OS to create the
In the screen created in 2b, the ladder editor 32a
Automatically generates (draws) a mark corresponding to the ladder symbol in the ladder diagram created in step (1), and copies the attribute data of the ladder symbol as attribute data of the mark. Similarly, the copy function unit 32d automatically uses the data copy function of the OS to automatically add a ladder symbol corresponding to a mark on a screen created by the drawing editor 32b in a ladder diagram created by the ladder editor 32a. The attribute data of the mark is generated (drawn), and the attribute data of the mark is copied as attribute data of the ladder symbol.

【0065】具体的には、属性データの複写は、メモリ
部34に設けられる後述のクリップボードCB(図16
および図18参照)を介して、ドラッグ&ドロップまた
はコピー&ペーストの機能を利用して行われる。
More specifically, the attribute data is copied by a clipboard CB (see FIG.
And FIG. 18) using a function of drag and drop or copy and paste.

【0066】クリップボードCBに格納されるデータ構
造は、図5(a)に示すように、ヘッダーコード、メモ
リサイズ、オブジェクトタイプ、予約、アドレス情報
数、アドレス情報(1〜N)および予約によって構成さ
れている。このうち、メモリサイズは、クリップボード
CBへデータを格納する際に必要となるメモリのサイズ
であり、オブジェクトタイプは、クリップボードCBに
格納する部品の予め設定された種類である。このオブジ
ェクトタイプは、図5(b)に示すように、ビットスイ
ッチ、トグルスイッチ、ランプ、数値表示器、棒グラ
フ、円グラフ、半円グラフ、タンクグラフ、メータグラ
フおよび設定値表示器が設定される。アドレス情報は、
図5(c)に示すように、アドレス(アドレス名)、予
約、アドレス付加情報、予約、オブジェクトタイプおよ
び予約によって構成されている。アドレス付加情報は、
シンボルの種類(整数シンボル、ディスクリートシンボ
ルなど)に関する情報である。アドレス情報におけるオ
ブジェクトタイプは、上記のオブジェクトタイプと同じ
内容であって、アドレスがどの部品に対応しているかを
指定し、このために必要な部品のビットのみONする。
As shown in FIG. 5A, the data structure stored in the clipboard CB is composed of a header code, a memory size, an object type, a reservation, the number of address information, address information (1 to N), and a reservation. ing. Among them, the memory size is the size of the memory required when storing data on the clipboard CB, and the object type is a preset type of a component stored on the clipboard CB. In this object type, as shown in FIG. 5B, a bit switch, a toggle switch, a lamp, a numerical display, a bar graph, a pie graph, a semicircle graph, a tank graph, a meter graph, and a set value display are set. . The address information is
As shown in FIG. 5C, it is composed of an address (address name), reservation, address additional information, reservation, object type, and reservation. The address additional information is
Information on the type of symbol (integer symbol, discrete symbol, etc.). The object type in the address information has the same contents as the above-mentioned object type, and specifies which part the address corresponds to, and turns ON only the bits of the parts necessary for this.

【0067】なお、上記の複写機能部32dは、ラダー
エディタ32aまたは作画エディタ32bのいずれか一
方の一機能としてそれぞれに含まれていてもよい。
The copying function section 32d may be included as one of the functions of the ladder editor 32a and the drawing editor 32b.

【0068】コンピュータ装置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.

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

【0070】なお、エディタ部32は、単一の記録媒体
5に記録されていてもよいが、ラダーエディタ32aと
作画エディタ32bとがそれぞれ別個の記録媒体に記録
されていてもよい。
The editor section 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.

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

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

【0073】データファイル33は、ラダーファイル3
3a、画面ファイル33bおよびアプリケーションファ
イル33cを含んでいる。
The data file 33 is a ladder file 3
3a, a screen file 33b and an application file 33c.

【0074】制御手順プログラムファイルとしてのラダ
ーファイル33aは、図6(a)に示すように、コマン
ドファイル部33a1 および属性データファイル部33
2から構成されている。コマンドファイル部33a1
は、入力されたラダー記号に対応するニーモニック(ラ
ダー命令)およびオペランドを格納し、属性データファ
イル部33a2 は、コマンドファイル部33a1 に対応
するように、入力されたラダー命令についてデバイスの
名称およびアドレスを格納している。
[0074] Ladder file 33a as a control procedure program file, as shown in FIG. 6 (a), the command file section 33a 1 and the attribute data file 33
It is constructed from a 2. Command file part 33a 1
Stores the mnemonic (ladder instruction) and operands corresponding to the ladder symbol that is input, the attribute data file section 33a 2 so as to correspond to the command file section 33a 1, the name of the device for ladder command input and Stores the address.

【0075】表示内容プログラムファイルとしての画面
ファイル33bは、図6(b)に示すように、図形デー
タファイル部33b1 および属性データファイル部33
2から構成されている。図形データファイル部33b
1 は、入力されたマークについての図形データを格納
し、属性データファイル部33b2 は、図形データファ
イル部33b1 に対応するように、入力されたマークに
ついてデバイスの名称およびアドレスを格納している。
[0075] screen file 33b as the display content program file, as shown in FIG. 6 (b), the graphic data file section 33b 1 and the attribute data file 33
and a b 2. Figure data file section 33b
1 stores shape data of the mark that has been input, the attribute data file section 33b 2 so as to correspond to the graphic data file section 33b 1, and stores the name and address of the device for marks entered .

【0076】ラダーファイル33aおよび画面ファイル
33bが、属性データファイル部33a2 ・33b2
よって互いに関連付けられているので、第1ないし第3
の表示/制御システムにおける表示動作および制御動作
は互いに関連する。
Since the ladder file 33a and the screen file 33b are related to each other by the attribute data file sections 33a 2 and 33b 2 , the first to third
The display operation and the control operation in the display / control system of the present invention are related to each other.

【0077】アプリケーションファイル33cは、アプ
リケーション32cで作成されたデータを上記の属性デ
ータファイル部33a2 ・33b2 の属性データと関連
付けられる属性データを格納している。
[0077] application file 33c has the data created by the application 32c stores attribute data is associated with the attribute data of the attribute data file section 33a 2 · 33b 2.

【0078】ディスプレイ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 constituted by a CRT, an LCD or the like. In the computer device 3 which is a panel computer, the display 35 is constituted by a flat display element such as a liquid crystal panel or an EL panel. Input device 3
Reference numeral 6 denotes a device for performing input operations such as a keyboard and a mouse, and in particular, a GUI (Graphical User Interface).
A device such as a mouse is suitable for input work in the editor unit 32 operating on the environment. The external storage device 37 is a magnetic disk drive such as a hard disk device, a CD-R
It is a device such as an optical disk drive such as an OM drive, and includes at least a device capable of reading information such as a program recorded on 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 32a and the user screen created by the drawing editor 32b are transferred to the programmable display 1 via the interface unit 38.

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

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

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

【0082】入出力ユニット20は、入出力機器4…が
接続可能となるように、多数の入出力端子、入出力回路
などを備えている。I/O制御インターフェース21
は、CPU11と入出力ユニット20との間の信号の授
受を仲介するインターフェース回路であって、入出力メ
モリ、D/A変換器、A/D変換器などを備えている。
The input / output unit 20 has 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 transmission and reception 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.

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

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

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

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

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

【0088】また、コンピュータ装置3は、オープンコ
ントローラとして機能するように、インターフェースユ
ニット(図中、I/Fユニット)41を備えている。イ
ンターフェースユニット41は、イーサネット(登録商
標)などの汎用の通信プロトコルを用いるオープンネッ
トワーク8に対応した入出力部であり、オープンネット
ワーク8に接続されている。これによって、コンピュー
タ装置3は、オープンネットワーク8を介して他のコン
ピュータ装置、プログラマブル表示器、PLCなどと接
続される。
The computer device 3 has 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 corresponding to the open network 8 using a general-purpose communication protocol such as Ethernet (registered trademark), and is connected to the open network 8. Thereby, the computer device 3 is connected to another computer device, a programmable display, a PLC, and the like via the open network 8.

【0089】メモリ部34は、前述のSRAM12cと
同様、図8に示すように、表示制御システムプログラム
と、通信プロトコルと、画面データと、制御機能プログ
ラムと、ユーザプログラムとをそれぞれ格納するエリア
を有している。
As shown in FIG. 8, 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, respectively, as in the above-described SRAM 12c. are doing.

【0090】このように構成されるコンピュータ装置3
は、入出力機器4…が配備されたターゲットシステムの
運転時(オンライン状態)では、作成された画面や現場
の様子をディスプレイ35に表示させることによってタ
ーゲットシステムの運転状況を監視するモニタとして機
能するとともに、ターゲットシステムにおける入出力機
器4…の制御を行う。このとき、コンピュータ装置3
は、ラダーエディタ32aで作成され、ラダーファイル
33aに格納されているユーザプログラムを、制御機能
プログラムにしたがって実行する。一方、コンピュータ
装置3は、ターゲットシステムの非運転時(オフライン
状態)において、ラダーエディタ32aまたは作画エデ
ィタ32bを起動することによってユーザプログラムま
たはユーザ画面を作成するためのエディタ装置として機
能する。
The computer device 3 configured as described above
When the target system in which the input / output devices 4 are arranged is operated (on-line state), the created screen and the state of the site are displayed on the display 35 to function as a monitor for monitoring the operation status of the target system. And the input / output devices 4 in the target system are controlled. At this time, the computer device 3
Executes the user program created by the ladder editor 32a and stored in the ladder file 33a 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 (off-line state).

【0091】ここで、第1ないし第3の表示/制御シス
テムにおけるユーザプログラムおよびユーザ画面の作成
手順について、図10ないし図14のフローチャートを
参照して説明する。
Here, a procedure for creating a user program and a user screen in the first to third display / control systems will be described with reference to the flowcharts in FIGS.

【0092】図10に示すように、先にユーザ画面を作
成(作画)するか、ユーザプログラムを作成する(プロ
グラミング)かをユーザによる入力操作に応じて判断す
る(S11)。先にユーザプログラムを作成する場合
は、ラダーエディタ32aを用いたプログラミング処理
(1)を実行し(S12)、その後、作画エディタ32
bを用いた作画処理(2)を実行する(S13)。一
方、先にユーザ画面を作成する場合は、作画エディタ3
2bを用いた作画処理(1)を実行し(S14)、その
後、ラダーエディタ32aを用いたプログラミング処理
(2)を実行する(S15)。
As shown in FIG. 10, it is determined in advance whether a user screen is created (drawing) or a user program is created (programming) according to an input operation by the user (S11). When a user program is created first, a programming process (1) using the ladder editor 32a is executed (S12), and then the drawing editor 32
The image forming process (2) using b is executed (S13). On the other hand, when creating a user screen first, the drawing editor 3
The image forming process (1) using 2b is executed (S14), and then the programming process (2) using the ladder editor 32a is executed (S15).

【0093】次いで、作成されたユーザプログラムおよ
びユーザ画面を利用可能にするように所定の格納先に格
納する(S16)。このとき、第1または第2の表示/
制御システムでは、ユーザプログラムおよびユーザ画面
が、一旦データファイル33に格納された後、それぞれ
PLC2およびプログラマブル表示器1にダウンロード
され、メモリに格納される。あるいは、第2の表示/制
御システムでは、ユーザプログラムおよびユーザ画面
が、一旦データファイル33に格納された後、プログラ
マブル表示器1にダウンロードされ、メモリ部12に格
納される。第3の表示/制御システムでは、ユーザプロ
グラムおよびユーザ画面がデータファイル33に格納に
格納される。
Next, the created user program and user screen are stored in a predetermined storage location so as to be usable (S16). At this time, the first or second display /
In the control system, the user program and the user screen are temporarily stored in the data file 33, then downloaded to the PLC 2 and the programmable display 1, respectively, and stored in the memory. Alternatively, in the second display / control system, the user program and the user screen are temporarily stored in the data file 33, downloaded to the programmable display 1, and stored in the memory unit 12. In the third display / control system, the user program and the user screen are stored in the data file 33.

【0094】なお、上記の例では、作画またはプログラ
ミングの何れかを先に実行した後に他方を実行する手順
について説明しているが、これに限らず、両方を並行し
て実行することも可能である。
In the above example, the procedure for executing either the drawing or the programming first and then the other is described. However, the present invention is not limited to this, and it is also possible to execute both in parallel. is there.

【0095】先にプログラミング処理(1)を実行する
場合は、図11のフローチャートに示す手順にしたが
う。ここでは、コンピュータ装置3において、ラダーエ
ディタ32aおよび作画エディタ32bが起動されてお
り、ディスプレイ35の表示部35a(図15(a)参
照)には、ユーザ画面作成用のエディタ画面(第1エデ
ィタ画面)を表示するウインドウ(以降、作画ウインド
ウと称する)32b1 およびユーザプログラム作成用の
エディタ画面(第2エディタ画面)を表示するウインド
ウ(以降、ラダーウインドウと称する)32a1 が同時
に開いているものとする。しかしながら、先にプログラ
ミング処理(1)を実行する際には、少なくともラダー
エディタ32aが起動されていればよい。
When the programming process (1) is executed first, the procedure shown in the flowchart of FIG. 11 is followed. Here, a ladder editor 32a and a drawing editor 32b are activated in the computer device 3, and an editor screen (first editor screen) for creating a user screen is displayed on a display unit 35a (see FIG. 15A) of the display 35. ) window (hereinafter for displaying, drawing window called) 32 b 1 and the user program editor screen for creating (second editor screen) for displaying a window (hereinafter, referred to as ladder window) as those 32a 1 is opened at the same time I do. However, when executing the programming process (1) first, it is sufficient that at least the ladder editor 32a is activated.

【0096】まず、ラダーウインドウ32a1 上にて、
各入出力機器4を対象としてラダー記号を配置すること
によってラダー命令を記述する(S21)。次いで、記
述されたラダー命令について使用する名称、アドレスな
どの属性データを入力し(S22)、ラダー記号および
属性データをテンポラリファイルに登録する(S2
3)。その後、ユーザの操作に応じてプログラミング処
理を終了するか否かを判断する(S24)。ここで、終
了しない場合はS21に処理を戻す一方、終了する場合
は作成されたユーザプログラムをラダーファイル33a
に登録する(S25)。
[0096] First, in the ladder window 32a 1 above,
A ladder instruction is described by arranging a ladder symbol for each input / output device 4 (S21). Next, attribute data such as a name and an address used for the described ladder instruction is input (S22), and the ladder symbol and the attribute data are registered in a temporary file (S2).
3). Thereafter, it is determined whether or not to end the programming process according to a user operation (S24). Here, if the processing is not to be ended, the process returns to S21.
(S25).

【0097】続いて実行される作画(2)においては、
図12のフローチャートに示す手順にしたがう。
In the drawing (2) executed subsequently,
According to the procedure shown in the flowchart of FIG.

【0098】まず、予め、ラダーファイル33aに登録
されたラダー記号(ラダー命令)についての属性データ
を画面ファイル33bにインポートする(S31)。ラ
ダーウインドウ32a1 上のラダー記号がマウスなどに
よってドラッグされたか否かを判断し(S32)、ドラ
ッグされた場合は、ドラッグされたラダー記号が作画ウ
インドウ32b1 にドロップされたか否かを判断する
(S33)。ここで、ラダー記号のドロップが確認され
ると、ドラッグされたラダー記号についての属性データ
に含まれる機能に基づいて、その機能を有する複数のマ
ークを含むダイアログボックスD1 (図15(c)参
照)を表示する(S34)。
First, attribute data on a ladder symbol (ladder command) registered in the ladder file 33a is imported into the screen file 33b (S31). Ladder symbol on the ladder window 32a 1 is judged whether or not dragged by the mouse (S32), if it is dragged, it is determined whether the ladder symbol is dragged is dropped on drawing window 32 b 1 ( S33). Here, the drop of the ladder symbol is confirmed, based on the functionality included in the attribute data for the ladder symbol is dragged, the dialog box D 1 (FIG. 15 (c) references including a plurality of marks having the function ) Is displayed (S34).

【0099】上記の手順では、ラダーエディタ32aで
作成された全てのラダー記号についての属性データが、
予めS31でのインポートによって一括して画面ファイ
ル33bに複写される。しかしながら、これの代わり
に、1つのラダー記号についての属性データが、ドラッ
グおよびドロップ毎に逐次インポートされてもよい。特
に、多数のラダー記号を含むラダー図を作成する場合
は、属性データを一括してインポートすることにより、
処理効率の向上が可能になる。一方、少数のラダー記号
を含むラダー図を作成する場合は、属性データを逐次イ
ンポートしても処理効率の低下はほとんどない。したが
って、いずれのインポートを採用するかは、ラダー図の
大きさやその他の要因に基づいて選択することが望まし
い。
In the above procedure, the attribute data of all ladder symbols created by the ladder editor 32a is
The data is collectively copied to the screen file 33b in advance by the import in S31. However, instead of this, the attribute data for one ladder symbol may be imported sequentially for each drag and drop. In particular, when creating a ladder diagram that contains a large number of ladder symbols, you can import attribute data all at once,
Processing efficiency can be improved. On the other hand, when creating a ladder diagram including a small number of ladder symbols, even if attribute data is sequentially imported, there is almost no reduction in processing efficiency. Therefore, it is desirable to select which import to use based on the size of the ladder diagram and other factors.

【0100】その後、ダイアログボックスD1 に表示さ
れた複数のマークから1つのマークが選択されると、そ
のマークをテンポラリファイルに登録する(S35)。
そして、ユーザの操作に応じて作画処理を終了するか否
かを判断する(S36)。ここで、終了しない場合はS
31に処理を戻す一方、終了する場合は作成されたユー
ザ画面を画面ファイル33bに登録する(S37)。
[0100] After that, when one mark from a plurality of marks that are displayed in the dialog box D 1 is selected, and registers the mark to a temporary file (S35).
Then, it is determined whether or not to end the drawing process according to the operation of the user (S36). Here, if not to end, S
On the other hand, when the processing is to be terminated, the created user screen is registered in the screen file 33b (S37).

【0101】ここで、図12のフローチャートの手順で
行われる作画処理(2)の具体例について説明する。
Here, a specific example of the drawing processing (2) performed according to the procedure of the flowchart of FIG. 12 will be described.

【0102】まず、図15(a)に示すように、ラダー
ウインドウ32a1 上には、ラダーエディタ32aによ
って既にスイッチ(入力)を表すラダー記号Lとランプ
(出力)を表すラダー記号L′とが描画されている。こ
れに伴って、ラダーファイル33aは、図16に示すよ
うに、スイッチおよびランプについてのデータを登録し
ている。具体的には、スイッチについては、名称として
の“SW1”およびアドレスとしての“XB0001”
が少なくとも登録されている。また、ランプについて
は、名称としての“LAMP1”およびアドレスとして
の“YB0001”が少なくとも登録されている。
[0102] First, as shown in FIG. 15 (a), on the ladder window 32a 1 is a ladder symbol L 'representing the ladder symbol L and the lamp already represents the switch (input) by the ladder editor 32a (output) Is drawn. Along with this, the ladder file 33a registers data on switches and lamps as shown in FIG. Specifically, for the switch, “SW1” as a name and “XB0001” as an address
Is registered at least. For the lamp, at least "LAMP1" as a name and "YB0001" as an address are registered.

【0103】この状態で、図15(a)に示すように、
作画ウインドウ32b1 を開いておく。さらに、図15
(b)に示すようにラダーウインドウ32a1 における
ラダー記号Lが作画ウインドウ32b1 にドラッグされ
た後にドロップされると、図15(c)に示すように、
ダイアログボックスD1 が作画ウインドウ32b1 に表
示される。
In this state, as shown in FIG.
Keep open the drawing window 32b 1. Further, FIG.
When the ladder symbol L in the ladder window 32a 1 as shown in (b) is dropped after being dragged to drawing window 32 b 1, as shown in FIG. 15 (c),
Dialog box D 1 is displayed in the drawing window 32b 1.

【0104】前述のように、ラダーエディタ32aで作
成された全てのラダー記号についての属性データは、予
めインポートによって一括して画面ファイル33bに複
写されている。あるいは、1つのラダー記号についての
属性データが、ドラッグおよびドロップ毎にインポート
される。このインポートは、図16に示すように、属性
データをクリップボードCBに一旦記憶させた後に画面
ファイル33bに複写することによって実現される。
As described above, the attribute data of all the ladder symbols created by the ladder editor 32a is collectively copied to the screen file 33b by import in advance. Alternatively, attribute data for one ladder symbol is imported for each drag and drop. This import is realized by temporarily storing the attribute data on the clipboard CB and then copying it to the screen file 33b as shown in FIG.

【0105】ダイアログボックスD1 におけるスイッチ
の機能を有する複数種類のマークの中から適当な1つの
マークが選択されると、図15(d)に示すように、選
択されたマークの画像Mが作画ウインドウ32b1 に表
示されるとともに、属性データ(名称“SW1”および
特性“ON”)を含むダイアログボックスD2 が表示さ
れる。ここで、OKボタンがクリックされると、作画ウ
インドウ32b1 上のマークMおよび属性データが確定
し、画面ファイル33bの図形データファイル部33b
1 および属性データファイル部33b2 に、スイッチの
マークMについての図形データおよび属性データが関連
付けられて格納される(図16参照)。
[0105] When appropriate one mark from among a plurality of types of marks having the function of a switch in the dialog box D 1 is selected, as shown in FIG. 15 (d), drawing an image M of marks selected is displayed on the window 32 b 1, a dialog box D 2 containing the attribute data (name "SW1" and the characteristic "oN") is displayed. Here, when the OK button is clicked, the mark M and attribute data on the drawing window 32b 1 is confirmed, the graphic data file section 33b of the screen file 33b
1 and the attribute data file section 33b 2, graphic data and attribute data are stored in association for the mark M of the switch (see Figure 16).

【0106】したがって、ユーザは、作画ウインドウ3
2b1 上でスイッチのマークを描画する作業や必要な属
性データを入力する作業を行う必要がなく、極めて容易
にユーザ画面を作成することができる。
Therefore, the user can select the drawing window 3
2b 1 on it is not necessary to perform the work of inputting the tasks and the required attribute data for drawing a mark switch, it can be created very easily the user screen.

【0107】一方、先に作画処理(1)を実行する場合
は、図13のフローチャートに示す手順にしたがう。こ
こでは、コンピュータ装置3において、ラダーエディタ
32aおよび作画エディタ32bが起動されており、デ
ィスプレイ35の表示部35a(図17(a)参照)に
は、ラダーウインドウ32a1 および作画ウインドウ3
2b1 が同時に開いているものとする。しかしながら、
先に作画処理(1)を実行する際には、少なくとも作画
エディタ32bが起動されていればよい。
On the other hand, when the drawing processing (1) is executed first, the procedure shown in the flowchart of FIG. 13 is followed. Here, in the computer device 3, is up ladder editor 32a and the screen editor 32b, the display unit 35a of the display 35 (see FIG. 17 (a)), the ladder window 32a 1 and drawing the window 3
It is assumed that the 2b 1 is open at the same time. However,
When executing the drawing processing (1) first, it is sufficient that at least the drawing editor 32b is activated.

【0108】まず、作画ウインドウ32b1 上にて、各
入出力機器4を対象としてマークを配置する(S4
1)。次いで、配置されたマークについて使用する名
称、アドレスなどの属性データを入力し(S42)、マ
ークおよび属性データをテンポラリファイルに登録する
(S43)。その後、ユーザの操作に応じてプログラミ
ング処理を終了するか否かを判断する(S44)。ここ
で、終了しない場合はS41に処理を戻す一方、終了す
る場合は作成されたユーザ画面を画面ファイル33bに
登録する(S45)。
[0108] First, in drawing the window 32 b 1 above, to place the mark each input and output device 4 as a target (S4
1). Next, attribute data such as a name and an address used for the arranged mark are inputted (S42), and the mark and the attribute data are registered in a temporary file (S43). Thereafter, it is determined whether or not to end the programming process according to a user operation (S44). Here, if the processing is not to be ended, the process returns to S41, while if the processing is to be ended, the created user screen is registered in the screen file 33b (S45).

【0109】続いて実行されるプログラミング処理
(2)は、図14のフローチャートに示す手順にしたが
う。
The subsequently executed programming process (2) follows the procedure shown in the flowchart of FIG.

【0110】まず、予め、画面ファイル33bに登録さ
れたマークについての属性データをラダーファイル33
aにインポートする(S51)。作画ウインドウ32b
1 上のマークがドラッグされたか否かを判断し(S5
2)、ドラッグされた場合は、ドラッグされたマークが
ラダーウインドウ32a1 にドロップされたか否かを判
断する(S53)。ここで、マークのドロップが確認さ
れると、ドラッグされたマークについての属性データに
含まれる機能に基づいて、その機能に対応するラダー記
号とともに、上記の属性データを表示する(S54)。
First, the attribute data of the marks registered in the screen file 33b is previously stored in the ladder file 33.
a (S51). Drawing window 32b
It is determined whether the mark on 1 has been dragged (S5).
2), when it is dragged, to determine whether a mark has been dragged is dropped on the ladder window 32a 1 (S53). Here, if the drop of the mark is confirmed, the above attribute data is displayed together with the ladder symbol corresponding to the function based on the function included in the attribute data of the dragged mark (S54).

【0111】上記の手順では、作画エディタ32bで配
置された全てのマークについての属性データが、予めS
51でのインポートによって一括してラダーファイル3
3aに複写される。しかしながら、これの代わりに、1
つのマークについての属性データが、ドラッグおよびド
ロップ毎に逐次インポートされてもよい。
In the above procedure, the attribute data for all the marks arranged by the drawing editor 32b is
Ladder file 3 by import at 51
3a. However, instead of this, 1
Attribute data for one mark may be imported sequentially for each drag and drop.

【0112】その後、表示されたラダー記号をテンポラ
リファイルに登録する(S55)。そして、ユーザの操
作に応じてプログラミング処理を終了するか否かを判断
する(S56)。ここで、終了しない場合はS51に処
理を戻す一方、終了する場合は作成されたユーザプログ
ラムをラダーファイル33aに登録する(S57)。
Then, the displayed ladder symbol is registered in a temporary file (S55). Then, it is determined whether or not to end the programming process according to a user operation (S56). Here, if the processing is not to be ended, the process returns to S51, while if the processing is to be ended, the created user program is registered in the ladder file 33a (S57).

【0113】ここで、図14のフローチャートの手順で
行われるプログラミング処理(2)の具体例について説
明する。
Here, a specific example of the programming process (2) performed according to the procedure of the flowchart of FIG. 14 will be described.

【0114】まず、図17(a)に示すように、作画ウ
インドウ32b1 上には、作画エディタ32bによって
既にスイッチ(入力)を表すマークMが配置かつ描画さ
れている。これに伴って、画面ファイル33bは、図1
8に示すように、スイッチについてのデータを登録して
いる。具体的には、スイッチについては、名称としての
“SW1”、アドレスとしての“XB0001”が少な
くとも登録されている。
[0114] First, as shown in FIG. 17 (a), on the drawing window 32 b 1 has already been marked M is disposed and drawing representing a switch (input) by the screen editor 32b. Accordingly, the screen file 33b is
As shown in FIG. 8, data on the switch is registered. Specifically, at least “SW1” as a name and “XB0001” as an address are registered for the switch.

【0115】この状態で、図17(a)に示すように、
ラダーウインドウ32a1 を開いておく。さらに、図1
7(b)に示すように作画ウインドウ32b1 における
マークMがラダーウインドウ32a1 にドラッグされた
後にドロップされると、図17(c)に示すように、ラ
ダー記号LおよびダイアログボックスD3 がラダーウイ
ンドウ32a1 に表示される。
In this state, as shown in FIG.
Keep open the ladder window 32a 1. Further, FIG.
7 the mark M in the drawing window 32 b 1 as shown in (b) is dropped after being dragged to the ladder window 32a 1, as shown in FIG. 17 (c), the ladder symbol L and dialog boxes D 3 Ladder It is displayed in the window 32a 1.

【0116】前述のように、作画エディタ32bで配置
された全てのマークについての属性データは、予めイン
ポートによって一括してラダーファイル33aに複写さ
れている。あるいは、1つのマークについての属性デー
タが、ドラッグおよびドロップ毎にインポートされる。
このインポートは、図18に示すように、属性データを
クリップボードCBに一旦記憶させた後にラダーファイ
ル33aに複写することによって実現される。
As described above, the attribute data of all the marks arranged by the drawing editor 32b is copied in advance into the ladder file 33a by import. Alternatively, attribute data for one mark is imported for each drag and drop.
This import is realized by temporarily storing the attribute data on the clipboard CB and then copying it to the ladder file 33a as shown in FIG.

【0117】そして、図17(c)に示すように、スイ
ッチの機能に対応するラダー記号Lがラダーウインドウ
32a1 に描画されるとともに、属性データ(名称“S
W1”)を含むダイアログボックスD3 が表示される。
ここで、OKボタンがクリックされると、ラダーウイン
ドウ32a1 上のラダー記号Lおよび属性データが確定
し、ラダーファイル33aのコマンドファイル部33a
1 および属性データファイル部33a2 に、スイッチの
ラダー記号Lについてのコマンドおよび属性データが関
連付けられて格納される(図18参照)。
[0117] Then, as shown in FIG. 17 (c), together with the ladder symbol L is drawn on the ladder window 32a 1 corresponding to the switch function, the attribute data (name "S
W1 ") dialog box D 3 including displayed.
Here, when the OK button is clicked, the ladder symbol L and the attribute data on the ladder window 32a 1 is confirmed, the command file section 33a of the ladder file 33a
1 and the attribute data file section 33a 2, the command and attribute data is stored in association for the ladder symbol L of the switch (see Figure 18).

【0118】したがって、ユーザは、ラダーウインドウ
32a1 上でスイッチのラダー記号を描画する作業や必
要な属性データを入力する作業を行う必要がなく、極め
て容易にユーザプログラムを作成することができる。
[0118] Thus, the user ladder window 32a 1 on it is not necessary to perform the work of inputting the tasks and the required attribute data for drawing a ladder symbol switch, it can be created very easily the user program.

【0119】上記のように、本実施の形態に係る第1な
いし第3の表示/制御システムでは、ラダーエディタ3
2aで作成されたユーザプログラムを格納するラダーフ
ァイル33aと、作画エディタ32bで作成されたユー
ザ画面を格納する画面ファイル33bとを個別に備え、
複写機能部32dによって、ラダー記号の属性データを
画面ファイル33bに複写するとともに、マークの属性
データをラダーファイル33aに複写するように構成さ
れている。これにより、両ファイル33a・33bで共
通する属性データを持つことができ、両ファイル33a
・33b間での属性データを容易に関連付けることがで
きる。
As described above, in the first to third display / control systems according to the present embodiment, the ladder editor 3
A ladder file 33a for storing the user program created in 2a, and a screen file 33b for storing the user screen created in the drawing editor 32b,
The copy function unit 32d is configured to copy the attribute data of the ladder symbol to the screen file 33b and to copy the attribute data of the mark to the ladder file 33a. As a result, both files 33a and 33b can have attribute data common to both files 33a and 33b.
Attribute data between 33b can be easily associated.

【0120】また、このように、ユーザプログラムとユ
ーザ画面とで独立したデータベースを有することで、そ
れぞれのデータベースと他のデータベースとの間で上記
のような属性データの複写を行うことができる。具体的
には、汎用のアプリケーションソフトウェア(表計算ソ
フトウェアなど)を利用したデータベース、電子回路用
CADのデータベース、NC制御装置のGコードプログ
ラミング(加工プログラミング)のためのソフトウェア
などによって作成されたデータベースのデータを、その
ソフトウェアの操作入力画面上に入力されたデータなど
を画像ブロックとして選び、かつ前述のようにドラッグ
&ドロップ(またはコピー&ペースト)することによっ
てユーザプログラムまたはユーザ画面のデータベースに
そのデータを複写する。
In addition, since the user program and the user screen have independent databases as described above, the above-described attribute data can be copied between each database and another database. Specifically, a database using general-purpose application software (spreadsheet software, etc.), a database for electronic circuit CAD, a database created by software for G code programming (machining programming) of the NC control device, and the like. Is selected as an image block by inputting data or the like on the operation input screen of the software, and the data is copied to the user program or the user screen database by dragging and dropping (or copying and pasting) as described above. I do.

【0121】特に、CADソフトウェア(CADソフ
ト)によって制御盤設計を行う際には、ラダーエディタ
および作画エディタとでデータをやり取りすることが有
効である。
In particular, when designing a control panel using CAD software (CAD software), it is effective to exchange data with a ladder editor and a drawing editor.

【0122】あらゆる装置システムを開発するために
は、機械設計図をはじめ電気システム図が必要になる。
また、電気システム図を作成するには、電気的な仕様
書、制御盤図、部品リスト、ハードウェア図(回路図な
ど)を作成する必要がある。そして、作成された電気シ
ステム図に基づいて、制御盤を製作し、制御盤が設置さ
れる装置システムの電気工事などを進めていく。また、
制御盤を設計および製作していく工程においては、ま
ず、仕様の取り決めを行い、その仕様に基づいてCAD
ソフトのような図面を作成するツールにより、電気的構
成を設計した上でPLCなどを含む表示/制御システム
のプログラム作成に移行する。この際、本実施の形態に
係る複写機能部32dの機能を利用することによって、
ユーザプログラムおよびユーザ画面の作成にCADソフ
トで入力されたデータを利用することができる。
In order to develop any equipment system, an electrical system diagram including a mechanical design diagram is required.
In addition, in order to create an electrical system diagram, it is necessary to create an electrical specification, a control panel diagram, a parts list, and a hardware diagram (such as a circuit diagram). Then, based on the created electrical system diagram, a control panel is manufactured, and electrical work of an apparatus system in which the control panel is installed is advanced. Also,
In the process of designing and manufacturing a control panel, specifications are firstly agreed upon, and CAD is performed based on the specifications.
Using a tool for creating a drawing such as software, the electrical configuration is designed, and then a transition is made to the creation of a display / control system program including a PLC or the like. At this time, by using the function of the copy function unit 32d according to the present embodiment,
Data input by CAD software can be used to create a user program and a user screen.

【0123】具体的には、コンピュータ装置3のアプリ
ケーション32c(図1、図7および図9参照)にCA
Dソフトが組み込まれている場合、CADソフトを起動
して、図19(a)に示すように、表示部35aに、C
ADウインドウ32c1 とラダーウインドウ32a1
を表示させる。CADウインドウ32c1 には、PLC
の入力部に接続された押しボタンスイッチ(図記号名P
B001で表される)と、PLCの出力部に接続された
パイロットランプ(図記号名PL001で表される)と
が表示されている。この状態で、CADウインドウ32
1 に表示された押しボタンスイッチの図記号(画像ブ
ロック)をドラッグし、かつラダーウインドウ32a1
にドロップすれば、図14のフローチャートに示す手順
とほぼ同様の手順で、押しボタンスイッチに対応するラ
ダー記号L1 (LD命令など)がラダーウインドウ32
1 に表示される。同様に、パイロットランプもラダー
記号L2 (OUT命令)としてラダーウインドウ32a
1 に表示される。
Specifically, the application 32c of the computer device 3 (see FIGS. 1, 7 and 9)
When the D software is installed, the CAD software is started, and as shown in FIG.
To display the AD window 32c 1 and the ladder window 32a 1. The CAD window 32c 1, PLC
Push button switch (graphic symbol name P
B001) and a pilot lamp (represented by the symbolic name PL001) connected to the output of the PLC. In this state, the CAD window 32
Drag graphical symbols (image blocks) of the push button switch displayed on c 1, and the ladder window 32a 1
, The ladder symbol L 1 (LD instruction or the like) corresponding to the push button switch is displayed in the ladder window 32 in substantially the same procedure as the procedure shown in the flowchart of FIG.
It is displayed on a 1. Similarly, the pilot lamp also has a ladder symbol L 2 (OUT command) as the ladder window 32a.
Displayed in 1 .

【0124】一方、CADのデータを用いてユーザ画面
を作成する場合、図19(b)に示すように、表示部3
5aに、CADウインドウ32c1 と作画ウインドウ3
2b 1 とを表示させる。この状態で、CADウインドウ
32c1 に表示された押しボタンスイッチの図記号をド
ラッグし、かつ作画ウインドウ32b1 にドロップすれ
ば、図12のフローチャートに示す手順とほぼ同様の手
順で、押しボタンスイッチに対応するマークMが作画ウ
インドウ32b1 に表示される。このとき、PLCの入
力部と出力部とで押しボタンスイッチおよびパイロット
ランプの機能を共通化させておけば、押しボタンスイッ
チとパイロットランプとを兼ねたマークMが作画ウイン
ドウ32b1 に表示される。
On the other hand, a user screen is displayed using CAD data.
Is created, as shown in FIG. 19B, the display unit 3
5a, CAD window 32c1And drawing window 3
2b 1And are displayed. In this state, the CAD window
32c1The push-button switch symbol shown in
Lugging and drawing window 32b1Drop on
For example, the procedure shown in the flowchart of FIG.
The mark M corresponding to the push button switch is
Indian 32b1Will be displayed. At this time, the PLC
Pushbutton switch and pilot for power and output
If the lamp function is shared, the push button switch
Mark M, which doubles as a pilot and pilot lamp, is a drawing win
Dough 32b1Will be displayed.

【0125】上記の処理の際にラダーファイル33aお
よび作画ファイル33bにインポートされるデータは、
図20に示すように、アプリケーションファイル33c
に構築されるCADデータベースに格納されている。具
体的には、図記号名、コメント、PLC関連アドレスな
どが格納されている。PLC関連アドレスは、PLC2
に接続される押しボタンスイッチやパイロットランプな
どの機器に割り付けられるアドレスである。図記号名
は、CADソフトで作成される上記の図における押しボ
タンスイッチやパイロットランプなどに付与される記号
名である。この図記号名は、上記のアドレスに対応付け
られ、押しボタンスイッチやパイロットランプなどのア
ドレスをラダー記号やマークに割り付ける際にアドレス
の代わりに用いられる変数と同一に設定されている。コ
メントは、機器の動作状態などを示すために設けられ
る。
The data to be imported into the ladder file 33a and the drawing file 33b at the time of the above processing are as follows:
As shown in FIG. 20, the application file 33c
Is stored in a CAD database constructed at the same time. Specifically, a symbol name, a comment, a PLC-related address, and the like are stored. PLC related address is PLC2
The address is assigned to a device such as a push button switch or a pilot lamp connected to the device. The figure symbol name is a symbol name given to a push button switch, a pilot lamp, or the like in the above-described figures created by CAD software. This graphic symbol name is associated with the above address, and is set to be the same as a variable used instead of an address when assigning an address such as a push button switch or a pilot lamp to a ladder symbol or mark. The comment is provided to indicate an operation state or the like of the device.

【0126】上記のCADデータベースにおいては、図
記号名および変数を同一に設定することによって、図記
号名(名称)とPLC関連アドレス(アドレス)とを属
性データ(図6(a)および(b)参照)として扱うこ
とができる。これにより、ラダーエディタ32aおよび
作画エディタ32bは、図記号名を変数としてラダー記
号L1 ・L2 およびマークMと併せて表示する。また、
作画エディタ32bは、「運転」というコメントをマー
クM上に表示する。
In the CAD database, by setting the symbol names and variables to be the same, the symbol names (names) and the PLC-related addresses (addresses) are attributed to the attribute data (FIGS. 6A and 6B). See). Thus, the ladder editor 32a and the drawing editor 32b display the graphic symbol names as variables together with the ladder symbols L 1 and L 2 and the mark M. Also,
The drawing editor 32b displays a comment “driving” on the mark M.

【0127】ここで、第3の表示/制御システムでは、
図9に示すように、エディタ機能およびPLC機能を有
するコンピュータ装置3がオープンネットワーク8に接
続されているので、コンピュータ装置3におけるデータ
ベースと、このようなオープンネットワーク8に接続さ
れた他のシステムA〜Cなどにおけるデータベースとの
間でラダー記号およびマークに関する属性データをネッ
トワーク経由でやり取りすることができる。また、コン
ピュータ装置3とネットワークを介しての遠隔地のシス
テムとの間で同じデータベースを共有することが可能に
なる。
Here, in the third display / control system,
As shown in FIG. 9, since the computer device 3 having the editor function and the PLC function is connected to the open network 8, the database in the computer device 3 and the other systems A to Attribute data on ladder symbols and marks can be exchanged with a database such as C via a network. In addition, the same database can be shared between the computer device 3 and a remote system via a network.

【0128】第2の表示/制御システムにおいても、プ
ログラマブル表示器1がオープンネットワーク8に接続
可能なインターフェースを備えていれば、プログラマブ
ル表示器1を図21(a)に示すようにオープンネット
ワーク8を介してコンピュータ装置3や他のシステムA
〜Cなどと接続することができる。また、第1の表示/
制御システムの場合、第2の表示/制御システムと同様
にしてプログラマブル表示器1をオープンネットワーク
8に接続することができるが、プログラマブル表示器1
とPLC2との間の通信では、PLC2のメーカ毎に異
なる通信プロトコルに対応する必要がある。このため、
本願出願人が先に出願した特願平10−117117号
に記載されているように、オープンネットワーク8での
通信に用いられる共通の通信プロトコルと、PLC2の
機種に応じた通信プロトコルとを相互に変換する機能を
プログラマブル表示器1に備えさせる。
In the second display / control system, if the programmable display 1 has an interface connectable to the open network 8, the programmable display 1 is connected to the open network 8 as shown in FIG. Computer device 3 or other system A via
To C or the like. In addition, the first display /
In the case of a control system, the programmable display 1 can be connected to the open network 8 in the same manner as in the second display / control system.
In the communication between the PLC 2 and the PLC 2, it is necessary to support different communication protocols for each manufacturer of the PLC 2. For this reason,
As described in Japanese Patent Application No. 10-117117 previously filed by the present applicant, a common communication protocol used for communication on the open network 8 and a communication protocol corresponding to the model of the PLC 2 are mutually exchanged. A function for conversion is provided in the programmable display 1.

【0129】しかも、1つのユーザプログラムに対して
異なるパターンの複数のユーザ画面を作成する場合や、
第1の表示/制御システムにおいて1台のプログラマブ
ル表示器1に複数のPLC2を接続する場合でも、デー
タベース間でのデータの複写によって、一対多のデータ
ベース間のリンクを容易に実現することができる。
In addition, when a plurality of user screens having different patterns are created for one user program,
Even when a plurality of PLCs 2 are connected to one programmable display 1 in the first display / control system, a link between one-to-many databases can be easily realized by copying data between databases.

【0130】また、本実施の形態では、ラダーウインド
ウと作画ウインドウとが同一のディスプレイに表示され
る例について説明したが、ラダーウインドウと作画ウイ
ンドウとがネットワークを介した異なる機器のデータベ
ースを基に表示される場合も本発明の適用が可能であ
る。
Further, in the present embodiment, an example has been described in which the ladder window and the drawing window are displayed on the same display. However, the ladder window and the drawing window are displayed based on databases of different devices via a network. In this case, the present invention can be applied.

【0131】具体的には、図21(a)に示すように、
第1の表示/制御システムにおけるPLC2にダウンロ
ードされたユーザプログラムが格納されているデータベ
ースDB1 と、第2の表示/制御システムにおけるプロ
グラマブル表示器1にダウンロードされたユーザ画面が
格納されているデータベースDB2 との間でデータがや
り取りされる。この場合、コンピュータ装置3において
は、図21(b)に示すように、ラダーウインドウ32
1 に表示されるデータベースDB1 におけるユーザプ
ログラムと、作画ウインドウ32b1 に表示されるデー
タベースDB2におけるユーザ画面との間でドラッグ&
ドロップによってラダー記号およびマークの自動生成を
行うことができる。したがって、すでにPLC2にダウ
ンロードされたユーザプログラムと、プログラマブル表
示器1にダウンロードされたユーザ画面との間でも編集
や修正を容易に行うことができる。
More specifically, as shown in FIG.
A database DB 1 storing the user program downloaded to the PLC 2 in the first display / control system, and a database DB storing the user screen downloaded to the programmable display 1 in the second display / control system Data is exchanged between the two . In this case, in the computer device 3, as shown in FIG.
a user program in the database DB 1 which is displayed on a 1, drag between the user screen in the database DB 2 to be displayed on the drawing window 32 b 1 &
Ladder symbols and marks can be automatically generated by dropping. Therefore, editing and correction can be easily performed between the user program already downloaded to the PLC 2 and the user screen downloaded to the programmable display 1.

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

【0133】[0133]

【発明の効果】以上のように、本発明のエディタ装置
は、いずれか一方の第1または第2エディタ画面上で入
力したデータに関して該エディタ画面上に表示されてい
る画像ブロックを選択し、かつ他方のエディタ画面上へ
複写させる操作に応じて、表示内容プログラムと制御手
順プログラムとの間で共通するデータを、上記表示内容
プログラムを格納する表示内容プログラムファイルと上
記制御手順プログラムを格納する制御手順プログラムフ
ァイルとの間で複写するデータ複写手段を含んでいる構
成である。
As described above, the editor apparatus of the present invention selects an image block displayed on one of the first and second editor screens with respect to data input on the editor screen, and In accordance with an operation of copying on the other editor screen, data common to the display content program and the control procedure program is stored in a display content program file for storing the display content program and a control procedure for storing the control procedure program. The configuration includes data copying means for copying data to and from a program file.

【0134】これによって、一方のファイルに格納され
たデータが他方のファイルに複写されるので、両ファイ
ルの間で共通のデータベースを作成することができる。
その結果、両エディタ手段に共通のデータベースを作成
する必要がなくなる。しかも、両エディタ手段によるデ
ータの重複入力を避けることができる。したがって、入
力操作の簡素化を図りつつ、データベースを効率的に利
用することができるという効果を奏する。
As a result, the data stored in one file is copied to the other file, so that a common database can be created between the two files.
As a result, there is no need to create a common database for both editors. In addition, it is possible to avoid duplicate data input by both editors. Therefore, there is an effect that the database can be used efficiently while simplifying the input operation.

【0135】上記のエディタ装置においては、上記第1
エディタ手段が、上記第1エディタ画面に上記制御対象
機器およびそれらの状態を画像ブロックとして描画する
一方、上記第2エディタ手段が、上記第2エディタ画面
に上記制御対象機器に対応する制御動作を表す複数のシ
ンボルを画像ブロックとして描画し、両エディタ手段
が、各制御対象機器を特定する属性データを入力し、上
記データ複写手段が、いずれか一方の上記第1または第
2エディタ画面上で選択された上記画像ブロックに付随
する属性データを上記両ファイル間で複写するととも
に、複写先のファイルに対応する他方のエディタ手段
に、複写された属性データを参照することによって、選
択された画像ブロックに対応する制御対象機器と同一の
制御対象機器についての画像ブロックを自動的に描画さ
せる。
In the above editor device, the first
Editor means draws the controlled devices and their states as image blocks on the first editor screen, while the second editor means displays control operations corresponding to the controlled devices on the second editor screen. A plurality of symbols are drawn as image blocks, the two editors input attribute data specifying each control target device, and the data copying unit is selected on one of the first or second editor screens. The attribute data associated with the selected image block is copied between the two files, and the other editor means corresponding to the copy destination file refers to the copied attribute data. Automatically draws an image block for the same controlled device as the controlled device to be controlled.

【0136】これによって、先に一方のエディタ手段で
作成された画像ブロックと、それらに付随する属性デー
タとに基づいて、他方のエディタ手段での画像ブロック
の作成および属性データの複写が行われるので、他方の
エディタ手段による画像ブロックの作成が容易になると
ともに、属性データの入力が不要になる。したがって、
表示内容プログラムおよび制御手順プログラムの作成効
率を向上させることができるという効果を奏する。
Thus, based on the image block previously created by one editor means and the attribute data associated therewith, the other editor means creates the image block and copies the attribute data. In addition, the image block can be easily created by the other editor means, and input of attribute data is not required. Therefore,
It is possible to improve the efficiency of creating the display content program and the control procedure program.

【0137】また、このエディタ装置において、上記デ
ータ複写手段は、画像ブロックの選択および複写の操作
に先立って上記属性データ複写する。これによって、す
でに作成されたプログラムに基づいて他方のプログラム
を作成する場合、画像ブロックの描画に先立って予め属
性データが一括して複写されたり、両プログラムを並行
して作成する場合、一方のエディタ画面上で画像ブロッ
クが作成される毎に属性データが逐次複写されたりす
る。したがって、プログラムの作成形態に応じて画像ブ
ロックの描画を効率的に行うことができるという効果を
奏する。
Further, in this editor device, the data copying means copies the attribute data before selecting and copying an image block. Thus, when the other program is created based on the already created program, the attribute data is collectively copied in advance before drawing the image block, or when both programs are created in parallel, one editor is used. Each time an image block is created on the screen, attribute data is sequentially copied. Therefore, there is an effect that the image block can be efficiently drawn according to the form of creating the program.

【0138】上記のいずれかの構成のエディタ装置は、
上記データ複写手段が、アプリケーションプログラムの
操作入力画面で入力したデータに関して該操作画面上に
表示される画像ブロックを選択し、かつ上記第1または
第2エディタ画面上へ複写させる操作に応じて、上記表
示内容プログラムまたは上記制御手順プログラムと上記
アプリケーションプログラムのデータとの間で共通する
データを、上記表示内容プログラムファイルまたは上記
制御手順プログラムファイルに複写するので、表示内容
プログラムファイルまたは制御手順プログラムファイル
は、アプリケーションプログラムのデータを取り込むこ
とができる。したがって、両プログラムファイルに構築
されたデータベース以外のデータベースを利用すること
によって、プログラム開発をより効率的に行うことがで
きるとともに、プログラム開発をより広いシステム開発
の一部として取り込むことができるという効果を奏す
る。
An editor device having any one of the above structures is
The data copying means selects an image block displayed on the operation screen with respect to data input on the operation input screen of the application program, and responds to the operation of copying the image block onto the first or second editor screen. Since data common to the display content program or the control procedure program and the data of the application program is copied to the display content program file or the control procedure program file, the display content program file or the control procedure program file is Data of application programs can be captured. Therefore, by using a database other than the database constructed in both program files, program development can be performed more efficiently, and program development can be incorporated as part of wider system development. Play.

【0139】上記のいずれかの構成のエディタ装置は、
ネットワークを介して上記表示/制御システムと異なる
システムに接続されており、上記データ複写手段が上記
両ファイルと上記システムとの間でデータを複写するの
で、システムから直接上記両ファイルのいずれか一方に
属性データが複写される。したがって、外部システムと
のデータの共有を容易に実現することができるという効
果を奏する。
The editor device having any one of the above structures
It is connected to a system different from the display / control system via a network, and the data copying means copies data between the two files and the system. The attribute data is copied. Therefore, there is an effect that the data can be easily shared with the external system.

【0140】本発明のエディタプログラムが記録された
記録媒体は、エディタプログラムが、表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、制御手順プログラムを第2エディ
タ画面上での入力操作に応じて作成するための第2エデ
ィタ処理と、いずれか一方の第1または第2エディタ画
面上で入力したデータに関して該エディタ画面上に表示
されている画像ブロックを選択し、かつ他方のエディタ
画面上へ複写させる操作に応じて、表示内容プログラム
と制御手順プログラムとの間で共通するデータを、上記
表示内容プログラムを格納する表示内容プログラムファ
イルと上記制御手順プログラムを格納する制御手順プロ
グラムファイルとの間で複写するデータ複写処理とを含
んでいる構成である。
The recording medium on which the editor program of the present invention is recorded is characterized in that the editor program executes a first editor process for creating a display content program in response to an input operation on a first editor screen, and a second control procedure program. A second editor process for creating in accordance with an input operation on the editor screen, and selecting an image block displayed on the editor screen with respect to data input on one of the first or second editor screens And stores the common data between the display content program and the control procedure program in the display content program file and the control procedure program in which the display content program is stored in accordance with the operation of copying the data to the other editor screen. And a data copy process for copying between the control procedure program file to be executed. .

【0141】これによって、本発明のエディタ装置と同
様、第2エディタ画面上での画像ブロックの選択および
それを第1エディタ画面へ複写させる操作に応じて、両
プログラムの間で共通するデータが、両ファイルの間で
複写される。それゆえ、両ファイルの間で共通のデータ
ベースが作成される結果、両エディタ処理に共通のデー
タベースを作成する必要がなくなるだけでなく、両エデ
ィタ処理によるデータの重複入力を避けることができ
る。したがって、入力操作の簡素化を図りつつ、データ
ベースを効率的に利用することができるという効果を奏
する。
Thus, similarly to the editor device of the present invention, data common to both programs is changed according to the selection of an image block on the second editor screen and the operation of copying it to the first editor screen. Copied between both files. Therefore, as a result of creating a common database between the two files, it is not necessary to create a common database for both editor processes, and it is also possible to avoid duplicate input of data by both editor processes. Therefore, there is an effect that the database can be used efficiently while simplifying the input operation.

【0142】本発明のエディタプログラムが記録された
他の記録媒体は、エディタプログラムが、表示内容プロ
グラムを第1エディタ画面上での入力操作に応じて作成
する第1エディタ処理または制御手順プログラムを第2
エディタ画面上での入力操作に応じて作成するための第
2エディタ処理のいずれか一方と、上記データ複写処理
とを含んでいる構成である。
In another recording medium on which the editor program of the present invention is recorded, the editor program includes a first editor processing or control procedure program for creating a display content program in response to an input operation on the first editor screen. 2
The configuration includes one of the second editor processes for creating in response to an input operation on the editor screen and the data copying process.

【0143】これによって、前記の記録媒体と同様、両
エディタ処理に共通のデータベースの作成を不要にする
とともに、両エディタ処理によるデータの重複入力を避
けることができる。さらに、この記録媒体によれば、エ
ディタプログラムが第1または第2エディタ処理のいず
れか一方とデータ複写処理とを含んでいるので、第1エ
ディタ処理と第2エディタ処理とが独立したエディタプ
ログラムに含まれているような形態であっても本発明を
適用することができる。
Thus, similarly to the recording medium described above, it is not necessary to create a database common to both editor processes, and it is possible to avoid data duplication by both editor processes. Further, according to this recording medium, the editor program includes either the first or second editor process and the data copying process, so that the first editor process and the second editor process are independent editor programs. The present invention can be applied to such a form.

【0144】上記の両記録媒体は、上記第1エディタ処
理が、上記第1エディタ画面に上記制御対象機器および
それらの状態を画像ブロックとして描画する一方、上記
第2エディタ処理が、上記第2エディタ画面に上記制御
対象機器に対応する制御動作を表す複数のシンボルを画
像ブロックとして描画し、両エディタ処理が、各制御対
象機器を特定する属性データを入力し、上記データ複写
処理が、いずれか一方の上記第1または第2エディタ画
面上で選択された上記画像ブロックに付随する属性デー
タを上記両ファイル間で複写するとともに、複写先のフ
ァイルに対応する他方のエディタ処理に、複写された属
性データを参照することによって、選択された画像ブロ
ックに対応する制御対象機器と同一の制御対象機器につ
いての画像ブロックを自動的に描画させる。
In the above two recording media, the first editor process draws the controlled devices and their states as image blocks on the first editor screen, while the second editor process executes the second editor process. A plurality of symbols representing control operations corresponding to the control target device are drawn on the screen as image blocks, the two editor processes input attribute data specifying each control target device, and the data copy process performs one of the processes. The attribute data associated with the image block selected on the first or second editor screen is copied between the two files, and the attribute data copied to the other editor process corresponding to the copy destination file is copied. By referring to the image block of the same control target device as the control target device corresponding to the selected image block. It is allowed to automatically drawn.

【0145】これによって、前述のエディタ装置と同
様、他方のエディタ処理による画像ブロックの作成が容
易になるとともに、属性データの入力が不要になる。し
たがって、表示内容プログラムおよび制御手順プログラ
ムの作成効率を向上させることができるという効果を奏
する。
As a result, similarly to the above-described editor device, it is easy to create an image block by the other editor process, and it is not necessary to input attribute data. Therefore, there is an effect that the creation efficiency of the display content program and the control procedure program can be improved.

【0146】また、上記両記録媒体では、上記データ複
写処理が、画像ブロックの選択および複写の操作に先立
って上記属性データを複写するので、前述のエディタ装
置と同様、画像ブロックの描画に先立って予め属性デー
タが一括して複写されたり、画像ブロックの描画される
毎に先立って属性データが逐次複写されたりする。した
がって、プログラムの作成形態に応じて画像ブロックの
描画を効率的に行うことができるという効果を奏する。
In both recording media, the data copying process copies the attribute data prior to the selection and copying operation of the image block. Therefore, similar to the above-described editor device, the data copying process is performed prior to the drawing of the image block. The attribute data is copied in advance in a lump, or the attribute data is successively copied before each drawing of the image block. Therefore, there is an effect that the image block can be efficiently drawn according to the form of creating the program.

【0147】あるいは、上記両記録媒体では、上記デー
タ複写処理が、アプリケーションプログラムの操作入力
画面で入力したデータに関して該操作画面上に表示され
る画像ブロックを選択し、かつ上記第1または第2エデ
ィタ画面上へ複写させる操作に応じて、上記表示内容プ
ログラムまたは上記制御手順プログラムと上記アプリケ
ーションプログラムのデータとの間で共通するデータ
を、上記表示内容プログラムファイルまたは上記制御手
順プログラムファイルに複写するので、前述のエディタ
装置と同様、表示内容プログラムファイルまたは制御手
順プログラムファイルは、アプリケーションプログラム
のデータを取り込むことができる。したがって、両プロ
グラムファイルに構築されたデータベース以外のデータ
ベースを利用することによって、プログラム開発をより
効率的に行うことができるとともに、プログラム開発を
より広いシステム開発の一部として取り込むことができ
るという効果を奏する。
Alternatively, in the two recording media, the data copying process selects an image block displayed on the operation screen with respect to data input on the operation input screen of the application program, and executes the first or second editor. According to the operation of copying on the screen, data common to the display content program or the control procedure program and the data of the application program is copied to the display content program file or the control procedure program file. As with the above-described editor device, the display content program file or the control procedure program file can capture data of the application program. Therefore, by using a database other than the database constructed in both program files, program development can be performed more efficiently, and program development can be incorporated as part of wider system development. Play.

【図面の簡単な説明】[Brief description of the 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 a 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 device.

【図5】(a)ないし(c)は、それぞれ第1ないし第
3の表示/制御システムにおけるコンピュータ装置で実
行される属性データの複写のために用いられるデータ構
造、このデータ構造におけるオブジェクトタイプおよび
上記データ構造におけるアドレス情報を示す説明図であ
る。
FIGS. 5A to 5C are data structures used for copying attribute data executed by a computer device in each of the first to third display / control systems, an object type in the data structure, and FIGS. FIG. 3 is an explanatory diagram showing address information in the data structure.

【図6】(a)および(b)はそれぞれ上記コンピュー
タ装置において形成されるラダーファイルおよび画面フ
ァイルを示す説明図である。
FIGS. 6A and 6B are explanatory diagrams showing a ladder file and a screen file formed in the computer device, respectively.

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

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

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

【図10】上記第1ないし第3の表示/制御システムに
おけるコンピュータ装置で実行されるエディタ処理の手
順を示すフローチャートである。
FIG. 10 is a flowchart showing a procedure of an editor process executed by a computer device in the first to third display / control systems.

【図11】上記エディタ処理において先に実行されるプ
ログラミング処理の手順を示すフローチャートである。
FIG. 11 is a flowchart showing a procedure of a programming process executed first in the editor process.

【図12】図11のプログラミング処理の後に実行され
る作画処理の手順を示すフローチャートである。
FIG. 12 is a flowchart illustrating a procedure of a drawing process executed after the programming process of FIG. 11;

【図13】上記エディタ処理において先に実行される作
画処理の手順を示すフローチャートである。
FIG. 13 is a flowchart showing a procedure of a drawing process executed first in the editor process.

【図14】図13の作画処理の後に実行されるプログラ
ミング処理の手順を示すフローチャートである。
FIG. 14 is a flowchart illustrating a procedure of a programming process executed after the drawing process of FIG. 13;

【図15】(a)ないし(d)は図12の手順の具体例
を示す説明図である。
FIGS. 15A to 15D are explanatory diagrams showing specific examples of the procedure in FIG.

【図16】図12の手順にしたがって実行される属性デ
ータの複写の具体的な形態を示す説明図である。
FIG. 16 is an explanatory diagram showing a specific form of copying attribute data executed according to the procedure of FIG. 12;

【図17】(a)ないし(c)は図14の手順の具体例
を示す説明図である。
FIGS. 17A to 17C are explanatory diagrams showing specific examples of the procedure in FIG.

【図18】図14の手順にしたがって実行される属性デ
ータの複写の具体的な形態を示す説明図である。
FIG. 18 is an explanatory diagram showing a specific form of copying attribute data executed according to the procedure of FIG. 14;

【図19】(a)はCADソフトのデータを用いてラダ
ーエディタでラダー記号を自動生成する例を示す説明図
であり、(b)はCADソフトのデータを用いて作画エ
ディタでマークを自動生成する例を示す説明図である。
FIG. 19A is an explanatory view showing an example of automatically generating a ladder symbol by using a ladder editor using data of CAD software, and FIG. 19B is a diagram for automatically generating marks by using a drawing editor using data of CAD software; FIG. 6 is an explanatory diagram showing an example of performing

【図20】上記CADソフトのデータを保存するCAD
データベースの構成を示す説明図である。
FIG. 20 is a CAD for storing the data of the CAD software.
FIG. 3 is an explanatory diagram illustrating a configuration of a database.

【図21】(a)は他のシステムとオープンネットワー
クを介して接続された第1ないし第3の表示/制御シス
テムを示すブロック図であり、(b)はオープンネット
ワークに接続されるコンピュータ装置において、異なる
システムのデータベースを用いてラダー記号およびマー
クの自動生成を行う例を示す説明図である。
FIG. 21A is a block diagram showing first to third display / control systems connected to another system via an open network, and FIG. 21B is a block diagram showing a computer device connected to the open network; FIG. 14 is an explanatory diagram showing an example in which ladder symbols and marks are automatically generated using databases of different systems.

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

1 プログラマブル表示器(表示機能部) 2 PLC(制御機能部) 3 コンピュータ装置(表示機能部、制御
機能部) 4 入出力機器(制御対象機器) 5 記録媒体 8 オープンネットワーク(ネットワー
ク) 32a ラダーエディタ(第1エディタ手
段) 32a1 ラダーウインドウ(第1エディタ画
面) 32b 作画エディタ(第2エディタ手段) 32c アプリケーション(アプリケーショ
ンプログラム) 32b1 作画ウインドウ(第2エディタ画
面) 32c1 CADウインドウ(操作入力画面) 32d 複写機能部(データ複写手段) 33a ラダーファイル(制御手順プログラ
ムファイル) 33b 画面ファイル(表示内容プログラム
ファイル) 33c アプリケーションファイル A〜C システム DB1 ・DB2 データベース L・L′ ラダー記号(画像ブロック、シンボ
ル) M マーク(画像ブロック)
DESCRIPTION OF SYMBOLS 1 Programmable display (display function part) 2 PLC (control function part) 3 Computer device (display function part, control function part) 4 Input / output equipment (control target equipment) 5 Recording medium 8 Open network (network) 32a Ladder editor ( First editor means) 32a 1 Ladder window (first editor screen) 32b Drawing editor (second editor means) 32c Application (application program) 32b 1 Drawing window (second editor screen) 32c 1 CAD window (operation input screen) 32d copying function unit (data copying means) 33a ladder file (control procedure program file) 33b screen file (display content program file) 33c application file A~C system DB 1 · DB 2 database L · L 'La Over symbol (image block, symbol) M mark (image block)

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成12年11月13日(2000.11.
13)
[Submission date] November 13, 2000 (200.11.
13)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】全文[Correction target item name] Full text

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【書類名】 明細書[Document Name] Statement

【発明の名称】 エディタ装置およびエディタプログラ
ムを記録した記録媒体
Patent application title: Editor device and recording medium recording editor program

【特許請求の範囲】[Claims]

【発明の詳細な説明】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. 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 includes a hardware portion mainly including a CPU and a memory for realizing various controls including a sequence control. And a software part for controlling. The software portion includes designing a sequence control flow for operating the PLC according to the control system originally designed, converting the control flow into a command, writing the command to 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言
語である。
[0003] In such programming, a proprietary 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 a user to use have been developed one after another. It became so. Currently, IEC (International Elect
The Rotechnical Commission) has established a standard programming language (IEC 61131-3). They are SFC (Sequential Function Chart), LD (Ladde
r Diagram), IL (Instruction List), FBD (Functio
n Block Diagram) and ST (Structured Text).

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

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

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

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

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

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

【0010】しかしながら、このような方法では、表示
内容プログラムの作成のための入力作業が制御手順プロ
グラムの作成のための入力作業と別途必要であるので、
多大な時間と労力とを要する。また、一方のプログラム
に対応する設計資料を参照しながら他方のプログラムを
作成するので、他方のプログラムの作成時に誤入力が生
じるおそれがあり、誤入力によってプログラムのデバッ
グ作業が困難になる。さらに、作成されたプログラムに
対応する設計資料を予め用意しなければならず、これに
よって作業効率が低下するという不都合がある。
However, in such a method, an input operation for creating a display content program is required separately from an input operation for creating a control procedure program.
It takes a lot of time and effort. Further, since the other program is created while referring to the design data corresponding to the one program, an erroneous input may occur when the other program is created, and the erroneous input makes it difficult to debug the program. Further, design data corresponding to the created program must be prepared in advance, which causes a disadvantage that work efficiency is reduced.

【0011】このような不都合を解消するためになされ
た発明として、特開平11−175326号公報には、
ラダー図を作成するラダーエディタと画面を作成する作
画エディタとの間でラダーシンボルと画面に配置される
マークとを対応付けるエディタ装置が開示されている。
このエディタ装置では、例えば、ラダー図のシンボルを
作画エディタの作画ウインドウにドラッグ&ドロップす
ることによって、1つのシンボルおよびこのシンボルに
対応する少なくとも1つのマークについて共通する制御
対象機器の名称およびアドレスを含む属性データが共通
データベースに蓄えられるとともに、その属性データを
参照して作画ウインドウにドラッグされた上記のシンボ
ルに対応するマークが表示される。
[0011] As an invention made to solve such inconvenience, Japanese Patent Application Laid-Open No. 11-175326 discloses an invention.
An editor device that associates a ladder symbol with a mark arranged on a screen between a ladder editor for creating a ladder diagram and a drawing editor for creating a screen is disclosed.
In this editor device, for example, by dragging and dropping a ladder diagram symbol onto a drawing window of a drawing editor, the name and address of a control target device common to one symbol and at least one mark corresponding to this symbol are included. The attribute data is stored in the common database, and a mark corresponding to the symbol dragged to the drawing window is displayed with reference to the attribute data.

【0012】[0012]

【発明が解決しようとする課題】ところが、上記公報に
開示されたエディタ装置では、データの共通化を図るこ
とによって、ラダーエディタと作画エディタとで重複す
るデータの再入力を避けることができるものの、属性デ
ータを蓄えるための共通データベースを、ラダーエディ
タ用のラダーファイルおよび作画エディタ用の画面ファ
イルと別途設ける必要がある。しかも、作成されたラダ
ー図(ユーザプログラム)および画面(ユーザ画面)
を、最終的にそれぞれラダーファイルおよび画面ファイ
ルに登録する際に、両ファイルにも上記の属性データが
格納されるため、さらに属性データが重複して登録され
ることになる。また、属性データが共通データベースか
らラダーファイルまたは画面ファイルに複写されるた
め、外部システムのデータをラダーファイルおよび画面
ファイルと共有させる場合、そのシステムからのデータ
を共通データベースに複写してから、さらにラダーファ
イルおよび画面ファイルに複写するという手順を経る必
要がある。
However, in the editor apparatus disclosed in the above-mentioned publication, although the data is shared, it is possible to avoid re-input of duplicate data between the ladder editor and the drawing editor. It is necessary to provide a common database for storing attribute data separately from the ladder file for the ladder editor and the screen file for the drawing editor. Moreover, the created ladder diagram (user program) and screen (user screen)
Is finally registered in the ladder file and the screen file, respectively, because the attribute data described above is stored in both the files. Also, since attribute data is copied from the common database to the ladder file or screen file, when sharing data from an external system with the ladder file and screen file, copy the data from that system to the common database and then It is necessary to go through the procedure of copying to a file and a screen file.

【0013】このように、従来のエディタ装置では、デ
ータベースの効率的な利用が図られていないという不都
合がある。
As described above, the conventional editor apparatus has a disadvantage that the database is not efficiently used.

【0014】本発明は、上記の事情に鑑みてなされたも
のであって、データの重複入力を避けることができると
いう従来のエディタ装置が備える操作性を維持しなが
ら、データベースを効率的に利用し、さらには、外部シ
ステムとのデータの共有を容易に実現することができる
エディタ装置およびエディタプログラムを記録した記録
媒体を提供することを目的としている。
The present invention has been made in view of the above circumstances, and uses a database efficiently while maintaining the operability of a conventional editor device, which can avoid duplication of data. Still another object of the present invention is to provide an editor device and a recording medium on which an editor program is recorded, which can easily realize data sharing with an external system.

【0015】[0015]

【課題を解決するための手段】本発明のエディタ装置
は、制御対象機器の状態を表示する表示内容を定めるた
めの表示内容プログラムを作成する第1エディタ手段
と、上記制御対象機器を制御する制御手順を定めるため
の制御手順プログラムを作成する第2エディタ手段と、
上記表示内容プログラムを格納する表示内容プログラム
ファイルと上記制御手順プログラムを格納する制御手順
プログラムファイルとの間で上記両プログラムに共通す
るデータを複写するデータ複写手段とを備えたエディタ
装置であって、上記の課題を解決するために、上記デー
タ複写手段が、上記データを一括して複写することを特
徴としている。
According to the present invention, there is provided an editor apparatus for determining display contents for displaying a state of a device to be controlled .
Editor means for creating a display content program for display
And the control procedure for controlling the control target device
Second editor means for creating a control procedure program of
Display contents program that stores the above display contents program
A control procedure that stores a file and the above control procedure program
Common to both programs with the program file
That data A editor apparatus that includes a data copying means for copying, in order to solve the above problems, the above data
Data copying means collectively copies the data .

【0016】上記の構成では、第1エディタ手段によっ
て作成された表示内容プログラムが表示内容プログラム
ファイルに格納され、第2エディタ手段によって作成さ
れた制御手順プログラムが制御手順プログラムファイル
に格納されている。また、第1エディタ手段の操作によ
る表示内容プログラムの作成後または表示内容プログラ
ムの作成時に、第2エディタ手段の操作によって制御手
順プログラムを作成する場合、データ複写手段によっ
、両プログラムの間で共通するデータが、両ファイル
の間で複写される。一方、第2エディタ手段の操作によ
る制御手順プログラムの作成後または制御手順プログラ
ムの作成時に、第1エディタ手段の操作による表示内容
プログラムを作成する場合、データ複写手段によって
プログラムの間で共通するデータが、両ファイルの間
で複写される。
In the above arrangement, the display content program created by the first editor is stored in the display content program file, and the control procedure program created by the second editor is stored in the control procedure program file. When the control procedure program is created by operating the second editor means after the creation of the display content program by the operation of the first editor means or at the time of creating the display content program, the data copying means makes a common use between the two programs. Data is copied between both files. On the other hand, the operation when creating the control procedure program after creating or control procedure program by the second editor means, when creating the display content program by the operation of the first editor means, the data copying means,
Data common to both programs is copied between both files.

【0017】このように、一方のファイルに格納された
データが他方のファイルに複写されるので、両ファイル
の間で共通のデータベースを作成することができる。そ
の結果、両エディタ手段に共通のデータベースを作成す
る必要がなくなる。しかも、両エディタ手段によるデー
タの重複入力を避けることができる。さらに、データを
一括して複写することによって、処理効率の向上が可能
になる。
[0017] Thus, since the data stored in the hand of the file is copied to the other files, it is possible to create a common database between the two files. As a result, there is no need to create a common database for both editors. In addition, it is possible to avoid duplicate data input by both editors. In addition, the data
Improve processing efficiency by batch copying
become.

【0018】上記のエディタ装置においては、上記デー
タが複写されたいずれか一方の上記ファイルに対応する
上記第1または第2エディタ手段、複写された上記
ータを参照することによって、上記データに関連する画
像ブロックを表示することが好ましい。
[0018] In the above editor apparatus, the first or second editor means corresponding to one of said file which the data <br/> data is copied is replicated above de <br/> over By referring to the data,
Preferably, an image block is displayed .

【0019】上記の構成では、データ複写手段によっ
、データが表示内容プログラムファイルから制御手順
プログラムファイルに複写される際に、第2エディタ手
段が、複写されたデータを参照することで、そのデータ
に関連する画像ブロックを表示する。一方、データ複写
手段によって、データが制御手順プログラムファイルか
ら表示内容プログラムファイルに複写される際に、第1
エディタ手段が、複写されたデータを参照することで、
そのデータに関連する画像ブロックを表示する。それゆ
え、データの複写と併せて画像ブロックを表示すること
ができる。
[0019] In the above configuration, the data copying means, when the data is copied to the control procedure program file from the display contents program file, the second editor means, referring to the copied data By that data
Display the image block associated with . On the other hand, the data copying means, when the data is copied to the display content program file from the control procedure program file, first
Editor means, by referring to the copied data,
Display the image block associated with the data . Soy sauce
Display image blocks along with data copying
Can be.

【0020】また、上記データ複写手段が、一方のエデ
ィタ手段のエディタ画面上に表示されている画像ブロッ
クを選択し、かつ他方のエディタ手段のエディタ画面上
に複写させる操作に先立って、上記データを複写するこ
とが好ましい。これにより、例えば、すでに作成された
プログラムに基づいて他方のプログラムを作成する場
合、予めデータを一括して複写した後に、マークまたは
シンボルが表示される。
Further, the data copying means is provided for one of the editors.
The image block displayed on the editor screen of the
Is selected, and on the editor screen of the other editor means
It is preferable to copy the data before the operation of copying the data . Thus, for example, to create the other program based on the previously created program, after copying collectively pre Me data, marks or symbols are displayed.

【0021】上記のいずれの構成のエディタ装置も、上
記データ複写手段が、上記表示内容プログラムまたは上
記制御手順プログラムとアプリケーションプログラムと
の間で共通するデータを、上記表示内容プログラムファ
イルまたは上記制御手順プログラムファイルに複写する
ことが好ましい。これによって、表示内容プログラムフ
ァイルまたは制御手順プログラムファイルは、CADな
どのアプリケーションプログラムのデータを取り込むこ
とができる。
[0021] Also editor apparatus of any of the above aspects of the invention, the above data copying means, the data common between the upper Symbol display content program or the control procedure program and application program, the display content program file or the Preferably, it is copied into a control procedure program file. Thus, the display content program file or the control procedure program file can capture data of an application program such as CAD.

【0022】上記のいずれの構成のエディタ装置も、ネ
ットワークを介して他のシステムに接続されており、上
記データ複写手段が上記両ファイルと上記システムとの
間でデータを複写することが好ましい。これによって、
システムから直接上記両ファイルのいずれか一方に属性
データを複写することができる。
It is preferable that any of the above-described editor devices is connected to another system via a network, and that the data copying means copy data between the two files and the system. by this,
The attribute data can be copied directly from the system to one of the two files.

【0023】本発明のエディタプログラムが記録された
記録媒体は、制御対象機器の状態を表示する表示内容を
定めるための表示内容プログラムを作成する第1エディ
タ処理と、上記制御対象機器を制御する制御手順を定め
るための制御手順プログラムを作成する第2エディタ処
理と、上記表示内容プログラムを格納する表示内容プロ
グラムファイルと上記制御手順プログラムを格納する制
御手順プログラムファイルとの間で上記両プログラムに
共通するデータを複写するデータ複写処理とを含むエデ
ィタプログラムが記録されたコンピュータ読み取り可能
な記録媒体であって、前記の課題を解決するために、
記データ複写処理が、上記データを一括して複写する
とを特徴としている。
The recording medium on which the editor program of the present invention is recorded has a display content for displaying the state of the device to be controlled.
The first editor that creates a display content program for defining
Data processing and a control procedure for controlling the above-mentioned controlled device.
Editor processing to create a control procedure program for
Display content program that stores the display content program
Program file and the above control procedure program
Control program file and both programs
A computer-readable recording medium in which the editor program is recorded comprising the data copying process for copying the common data, in order to solve the above problems, the upper
Serial data copying process is characterized and this <br/> copying collectively the data.

【0024】この記録媒体を用いると、データ複写処理
によって、本発明のエディタ装置と同様、両プログラム
の間で共通するデータが、一括して両ファイルの間で複
写される。それゆえ、両ファイルの間で共通のデータベ
ースが作成される結果、両エディタ処理に共通のデータ
ベースを作成する必要がなくなる。しかも、両エディタ
処理によるデータの重複入力を避けることができる。
た、データを一括して複写することによって、処理効率
の向上が可能になる。
When this recording medium is used, data common to both programs is collectively copied between both files by a data copying process, similarly to the editor device of the present invention. Therefore, as a result of creating a common database between the two files, there is no need to create a common database for both editor processes. In addition, it is possible to avoid duplicate input of data by both editor processes. Ma
In addition, processing efficiency can be improved by copying
Can be improved.

【0025】本発明のエディタプログラムが記録された
他の記録媒体は、制御対象機器の状態を表示する表示
容を定めるための表示内容プログラムを作成する第1エ
ディタ処理または上記制御対象機器を制御する制御手順
を定めるための制御手順プログラムを作成する第2エデ
ィタ処理のいずれか一方と、上記表示内容プログラムを
格納する表示内容プログラムファイルと上記制御手順プ
ログラムを格納する制御手順プログラムファイルとの間
で上記両プログラムに共通するデータを複写するデータ
複写処理とを含むエディタプログラムが記録されたコン
ピュータ読み取り可能な記録媒体であって、前記の課題
を解決するために、上記データ複写処理が、上記データ
を一括して複写することを特徴としている。
The other recording medium on which the editor program of the present invention is recorded has a display for displaying the state of the device to be controlled .
First step of creating a display content program to determine the content
Data processing or control procedure to control the above controlled equipment
Editor to create a control procedure program to determine
Data processing and the display content program
Display content program file to be stored and the above
Between the control procedure program file that stores the program
Data to copy data common to both programs
A computer-readable recording medium in which the editor program is recorded including the copying process, in order to solve the above problems, the data copying processing, the data
Are collectively copied .

【0026】この記録媒体を用いれば、前記の記録媒体
と同様、データ複写処理によって、両プログラムの間で
共通するデータが両ファイルの間で一括して複写される
ので、両エディタ処理に共通のデータベースの作成を不
要にするとともに、両エディタ処理によるデータの重複
入力を避けることができる。また、データを一括して複
写することによって、処理効率の向上が可能になる。
らに、この記録媒体によれば、第1または第2エディタ
処理のいずれか一方とデータ複写処理とを含んでいる2
種類のエディタプログラム、すなわち第1または第2エ
ディタプログラムを提供することができる。
When this recording medium is used, similar to the above-mentioned recording medium, data common to both programs is collectively copied between both files by data copying processing. It is not necessary to create a database, and it is possible to avoid duplicate input of data by both editor processes. Also, collectively copy data
By copying, the processing efficiency can be improved. Further, according to this recording medium, one of the first and second editor processes and the data copy process are included.
A type of editor program can be provided, ie a first or a second editor program.

【0027】上記の両記録媒体は、上記第1エディタ処
理が、上記データが複写されたいずれか一方の上記ファ
イルに対応する上記第1または第2エディタ処理、複
写された上記データを参照することによって、上記デー
タに関連する画像ブロックを表示することが好ましい。
[0027] The above two recording media, the first editor process, the first or second editor processing corresponding to one of said file the data is copied is to see copied the data was By the above,
Preferably, the image blocks associated with the data are displayed .

【0028】このような記録媒体を用いれば、前述のエ
ディタ装置と同様、データ複写処理によって、第2エデ
ィタ処理が、複写されたデータを参照することで、その
データに関連する画像ブロックを表示する一方、第1エ
ディタ処理が、複写されたデータを参照することで、
のデータに関連する画像ブロックを表示する。それゆ
え、データの複写と併せて画像ブロックを表示すること
ができる。
[0028] By using such a recording medium, similarly to the above-described editor apparatus, the data copying processing, by the second editor process, refer to the copied data, the
While displaying the image blocks associated with the data, since the first editor process, refer to the copied data, its
Display the image block associated with the data of . Therefore, displaying image blocks in conjunction with copying data
Can be.

【0029】また、上記データ複写処理が、一方のエデ
ィタ処理のエディタ画面上に表示されている画像ブロッ
クを選択し、かつ他方のエディタ処理のエディタ画面上
に複写させる操作に先立って、上記データを複写する
とが好ましい。これにより、前述のエディタ装置と同
様、作成されたプログラムに基づいて他方のプログラム
を作成する場合、予めデータを一括して複写した後に、
マークまたはシンボルが表示される。
Further, the data copying process is performed by using one of the editors.
Image block displayed on the editor screen
On the editor screen of the other editor process
Prior to operation to copy the and this <br/> for copying the data is preferred. Thus, after the case of creating the other program, are collectively pre Me data copied on the basis of the same manner as described above editor apparatus, created programs,
A mark or symbol is displayed .

【0030】あるいは、上記データ複写処理が、上記表
示内容プログラムまたは上記制御手順プログラムとア
リケーションプログラムとの間で共通するデータを、上
記表示内容プログラムファイルまたは上記制御手順プロ
グラムファイルに複写することが好ましい。これによっ
て、前述のエディタ装置と同様、表示内容プログラムフ
ァイルまたは制御手順プログラムファイルは、CADな
どのアプリケーションプログラムのデータを取り込むこ
とができる。
[0030] Alternatively, the data copying processing, the upper Symbol display content program or the control procedure program and A-flop <br/> data common between the publication program, the display content program file or the control procedure program file It is preferred to copy to Thus, similarly to the above-described editor device, the display content program file or the control procedure program file can capture data of an application program such as CAD.

【0031】[0031]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図21に基づいて説明すれば、以下の通りであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

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

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

【0034】表示機能部としてのプログラマブル表示器
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.

【0035】メモリ部12は、DRAM12a、FEP
ROM(Flash Erasable and Programmable ROM)12b
等のメモリを含んでいる。DRAM12aは、主に、表
示制御などの演算処理時の作業用に用いられる他、PL
C2との間でやり取りされるデータの一時的な記憶に用
いられる。FEPROM12bは、書き替え可能な読み
出し専用のフラッシュメモリであり、一般のパーソナル
コンピュータにおけるハードディスクドライブの役割を
果たす。フラッシュメモリは、可動部を持たず、かつ衝
撃に強いので、劣悪な周囲環境でも安定して動作する。
The memory unit 12 includes a DRAM 12a, an FEP
ROM (Flash Erasable and Programmable ROM) 12b
Etc. memory. The DRAM 12a is mainly used for operations at the time of arithmetic processing such as display control.
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. The flash memory has no moving parts and is resistant to impact, so that it operates stably even in a poor surrounding environment.

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

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

【0038】図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 base screen on which display control operation is to be executed
, An event name T for specifying an operation content to be executed on the base screen, and reference information I including one or a plurality of data referred to for each execution event.

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

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

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

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

【0043】制御機能部としてのPLC2は、内蔵する
CPU部によって、制御機能プログラムにしたがい、ラ
ダーエディタ32aで作成されたユーザプログラム(制
御手順プログラム)で定められた手順で、入出力機器4
…の動作を制御する。
The PLC 2 serving as a control function unit uses an input / output device 4 according to a user program (control procedure program) created by a ladder editor 32a according to a control function program by a built-in CPU unit.
The operation of ... is controlled.

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

【0045】プログラマブル表示器1は、上記のビット
デバイスまたはワードデバイスが示す状態情報のうち、
必要な情報を適時にメモリ部12に読み込む一方、上記
の処理指示語Wを繰り返し読み出して各処理指示語Wの
事象名Tで特定される内容の動作をPLC2側の状態情
報を参照しながら実行する。これによって、ビットデバ
イスまたはワードデバイスの状態の変化に応じて変化す
る表示動作が実行される。
The programmable display 1 includes, among the status information indicated by the bit device or the word device,
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. I do. Thus, a display operation that changes according to a change in the state of the bit device or the word device is performed.

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

【0047】まず、PLC2と通信が可能なオンライン
モード、またはプログラマブル表示器1のみを動作させ
るオフラインモードのいずれか一方を選択する(S
1)。オフラインモードが選択された場合(NO)、プ
ログラマブル表示器1において、設定処理、診断処理な
どの各種の処理を行い(S6)、処理をS1に戻す。
First, either the online mode in which communication with the PLC 2 is possible or the offline mode in which only the programmable display 1 is operated is selected (S).
1). When the off-line mode is selected (NO), the programmable display 1 performs various processing such as setting processing and diagnostic processing (S6), and returns the processing to S1.

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

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

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

【0051】図1に示すように、コンピュータ装置3
は、パーソナルコンピュータなどの汎用コンピュータに
よって構成されている。このコンピュータ装置3は、C
PU31、エディタ部32、データファイル33、メモ
リ部34、ディスプレイ35、入力装置36、外部記憶
装置37およびインターフェース部(図中、I/F)3
8を備えている。
As shown in FIG.
Is constituted by 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
8 is provided.

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

【0053】メモリ部34は、RAM、ROMなどのメ
モリを備えており、固定データの格納、一時的なデータ
記憶、CPU31の演算処理時における作業エリアの提
供といった役割を果たしている。
The memory unit 34 includes 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 when the CPU 31 performs arithmetic processing.

【0054】エディタ部32は、ラダーエディタ32
a、作画エディタ32b、アプリケーション32cおよ
び複写機能部32dを含んでいる。
The editor section 32 is a ladder editor 32
a, a drawing editor 32b, an application 32c, and a copy function unit 32d.

【0055】第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 for determining the control procedure of the PLC 2 so that the input / output devices 4 operate in accordance with a desired sequence. The display screen 35a (FIG. 15)
(See (a)) above, a ladder diagram can be created by arranging ladder symbols (symbols) corresponding to the operation of the input / output device 4. In the ladder editor 32a, for example, the above-mentioned programming language conforming to the international standard IEC is used.

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

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

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

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

【0060】このようにして作成されたユーザ画面は、
後述の画面ファイル33bに格納され、必要に応じてイ
ンターフェース部38を介してプログラマブル表示器1
に転送され、FEPROM12bに画面データとしてダ
ウンロードされる。
The user screen thus created is
It is stored in a screen file 33b to be described later, and the programmable display 1
And downloaded to the FEPROM 12b as screen data.

【0061】アプリケーション32cは、主に汎用のア
プリケーションソフトウェアであって、ラダーエディタ
32aおよび作画エディタ32bとやり取りを行うこと
ができる属性データを生成するソフトウェアによって構
成されている。そのソフトウェアとしては、データを作
成することができる表計算ソフトウェアや、回路などを
設計するためのCADソフトウェアなどが挙げられる。
The application 32c is mainly general-purpose application software, and is configured by software that generates attribute data that can be exchanged with the ladder editor 32a and the drawing editor 32b. Examples of the software include spreadsheet software capable of creating data and CAD software for designing circuits and the like.

【0062】データ複写手段としての複写機能部32d
は、OSのデータ複写機能を利用して、作画エディタ3
2bで作成される画面において、ラダーエディタ32a
で作成されたラダー図におけるラダー記号に対応するマ
ークを自動的に生成(描画)させるとともに、そのラダ
ー記号の属性データをマークの属性データとして複写す
る。また、複写機能部32dは、同様にOSのデータ複
写機能を利用して、ラダーエディタ32aで作成される
ラダー図において、作画エディタ32bで作成された画
面におけるマークに対応するラダー記号を自動的に生成
(描画)させるとともに、そのマークの属性データをラ
ダー記号の属性データとして複写する。
Copy function section 32d as data copy means
Uses the data copy function of the OS to create the
In the screen created in 2b, the ladder editor 32a
Automatically generates (draws) a mark corresponding to the ladder symbol in the ladder diagram created in step (1), and copies the attribute data of the ladder symbol as attribute data of the mark. Similarly, the copy function unit 32d automatically uses the data copy function of the OS to automatically add a ladder symbol corresponding to a mark on a screen created by the drawing editor 32b in a ladder diagram created by the ladder editor 32a. The attribute data of the mark is generated (drawn), and the attribute data of the mark is copied as attribute data of the ladder symbol.

【0063】具体的には、属性データの複写は、メモリ
部34に設けられる後述のクリップボードCB(図16
および図18参照)を介して、ドラッグ&ドロップまた
はコピー&ペーストの機能を利用して行われる。
More specifically, the copy of the attribute data is performed by a clipboard CB (see FIG.
And FIG. 18) using a function of drag and drop or copy and paste.

【0064】クリップボードCBに格納されるデータ構
造は、図5(a)に示すように、ヘッダーコード、メモ
リサイズ、オブジェクトタイプ、予約、アドレス情報
数、アドレス情報(1〜N)および予約によって構成さ
れている。このうち、メモリサイズは、クリップボード
CBへデータを格納する際に必要となるメモリのサイズ
であり、オブジェクトタイプは、クリップボードCBに
格納する部品の予め設定された種類である。このオブジ
ェクトタイプは、図5(b)に示すように、ビットスイ
ッチ、トグルスイッチ、ランプ、数値表示器、棒グラ
フ、円グラフ、半円グラフ、タンクグラフ、メータグラ
フおよび設定値表示器が設定される。アドレス情報は、
図5(c)に示すように、アドレス(アドレス名)、予
約、アドレス付加情報、予約、オブジェクトタイプおよ
び予約によって構成されている。アドレス付加情報は、
シンボルの種類(整数シンボル、ディスクリートシンボ
ルなど)に関する情報である。アドレス情報におけるオ
ブジェクトタイプは、上記のオブジェクトタイプと同じ
内容であって、アドレスがどの部品に対応しているかを
指定し、このために必要な部品のビットのみONする。
The data structure stored in the clipboard CB is composed of a header code, a memory size, an object type, a reservation, the number of address information, address information (1 to N), and a reservation as shown in FIG. ing. Among them, the memory size is the size of the memory required when storing data on the clipboard CB, and the object type is a preset type of a component stored on the clipboard CB. In this object type, as shown in FIG. 5B, a bit switch, a toggle switch, a lamp, a numerical display, a bar graph, a pie graph, a semicircle graph, a tank graph, a meter graph, and a set value display are set. . The address information is
As shown in FIG. 5C, it is composed of an address (address name), reservation, address additional information, reservation, object type, and reservation. The address additional information is
Information on the type of symbol (integer symbol, discrete symbol, etc.). The object type in the address information has the same contents as the above-mentioned object type, and specifies which part the address corresponds to, and turns ON only the bits of the parts necessary for this.

【0065】なお、上記の複写機能部32dは、ラダー
エディタ32aまたは作画エディタ32bのいずれか一
方の一機能としてそれぞれに含まれていてもよい。
The copy function section 32d may be included as one of the functions of the ladder editor 32a and the drawing editor 32b.

【0066】コンピュータ装置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.

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

【0068】なお、エディタ部32は、単一の記録媒体
5に記録されていてもよいが、ラダーエディタ32aと
作画エディタ32bとがそれぞれ別個の記録媒体に記録
されていてもよい。
The editor section 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.

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

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

【0071】データファイル33は、ラダーファイル3
3a、画面ファイル33bおよびアプリケーションファ
イル33cを含んでいる。
The data file 33 is a ladder file 3
3a, a screen file 33b and an application file 33c.

【0072】制御手順プログラムファイルとしてのラダ
ーファイル33aは、図6(a)に示すように、コマン
ドファイル部33a1 および属性データファイル部33
2から構成されている。コマンドファイル部33a1
は、入力されたラダー記号に対応するニーモニック(ラ
ダー命令)およびオペランドを格納し、属性データファ
イル部33a2 は、コマンドファイル部33a1 に対応
するように、入力されたラダー命令についてデバイスの
名称およびアドレスを格納している。
As shown in FIG. 6A, a ladder file 33a as a control procedure program file includes a command file section 33a 1 and an attribute data file section 33.
It is constructed from a 2. Command file part 33a 1
Stores the mnemonic (ladder instruction) and operands corresponding to the ladder symbol that is input, the attribute data file section 33a 2 so as to correspond to the command file section 33a 1, the name of the device for ladder command input and Stores the address.

【0073】表示内容プログラムファイルとしての画面
ファイル33bは、図6(b)に示すように、図形デー
タファイル部33b1 および属性データファイル部33
2から構成されている。図形データファイル部33b
1 は、入力されたマークについての図形データを格納
し、属性データファイル部33b2 は、図形データファ
イル部33b1 に対応するように、入力されたマークに
ついてデバイスの名称およびアドレスを格納している。
[0073] screen file 33b as the display content program file, as shown in FIG. 6 (b), the graphic data file section 33b 1 and the attribute data file 33
and a b 2. Figure data file section 33b
1 stores shape data of the mark that has been input, the attribute data file section 33b 2 so as to correspond to the graphic data file section 33b 1, and stores the name and address of the device for marks entered .

【0074】ラダーファイル33aおよび画面ファイル
33bが、属性データファイル部33a2 ・33b2
よって互いに関連付けられているので、第1ないし第3
の表示/制御システムにおける表示動作および制御動作
は互いに関連する。
Since the ladder file 33a and the screen file 33b are associated with each other by the attribute data file sections 33a 2 and 33b 2 , the first to third ladder files 33a and 33b 2 are associated with each other.
The display operation and the control operation in the display / control system of the present invention are related to each other.

【0075】アプリケーションファイル33cは、アプ
リケーション32cで作成されたデータを上記の属性デ
ータファイル部33a2 ・33b2 の属性データと関連
付けられる属性データを格納している。
[0075] application file 33c has the data created by the application 32c stores attribute data is associated with the attribute data of the attribute data file section 33a 2 · 33b 2.

【0076】ディスプレイ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 constituted by a CRT, an LCD or the like. In the computer device 3 which is a panel computer, the display 35 is constituted by a flat display element such as a liquid crystal panel or an EL panel. Input device 3
Reference numeral 6 denotes a device for performing input operations such as a keyboard and a mouse, and in particular, a GUI (Graphical User Interface).
A device such as a mouse is suitable for input work in the editor unit 32 operating on the environment. The external storage device 37 is a magnetic disk drive such as a hard disk device, a CD-R
It is a device such as an optical disk drive such as an OM drive, and includes at least a device capable of reading information such as a program recorded on 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 32a and the user screen created by the drawing editor 32b are transferred to the programmable display 1 via the interface unit 38.

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

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

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

【0080】入出力ユニット20は、入出力機器4…が
接続可能となるように、多数の入出力端子、入出力回路
などを備えている。I/O制御インターフェース21
は、CPU11と入出力ユニット20との間の信号の授
受を仲介するインターフェース回路であって、入出力メ
モリ、D/A変換器、A/D変換器などを備えている。
The input / output unit 20 has 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 transmission and reception 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.

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

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

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

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

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

【0086】また、コンピュータ装置3は、オープンコ
ントローラとして機能するように、インターフェースユ
ニット(図中、I/Fユニット)41を備えている。イ
ンターフェースユニット41は、イーサネット(登録商
標)などの汎用の通信プロトコルを用いるオープンネッ
トワーク8に対応した入出力部であり、オープンネット
ワーク8に接続されている。これによって、コンピュー
タ装置3は、オープンネットワーク8を介して他のコン
ピュータ装置、プログラマブル表示器、PLCなどと接
続される。
The computer device 3 includes 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 corresponding to the open network 8 using a general-purpose communication protocol such as Ethernet (registered trademark), and is connected to the open network 8. Thereby, the computer device 3 is connected to another computer device, a programmable display, a PLC, and the like via the open network 8.

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

【0088】このように構成されるコンピュータ装置3
は、入出力機器4…が配備されたターゲットシステムの
運転時(オンライン状態)では、作成された画面や現場
の様子をディスプレイ35に表示させることによってタ
ーゲットシステムの運転状況を監視するモニタとして機
能するとともに、ターゲットシステムにおける入出力機
器4…の制御を行う。このとき、コンピュータ装置3
は、ラダーエディタ32aで作成され、ラダーファイル
33aに格納されているユーザプログラムを、制御機能
プログラムにしたがって実行する。一方、コンピュータ
装置3は、ターゲットシステムの非運転時(オフライン
状態)において、ラダーエディタ32aまたは作画エデ
ィタ32bを起動することによってユーザプログラムま
たはユーザ画面を作成するためのエディタ装置として機
能する。
The computer device 3 configured as described above
When the target system in which the input / output devices 4 are arranged is operated (on-line state), the created screen and the state of the site are displayed on the display 35 to function as a monitor for monitoring the operation status of the target system. And the input / output devices 4 in the target system are controlled. At this time, the computer device 3
Executes the user program created by the ladder editor 32a and stored in the ladder file 33a 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 (off-line state).

【0089】ここで、第1ないし第3の表示/制御シス
テムにおけるユーザプログラムおよびユーザ画面の作成
手順について、図10ないし図14のフローチャートを
参照して説明する。
Here, a procedure for creating a user program and a user screen in the first to third display / control systems will be described with reference to the flowcharts of FIGS.

【0090】図10に示すように、先にユーザ画面を作
成(作画)するか、ユーザプログラムを作成する(プロ
グラミング)かをユーザによる入力操作に応じて判断す
る(S11)。先にユーザプログラムを作成する場合
は、ラダーエディタ32aを用いたプログラミング処理
(1)を実行し(S12)、その後、作画エディタ32
bを用いた作画処理(2)を実行する(S13)。一
方、先にユーザ画面を作成する場合は、作画エディタ3
2bを用いた作画処理(1)を実行し(S14)、その
後、ラダーエディタ32aを用いたプログラミング処理
(2)を実行する(S15)。
As shown in FIG. 10, it is determined in advance whether a user screen is created (drawn) or a user program is created (programming) according to an input operation by the user (S11). When a user program is created first, a programming process (1) using the ladder editor 32a is executed (S12), and then the drawing editor 32
The image forming process (2) using b is executed (S13). On the other hand, when creating a user screen first, the drawing editor 3
The image forming process (1) using 2b is executed (S14), and then the programming process (2) using the ladder editor 32a is executed (S15).

【0091】次いで、作成されたユーザプログラムおよ
びユーザ画面を利用可能にするように所定の格納先に格
納する(S16)。このとき、第1または第2の表示/
制御システムでは、ユーザプログラムおよびユーザ画面
が、一旦データファイル33に格納された後、それぞれ
PLC2およびプログラマブル表示器1にダウンロード
され、メモリに格納される。あるいは、第2の表示/制
御システムでは、ユーザプログラムおよびユーザ画面
が、一旦データファイル33に格納された後、プログラ
マブル表示器1にダウンロードされ、メモリ部12に格
納される。第3の表示/制御システムでは、ユーザプロ
グラムおよびユーザ画面がデータファイル33に格納さ
れる。
Next, the created user program and user screen are stored in a predetermined storage location so as to be usable (S16). At this time, the first or second display /
In the control system, the user program and the user screen are temporarily stored in the data file 33, then downloaded to the PLC 2 and the programmable display 1, respectively, and stored in the memory. Alternatively, in the second display / control system, the user program and the user screen are temporarily stored in the data file 33, downloaded to the programmable display 1, and stored in the memory unit 12. In the third display / control system, the user program and the user screen is store in the data file 33.

【0092】なお、上記の例では、作画またはプログラ
ミングの何れかを先に実行した後に他方を実行する手順
について説明しているが、これに限らず、両方を並行し
て実行することも可能である。
In the above example, the procedure of executing either the drawing or the programming first and then executing the other is described. However, the present invention is not limited to this, and it is also possible to execute both in parallel. is there.

【0093】先にプログラミング処理(1)を実行する
場合は、図11のフローチャートに示す手順にしたが
う。ここでは、コンピュータ装置3において、ラダーエ
ディタ32aおよび作画エディタ32bが起動されてお
り、ディスプレイ35の表示部35a(図15(a)参
照)には、ユーザ画面作成用のエディタ画面(第1エデ
ィタ画面)を表示するウインドウ(以降、作画ウインド
ウと称する)32b1 およびユーザプログラム作成用の
エディタ画面(第2エディタ画面)を表示するウインド
ウ(以降、ラダーウインドウと称する)32a1 が同時
に開いているものとする。しかしながら、先にプログラ
ミング処理(1)を実行する際には、少なくともラダー
エディタ32aが起動されていればよい。
When the programming processing (1) is executed first, the procedure shown in the flowchart of FIG. 11 is followed. Here, a ladder editor 32a and a drawing editor 32b are activated in the computer device 3, and an editor screen (first editor screen) for creating a user screen is displayed on a display unit 35a (see FIG. 15A) of the display 35. ) window (hereinafter for displaying, drawing window called) 32 b 1 and the user program editor screen for creating (second editor screen) for displaying a window (hereinafter, referred to as ladder window) as those 32a 1 is opened at the same time I do. However, when executing the programming process (1) first, it is sufficient that at least the ladder editor 32a is activated.

【0094】まず、ラダーウインドウ32a1 上にて、
各入出力機器4を対象としてラダー記号を配置すること
によってラダー命令を記述する(S21)。次いで、記
述されたラダー命令について使用する名称、アドレスな
どの属性データを入力し(S22)、ラダー記号および
属性データをテンポラリファイルに登録する(S2
3)。その後、ユーザの操作に応じてプログラミング処
理を終了するか否かを判断する(S24)。ここで、終
了しない場合はS21に処理を戻す一方、終了する場合
は作成されたユーザプログラムをラダーファイル33a
に登録する(S25)。
[0094] First, in the ladder window 32a 1 above,
A ladder instruction is described by arranging a ladder symbol for each input / output device 4 (S21). Next, attribute data such as a name and an address used for the described ladder instruction is input (S22), and the ladder symbol and the attribute data are registered in a temporary file (S2).
3). Thereafter, it is determined whether or not to end the programming process according to a user operation (S24). Here, if the processing is not to be ended, the process returns to S21.
(S25).

【0095】続いて実行される作画(2)においては、
図12のフローチャートに示す手順にしたがう。
In the subsequent drawing (2),
According to the procedure shown in the flowchart of FIG.

【0096】まず、予め、ラダーファイル33aに登録
されたラダー記号(ラダー命令)についての属性データ
を画面ファイル33bにインポートする(S31)。ラ
ダーウインドウ32a1 上のラダー記号がマウスなどに
よってドラッグされたか否かを判断し(S32)、ドラ
ッグされた場合は、ドラッグされたラダー記号が作画ウ
インドウ32b1 にドロップされたか否かを判断する
(S33)。ここで、ラダー記号のドロップが確認され
ると、ドラッグされたラダー記号についての属性データ
に含まれる機能に基づいて、その機能を有する複数のマ
ークを含むダイアログボックスD1 (図15(c)参
照)を表示する(S34)。
First, the attribute data of the ladder symbol (ladder command) registered in the ladder file 33a is imported into the screen file 33b (S31). Ladder symbol on the ladder window 32a 1 is judged whether or not dragged by the mouse (S32), if it is dragged, it is determined whether the ladder symbol is dragged is dropped on drawing window 32 b 1 ( S33). Here, the drop of the ladder symbol is confirmed, based on the functionality included in the attribute data for the ladder symbol is dragged, the dialog box D 1 (FIG. 15 (c) references including a plurality of marks having the function ) Is displayed (S34).

【0097】上記の手順では、ラダーエディタ32aで
作成された全てのラダー記号についての属性データが、
予めS31でのインポートによって一括して画面ファイ
ル33bに複写される。しかしながら、これの代わり
に、1つのラダー記号についての属性データが、ドラッ
グおよびドロップ毎に逐次インポートされてもよい。特
に、多数のラダー記号を含むラダー図を作成する場合
は、属性データを一括してインポートすることにより、
処理効率の向上が可能になる。一方、少数のラダー記号
を含むラダー図を作成する場合は、属性データを逐次イ
ンポートしても処理効率の低下はほとんどない。したが
って、いずれのインポートを採用するかは、ラダー図の
大きさやその他の要因に基づいて選択することが望まし
い。
In the above procedure, the attribute data of all the ladder symbols created by the ladder editor 32a is
The data is collectively copied to the screen file 33b in advance by the import in S31. However, instead of this, the attribute data for one ladder symbol may be imported sequentially for each drag and drop. In particular, when creating a ladder diagram that contains a large number of ladder symbols, you can import attribute data all at once,
Processing efficiency can be improved. On the other hand, when creating a ladder diagram including a small number of ladder symbols, even if attribute data is sequentially imported, there is almost no reduction in processing efficiency. Therefore, it is desirable to select which import to use based on the size of the ladder diagram and other factors.

【0098】その後、ダイアログボックスD1 に表示さ
れた複数のマークから1つのマークが選択されると、そ
のマークをテンポラリファイルに登録する(S35)。
そして、ユーザの操作に応じて作画処理を終了するか否
かを判断する(S36)。ここで、終了しない場合はS
31に処理を戻す一方、終了する場合は作成されたユー
ザ画面を画面ファイル33bに登録する(S37)。
[0098] After that, when one mark from a plurality of marks that are displayed in the dialog box D 1 is selected, and registers the mark to a temporary file (S35).
Then, it is determined whether or not to end the drawing process according to the operation of the user (S36). Here, if not to end, S
On the other hand, when the processing is to be terminated, the created user screen is registered in the screen file 33b (S37).

【0099】ここで、図12のフローチャートの手順で
行われる作画処理(2)の具体例について説明する。
Here, a specific example of the drawing processing (2) performed according to the procedure of the flowchart of FIG. 12 will be described.

【0100】まず、図15(a)に示すように、ラダー
ウインドウ32a1 上には、ラダーエディタ32aによ
って既にスイッチ(入力)を表すラダー記号Lとランプ
(出力)を表すラダー記号L′とが描画されている。こ
れに伴って、ラダーファイル33aは、図16に示すよ
うに、スイッチおよびランプについてのデータを登録し
ている。具体的には、スイッチについては、名称として
の“SW1”およびアドレスとしての“XB0001”
が少なくとも登録されている。また、ランプについて
は、名称としての“LAMP1”およびアドレスとして
の“YB0001”が少なくとも登録されている。
[0100] First, as shown in FIG. 15 (a), on the ladder window 32a 1 is a ladder symbol L 'representing the ladder symbol L and the lamp already represents the switch (input) by the ladder editor 32a (output) Is drawn. Along with this, the ladder file 33a registers data on switches and lamps as shown in FIG. Specifically, for the switch, “SW1” as a name and “XB0001” as an address
Is registered at least. For the lamp, at least "LAMP1" as a name and "YB0001" as an address are registered.

【0101】この状態で、図15(a)に示すように、
作画ウインドウ32b1 を開いておく。さらに、図15
(b)に示すようにラダーウインドウ32a1 における
ラダー記号Lが作画ウインドウ32b1 にドラッグされ
た後にドロップされると、図15(c)に示すように、
ダイアログボックスD1 が作画ウインドウ32b1 に表
示される。
In this state, as shown in FIG.
Keep open the drawing window 32b 1. Further, FIG.
When the ladder symbol L in the ladder window 32a 1 as shown in (b) is dropped after being dragged to drawing window 32 b 1, as shown in FIG. 15 (c),
Dialog box D 1 is displayed in the drawing window 32b 1.

【0102】前述のように、ラダーエディタ32aで作
成された全てのラダー記号についての属性データは、予
めインポートによって一括して画面ファイル33bに複
写されている。あるいは、1つのラダー記号についての
属性データが、ドラッグおよびドロップ毎にインポート
される。このインポートは、図16に示すように、属性
データをクリップボードCBに一旦記憶させた後に画面
ファイル33bに複写することによって実現される。
As described above, the attribute data of all the ladder symbols created by the ladder editor 32a is collectively copied in advance to the screen file 33b by importing. Alternatively, attribute data for one ladder symbol is imported for each drag and drop. This import is realized by temporarily storing the attribute data on the clipboard CB and then copying it to the screen file 33b as shown in FIG.

【0103】ダイアログボックスD1 におけるスイッチ
の機能を有する複数種類のマークの中から適当な1つの
マークが選択されると、図15(d)に示すように、選
択されたマークの画像Mが作画ウインドウ32b1 に表
示されるとともに、属性データ(名称“SW1”および
特性“ON”)を含むダイアログボックスD2 が表示さ
れる。ここで、OKボタンがクリックされると、作画ウ
インドウ32b1 上のマークMおよび属性データが確定
し、画面ファイル33bの図形データファイル部33b
1 および属性データファイル部33b2 に、スイッチの
マークMについての図形データおよび属性データが関連
付けられて格納される(図16参照)。
[0103] When appropriate one mark from among a plurality of types of marks having the function of a switch in the dialog box D 1 is selected, as shown in FIG. 15 (d), drawing an image M of marks selected is displayed on the window 32 b 1, a dialog box D 2 containing the attribute data (name "SW1" and the characteristic "oN") is displayed. Here, when the OK button is clicked, the mark M and attribute data on the drawing window 32b 1 is confirmed, the graphic data file section 33b of the screen file 33b
1 and the attribute data file section 33b 2, graphic data and attribute data are stored in association for the mark M of the switch (see Figure 16).

【0104】したがって、ユーザは、作画ウインドウ3
2b1 上でスイッチのマークを描画する作業や必要な属
性データを入力する作業を行う必要がなく、極めて容易
にユーザ画面を作成することができる。
Therefore, the user can select the drawing window 3
2b 1 on it is not necessary to perform the work of inputting the tasks and the required attribute data for drawing a mark switch, it can be created very easily the user screen.

【0105】一方、先に作画処理(1)を実行する場合
は、図13のフローチャートに示す手順にしたがう。こ
こでは、コンピュータ装置3において、ラダーエディタ
32aおよび作画エディタ32bが起動されており、デ
ィスプレイ35の表示部35a(図17(a)参照)に
は、ラダーウインドウ32a1 および作画ウインドウ3
2b1 が同時に開いているものとする。しかしながら、
先に作画処理(1)を実行する際には、少なくとも作画
エディタ32bが起動されていればよい。
On the other hand, when the drawing processing (1) is executed first, the procedure shown in the flowchart of FIG. 13 is followed. Here, in the computer device 3, is up ladder editor 32a and the screen editor 32b, the display unit 35a of the display 35 (see FIG. 17 (a)), the ladder window 32a 1 and drawing the window 3
It is assumed that the 2b 1 is open at the same time. However,
When executing the drawing processing (1) first, it is sufficient that at least the drawing editor 32b is activated.

【0106】まず、作画ウインドウ32b1 上にて、各
入出力機器4を対象としてマークを配置する(S4
1)。次いで、配置されたマークについて使用する名
称、アドレスなどの属性データを入力し(S42)、マ
ークおよび属性データをテンポラリファイルに登録する
(S43)。その後、ユーザの操作に応じて作画処理を
終了するか否かを判断する(S44)。ここで、終了し
ない場合はS41に処理を戻す一方、終了する場合は作
成されたユーザ画面を画面ファイル33bに登録する
(S45)。
[0106] First, in drawing the window 32 b 1 above, to place the mark each input and output device 4 as a target (S4
1). Next, attribute data such as a name and an address used for the arranged mark are inputted (S42), and the mark and the attribute data are registered in a temporary file (S43). Thereafter, it is determined whether or not to end the drawing process according to the operation of the user (S44). Here, if the processing is not to be ended, the process returns to S41, while if the processing is to be ended, the created user screen is registered in the screen file 33b (S45).

【0107】続いて実行されるプログラミング処理
(2)は、図14のフローチャートに示す手順にしたが
う。
The subsequently executed programming process (2) follows the procedure shown in the flowchart of FIG.

【0108】まず、予め、画面ファイル33bに登録さ
れたマークについての属性データをラダーファイル33
aにインポートする(S51)。作画ウインドウ32b
1 上のマークがドラッグされたか否かを判断し(S5
2)、ドラッグされた場合は、ドラッグされたマークが
ラダーウインドウ32a1 にドロップされたか否かを判
断する(S53)。ここで、マークのドロップが確認さ
れると、ドラッグされたマークについての属性データに
含まれる機能に基づいて、その機能に対応するラダー記
号とともに、上記の属性データを表示する(S54)。
First, the attribute data of the marks registered in the screen file 33b is previously stored in the ladder file 33.
a (S51). Drawing window 32b
It is determined whether the mark on 1 has been dragged (S5).
2), when it is dragged, to determine whether a mark has been dragged is dropped on the ladder window 32a 1 (S53). Here, if the drop of the mark is confirmed, the above attribute data is displayed together with the ladder symbol corresponding to the function based on the function included in the attribute data of the dragged mark (S54).

【0109】上記の手順では、作画エディタ32bで配
置された全てのマークについての属性データが、予めS
51でのインポートによって一括してラダーファイル3
3aに複写される。しかしながら、これの代わりに、1
つのマークについての属性データが、ドラッグおよびド
ロップ毎に逐次インポートされてもよい。
In the above procedure, the attribute data for all the marks arranged by the drawing editor 32b is
Ladder file 3 by import at 51
3a. However, instead of this, 1
Attribute data for one mark may be imported sequentially for each drag and drop.

【0110】その後、表示されたラダー記号をテンポラ
リファイルに登録する(S55)。そして、ユーザの操
作に応じてプログラミング処理を終了するか否かを判断
する(S56)。ここで、終了しない場合はS51に処
理を戻す一方、終了する場合は作成されたユーザプログ
ラムをラダーファイル33aに登録する(S57)。
Then, the displayed ladder symbol is registered in a temporary file (S55). Then, it is determined whether or not to end the programming process according to a user operation (S56). Here, if the processing is not to be ended, the process returns to S51, while if the processing is to be ended, the created user program is registered in the ladder file 33a (S57).

【0111】ここで、図14のフローチャートの手順で
行われるプログラミング処理(2)の具体例について説
明する。
Here, a specific example of the programming process (2) performed according to the procedure of the flowchart of FIG. 14 will be described.

【0112】まず、図17(a)に示すように、作画ウ
インドウ32b1 上には、作画エディタ32bによって
既にスイッチ(入力)を表すマークMが配置かつ描画さ
れている。これに伴って、画面ファイル33bは、図1
8に示すように、スイッチについてのデータを登録して
いる。具体的には、スイッチについては、名称としての
“SW1”、アドレスとしての“XB0001”が少な
くとも登録されている。
[0112] First, as shown in FIG. 17 (a), on the drawing window 32 b 1 has already been marked M is disposed and drawing representing a switch (input) by the screen editor 32b. Accordingly, the screen file 33b is
As shown in FIG. 8, data on the switch is registered. Specifically, at least “SW1” as a name and “XB0001” as an address are registered for the switch.

【0113】この状態で、図17(a)に示すように、
ラダーウインドウ32a1 を開いておく。さらに、図1
7(b)に示すように作画ウインドウ32b1 における
マークMがラダーウインドウ32a1 にドラッグされた
後にドロップされると、図17(c)に示すように、ラ
ダー記号LおよびダイアログボックスD3 がラダーウイ
ンドウ32a1 に表示される。
In this state, as shown in FIG.
Keep open the ladder window 32a 1. Further, FIG.
7 the mark M in the drawing window 32 b 1 as shown in (b) is dropped after being dragged to the ladder window 32a 1, as shown in FIG. 17 (c), the ladder symbol L and dialog boxes D 3 Ladder It is displayed in the window 32a 1.

【0114】前述のように、作画エディタ32bで配置
された全てのマークについての属性データは、予めイン
ポートによって一括してラダーファイル33aに複写さ
れている。あるいは、1つのマークについての属性デー
タが、ドラッグおよびドロップ毎にインポートされる。
このインポートは、図18に示すように、属性データを
クリップボードCBに一旦記憶させた後にラダーファイ
ル33aに複写することによって実現される。
As described above, the attribute data of all the marks arranged by the drawing editor 32b are collectively copied to the ladder file 33a by import in advance. Alternatively, attribute data for one mark is imported for each drag and drop.
This import is realized by temporarily storing the attribute data on the clipboard CB and then copying it to the ladder file 33a as shown in FIG.

【0115】そして、図17(c)に示すように、スイ
ッチの機能に対応するラダー記号Lがラダーウインドウ
32a1 に描画されるとともに、属性データ(名称“S
W1”)を含むダイアログボックスD3 が表示される。
ここで、OKボタンがクリックされると、ラダーウイン
ドウ32a1 上のラダー記号Lおよび属性データが確定
し、ラダーファイル33aのコマンドファイル部33a
1 および属性データファイル部33a2 に、スイッチの
ラダー記号Lについてのコマンドおよび属性データが関
連付けられて格納される(図18参照)。
[0115] Then, as shown in FIG. 17 (c), together with the ladder symbol L is drawn on the ladder window 32a 1 corresponding to the switch function, the attribute data (name "S
W1 ") dialog box D 3 including displayed.
Here, when the OK button is clicked, the ladder symbol L and the attribute data on the ladder window 32a 1 is confirmed, the command file section 33a of the ladder file 33a
1 and the attribute data file section 33a 2, the command and attribute data is stored in association for the ladder symbol L of the switch (see Figure 18).

【0116】したがって、ユーザは、ラダーウインドウ
32a1 上でスイッチのラダー記号を描画する作業や必
要な属性データを入力する作業を行う必要がなく、極め
て容易にユーザプログラムを作成することができる。
[0116] Thus, the user ladder window 32a 1 on it is not necessary to perform the work of inputting the tasks and the required attribute data for drawing a ladder symbol switch, it can be created very easily the user program.

【0117】上記のように、本実施の形態に係る第1な
いし第3の表示/制御システムでは、ラダーエディタ3
2aで作成されたユーザプログラムを格納するラダーフ
ァイル33aと、作画エディタ32bで作成されたユー
ザ画面を格納する画面ファイル33bとを個別に備え、
複写機能部32dによって、ラダー記号の属性データを
画面ファイル33bに複写するとともに、マークの属性
データをラダーファイル33aに複写するように構成さ
れている。これにより、両ファイル33a・33bで共
通する属性データを持つことができ、両ファイル33a
・33b間での属性データを容易に関連付けることがで
きる。
As described above, in the first to third display / control systems according to the present embodiment, the ladder editor 3
A ladder file 33a for storing the user program created in 2a, and a screen file 33b for storing the user screen created in the drawing editor 32b,
The copy function unit 32d is configured to copy the attribute data of the ladder symbol to the screen file 33b and to copy the attribute data of the mark to the ladder file 33a. As a result, both files 33a and 33b can have attribute data common to both files 33a and 33b.
Attribute data between 33b can be easily associated.

【0118】また、このように、ユーザプログラムとユ
ーザ画面とで独立したデータベースを有することで、そ
れぞれのデータベースと他のデータベースとの間で上記
のような属性データの複写を行うことができる。具体的
には、汎用のアプリケーションソフトウェア(表計算ソ
フトウェアなど)を利用したデータベース、電子回路用
CADのデータベース、NC制御装置のGコードプログ
ラミング(加工プログラミング)のためのソフトウェア
などによって作成されたデータベースのデータを、その
ソフトウェアの操作入力画面上に入力されたデータなど
を画像ブロックとして選び、かつ前述のようにドラッグ
&ドロップ(またはコピー&ペースト)することによっ
てユーザプログラムまたはユーザ画面のデータベースに
そのデータを複写する。
Further, by having independent databases for the user program and the user screen as described above, the above-described attribute data can be copied between each database and another database. Specifically, a database using general-purpose application software (spreadsheet software, etc.), a database for electronic circuit CAD, a database created by software for G code programming (machining programming) of the NC control device, and the like. Is selected as an image block by inputting data or the like on the operation input screen of the software, and the data is copied to the user program or the user screen database by dragging and dropping (or copying and pasting) as described above. I do.

【0119】特に、CADソフトウェア(CADソフ
ト)によって制御盤設計を行う際には、ラダーエディタ
および作画エディタとでデータをやり取りすることが有
効である。
In particular, when designing a control panel using CAD software (CAD software), it is effective to exchange data with a ladder editor and a drawing editor.

【0120】あらゆる装置システムを開発するために
は、機械設計図をはじめ電気システム図が必要になる。
また、電気システム図を作成するには、電気的な仕様
書、制御盤図、部品リスト、ハードウェア図(回路図な
ど)を作成する必要がある。そして、作成された電気シ
ステム図に基づいて、制御盤を製作し、制御盤が設置さ
れる装置システムの電気工事などを進めていく。また、
制御盤を設計および製作していく工程においては、ま
ず、仕様の取り決めを行い、その仕様に基づいてCAD
ソフトのような図面を作成するツールにより、電気的構
成を設計した上でPLCなどを含む表示/制御システム
のプログラム作成に移行する。この際、本実施の形態に
係る複写機能部32dの機能を利用することによって、
ユーザプログラムおよびユーザ画面の作成にCADソフ
トで入力されたデータを利用することができる。
To develop any equipment system, an electrical system diagram including a mechanical design diagram is required.
In addition, in order to create an electrical system diagram, it is necessary to create an electrical specification, a control panel diagram, a parts list, and a hardware diagram (such as a circuit diagram). Then, based on the created electrical system diagram, a control panel is manufactured, and electrical work of an apparatus system in which the control panel is installed is advanced. Also,
In the process of designing and manufacturing a control panel, specifications are firstly agreed upon, and CAD is performed based on the specifications.
Using a tool for creating a drawing such as software, the electrical configuration is designed, and then a transition is made to the creation of a display / control system program including a PLC or the like. At this time, by using the function of the copy function unit 32d according to the present embodiment,
Data input by CAD software can be used to create a user program and a user screen.

【0121】具体的には、コンピュータ装置3のアプリ
ケーション32c(図1、図7および図9参照)にCA
Dソフトが組み込まれている場合、CADソフトを起動
して、図19(a)に示すように、表示部35aに、C
ADウインドウ32c1 とラダーウインドウ32a1
を表示させる。CADウインドウ32c1 には、PLC
の入力部に接続された押しボタンスイッチ(図記号名P
B001で表される)と、PLCの出力部に接続された
パイロットランプ(図記号名PL001で表される)と
が表示されている。この状態で、CADウインドウ32
1 に表示された押しボタンスイッチの図記号(画像ブ
ロック)をドラッグし、かつラダーウインドウ32a1
にドロップすれば、図14のフローチャートに示す手順
とほぼ同様の手順で、押しボタンスイッチに対応するラ
ダー記号L1 (LD命令など)がラダーウインドウ32
1 に表示される。同様に、パイロットランプもラダー
記号L2 (OUT命令)としてラダーウインドウ32a
1 に表示される。
Specifically, the application 32c of the computer device 3 (see FIGS. 1, 7 and 9)
When the D software is installed, the CAD software is started, and as shown in FIG.
To display the AD window 32c 1 and the ladder window 32a 1. The CAD window 32c 1, PLC
Push button switch (graphic symbol name P
B001) and a pilot lamp (represented by the symbolic name PL001) connected to the output of the PLC. In this state, the CAD window 32
Drag graphical symbols (image blocks) of the push button switch displayed on c 1, and the ladder window 32a 1
, The ladder symbol L 1 (LD instruction or the like) corresponding to the push button switch is displayed in the ladder window 32 in substantially the same procedure as the procedure shown in the flowchart of FIG.
It is displayed on a 1. Similarly, the pilot lamp also has a ladder symbol L 2 (OUT command) as the ladder window 32a.
Displayed in 1 .

【0122】一方、CADのデータを用いてユーザ画面
を作成する場合、図19(b)に示すように、表示部3
5aに、CADウインドウ32c1 と作画ウインドウ3
2b1 とを表示させる。この状態で、CADウインドウ
32c1 に表示された押しボタンスイッチの図記号をド
ラッグし、かつ作画ウインドウ32b1 にドロップすれ
ば、図12のフローチャートに示す手順とほぼ同様の手
順で、押しボタンスイッチに対応するマークMが作画ウ
インドウ32b1 に表示される。このとき、PLCの入
力部と出力部とで押しボタンスイッチおよびパイロット
ランプの機能を共通化させておけば、押しボタンスイッ
チとパイロットランプとを兼ねたマークMが作画ウイン
ドウ32b1 に表示される。
On the other hand, when a user screen is created using CAD data, as shown in FIG.
5a, CAD window 32c 1 and drawing window 3
2b 1 is displayed. In this state, by dragging the symbol of the push button switch displayed on the CAD window 32c 1 and dropping it on the drawing window 32b 1 , the procedure shown in the flowchart of FIG. the corresponding mark M is displayed in the drawing window 32b 1. At this time, if by sharing the function of the button switch and pilot lamp press between an output portion input of the PLC, the mark M, which also serves as a pushbutton switch and pilot lamp is displayed on the drawing window 32 b 1.

【0123】上記の処理の際にラダーファイル33aお
よび作画ファイル33bにインポートされるデータは、
図20に示すように、アプリケーションファイル33c
に構築されるCADデータベースに格納されている。具
体的には、図記号名、コメント、PLC関連アドレスな
どが格納されている。PLC関連アドレスは、PLC2
に接続される押しボタンスイッチやパイロットランプな
どの機器に割り付けられるアドレスである。図記号名
は、CADソフトで作成される上記の図における押しボ
タンスイッチやパイロットランプなどに付与される記号
名である。この図記号名は、上記のアドレスに対応付け
られ、押しボタンスイッチやパイロットランプなどのア
ドレスをラダー記号やマークに割り付ける際にアドレス
の代わりに用いられる変数と同一に設定されている。コ
メントは、機器の動作状態などを示すために設けられ
る。
The data to be imported into the ladder file 33a and the drawing file 33b at the time of the above processing are as follows:
As shown in FIG. 20, the application file 33c
Is stored in a CAD database constructed at the same time. Specifically, a symbol name, a comment, a PLC-related address, and the like are stored. PLC related address is PLC2
The address is assigned to a device such as a push button switch or a pilot lamp connected to the device. The figure symbol name is a symbol name given to a push button switch, a pilot lamp, or the like in the above-described figures created by CAD software. This graphic symbol name is associated with the above address, and is set to be the same as a variable used instead of an address when assigning an address such as a push button switch or a pilot lamp to a ladder symbol or mark. The comment is provided to indicate an operation state or the like of the device.

【0124】上記のCADデータベースにおいては、図
記号名および変数を同一に設定することによって、図記
号名(名称)とPLC関連アドレス(アドレス)とを属
性データ(図6(a)および(b)参照)として扱うこ
とができる。これにより、ラダーエディタ32aおよび
作画エディタ32bは、図記号名を変数としてラダー記
号L1 ・L2 およびマークMと併せて表示する。また、
作画エディタ32bは、「運転」というコメントをマー
クM上に表示する。
In the CAD database, by setting the symbol names and variables to be the same, the symbol names (names) and the PLC-related addresses (addresses) are attributed to the attribute data (FIGS. 6A and 6B). See). Thus, the ladder editor 32a and the drawing editor 32b display the graphic symbol names as variables together with the ladder symbols L 1 and L 2 and the mark M. Also,
The drawing editor 32b displays a comment “driving” on the mark M.

【0125】ここで、第3の表示/制御システムでは、
図9に示すように、エディタ機能およびPLC機能を有
するコンピュータ装置3がオープンネットワーク8に接
続されているので、コンピュータ装置3におけるデータ
ベースと、このようなオープンネットワーク8に接続さ
れた他のシステムA〜Cなどにおけるデータベースとの
間でラダー記号およびマークに関する属性データをネッ
トワーク経由でやり取りすることができる。また、コン
ピュータ装置3とネットワークを介しての遠隔地のシス
テムとの間で同じデータベースを共有することが可能に
なる。
Here, in the third display / control system,
As shown in FIG. 9, since the computer device 3 having the editor function and the PLC function is connected to the open network 8, the database in the computer device 3 and the other systems A to Attribute data on ladder symbols and marks can be exchanged with a database such as C via a network. In addition, the same database can be shared between the computer device 3 and a remote system via a network.

【0126】第2の表示/制御システムにおいても、プ
ログラマブル表示器1がオープンネットワーク8に接続
可能なインターフェースを備えていれば、プログラマブ
ル表示器1を図21(a)に示すようにオープンネット
ワーク8を介してコンピュータ装置3や他のシステムA
〜Cなどと接続することができる。また、第1の表示/
制御システムの場合、第2の表示/制御システムと同様
にしてプログラマブル表示器1をオープンネットワーク
8に接続することができるが、プログラマブル表示器1
とPLC2との間の通信では、PLC2のメーカ毎に異
なる通信プロトコルに対応する必要がある。このため、
本願出願人が先に出願した特願平10−117117号
に記載されているように、オープンネットワーク8での
通信に用いられる共通の通信プロトコルと、PLC2の
機種に応じた通信プロトコルとを相互に変換する機能を
プログラマブル表示器1に備えさせる。
Also in the second display / control system, if the programmable display 1 has an interface connectable to the open network 8, the programmable display 1 is connected to the open network 8 as shown in FIG. Computer device 3 or other system A via
To C or the like. In addition, the first display /
In the case of a control system, the programmable display 1 can be connected to the open network 8 in the same manner as in the second display / control system.
In the communication between the PLC 2 and the PLC 2, it is necessary to support different communication protocols for each manufacturer of the PLC 2. For this reason,
As described in Japanese Patent Application No. 10-117117 previously filed by the present applicant, a common communication protocol used for communication on the open network 8 and a communication protocol corresponding to the model of the PLC 2 are mutually exchanged. A function for conversion is provided in the programmable display 1.

【0127】しかも、1つのユーザプログラムに対して
異なるパターンの複数のユーザ画面を作成する場合や、
第1の表示/制御システムにおいて1台のプログラマブ
ル表示器1に複数のPLC2を接続する場合でも、デー
タベース間でのデータの複写によって、一対多のデータ
ベース間のリンクを容易に実現することができる。
In addition, when a plurality of user screens having different patterns are created for one user program,
Even when a plurality of PLCs 2 are connected to one programmable display 1 in the first display / control system, a link between one-to-many databases can be easily realized by copying data between databases.

【0128】また、本実施の形態では、ラダーウインド
ウと作画ウインドウとが同一のディスプレイに表示され
る例について説明したが、ラダーウインドウと作画ウイ
ンドウとがネットワークを介した異なる機器のデータベ
ースを基に表示される場合も本発明の適用が可能であ
る。
Further, in the present embodiment, an example has been described in which the ladder window and the drawing window are displayed on the same display. However, the ladder window and the drawing window are displayed based on databases of different devices via a network. In this case, the present invention can be applied.

【0129】具体的には、図21(a)に示すように、
第1の表示/制御システムにおけるPLC2にダウンロ
ードされたユーザプログラムが格納されているデータベ
ースDB1 と、第2の表示/制御システムにおけるプロ
グラマブル表示器1にダウンロードされたユーザ画面が
格納されているデータベースDB2 との間でデータがや
り取りされる。この場合、コンピュータ装置3において
は、図21(b)に示すように、ラダーウインドウ32
1 に表示されるデータベースDB1 におけるユーザプ
ログラムと、作画ウインドウ32b1 に表示されるデー
タベースDB2におけるユーザ画面との間でドラッグ&
ドロップによってラダー記号およびマークの自動生成を
行うことができる。したがって、すでにPLC2にダウ
ンロードされたユーザプログラムと、プログラマブル表
示器1にダウンロードされたユーザ画面との間でも編集
や修正を容易に行うことができる。
More specifically, as shown in FIG.
A database DB 1 storing the user program downloaded to the PLC 2 in the first display / control system, and a database DB storing the user screen downloaded to the programmable display 1 in the second display / control system Data is exchanged between the two . In this case, in the computer device 3, as shown in FIG.
a user program in the database DB 1 which is displayed on a 1, drag between the user screen in the database DB 2 to be displayed on the drawing window 32 b 1 &
Ladder symbols and marks can be automatically generated by dropping. Therefore, editing and correction can be easily performed between the user program already downloaded to the PLC 2 and the user screen downloaded to the programmable display 1.

【0130】なお、本発明は、ラダー図だけではなく、
前述のIEC 6 1131-3 で規定された5言語を含む他の
言語によるプログラミングにおいても適用されるのは勿
論である。
Note that the present invention is not limited to the ladder diagram,
Of course, the present invention is also applicable to programming in other languages including the five languages specified in IEC 61131-3.

【0131】本発明のエディタ装置は、制御対象機器の
状態を表示する表示機能部と、該制御対象機器の動作を
制御する制御機能部とを有する表示/制御システムを対
象として、上記表示機能部が実行する表示の内容を定め
るための表示内容プログラムを第1エディタ画面上での
入力操作に応じて作成する第1エディタ手段と、上記制
御機能部が実行する制御の手順を定めるための制御手順
プログラムを第2エディタ画面上での入力操作に応じて
作成するための第2エディタ手段とを備えたエディタ装
置であって、いずれか一方の上記第1または第2エディ
タ画面上で入力したデータに関して該エディタ画面上に
表示されている画像ブロックを選択し、かつ他方のエデ
ィタ画面上へ複写させる操作に応じて、上記表示内容プ
ログラムと上記制御手順プログラムとの間で共通するデ
ータを、上記表示内容プログラムを格納する表示内容プ
ログラムファイルと上記制御手順プログラムを格納する
制御手順プログラムファイルとの間で複写するデータ複
写手段を備えていることを特徴とするデータ複写手段を
備えていることを特徴としている。
The editor device of the present invention provides a
A display function unit for displaying a state, and an operation of the controlled device.
A display / control system having a control function unit for controlling
The display contents to be executed by the display function
Display content program for the first editor screen
First editor means for creating in response to an input operation;
Control procedure for defining the control procedure executed by the control function
Depending on the input operation on the second editor screen
Editor device comprising second editor means for creating
The first or second editor.
The data entered on the editor screen
Select the displayed image block and select the other editor.
The above display contents screen is displayed in accordance with the operation to copy on the data screen.
Program and the above control procedure program.
Data to the display content program that stores the display content program.
Store the program file and the above control procedure program
Data copy to be copied to / from the control procedure program file
Data copying means characterized by having a copying means.
It is characterized by having.

【0132】上記の構成では、第1エディタ手段によっ
て作成された表示内容プログラムが表示内容プログラム
ファイルに格納され、第2エディタ手段によって作成さ
れた制御手順プログラムが制御手順プログラムファイル
に格納されている。また、第1エディタ手段の操作によ
る表示内容プログラムの作成後または表示内容プログラ
ムの作成時に、第2エディタ手段の操作によって制御手
順プログラムを作成する場合、データ複写手段によっ
て、第1エディタ画面上での画像ブロックの選択および
それを第2エディタ画面へ複写させる操作に応じて、両
プログラムの間で共通するデータが、両ファイルの間で
複写される。一方、第2エディタ手段の操作による制御
手順プログラムの作成後または制御手順プログラムの作
成時に、第1エディタ手段の操作による表示内容プログ
ラムを作成する場合、データ複写手段によって、第2エ
ディタ画面上での画像ブロックの選択およびそれを第1
エディタ画面へ複写させる操作に応じて、両プログラム
の間で共通するデータが、両ファイルの間で複写され
る。
In the above configuration, the first editor means uses
Display content program created by
Stored in a file and created by the second editor means.
Control procedure program file
Is stored in In addition, the operation of the first editor means
After creating a display content program or
When a program is created, the control
When creating a sequential program, the data
To select an image block on the first editor screen and
Depending on the operation to copy it to the second editor screen,
The data common between the programs is
Copied. On the other hand, control by operation of the second editor means
After creating a procedure program or creating a control procedure program
At the time of execution, the display contents program by the operation of the first editor means
In the case of creating a program, the second
Selection of image block on data screen and first
Depending on the operation to copy to the editor screen, both programs
Data common between the two files is copied between the two files.
You.

【0133】このように、画像ブロックの選択および複
写の操作を行うことによって、一方のファイルに格納さ
れたデータが他方のファイルに複写されるので、両ファ
イルの間で共通のデータベースを作成することができ
る。その結果、両エディタ手段に共通のデータベースを
作成する必要がなくなる。しかも、両エディタ手段によ
るデータの重複入力を避けることができる。
As described above, selection and duplication of an image block are performed.
By performing the copy operation, the files stored in one file
The copied data is copied to the other file.
Can create a common database between files
You. As a result, a common database is used for both editors.
No need to create. Moreover, both editor means
Data can be avoided.

【0134】上記のエディタ装置においては、上記第1
エディタ手段が、上記第1エディタ画面に上記制御対象
機器およびそれらの状態を画像ブロックとして描画する
とともに、各制御対象機器を特定する属性データを入力
し、上記第2エディタ手段が、上記第2エディタ画面に
上記制御対象機器に対応する制御動作を表す複数のシン
ボルを画像ブロックとして描画するとともに、上記属性
データを入力し、上記データ複写手段が、いずれか一方
の上記第1または第2エディタ画面上で選択された上記
画像ブロックに付随する属性データを上記両ファイル間
で複写するとともに、属性データが複写されたいずれか
一方の上記ファイルに対応する上記第1または第2エデ
ィタ手段に、複写された属性データを参照することによ
って、選択された画像ブロックに対応する制御対象機器
と同一の制御対象機器についての画像ブロックを自動的
に描画させることが好ましい。
In the above-described editor device, the first
Editor means for displaying the control object on the first editor screen
Render devices and their states as image blocks
At the same time, input attribute data specifying each device to be controlled
And the second editor means displays on the second editor screen
A plurality of symbols representing control operations corresponding to the control target devices
In addition to drawing the bol as an image block,
Data is input, and one of the data
Selected on the first or second editor screen of the above
Attribute data associated with the image block between the two files
Any of the attribute data copied along with
The first or second editor corresponding to one of the files
The attribute data by referring to the copied attribute data.
Control target device corresponding to the selected image block
Automatically creates image blocks for the same controlled device as
It is preferable to draw the image.

【0135】上記の構成では、第1エディタ手段の操作
によって、制御対象機器に対応するマークが第1エディ
タ画面に画像ブロックとして描画されるとともに、制御
対象機器に関する属性データが入力される。一方、第2
エディタ手段の操作によって、制御対象機器に対応する
シンボル(例えばラダー記号)が第2エディタ画面に画
像ブロックとして描画されるとともに、制御対象機器に
関する属性データが入力される。
In the above configuration, the operation of the first editor means
The mark corresponding to the device to be controlled is
Is drawn as an image block on the
Attribute data relating to the target device is input. On the other hand, the second
Operation of the editor means corresponds to the device to be controlled.
The symbol (for example, ladder symbol) is displayed on the second editor screen.
It is drawn as an image block and is
Related attribute data is input.

【0136】また、データ複写手段によって、第1エデ
ィタ画面上で選択されたマークに付随する属性データが
表示内容プログラムファイルから制御手順プログラムフ
ァイルに複写される際に、第2エディタ手段が、複写さ
れた属性データを参照することで、選択されたマークに
対応する制御対象機器と同一の制御対象機器についての
シンボルを自動的に描画する。一方、データ複写手段に
よって、第2エディタ画面上で選択されたシンボルに付
随する属性データが制御手順プログラムファイルから表
示内容プログラムファイルに複写される際に、第1エデ
ィタ手段が、複写された属性データを参照することで、
選択されたシンボルに対応する制御対象機器と同一の制
御対象機器についてのマークを自動的に描画する。
[0136] Also, the first copy is performed by the data copying means.
Attribute data associated with the mark selected on the
From the display contents program file,
When being copied to a file, the second editor means
By referring to the attribute data,
For the same controlled device as the corresponding
Automatically draw symbols. On the other hand,
Therefore, the symbol added to the symbol selected on the second editor screen
Associated attribute data is displayed from the control procedure program file.
When the content is copied to the program file,
By referring to the copied attribute data,
The same control as the device to be controlled corresponding to the selected symbol
Automatically draws a mark for the target device.

【0137】このように、先に一方のエディタ手段で作
成されたマークまたはシンボルと、それらに付随する属
性データとに基づいて、他方のエディタ手段でのシンボ
ルまたはマークの作成および属性データの複写が行われ
る。それゆえ、他方のエディタ手段によるシンボルまた
はマークの作成が容易になるとともに、属性データの入
力が不要になる。
As described above, the first editor means
Mark or symbol and its associated attributes
Based on the sex data and the symbol
Files or marks are created and attribute data is copied.
You. Therefore, the symbol or
Facilitates the creation of marks and allows the entry of attribute data.
No power is required.

【0138】また、上記データ複写手段が、上記属性デ
ータを画像ブロックの選択および複写の操作に先立って
複写することが好ましい。これにより、例えば、すでに
作成されたプログラムに基づいて他方のプログラムを作
成する場合、予め属性データを一括して複写した後に、
マークまたはシンボルが描画される。また、一方のプロ
グラムを作成しながら他方のプログラムを作成する場
合、一方のエディタ画面上でマークまたはシンボルが作
成される毎に属性データが逐次複写されて、他方のエデ
ィタ画面上でシンボルまたはマークが描画される。
Further , the data copying means may store the attribute data.
Data before selecting and copying image blocks.
Copying is preferred. This allows, for example,
Create another program based on the created program
If you want to create the attribute data,
A mark or symbol is drawn. Also, one professional
To create the other program while creating the program
Mark or symbol on one editor screen
Each time the attribute data is copied, the attribute data is copied
Symbol or mark is drawn on the data screen.

【0139】上記のいずれの構成のエディタ装置も、上
記データ複写手段が、アプリケーションプログラムの操
作入力画面で入力したデータに関して該操作画面上に表
示される画像ブロックを選択し、かつ上記第1または第
2エディタ画面上へ複写させる操作に応じて、上記表示
内容プログラムまたは上記制御手順プログラムと上記ア
プリケーションプログラムのデータとの間で共通するデ
ータを、上記表示内容プログラムファイルまたは上記制
御手順プログラムファイルに複写することが好ましい。
これによって、表示内容プログラムファイルまたは制御
手順プログラムファイルは、CADなどのアプリケーシ
ョンプログラムのデータを取り込むことができる。
The editor device having any of the above configurations is
The data copying means operates the application program.
The data entered on the work input screen is displayed on the operation screen.
Select the image block to be shown, and
2 Display according to the operation to copy on the editor screen
The content program or the above control procedure program and the above
Data common to application program data
Data from the display content program file or
Preferably, it is copied to a control procedure program file.
This allows the display content program file or control
Procedure program files are stored in an application such as CAD.
You can import the data of the application program.

【0140】上記のいずれの構成のエディタ装置も、ネ
ットワークを介して上記表示/制御システムと異なるシ
ステムに接続されており、上記データ複写手段が上記両
ファイルと上記システムとの間でデータを複写すること
が好ましい。これによって、システムから直接上記両フ
ァイルのいずれか一方に属性データを複写することがで
きる。
The editor device having any of the above configurations is
System different from the above display / control system via a network
And the data copying means is connected to the
Copy data between files and the above systems
Is preferred. As a result, both of the above
Attribute data can be copied to one of the files.
Wear.

【0141】本発明のエディタプログラムが記録された
記録媒体は、制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とを含むエディタプログラムが記録されたコンピ
ュータ読み取り可能な記録媒体であって、上記エディタ
プログラムが、いずれか一方の上記第1または第2エデ
ィタ画面上で入力したデータに関して該エディタ画面上
に表示されている画像ブロックを選択し、かつ他方のエ
ディタ画面上へ複写させる操作に応じて、上記表示内容
プログラムと上記制御手順プログラムとの間で共通する
データを、上記表示内容プログラムを格納する表示内容
プログラムファイルと上記制御手順プログラムを格納す
る制御手順プログラムファイルとの間で複写するデータ
複写処理を含んでいることを特徴としている。
The editor program of the present invention has been recorded.
The recording medium is a display function that displays the status of the controlled device
And a control function unit for controlling the operation of the controlled device.
Display function unit for display / control system
Display content program to determine the display content
Create a program according to the input operation on the first editor screen
The first editor process and the control executed by the control function unit
Control procedure program for defining procedure
Second editor for creating in response to input operations on the screen
Computer program recording an editor program including
A computer-readable recording medium, wherein the editor
The program is configured to execute either one of the first or second editing.
The data entered on the editor screen
Select the image block displayed in
Depending on the operation to copy on the data screen,
Common between the program and the above control procedure program
Display data to store the above display content program
Store the program file and the above control procedure program
Data to be copied to and from the control procedure program file
It is characterized in that it includes a copying process.

【0142】この記録媒体を用いると、データ複写処理
によって、本発明のエディタ装置と同様、第2エディタ
画面上での画像ブロックの選択およびそれを第1エディ
タ画面へ複写させる操作に応じて、両プログラムの間で
共通するデータが、両ファイルの間で複写される。それ
ゆえ、両ファイルの間で共通のデータベースが作成され
る結果、両エディタ処理に共通のデータベースを作成す
る必要がなくなる。しかも、両エディタ処理によるデー
タの重複入力を避けることができる。
When this recording medium is used, data copy processing
Thus, as in the editor device of the present invention, the second editor
Select an image block on the screen and display it in the first
Between the two programs, depending on the operation to copy to the
Common data is copied between both files. It
Therefore, a common database is created between the two files.
As a result, a database common to both editor processes is created.
There is no need to Moreover, the data processed by both editors
Data can be avoided.

【0143】本発明のエディタプログラムが記録された
他の記録媒体は、制御対象機器の状態を表示する表示機
能部と、該制御対象機器の動作を制御する制御機能部と
を有する表示/制御システムを対象として、上記表示機
能部が実行する表示の内容を定めるための表示内容プロ
グラムを第1エディタ画面上での入力操作に応じて作成
する第1エディタ処理または上記制御機能部が実行する
制御の手順を定めるための制御手順プログラムを第2エ
ディタ画面上での入力操作に応じて作成するための第2
エディタ処理のいずれか一方を含むエディタプログラム
が記録されたコンピュータ読み取り可能な記録媒体であ
って、上記エディタプログラムが、いずれか一方の上記
第1または第2エディタ画面上で入力したデータに関し
て該エディタ画面上に表示されている画像ブロックを選
択し、かつ他方のエディタ画面上へ複写させる操作に応
じて、上記表示内容プログラムと上記制御手順プログラ
ムとの間で共通するデータを、上記表示内容プログラム
を格納する表示内容プログラムファイルと上記制御手順
プログラムを格納する制御手順プログラムファイルとの
間で複写するデータ複写処理を含んでいることを特徴と
している。
The editor program of the present invention is recorded
Other recording media include a display that displays the status of the device to be controlled.
And a control function unit for controlling the operation of the controlled device.
The above display device is intended for a display / control system having
Display content pro to determine the content of the display to be executed by Nobu
Create a program according to the input operation on the first editor screen
The first editor process or the control function unit executes
The control procedure program for defining the control procedure is
The second for creating according to the input operation on the data screen
An editor program that includes one of the editor processes
Is a computer-readable recording medium on which
Therefore, the above-mentioned editor program is one of the above
For data entered on the first or second editor screen
To select the image block displayed on the editor screen.
And copy it to the other editor screen.
The display content program and the control procedure program
Data common to the display contents program
Display contents program file for storing the above and the above control procedure
Control procedure for storing programs
It is characterized by including the data copying process to copy between
are doing.

【0144】この記録媒体を用いれば、前記の記録媒体
と同様、データ複写処理によって、両プログラムの間で
共通するデータが両ファイルの間で複写されるので、両
エディタ処理に共通のデータベースの作成を不要にする
とともに、両エディタ処理によるデータの重複入力を避
けることができる。さらに、この記録媒体によれば、第
1または第2エディタ処理のいずれか一方とデータ複写
処理とを含んでいる2種類のエディタプログラム、すな
わち第1または第2エディタプログラムを提供すること
ができる。
By using this recording medium, the recording medium
As in the case of
Since the common data is copied between the two files,
Eliminates the need to create a common database for editor processing
Also avoids duplicate data input by both editor processes
Can be opened. Further, according to this recording medium,
Data copy with either 1st or 2nd editor processing
Two types of editor programs, including
That is, providing the first or second editor program
Can be.

【0145】上記の両記録媒体は、上記第1エディタ処
理が、上記第1エディタ画面に上記制御対象機器および
それらの状態を画像ブロックとして描画するとともに、
各制御対象機器を特定する属性データを入力し、上記第
2エディタ処理が、上記第2エディタ画面に上記制御対
象機器に対応する制御動作を表す複数のシンボルを画像
ブロックとして描画するとともに、上記属性データを入
力し、上記データ複写処理が、いずれか一方の上記第1
または第2エディタ画面上で選択された上記画像ブロッ
クに付随する属性データを上記両ファイル間で複写する
とともに、属性データが複写されたいずれか一方の上記
ファイルに対応する上記第1または第2エディタ処理
に、複写された属性データを参照することによって、選
択された画像ブロックに対応する制御対象機器と同一の
制御対象機器についての画像ブロックを自動的に描画さ
せることが好ましい。
The two recording media are stored in the first editor processing unit.
Is displayed on the first editor screen.
While drawing those states as image blocks,
Enter the attribute data that specifies each device to be controlled, and
2 editor processing, the second editor screen displays the control pair
Multiple symbols representing control operations corresponding to elephant devices
Draw as a block and enter the above attribute data
And the data copying process is performed using one of the first
Or the above image block selected on the second editor screen
Copy attribute data associated with the file between the above two files
Along with one of the above attributes data is copied
The first or second editor processing corresponding to a file
The selected attribute data by referring to the copied attribute data.
Same as the device to be controlled corresponding to the selected image block
Automatically draws image blocks for controlled devices.
Preferably.

【0146】このような記録媒体を用いれば、前述のエ
ディタ装置と同様、第1エディタ処理によるマークの描
画および属性データの入力が行われる一方、第2エディ
タ処理によるシンボルの描画および属性データの入力が
行われる。また、データ複写処理によって、第2エディ
タ処理が、複写された属性データを参照することで、選
択されたマークに対応する制御対象機器と同一の制御対
象機器についてのシンボルを自動的に描画する一方、第
1エディタ処理が、複写された属性データを参照するこ
とで、選択されたシンボルに対応する制御対象機器と同
一の制御対象機器についてのマークを自動的に描画す
る。それゆえ、他方のエディタ処理によるシンボルまた
はマークの作成が容易になるとともに、属性データの入
力が不要になる。
If such a recording medium is used, the above-described d.
Drawing of marks by the first editor process, similar to the data device
While image and attribute data are input, the second editor
Symbol drawing and attribute data input
Done. In addition, the second edition is performed by the data copying process.
Data processing refers to the copied attribute data,
The same control pair as the control target device corresponding to the selected mark
While automatically drawing symbols for elephant devices,
1 The editor process refers to the copied attribute data.
The same as the device to be controlled corresponding to the selected symbol.
Automatically draw a mark for one controlled device
You. Therefore, the symbols or
Facilitates the creation of marks and allows the entry of attribute data.
No power is required.

【0147】また、上記データ複写処理が、上記属性デ
ータを画像ブロックの選択および複写の操作に先立って
複写することが好ましい。これにより、前述のエディタ
装置と同様、作成されたプログラムに基づいて他方のプ
ログラムを作成する場合、予め属性データを一括して複
写した後に、マークまたはシンボルが描画される。ま
た、一方のプログラムを作成しながら他方のプログラム
を作成する場合、一方のエディタ画面上でマークまたは
シンボルが作成される毎に属性データが逐次複写され
て、他方のエディタ画面上でシンボルまたはマークが描
画される。
Further , the data copy processing is performed by the attribute data.
Data before selecting and copying image blocks.
Copying is preferred. This allows the editor
Like the device, the other program is based on the created program.
When creating a program, collectively copy attribute data in advance.
After copying, a mark or symbol is drawn. Ma
Also, while creating one program, the other program
To create a mark or mark on one editor screen
Each time a symbol is created, attribute data is copied sequentially.
The symbol or mark on the other editor screen.
Is drawn.

【0148】あるいは、上記データ複写処理が、アプリ
ケーションプログラムの操作入力画面で入力したデータ
に関して該操作画面上に表示される画像ブロックを選択
し、かつ上記第1または第2エディタ画面上へ複写させ
る操作に応じて、上記表示内容プログラムまたは上記制
御手順プログラムと上記アプリケーションプログラムの
データとの間で共通するデータを、上記表示内容プログ
ラムファイルまたは上記制御手順プログラムファイルに
複写することが好ましい。これによって、前述のエディ
タ装置と同様、表示内容プログラムファイルまたは制御
手順プログラムファイルは、CADなどのアプリケーシ
ョンプログラムのデータを取り込むことができる。
Alternatively, the data copying process is performed by an application
Input on the operation input screen of the application program
Select the image block displayed on the operation screen for
And copy it on the first or second editor screen.
Display content program or the above control
Control program and the above application program
The common data with the data is displayed in the display content program.
Program file or the above control procedure program file
Copying is preferred. As a result,
Display content program file or control
Procedure program files are stored in an application such as CAD.
You can import the data of the application program.

【0149】[0149]

【発明の効果】以上のように、本発明のエディタ装置
は、制御対象機器の状態を表示する表示内容を定めるた
めの表示内容プログラムを作成する第1エディタ手段
と、上記制御対象機器を制御する制御手順を定めるため
の制御手順プログラムを作成する第2エディタ手段と、
上記表示内容プログラムを格納する表示内容プログラム
ファイルと上記制御手順プログラムを格納する制御手順
プログラムファイルとの間で上記両プログラムに共通す
るデータを一括して複写するデータ複写手段とを備えて
いる構成である。
As described above, the editor device of the present invention determines the display contents for displaying the state of the controlled device.
Editor means for creating a display content program for display
And the control procedure for controlling the control target device
Second editor means for creating a control procedure program of
Display contents program that stores the above display contents program
A control procedure that stores a file and the above control procedure program
Common to both programs with the program file
And data copying means for copying all data in a batch .

【0150】これによって、一方のファイルに格納され
たデータが他方のファイルに複写されるので、両ファイ
ルの間で共通のデータベースを作成することができる。
その結果、両エディタ手段に共通のデータベースを作成
する必要がなくなる。しかも、両エディタ手段によるデ
ータの重複入力を避けることができる。さらに、データ
を一括して複写することによって、処理効率の向上が可
能になる。したがって、入力操作の簡素化を図りつつ、
データベースを効率的に利用することができるという効
果を奏する。
Thus, the data stored in one file is copied to the other file, so that a common database can be created between the two files.
As a result, there is no need to create a common database for both editors. In addition, it is possible to avoid duplicate data input by both editors. In addition, data
Processing efficiency can be improved by copying
It will work. Therefore, while simplifying the input operation,
There is an effect that the database can be used efficiently.

【0151】上記のエディタ装置においては、複写先の
ファイルに対応する他方のエディタ手段、複写された
上記データを参照することによって、上記データに関連
する画像ブロックを表示する
[0151] In the editor apparatus, the other editor means corresponding to the double Utsushisaki file is copied
Related to the above data by referring to the above data
The image block to be displayed .

【0152】これによって、複写されたデータとに基づ
いて、他方のエディタ手段での画像ブロックの表示が行
われるので、データの複写と併せて画像ブロックを表示
することができる。したがって、表示内容プログラムお
よび制御手順プログラムの作成効率を向上させることが
できるという効果を奏する。
[0152] Thus, based on the copied data, the display of the image block of the other editor means is carried out, displaying an image block together with the data of the copy
can do. Therefore, there is an effect that the creation efficiency of the display content program and the control procedure program can be improved.

【0153】また、このエディタ装置において、上記デ
ータ複写手段は、一方のエディタ手段のエディタ画面上
に表示されている画像ブロックを選択し、かつ他方のエ
ディタ手段のエディタ画面上に複写させる操作に先立っ
て、上記データを複写する。これによって、すでに作成
されたプログラムに基づいて他方のプログラムを作成す
る場合、画像ブロックの表示に先立って予めデータが一
括して複写される。したがって、画像ブロックの表示
効率的に行うことができるという効果を奏する。
In this editor device, the data copying means is provided on the editor screen of one of the editor means.
Select the image block displayed in
Prior to copying on the editor screen of the data means
Then, the above data is copied. Thus, when creating the other program based on the previously created program, pre Me data prior to display of the image block is copied in a lump. Therefore, an effect that it is possible to display the images block efficiently.

【0154】上記のいずれかの構成のエディタ装置は、
上記データ複写手段が、上記表示内容プログラムまたは
上記制御手順プログラムとアプリケーションプログラム
との間で共通するデータを、上記表示内容プログラムフ
ァイルまたは上記制御手順プログラムファイルに複写す
るので、表示内容プログラムファイルまたは制御手順プ
ログラムファイルは、アプリケーションプログラムのデ
ータを取り込むことができる。したがって、両プログラ
ムファイルに構築されたデータベース以外のデータベー
スを利用することによって、プログラム開発をより効率
的に行うことができるとともに、プログラム開発をより
広いシステム開発の一部として取り込むことができると
いう効果を奏する。
The editor device having any one of the above structures
The data copying means, the data common between the upper Symbol display content program or the control procedure program and application program, since the copy in the display content program file or the control procedure program file, the display content program file Alternatively, the control procedure program file can capture data of an application program. Therefore, by using a database other than the database constructed in both program files, program development can be performed more efficiently, and program development can be incorporated as part of wider system development. Play.

【0155】上記のいずれかの構成のエディタ装置は、
ネットワークを介して他のシステムに接続されており、
上記データ複写手段が上記両ファイルと上記システムと
の間でデータを複写するので、システムから直接上記両
ファイルのいずれか一方に属性データが複写される。し
たがって、外部システムとのデータの共有を容易に実現
することができるという効果を奏する。
The editor device having any one of the above structures
Connected to other systems via a network,
Since the data copying means copies data between the two files and the system, the attribute data is directly copied from the system to one of the two files. Therefore, there is an effect that the data can be easily shared with the external system.

【0156】本発明のエディタプログラムが記録された
記録媒体は、エディタプログラムが、制御対象機器の状
態を表示する表示内容を定めるための表示内容プログラ
ムを作成する第1エディタ処理と、上記制御対象機器を
制御する制御手順を定めるための制御手順プログラムを
作成する第2エディタ処理と、上記表示内容プログラム
を格納する表示内容プログラムファイルと上記制御手順
プログラムを格納する制御手順プログラムファイルとの
間で上記両プログラムに共通するデータを一括して複写
するデータ複写処理とを含んでいる構成である。
[0156] The recording medium on which the editor program of the present invention is recorded is a program for storing the status of the device to be controlled.
Display content program to determine the display content
A first editor process for creating a system, and
A control procedure program for determining the control procedure to be controlled
The second editor process to be created and the display content program
Display contents program file for storing the above and the above control procedure
Control procedure for storing programs
And a data copying process for collectively copying data common to both programs .

【0157】これによって、本発明のエディタ装置と同
、両プログラムの間で共通するデータが、両ファイル
の間で一括して複写される。それゆえ、両ファイルの間
で共通のデータベースが効率的に作成される結果、両エ
ディタ処理に共通のデータベースを作成する必要がなく
なるだけでなく、両エディタ処理によるデータの重複入
力を避けることができる。したがって、入力操作の簡素
化を図りつつ、データベースを効率的に利用することが
できるという効果を奏する。
As a result, data common to both programs is copied collectively between both files as in the editor device of the present invention. Therefore, a common database is efficiently created between the two files. As a result, it is not necessary to create a common database for both the editor processes, and it is possible to avoid duplication of data due to the both editor processes. . Therefore, there is an effect that the database can be used efficiently while simplifying the input operation.

【0158】本発明のエディタプログラムが記録された
他の記録媒体は、エディタプログラムが、表示内容プロ
グラムを作成する第1エディタ処理または制御手順プロ
グラムを作成するための第2エディタ処理のいずれか一
方と、上記データ複写処理とを含んでいる構成である。
[0158] Another recording medium which editor program is recorded of the present invention, the editor program, either the second editor processing for creating a first editor processing or control procedure program to create a display content program The configuration includes one and the data copying process.

【0159】これによって、前記の記録媒体と同様、両
エディタ処理に共通のデータベースの作成を不要にする
とともに、両エディタ処理によるデータの重複入力を避
けることができる。さらに、この記録媒体によれば、エ
ディタプログラムが第1または第2エディタ処理のいず
れか一方とデータ複写処理とを含んでいるので、第1エ
ディタ処理と第2エディタ処理とが独立したエディタプ
ログラムに含まれているような形態であっても本発明を
適用することができる。
Thus, similarly to the recording medium described above, it is not necessary to create a database common to both editor processes, and it is possible to avoid duplicate input of data by both editor processes. Further, according to this recording medium, the editor program includes either the first or second editor process and the data copying process, so that the first editor process and the second editor process are independent editor programs. The present invention can be applied to such a form.

【0160】上記の両記録媒体は、複写先のファイルに
対応する上記第1または第2エディタ処理、複写され
上記データを参照することによって、上記データに関
連する画像ブロックを表示する
[0160] Both the recording medium described above, the first or second editor processing corresponding to the multi Utsushisaki file, by referring to the copied the data, related to the data
Display consecutive image blocks .

【0161】これによって、前述のエディタ装置と同
様、データの複写と併せて画像ブロックを表示すること
ができる。したがって、表示内容プログラムおよび制御
手順プログラムの作成効率を向上させることができると
いう効果を奏する。
Thus, similar to the above-described editor device, image blocks can be displayed together with data copying.
Can be. Therefore, there is an effect that the creation efficiency of the display content program and the control procedure program can be improved.

【0162】また、上記両記録媒体では、上記データ複
写処理が、一方のエディタ処理のエディタ画面上に表示
されている画像ブロックを選択し、かつ他方のエディタ
処理のエディタ画面上に複写させる操作に先立って、上
データを複写するので、前述のエディタ装置と同様、
画像ブロックの表示に先立って予めデータが一括して複
写される。したがって、画像ブロックの表示を効率的に
行うことができるという効果を奏する。
In the two recording media, the data copy processing is displayed on the editor screen of one editor processing.
Selected image block and the other editor
Before copying to the processing editor screen,
Because copying the serial data, similar to the above editor apparatus,
Pre Me data prior to display of the image block is copied in a lump. Therefore, an effect that it is possible to display the images block efficiently.

【0163】あるいは、上記両記録媒体では、上記デー
タ複写処理が、上記表示内容プログラムまたは上記制御
手順プログラムとアプリケーションプログラムとの間で
共通するデータを、上記表示内容プログラムファイルま
たは上記制御手順プログラムファイルに複写するので、
前述のエディタ装置と同様、表示内容プログラムファイ
ルまたは制御手順プログラムファイルは、アプリケーシ
ョンプログラムのデータを取り込むことができる。した
がって、両プログラムファイルに構築されたデータベー
ス以外のデータベースを利用することによって、プログ
ラム開発をより効率的に行うことができるとともに、プ
ログラム開発をより広いシステム開発の一部として取り
込むことができるという効果を奏する。
[0163] Alternatively, in the above two recording medium, the data copying processing, the data common between the upper Symbol display content program or the control procedure program and application program, the display content program file or the control procedure Since it is copied to the program file,
As with the above-described editor device, the display content program file or the control procedure program file can capture data of the application program. Therefore, by using a database other than the database constructed in both program files, program development can be performed more efficiently, and program development can be incorporated as part of wider system development. Play.

【図面の簡単な説明】[Brief description of the 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 a 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 device.

【図5】(a)ないし(c)は、それぞれ第1ないし第
3の表示/制御システムにおけるコンピュータ装置で実
行される属性データの複写のために用いられるデータ構
造、このデータ構造におけるオブジェクトタイプおよび
上記データ構造におけるアドレス情報を示す説明図であ
る。
FIGS. 5A to 5C are data structures used for copying attribute data executed by a computer device in each of the first to third display / control systems, an object type in the data structure, and FIGS. FIG. 3 is an explanatory diagram showing address information in the data structure.

【図6】(a)および(b)はそれぞれ上記コンピュー
タ装置において形成されるラダーファイルおよび画面フ
ァイルを示す説明図である。
FIGS. 6A and 6B are explanatory diagrams showing a ladder file and a screen file formed in the computer device, respectively.

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

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

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

【図10】上記第1ないし第3の表示/制御システムに
おけるコンピュータ装置で実行されるエディタ処理の手
順を示すフローチャートである。
FIG. 10 is a flowchart showing a procedure of an editor process executed by a computer device in the first to third display / control systems.

【図11】上記エディタ処理において先に実行されるプ
ログラミング処理の手順を示すフローチャートである。
FIG. 11 is a flowchart showing a procedure of a programming process executed first in the editor process.

【図12】図11のプログラミング処理の後に実行され
る作画処理の手順を示すフローチャートである。
FIG. 12 is a flowchart illustrating a procedure of a drawing process executed after the programming process of FIG. 11;

【図13】上記エディタ処理において先に実行される作
画処理の手順を示すフローチャートである。
FIG. 13 is a flowchart showing a procedure of a drawing process executed first in the editor process.

【図14】図13の作画処理の後に実行されるプログラ
ミング処理の手順を示すフローチャートである。
FIG. 14 is a flowchart illustrating a procedure of a programming process executed after the drawing process of FIG. 13;

【図15】(a)ないし(d)は図12の手順の具体例
を示す説明図である。
FIGS. 15A to 15D are explanatory diagrams showing specific examples of the procedure in FIG.

【図16】図12の手順にしたがって実行される属性デ
ータの複写の具体的な形態を示す説明図である。
FIG. 16 is an explanatory diagram showing a specific form of copying attribute data executed according to the procedure of FIG. 12;

【図17】(a)ないし(c)は図14の手順の具体例
を示す説明図である。
FIGS. 17A to 17C are explanatory diagrams showing specific examples of the procedure in FIG.

【図18】図14の手順にしたがって実行される属性デ
ータの複写の具体的な形態を示す説明図である。
FIG. 18 is an explanatory diagram showing a specific form of copying attribute data executed according to the procedure of FIG. 14;

【図19】(a)はCADソフトのデータを用いてラダ
ーエディタでラダー記号を自動生成する例を示す説明図
であり、(b)はCADソフトのデータを用いて作画エ
ディタでマークを自動生成する例を示す説明図である。
FIG. 19A is an explanatory view showing an example of automatically generating a ladder symbol by using a ladder editor using data of CAD software, and FIG. 19B is a diagram for automatically generating marks by using a drawing editor using data of CAD software; FIG. 6 is an explanatory diagram showing an example of performing

【図20】上記CADソフトのデータを保存するCAD
データベースの構成を示す説明図である。
FIG. 20 is a CAD for storing the data of the CAD software.
FIG. 3 is an explanatory diagram illustrating a configuration of a database.

【図21】(a)は他のシステムとオープンネットワー
クを介して接続された第1ないし第3の表示/制御シス
テムを示すブロック図であり、(b)はオープンネット
ワークに接続されるコンピュータ装置において、異なる
システムのデータベースを用いてラダー記号およびマー
クの自動生成を行う例を示す説明図である。
FIG. 21A is a block diagram showing first to third display / control systems connected to another system via an open network, and FIG. 21B is a block diagram showing a computer device connected to the open network; FIG. 14 is an explanatory diagram showing an example in which ladder symbols and marks are automatically generated using databases of different systems.

【符号の説明】 1 プログラマブル表示器(表示機能部) 2 PLC(制御機能部) 3 コンピュータ装置(表示機能部、制御
機能部) 4 入出力機器(制御対象機器) 5 記録媒体 8 オープンネットワーク(ネットワー
ク) 32a ラダーエディタ(第エディタ手
段) 32a1 ラダーウインドウ(第エディタ画
面) 32b 作画エディタ(第エディタ手段) 32c アプリケーション(アプリケーショ
ンプログラム) 32b1 作画ウインドウ(第エディタ画
面) 32c1 CADウインドウ(操作入力画面) 32d 複写機能部(データ複写手段) 33a ラダーファイル(制御手順プログラ
ムファイル) 33b 画面ファイル(表示内容プログラム
ファイル) 33c アプリケーションファイル A〜C システム DB1 ・DB2 データベース L・L′ ラダー記号(画像ブロック、シンボ
ル) M マーク(画像ブロック)
[Description of Signs] 1 Programmable display (display function unit) 2 PLC (control function unit) 3 Computer device (display function unit, control function unit) 4 I / O device (control target device) 5 Recording medium 8 Open network (network) 32a Ladder editor ( second editor means) 32a 1 Ladder window ( second editor screen) 32b Drawing editor ( first editor means) 32c Application (application program) 32b 1 Drawing window ( first editor screen) 32c 1 CAD window ( operation input screen) 32d copying function unit (data copying means) 33a ladder file (control procedure program file) 33b screen file (display content program file) 33c application file A~C system DB 1 · DB 2 database S L / L 'Ladder symbol (image block, symbol) M mark (image block)

【手続補正2】[Procedure amendment 2]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図1[Correction target item name] Fig. 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図1】 FIG.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図7[Correction target item name] Fig. 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図7】 FIG. 7

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大友 貴夫 大阪府大阪市住之江区南港東8−2−52 株式会社デジタル内 (72)発明者 谷川 舜雨 大阪府大阪市住之江区南港東8−2−52 株式会社デジタル内 Fターム(参考) 5B076 DC04 DC09 DF10 5H220 AA04 BB12 CC07 CX04 CX06 DD03 DD04 EE08 EE10 FF02 FF03 FF05 GG03 GG05 GG13 GG14 HH01 JJ12 JJ26 JJ27 JJ53 JJ59 5H223 AA05 CC03 DD03 EE06  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Takao Otomo 8-2-52 Nanko-Higashi, Suminoe-ku, Osaka-shi, Osaka Digital Inc. −52 Digital Co., Ltd. F-term (reference) 5B076 DC04 DC09 DF10 5H220 AA04 BB12 CC07 CX04 CX06 DD03 DD04 EE08 EE10 FF02 FF03 FF05 GG03 GG05 GG13 GG14 HH01 JJ12 JJ26 JJ27 JJ53 JJ59 5H223 AA0506 DD03

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ手段と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ手段とを備えるエディタ装置であって、 いずれか一方の上記第1または第2エディタ画面上で入
力したデータに関して該エディタ画面上に表示されてい
る画像ブロックを選択し、かつ他方のエディタ画面上へ
複写させる操作に応じて、上記表示内容プログラムと上
記制御手順プログラムとの間で共通するデータを、上記
表示内容プログラムを格納する表示内容プログラムファ
イルと上記制御手順プログラムを格納する制御手順プロ
グラムファイルとの間で複写するデータ複写手段を備え
ていることを特徴とするエディタ装置。
1. A display / control system having a display function unit for displaying a state of a control target device and a control function unit for controlling an operation of the control target device. First editor means for creating a display content program for defining the content in response to an input operation on the first editor screen, and a control procedure program for defining a control procedure to be executed by the control function section are described in a second editor. An editor device comprising: a second editor means for creating in accordance with an input operation on a screen, wherein data input on one of the first or second editor screens is displayed on the editor screen. Between the display content program and the control procedure program in accordance with the operation of selecting the image block being copied and copying it to the other editor screen. An editor device comprising data copying means for copying common data between a display content program file storing the display content program and a control procedure program file storing the control procedure program.
【請求項2】上記第1エディタ手段が、上記第1エディ
タ画面に上記制御対象機器およびそれらの状態を画像ブ
ロックとして描画するとともに、各制御対象機器を特定
する属性データを入力し、 上記第2エディタ手段が、上記第2エディタ画面に上記
制御対象機器に対応する制御動作を表す複数のシンボル
を画像ブロックとして描画するとともに、上記属性デー
タを入力し、 上記データ複写手段が、いずれか一方の上記第1または
第2エディタ画面上で選択された上記画像ブロックに付
随する属性データを上記両ファイル間で複写するととも
に、属性データが複写されたいずれか一方の上記ファイ
ルに対応する上記第1または第2エディタ手段に、複写
された属性データを参照することによって、選択された
画像ブロックに対応する制御対象機器と同一の制御対象
機器についての画像ブロックを自動的に描画させること
を特徴とする請求項1に記載のエディタ装置。
2. The first editor means draws the control target devices and their states as image blocks on the first editor screen, and inputs attribute data specifying each control target device. The editor means draws a plurality of symbols representing the control operation corresponding to the control target device as image blocks on the second editor screen, inputs the attribute data, and the data copying means, Attribute data associated with the image block selected on the first or second editor screen is copied between the two files, and the first or second attribute data corresponding to one of the files whose attribute data is copied is copied. (2) The control means corresponding to the selected image block is referred to the editor means by referring to the copied attribute data. Editor apparatus according to claim 1, characterized in that automatically draws an image block of the same control target device and the device.
【請求項3】上記データ複写手段が、上記属性データを
画像ブロックの選択および複写の操作に先立って複写す
ることを特徴とする請求項2に記載のエディタ装置。
3. The editor device according to claim 2, wherein said data copying means copies said attribute data prior to an image block selecting and copying operation.
【請求項4】上記データ複写手段が、アプリケーション
プログラムの操作入力画面で入力したデータに関して該
操作画面上に表示される画像ブロックを選択し、かつ上
記第1または第2エディタ画面上へ複写させる操作に応
じて、上記表示内容プログラムまたは上記制御手順プロ
グラムと上記アプリケーションプログラムのデータとの
間で共通するデータを、上記表示内容プログラムファイ
ルまたは上記制御手順プログラムファイルに複写するこ
とを特徴とする請求項1ないし3のいずれかに記載のエ
ディタ装置。
4. An operation in which the data copying means selects an image block displayed on the operation screen with respect to data input on an operation input screen of an application program and copies the image block onto the first or second editor screen. 2. The method according to claim 1, wherein common data between the display content program or the control procedure program and the data of the application program is copied to the display content program file or the control procedure program file. 4. The editor device according to any one of claims 3 to 3.
【請求項5】ネットワークを介して上記表示/制御シス
テムと異なるシステムに接続されており、上記データ複
写手段が上記両ファイルと上記システムとの間でデータ
を複写することを特徴とする請求項1ないし4のいずれ
かに記載のエディタ装置。
5. A system connected to a system different from the display / control system via a network, wherein the data copying means copies data between the two files and the system. 5. The editor device according to any one of items 4 to 4.
【請求項6】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とを含むエディタプログラムを記録したコンピュ
ータ読み取り可能な記録媒体であって、 いずれか一方の上記第1または第2エディタ画面上で入
力したデータに関して該エディタ画面上に表示されてい
る画像ブロックを選択し、かつ他方のエディタ画面上へ
複写させる操作に応じて、上記表示内容プログラムと上
記制御手順プログラムとの間で共通するデータを、上記
表示内容プログラムを格納する表示内容プログラムファ
イルと上記制御手順プログラムを格納する制御手順プロ
グラムファイルとの間で複写するデータ複写処理を含ん
でいることを特徴とするエディタプログラムを記録した
記録媒体。
6. A display / control system having a display function unit for displaying a state of a device to be controlled and a control function unit for controlling the operation of the device to be controlled. A first editor process for creating a display content program for defining the content in accordance with an input operation on the first editor screen, and a control procedure program for defining a control procedure to be executed by the control function unit, A computer-readable recording medium recording an editor program including a second editor process for creating in response to an input operation on a screen, wherein input is performed on one of the first or second editor screens According to the operation of selecting an image block displayed on the editor screen with respect to the selected data and copying it to the other editor screen, A data copy process of copying data common between the display content program and the control procedure program between a display content program file storing the display content program and a control procedure program file storing the control procedure program. A recording medium on which an editor program is recorded.
【請求項7】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理または上記制御機能部が実行する制御
の手順を定めるための制御手順プログラムを第2エディ
タ画面上での入力操作に応じて作成するための第2エデ
ィタ処理のいずれか一方を含むエディタプログラムを記
録したコンピュータ読み取り可能な記録媒体であって、 いずれか一方の上記第1または第2エディタ画面上で入
力したデータに関して該エディタ画面上に表示されてい
る画像ブロックを選択し、かつ他方のエディタ画面上へ
複写させる操作に応じて、上記表示内容プログラムと上
記制御手順プログラムとの間で共通するデータを、上記
表示内容プログラムを格納する表示内容プログラムファ
イルと上記制御手順プログラムを格納する制御手順プロ
グラムファイルとの間で複写するデータ複写処理を含ん
でいることを特徴とするエディタプログラムを記録した
記録媒体。
7. A display / control system having a display function unit for displaying a state of a device to be controlled and a control function unit for controlling the operation of the device to be controlled, the display function executed by the display function unit. A first editor process for creating a display content program for defining the content in response to an input operation on the first editor screen or a control procedure program for defining a control procedure to be executed by the control function unit on a second editor screen A computer-readable recording medium storing an editor program including one of a second editor process for creating in response to the input operation described above, wherein one of the first and second editor screens is displayed. Select the image block displayed on the editor screen with respect to the data entered in step 2, and copy it to the other editor screen Accordingly, data common between the display content program and the control procedure program is copied between a display content program file storing the display content program and a control procedure program file storing the control procedure program. A recording medium recording an editor program characterized by including a data copying process.
【請求項8】上記第1エディタ処理が、上記第1エディ
タ画面に上記制御対象機器およびそれらの状態を画像ブ
ロックとして描画するとともに、各制御対象機器を特定
する属性データを入力し、 上記第2エディタ処理が、上記第2エディタ画面に上記
制御対象機器に対応する制御動作を表す複数のシンボル
を画像ブロックとして描画するとともに、上記属性デー
タを入力し、 上記データ複写処理が、いずれか一方の上記第1または
第2エディタ画面上で選択された上記画像ブロックに付
随する属性データを上記両ファイル間で複写するととも
に、属性データが複写されたいずれか一方の上記ファイ
ルに対応する上記第1または第2エディタ処理に、複写
された属性データを参照することによって、選択された
画像ブロックに対応する制御対象機器と同一の制御対象
機器についての画像ブロックを自動的に描画させること
を特徴とする請求項6または7に記載の記録媒体。
8. The first editor process draws the controlled devices and their states as image blocks on the first editor screen, and inputs attribute data specifying each controlled device, The editor process draws a plurality of symbols representing the control operation corresponding to the control target device as an image block on the second editor screen, inputs the attribute data, and executes the data copying process. Attribute data associated with the image block selected on the first or second editor screen is copied between the two files, and the first or second attribute data corresponding to one of the files whose attribute data is copied is copied. 2 In the editor process, by referring to the copied attribute data, the control pair corresponding to the selected image block Recording medium according to claim 6 or 7, characterized in that automatically draws an image block of the same control target device and the device.
【請求項9】上記データ複写処理が、上記属性データを
画像ブロックの選択および複写の操作に先立って複写す
ることを特徴とする請求項8に記載の記録媒体。
9. The recording medium according to claim 8, wherein said data copying process copies said attribute data prior to image block selection and copying operations.
【請求項10】上記データ複写処理が、アプリケーショ
ンプログラムの操作入力画面で入力したデータに関して
該操作画面上に表示される画像ブロックを選択し、かつ
上記第1または第2エディタ画面上へ複写させる操作に
応じて、上記表示内容プログラムまたは上記制御手順プ
ログラムと上記アプリケーションプログラムのデータと
の間で共通するデータを、上記表示内容プログラムファ
イルまたは上記制御手順プログラムファイルに複写する
ことを特徴とする請求項6ないし9のいずれかに記載の
エディタ装置。
10. An operation for selecting an image block displayed on an operation screen of data input on an operation input screen of an application program and copying the image block on the first or second editor screen in the data copying processing. 7. The method according to claim 6, wherein common data between the display content program or the control procedure program and the data of the application program is copied to the display content program file or the control procedure program file. 10. The editor device according to any one of claims 9 to 9.
JP24640299A 1999-08-31 1999-08-31 Editor device and recording medium recording editor program Pending JP2001075614A (en)

Priority Applications (16)

Application Number Priority Date Filing Date Title
JP24640299A JP2001075614A (en) 1999-08-31 1999-08-31 Editor device and recording medium recording editor program
CNB2004100004348A CN100368986C (en) 1999-08-31 2000-08-28 Editing device and storage medium for storage editor program
AU67329/00A AU6732900A (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
EP00955074A EP1213633B9 (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
US10/069,542 US7603183B1 (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
DE60035202T DE60035202T2 (en) 1999-08-31 2000-08-28 EDITING DEVICE AND RECORDING DEVICE RECORDING AN EDITING PROGRAM
CNB2004100004367A CN100368987C (en) 1999-08-31 2000-08-28 Editing device and storage medium for storage editor program
EP07009511A EP1816532A3 (en) 1999-08-31 2000-08-28 Editing apparatus and recording medium in which editing program is recorded
CNB2004100004386A CN1302375C (en) 1999-08-31 2000-08-28 Editor device and recording medium for storing an editor program
CNB2004100004371A CN100368988C (en) 1999-08-31 2000-08-28 Editing device and storage medium for storage editor program
PCT/JP2000/005803 WO2001016657A1 (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
DE60045196T DE60045196D1 (en) 1999-08-31 2000-08-28 Editing device and recording medium with editing program recorded thereon
EP07009509A EP1816531A3 (en) 1999-08-31 2000-08-28 Editing apparatus and recording medium in which editing program is recorded
CNB008122660A CN1160601C (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
EP07009510A EP1821166B1 (en) 1999-08-31 2000-08-28 Editing apparatus and recording medium in which editing program is recorded
TW89117483A TW541447B (en) 1999-08-31 2000-08-29 Editor device and recording medium for storing an editor program

Applications Claiming Priority (1)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001222084A Division JP3712640B2 (en) 2001-07-23 2001-07-23 Editor device and recording medium recording editor program

Publications (1)

Publication Number Publication Date
JP2001075614A true JP2001075614A (en) 2001-03-23

Family

ID=17147984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24640299A Pending JP2001075614A (en) 1999-08-31 1999-08-31 Editor device and recording medium recording editor program

Country Status (1)

Country Link
JP (1) JP2001075614A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011090650A (en) * 2009-10-26 2011-05-06 Hakko Denki Kk Display/control system, programmable display device for the same, drawing editor device and program
JP2011175385A (en) * 2010-02-23 2011-09-08 Keyence Corp Screen display data editing device and screen display data editing program
JP2014225279A (en) * 2008-03-26 2014-12-04 フィッシャー−ローズマウント システムズ,インコーポレイテッド Methods and apparatus to create process control graphics based on process control algorithm information
CN109948251A (en) * 2019-03-20 2019-06-28 荣智工企智能技术(昆山)有限公司 Data processing method, device, equipment and storage medium based on CAD
CN111971650A (en) * 2018-03-30 2020-11-20 三菱电机株式会社 Drawing device, drawing program, and storage medium
EP3640794A4 (en) * 2017-05-31 2021-02-24 Omron Corporation Program development support device, program development support method, and program development support program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014225279A (en) * 2008-03-26 2014-12-04 フィッシャー−ローズマウント システムズ,インコーポレイテッド Methods and apparatus to create process control graphics based on process control algorithm information
JP2011090650A (en) * 2009-10-26 2011-05-06 Hakko Denki Kk Display/control system, programmable display device for the same, drawing editor device and program
JP2011175385A (en) * 2010-02-23 2011-09-08 Keyence Corp Screen display data editing device and screen display data editing program
EP3640794A4 (en) * 2017-05-31 2021-02-24 Omron Corporation Program development support device, program development support method, and program development support program
US11320976B2 (en) 2017-05-31 2022-05-03 Omron Corporation Program development support device, program development support method, and non-transitory computer-readable recording medium
CN111971650A (en) * 2018-03-30 2020-11-20 三菱电机株式会社 Drawing device, drawing program, and storage medium
CN109948251A (en) * 2019-03-20 2019-06-28 荣智工企智能技术(昆山)有限公司 Data processing method, device, equipment and storage medium based on CAD
CN109948251B (en) * 2019-03-20 2023-12-19 荣智工企智能技术(昆山)有限公司 CAD-based data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US7603183B1 (en) Editor device and recorded medium on which editor program is recorded
US7945937B2 (en) Programmable display device
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP2002268730A (en) Maintenance system for field device
JP2001075614A (en) Editor device and recording medium recording editor program
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
JP4322780B2 (en) Screen creation device, screen creation program and recording medium
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP3913414B2 (en) Editor device and recording medium recording editor program
JP3712640B2 (en) Editor device and recording medium recording editor program
JP2002062910A (en) Editor device and storage medium recording editor program
JP2001075616A (en) Editor device and recording medium recording editor program
JP4335109B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP3710731B2 (en) Editor device and recording medium recording editor program
JP3712641B2 (en) Editor device and recording medium recording editor program
JP3939518B2 (en) Input / output address setting device, input / output address setting program and recording medium recording the same
JP2001075615A (en) Editor device and recording medium recording editor program
JP3795473B2 (en) Editor device and recording medium recording editor program
JP2001075791A (en) Editor device and recording medium recording editor program
JP4970404B2 (en) Editor device and program
JPH11175326A (en) Editor device and computer readable recording medium recording editor program
JP4515434B2 (en) Unit information setting device, unit information setting program, and recording medium recording the same
JP2006301729A (en) Picture preparation method and picture preparation device
WO2018179206A1 (en) System design assistance device and system design assistance method
JP3195322B2 (en) Editor device and recording medium recording editor program