[go: up one dir, main page]

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

Editor device and recording medium recording editor program

Info

Publication number
JP2001075791A
JP2001075791A JP24922799A JP24922799A JP2001075791A JP 2001075791 A JP2001075791 A JP 2001075791A JP 24922799 A JP24922799 A JP 24922799A JP 24922799 A JP24922799 A JP 24922799A JP 2001075791 A JP2001075791 A JP 2001075791A
Authority
JP
Japan
Prior art keywords
editor
program
ladder
display
screen
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
JP24922799A
Other languages
Japanese (ja)
Inventor
稔 ▲吉▼田
Minoru Yoshida
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 JP24922799A priority Critical patent/JP2001075791A/en
Priority to DE60035202T priority patent/DE60035202T2/en
Priority to US10/069,542 priority patent/US7603183B1/en
Priority to AU67329/00A priority patent/AU6732900A/en
Priority to CNB2004100004371A priority patent/CN100368988C/en
Priority to CNB2004100004367A priority patent/CN100368987C/en
Priority to PCT/JP2000/005803 priority patent/WO2001016657A1/en
Priority to EP07009511A priority patent/EP1816532A3/en
Priority to EP07009510A priority patent/EP1821166B1/en
Priority to CNB2004100004348A priority patent/CN100368986C/en
Priority to EP00955074A priority patent/EP1213633B9/en
Priority to CNB008122660A priority patent/CN1160601C/en
Priority to EP07009509A priority patent/EP1816531A3/en
Priority to CNB2004100004386A priority patent/CN1302375C/en
Priority to DE60045196T priority patent/DE60045196D1/en
Priority to TW89117483A priority patent/TW541447B/en
Publication of JP2001075791A publication Critical patent/JP2001075791A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently prepare a display contents program (e.g. a user screen) to be displayed on a programmable display device without generating malfunction on the basis of the information of a control procedure program (e.g. a ladder program) for driving a controller such as a PLC. SOLUTION: A ladder analysis means 32c previously allows a ladder instruction for constituting a ladder program to correspond to parts for constituting a user screen, collectively extracts parts corresponding to a ladder instruction included in a ladder program prepared by a ladder editor 32a and registers the extracted parts in a parts file 33c in each screen of the user screen to prepare a parts data base. In the case of preparing a user screen by a plotting editor 32b, the parts registered in the parts data base are used. Since the parts data base is collectively prepared, the efficiency of processing can be improved. In addition, all parts corresponding to ladder instructions are included in the parts data base.

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】一方、HMI(Human Machin Interface)機
器としてのプログラマブル表示器は、ドット表示画面、
操作用入力スイッチ、ホストコントローラ(PLC)と
のインターフェース、画面上での操作入力のような制御
のためのプログラムメモリなどを備えた操作用表示器で
ある。一般に、プログラマブル表示器は、グラフィック
表示を行うので、操作盤、スイッチ、表示灯などの機能
を備えることができる他、制御対象機器(デバイス)の
稼働状況や作業指示のような管理のための各種のモニ
タ、機器に対する設定値を入力する端末としての機能を
備えている。
On the other hand, a programmable display as an HMI (Human Machin Interface) device has a dot display screen,
The operation display device includes an operation input switch, an interface with a host controller (PLC), a program memory for control such as operation input on a screen, and the like. 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】また、監視制御用ソフトウェアであるSC
ADA(Supervisory Control And Data Acquisition)
は、HMI環境を提供するソフトウェアとして普及して
きている。SCADAは、機械の運転動作や制御盤の操
作パネルを表示する高機能グラフィックモニタソフトで
あり、前述の作画エディタと同様、基本図形の描画機能
や予め用意された部品を利用して制御画面を作成できる
ように構成されている。
[0008] SC, which is software for monitoring and controlling,
ADA (Supervisory Control And Data Acquisition)
Has become popular as software for providing an HMI environment. SCADA is high-performance graphic monitor software that displays the operation of machines and the operation panel of the control panel. Similar to the above-mentioned drawing editor, SCADA is used to create control screens using drawing functions for basic figures and parts prepared in advance. It is configured to be able to.

【0009】作成された制御画面は、画面データとして
プログラマブル表示器に転送されて記憶される。PLC
の稼働時には、プログラマブル表示器は、PLCとの間
でやり取りされるデータに基づいて、制御対象機器の動
作状態に応じて制御画面上に各部品や図形を表示させ
る。
[0009] 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.

【0010】ところで、ラダーエディタなどを用いた制
御手順プログラムの作成(プログラミング)と、作画エ
ディタを用いた表示内容プログラムの作成(画面作成)
とは、一般には独立して行われる。例えば、作成された
制御手順プログラムに基づいて表示内容プログラムを作
成する場合は、制御手順プログラムの作成時に各デバイ
スについて入力された名称およびアドレスをテーブルの
形式で書き留めたような設計資料を作成しておき、その
設計資料を参照しながらI/Oアドレスの定義付けなど
を含む表示内容プログラムの作成作業を行う。また、作
成された表示内容プログラムに基づいて制御手順プログ
ラムを作成する場合も同様に、予め用意された設計資料
に基づいて作業を行う。
[0010] 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.

【0011】[0011]

【発明が解決しようとする課題】上記のプログラム作成
方法では、両プログラムを共通するデバイスに対応付け
てそれぞれ作成するにも関わらず、独立して作成するの
で、デバイスのアドレスとラダー命令および部品との割
り付けのための入力操作が別途必要である。また、上記
のプログラム作成方法は、設計資料を作成する必要があ
る上、プログラム作成が全てユーザの入力操作による。
それゆえ、上記のプログラム作成方法には、作業効率が
低く、プログラム作成に多大の時間を要する問題があ
る。また、プログラム作成がユーザの入力操作によるこ
とから、一方のプログラム作成後に他方のプログラムを
作成する際に、設計資料を参照しながらの入力操作にお
いて誤入力の生じるおそれがある。また、このような誤
入力が生じると、プログラムのデバッグ作業がより増大
するという問題がある。
In the above-described method for creating a program, although both programs are created in association with a common device, they are created independently of each other. An input operation for assigning is required separately. Further, in the above-described program creation method, design materials need to be created, and the program creation is entirely performed by a user's input operation.
Therefore, the above-described program creation method has a problem that the work efficiency is low and the program creation takes a lot of time. Further, since the program creation is performed by a user's input operation, there is a possibility that an erroneous input may occur in the input operation with reference to the design material when creating the other program after creating one program. Further, when such an erroneous input occurs, there is a problem that the debugging work of the program is further increased.

【0012】このような不都合を解消するためになされ
た発明として、特開平11−175326号公報には、
ラダープログラムを作成するラダーエディタと画面を作
成する作画エディタとの間でラダー記号(ラダー命令)
と画面に配置される部品(マーク)とを対応付けるエデ
ィタ装置が開示されている。このエディタ装置は、ラダ
ーウインドウ上に表示されているラダー記号を作画ウイ
ンドウに、例えばドラッグ&ドロップすることによっ
て、そのラダー記号に対応する部品を作画ウインドウに
表示するように構成されている。
As an invention made to solve such a disadvantage, Japanese Patent Application Laid-Open No. H11-175326 discloses an invention.
Ladder symbol (ladder instruction) between the ladder editor that creates the ladder program and the screen editor that creates the screen
There is disclosed an editor device for associating a component (mark) arranged on a screen with a component. This editor device is configured to display a part corresponding to the ladder symbol in the drawing window by dragging and dropping the ladder symbol displayed on the ladder window into the drawing window, for example.

【0013】これにより、予めラダープログラムが作成
されておれば、それに基づいてユーザがドラッグ&ドロ
ップなどの操作を行うのみで画面を容易に作成すること
ができる。
Thus, if the ladder program is created in advance, the screen can be easily created only by the user performing an operation such as drag and drop based on the ladder program.

【0014】しかしながら、このような方法では、ラダ
ー記号を1つずつ作画ウインドウにドラッグ&ドロップ
する操作毎にラダープログラムおよびユーザ画面に共通
するデータ(デバイス名、アドレスなど)を作画エディ
タに複写する必要があるために処理効率が低いという問
題がある。また、この方法では、ユーザが、ラダーウイ
ンドウから作画ウインドウにラダー記号をドラッグ&ド
ロップする操作を繰り返すので、一部のラダー記号がド
ラッグ&ドロップされないという誤操作の生じるおそれ
がある。
However, in such a method, it is necessary to copy data (device name, address, etc.) common to the ladder program and the user screen to the drawing editor every time the ladder symbol is dragged and dropped one by one to the drawing window. Therefore, there is a problem that the processing efficiency is low. Further, in this method, since the user repeatedly performs the operation of dragging and dropping the ladder symbol from the ladder window to the drawing window, an erroneous operation that some ladder symbols are not dragged and dropped may occur.

【0015】本発明は、上記の事情に鑑みてなされたも
のであって、制御手順プログラムの情報に基づいて表示
内容プログラムを誤操作なく効率的に作成できるように
したエディタ装置およびエディタプログラムを記録した
記録媒体を提供することを目的としている。
The present invention has been made in view of the above circumstances, and has recorded therein an editor apparatus and an editor program which can efficiently create a display content program based on information of a control procedure program without erroneous operation. It is intended to provide a recording medium.

【0016】[0016]

【課題を解決するための手段】本発明のエディタ装置
は、制御対象機器の状態を表示する表示機能部と、該制
御対象機器の動作を制御する制御機能部とを有する表示
/制御システムを対象として、上記表示機能部が実行す
る表示の内容を定めるための表示内容プログラムを第1
エディタ画面上での入力操作に応じて作成する第1エデ
ィタ手段と、上記制御機能部が実行する制御の手順を定
めるための制御手順プログラムを第2エディタ画面上で
の入力操作に応じて作成するための第2エディタ手段と
を備えるエディタ装置であって、上記の課題を解決する
ために、上記制御手順プログラムを構成するための命令
を上記表示内容プログラムを構成するための画像ブロッ
クに予め対応付けるとともに、上記第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 a second editor means for compensating for the above-mentioned problem by associating instructions for configuring the control procedure program with image blocks for configuring the display content program in advance. Extracting means for extracting an image block corresponding to an instruction included in the control procedure program created by the second editor means for a plurality of instructions.

【0017】上記の構成では、抽出手段によって、作成
された制御手順プログラムに含まれる命令に対応する画
像ブロックが抽出されるので、その画像ブロックを用い
ることで、命令に対応した表示内容プログラムが作成さ
れる。また、画像ブロックが複数の命令について抽出さ
れるので、処理効率を向上させることができる。さら
に、抽出された画像ブロックも用いて表示内容プログラ
ムを作成するので、命令に対応する画像ブロックが表示
内容プログラムに反映されないという不都合を解消する
ことができる。
In the above arrangement, since the image block corresponding to the instruction included in the created control procedure program is extracted by the extracting means, a display content program corresponding to the instruction is created by using the image block. Is done. Further, since image blocks are extracted for a plurality of instructions, processing efficiency can be improved. Furthermore, since the display content program is created using the extracted image blocks, the inconvenience that the image block corresponding to the command is not reflected in the display content program can be solved.

【0018】前記のエディタ装置においては、上記抽出
手段が、抽出した画像ブロックを上記表示内容プログラ
ムの1画面単位で登録することが好ましい。登録された
1画面単位の画像ブロックを用いることによって、1画
面分の表示内容プログラムが制御手順プログラムのどの
部分に対応するかを意識することなく表示内容プログラ
ムを作成することができる。
In the above-described editor device, it is preferable that the extracting means registers the extracted image blocks in units of one screen of the display content program. By using the registered image blocks in units of one screen, a display content program can be created without being conscious of which part of the control procedure program corresponds to the display content program for one screen.

【0019】しかも、このエディタ装置においては、上
記抽出手段が、単一の上記制御手順プログラムについて
一括して画像ブロックを抽出することが好ましい。この
ように一括して画像ブロックを抽出することにより、抽
出処理に要する時間を短縮することができる。
Further, in this editor apparatus, it is preferable that the extracting means extracts the image blocks collectively for the single control procedure program. By extracting the image blocks collectively in this way, the time required for the extraction processing can be reduced.

【0020】あるいは、前記のエディタ装置において
は、上記抽出手段が、上記命令についての属性情報を画
像ブロックと併せて抽出することが好ましい。これによ
り、属性情報のみを再入力するという手間を省くことが
できる。
Alternatively, in the above-mentioned editor device, it is preferable that the extracting means extracts attribute information on the command together with an image block. This can save the trouble of re-inputting only the attribute information.

【0021】本発明のエディタプログラムが記録された
記録媒体は、制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とを含むエディタプログラムを記録したコンピュ
ータ読み取り可能な記録媒体であって、前記の課題を解
決するために、上記エディタプログラムが、上記制御手
順プログラムを構成するための命令を上記表示内容プロ
グラムを構成するための画像ブロックに予め対応付ける
とともに、上記第2エディタ処理によって作成された上
記制御手順プログラムに含まれる命令に対応する画像ブ
ロックを複数の命令について抽出する抽出処理を含んで
いることを特徴としている。
[0021] 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 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 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 defining a control procedure program in response to an input operation on a second editor screen. In order to solve the above problem, the editor program configures the display content program with instructions for configuring the control procedure program. With associating in advance in the image block because, being characterized in that it comprises an extraction process for extracting an image block corresponding to the instructions contained in the control procedure program created by the second editor processing for a plurality of instructions.

【0022】この記録媒体を用いると、本発明のエディ
タ装置と同様、抽出処理によって、画像ブロックが複数
の命令について抽出されるので、処理効率が向上すると
ともに、命令に対応する画像ブロックが表示内容プログ
ラムに反映されないという不都合が解消される。
When this recording medium is used, an image block is extracted for a plurality of instructions by an extraction process, similar to the editor apparatus of the present invention, so that the processing efficiency is improved and the image blocks corresponding to the instructions are displayed. The inconvenience of not being reflected in the program is eliminated.

【0023】本発明のエディタプログラムが記録された
他の記録媒体は、制御対象機器の状態を表示する表示機
能部と、該制御対象機器の動作を制御する制御機能部と
を有する表示/制御システムを対象として、上記表示機
能部が実行する表示の内容を定めるための表示内容プロ
グラムを第1エディタ画面上での入力操作に応じて作成
する第1エディタ処理または上記制御機能部が実行する
制御の手順を定めるための制御手順プログラムを第2エ
ディタ画面上での入力操作に応じて作成するための第2
エディタ処理のいずれか一方を含むエディタプログラム
が記録されたコンピュータ読み取り可能な記録媒体であ
って、前記の課題を解決するために、上記エディタプロ
グラムが、上記制御手順プログラムを構成するための命
令を上記表示内容プログラムを構成するための画像ブロ
ックに予め対応付けるとともに、上記第2エディタ処理
によって作成された上記制御手順プログラムに含まれる
命令に対応する画像ブロックを複数の命令について抽出
する抽出処理を含んでいることを特徴としている。
Another recording medium in which the editor program of the present invention is recorded has 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 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 in which an editor program including any one of the editor processes is recorded. In order to solve the above-described problem, the editor program includes an instruction for configuring the control procedure program. It includes an extraction process of associating in advance with an image block for forming a display content program and extracting an image block corresponding to an instruction included in the control procedure program created by the second editor process for a plurality of instructions. It is characterized by:

【0024】この記録媒体を用いれば、前記の記録媒体
と同様、抽出処理によって、画像ブロックが複数の命令
について抽出されるので、処理効率が向上するととも
に、命令に対応する画像ブロックが表示内容プログラム
に反映されないという不都合が解消される。さらに、こ
の記録媒体によれば、第1または第2エディタ処理のい
ずれか一方とプログラム生成処理とを含んでいる2種類
のエディタプログラム、すなわち第1または第2エディ
タプログラムを提供することができる。
When this recording medium is used, similar to the above-mentioned recording medium, an image block is extracted for a plurality of instructions by the extraction processing, so that the processing efficiency is improved and the image blocks corresponding to the instructions are displayed in the display content program. The inconvenience of not being reflected in the data is resolved. 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 program generation process, that is, the first or second editor program.

【0025】上記の両記録媒体では、上記抽出処理が、
抽出した画像ブロックを上記表示内容プログラムの1画
面単位で登録することが好ましい。このような処理を行
うことによって、前述のエディタ装置と同様、1画面分
の表示内容プログラムが制御手順プログラムのどの部分
に相当するかを意識することなく表示内容プログラムを
作成することができる。
In the above two recording media, the extraction processing
It is preferable that the extracted image blocks are registered for each screen of the display content program. By performing such processing, a display content program can be created without being conscious of which part of the control procedure program the display content program for one screen corresponds to, similarly to the above-described editor device.

【0026】しかも、このような記録媒体では、上記抽
出処理が、単一の上記制御手順プログラムについて一括
して画像ブロックを抽出することが好ましい。このよう
な処理を行うことによって、前述のエディタ装置と同
様、抽出処理に要する時間を短縮することができる。
In addition, in such a recording medium, it is preferable that the extraction process collectively extracts image blocks for the single control procedure program. By performing such processing, it is possible to reduce the time required for the extraction processing as in the case of the above-described editor device.

【0027】あるいは、上記の両記録媒体では、上記抽
出処理が、上記命令についての属性情報を画像ブロック
と併せて抽出することが好ましい。このように構成する
ことによって、前述のエディタ装置と同様、属性情報の
みを再入力するという手間を省くことができる。
Alternatively, in the above two recording media, it is preferable that the extraction process extracts attribute information on the command together with an image block. With such a configuration, it is possible to save the trouble of re-inputting only the attribute information as in the above-described editor device.

【0028】[0028]

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

【0029】本実施の形態に係る表示/制御システム
は、様々な構成が考えられるが、ここでは、第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.

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

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

【0032】メモリ部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.

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

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

【0035】図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.

【0036】CPU11は、前述のFEPROM12b
に格納された表示制御システムプログラムにしたがっ
て、プログラマブル表示器1の各部の動作を制御する。
また、CPU11は、後述するメンテナンスポート18
を介しての後述するコンピュータ装置3との通信を制御
する機能を有しており、作画エディタ32bからの画面
データを受け取るとFEPROM12bに格納したり、
ラダーエディタ32aからのラダープログラム(制御手
順プログラム)を受け取るとPLC2に転送したりす
る。
The CPU 11 is connected to the aforementioned 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 (control procedure program) is received from the ladder editor 32a, it is transferred to the PLC 2.

【0037】VRAM13は、ディスプレイ14に表示
される画面のイメージを一時的に保持するメモリであ
り、FEPROM12bからの画面データのイメージを
水平方向に表示される順にドットデータとして格納して
いる。
The VRAM 13 is a memory for temporarily holding 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.

【0038】ディスプレイ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.

【0039】メンテナンスポート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). .

【0040】制御機能部としてのPLC2は、内蔵する
CPU部によって、後述する制御機能プログラムにした
がい、ラダーエディタ32aで作成されたラダープログ
ラムで定められた手順で、入出力機器4…の動作を制御
する。
The PLC 2 serving as a control function unit controls the operation of the input / output devices 4... By a built-in CPU unit according to a control function program described later, in accordance with a procedure defined by a ladder program created by a ladder editor 32a. I do.

【0041】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.

【0042】プログラマブル表示器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.

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

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

【0045】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).

【0046】次いで、各事象の表示処理を実行する(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.

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

【0048】図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.

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

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

【0051】エディタ部32は、ラダーエディタ32
a、作画エディタ32bおよびラダー解析部32cを含
んでいる。
The editor unit 32 is a ladder editor 32
a, a drawing editor 32b and a ladder analyzer 32c.

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

【0053】なお、ラダーエディタ32aは、ユーザ画
面の1画面分単位でラダープログラムを作成するページ
モードを提供できるように構成されていてもよい。この
ページモードでラダープログラムを作成する際に、1ペ
ージ分のラダープログラムは、作成される毎に個別のフ
ァイルに保存される。このため、ラダーエディタ32a
には、1ページ毎にラダープログラムを保存するための
ユーザインターフェース(例えば、ダイアログボック
ス)が用意されている。
Note that the ladder editor 32a may be configured to provide a page mode for creating a ladder program in units of one user screen. When creating a ladder program in this page mode, the ladder program for one page is saved in a separate file each time it is created. Therefore, the ladder editor 32a
Provides a user interface (eg, a dialog box) for saving a ladder program for each page.

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

【0055】割り付けを行う際、メモリ部34には、入
力番号および出力番号をそれぞれアドレスとして、各ア
ドレスに対応するデバイス名が格納される。従来、この
ような割り付けは、PLCのメーカによって異なってお
り、絶対アドレスで設定されるので、メーカに応じたメ
モリテーブルを用意する必要がある。ただし、IECに
準拠した本ラダーエディタ32aは、上記の変数(自由
変数)によってユーザが入出力を決定できるので、上記
のようなメモリテーブルは不要である。また、一度決定
した割り付けも、後に変更することができる。
At the time of allocation, the memory unit 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, in the ladder editor 32a conforming to the IEC, the user can determine the input / output based on the above-mentioned variables (free variables), so that the memory table as described above is unnecessary. Also, the assignment once determined can be changed later.

【0056】ラダーエディタ32aで作成されたラダー
プログラムは、プログラマブル表示器1を介して(また
は直接)PLC2に転送され、PLC2内のメモリにダ
ウンロードされる。
The ladder 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.

【0057】第1エディタ手段としての作画エディタ3
2bは、プログラマブル表示器1が、入出力機器4…の
稼働状況や作業指示のような管理のための各種のモニ
タ、機器に対する設定値を入力する端末としての機能を
備えるように、ディスプレイ14に表示させる画面を作
成する画面作成ソフトウェアである。
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.

【0058】一般に、作画エディタ32bは、ユーザ独
自の画面(ユーザ画面)を作成できるように、スイッ
チ、ランプ、テンキー、各種表示器(例えば、数値表示
器、メータ表示器およびグラフ表示器)などの部品、描
画機能、テキスト入力機能などを備えている。部品とし
ては、単一の機能を有する単一部品だけでなく、複数の
機能を有する、複合スイッチ、カウンタ、タイマといっ
た複合部品が用意されている。このような複合は、単一
部品と同様、ドラッグ&ドロップなどの操作によってベ
ース画面の所望の位置に配置できるようにライブラリ形
式で登録されている。
In general, the drawing editor 32b includes a switch, a lamp, a numeric keypad, various displays (for example, a numerical display, a meter display, and a graph display) so that a user-specific screen (user screen) can be created. It has parts, drawing function, text input function, etc. As the components, not only a single component having a single function but also a composite component having a plurality of functions, such as a composite switch, a counter, and a timer, are prepared. Such a composite is registered in a library format so that it can be arranged at a desired position on the base screen by an operation such as drag and drop like a single component.

【0059】また、作画エディタ32bは、作成された
画面に配置された部品の各入出力機器4に対する前記の
入出力番号(アドレス)を前記の変数を介して割り付け
る。
The drawing editor 32b assigns the input / output numbers (addresses) of the components arranged on the created screen to the input / output devices 4 via the variables.

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

【0061】抽出手段としてのラダー解析部32cは、
ラダーエディタ32aを用いたユーザの操作によって作
成されたラダープログラムに含まれるラダー命令を個々
に解析し、各ラダー命令に対応付けられた作画エディタ
32bの部品を1つのラダープログラムについて一括し
て抽出して、ユーザ画面単位で後述の部品ファイル33
cに登録する。ラダー命令は、対応する部品が概ね決ま
っており、ラダー解析部32cは、そのような対応付け
をデータとして持っている。具体的には、図5に示すよ
うに、a接点を表すラダー命令であるLD命令およびA
ND命令については、スイッチ、センサ(ON/OFF
型)などの部品が対応付けられ、b接点を表すラダー命
令であるLDN命令およびANDN命令についても、同
様にスイッチ、センサなどの部品が対応付けられる。ま
た、コイル出力を表すラダー命令であるOUT命令につ
いては、ランプ、LEDなどの部品が対応付けられてい
る。
The ladder analysis unit 32c as an extraction means
Ladder instructions included in the ladder program created by the user's operation using the ladder editor 32a are individually analyzed, and the parts of the drawing editor 32b associated with each ladder instruction are collectively extracted for one ladder program. And a component file 33 described later for each user screen.
Register in c. The ladder command generally has a corresponding component, and the ladder analysis unit 32c has such a correspondence as data. Specifically, as shown in FIG. 5, an LD instruction and a A
For ND command, switch, sensor (ON / OFF
And the ladder instruction representing the b-contact, the LDN instruction and the ANDN instruction are also associated with components such as switches and sensors. In addition, a component such as a lamp and an LED is associated with an OUT command that is a ladder command representing a coil output.

【0062】ラダー解析部32cによるラダー命令の解
析は、ラダー解析部32cに設けられた図15に示すキ
ーワード検出部32c1 および部品抽出部32c2 によ
って行われる。キーワード検出部32c1 は、ラダー命
令に関連付けられたキーワードを、ラダー図における入
力母線側から出力母線側に、かつステップ順に順次ラダ
ープログラムから検出する。一方、部品抽出部32c2
は、検出されたキーワードに対応する部品を基本部品デ
ータベース32b2 から抽出する。また、この部品抽出
部32c2 は、抽出された部品とベース画面とを対応付
けるために、ベース画面毎に実行される事象の情報を含
む前述の処理指示語Wをタグとして、抽出された部品に
タグを書き込む。上記の基本部品データベース32b2
は、スイッチ、ランプ、カウンタなどの基本部品の画像
データを格納するデータベースであって、作画エディタ
32bに設けられている。
[0062] Analysis of the ladder instruction by ladder analyzing unit 32c is performed by the keyword detection unit 32c 1 and the component extracting unit 32c 2 shown in Fig. 15 provided in the ladder analyzing section 32c. Keyword detection unit 32c 1 is a keyword associated with the ladder commands, from the input bus side to the output bus side in the ladder diagram, and detecting the sequence ladder program step by step. On the other hand, the component extraction unit 32c 2
Extracts a component corresponding to the detected keyword from the basic component database 32 b 2. Further, in order to associate the extracted component with the base screen, the component extraction unit 32c 2 uses the above-described processing instruction word W including information of an event executed for each base screen as a tag, and Write the tag. The above basic parts database 32b 2
Is a database that stores image data of basic components such as switches, lamps, counters, and the like, and is provided in the drawing editor 32b.

【0063】キーワードの設定方法としては、例えば図
6(a)に示すように、ラダー命令そのものをキーワー
ドとする方法や、図6(b)に示すように、ラダー命令
に割り付けられた変数にキーワードを付属させる方法な
どがある。図6(a)の方法では、LD命令、AND命
令およびOUT命令がそれぞれ変数“START”、
“SW1”および“LAMP1”に割り付けられるとと
もに、各命令がキーワードとして設定されている。この
方法によれば、キーワードを別途設定する必要がない。
一方、図6(b)の方法では、上記の変数“STAR
T”および“SW1”にスイッチを意味するキーワード
“SW”が付属されて、それぞれ“SW:START”
および“SW:SW1”となり、“LAMP1”にラン
プを意味するキーワード“LAMP”が付属されて“L
AMP:LAMP1”となる。この方法によれば、キー
ワードに部品としての機能属性を持たせることができ
る。
As a method of setting a keyword, for example, as shown in FIG. 6A, a ladder instruction itself is used as a keyword, or as shown in FIG. 6B, a keyword is assigned to a variable assigned to the ladder instruction. There is a way to attach. In the method shown in FIG. 6A, the LD instruction, the AND instruction, and the OUT instruction each include a variable “START”,
In addition to being assigned to “SW1” and “LAMP1”, each instruction is set as a keyword. According to this method, there is no need to separately set a keyword.
On the other hand, in the method of FIG.
A keyword "SW" meaning a switch is attached to "T" and "SW1", and "SW: START"
And “SW: SW1”, and a keyword “LAMP” indicating a lamp is attached to “LAMP1”, and “L:
AMP: LAMP1 ". According to this method, the keyword can have a function attribute as a component.

【0064】ところで、ラダー解析部32cは、スイッ
チのビットデータのような、ラダー命令と部品とを関連
付けるリンク情報や、ラダー命令個々にユーザによって
付与されたコメントなどの付帯情報も部品と併せて抽出
して部品ファイル33cに登録する。また、ラダー解析
部32cは、ラダー命令に対応するデバイスに割り付け
られたアドレスおよびラダー命令に対応するPLC2の
処理機能(カウンタ、タイマ、比較、各種の演算など)
に設定される設定値などのデータを変数とともに変数情
報として部品ファイル33cに登録する。
The ladder analysis unit 32c also extracts link information, such as bit data of a switch, for associating a ladder command with a component, and additional information, such as a comment given by the user to each ladder command, together with the component. And register it in the component file 33c. Further, the ladder analysis unit 32c is provided with an address assigned to a device corresponding to the ladder instruction and a processing function of the PLC 2 corresponding to the ladder instruction (counter, timer, comparison, various operations, etc.).
Is registered in the component file 33c as variable information together with variables.

【0065】上記の処理機能は、PLC2だけでなく、
PLCとして機能する後述の第2の表示/制御システム
におけるプログラマブル表示器1および第3の表示/制
御システムにおけるコンピュータ装置3も備えている。
また、上記の付帯情報は、変数と兼ねて設定されていて
もよい。
The above processing functions are available not only for the PLC 2,
It also includes a programmable display 1 in a second display / control system, which will be described later, which functions as a PLC, and a computer device 3 in a third display / control system.
Further, the above-mentioned supplementary information may be set also as a variable.

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

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

【0068】エディタ部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.

【0069】なお、エディタ部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.

【0070】上記のプログラムメディアは、磁気テープ
やカセットテープなどのテープ系、フロッピディスクや
ハードディスクなどの磁気ディスク系、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.

【0071】また、コンピュータ装置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.

【0072】データファイル33は、ラダーファイル3
3a、作画ファイル33bおよび部品ファイル33cを
含んでいる。
The data file 33 is the ladder file 3
3a, a drawing file 33b and a parts file 33c.

【0073】データファイル33においては、例えば、
図7に示すように、ラダープログラムがラダーファイル
33aに格納され、ユーザ画面が画面ファイル33bに
格納される。ラダーファイル33aは、コマンドファイ
ル部33a1 および変数データファイル部33a2 から
構成されている。コマンドファイル部33a1 は、入力
されたラダー記号に対応するラダー命令およびオペラン
ドを格納し、変数データファイル部33a2 は、コマン
ドファイル部33a1 に対応するように、上記のラダー
命令について、デバイスの変数およびアドレスを格納し
ている。
In the data file 33, for example,
As shown in FIG. 7, the ladder program is stored in the ladder file 33a, and the user screen is stored in the screen file 33b. Ladder file 33a is composed of a command file section 33a 1 and the variable data file section 33a 2. Command file section 33a 1 stores ladder instructions and operands corresponding to the ladder symbol is entered, the variable data file section 33a 2 so as to correspond to the command file section 33a 1, the ladder instructions above, the device Stores variables and addresses.

【0074】画面ファイル33bは、図8に示すよう
に、図形データファイル部33b1 および変数データフ
ァイル部33b2 から構成されている。図形データファ
イル部33b1 は、部品、各種の図形(円、ライン、四
角形)、テキスト(文字列)などについてのデータを格
納している。変数データファイル部33b2 は、図形デ
ータファイル部33b1 に対応するように、入力された
部品について、デバイスの変数およびアドレスを格納し
ている。
[0074] screen file 33b, as shown in FIG. 8, and a graphic data file section 33b 1 and the variable data file section 33b 2. Graphic data file section 33b 1 is, parts, various shapes (circle, line, rectangle), and stores the data for such as text (string). Variable data file section 33b 2 so as to correspond to the graphic data file section 33b 1, the input part, and stores the variables and address of the device.

【0075】部品ファイル33cは、図9(a)に示す
ように、前述のラダー解析部32cによって抽出された
部品のデータをユーザ画面(一画面単位)で格納するこ
とによって部品データベースを形成している。また、部
品ファイル33cは、前述のリンク情報、付帯情報およ
び変数情報を関連情報(属性情報)として各部品のデー
タ毎に格納している。
As shown in FIG. 9A, the component file 33c forms a component database by storing the data of the components extracted by the ladder analysis unit 32c in a user screen (one screen unit). I have. The component file 33c stores the above-described link information, supplementary information, and variable information as related information (attribute information) for each data of each component.

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

【0079】SRAM12cは、ラダーエディタ32a
によって作成された変数を格納するエリアを有してい
る。また、FEPROM12bは、PLC機能を備える
ために、図11に示すように、表示制御システムプログ
ラムと、通信プロトコルと、ユーザ画面とをそれぞれ格
納するエリアに加えて、制御機能プログラムとラダープ
ログラムとをそれぞれ格納するエリアを有している。制
御機能プログラムは、シーケンス制御の基本機能を実現
するためのプログラムである。
The SRAM 12c has a ladder editor 32a.
It has an area for storing the variables created by. Further, as shown in FIG. 11, the FEPROM 12b includes a display control system program, a communication protocol, and an area for storing a user screen, and further includes a control function program and a ladder 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】図12に示す第3表示/制御システムは、
ソフトウェアで動作するいわゆるオープンコントローラ
(ソフトウェアPLC)を中心として構成されている。
The third display / control system shown in FIG.
The configuration is centered on a so-called open controller (software PLC) that operates with 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と
同様、図11に示すように、表示制御システムプログラ
ムと、通信プロトコルと、画面データと、制御機能プロ
グラムと、ラダープログラムとをそれぞれ格納するエリ
アを有している。
As shown in FIG. 11, the memory section 34 has areas for storing a display control system program, a communication protocol, screen data, a control function program, and a ladder program, respectively, as in the above-described SRAM 12c. are doing.

【0088】このように構成されるコンピュータ装置3
は、入出力機器4…が配備されたターゲットシステムの
運転時(オンライン状態)では、作成された画面や現場
の様子をディスプレイ35に表示させることによってタ
ーゲットシステムの運転状況を監視するモニタとして機
能するとともに、ターゲットシステムにおける入出力機
器4…の制御を行う。このとき、コンピュータ装置3
は、ラダーエディタ32aで作成され、データファイル
33に格納されているラダープログラムを、制御機能プ
ログラムにしたがって実行する。一方、コンピュータ装
置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 ladder program created by the ladder editor 32a and stored in the data file 33 according to the control function program. On the other hand, the computer device 3 functions as an editor device for creating a ladder 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および第2の表示/制御システムで
は、ラダープログラムおよびユーザ画面が、一旦データ
ファイル33に格納された後、それぞれPLC2および
プログラマブル表示器1にダウンロードされ、メモリに
格納される。第2の表示/制御システムでは、あるい
は、ラダープログラムおよびユーザ画面が、一旦データ
ファイル33に格納された後、プログラマブル表示器1
にダウンロードされ、メモリ部12に格納される。第3
の表示/制御システムでは、ラダープログラムおよびユ
ーザ画面がデータファイル33に格納される。
In the first and second display / control systems, the ladder 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. In the second display / control system, or after the ladder program and the user screen are once stored in the data file 33, the programmable display 1
And stored in the memory unit 12. Third
In the display / control system of, the ladder program and the user screen are stored in the data file 33.

【0090】ここで、第1ないし第3の表示/制御シス
テムにおいて、ラダープログラムの作成からユーザ画面
の作成に至る処理手順について、図13のフローチャー
トを参照して説明する。
Here, a processing procedure from creation of a ladder program to creation of a user screen in the first to third display / control systems will be described with reference to a flowchart of FIG.

【0091】ラダープログラムを作成する際には、コン
ピュータ装置3において、ラダーエディタ32aが起動
されており、ディスプレイ35の表示部35a(図16
(a)参照)には、ラダープログラム作成用のエディタ
画面(第2エディタ画面)を表示するウインドウ(以
降、ラダーウインドウと称する)32a1 が開いてい
る。また、ユーザ画面を作成する際には、作画エディタ
32bが起動されており、ユーザ画面作成用のエディタ
画面(第1エディタ画面)を表示するウインドウ(以
降、作画ウインドウと称する)32b1 が開いている。
When the ladder program is created, the ladder editor 32a is activated in the computer device 3 and the display unit 35a of the display 35 (FIG. 16).
The (a) refer), the editor screen for creating a ladder program (second editor screen) for displaying a window (hereinafter, referred to as ladder window) 32a 1 is opened. Also, when creating the user screen is the screen editor 32b is started, a window for displaying an editor screen for creating user screen (first editor screen) (hereinafter, referred to as drawing window) 32b 1 is opened I have.

【0092】まず、ラダーウインドウ32a1 上にて、
ユーザの操作によってラダープログラムが作成される
(S11)。このラダープログラムは、作成後にラダー
ファイル33aに登録される。次いで、ラダー解析部3
2cによって、ラダーファイル33aを参照しながら、
ラダープログラムにおけるラダー命令を順次解析してラ
ダー命令に対応した部品データベースを作成する(S1
2)。さらに、作画エディタ32bによって、その部品
データベースを用いてユーザ画面を作成し(S13)、
作成されたユーザ画面を画面ファイル33bに登録して
(S14)、処理を終える。
[0092] First, in the ladder window 32a 1 above,
A ladder program is created by a user operation (S11). This ladder program is registered in the ladder file 33a after being created. Next, the ladder analysis unit 3
By referring to the ladder file 33a by 2c,
A ladder instruction in the ladder program is sequentially analyzed to create a parts database corresponding to the ladder instruction (S1).
2). Further, a user screen is created by the drawing editor 32b using the component database (S13).
The created user screen is registered in the screen file 33b (S14), and the process ends.

【0093】続いて、上記の部品データベース作成処理
の具体的な手順について図14のフローチャートおよび
図15のブロック図を参照して説明する。
Next, a specific procedure of the above component database creation processing will be described with reference to the flowchart of FIG. 14 and the block diagram of FIG.

【0094】まず、ラダーファイル33cに格納されて
いる複数のラダープログラムから部品データベースを作
成すべきラダープログラムAのファイルを開く(S2
1)。このファイルをキーワード検出部32c1 による
キーワード検出が可能か否かを判断し(S22)、可能
である場合はキーワードの検出を行う(S23)。ラダ
ープログラムにキーワードの設定がされていないなどの
理由でキーワードの検出が可能でない場合は、処理をS
28に移行させる。
First, a file of a ladder program A for which a component database is to be created from a plurality of ladder programs stored in the ladder file 33c is opened (S2).
1). This file to determine whether it is possible to keyword detection by the keyword detection unit 32c 1 (S22), if it is possible to detect the keyword (S23). If the keyword cannot be detected because the keyword has not been set in the ladder program, the process proceeds to S
Move to 28.

【0095】次いで、部品抽出部32c2 によって、基
本部品データベース32b2 にアクセスし(S24)、
ラダー命令に対応する部品を、検出されたキーワードに
基づいて基本部品データベース32b2 から抽出すると
ともに、抽出された部品にタグを書き込む(S25)。
このようにして抽出された部品をラダーファイル33c
に登録して、タグによって1画面毎に区別された部品デ
ータベース(図9(a)参照)を作成する(S26)。
Next, the component extracting section 32c 2 accesses the basic component database 32b 2 (S24).
The part corresponding to the ladder instruction is extracted from the basic component database 32 b 2 based on the detected keywords, writes the tag extracted part (S25).
The parts extracted in this way are stored in the ladder file 33c.
And creates a component database (see FIG. 9A) distinguished for each screen by a tag (S26).

【0096】そして、関連情報を作成するとともに部品
ファイル33cに登録する(S27)。さらに、次のフ
ァイルについてS21ないしS27の処理を行うか否か
を判断する(S28)。次のファイルについて上記のS
21ないしS27の処理を行わない場合は、部品データ
ベースの作成が終了したことになる。
Then, related information is created and registered in the component file 33c (S27). Further, it is determined whether or not the processing of S21 to S27 is performed for the next file (S28). S above for the next file
If the processing from 21 to S27 is not performed, it means that the creation of the component database has been completed.

【0097】この部品データベースを用いてユーザ画面
を作成する際には、作画エディタ32bのエディタ本体
32b3 が部品データベースを参照しながら、ベース画
面にラダー命令に対応した部品を配置していく。作成さ
れたユーザ画面は、画面ファイル33bに格納される。
[0097] When creating a user screen using the component database, while editor body 32b 3 of the screen editor 32b refers to the component database, continue to place components corresponding to ladder instructions based screen. The created user screen is stored in the screen file 33b.

【0098】ここで、上記の処理の具体例について説明
する。
Here, a specific example of the above processing will be described.

【0099】まず、図16(a)に示すように、ラダー
ウインドウ32a1 上でラダープログラムが作成され
る。このラダープログラムは、スイッチ(SW1)およ
びランプ(LAMP1)が配されたステップ1、スイッ
チ(SW2)およびカウンタ(COUNTER)が配さ
れたステップ2、押しボタンスイッチ(PB1)および
LED(LED1)が配されたステップ3、および押し
ボタンスイッチ(PB2)およびLED(LED2)が
配されたステップ4を含んでいる。
[0099] First, as shown in FIG. 16 (a), the ladder program is created on the ladder window 32a 1. This ladder program includes a step 1 provided with a switch (SW1) and a lamp (LAMP1), a step 2 provided with a switch (SW2) and a counter (COUNTER), a push button switch (PB1) and an LED (LED1). Step 3 provided, and Step 4 provided with a push button switch (PB2) and an LED (LED2).

【0100】この状態で、ラダー解析部32cが上記の
S21ないしS28の処理を行った結果、ステップ1な
いし4を含む1つのラダープログラムについての部品デ
ータベースが作成される。次いで、作画エディタ32b
によってユーザ画面を作成する際には、上記の部品デー
タベースを参照する。具体的には、図16(b)に示す
ように、作画ウインドウ32b1 にプルダウンメニュー
Mを表示させる。例えば、このプルダウンメニューMか
らスイッチを表す“SW”が選択されると、図16
(c)に示すように、“SW1”および“SW2”にそ
れぞれ対応するスイッチの部品P1 ・P2 を含むダイア
ログボックスDが表示される。
In this state, as a result of the ladder analysis section 32c performing the above-described processing of S21 to S28, a parts database for one ladder program including steps 1 to 4 is created. Next, the drawing editor 32b
When the user screen is created by the user, the above component database is referred to. Specifically, as shown in FIG. 16 (b), to display a pull-down menu M to drawing window 32 b 1. For example, when “SW” representing a switch is selected from the pull-down menu M, FIG.
As shown in (c), a dialog box D including switch components P 1 and P 2 respectively corresponding to “SW1” and “SW2” is displayed.

【0101】このダイアログボックスDからSW1の部
品P1 が選択されると、図16(d)に示すように、部
品P1 が作画ウインドウ32b1 上に配置され、SW2
の部品P2 が選択されると、部品P2 が同様に配置され
る。このような操作をプルダウンメニューMから選択さ
れた“LAMP”および“COUNTER”についても
行うと、図16(e)に示すように、“LAMP”およ
び“COUNTER”にそれぞれ対応する部品P3 ・P
4 が作画ウインドウ32b1 上に配置される。この結
果、ステップ1および2のラダープログラムについて1
画面分の部品の配置が完了する。図示はしないが、ステ
ップ3および4のラダープログラムについても、同様に
1画面分の部品の配置が行われる。
[0102] When the component P 1 of SW1 from this dialog box D is selected, as shown in FIG. 16 (d), the component P 1 is placed on the drawing window 32 b 1, SW2
When the component P 2 is selected, the component P 2 are arranged similarly. When such an operation is also performed for “LAMP” and “COUNTER” selected from the pull-down menu M, as shown in FIG. 16E, the components P 3 and P corresponding to “LAMP” and “COUNTER” respectively.
4 is disposed on the drawing window 32 b 1. As a result, for the ladder program of steps 1 and 2, 1
The arrangement of parts for the screen is completed. Although not shown, components for one screen are similarly arranged for the ladder programs in steps 3 and 4.

【0102】また、図16(e)に示すように、部品P
1 〜P4 とともに、ラダー記号の近傍に表示されていた
“SW1”、“SW2”、“LAMP”および“COU
NTER”は、前述の付帯情報として部品データベース
に取り込まれ、部品P1 〜P 4 を配置する際に、それぞ
れユーザ画面において部品P1 〜P4 とともに銘板とし
て必要に応じて表示される。また、この付帯情報は、変
数を兼ねていてもよい。これにより、ラダーエディタ3
2aで入力する情報数を削減することができる。
Further, as shown in FIG.
1~ PFourTogether with the ladder symbol
“SW1”, “SW2”, “LAMP” and “COU”
NTER ”is a parts database as the additional information described above.
And the part P1~ P FourWhen placing
On the user screen1~ PFourTogether with a nameplate
Will be displayed as needed. This collateral information is
The number may also be used. With this, Ladder Editor 3
2a, the number of pieces of information to be input can be reduced.

【0103】以上に述べたように、本実施の形態に係る
第1ないし第3の表示/制御システムでは、ラダー解析
部32cを備えることによって、1つのラダープログラ
ムに対応した部品データベースが一括して予め作成され
る。これにより、ユーザは、この部品データベースに基
づいて作画ウインドウ32b1 に部品を配置することに
よりユーザ画面を作成する。このように、ラダー解析部
32cによって一括して作成された部品データベースを
用いてユーザ画面を作成するので、効率的に処理を行う
ことができる。しかも、ラダー命令に対応した部品をユ
ーザ画面の作成に用いるので、ラダー命令に対応した部
品であるにも関わらずユーザ画面の作成に反映されない
という不都合は生じない。
As described above, the first to third display / control systems according to the present embodiment are provided with the ladder analyzing section 32c, so that the component database corresponding to one ladder program is collectively provided. Created in advance. Thus, the user creates a user screen by placing the part in drawing windows 32 b 1 based on the component database. As described above, since the user screen is created using the component database created by the ladder analysis unit 32c collectively, processing can be performed efficiently. In addition, since a component corresponding to the ladder command is used for creating the user screen, there is no inconvenience that the component is not reflected in the creation of the user screen even though it is a component corresponding to the ladder command.

【0104】また、部品データベースがユーザ画面の1
画面毎に作成されるので、ユーザは、ラダープログラム
のどの部分がユーザ画面の1画面分に相当するかを意識
することなく操作することができる。それゆえ、ユーザ
画面の作成効率を向上させることができる。
Also, the parts database is stored in the
Since it is created for each screen, the user can operate the ladder program without being conscious of which part of the ladder program corresponds to one screen of the user screen. Therefore, the creation efficiency of the user screen can be improved.

【0105】さらに、ラダー解析部32cが、部品デー
タベースを作成することによってラダー命令の情報を作
画エディタ32bに供給するだけでなく、関連情報もラ
ダープログラムから抽出して作画エディタ32bに供給
する。これにより、関連情報のみを作画エディタ32b
で再入力するという手間を省くことができる。
Further, the ladder analysis section 32c not only supplies ladder command information to the drawing editor 32b by creating a parts database, but also extracts related information from the ladder program and supplies it to the drawing editor 32b. As a result, only the relevant information is stored in the drawing editor 32b
Can save the trouble of re-inputting.

【0106】続いて、前述のページモードでラダープロ
グラムが作成された場合の部品データベースの作成手順
について図15のブロック図および図17のフローチャ
ートを参照して説明する。
Next, a procedure for creating a parts database when a ladder program is created in the above-described page mode will be described with reference to the block diagram of FIG. 15 and the flowchart of FIG.

【0107】まず、ラダーファイル33cに格納されて
いる複数のラダープログラムにおける部品データベース
を作成すべき1つのラダープログラムからユーザ画面の
1画面に相当するページ毎にファイルを開く(S3
1)。このとき、図15におけるラダープログラムAの
代わりに、例えば、図18(a)に示すような1ページ
単位で分割して作成された部分ラダープログラム(ペー
ジプログラム)のファイルが開かれる。このファイルを
キーワード検出部32c1 によるキーワード検出が可能
か否かを判断する(S32)。ここで、可能である場合
はキーワードの検出を行い(S33)、可能でない場合
は処理をS38に移行させる。
First, a file is opened for each page corresponding to one screen of the user screen from one ladder program for creating a component database in a plurality of ladder programs stored in the ladder file 33c (S3).
1). At this time, instead of the ladder program A in FIG. 15, for example, a file of a partial ladder program (page program) created by being divided in units of one page as shown in FIG. 18A is opened. This file to determine whether it is possible to keyword detection by the keyword detection unit 32c 1 (S32). Here, if it is possible, the keyword is detected (S33), and if not, the process proceeds to S38.

【0108】次いで、部品抽出部32c2 によって、基
本部品データベース32b2 にアクセスし(S34)、
ラダー命令に対応する部品を、検出されたキーワードに
基づいて基本部品データベース32b2 から抽出する
(S35)。このようにして抽出された部品をラダーフ
ァイル33cに登録して部品データベース(図9(b)
参照)を作成する(S36)。
Next, the component extracting unit 32c 2 accesses the basic component database 32b 2 (S34).
The part corresponding to the ladder instructions, extracting from the basic component database 32 b 2 based on the detected keyword (S35). The components thus extracted are registered in the ladder file 33c and stored in the component database (FIG. 9B).
(See S36).

【0109】そして、関連情報を作成するとともに部品
ファイル33cに登録する(S37)。さらに、次のペ
ージについてS31ないしS37の処理を行うか否かを
判断する(S38)。次のファイルについて上記のS3
1ないしS37の処理を行わない場合は、部品データベ
ースの作成が終了したことになる。
Then, related information is created and registered in the component file 33c (S37). Further, it is determined whether or not the processing of S31 to S37 is performed for the next page (S38). S3 above for the next file
If the processing from 1 to S37 is not performed, it means that the creation of the component database has been completed.

【0110】このようにページモードで作成されたラダ
ープログラムに基づいて作成された部品データベース
は、図9(b)に示すように、画面毎に独立してスクリ
ーンデータとして構築される。この部品データベースを
用いてユーザ画面を作成する際には、作画エディタ32
bのエディタ本体32b3 が部品データベースを参照し
ながら、ベース画面にラダー命令に対応した部品を配置
していく。そして、ラダープログラムの1ページ毎に対
応して作成されたユーザ画面(図18(a)および
(b)に示すScreen1および2など)は、画面ファイル
33bに格納される。
The component database created based on the ladder program created in the page mode as described above is constructed as screen data independently for each screen as shown in FIG. 9B. When creating a user screen using this parts database, the drawing editor 32
while b editor body 32 b 3 refers to the component database, it continues to place components corresponding to ladder instructions based screen. Then, the user screens (such as Screens 1 and 2 shown in FIGS. 18A and 18B) created for each page of the ladder program are stored in the screen file 33b.

【0111】また、このようにページモードでラダープ
ログラムが作成される際には、ラダー解析部32cによ
るラダー命令の解析から作画エディタ32bによる部品
配置までの処理を自動化してもよい。この処理は、具体
的には次のように行われる。
When the ladder program is created in the page mode, the processing from the analysis of the ladder instruction by the ladder analyzing section 32c to the component arrangement by the drawing editor 32b may be automated. This process is specifically performed as follows.

【0112】まず、部品データベースに登録された各ペ
ージ毎の部品のベース画面上での配置位置が予め設定さ
れており、ラダー解析部32cと作画エディタ32bと
が起動された状態でラダー解析処理を開始させる。ラダ
ー解析の結果として部品データベースが作成された状態
で、作画エディタ32bにおいて、ユーザから自動部品
配置の指示が入力されると、ベース画面の予め指定され
た位置に部品データベースの部品が配置されていく。さ
らに、必要に応じて、エディタ本体32b3 の操作によ
って、部品の位置を調整したり、基本部品以外の特殊な
部品の配置、図形描画、テキスト入力などの操作を行っ
たりしてユーザの所望の画面を完成させる。
First, the layout positions of the components for each page registered in the component database on the base screen are set in advance, and the ladder analysis process is performed with the ladder analysis unit 32c and the drawing editor 32b activated. Let it start. When the user inputs an automatic component placement instruction in the drawing editor 32b in a state where the component database is created as a result of the ladder analysis, the components of the component database are arranged at predetermined positions on the base screen. . Further, if necessary, by the operation of the editor body 32 b 3, to adjust the position of the component or arrangement of special components other than the basic component, drawing, desired of the user or performs an operation such as text input Complete the screen.

【0113】このように、部品の自動配置を行うことに
よって、ユーザは必要に応じて上記のように部品の配置
位置を変更するといった操作を行えばよい。それゆえ、
ユーザの作業負担を大幅に軽減することができる。ま
た、ページモードで作成されたラダープログラムから部
品データベースを作成する場合は、ラダープログラムが
ユーザ画面の1画面に対応して作成されるので、部品が
画面毎に抽出されることになる。したがって、通常のラ
ダープログラムから一括して部品データベースを作成す
る前述の場合のように、タグ書き込みの処理(図14の
S25参照)が不要になる。
As described above, by automatically arranging the parts, the user may change the arrangement position of the parts as necessary as described above. therefore,
Work load on the user can be greatly reduced. When a component database is created from a ladder program created in the page mode, the ladder program is created corresponding to one user screen, and components are extracted for each screen. Therefore, the tag writing process (see S25 in FIG. 14) is not required as in the case of creating the component database from the ordinary ladder program at once.

【0114】なお、本発明は、ラダー図だけではなく、
前述の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.

【0115】[0115]

【発明の効果】以上のように、本発明のエディタ装置
は、制御手順プログラムを構成するための命令を表示内
容プログラムを構成するための画像ブロックに予め対応
付けるとともに、第2エディタ手段によって作成された
上記制御手順プログラムに含まれる命令に対応する画像
ブロックを複数の命令について抽出する抽出手段を備え
ている構成である。
As described above, in the editor apparatus of the present invention, the command for forming the control procedure program is previously associated with the image block for forming the display content program, and the editor apparatus is prepared by the second editor means. The image processing apparatus includes an extraction unit that extracts an image block corresponding to an instruction included in the control procedure program for a plurality of instructions.

【0116】これによって、画像ブロックが複数の命令
について抽出されるので、処理効率が向上するととも
に、命令に対応する画像ブロックがもれなく表示内容プ
ログラムに反映される。したがって、効率よく、かつ正
確に表示内容プログラムを作成することができるという
効果を奏する。
As a result, since image blocks are extracted for a plurality of instructions, the processing efficiency is improved, and the image blocks corresponding to the instructions are completely reflected in the display content program. Therefore, there is an effect that a display content program can be created efficiently and accurately.

【0117】上記のエディタ装置においては、上記抽出
手段が、抽出した画像ブロックを上記表示内容プログラ
ムの1画面単位で登録することによって、1画面分の表
示内容プログラムに対応する制御手順プログラムの部分
を意識することなく表示内容プログラムを作成すること
ができる。したがって、表示内容プログラムの作成効率
をより向上させることができるという効果を奏する。
In the above-described editor device, the extracting means registers the extracted image blocks in units of one screen of the display content program, thereby saving a part of the control procedure program corresponding to the display content program for one screen. A display content program can be created without being conscious. Therefore, there is an effect that the creation efficiency of the display content program can be further improved.

【0118】しかも、このエディタ装置においては、上
記抽出手段が、単一の上記制御手順プログラムについて
一括して画像ブロックを抽出するので、抽出処理に要す
る時間を短縮することができる。したがって、効率的に
処理を行うことができるという効果を奏する。
Further, in this editor device, since the extracting means extracts the image blocks collectively for the single control procedure program, the time required for the extracting process can be reduced. Therefore, there is an effect that the processing can be performed efficiently.

【0119】あるいは、上記のエディタ装置において
は、上記抽出手段が、上記命令についての属性情報を画
像ブロックと併せて抽出するので、属性情報のみを再入
力するという手間が省かれる結果、作業工数の削減を図
ることができるという効果を奏する。
Alternatively, in the above-mentioned editor device, since the extracting means extracts attribute information on the command together with the image block, it is not necessary to re-input only the attribute information. The effect that reduction can be achieved is produced.

【0120】本発明のエディタプログラムが記録された
記録媒体は、エディタプログラムが、制御手順プログラ
ムを構成するための命令を表示内容プログラムを構成す
るための画像ブロックに予め対応付けるとともに、第2
エディタ処理によって作成された上記制御手順プログラ
ムに含まれる命令に対応する画像ブロックを複数の命令
について抽出する抽出処理を含んでいる構成である。
In the recording medium on which the editor program of the present invention is recorded, the editor program preliminarily associates an instruction for forming the control procedure program with an image block for forming the display content program,
The configuration includes an extraction process of extracting an image block corresponding to a command included in the control procedure program created by the editor process for a plurality of commands.

【0121】これによって、本発明のエディタ装置と同
様、画像ブロックが複数の命令について抽出されるの
で、処理効率が向上するとともに、命令に対応する画像
ブロックがもれなく表示内容プログラムに反映される。
したがって、効率よく、かつ正確に表示内容プログラム
を作成することができるという効果を奏する。
Thus, similarly to the editor device of the present invention, an image block is extracted for a plurality of instructions, so that the processing efficiency is improved and the image blocks corresponding to the instructions are completely reflected in the display content program.
Therefore, there is an effect that a display content program can be created efficiently and accurately.

【0122】本発明のエディタプログラムが記録された
他の記録媒体は、エディタプログラムが、表示内容プロ
グラムを第1エディタ画面上での入力操作に応じて作成
する第1エディタ処理または制御手順プログラムを第2
エディタ画面上での入力操作に応じて作成するための第
2エディタ処理のいずれか一方と、上記抽出処理とを含
んでいる構成である。
In another recording medium on which the editor program of the present invention is recorded, the editor program executes 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 accordance with the input operation on the editor screen and the extraction process.

【0123】これによって、前記の記録媒体と同様、画
像ブロックが複数の命令について抽出されるので、処理
効率が向上するとともに、命令に対応する画像ブロック
がもれなく表示内容プログラムに反映される。したがっ
て、効率よく、かつ正確に表示内容プログラムを作成す
ることができるという効果を奏する。さらに、この記録
媒体によれば、エディタプログラムが第1または第2エ
ディタ処理のいずれか一方と、プログラム生成処理を含
んでいるので、第1エディタ処理と第2エディタ処理と
が独立したエディタプログラムに含まれているような形
態であっても本発明を適用することができる。
As a result, similarly to the above-described recording medium, an image block is extracted for a plurality of instructions, so that the processing efficiency is improved and the image blocks corresponding to the instructions are completely reflected in the display content program. Therefore, there is an effect that a display content program can be created efficiently and accurately. Further, according to this recording medium, since the editor program includes either the first or second editor processing and the program generation processing, the first editor processing and the second editor processing become independent editor programs. The present invention can be applied to such a form.

【0124】上記の両記録媒体においては、上記抽出処
理が、抽出した画像ブロックを上記表示内容プログラム
の1画面単位で登録するので、前述のエディタ装置と同
様、1画面分の表示内容プログラムに対応する制御手順
プログラムの部分を意識することなく表示内容プログラ
ムを作成することができる。したがって、表示内容プロ
グラムの作成効率をより向上させることができるという
効果を奏する。
In the above two recording media, the extraction process registers the extracted image blocks in units of one screen of the display content program. A display content program can be created without being conscious of the part of the control procedure program to be executed. Therefore, there is an effect that the creation efficiency of the display content program can be further improved.

【0125】しかも、この記録媒体においては、上記抽
出処理が、単一の上記制御手順プログラムについて一括
して画像ブロックを抽出するので、前述のエディタ装置
と同様、抽出処理に要する時間を短縮することができ
る。したがって、効率的に処理を行うことができるとい
う効果を奏する。
Further, in this recording medium, since the extraction process extracts image blocks collectively for a single control procedure program, the time required for the extraction process can be reduced as in the above-described editor device. Can be. Therefore, there is an effect that the processing can be performed efficiently.

【0126】あるいは、上記の両記録媒体においては、
上記抽出処理が、上記命令についての属性情報を画像ブ
ロックと併せて抽出するので、前述のエディタ装置と同
様、属性情報のみを再入力するという手間が省かれる結
果、作業工数の削減を図ることができるという効果を奏
する。
Alternatively, in the above two recording media,
Since the extraction process extracts the attribute information of the command together with the image block, the labor of re-inputting only the attribute information is omitted as in the above-described editor device. As a result, the number of work steps can be reduced. It has the effect of being able to.

【図面の簡単な説明】[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】ラダー解析部がデータとして持っている、ラダ
ー命令と部品との対応付けを示す説明図である。
FIG. 5 is an explanatory diagram showing correspondence between ladder instructions and components, which the ladder analysis unit has as data.

【図6】(a)および(b)はラダー命令とキーワード
との関連付けの例を示すためのラダー回路図である。
FIGS. 6A and 6B are ladder circuit diagrams showing examples of association between a ladder instruction and a keyword.

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

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

【図9】(a)および(b)は本発明の各表示/制御シ
ステムにおけるコンピュータ装置に設けられる部品ファ
イルの構成を示す説明図である。
FIGS. 9A and 9B are explanatory diagrams showing a configuration of a component file provided in a computer device in each display / control system of the present invention.

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

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

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

【図13】上記の各表示/制御システムで実行される、
ラダープログラムの作成から部品データベースの作成を
経てユーザ画面の作成までに至る処理手順を示すフロー
チャートである。
FIG. 13 is executed by each of the display / control systems described above;
9 is a flowchart illustrating a processing procedure from creation of a ladder program to creation of a user screen through creation of a component database.

【図14】図13の処理における部品データベースの作
成の手順を示すフローチャートである。
FIG. 14 is a flowchart illustrating a procedure of creating a component database in the process of FIG. 13;

【図15】エディタ部の各部とデータファイルの各部と
の関連を図13の処理に対応付けて示すブロック図であ
る。
FIG. 15 is a block diagram showing the relationship between each part of an editor unit and each part of a data file in association with the processing of FIG. 13;

【図16】(a)はラダーウインドウ上で作成されたラ
ダープログラムを示し、(b)ないし(e)は図13の
処理手順で得られた部品データベースを用いてユーザ画
面を作成する過程を示す説明図である。
16A shows a ladder program created on a ladder window, and FIGS. 16B to 17E show a process of creating a user screen using the parts database obtained by the processing procedure of FIG. FIG.

【図17】ページモードで作成されたラダープログラム
に基づいて部品データベースを作成する手順を示すフロ
ーチャートである。
FIG. 17 is a flowchart illustrating a procedure for creating a component database based on a ladder program created in a page mode.

【図18】(a)はページモードで作成された2ページ
分のラダープログラムを示す説明図であり、(b)は
(a)のラダープログラムに対応する2ページ分のユー
ザ画面を示す説明図である。
18A is an explanatory diagram illustrating a ladder program for two pages created in a page mode, and FIG. 18B is an explanatory diagram illustrating a user screen for two pages corresponding to the ladder program of FIG. It is.

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

1 プログラマブル表示器(表示機能部、制御
機能部) 2 PLC(制御機能部) 3 コンピュータ装置(表示機能部、制御機能
部) 4 入出力機器(制御対象機器) 5 記録媒体 32a ラダーエディタ(第2エディタ手段) 32a1 ラダーウインドウ(第2エディタ画面) 32b2 基本部品データベース 32b 作画エディタ(第1エディタ手段) 32b1 作画ウインドウ(第1エディタ画面) 32c ラダー解析部(抽出手段) 32c1 キーワード検出部 32c2 部品抽出部 33a ラダーファイル 33b 画面ファイル 33c 部品ファイル P1 〜P4 部品(画像ブロック)
DESCRIPTION OF SYMBOLS 1 Programmable display (display function part, control function part) 2 PLC (control function part) 3 Computer device (display function part, control function part) 4 I / O device (control target device) 5 Recording medium 32a Ladder editor (second) Editor means) 32a 1 Ladder window (second editor screen) 32b 2 Basic component database 32b Drawing editor (first editor means) 32b 1 Drawing window (first editor screen) 32c Ladder analyzer (extraction means) 32c 1 Keyword detector 32c 2 parts extraction section 33a ladder file 33b screen file 33c part file P 1 to P 4 parts (image blocks)

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ手段と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ手段とを備えるエディタ装置であって、 上記制御手順プログラムを構成するための命令を上記内
容表示プログラムを構成するための画像ブロックに予め
対応付けるとともに、上記第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 response to an input operation on a screen, wherein instructions for configuring the control procedure program are previously stored in an image block for configuring the content display program. A plurality of image blocks corresponding to the instructions included in the control procedure program created by the second editor means are associated with the plurality of instructions. An editor device comprising extraction means for extracting the following.
【請求項2】上記抽出手段が、抽出した画像ブロックを
上記表示内容プログラムの1画面単位で登録することを
特徴とする請求項1に記載のエディタ装置。
2. The editor device according to claim 1, wherein the extracting means registers the extracted image blocks in units of one screen of the display content program.
【請求項3】上記抽出手段が、単一の上記制御手順プロ
グラムについて一括して画像ブロックを抽出することを
特徴とする請求項2に記載のエディタ装置。
3. The editor device according to claim 2, wherein said extracting means extracts image blocks collectively for a single control procedure program.
【請求項4】上記抽出手段が、上記命令についての属性
情報を画像ブロックと併せて抽出することを特徴とする
請求項1に記載のエディタ装置。
4. The editor device according to claim 1, wherein said extracting means extracts attribute information on the command together with an image block.
【請求項5】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理と、上記制御機能部が実行する制御の
手順を定めるための制御手順プログラムを第2エディタ
画面上での入力操作に応じて作成するための第2エディ
タ処理とを含むエディタプログラムを記録したコンピュ
ータ読み取り可能な記録媒体であって、 上記制御手順プログラムを構成するための命令を上記表
示内容プログラムを構成するための画像ブロックに予め
対応付けるとともに、上記第2エディタ処理によって作
成された上記制御手順プログラムに含まれる命令に対応
する画像ブロックを複数の命令について抽出する抽出処
理を含んでいることを特徴とするエディタプログラムを
記録した記録媒体。
5. 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 in which an editor program including a second editor process for creating in response to an input operation on a screen is recorded, wherein instructions for configuring the control procedure program are stored in the display content program. And the control procedure program created by the second editor process, in association with image blocks for constructing A recording medium storing an editor program, characterized by including an extraction process for extracting an image block corresponding to an instruction included in a plurality of instructions.
【請求項6】制御対象機器の状態を表示する表示機能部
と、該制御対象機器の動作を制御する制御機能部とを有
する表示/制御システムを対象として、上記表示機能部
が実行する表示の内容を定めるための表示内容プログラ
ムを第1エディタ画面上での入力操作に応じて作成する
第1エディタ処理または上記制御機能部が実行する制御
の手順を定めるための制御手順プログラムを第2エディ
タ画面上での入力操作に応じて作成するための第2エデ
ィタ処理のいずれか一方を含むエディタプログラムを記
録したコンピュータ読み取り可能な記録媒体であって、 上記制御手順プログラムを構成するための命令を上記表
示内容プログラムを構成するための画像ブロックに予め
対応付けるとともに、上記第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 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 recording an editor program including one of a second editor process for creating in accordance with the input operation described above, wherein the instructions for configuring the control procedure program are displayed. The control program created by the second editor process while associating in advance with an image block for forming a content program A recording medium recording an editor program, characterized by including an extraction process for extracting an image block corresponding to an instruction included in a procedure program for a plurality of instructions.
【請求項7】上記抽出処理が、抽出した画像ブロックを
表示内容プログラムの1画面単位で登録することを特徴
とする請求項5または6に記載の記録媒体。
7. The recording medium according to claim 5, wherein the extraction process registers the extracted image blocks in units of one screen of a display content program.
【請求項8】上記抽出処理が、単一の上記制御手順プロ
グラムについて一括して画像ブロックを抽出することを
特徴とする請求項7に記載の記録媒体。
8. The recording medium according to claim 7, wherein said extraction process collectively extracts image blocks for a single control procedure program.
【請求項9】上記抽出処理が、上記命令についての属性
情報を画像ブロックと併せて抽出することを特徴とする
請求項5または6に記載の記録媒体。
9. The recording medium according to claim 5, wherein the extraction process extracts attribute information on the command together with an image block.
JP24922799A 1999-08-31 1999-09-02 Editor device and recording medium recording editor program Pending JP2001075791A (en)

Priority Applications (16)

Application Number Priority Date Filing Date Title
JP24922799A JP2001075791A (en) 1999-09-02 1999-09-02 Editor device and recording medium recording editor program
DE60035202T DE60035202T2 (en) 1999-08-31 2000-08-28 EDITING DEVICE AND RECORDING DEVICE RECORDING AN EDITING PROGRAM
US10/069,542 US7603183B1 (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
AU67329/00A AU6732900A (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
CNB2004100004371A CN100368988C (en) 1999-08-31 2000-08-28 Editing device and storage medium for storage editor program
CNB2004100004367A CN100368987C (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
EP07009511A EP1816532A3 (en) 1999-08-31 2000-08-28 Editing apparatus and recording medium in which editing program is recorded
EP07009510A EP1821166B1 (en) 1999-08-31 2000-08-28 Editing apparatus and recording medium in which editing program is recorded
CNB2004100004348A CN100368986C (en) 1999-08-31 2000-08-28 Editing device and storage medium for storage editor program
EP00955074A EP1213633B9 (en) 1999-08-31 2000-08-28 Editor device and recorded medium on which editor program is recorded
CNB008122660A CN1160601C (en) 1999-08-31 2000-08-28 editing device
EP07009509A EP1816531A3 (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
DE60045196T DE60045196D1 (en) 1999-08-31 2000-08-28 Editing device and recording medium with editing program recorded thereon
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
JP24922799A JP2001075791A (en) 1999-09-02 1999-09-02 Editor device and recording medium recording editor program

Publications (1)

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

Family

ID=17189821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24922799A Pending JP2001075791A (en) 1999-08-31 1999-09-02 Editor device and recording medium recording editor program

Country Status (1)

Country Link
JP (1) JP2001075791A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003084811A (en) * 2001-09-10 2003-03-19 Digital Electronics Corp Ladder monitor device, and its program and recording medium
JP2007047849A (en) * 2005-08-05 2007-02-22 Keyence Corp Preparation program for screen data for programmable display unit and computer-readable recording medium and screen data preparing device
JP2007504570A (en) * 2003-06-12 2007-03-01 ザ・ビーオーシー・グループ・インコーポレーテッド Configurable PLC and SCADA based control system
JP2012038068A (en) * 2010-08-06 2012-02-23 Mitsubishi Heavy Ind Ltd Program creation device and image control system
JP2012155367A (en) * 2011-01-21 2012-08-16 Mitsubishi Electric Corp Screen data editing device for programmable display unit
WO2015189952A1 (en) * 2014-06-12 2015-12-17 三菱電機株式会社 Rendering software

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003084811A (en) * 2001-09-10 2003-03-19 Digital Electronics Corp Ladder monitor device, and its program and recording medium
JP2007504570A (en) * 2003-06-12 2007-03-01 ザ・ビーオーシー・グループ・インコーポレーテッド Configurable PLC and SCADA based control system
JP2007047849A (en) * 2005-08-05 2007-02-22 Keyence Corp Preparation program for screen data for programmable display unit and computer-readable recording medium and screen data preparing device
JP2012038068A (en) * 2010-08-06 2012-02-23 Mitsubishi Heavy Ind Ltd Program creation device and image control system
JP2012155367A (en) * 2011-01-21 2012-08-16 Mitsubishi Electric Corp Screen data editing device for programmable display unit
WO2015189952A1 (en) * 2014-06-12 2015-12-17 三菱電機株式会社 Rendering software
KR101763551B1 (en) 2014-06-12 2017-07-31 미쓰비시덴키 가부시키가이샤 Computer readable medium recording rendering software

Similar Documents

Publication Publication Date Title
US7603183B1 (en) Editor device and recorded medium on which editor program is recorded
US8843885B2 (en) Program creation support device
CN105573236B (en) Information processing unit, information processing method and recording medium
US20130135331A1 (en) Project-data creating device and programmable display device
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP2001075791A (en) Editor device and recording medium recording editor program
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
JP3847601B2 (en) Control display device, control program, and recording medium recording the same
JP3913414B2 (en) Editor device and recording medium recording editor program
JP3795473B2 (en) Editor device and recording medium recording editor program
JP2002062910A (en) Editor device and storage medium recording editor program
JP3795357B2 (en) Editor device, editor program, and recording medium recording the same
JP3939518B2 (en) Input / output address setting device, input / output address setting program and recording medium recording the same
JP3195322B2 (en) Editor device and recording medium recording editor program
JP2001075616A (en) Editor device and recording medium recording editor program
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP3195321B2 (en) Editor device and recording medium recording editor program
JP2001075614A (en) Editor device and recording medium recording editor program
JP3710731B2 (en) Editor device and recording medium recording editor program
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP4563255B2 (en) Programmable display, control program, and recording medium recording the program
JP3712640B2 (en) Editor device and recording medium recording editor program
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP2004178151A (en) Display control device, program, and recording medium to which this program is recorded
JP2002244705A (en) Data transfer system and data transfer program for editor device