JPH11265280A - Graphic editor and computer-readable recording medium for recording editor program - Google Patents

Graphic editor and computer-readable recording medium for recording editor program

Info

Publication number
JPH11265280A
JPH11265280A JP6732098A JP6732098A JPH11265280A JP H11265280 A JPH11265280 A JP H11265280A JP 6732098 A JP6732098 A JP 6732098A JP 6732098 A JP6732098 A JP 6732098A JP H11265280 A JPH11265280 A JP H11265280A
Authority
JP
Japan
Prior art keywords
control
editor
information
screen
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6732098A
Other languages
Japanese (ja)
Other versions
JP3499740B2 (en
Inventor
Shiyunu Tanigawa
舜雨 谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP06732098A priority Critical patent/JP3499740B2/en
Publication of JPH11265280A publication Critical patent/JPH11265280A/en
Application granted granted Critical
Publication of JP3499740B2 publication Critical patent/JP3499740B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an editor for easily preparing a control program. SOLUTION: The graphic editor displays a part list 43 on an editor screen for each equipment constituting a system to be controlled, and arranges parts on a base screen 42 according to an operation for moving the arbitrary parts from the part list 43 to the base screen 42. Then, a part setting dialog box for promoting the input of information such as the address of the input and output point of control data is displayed for each part, and information inputted to the dialog box is stored. Afterwards, the information stored for each part is successively read according to an order in which the parts are clicked, and a control step related with the data input and output is described based on the information, and a step table is prepared. At last, the step table is developed to a control program.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の機器からな
るシステムを制御する制御装置の制御プログラムを作成
するためのエディター、並びにコンピュータによってエ
ディターを実現するためのエディタープログラムが記録
されている記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an editor for creating a control program for a control device for controlling a system comprising a plurality of devices, and a recording medium on which an editor program for realizing the editor by a computer is recorded. It is about.

【0002】[0002]

【従来の技術】例えば、化学工場のプラントや機械工場
の生産ライン、更にはビル内の宅配便ボックス等、各種
のオートメーション分野において、それらのシステムを
構成する1或いは複数のデバイスを制御対象として、制
御対象の状態を表示すると共に、オペレータの指令に応
じて制御対象の動作を制御するために、1或いは複数の
制御対象を、制御機能を主体とするプログラマブルロジ
ックコントローラ(以下、PLCという)に接続すると共
に、該PLCに対して、表示機能を主体とするプログラ
マブル表示装置(例えば特公平3−68395号、特開
平5−303477号、特開平6−214535号、特
開平6−162155号等参照)を接続してなる表示/
制御システムが開発されている。
2. Description of the Related Art For example, in various automation fields such as a production line of a chemical factory plant or a machine factory, and a courier box in a building, one or a plurality of devices constituting those systems are controlled. One or more controlled objects are connected to a programmable logic controller (hereinafter, referred to as PLC) mainly having control functions in order to display the state of the controlled object and control the operation of the controlled object according to an operator's command. At the same time, a programmable display device mainly having a display function is provided to the PLC (for example, see Japanese Patent Publication No. 3-68395, Japanese Patent Application Laid-Open No. 5-303377, Japanese Patent Application Laid-Open No. 6-214535, Japanese Patent Application Laid-Open No. 6-162155). Display by connecting /
Control systems are being developed.

【0003】図9は、出願人の提案に係る表示/制御シ
ステムの構成を表わしている。PLC(3)は、例えばラ
ダー言語を用いて予め作成された制御用プログラム(ユ
ーザプログラム)に従って動作し、所定の制御機能を発
揮する。一方、プログラマブル表示装置(1)は、CPU
(11)、タッチパネル(15)、ディスプレイ(18)等から構成
され、予め作成された表示用プログラムに従って動作
し、所定の表示機能を発揮する。例えば、プログラマブ
ル表示装置(1)のタッチパネル(15)の操作によって入力
されたデータは、PLC(3)へ供給され、該データに基
づいてPLC(3)の制御用プログラムに従って作成され
た動作制御データが、制御対象(2b)へ出力される。こ
の結果、制御対象(2b)の動作が制御されることにな
る。又、制御対象(2b)の動作状態に応じて変化するデ
ータがPLC(3)に入力され、該入力データに基づいて
PLC(3)の制御用プログラムによって作成された出力
データが、プログラマブル表示装置(1)へ供給される。
これに応じてプログラマブル表示装置(1)は、表示用プ
ログラムに従って表示制御データを作成し、ディスプレ
イ(18)に制御対象(2b)の動作状態を表示する。
FIG. 9 shows a configuration of a display / control system proposed by the applicant. The PLC (3) operates according to a control program (user program) created in advance using, for example, a ladder language, and exhibits a predetermined control function. On the other hand, the programmable display device (1) has a CPU
(11), a touch panel (15), a display (18), etc., which operate according to a display program created in advance and exhibit a predetermined display function. For example, data input by operating the touch panel (15) of the programmable display device (1) is supplied to the PLC (3), and operation control data created based on the data in accordance with the PLC (3) control program. Is output to the control target (2b). As a result, the operation of the control target (2b) is controlled. Further, data that changes according to the operation state of the control target (2b) is input to the PLC (3), and output data created by the control program of the PLC (3) based on the input data is output to the programmable display device. It is supplied to (1).
In response to this, the programmable display device (1) creates display control data according to the display program, and displays the operation state of the control target (2b) on the display (18).

【0004】尚、図9に示すプログラマブル表示装置
(1)は、PLCの制御機能を発揮すべきI/O制御イン
ターフェース(20)を具えており、I/O制御インターフ
ェース(20)に入出力ユニット(21)を介して制御対象(2
a)を直接に接続することにより、該制御対象(2a)の動
作を制御し、或いは該制御対象(2a)の状態を表示する
ことが出来る。
A programmable display device shown in FIG.
(1) is provided with an I / O control interface (20) for exerting the control function of the PLC, and is controlled by the I / O control interface (20) via the input / output unit (21).
By directly connecting a), the operation of the controlled object (2a) can be controlled or the state of the controlled object (2a) can be displayed.

【0005】上述の如く、表示/制御システムの表示機
能及び制御機能は、表示用プログラム及び制御用プログ
ラムによって実現されるが、これらのプログラムは夫
々、パーソナルコンピュータ等によって構成される作画
エディター及びラダーエディターを用いて作成され、作
成された表示用プログラム及び制御用プログラムが表示
/制御システムへダウンロードされる。図13〜図15
は、表示用プログラム及び制御用プログラムの作成、並
びにダウンロードの手続きを表わしている。
As described above, the display function and the control function of the display / control system are realized by the display program and the control program. These programs are a drawing editor and a ladder editor each constituted by a personal computer or the like. And the created display program and control program are downloaded to the display / control system. 13 to 15
Represents a procedure for creating and downloading a display program and a control program.

【0006】即ち、先ず図13のステップS71にて作
画エディターを起動し、ステップS72にて、制御対象
の状態を監視するための複数の画像ブロックを含むユー
ザ画面を作成する(作画処理)。これによって表示用プロ
グラムが作成されることになる。次に、ステップS73
にてラダーエディターを起動し、ステップS74にて、
ラダー言語を用いて制御用プログラムを作成する(ユー
ザプログラムの作成)。その後、制御用プログラム及び
表示用プログラムを前記表示/制御システムにダウンロ
ードする。
That is, first, the drawing editor is started in step S71 of FIG. 13, and in step S72, a user screen including a plurality of image blocks for monitoring the state of the control target is created (drawing processing). As a result, a display program is created. Next, step S73
Start the ladder editor at, and at step S74,
Create a control program using a ladder language (create a user program). Thereafter, the control program and the display program are downloaded to the display / control system.

【0007】図14は、前記作画処理の具体的手続きを
表わしており、ステップS81では、エディター画面上
に、制御対象を構成する複数のデバイスについて夫々、
マーク(円、四角形、スイッチ、ランプ、タイマー等の
画像ブロック)を作成、配置した後、ステップS82に
て、当該マークで使用する“名称”及び“アドレス”を
入力する。ここで“名称”はマークを識別するためのも
のであって、例えばスイッチについてはSW1、SW
2、…等と、ランプについてはLAMP1、LAMP
2、…等と付与される。又、“アドレス”は、各デバイ
スを対象としてユーザプログラムによる制御を実行する
際に参照すべきPLCの入出力端子番号(アドレス)であ
って、例えば入力点についてはXB0001、XB00
02、…等と、出力点についてはYB0001、YB0
002、…等と付与される。その後、ステップS83で
の画面作成を終了するか否かの判断に応じ、ノーの場合
はステップS81に戻ってマークの作成、配置及びデー
タ入力を繰り返す。画面の作成を終了する場合は、ステ
ップS84に移行して、入力されたデータを画面ファイ
ルに登録する。これによって、図16(b)に示す如き画
面ファイル(8)が作成されることになる。画面ファイル
(8)は、図形データファイル部(81)と属性データファイ
ル部(82)から構成され、図形データファイル部(81)に
は、作成したマークについての図形データが格納され、
属性データファイル部(82)は、図形データファイル部(8
1)と対応して、入力した各マークにつき、デバイスの名
称とアドレスが格納される。
FIG. 14 shows a specific procedure of the drawing processing. In step S81, a plurality of devices constituting a control target are displayed on an editor screen.
After creating and arranging marks (image blocks such as circles, squares, switches, lamps, and timers), in step S82, "name" and "address" used for the marks are input. Here, the “name” is for identifying a mark. For example, SW1 and SW
LAMP1, LAMP for lamps, etc.
2, etc. are given. The “address” is a PLC input / output terminal number (address) to be referred to when performing control by a user program for each device. For example, for input points, XB0001, XB00
02,..., And the output points are YB0001, YB0
002,... Thereafter, in response to the determination as to whether or not to end the screen creation in step S83, if no, the process returns to step S81 to repeat the creation, arrangement, and data input of the mark. When the creation of the screen is completed, the process proceeds to step S84, and the input data is registered in the screen file. As a result, a screen file (8) as shown in FIG. 16B is created. Screen file
(8) is composed of a graphic data file part (81) and an attribute data file part (82). The graphic data file part (81) stores graphic data for the created mark.
The attribute data file section (82)
In correspondence with 1), the name and address of the device are stored for each input mark.

【0008】一方、図15は、前記ユーザプログラム作
成の具体的手続きを表わしており、ステップS91に
て、制御対象を構成する複数のデバイスを対象として、
ラダー言語を用いてラダー命令を記述した後、ステップ
S92では、命令毎に、当該命令で使用する“名称”及
び“アドレス”を入力する。ここで、各デバイスの“名
称”及び“アドレス”は、前記作画処理にて同一のデバ
イスを対象として定義した“名称”及び“アドレス”と
同じ内容を定義する必要がある。これによって、図16
(a)に示す如きラダーファイル(7)が作成されることに
なる。ラダーファイル(7)は、コマンドファイル部(71)
と属性データファイル部(72)から構成され、コマンドフ
ァイル部(71)には、作成したコマンドについてのニーモ
ニックとオペランドが格納され、属性データファイル部
(72)には、コマンドファイル部(71)と対応して、入力し
た各コマンドにつき、デバイスの名称とアドレスが格納
される。
On the other hand, FIG. 15 shows a specific procedure for creating the user program. In step S91, a plurality of devices constituting a control target are targeted.
After the ladder instruction is described using the ladder language, in step S92, the "name" and "address" used in the instruction are input for each instruction. Here, the “name” and “address” of each device need to define the same contents as the “name” and “address” defined for the same device in the drawing processing. As a result, FIG.
A ladder file (7) as shown in FIG. Ladder file (7) consists of command file part (71)
And the attribute data file section (72) .The command file section (71) stores mnemonics and operands for the created command.
In (72), the name and address of the device are stored for each input command in correspondence with the command file section (71).

【0009】この様にして作成されたラダーファイル
(7)及び画面ファイル(8)は、図13のステップS75
にてPLC(3)及びプログラマブル表示装置(1)にダウ
ンロードされる。この結果、ラダーファイル(7)はPL
C(3)の制御用プログラムとして制御機能を発揮し、画
面ファイル(8)はプログラマブル表示装置(1)の表示用
プログラムとして表示機能を発揮することになる。
The ladder file created in this way
(7) and the screen file (8) are stored in step S75 in FIG.
Is downloaded to the PLC (3) and the programmable display device (1). As a result, the ladder file (7)
The control function is exhibited as the control program of C (3), and the screen file (8) exhibits the display function as the display program of the programmable display device (1).

【0010】[0010]

【発明が解決しようとする課題】しかしながら、従来の
ラダーエディターにおいては、ラダー言語を用いた制御
用プログラムの作成が初心者には困難であり、時間がか
かる問題があった。そこで本発明は、初心者であっても
容易に制御プログラムを作成することが出来るグラフィ
ックエディターを提供することである。
However, the conventional ladder editor has a problem that it is difficult for a beginner to create a control program using a ladder language, and it takes time. Accordingly, an object of the present invention is to provide a graphic editor that enables even a beginner to easily create a control program.

【0011】[0011]

【課題を解決する為の手段】本発明に係るグラフィック
エディターは、エディター画面上に、制御対象システム
を表わすベース画面を描画するためのベース画面描画手
段と、制御対象システムを構成する複数の機器(デバイ
ス)について、各機器のシンボル画像を含む部品リスト
をエディター画面上に表示する部品リスト表示手段と、
部品リストから任意のシンボル画像を選択してベース画
面へ移動させる操作に応じて、ベース画面上にシンボル
画像を配置する画像配置手段と、ベース画面にシンボル
画像が配置されている各機器について、各機器へ出力し
或いは各機器から入力される制御データの入出力点のア
ドレス情報、並びに、その他の必要な制御情報の入力を
促す部品設定ダイアログボックスの表示手段と、部品設
定ダイアログボックスに入力された情報を記憶する情報
記憶手段と、ベース画面上に表示されているシンボル画
像が選択操作される順序に従って、選択された機器につ
いてのアドレス情報及び制御情報を情報記憶手段から順
次読み出し、これらの情報に基づいて、機器毎のデータ
入出力に関する制御ステップを記述し、選択された全て
の機器についての一連の制御ステップが記述されたステ
ップテーブルを作成するテーブル作成手段と、作成され
たステップテーブルを制御プログラムに展開するテーブ
ル展開手段と、これによって得られた制御プログラムを
制御装置へダウンロードするためのダウンロード手段と
を具えている。
A graphic editor according to the present invention comprises: a base screen drawing means for drawing a base screen representing a control target system on an editor screen; and a plurality of devices constituting the control target system. (Device), a parts list display means for displaying a parts list including a symbol image of each device on the editor screen,
In accordance with an operation of selecting an arbitrary symbol image from the component list and moving the symbol image to the base screen, an image arranging means for arranging the symbol image on the base screen, and each device having the symbol image arranged on the base screen, Address information of input / output points of control data output to or input from each device, and display means of a component setting dialog box for prompting input of other necessary control information, and input to the component setting dialog box Information storage means for storing information; and address information and control information for the selected device are sequentially read from the information storage means in accordance with the order in which the symbol images displayed on the base screen are selected and operated. Describe the control steps related to data input / output for each device based on the Table creation means for creating a step table in which a series of control steps are described, table development means for developing the created step table into a control program, and download for downloading the control program obtained by this to a control device Means.

【0012】上記本発明のグラフィックエディターにお
いては、先ず描画手段を操作して、エディター画面上に
制御対象システムを表わすベース画面を描画する。次
に、エディター画面上に部品リストを表示させ、該部品
リストから制御対象システムを構成する機器のシンボル
画像(部品)を選択して、ベース画面へ移動させる。この
結果、エディター画面には、ベース画面上に各機器のシ
ンボル画像が配置されたシステム構成図が描画されるこ
とになる。
In the graphic editor of the present invention, first, a drawing means is operated to draw a base screen representing a control target system on the editor screen. Next, a parts list is displayed on the editor screen, a symbol image (parts) of a device constituting the control target system is selected from the parts list, and moved to the base screen. As a result, a system configuration diagram in which symbol images of respective devices are arranged on the base screen is drawn on the editor screen.

【0013】この時点で、エディター画面上には、シン
ボル画像が配置されている各機器の部品設定ダイアログ
ボックスが表示される。そこで、該ダイアログボックス
の表示に応じて、各機器についての制御データの入出力
点のアドレス情報や、その他の必要な制御情報を入力す
る。入力された情報は情報記憶手段に記憶される。
At this point, a component setting dialog box for each device on which the symbol image is arranged is displayed on the editor screen. Therefore, according to the display of the dialog box, address information of input / output points of control data for each device and other necessary control information are input. The input information is stored in the information storage means.

【0014】次にユーザは、ベース画面に表示されてい
る複数の機器を対象として、各機器についての制御デー
タを入出力すべき順序で、順番に選択操作を行なう。該
選択操作に応じて、選択の順序がステップ番号となり、
選択された機器について記憶されているアドレス情報や
制御情報がコマンドとなって、各機器についての制御ス
テップが自動的に記述される。そして、最終的に、全機
器を対象とする一連の制御ステップが記述されたステッ
プテーブルが完成することになる。
Next, the user performs a selection operation on a plurality of devices displayed on the base screen in order in which control data for each device should be input / output. In accordance with the selection operation, the selection order becomes a step number,
The address information and control information stored for the selected device are used as commands, and control steps for each device are automatically described. Then, finally, a step table in which a series of control steps for all devices are described is completed.

【0015】その後、ステップテーブルは所定の制御プ
ログラムに展開され、これによって得られた制御プログ
ラムは、制御装置へダウンロードされる。ここで、ステ
ップテーブルには、制御プログラムとして必要な情報、
即ちステップ番号及びコマンドについてのデータが含ま
れているので、制御プログラムへの展開は自動的に行な
うことが出来る。又、制御プログラムのダウンロードは
従来と同様に行なうことが出来る。
Thereafter, the step table is developed into a predetermined control program, and the control program obtained by this is downloaded to the control device. Here, the step table contains information necessary for the control program,
That is, since the data about the step number and the command is included, the development into the control program can be automatically performed. In addition, the control program can be downloaded in the same manner as in the related art.

【0016】[0016]

【発明の効果】本発明に係るグラフィックエディターを
用いた制御プログラムの作成においては、エディター画
面上のベース画面に必要な部品を配置する操作と、部品
設定ダイアログボックスに必要な情報を入力する操作
と、ベース画面に表示されている部品を所定の制御順序
で選択する操作とを行なうだけで、自動的に制御プログ
ラムが作成され、ユーザの操作が全てグラフィカルイン
ターフェースを介して行なわれるので、初心者にとって
も、従来のラダー言語を用いた制御プログラムの作成よ
りも操作が簡易であり、短期間で習得が可能である。
In creating a control program using the graphic editor according to the present invention, an operation for arranging necessary parts on a base screen on the editor screen and an operation for inputting necessary information in a parts setting dialog box are required. By simply performing the operation of selecting the components displayed on the base screen in a predetermined control order, a control program is automatically created, and all user operations are performed through a graphical interface. The operation is simpler than creating a control program using a conventional ladder language, and learning can be performed in a short time.

【0017】[0017]

【発明の実施の形態】以下、本発明を、図9に示す表示
/制御システムのエディターに実施した形態につき、図
面に沿って具体的に説明する。先ず、図9に示す表示/
制御システムの構成及び動作について説明した後、図1
〜図8に沿って、本発明に係るグラフィックエディター
の構成及び動作について詳述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an editor of a display / control system shown in FIG. 9 will be specifically described with reference to the drawings. First, the display /
After explaining the configuration and operation of the control system, FIG.
The configuration and operation of the graphic editor according to the present invention will be described in detail with reference to FIGS.

【0018】図9に示す如く表示/制御システムは、出
願人の提案に係るプログラマブル表示装置(1)に制御対
象(2a)を直接に接続し、或いはプログラマブル表示装
置(1)にPLC(3)を介して制御対象(2b)を接続して
構成される。プログラマブル表示装置(1)においては、
CPU(11)に、バスラインを介して、システムプログラ
ムメモリ(12)、データ格納メモリ(13)、ユーザデータメ
モリ(10)、タッチパネルコントローラ(14)、グラフィッ
クコントローラ(16)及び通信コントローラ(19)が接続さ
れ、タッチパネルコントローラ(14)にはタッチパネル(1
5)が、グラフィックコントローラ(16)にはビデオRAM
(17)及びディスプレイ(18)が接続されている。又、CP
U(11)には、PLC(3)の入出力制御機能を実現すべき
I/O制御インターフェース(20)及び入出力ユニット(2
1)が接続されている。
As shown in FIG. 9, the display / control system connects the control target (2a) directly to the programmable display device (1) proposed by the applicant or the PLC (3) to the programmable display device (1). And the control target (2b) is connected via the. In the programmable display device (1),
To the CPU (11), via a bus line, a system program memory (12), a data storage memory (13), a user data memory (10), a touch panel controller (14), a graphic controller (16), and a communication controller (19) Is connected, and the touch panel controller (14)
5) The graphic controller (16) has a video RAM
(17) and the display (18) are connected. Also, CP
U (11) includes an I / O control interface (20) and an input / output unit (2) for realizing the input / output control function of the PLC (3).
1) is connected.

【0019】FEPROM(12)には、図10に示す如く
表示制御システムの格納エリア、通信プロトコルの格納
エリア、ユーザ画面の格納エリア、制御機能プログラム
の格納エリア、及びユーザプログラムの格納エリアが形
成されている。ここで、表示制御システムは、プログラ
マブル表示装置(1)の画像表示制御に関する基本機能で
あって、予めFEPROM(12)に格納されている。通信
プロトコルはPLC(3)との通信処理に用いられる。ユ
ーザ画面は、作画エディターによって作成されてダウン
ロードされるものであり、ディスプレイ(18)に表示すべ
きベース画面や各種の画像ブロックの図形データ、並び
に各画像ブロックに付与された後述の処理指示語等を含
み、表示用プログラムを構成している。ユーザプログラ
ムは、本発明に係るグラフィックラダーエディターによ
って作成されてダウンロードされるものであり、制御対
象(2a)(2b)の動作を制御すべき制御用プログラムを構
成している。又、制御機能プログラムはユーザプログラ
ムを実行するためのプログラムである。
The storage area of the display control system, the storage area of the communication protocol, the storage area of the user screen, the storage area of the control function program, and the storage area of the user program are formed in the FEPROM (12) as shown in FIG. ing. Here, the display control system is a basic function related to image display control of the programmable display device (1), and is stored in the FEPROM (12) in advance. The communication protocol is used for communication processing with the PLC (3). The user screen is created and downloaded by the drawing editor, and includes a base screen to be displayed on the display (18), graphic data of various image blocks, and processing instruction words described below assigned to each image block. And constitute a display program. The user program is created and downloaded by the graphic ladder editor according to the present invention, and constitutes a control program for controlling the operation of the control objects (2a) and (2b). The control function program is a program for executing a user program.

【0020】ユーザプログラムに使用される処理指示語
Wは、ベース画面上で実行されるべき事象毎に作成さ
れ、基本的には図11に示す様に、表示制御動作を実行
すべきベース画面のファイル番号Fと、該ベース画面上
で実行すべき動作内容を特定する事象名Tと、各実行事
象毎に参照される1或いは複数のデータからなる参照情
報Iとを一組として具えたものである。
The processing instruction word W used in the user program is created for each event to be executed on the base screen, and basically, as shown in FIG. A file number F, 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 are provided as a set. is there.

【0021】一方、PLC(3)内のメモリには、入出力
されるデータが数値の如きワードデータに対してはワー
ドデバイスが、オンオフ状態の如きビットデータに対し
てはビットデバイスが、アドレス指定により格納場所を
特定可能に設定されている。これによって、PLC(3)
内の任意のワードデバイス或いはビットデバイスをアク
セスするだけで、制御対象機器を制御し、或いはその動
作状態に関する情報を個別に取り出すことが出来る。
On the other hand, in the memory in the PLC (3), a word device is used for word data whose input / output data is a numerical value, and a bit device is used for bit data such as an on / off state. Is set so that the storage location can be specified. Thereby, the PLC (3)
By simply accessing any of the word devices or bit devices, the device to be controlled can be controlled or information on the operation state can be individually retrieved.

【0022】PLC(3)内のメモリに構成されたビット
デバイス或いはワードデバイスが示す状態情報の内、必
要なものを適時にプログラマブル表示装置(1)側のメモ
リに読み込む一方、プログラマブル表示装置(1)内のメ
モリに格納されている処理指示語Wを繰返し読み出し、
各処理指示語Wの事象名Tで特定される内容の動作を、
PLC(3)側の状態情報を参照しながら実行することに
より、PLC(3)側のビットデバイス或いはワードデバ
イスの内容変化に応じて変化する表示動作が行なわれ
る。
Of the status information indicated by the bit device or word device configured in the memory of the PLC (3), necessary information is read into the memory of the programmable display device (1) in a timely manner, while the programmable display device (1) is read. The processing instruction word W stored in the memory in parentheses) is repeatedly read out,
The operation of the content specified by the event name T of each processing instruction word W
By executing while referring to the state information on the PLC (3) side, a display operation that changes according to a change in the content of the bit device or the word device on the PLC (3) side is performed.

【0023】図12は、タッチパネルの操作に基づくプ
ログラマブル表示装置の制御動作を表わしている。先ず
ステップS60にて、制御対象の制御が可能なオンライ
ン状態か、或いは、プログラマブル表示装置のみを動作
させて各種の設定処理、診断処理等を行なうオフライン
状態かの選択が行なわれ、オフラインの場合はステップ
S61にて所定の各種処理が実行される。
FIG. 12 shows a control operation of the programmable display device based on the operation of the touch panel. First, in step S60, a selection is made between an online state in which the control target can be controlled or an offline state in which only the programmable display device is operated to perform various setting processing, diagnostic processing, and the like. Various predetermined processes are executed in step S61.

【0024】オンラインの場合は、ステップS62に移
行して、操作パネルが操作されたか否かが判断され、N
Oの場合は、ステップS64にてデータ通信処理が実行
される。即ち、プログラマブル表示装置のメモリ内に設
定されている処理指示語で引用されているPLC側の状
態情報をプログラマブル表示装置側に取り出すものであ
って、メモリに格納されている処理指示語中、現在表示
されているベース画面に関係する処理指示語に含まれる
情報から、PLCのワードデバイス及びビットデバイス
のアドレスを抽出し、PLCのメモリへ直接にアクセス
して、アドレス指定された状態情報データをメモリ内に
展開するのである。
If online, the process proceeds to step S62 to determine whether or not the operation panel has been operated.
In the case of O, a data communication process is executed in step S64. That is, state information on the PLC side referred to by the processing instruction set in the memory of the programmable display device is taken out to the programmable display device side, and among the processing instruction words stored in the memory, The information of the word device and the bit device of the PLC is extracted from the information included in the processing instruction word related to the displayed base screen, the PLC memory is directly accessed, and the addressed state information data is stored in the memory. It unfolds within.

【0025】ステップS62にてYESと判断されたと
きは、ステップS63に移行し、操作パネルによって入
力されたデータに基づいて所定の演算処理を実行した
後、ステップS64のデータ通信処理が実行される。そ
の後、ステップS65では、各事象の表示処理が実行さ
れ、メモリに格納されている処理指示語中、通信処理に
よって抽出された状態情報に基づく表示動作が行なわれ
る。尚、前記入出力ユニット(21)に接続された制御対象
を制御する際のプログラマブル表示装置の動作も基本的
には同様である。
When YES is determined in the step S62, the process shifts to a step S63, where a predetermined arithmetic process is executed based on the data inputted by the operation panel, and then a data communication process in a step S64 is executed. . Thereafter, in step S65, a display process of each event is performed, and a display operation is performed based on the state information extracted by the communication process among the process instruction words stored in the memory. The operation of the programmable display device when controlling the control target connected to the input / output unit (21) is basically the same.

【0026】図10に示すFEPROM(12)に格納すべ
きユーザプログラムは、図1に示すパーソナルコンピュ
ータ(4)を用いて作成され、その後、プログラマブル表
示装置(1)へダウンロードされる。ここでパーソナルコ
ンピュータ(4)は、情報記録媒体(5)に記録されている
エディタープログラムを読み取ることによって、本発明
のグラフィックエディターを構成し、ディスプレイ(41)
にはエディター画面が表示される。
A user program to be stored in the FEPROM (12) shown in FIG. 10 is created using the personal computer (4) shown in FIG. 1, and then downloaded to the programmable display device (1). Here, the personal computer (4) constitutes the graphic editor of the present invention by reading the editor program recorded on the information recording medium (5), and the display (41)
Displays an editor screen.

【0027】次に、本発明のグラフィックエディターの
構成及び動作につき、図8に示すワーク搬送工程を制御
対象システムとする例を用いて、具体的に説明する。図
8のワーク搬送工程は、ワークWを図中に矢印で経路で
搬送するものであって、ワークWを水平方向に搬送する
ための第1ベルトコンベアT1と、第1ベルトコンベア
から搬送されてくるワークW′を受け取って垂直上方に
持ち上げるための第2ベルトコンベアT2と、第2ベル
トコンベア上のワークW″を水平方向に押し出すための
押出し機構Fとから構成される。制御対象システムを構
成する機器としては、第1ベルトコンベアT1を回転駆
動する第1モータM1と、第2ベルトコンベアT2を回
転駆動する第2モータM2と、第2ベルトコンベアT2
を昇降駆動する第1シリンダーC1と、第2ベルトコン
ベアT2の上昇位置にて水平押出し機構Fを往復駆動す
る第2シリンダーC2と、第1ベルトコンベアT1上の
ワークWを検知するための第1光電センサーS1と、第
2ベルトコンベアT2上に移動したワークW′を検知す
るための第2光電センサーS2とが配置されている。
Next, the configuration and operation of the graphic editor of the present invention will be specifically described using an example in which the work transfer process shown in FIG. In the work transfer process of FIG. 8, the work W is transferred along a path indicated by an arrow in the figure, and the work W is transferred from the first belt conveyor T1 for transferring the work W in the horizontal direction. It comprises a second belt conveyor T2 for receiving the incoming work W 'and lifting it vertically upward, and an extrusion mechanism F for pushing out the work W "on the second belt conveyor in the horizontal direction. The first motor M1 that rotationally drives the first belt conveyor T1, the second motor M2 that rotationally drives the second belt conveyor T2, and the second belt conveyor T2
, A second cylinder C2 for reciprocatingly driving the horizontal extruding mechanism F at an ascending position of the second belt conveyor T2, and a first cylinder C1 for detecting a workpiece W on the first belt conveyor T1. A photoelectric sensor S1 and a second photoelectric sensor S2 for detecting the workpiece W 'moved on the second belt conveyor T2 are arranged.

【0028】図2は、本発明に係るエディタープログラ
ムの基本的な流れを表わしている。尚、エディター画面
上には、予め、周知のグラフィック手段を用いて、ワー
ク搬送工程を表わすベース画面が描画されているものと
する。図8の例では、ベース画面として、図3に示す如
く第1ベルトコンベアT1、第2ベルトコンベアT2、
及び水平押出し機構Fが描かれている。
FIG. 2 shows a basic flow of the editor program according to the present invention. Here, it is assumed that a base screen representing the work transfer process is drawn on the editor screen in advance using well-known graphic means. In the example of FIG. 8, as a base screen, as shown in FIG. 3, a first belt conveyor T1, a second belt conveyor T2,
And a horizontal extrusion mechanism F are depicted.

【0029】図2のステップS1では、図3に示す如く
エディター画面上に部品リスト(43)を表示する。図示す
る例では、部品リスト(43)として、(a)モータ、(b)シ
リンダー、(c)センサー、(d)接点、(e)カウンター、
(f)タイマー、(g)ランプ、(h)電磁弁、(i)データ処
理、及び(j)データ収集のシンボル画像が表示されてい
る。尚、部品リスト(43)には、制御対象システムの構成
に応じて、必要な部品を追加することが可能である。
In step S1 of FIG. 2, a parts list (43) is displayed on the editor screen as shown in FIG. In the illustrated example, the parts list (43) includes (a) a motor, (b) a cylinder, (c) a sensor, (d) a contact, (e) a counter,
Symbol images of (f) timer, (g) lamp, (h) solenoid valve, (i) data processing, and (j) data collection are displayed. In addition, necessary parts can be added to the parts list (43) according to the configuration of the control target system.

【0030】ユーザは、ベース画面(42)に表示されてい
るワーク搬送工程に、部品リスト(43)から必要な部品を
移動させ、所定位置に配置することによって、図8に示
す制御対象システムの構成図を作成する。図2のステッ
プS2では、部品配置が終了したかどうかを判断し、終
了したことが判断されると、ベース画面に表示されてい
る各部品について、図4(a)(b)(c)及び図5(a)(b)
に示す部品設定ダイアログボックス(44)〜(48)を表示す
る。
The user moves necessary components from the component list (43) to the work transfer process displayed on the base screen (42) and arranges them at predetermined positions, thereby enabling the control target system shown in FIG. Create a configuration diagram. In step S2 of FIG. 2, it is determined whether or not the component placement has been completed, and when it is determined that the component placement has been completed, for each of the components displayed on the base screen, FIGS. 4 (a), (b), (c) and FIG. 5 (a) (b)
The component setting dialog boxes (44) to (48) shown in (1) are displayed.

【0031】図4(a)の部品設定ダイアログボックス(4
4)は、センサーに関し、デバイスシンボル(入力点のア
ドレス)、接点の種類(a接点又はb接点)、タイマー設
定情報(アドレス及び時間)などを入力するためのもので
ある。同図(b)の部品設定ダイアログボックス(45)は、
モータに関し、正転及び逆転の夫々について、デバイス
シンボル(出力点のアドレス)、タイマー設定情報などを
入力するためのものである。同図(c)の部品設定ダイア
ログボックス(46)は、シリンダーに関し、進出方向及び
後退方向の夫々について、デバイスシンボル(3つの入
力点のアドレスと1つの出力点のアドレス)、出力方法
(フラグ、パルス、又はセット)、タイマー設定情報等を
入力するためのものである。
The part setting dialog box (4) shown in FIG.
4) is for inputting a device symbol (address of an input point), a contact type (a contact or b contact), timer setting information (address and time), and the like regarding the sensor. The part setting dialog box (45) in FIG.
This is for inputting a device symbol (address of an output point), timer setting information, and the like for each of forward rotation and reverse rotation of the motor. The part setting dialog box (46) in FIG. 9C shows the device symbol (the address of three input points and the address of one output point) and the output method for the cylinder in each of the advance direction and the reverse direction.
(Flag, pulse, or set), timer setting information, and the like.

【0032】又、図5(a)の部品設定ダイアログボック
ス(47)は、データ収集に関し、データ収集の方法(デー
タ取出し又はデータ転送の区別)、先頭ワードデバイス
(取り出すべきデータブロックの先頭アドレス)、ワード
数(取出し又は転送すべきデータブロックの単位)などを
入力するものである。同図(b)の部品設定ダイアログボ
ックス(48)は、データ処理に関し、処理の種類(比較、
転送、演算の区別)、比較すべきデータのデバイス(アド
レス)や数値、出力ビットのアドレス、演算式などを入
力するためのものである。尚、上述の部品設定ダイアロ
グボックス(44)〜(48)中の“ステップ番号”は、後述す
るクリック操作に応じて自動的に入力される。
The part setting dialog box (47) shown in FIG. 5A is related to data collection. The data collection method (data retrieval or data transfer) and the first word device
(Start address of data block to be taken out), number of words (unit of data block to be taken out or transferred) and the like are input. The part setting dialog box (48) in FIG.
This is for inputting a device (address) and numerical value of a data to be compared, an address of an output bit, an arithmetic expression, and the like. The “step number” in the component setting dialog boxes (44) to (48) is automatically input in response to a click operation described later.

【0033】図8の例では、第1光電センサーS1及び
第2光電センサーS2について図4(a)の部品設定ダイ
アログボックス(44)が開き、第1モータM1及び第2モ
ータM2について図4(b)の部品設定ダイアログボック
ス(45)が開き、第1シリンダーC1及び第2シリンダー
C2について図4(c)の部品設定ダイアログボックス(4
6)が開く。
In the example of FIG. 8, the component setting dialog box (44) shown in FIG. 4A is opened for the first photoelectric sensor S1 and the second photoelectric sensor S2, and the first motor M1 and the second motor M2 are shown in FIG. The part setting dialog box (45) of FIG. 4C opens, and the part setting dialog box (4) of FIG. 4C is displayed for the first cylinder C1 and the second cylinder C2.
6) opens.

【0034】そこで、ユーザは各部品設定ダイアログボ
ックスに対して必要なデータを入力する。図8の例で
は、第1光電センサーS1について入力デバイス“X0
00”、第2光電センサーS2について入力デバイス
“X001”、第1モータM1の正転について出力デバ
イス“Y000”、第2モータM2の正転について出力
デバイス“Y001”、第1シリンダーC1の前進につ
いて入力デバイス“X002”及び出力デバイス“Y0
02”、第1シリンダーC1の後退について“入力デバ
イスX003”及び出力デバイス“Y003”、第2シ
リンダーC2の前進について入力デバイス“X004”
及び出力デバイス“Y004”、第2シリンダーC2後
退について入力デバイス“X005”及び出力デバイス
“Y005”を入力する。
Therefore, the user inputs necessary data to each component setting dialog box. In the example of FIG. 8, the input device “X0” is used for the first photoelectric sensor S1.
00 ", the input device" X001 "for the second photoelectric sensor S2, the output device" Y000 "for the forward rotation of the first motor M1, the output device" Y001 "for the forward rotation of the second motor M2, and the forward movement of the first cylinder C1. Input device “X002” and output device “Y0”
02 ", the input device" X003 "and the output device" Y003 "for the retraction of the first cylinder C1, and the input device" X004 "for the advance of the second cylinder C2.
The input device “X005” and the output device “Y005” are input for the output device “Y004” and the retraction of the second cylinder C2.

【0035】各部品設定ダイアログボックスに入力され
たデータは、図2のステップS4にて、ベース画面上に
配置されている部品の座標データと対応づけられて、メ
モリに記憶される。
The data input to each component setting dialog box is stored in the memory in step S4 of FIG. 2 in association with the coordinate data of the component arranged on the base screen.

【0036】その後、ユーザは、ベース画面(42)上に表
示されている部品を、制御の順序で順次、クリックす
る。図8の例では、図3中に示す順序〜で各部品を
クリックする。即ち、 先ず第1光電センサーS1によってワークWを検知
するので、第1光電センサーS1を表わす部品をクリッ
クする。 、 次に、第1モータM1及び第2モータM2を回
転させるので、これらのモータを表わす部品をクリック
する。 次に、第2光電センサーS2によってワークW′を
検知するので、第2光電センサーS2を表わす部品をク
リックする。 次に、第1シリンダーC1を前進させるので、第1
シリンダーC1を表わす部品をクリックする。 次に、第2シリンダーC2を前進させるので、第2
シリンダーC2を表わす部品をクリックする。 次に、第2シリンダーC2を後退させるので、第2
シリンダーC2を表わす部品をクリックする。 最後に、第1シリンダーC1を後退させるので、第
1シリンダーC1を表わす部品をクリックする。
Thereafter, the user sequentially clicks the components displayed on the base screen (42) in the order of control. In the example of FIG. 8, each component is clicked in the order shown in FIG. That is, first, since the work W is detected by the first photoelectric sensor S1, a component representing the first photoelectric sensor S1 is clicked. Next, since the first motor M1 and the second motor M2 are rotated, parts representing these motors are clicked. Next, since the workpiece W 'is detected by the second photoelectric sensor S2, a part representing the second photoelectric sensor S2 is clicked. Next, since the first cylinder C1 is advanced, the first cylinder C1 is moved forward.
Click the part representing cylinder C1. Next, since the second cylinder C2 is advanced,
Click the part representing cylinder C2. Next, since the second cylinder C2 is retracted,
Click the part representing cylinder C2. Finally, the part representing the first cylinder C1 is clicked to retract the first cylinder C1.

【0037】上述の部品選択操作の過程で、図2のステ
ップS5の如く1つの部品がクリックされると、ステッ
プS6では、クリックされた部品についての入力データ
を図6に示すステップテーブルに書き込んでいく。図8
の例では、図6に示す様に上述のクリック順序〜が
ステップ番号となり、クリックされた部品についての入
力データがコマンドとなって、次の様に一連の制御ステ
ップが自動的に記述される。
In the course of the above-described component selection operation, when one component is clicked as in step S5 in FIG. 2, in step S6, input data for the clicked component is written into the step table shown in FIG. Go. FIG.
In the example, as shown in FIG. 6, the above-described click order is a step number, input data for the clicked component is a command, and a series of control steps are automatically described as follows.

【0038】(ステップ1) 第1光電センサーS1を表
わす部品をクリックすることによって、該部品について
設定されている入力デバイス“X000”が書き込まれ
る。 (ステップ2、3) 第1モータM1及び第2モータM2
を表わす部品をクリックすることによって、これらの部
品について設定されている出力デバイス“Y000”及
び“Y001”が書き込まれる。 (ステップ4) 第2光電センサーS2を表わす部品をク
リックすることによって、該部品について設定されてい
る入力デバイス“X001”が書き込まれる。 (ステップ5) 第1シリンダーC1を表わす部品をクリ
ックすることによって、該部品について設定されている
前進の出力デバイス“Y002”及び入力デバイス“X
002”が書き込まれる。 (ステップ6) 第2シリンダーC2を表わす部品をクリ
ックすることによって、該部品について設定されている
前進の出力デバイス“Y005”及び入力デバイス“X
005”が書き込まれる。 (ステップ7) 第2シリンダーC2を表わす部品をクリ
ックすることによって、該部品について設定されている
後退の出力デバイス“Y004”及び入力デバイス“X
004”が書き込まれる。 (ステップ8) 第1シリンダーC1を表わす部品をクリ
ックすることによって、該部品について設定されている
後退の出力デバイス“Y003”及び入力デバイス“X
003”が書き込まれる。
(Step 1) By clicking on a component representing the first photoelectric sensor S1, the input device "X000" set for the component is written. (Steps 2 and 3) First motor M1 and second motor M2
Is clicked, the output devices "Y000" and "Y001" set for these components are written. (Step 4) By clicking on a component representing the second photoelectric sensor S2, the input device “X001” set for the component is written. (Step 5) By clicking the part representing the first cylinder C1, the forward output device “Y002” and the input device “X” set for the part are clicked.
(Step 6) By clicking on the part representing the second cylinder C2, the forward output device “Y005” and the input device “X” set for the part are clicked.
005 "is written in. (Step 7) By clicking the part representing the second cylinder C2, the backward output device" Y004 "and the input device" X "set for the part are clicked.
(Step 8) By clicking the part representing the first cylinder C1, the backward output device “Y003” and the input device “X” set for the part are clicked.
003 ”is written.

【0039】図2のステップS7にて、全ての部品のク
リックが終了したかどうかを判断し、イエスと判断され
たときは、図6のステップテーブルの最後に、ステップ
9として、(ステップ1)へジャンプすべきコマンド“J
UMP1”が自動的に書き込まれ、ステップテーブルが
完成する。
In step S7 of FIG. 2, it is determined whether or not all parts have been clicked. If the determination is affirmative, the step table in FIG. Command to jump to "J
UMP1 "is automatically written, and the step table is completed.

【0040】次に、図2のステップS8にて、ステップ
テーブルをニーモニック展開して、従来と同様にニーモ
ニック及びオペランドからなる制御プログラムを作成す
る。そして、最後にステップS9にて、作成された制御
プログラムをプログラマブル表示装置(1)にダウンロー
ドする。
Next, in step S8 of FIG. 2, the step table is mnemonically expanded to create a control program including mnemonics and operands as in the conventional case. Finally, in step S9, the created control program is downloaded to the programmable display device (1).

【0041】尚、本実施例のグラフィックエディターに
おいては、図6に示すステップテーブルと共に、図7に
示す履歴テーブルが自動的に作成される。履歴テーブル
は、各部品についての異常フラグを自動生成するための
ものであって、図8の例においては、図7に示す様に、
第1シリンダーC1及び第2シリンダーC2の前進、後
退動作について、出力デバイスがONとなった後に入力
デバイスがOFFの状態を保持する時間をタイマー(T
000〜T003)で監視し、タイマーが所定時間K1
00を経過した時点で、出力デバイス(B0100〜B
0103)に異常フラグ“ON”を出力する。従って、
何らかの異常が発生した場合、出力デバイスがONとな
った後に入力デバイスがOFFの状態のまま、所定時間
K100を経過し、異常フラグがONとなる。該履歴テ
ーブルによれば、異常フラグに基づいて制御対象システ
ムの異常を監視し、異常発生時には、警告を発する等の
対処が可能となる。
In the graphic editor of this embodiment, the history table shown in FIG. 7 is automatically created together with the step table shown in FIG. The history table is for automatically generating an abnormality flag for each part. In the example of FIG. 8, as shown in FIG.
Regarding the forward and backward movements of the first cylinder C1 and the second cylinder C2, the time during which the input device is kept off after the output device is turned on is determined by a timer (T
000-T003) and the timer is set to the predetermined time K1
00, the output devices (B0100-B0100-B
0103), an abnormal flag “ON” is output. Therefore,
When any abnormality occurs, a predetermined time K100 elapses after the output device is turned on and the input device is kept off, and the abnormality flag is turned on. According to the history table, it is possible to monitor an abnormality of the control target system based on the abnormality flag, and to take measures such as issuing a warning when an abnormality occurs.

【0042】上記本発明のグラフィックエディターによ
れば、図3に示す如く部品リスト(43)からベース画面(4
2)に必要な部品を配置し、図4及び図5に示す如き部品
設定ダイアログボックスに必要な情報を入力した後、図
3の如くベース画面(42)に表示されている部品を所定の
制御順序でクリックするだけで、自動的に制御プログラ
ムが作成されるので、初心者にとっても操作が簡易であ
り、短期間で習得が可能である。
According to the graphic editor of the present invention, the base screen (4) is displayed from the parts list (43) as shown in FIG.
After arranging the necessary components in 2) and inputting necessary information in the component setting dialog boxes as shown in FIGS. 4 and 5, the components displayed on the base screen (42) as shown in FIG. Since the control program is automatically created simply by clicking in the order, the operation is simple even for a beginner and can be learned in a short time.

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

【図1】本発明に係るグラフィックエディターをプログ
ラマブル表示装置に接続した状態を表わす図である。
FIG. 1 is a diagram showing a state in which a graphic editor according to the present invention is connected to a programmable display device.

【図2】本発明に係るエディタープログラムを表わすフ
ローチャートである。
FIG. 2 is a flowchart showing an editor program according to the present invention.

【図3】エディター画面上のベース画面及び部品リスト
を表わす図である。
FIG. 3 is a diagram showing a base screen and a parts list on an editor screen.

【図4】部品設定ダイヤログボックスを表わす図であ
る。
FIG. 4 is a diagram showing a component setting dialog box.

【図5】他の部品設定ダイヤログボックスを表わす図で
ある。
FIG. 5 is a diagram showing another component setting dialog box.

【図6】ステップテーブルを表わす図である。FIG. 6 is a diagram showing a step table.

【図7】履歴テーブルを表わす図である。FIG. 7 is a diagram showing a history table.

【図8】制御対象システムの構成を表わす斜視図であ
る。
FIG. 8 is a perspective view illustrating a configuration of a control target system.

【図9】表示/制御システムの構成を表わすブロック図
である。
FIG. 9 is a block diagram illustrating a configuration of a display / control system.

【図10】FEPROMのデータ構造を表わす図であ
る。
FIG. 10 is a diagram showing a data structure of a FEPROM.

【図11】処理指示語の基本的なフォーマットを示す図
である。
FIG. 11 is a diagram showing a basic format of a processing instruction word.

【図12】プログラマブル表示装置の動作を表わすフロ
ーチャートである。
FIG. 12 is a flowchart illustrating an operation of the programmable display device.

【図13】従来の作画処理及びユーザプログラムの作成
処理の流れを表わすフローチャートである。
FIG. 13 is a flowchart showing a flow of a conventional drawing process and a process of creating a user program.

【図14】従来の作画処理の具体的手続きを表わすフロ
ーチャートである。
FIG. 14 is a flowchart showing a specific procedure of a conventional drawing process.

【図15】従来のユーザプログラムの作成の具体的手続
きを表わすフローチャートである。
FIG. 15 is a flowchart showing a specific procedure for creating a conventional user program.

【図16】ラダーファイル及び画面ファイルのデータ構
造を示す図である。
FIG. 16 is a diagram showing a data structure of a ladder file and a screen file.

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

(1) プログラマブル表示装置 (3) PLC (4) パーソナルコンピュータ (41) ディスプレイ (42) ベース画面 (43) 部品リスト (44)〜(48) 部品設定ダイヤログボックス (5) 情報記録媒体 (1) Programmable display device (3) PLC (4) Personal computer (41) Display (42) Base screen (43) Parts list (44) to (48) Parts setting dialog box (5) Information recording medium

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の機器からなるシステムを制御する
制御装置の制御プログラムを作成するためのエディター
であって、 制御対象システムを構成する複数の機器について、各機
器のシンボル画像を含む部品リストをエディター画面上
に表示する部品リスト表示手段と、 部品リストから任意のシンボル画像を選択してエディタ
ー画面上のベース画面へ移動させる操作に応じ、ベース
画面上にシンボル画像を配置する画像配置手段と、 ベース画面にシンボル画像が配置されている各機器につ
いて、各機器へ出力し或いは各機器から入力される制御
データの入出力点のアドレス情報、並びに、その他の必
要な制御情報の入力を促す部品設定ダイアログボックス
を表示するダイアログボックス表示手段と、 部品設定ダイアログボックスに入力された情報を記憶す
る情報記憶手段と、 ベース画面上に表示されているシンボル画像が選択操作
される順序に従って、選択された機器についてのアドレ
ス情報及び制御情報を情報記憶手段から順次読み出し、
これらの情報に基づいて、機器毎のデータ入出力に関す
る制御ステップを記述し、選択された全ての機器につい
ての一連の制御ステップが記述されたステップテーブル
を作成するテーブル作成手段と、 作成されたステップテーブルを制御プログラムに展開す
るテーブル展開手段とを具えていることを特徴とするグ
ラフィックエディター。
An editor for creating a control program for a control device that controls a system including a plurality of devices, wherein a part list including a symbol image of each device is provided for a plurality of devices constituting a control target system. Parts list display means for displaying on the editor screen, image arrangement means for arranging symbol images on the base screen according to an operation of selecting an arbitrary symbol image from the parts list and moving it to the base screen on the editor screen, For each device for which the symbol image is arranged on the base screen, the address setting of the input / output point of the control data output to each device or input from each device, and the part setting for prompting the input of other necessary control information Dialog box display means for displaying a dialog box And information storing means for storing information, in the order in which the symbol image displayed on the base screen is selectively operated sequentially reads the address information and control information about the selected device from the information storage means,
Table creation means for describing control steps related to data input / output for each device based on the information, and creating a step table describing a series of control steps for all selected devices; A graphic editor, comprising: table expanding means for expanding a table into a control program.
【請求項2】 更に、エディター画面上に制御対象シス
テムを表わすベース画面を描画するためのベース画面描
画手段と、制御プログラムを制御装置へダウンロードす
るためのダウンロード手段とを具えている請求項1に記
載のグラフィックエディター。
2. The apparatus according to claim 1, further comprising: a base screen drawing means for drawing a base screen representing the control target system on the editor screen; and a download means for downloading the control program to the control device. Graphic editor described.
【請求項3】 複数の機器からなるシステムを制御する
制御装置の制御プログラムを作成するためのエディター
プログラムを記録した記録媒体であって、 エディター画面上に制御対象システムを表わすベース画
面を描画する描画処理と、 制御対象システムを構成する複数の機器について、各機
器のシンボル画像を含む部品リストをエディター画面上
に表示する部品リスト表示処理と、 部品リストから任意のシンボル画像を選択してベース画
面へ移動させる操作に応じて、ベース画面上にシンボル
画像を配置する画像配置処理と、 ベース画面にシンボル画像が配置されている各機器につ
いて、各機器へ出力し或いは各機器から入力される制御
データの入出力点のアドレス情報、並びに、その他の必
要な制御情報の入力を促す部品設定ダイアログボックス
を表示するダイアログボックス表示処理と、 部品設定ダイアログボックスに入力された情報を記憶す
る情報記憶処理と、 ベース画面上に表示されているシンボル画像が選択操作
される順序に従って、選択された機器についてのアドレ
ス情報及び制御情報を順次読み出し、これらの情報に基
づいて、機器毎のデータ入出力に関する制御ステップを
記述し、選択された全ての機器についての一連の制御ス
テップが記述されたステップテーブルを作成するテーブ
ル作成処理と、 作成されたステップテーブルを制御プログラムに展開す
るテーブル展開処理と、 これによって得られた制御プログラムを制御装置へダウ
ンロードするダウンロード処理とを実行するエディター
プログラムを記録したコンピュータ読み取り可能な記録
媒体。
3. A recording medium storing an editor program for creating a control program of a control device for controlling a system including a plurality of devices, wherein a base screen representing a system to be controlled is rendered on an editor screen. Processing, parts list display processing that displays a parts list including the symbol images of each device on the editor screen for multiple devices that make up the controlled system, and selection of any symbol image from the parts list to the base screen An image arrangement process for arranging a symbol image on the base screen in accordance with an operation of moving, and for each device having the symbol image arranged on the base screen, a control data output to each device or a control data input from each device. A part setting dialog that prompts input of input / output point address information and other necessary control information Dialog box display processing for displaying boxes, information storage processing for storing information entered in the part setting dialog box, and information on the selected device according to the order in which the symbol images displayed on the base screen are selected. Address information and control information are sequentially read out, and based on these information, control steps related to data input / output for each device are described, and a step table in which a series of control steps for all selected devices are described is created. Computer-readable recording of an editor program for executing a table creation process for performing a table development process for developing the created step table into a control program, and a download process for downloading the obtained control program to a control device. recoding media.
JP06732098A 1998-03-17 1998-03-17 Computer readable recording medium recording graphic editor and editor program Expired - Fee Related JP3499740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06732098A JP3499740B2 (en) 1998-03-17 1998-03-17 Computer readable recording medium recording graphic editor and editor program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06732098A JP3499740B2 (en) 1998-03-17 1998-03-17 Computer readable recording medium recording graphic editor and editor program

Publications (2)

Publication Number Publication Date
JPH11265280A true JPH11265280A (en) 1999-09-28
JP3499740B2 JP3499740B2 (en) 2004-02-23

Family

ID=13341621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06732098A Expired - Fee Related JP3499740B2 (en) 1998-03-17 1998-03-17 Computer readable recording medium recording graphic editor and editor program

Country Status (1)

Country Link
JP (1) JP3499740B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002140114A (en) * 2000-11-02 2002-05-17 Yokogawa Electric Corp Display for monitoring operation
JP2004510275A (en) * 2000-09-28 2004-04-02 ビジロス, インコーポレイテッド System and method for dynamic interaction with a remote device
JP2008040943A (en) * 2006-08-09 2008-02-21 Hitachi Ltd Hmi development supporting device, and hmi development supporting method and program
JP2008273104A (en) * 2007-05-02 2008-11-13 Nissei Plastics Ind Co Molding support system
JP2009048396A (en) * 2007-08-20 2009-03-05 Koyo Electronics Ind Co Ltd Simulator of motor motion
JP2012164320A (en) * 2004-05-04 2012-08-30 Fisher-Rosemount Systems Inc Associated graphic display in process environment
US10054926B2 (en) 2013-09-24 2018-08-21 Mitsubishi Electric Corporation Programmable controller and control method of programmable controller

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004510275A (en) * 2000-09-28 2004-04-02 ビジロス, インコーポレイテッド System and method for dynamic interaction with a remote device
JP2002140114A (en) * 2000-11-02 2002-05-17 Yokogawa Electric Corp Display for monitoring operation
JP4626785B2 (en) * 2000-11-02 2011-02-09 横河電機株式会社 Display device for operation monitoring
JP2012164320A (en) * 2004-05-04 2012-08-30 Fisher-Rosemount Systems Inc Associated graphic display in process environment
JP2015038736A (en) * 2004-05-04 2015-02-26 フィッシャー−ローズマウント システムズ,インコーポレイテッド Associated graphic displays in process environment
JP2017182832A (en) * 2004-05-04 2017-10-05 フィッシャー−ローズマウント システムズ,インコーポレイテッド Associated graphic display in process environment, display editor program, display object, and process control system
JP2008040943A (en) * 2006-08-09 2008-02-21 Hitachi Ltd Hmi development supporting device, and hmi development supporting method and program
JP2008273104A (en) * 2007-05-02 2008-11-13 Nissei Plastics Ind Co Molding support system
JP2009048396A (en) * 2007-08-20 2009-03-05 Koyo Electronics Ind Co Ltd Simulator of motor motion
US10054926B2 (en) 2013-09-24 2018-08-21 Mitsubishi Electric Corporation Programmable controller and control method of programmable controller

Also Published As

Publication number Publication date
JP3499740B2 (en) 2004-02-23

Similar Documents

Publication Publication Date Title
JP4462449B2 (en) Control system setting device
JPH02277126A (en) Method and device for automatic production of control program for computer control system
US20120117548A1 (en) System and method for free form comments for a programmable logic controller
JP2005327263A (en) Control system setting device
JP6372308B2 (en) Information processing apparatus, information processing method, information processing program, and recording medium
CN100392587C (en) A guide for programming an intelligent module
TWI465868B (en) Sequence program design support device
JPH11265280A (en) Graphic editor and computer-readable recording medium for recording editor program
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP3251423B2 (en) Programming equipment for programmable controllers and functional units for programmable controllers
JP3297844B2 (en) Download system and computer-readable recording medium recording download program
JP3847601B2 (en) Control display device, control program, and recording medium recording the same
JP6337810B2 (en) Information processing apparatus, information processing method, and program
JPH10283020A (en) Programmable display device
JP2006243841A (en) Plc tool device
JP3913414B2 (en) Editor device and recording medium recording editor program
JPH11175326A (en) Editor device and computer readable recording medium recording editor program
JP2007193425A (en) Screen data preparation device, screen data edition method, and screen data edition program
JP2002062910A (en) Editor device and storage medium recording editor program
JP3795473B2 (en) Editor device and recording medium recording editor program
JP3712640B2 (en) Editor device and recording medium recording editor program
JP2001075791A (en) Editor device and recording medium recording editor program
JP2009048396A (en) Simulator of motor motion
JP3710731B2 (en) Editor device and recording medium recording editor program
WO2023223957A1 (en) Command list creating device, information creating device, screen creating device, drawing creating device, command list creating method, information creating method, command list creating program, screen creating program, drawing creating program, and recording medium

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121205

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121205

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131205

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees