JP3492146B2 - Programming device for programmable controller - Google Patents
Programming device for programmable controllerInfo
- Publication number
- JP3492146B2 JP3492146B2 JP11594097A JP11594097A JP3492146B2 JP 3492146 B2 JP3492146 B2 JP 3492146B2 JP 11594097 A JP11594097 A JP 11594097A JP 11594097 A JP11594097 A JP 11594097A JP 3492146 B2 JP3492146 B2 JP 3492146B2
- Authority
- JP
- Japan
- Prior art keywords
- pol
- execution number
- instruction
- execution
- command
- 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.)
- Expired - Fee Related
Links
Landscapes
- Stored Programmes (AREA)
- Programmable Controllers (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、一般産業設備の監
視や制御のために使用される問題向き言語であるPOL
言語で制御プログラムを組むプログラマブルコントロー
ラのプログラミング装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to POL, which is a problem-oriented language used for monitoring and controlling general industrial equipment.
The present invention relates to a programmable controller programming device that composes a control program in a language.
【0002】[0002]
【従来の技術】通常、POL言語のプログラム(以下P
OLプログラムと称す)は、パーソナルコンピュータな
どのプログラミング装置で作成および編集を行うが、オ
ペレータがプログラムを作成する場合は、CRΤの表示
画面上に図面を書くイメージでΡOL命令を配置するこ
とによりPOLプログラムを作成できる。なお、表示画
面上の図面をロジック図と称す)。2. Description of the Related Art Normally, a POL language program (hereinafter referred to as P
An OL program) is created and edited by a programming device such as a personal computer. However, when the operator creates the program, the POL program is arranged on the display screen of the CRΤ by arranging the ΡOL instruction in the image of drawing. Can be created. The drawing on the display screen is called a logic diagram).
【0003】この場合、表示画面上に複数のPOL命令
を配置した後、画面に並べられているPOL命令の出力
端子と他のPOL命令の入力端子とを接続し、それぞれ
のPOL命令に実行番号を設定する必要がある。In this case, after arranging a plurality of POL commands on the display screen, the output terminals of the POL commands arranged on the screen are connected to the input terminals of other POL commands, and the execution number is assigned to each POL command. Need to be set.
【0004】こうして作成したPOLプログラムは、プ
ログラマブルコントローラ(制御装置)が実行可能な形
式のオブジェクトコードへジェネレーションされる。プ
ログラマブルコントローラは、オブジェクトコードに並
べられたΡOL命令を順次実行して行く。したがって、
オブジェクトコードの生成時に、各ΡOL命令を予め実
行順に並び替えておく必要がある。実行番号は、この命
令の実行順序を決定するために必要となる。The POL program created in this way is generated into an object code in a form executable by a programmable controller (control device). The programmable controller sequentially executes the ΡOL instruction arranged in the object code. Therefore,
When the object code is generated, it is necessary to rearrange each ΡOL instruction in the order of execution in advance. The execution number is necessary to determine the execution order of this instruction.
【0005】上記プログラミング装置を一般に保守ツー
ルと呼ぶが、この保守ツールは、図9および図10に示
すような構成をとる。The above programming device is generally called a maintenance tool. This maintenance tool has a structure as shown in FIGS. 9 and 10.
【0006】すなわち、CRΤ90はPOL命令で作成
するプログラムを表示するためのものである。マウス9
2はPOLシンボル本体やボタンの選択を行う入力装置
である。キーボード91は実行番号の値等の文字入力を
行う補助入力装置である。入力手段102は、マウス9
2、キーボード91等によるオペレータの入力を分類す
る手段である。画面処理手段103は、画面にウィンド
ウやメッセージ等を表示するためのデータを作成する手
段である。表示手段101は、画面表示のためのデータ
を受けCRT90に表示する手段である。ΡOLプログ
ラム格納部100は、POLプログラムを格納する部
分、例えば磁気ディスク装置やメモリなどの記憶領域で
ある。オブジェクトコード生成手段104は、POLプ
ログラムからオブジェクトコードを生成する手段であ
る。オブジェクトコード格納部105は、オブジェクト
コード生成手段104が生成したオブジェクトコードを
格納する部分であり、上記ΡOLプログラム格納部10
0とは異なる記憶領域である。実行番号設定手段106
は、オペレータの入力した実行番号をPOL命令に設定
する手段である。That is, CRI 90 is for displaying the program created by the POL command. Mouse 9
Reference numeral 2 is an input device for selecting the POL symbol body and buttons. The keyboard 91 is an auxiliary input device for inputting characters such as values of execution numbers. The input means 102 is the mouse 9
2. It is a means for classifying the operator's input through the keyboard 91 or the like. The screen processing means 103 is means for creating data for displaying windows, messages, etc. on the screen. The display means 101 is means for receiving data for screen display and displaying it on the CRT 90. The ΡOL program storage unit 100 is a portion for storing the POL program, for example, a storage area such as a magnetic disk device or a memory. The object code generation means 104 is means for generating an object code from a POL program. The object code storage unit 105 is a unit for storing the object code generated by the object code generation unit 104, and is the above-mentioned OL program storage unit 10.
It is a storage area different from 0. Execution number setting means 106
Is a means for setting the execution number input by the operator in the POL command.
【0007】以下、図11、図12を参照して従来の保
守ツールの動作について説明する。図11は従来の保守
ツールがPOL命令に対して実行番号を設定する際の制
御の流れを示す図、図12は従来の保守ツールで実行番
号を設定するときの表示画面(ロジック図編集画面)の
一例を示す図である。The operation of the conventional maintenance tool will be described below with reference to FIGS. FIG. 11 is a diagram showing a control flow when a conventional maintenance tool sets an execution number for a POL command, and FIG. 12 is a display screen (logic diagram edit screen) when an execution number is set by the conventional maintenance tool. It is a figure which shows an example.
【0008】この保守ツールの場合、表示手段101に
は、図12に示すように、ロジック図編集画面120が
表示されており、オペレータがこのロジック図編集画面
120上にPOL命令121、122などを配置し、そ
れぞれを接続して行くことによりΡOLプログラムが作
成される。In the case of this maintenance tool, as shown in FIG. 12, a logic diagram edit screen 120 is displayed on the display means 101, and the operator can input POL commands 121, 122 and the like on the logic diagram edit screen 120. By arranging and connecting each, the ΡOL program is created.
【0009】ここで、新たに配置したPOL命令、例え
ばPOL命令122に対して実行番号を設定する場合
は、オペレータがマウス92でロジック図編集画面12
0上のカーソル123を移動させてΡOL命令122を
クリック操作にて選択する。Here, when the execution number is set for the newly arranged POL command, for example, the POL command 122, the operator uses the mouse 92 to edit the logic diagram edit screen 12
The cursor 123 above 0 is moved and the ΡOL instruction 122 is clicked to select it.
【0010】すると、図11に示すように、入力手段1
02はクリックされた位置を画面処理手段103へ渡し
(11a)、画面処理手段103は、選択されたΡOL
命令122に対して、実行番号を入力するための小さな
ウィンドウ画面(図12の入力ウィンドウ125)を表
示する(11b)。Then, as shown in FIG. 11, the input means 1
02 passes the clicked position to the screen processing means 103 (11a), and the screen processing means 103 selects the selected OL.
In response to the instruction 122, a small window screen (input window 125 in FIG. 12) for inputting the execution number is displayed (11b).
【0011】続いて、オペレータがキーボード91を操
作して、ΡOL命令122に設定する実行番号を、例え
ば“12”などとキー入力すると、入力手段102は、
入力された値を実行番号設定手段115へ渡し(11
c)、実行番号設定手段106は渡された実行番号をP
OLプログラム格納部100に書き込み(11d)、書
き込み終了を画面処理手段114へ伝える(11e)。
画面処理手段103は、設定された実行番号をPOLプ
ログラム格納部100より読み出し(11f)、図12
に示すように、ロジック図編集画面120上に実行番
号、例えば“12”などを表示する(11g)。以上1
1a〜11gの操作を繰り返し行い、全ΡOL命令に対
して実行番号を設定する。Next, when the operator operates the keyboard 91 to key in the execution number set in the ΡOL instruction 122, for example, "12", the input means 102
The input value is passed to the execution number setting means 115 (11
c), the execution number setting means 106 sets the passed execution number to P
Writing to the OL program storage unit 100 (11d) and notifying the end of writing to the screen processing means 114 (11e).
The screen processing means 103 reads the set execution number from the POL program storage unit 100 (11f), and
As shown in, the execution number such as "12" is displayed on the logic diagram edit screen 120 (11g). Above 1
The operations 1a to 11g are repeated to set the execution number for all the OL instructions.
【0012】[0012]
【発明が解決しようとする課題】しかしながら、上述し
た従来の保守ツール、つまりプログラマブルコントロー
ラのプログラミング装置では、ΡOL命令の実行番号を
設定するには、配置したΡOL命令に対してそれぞれの
実行番号をオペレータがキー入力して設定する必要があ
り、このため、プログラムの作成に多大な時間を要する
という問題があった。However, in the above-mentioned conventional maintenance tool, that is, in the programming device of the programmable controller, in order to set the execution number of the ΡOL instruction, the execution number of each ΡOL instruction is assigned to the operator. Has to be set by keying in, and there is a problem that it takes a lot of time to create a program.
【0013】また、既にΡOL命令に設定済みの実行番
号を変更する場合も、新しい実行番号をオペレータがキ
ー入力し、それ以降の各実行番号を一つづつ設定し直す
必要があるため、プログラム中に一つのPOL命令を挿
入するだけでもプログラム変更に多大な時間を要すると
いう問題があった。Also, when changing the execution number that has already been set in the ΡOL instruction, the operator must key in a new execution number and set each subsequent execution number one by one. However, there is a problem that even if only one POL command is inserted, it takes a lot of time to change the program.
【0014】本発明はこのような課題を解決するために
なされたもので、POLプログラムの作成および変更を
短時間で行うことのできるプログラマブルコントローラ
のプログラミング装置を提供することを目的としてい
る。The present invention has been made to solve the above problems, and an object of the present invention is to provide a programming device for a programmable controller capable of creating and changing a POL program in a short time.
【0015】[0015]
【0016】[0016]
【課題を解決するための手段】上記した目的を達成する
ために、請求項1記載
のプログラマブルコントローラの
プログラミング装置は、POL命令を表示画面に表示
し、前記POL命令に対して実行番号を設定すること
で、その実行番号の順にPOL命令を実行するプログラ
マブルコントローラのプログラミング装置において、前
記表示画面上に配置されたPOL命令を格納したプログ
ラム格納手段と、前記POL命令に対する実行番号の設
定開始を指示する入力手段と、前記入力手段により実行
番号の開始が指示された場合、前記プログラム格納手段
に格納されているΡOL命令の中から、実行番号が未設
定のΡOL命令を、前記表示画面上の配置位置関係に基
づき検索するΡOL命令検索手段と、前記ΡOL命令検
索手段により検索された順にPOL命令に実行番号を設
定する実行番号設定手段とを具備したことを特徴として
いる。 [Means for Solving the Problems] To achieve the above object.
Therefore, the programmable controller programming device according to claim 1 displays a POL instruction on a display screen, sets an execution number for the POL instruction, and executes the POL instruction in the order of the execution number. In the programming device, the program storage means for storing the POL command arranged on the display screen, the input means for instructing to start setting the execution number for the POL command, and the input means for instructing the start of the execution number In this case, from the ΡOL instructions stored in the program storage means, ΡOL instruction search means for searching for ΡOL instructions for which execution numbers have not been set based on the positional relationship on the display screen, and the ΡOL instruction search. Execution number setting means for setting execution numbers to POL commands in the order searched by the means It is characterized by comprising a.
【0017】 請求項2記載のプログラマブルコントロ
ーラのプログラミング装置は、POL命令を表示画面に
表示し、前記POL命令に対して実行番号を設定するこ
とで、その実行番号の順にPOL命令を実行するプログ
ラマブルコントローラのプログラミング装置において、
前記POL命令を実行番号に対応させて格納したプログ
ラム格納手段と、前記表示画面上に新たなPOL命令を
配置する入力手段と、前記入力手段により前記表示画面
上に新たに配置されたPOL命令を記憶するPOL命令
記憶手段と、前記入力手段により新たなPOL命令が配
置された場合、前記プログラム格納手段に格納されてい
るPOL命令の中から、最大値の実行番号が設定されて
いるPOL命令を検索すると共に、検索されたPOL命
令の実行番号に続く新たな実行番号を求めるPOL命令
検索手段と、前記POL命令検索手段により求められた
前記新たな実行番号を前記POL命令記憶手段に記憶さ
れているPOL命令に設定し前記プログラム格納手段へ
格納する実行番号設定手段とを具備したことを特徴とし
ている。The programming device of the programmable controller of claim 2, wherein, by displaying the POL command to the display screen, sets the execution number to the POL instruction, the programmable controller for executing a POL instructions in order of their execution number In the programming device of
A program storage unit that stores the POL command in association with an execution number, an input unit that arranges a new POL command on the display screen, and a POL command that is newly arranged on the display screen by the input unit. When a new POL instruction is arranged by the POL instruction storage means to be stored and the input means, the POL instruction having the maximum execution number is selected from among the POL instructions stored in the program storage means. A POL instruction search means for searching for a new execution number following the execution number of the searched POL instruction; and a new execution number obtained by the POL instruction search means for being stored in the POL instruction storage means. It is characterized by further comprising: an execution number setting means for setting the POL command to be stored and storing it in the program storage means.
【0018】 請求項3記載のプログラマブルコントロ
ーラのプログラミング装置は、POL命令を表示画面に
表示し、前記POL命令に対して実行番号を設定するこ
とで、その実行番号の順にPOL命令を実行するプログ
ラマブルコントローラのプログラミング装置において、
前記表示画面上に配置されたPOL命令を格納したプロ
グラム格納手段と、前記実行番号を設定するための間隔
情報を格納した実行番号間隔格納部と、前記POL命令
に対する実行番号の設定開始を指示する入力手段と、前
記入力手段により実行番号の開始が指示された場合、前
記プログラム格納手段に格納されているPOL命令の中
から、実行番号が未設定のPOL命令を、命令同士の接
続関係に基づき検索するΡOL命令検索手段と、前記Ρ
OL命令検索手段により検索されたPOL命令の順に前
記実行番号間隔格納部の間隔情報に基づき実行番号を設
定する実行番号設定手段とを具備したことを特徴として
いる。請求項4記載のプログラマブルコントローラのプ
ログラミング装置は、POL命令を表示画面に表示し、
前記POL命令に対して実行番号を設定することで、そ
の実行番号の順にPOL命令を実行するプログラマブル
コントローラのプログラミング装置において、前記表示
画面上に配置されたPOL命令を格納したプログラム格
納手段と、前記実行番号を設定するための間隔情報を格
納した実行番号間隔格納部と、前記POL命令に対する
実行番号の設定開始を指示する入力手段と、前記入力手
段により実行番号の設定開始が指示された場合、前記プ
ログラム格納手段に格納されているΡOL命令の中か
ら、実行番号が未設定のΡOL命令を、前記表示画面上
の配置位置関係に基づき検索するΡOL命令検索手段
と、前記ΡOL命令検索手段により検索されたPOL命
令の順に前記実行番号間隔格納部の間隔情報に基づき実
行番号を設定する実行番号設定手段とを具備したことを
特徴としている。A programmable controller programming apparatus according to a third aspect of the present invention displays a POL instruction on a display screen, sets an execution number for the POL instruction, and executes the POL instruction in the order of the execution number. In the programming device of
A program storage unit that stores a POL command arranged on the display screen, an execution number interval storage unit that stores interval information for setting the execution number, and an instruction to start setting an execution number for the POL command. When the start of the execution number is instructed by the input means and the input means, the POL instruction whose execution number is not set is selected from among the POL instructions stored in the program storage means based on the connection relationship between the instructions. ΡOL command searching means for searching, and the Ρ
It is characterized by further comprising an execution number setting means for setting an execution number based on the interval information of the execution number interval storage section in the order of the POL commands searched by the OL command searching means. The programming device for a programmable controller according to claim 4 , displaying a POL command on a display screen,
In a programming device of a programmable controller that sets the execution numbers to the POL commands to execute the POL commands in the order of the execution numbers, a program storage unit storing the POL commands arranged on the display screen; An execution number interval storage unit that stores interval information for setting an execution number, and the POL instruction
Input means for instructing the start of execution number setting, and, when the input means is instructed for start of execution number setting, among the ΡOL instructions stored in the program storage means, the ΡOL instruction for which the execution number is not set is set. To set the execution number based on the interval information in the execution number interval storage unit in the order of the POL instruction searching means for searching based on the arrangement positional relationship on the display screen and the POL instruction searched by the OL instruction searching means. It is characterized by including a number setting means.
【0019】 請求項5記載のプログラマブルコントロ
ーラのプログラミング装置は、POL命令を表示画面に
表示し、前記POL命令に対して実行番号を設定するこ
とで、その実行番号の順にPOL命令を実行するプログ
ラマブルコントローラのプログラミング装置において、
前記POL命令を実行番号に対応させて格納したプログ
ラム格納手段と、前記実行番号を設定するための間隔情
報を格納した実行番号間隔格納部と、前記表示画面上に
新たなPOL命令を配置する入力手段と、前記入力手段
により前記表示画面上に新たに配置されたPOL命令を
記憶するPOL命令記憶手段と、前記入力手段により新
たなPOL命令が配置された場合、前記プログラム格納
手段に格納されているPOL命令の中から、最大値の実
行番号が設定されているPOL命令を検索すると共に、
検索されたPOL命令の実行番号に続く新たな実行番号
を前記実行番号間隔格納部の間隔情報に基づき求めるP
OL命令検索手段と、前記POL命令検索手段により求
められた前記新たな実行番号を前記POL命令記憶手段
に記憶されているPOL命令に設定し前記プログラム格
納手段へ格納する実行番号設定手段とを具備したことを
特徴としている。A programmable controller programming device according to claim 5 displays a POL instruction on a display screen, sets an execution number for the POL instruction, and executes the POL instruction in the order of the execution number. In the programming device of
A program storage unit that stores the POL command in association with an execution number, an execution number interval storage unit that stores interval information for setting the execution number, and an input that arranges a new POL command on the display screen. Means, a POL instruction storage means for storing a POL instruction newly arranged on the display screen by the input means, and a new POL instruction if arranged by the input means, stored in the program storage means. The POL command with the maximum execution number is searched from among the POL commands
A new execution number following the execution number of the retrieved POL instruction is obtained based on the interval information in the execution number interval storage unit P
And an execution number setting unit for setting the new execution number obtained by the POL command searching unit to a POL command stored in the POL command storing unit and storing it in the program storing unit. It is characterized by having done.
【0020】 請求項6記載のプログラマブルコントロ
ーラのプログラミング装置は、POL命令を表示画面に
表示し、前記POL命令に対して実行番号を設定するこ
とで、その実行番号の順にPOL命令を実行するプログ
ラマブルコントローラのプログラミング装置において、
前記表示画面中から所望のPOL命令とこのPOL命令
の実行番号の変更値とを指定する入力手段と、前記PO
L命令を実行番号と対応させて格納したプログラム格納
部と、前記入力手段により指定されたΡOL命令を前記
プログラム格納部から検索するΡOL命令検索手段と、
前記入力手段により指定された実行番号の変更値を前記
ΡOL命令検索手段により検索されたPOL命令に新し
い実行番号を設定すると共に、変更指示されたPOL命
令以降のPOL命令の実行番号を更新する実行番号設定
手段とを具備したことを特徴としている。A programmable controller programming apparatus according to claim 6 displays a POL instruction on a display screen and sets an execution number for the POL instruction, thereby executing the POL instructions in the order of the execution numbers. In the programming device of
Input means for designating a desired POL command and a change value of the execution number of this POL command from the display screen;
A program storage unit that stores the L instruction in association with the execution number; and a ΡOL instruction search unit that searches the program storage unit for the ΡOL instruction specified by the input unit.
Execution for updating the execution number of the POL instruction after the POL instruction for which the change is instructed, while setting a new execution number for the POL instruction searched by the ΡOL instruction searching means for the change value of the execution number designated by the input means It is characterized by including a number setting means.
【0021】 請求項7記載のプログラマブルコントロ
ーラのプログラミング装置は、POL命令を表示画面に
表示し、前記POL命令に対して実行番号を設定するこ
とで、その実行番号の順にPOL命令を実行するプログ
ラマブルコントローラのプログラミング装置において、
前記表示画面中から所望のPOL命令とこのPOL命令
の実行番号の変更値とを指定する入力手段と、前記実行
番号の変更幅情報を格納した変更幅格納部と、前記PO
L命令と実行番号とを対応させて格納したプログラム格
納部と、前記入力手段により指定されたΡOL命令を前
記プログラム格納部から検索するΡOL命令検索手段
と、前記入力手段により指定された実行番号の変更値を
前記ΡOL命令検索手段により検索されたPOL命令に
新しい実行番号を設定すると共に、変更指示されたPO
L命令以降のPOL命令の実行番号を、前記変更幅格納
部の変更幅情報と前記新たな実行番号とに基づき変更す
る実行番号設定手段とを具備したことを特徴としてい
る。A programmable controller programming device according to claim 7 displays a POL instruction on a display screen, sets an execution number for the POL instruction, and executes the POL instruction in the order of the execution number. In the programming device of
Input means for designating a desired POL command and a change value of the execution number of the POL command from the display screen, a change width storage unit for storing change width information of the execution number, and the PO.
A program storage unit that stores L instructions and execution numbers in association with each other, a ΡOL instruction search unit that searches the program storage unit for the ΡOL instruction designated by the input unit, and an execution number designated by the input unit. A new execution number is set to the POL command searched for by the ΡOL command search means, and the PO whose modification value is instructed is changed.
It is characterized in that it comprises an execution number setting means for changing the execution number of the POL instruction after the L instruction based on the change width information of the change width storage section and the new execution number.
【0022】[0022]
【0023】 請求項1、請求項3、請求項4記載の発
明の場合、実行番号の初期入力する上で、ΡOL命令の
配置および接続が完了した時点で、入力手段により実行
番号の開始が指示された場合、プログラム格納手段に格
納されているPOL命令の中から、実行番号が未設定の
POL命令が、命令同士の接続関係や表示画面上の配置
位置関係に基づき検索されて、検索されたPOL命令の
順に実行番号が設定される。In the case of the first, third and fourth aspects of the invention, when the execution number is initially input, the input means instructs the start of the execution number when the placement and connection of the ΡOL instruction are completed. In this case, among the POL instructions stored in the program storage means, the POL instructions whose execution numbers have not been set are connected with each other and arranged on the display screen.
The execution numbers are set in the order of the searched POL commands by searching based on the positional relationship .
【0024】つまり、実行番号を設定する条件としてP
OL命令同士の接続関係や表示画面上の配置位置関係な
どの条件を予め決めておき、その条件を満たしたPOL
命令から順に実行番号が設定されるので、POLプログ
ラムの作成を短時間で行うことができ、プログラミング
装置自体の使い勝手の向上と作業効率の向上とを実現す
ることができる。That is, P is used as a condition for setting the execution number.
Conditions such as the connection relationship between OL commands and the arrangement position relationship on the display screen are determined in advance, and the POL that satisfies the conditions is determined in advance.
Since the execution numbers are set in order from the instruction, the POL program can be created in a short time, and the usability of the programming device itself and the work efficiency can be improved.
【0025】 請求項2、請求項5記載の発明の場合、
新たなPOL命令を表示画面上に配置すると、既に配置
されている他のPOL命令に設定されている実行番号か
ら次に設定する実行番号が求められて、新たなΡOL命
令に実行番号が設定される。In the case of the inventions of claims 2 and 5 ,
When a new POL instruction is placed on the display screen, the execution number to be set next is obtained from the execution numbers set in other POL instructions that have already been placed, and the execution number is set in the new ΡOL instruction. It
【0026】つまり、実行番号を初期入力する際に、1
つのΡOL命令を配置するたびに、実行番号が自動的に
設定されるので、ΡOLプログラムの入力時間を短縮す
ることができ、プログラミング装置自体の使い勝手の向
上と作業効率の向上とを実現することができる。That is, when the execution number is initially input, 1
Since the execution number is automatically set every time one ΡOL instruction is arranged, the input time of the ΡOL program can be shortened, and the usability of the programming device itself and the work efficiency can be improved. it can.
【0027】 請求項6、請求項7記載の発明の場合、
既に設定済みの実行番号を変更する上で、入力手段によ
りΡOL命令が指定されると、そのΡOL命令がプログ
ラム格納部から検索され、検索されたPOL命令に対す
る新たな実行番号が固定値またオペレータが設定した変
更幅の値で求められてその値が設定されると共に、変更
指示されたPOL命令以降のPOL命令の実行番号が更
新される。In the case of the inventions of claims 6 and 7 ,
When the ΡOL instruction is designated by the input means in changing the already set execution number, the ΡOL instruction is retrieved from the program storage unit, and a new execution number for the retrieved POL instruction is a fixed value or the operator The value of the set change width is obtained and set, and the execution number of the POL instruction after the POL instruction for which the change is instructed is updated.
【0028】つまり、予め決められた変更規則から実行
番号の変更後の値を求め、オペレータが指定したPOL
命令の実行番号を変更するので、実行番号の変更時のプ
ログラム修正時間を短縮することができ、プログラミン
グ装置自体の使い勝手の向上と作業効率の向上とを実現
することができる。That is, the value after the change of the execution number is obtained from the predetermined change rule, and the POL designated by the operator is obtained.
Since the execution number of the instruction is changed, it is possible to shorten the program correction time when the execution number is changed, and it is possible to improve the usability and work efficiency of the programming device itself.
【0029】[0029]
【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
【0030】図1は本発明のプログラマブルコントロー
ラのプログラミング装置に係る第1実施形態の保守ツー
ルの構成を示す図、図2はこの保守ツールのPOL命令
検索処理を表すフローチャートで図3は本実施例のPO
L命令検索処理を表すフローチャートである。ハードウ
ェア構成は、図9と同様である。FIG. 1 is a diagram showing a configuration of a maintenance tool according to a first embodiment of a programmable controller programming apparatus of the present invention, FIG. 2 is a flow chart showing a POL instruction search process of this maintenance tool, and FIG. PO
It is a flow chart showing L command retrieval processing. The hardware configuration is the same as in FIG.
【0031】図1において、11は表示手段である。表
示手段11は、画面表示のためのデータを受けCRT9
0に表示する手段である。ΡOLプログラム格納部12
は、POLプログラムを格納する部分、例えば磁気ディ
スク装置やメモリなどの記憶領域である。入力手段13
は、従来の図9で示したマウス92、キーボード91等
によるオペレータの入力を分類する手段である。画面処
理手段14は、画面にウィンドウ画面やメッセージなど
を表示するためのデータを作成する手段である。実行番
号設定手段16は、POL命令に所望の実行番号を自動
的に設定する手段である。なお、図示していないが、こ
の保守ツールは、オブジェクトコード生成手段およびオ
ブジェクトコード格納部なども通常のPOLプログラム
作成手段として従来と同様に有している。オブジェクト
コード生成手段は、POLプログラムからオブジェクト
コードを生成する手段である。オブジェクトコード格納
部は、オブジェクトコード生成手段が生成したオブジェ
クトコードを格納する部分であり、上記磁気ディスク装
置やメモリ上のΡOLプログラム格納部12とは異なる
記憶領域である。In FIG. 1, 11 is a display means. The display means 11 receives the data for displaying the screen and displays it on the CRT 9
It is a means for displaying 0. ΡOL program storage unit 12
Is a storage area for storing the POL program, for example, a storage area such as a magnetic disk device or a memory. Input means 13
Is a means for classifying the operator's input using the mouse 92, keyboard 91, etc. shown in FIG. The screen processing means 14 is means for creating data for displaying a window screen, a message and the like on the screen. The execution number setting means 16 is means for automatically setting a desired execution number in the POL command. Although not shown, this maintenance tool also has an object code generation means, an object code storage section, etc. as a normal POL program creation means as in the conventional case. The object code generating means is means for generating an object code from the POL program. The object code storage section is a section for storing the object code generated by the object code generation means, and is a storage area different from the ΡOL program storage section 12 on the magnetic disk device or the memory.
【0032】以下、この第1実施形態の保守ツールの動
作を説明する。The operation of the maintenance tool of the first embodiment will be described below.
【0033】 まず初めに、この保守ツールの第1の動
作例について説明する。[0033] First of all, the first movement of this maintenance tool
An example will be described.
【0034】この第1の動作例では、オペレータがPO
Lプログラムを作成する上でCRT90の表示画面上に
おいてΡOL命令の配置および接続を完了した後、マウ
ス92により実行番号設定の開始を指示する。In this first operation example, the operator
When the L program is created, the placement and connection of the ΡOL instruction are completed on the display screen of the CRT 90, and then the mouse 92 is used to instruct the start of execution number setting.
【0035】すると、入力手段13は、POL命令検索
手段15へ検索開始を指令する(1a)。ΡOL命令検
索手段15は、ロジック図中にΡOL命令があれば(S2
01)、ΡOLプログラム格納部12より1個のPOL命
令(以下X命令とする)のデータを読み出す(1b、S2
02)。Then, the input means 13 instructs the POL instruction search means 15 to start the search (1a). If the ΡOL instruction is found in the logic diagram, the ΡOL instruction retrieving means 15 (S2
01), the data of one POL command (hereinafter referred to as X command) is read from the ΡOL program storage unit 12 (1b, S2
02).
【0036】以下の処理(S203からS207)は、X命令が
実行番号を設定する条件を満たしているかどうかを判定
している。X命令に実行番号が設定されていればX命令
は対象外となる(S203)。実行番号が設定されていなけ
れば(S203)、X命令に入力端子があるか調べ(S20
4)、各入力端子について、接続している他のPOL命
令があるか調べる(S205)。The following processing (S203 to S207) determines whether the X instruction satisfies the condition for setting the execution number. If the execution number is set in the X instruction, the X instruction is excluded (S203). If the execution number is not set (S203), check whether the X instruction has an input terminal (S20).
4) For each input terminal, check if there is another POL command connected (S205).
【0037】ここで、入力端子に接続されている他のP
OL命令(以下Y命令とする)が存在し(S205のY)、
Y命令に実行番号が設定されていなければ(S206の
N)、そのX命令は実行番号設定の対象外となり、Y命
令が実行番号設定対象になりそのY命令が出力される
(S209)。Here, another P connected to the input terminal
There is an OL command (hereinafter referred to as Y command) (Y in S205),
If the execution number is not set in the Y command (N in S206), the X command is not the target of the execution number setting, the Y command is the target of the execution number setting, and the Y command is output (S209).
【0038】一方、X命令の入力端子に実行番号未設定
の他のPOL命令が接続していなければ(S204〜S20
6)、X命令は、実行番号を設定する条件を満たし、繰
り返しループを抜ける(S207)。このS207へ到達しない
場合は、X命令は条件を満たしていないものとし処理が
元のS201の処理へ戻る。このようにロジック図中の全て
のPOL命令について条件判定処理が繰り返し行われ
る。On the other hand, if another POL command whose execution number is not set is connected to the input terminal of the X command (S204 to S20).
6), the X instruction satisfies the condition for setting the execution number, and exits the loop repeatedly (S207). If it does not reach S207, it is considered that the X instruction does not satisfy the condition, and the process returns to the original process of S201. In this way, the condition determination process is repeated for all POL instructions in the logic diagram.
【0039】そして、条件を満たすΡOL命令があれば
(S208)、そのPOL命令をPOL命令検索手段15が
出力する(S209)。また、条件を満たすPOL命令がな
ければ(S208)、POL命令検索手段15はNULLを
出力する(S210)。このPOL命令検索手段15の出力
は、実行番号設定手段16へ渡される(1c)。If there is a POL instruction satisfying the conditions (S208), the POL instruction retrieval means 15 outputs the POL instruction (S209). If there is no POL command satisfying the condition (S208), the POL command search means 15 outputs NULL (S210). The output of the POL command retrieval means 15 is passed to the execution number setting means 16 (1c).
【0040】実行番号設定手段16では、POL命令検
索手段15からPOL命令が入力されたとき、そのPO
L命令の実行番号を“1”などとし、互いを対応付けて
POLプログラム格納部12に書き込み(1d)、書き
込み終了(設定終了)を画面処理手段14へ伝える(1
e)。In the execution number setting means 16, when a POL command is input from the POL command search means 15, the PO
The execution number of the L instruction is set to "1" or the like, and they are associated with each other and written in the POL program storage unit 12 (1d), and the writing end (setting end) is transmitted to the screen processing means 14 (1
e).
【0041】画面処理手段14は、設定された実行番号
をPOLプログラム格納部12より読み出し(1f)、
CRT90へ表示する(1g)。そして、表示処理を終
えると、画面処理手段14は、表示処理終了をPOL命
令検索手段15へ伝える(1h)。すると、ΡOL命令
検索手段15は、再び実行番号を設定する条件を満たす
POL命令を検索する(S201〜S209)。POL命令検索
手段15が再びΡOL命令を出力すれば、実行番号設定
手段16は、そのΡOL命令に実行番号2を設定する。
以下、同様に1h〜1gの処理を繰り返し、実行番号設
定手段16は、ΡOL命令検索手段15が出力するΡO
L命令に対し、順に実行番号を設定して行く。POL命
令検索手段15がNULLを出力した時点で全てのΡO
L命令に実行番号を設定したことになるのでその時点で
処理を終了する。設定結果はCRΤ90に表示されるの
で、オペレータは、さらに変更の必要があれば、従来と
同様の技術で修正する。The screen processing means 14 reads the set execution number from the POL program storage section 12 (1f),
Display on CRT 90 (1 g). Then, when the display processing is finished, the screen processing means 14 notifies the POL command searching means 15 of the end of the display processing (1h). Then, the ΡOL instruction search means 15 searches again for a POL instruction that satisfies the condition for setting the execution number (S201 to S209). When the POL instruction retrieval means 15 outputs the ΡOL instruction again, the execution number setting means 16 sets the execution number 2 to the ΡOL instruction.
Thereafter, the processing of 1h to 1g is repeated in the same manner, and the execution number setting means 16 outputs the ΡO output by the ΡOL instruction searching means 15.
Execution numbers are sequentially set for L instructions. When the POL command search means 15 outputs NULL, all the ΡO
Since the execution number has been set in the L instruction, the processing ends at that point. Since the setting result is displayed on the CRI 90, the operator corrects any further changes with the same technique as in the past.
【0042】 次に、この保守ツールの第2の動作例
(請求項1記載の発明)について説明する。Next, a second operation example (the invention according to claim 1 ) of this maintenance tool will be described.
【0043】この第2の動作例の場合、オペレータがP
OLプログラムを作成するにあたり、ΡOL命令の配置
および接続を完了した後、マウス92により実行番号設
定の開始を指示する。In the case of this second operation example, the operator P
In creating the OL program, after the placement and connection of the ΡOL instruction are completed, the start of the execution number setting is instructed by the mouse 92.
【0044】すると、入力手段13は、ΡOL命令検索
手段15へ検索開始を指令する(1a)。POL命令検
索手段15は、ロジック図中にΡOL命令があれば(S3
01)、POLプログラム格納部12より1個のPOL命
令のデータを読み出し(1b、S302)、読み出したPO
L命令に実行番号が設定されているか否かを調べる(S3
03)。ここで、POL命令に実行番号が設定されていれ
ば(S303のY)、このΡOL命令は対象外となる。Then, the input means 13 commands the ΡOL instruction search means 15 to start the search (1a). If the POL instruction is found in the logic diagram (S3
01), the data of one POL command is read from the POL program storage unit 12 (1b, S302), and the read PO is read.
Check whether the execution number is set in the L instruction (S3
03). Here, if the execution number is set in the POL command (Y in S303), this ΡOL command is excluded.
【0045】一方、実行番号が設定されていなければ
(S303のN)、このPOL命令のロジック図中での配置
位置(通常はXY座標)を記憶する(S304)。そして、
これらS301〜S304の処理を繰り返し、全ての実行番号未
設定のPOL命令の配置位置を記憶する(S305)。実行
番号未設定のPOL命令が存在しなければ(S306の
N)、NULLを出力し(S308)、処理を終了する。On the other hand, if the execution number is not set (N in S303), the arrangement position (usually XY coordinates) in the logic diagram of this POL command is stored (S304). And
The processes of S301 to S304 are repeated to store the placement positions of all POL instructions whose execution numbers have not been set (S305). If there is no POL command for which the execution number has not been set (N in S306), NULL is output (S308) and the process ends.
【0046】一方、実行番号未設定のΡOL命令の配置
位置を少なくとも1個記憶していれば(S306のY)、P
OL命令検索手段15は、その中から図面中で最も上に
あり、かつ最も左側にあるPOL命令を出力する(S30
7)。この出力は、実行番号設定手段16へ渡される
(1c)。On the other hand, if at least one allocation position of the ΡOL instruction for which the execution number is not set is stored (Y in S306), P
The OL command retrieval means 15 outputs the POL command which is the uppermost and the leftmost in the drawing from among them (S30).
7). This output is passed to the execution number setting means 16 (1c).
【0047】実行番号設定手段16は、POL命令検索
手段15からPOL命令が入力されると、そのPOL命
令の実行番号を“1”とし、互いを対応付けけてΡOL
プログラム格納部12に書き込み(1d)、書き込み終
了を画面処理手段14へ伝える(1e)。画面処理手段
14は、設定された実行番号をPOLプログラム格納部
12より読み出し(1f)、CRΤ90へ表示する(1
g)。画面処理手段14は、表示処理終了をΡOL命令
検索手段15へ伝える(1h)。すると、POL命令検
索手段15は、再び実行番号を設定する条件を満たすP
OL命令を検索する(S301〜S307)。POL命令検索手
段15が再びPOL命令を出力すれば、実行番号設定手
段16は、前回の実行番号“1”に+1して、入力され
たΡOL命令に実行番号として“2”を設定する。以下
同様に1h〜1gの処理を繰り返し、実行番号設定手段
16は、POL命令検索手段15から出力されたPOL
命令に対し、順に実行番号を設定して行く。そして、P
OL命令検索手段15がNULLを出力した時点で全て
のPOL命令に実行番号を設定したことになるのでその
時点で処理を終了する。設定結果はCRT90に表示さ
れるので、オペレータはさらに変更の必要があれば、従
来と同様の技術で修正する。When the POL command is input from the POL command retrieving unit 15, the execution number setting unit 16 sets the execution number of the POL command to "1", and correlates them with each other.
Writing to the program storage unit 12 (1d) and notifying the end of writing to the screen processing means 14 (1e). The screen processing means 14 reads the set execution number from the POL program storage unit 12 (1f) and displays it on the CRI 90 (1
g). The screen processing means 14 informs the ΡOL command searching means 15 of the end of the display processing (1h). Then, the POL command retrieval means 15 sets the condition P for setting the execution number again.
Search for an OL instruction (S301 to S307). When the POL command retrieving means 15 outputs the POL command again, the execution number setting means 16 increments the previous execution number "1" by "1" and sets "2" as the execution number in the input ΡOL command. After that, the processing of 1h to 1g is repeated in the same manner, and the execution number setting means 16 outputs the POL output from the POL instruction searching means 15.
Execution numbers are sequentially set for the commands. And P
Since the execution numbers have been set to all the POL commands when the OL command retrieval means 15 outputs NULL, the process is terminated at that time. Since the setting result is displayed on the CRT 90, if the operator needs to make further changes, he / she corrects the same by the conventional technique.
【0048】このようにこの第1実施形態の保守ツール
によれば、表示画面上に全てのPOL命令を配置した
後、実行番号の設定開始を指示すれば、POL命令検索
手段15によりPOLプログラム格納部12からPOL
命令が読み出されて、実行番号が未設定であるPOL命
令(X命令)が検索された後、そのPOL命令(X命
令)の入力端子に他のPOL命令(Y命令)が接続され
ているか否かが調べられ、その接続関係からPOL命令
に実行番号が順に設定されて行くので、オペレータが行
うキー操作を削減することができ、POLプログラムの
作成時間を短縮することができる。As described above, according to the maintenance tool of the first embodiment, if all the POL commands are arranged on the display screen and then the execution number setting start is instructed, the POL command retrieval means 15 stores the POL program. Part 12 to POL
After the instruction is read and the POL instruction (X instruction) whose execution number is not set is searched, is another POL instruction (Y instruction) connected to the input terminal of the POL instruction (X instruction)? Whether or not it is checked and the execution number is sequentially set in the POL command based on the connection relationship, key operations performed by the operator can be reduced, and the POL program creation time can be shortened.
【0049】また、表示画面上に全てのPOL命令を配
置した後、実行番号の設定開始を指示すれば、POL命
令検索手段15によりPOLプログラム格納部12から
POL命令が読み出されて、実行番号が未設定であるP
OL命令(X命令)が検索された後、図面中で最も上に
あり、かつ最も左側にあるPOL命令から順に実行番号
が設定されして行くので、オペレータが行うキー操作を
削減することができ、POLプログラムの作成時間を短
縮することができる。If all the POL commands are arranged on the display screen and then the start of the execution number setting is instructed, the POL command retrieving means 15 reads the POL command from the POL program storage unit 12, and the execution number is set. P is not set
After the OL command (X command) is searched, the execution number is set in order from the POL command at the top and the leftmost side in the drawing, so that the key operation performed by the operator can be reduced. , POL program creation time can be shortened.
【0050】 以下、請求項2記載の発明に係る第2実
施形態の保守ツールについて説明する。図4は第2実施
形態の保守ツールの構成を示す図である。[0050] The following describes the maintenance tool of the second embodiment according to the second aspect of the present invention. FIG. 4 is a diagram showing the configuration of the maintenance tool of the second embodiment.
【0051】図4に示すように、この第2実施形態の保
守ツールは、表示手段41、POLプログラム格納部4
2、入力手段43、画面処理手段44、POL命令検索
手段45、実行番号設定手段46、ΡOL命令記憶部4
7などから構成されている。ΡOL命令記憶部47は、
POL命令自体を一時的に書き込むバッファである。こ
の第2実施形態の保守ツールでは、オペレータがPOL
プログラムを作成する上でロジック図編集画面上にPO
L命令を配置する場合、オペレータは、まず、ロジック
図編集画面の中で、POL命令を配置する位置をマウス
92でクリックすることによってPOL命令の配置位置
を指定する。As shown in FIG. 4, the maintenance tool of the second embodiment includes a display means 41 and a POL program storage section 4.
2, input means 43, screen processing means 44, POL instruction search means 45, execution number setting means 46, ΡOL instruction storage unit 4
It is composed of 7 etc. ΡOL command storage unit 47
This is a buffer for temporarily writing the POL command itself. With the maintenance tool of this second embodiment, the operator
When creating a program, PO on the logic diagram edit screen
When arranging the L instruction, the operator first specifies the POL instruction arrangement position by clicking the position where the POL instruction is arranged with the mouse 92 in the logic diagram edit screen.
【0052】すると、入力手段43は、指定された配置
位置の情報を画面処理手段44へ渡し(4a)、画面処
理手段44はPOL命令の形状データをPOLプログラ
ム格納部42へ書き込み(4b)、POL命令自体をP
OL命令記憶部47へ書き込み(4c)、そのΡOL命
令をロジック図編集画面の中の指定位置に表示する(4
d)。表示後、画面処理手段44は表示終了をPOL命
令検索手段45へ伝える(4e)。POL命令検索手段
45は、POLプログラム格納部42よりPOL命令の
データを読み出し(4f)その時点でロジック図編集画
面の中に存在するPOL命令に設定されている実行番号
の中から最大値のものを調べ、その値(最大値)を実行
番号設定手段46へ渡す(4g)。実行番号設定手段4
6は、POL命令検索手段45が出力する値に+1を加
算してΡOL命令記憶部47に記憶されているΡOL命
令(4h)に対する実行番号とし、POLプログラム格
納部42に書き込み(41)、書き込み終了を画面処理
手段44へ伝える(4j)。画面処理手段44は、設定
された実行番号をPOLプログラム格納部42より読み
出し(4k)、CRT90へ表示し(4l)、POL命
令記憶部47をクリアする(4m)。Then, the input means 43 passes the information of the designated arrangement position to the screen processing means 44 (4a), and the screen processing means 44 writes the shape data of the POL command into the POL program storage section 42 (4b). P the POL command itself
Write to the OL command storage unit 47 (4c) and display the ΡOL command at a specified position in the logic diagram edit screen (4
d). After the display, the screen processing means 44 informs the POL command searching means 45 of the end of the display (4e). The POL command retrieval means 45 reads out the data of the POL command from the POL program storage unit 42 (4f), and has the maximum value among the execution numbers set in the POL command existing in the logic diagram edit screen at that time. Is checked and the value (maximum value) is passed to the execution number setting means 46 (4g). Execution number setting means 4
6 is an execution number for the ΡOL instruction (4h) stored in the ΡOL instruction storage unit 47 by adding +1 to the value output by the POL instruction search means 45, and is written (41) and written in the POL program storage unit 42. The end is notified to the screen processing means 44 (4j). The screen processing means 44 reads the set execution number from the POL program storage unit 42 (4k), displays it on the CRT 90 (4l), and clears the POL command storage unit 47 (4m).
【0053】以下、オペレータがPOL命令を配置する
たびに、4a〜4mの処理を行うことにより、ΡOL命
令の配置を完了した時点で、全てのΡOL命令に実行番
号が設定されていることになる。設定されている実行番
号はCRT90に表示されるので、オペレータはさらに
変更の必要があれば、従来と同様の技術で修正する。こ
のようにこの第2実施形態の保守ツールによれば、新た
なPOL命令の配置位置が指定されると、そのPOL命
令がPOL命令記憶部47に一時記憶され、POL命令
検索手段45によりPOLプログラム格納部42に格納
されているPOL命令の中から、最大値の実行番号が検
索されると共に、検索された実行番号に続く新たな実行
番号が求められ、求められた新たな実行番号がPOL命
令記憶部47に記憶されているPOL命令に設定されて
プログラム格納手部42へ格納されるので、オペレータ
は、表示画面上にΡOL命令を配置操作さえすれば、実
行番号が自動的に設定されるようになり、実行番号の入
力操作が不要になる。Hereinafter, each time the operator places a POL instruction, the processing of 4a to 4m is performed, so that when the placement of the ΡOL instruction is completed, execution numbers are set to all ΡOL instructions. . Since the set execution number is displayed on the CRT 90, if the operator needs to change the correction number, the operator corrects it by the same technique as the conventional technique. As described above, according to the maintenance tool of the second embodiment, when a new POL command arrangement position is designated, the POL command is temporarily stored in the POL command storage unit 47, and the POL command search unit 45 causes the POL program to be stored. The execution value of the maximum value is searched from the POL instructions stored in the storage unit 42, a new execution number following the searched execution number is obtained, and the obtained new execution number is the POL instruction. Since the POL command stored in the storage unit 47 is set and stored in the program storage unit 42, the operator can simply place the POL command on the display screen and the execution number is automatically set. As a result, it becomes unnecessary to input the execution number.
【0054】 以下、請求項3、4記載の発明に係る第
3実施形態の保守ツールについて説明する。図5は第3
実施形態の保守ツールの構成を示す図である。[0054] The following describes maintenance tool of the third embodiment according to the invention of claim 3,4, wherein. Figure 3 is the third
It is a figure which shows the structure of the maintenance tool of embodiment.
【0055】図5に示すように、この第3実施形態の保
守ツールは、表示手段51、POLプログラム格納部5
2、入力手段53、画面処理手段54、POL命令検索
手段55、実行番号設定手段56、実行番号間隔格納部
57などから構成されている。実行番号間隔格納部57
には、キー入力された実行番号の間隔情報、つまり
“1”、“2”、“3”などの値が格納される。As shown in FIG. 5, the maintenance tool of the third embodiment includes a display means 51 and a POL program storage section 5.
2, input means 53, screen processing means 54, POL command searching means 55, execution number setting means 56, execution number interval storage 57, and the like. Execution number interval storage unit 57
Stores the interval information of the execution numbers keyed in, that is, values such as "1", "2", "3".
【0056】上記第1実施形態では、実行番号設定手段
16は、POL命令検索手段15からPOL命令が出力
されるたびに、実行番号を1ずつ増やして設定したが、
この第3実施形態では、さらに実行番号を増やす値、つ
まり実行番号間隔をオペレータが予め決めておいた値と
する。In the first embodiment described above, the execution number setting means 16 sets the execution number by 1 each time the POL instruction is output from the POL instruction searching means 15.
In the third embodiment, the value for further increasing the execution number, that is, the execution number interval is a value predetermined by the operator.
【0057】 まず、この第3の実施形態の保守ツール
の第1の動作例(請求項3記載の発明)について説明す
る。First, a first operation example (an invention according to claim 3 ) of the maintenance tool of the third embodiment will be described.
【0058】この第1の動作例の場合、オペレータがキ
ー入力により実行番号間隔を入力すると、入力手段53
は、その値を実行番号間隔格納部57に格納する(5
a)。以下、実行番号設定の制御の流れは、5b〜5d
まで第1実施形態の第1の動作例と同じである。In the case of this first operation example, when the operator inputs the execution number interval by key input, the input means 53
Stores the value in the execution number interval storage unit 57 (5
a). Hereinafter, the control flow for setting the execution number is 5b to 5d.
Up to this, the operation is the same as the first operation example of the first embodiment.
【0059】次に、実行番号設定手段56は、実行番号
間隔格納部57に格納されている値を読み出し(5e)
前回設定した実行番号に加えた値を、POL命令検索手
段55が出力するPOL命令の実行番号とし、POLプ
ログラム格納部52に書き込む(5f)。以下、5g〜
5jまでは第1実施形態の第1の動作例と同じである。
以上の5j、5c、5d、5e、5f、5g、5h、
5iの処理を繰り返し、実行番号設定手段56は、ΡO
L命令検索手段55が出力するΡOL命令に対し、順に
実行番号を設定して行く。Next, the execution number setting means 56 reads the value stored in the execution number interval storage unit 57 (5e).
The value added to the previously set execution number is set as the execution number of the POL command output by the POL command search means 55 and written in the POL program storage unit 52 (5f). Below, 5g
Up to 5j is the same as the first operation example of the first embodiment.
The above 5j, 5c, 5d, 5e, 5f, 5g, 5h,
The processing of 5i is repeated, and the execution number setting means 56
Execution numbers are sequentially set for the ΡOL instruction output by the L instruction retrieval means 55.
【0060】POL命令検索手段55がNULLを出力
した時点で全てのΡOL命令に実行番号を設定したこと
になるので終了する。設定結果はCRΤ90に表示され
るので、オペレータはさらに変更の必要があれば、従来
と同様の技術で修正する。When the POL command retrieval means 55 outputs NULL, it means that the execution numbers have been set for all the POL commands, so that the process ends. Since the setting result is displayed on the CRI 90, if the operator needs to make further changes, he / she corrects them by the same technique as the conventional technique.
【0061】 続いて、この第3の実施形態の保守ツー
ルの第2の動作例(請求項4記載の発明)について説明
する。Next, a second operation example (the invention according to claim 4 ) of the maintenance tool of the third embodiment will be described.
【0062】この第2の動作例の場合、オペレータがキ
ー入力により実行番号間隔を入力すると、入力手段53
は、その値を実行番号間隔格納部57に格納する(5
a)。以下、実行番号設定の制御の流れは、5b〜5d
まで第1の実施形態の第2の動作例と同じである。In the case of this second operation example, when the operator inputs the execution number interval by key input, the input means 53
Stores the value in the execution number interval storage unit 57 (5
a). Hereinafter, the control flow for setting the execution number is 5b to 5d.
Up to this point, the operation is the same as the second operation example of the first embodiment.
【0063】続いて、実行番号設定手段56は、実行番
号間隔格納部57に格納されている値を読み出し(5
e)、前回設定した実行番号に加えた値を、ΡOL命令
検索手段55が出力するΡOL命令の実行番号とし、P
OLプログラム格納部52に書き込む(5f)。以下、
5g〜5jまでは第1の実施形態の第2の動作例と同じ
である。以上の5j、5c、5d、5e、5f、5g、
5h、5iの処理を繰り返し、実行番号設定手段56
は、POL命令検索手段55が出力するPOL命令に対
し、順に実行番号を設定していく。POL命令検索手段
55がNULLを出力した時点で全てのΡOL命令に実
行番号を設定したことになるので終了する。設定結果は
CRΤ90に表示されるので、オペレータは、さらに変
更の必要があれば、従来と同様の技術で修正する。Subsequently, the execution number setting means 56 reads out the value stored in the execution number interval storage unit 57 (5
e), the value added to the previously set execution number is used as the execution number of the ΡOL instruction output by the ΡOL instruction search means 55, and P
Write to the OL program storage unit 52 (5f). Less than,
5g to 5j are the same as the second operation example of the first embodiment. 5j, 5c, 5d, 5e, 5f, 5g,
The execution number setting means 56 is repeated by repeating the processing of 5h and 5i.
Sequentially sets execution numbers for the POL commands output by the POL command search means 55. Since the execution numbers have been set in all the POL instructions at the time when the POL instruction retrieval means 55 outputs NULL, the process ends. Since the setting result is displayed on the CRI 90, the operator corrects any further changes with the same technique as in the past.
【0064】このようにこの第3実施形態の保守ツール
によれば、第1実施形態の効果に加え、オペレータが望
む間隔を開けて実行番号を設定できるので、例えば作成
済みのロジック図にPOL命令を挿入する場合、POL
命令を追加しても他のPOL命令の実行番号を変えずに
済み、POLプログラムの修正が、より少ない操作で可
能となる。As described above, according to the maintenance tool of the third embodiment, in addition to the effect of the first embodiment, the execution numbers can be set at intervals desired by the operator. If you insert a POL
Even if an instruction is added, it is not necessary to change the execution numbers of other POL instructions, and the POL program can be modified with fewer operations.
【0065】 以下、請求項5記載の発明に係る第4実
施形態の保守ツールについて説明する。図6は第4実施
形態の保守ツールの構成を示す図である。[0065] The following describes the maintenance tool according to the fourth embodiment of the invention of claim 5, wherein. FIG. 6 is a diagram showing the configuration of the maintenance tool of the fourth embodiment.
【0066】図6に示すように、この第4実施形態の保
守ツールは、表示手段61、POLプログラム格納部6
2、入力手段63、画面処理手段64、POL命令検索
手段65、実行番号設定手段66、ΡOL命令記憶部6
7、実行番号間隔格納部68などから構成されている。
実行番号間隔格納部68には、キー入力された実行番号
の間隔情報、つまり“1”、“2”、“3”などの値が
格納される。As shown in FIG. 6, the maintenance tool of the fourth embodiment includes a display means 61 and a POL program storage section 6.
2, input means 63, screen processing means 64, POL instruction search means 65, execution number setting means 66, and OL instruction storage unit 6
7, an execution number interval storage unit 68 and the like.
The execution number interval storage section 68 stores interval information of keyed execution numbers, that is, values such as "1", "2", "3".
【0067】上記第2の実施形態では、実行番号設定手
段46は、ΡOL命令検索手段45が配置されているΡ
OL命令に設定されている実行番号の最大値を出力する
たびに、その実行番号に1を加えた値をPOL命令記憶
部設定47に記憶されているPOL命令の実行番号とし
たが、この第4実施形態では、実行番号を増やす値(以
下実行番号間隔と呼ぶ)をオペレータが予め決めておい
た値とする。In the second embodiment described above, the execution number setting means 46 is provided with the ΡOL instruction searching means 45.
Every time the maximum value of the execution number set in the OL instruction is output, the value obtained by adding 1 to the execution number is set as the execution number of the POL instruction stored in the POL instruction storage unit setting 47. In the fourth embodiment, the value for increasing the execution number (hereinafter referred to as the execution number interval) is a value predetermined by the operator.
【0068】すなわち、この第4実施形態の保守ツール
の場合、オペレータがキー入力により実行番号間隔を入
力すると、入力手段63は、その値を実行番号間隔格納
部68に格納する(6a)。以下、実行番号設定の制御
の流れは、6b〜6hまで第2実施形態の場合と同じで
ある。That is, in the case of the maintenance tool of the fourth embodiment, when the operator inputs the execution number interval by key input, the input means 63 stores the value in the execution number interval storage unit 68 (6a). Hereinafter, the control flow for setting the execution number is the same as that of the second embodiment from 6b to 6h.
【0069】続いて、実行番号設定手段66は、実行番
号間隔格納部68に格納されている値を読み出し(6
i)、POL命令検索手段65が出力する実行番号の最
大値に加えた値を、POL命令記憶部67に記憶されて
いるΡOL命令の実行番号とし、ΡOLプログラム格納
部62に書き込む(6j、6k)。以下、6l〜6oま
では第2実施形態の場合と同じである。Subsequently, the execution number setting means 66 reads the value stored in the execution number interval storage section 68 (6
i), the value added to the maximum value of the execution number output by the POL instruction search means 65 is set as the execution number of the ΡOL instruction stored in the POL instruction storage unit 67, and is written in the ΡOL program storage unit 62 (6j, 6k). ). Hereinafter, 6l to 6o are the same as in the case of the second embodiment.
【0070】以下、オペレータがΡOL命令を配置する
たびに、6b〜6oの処理を行うことにより、POL命
令の配置を完了した時点で、全てのPOL命令に実行番
号が設定されていることになる。設定された実行番号は
CRT90に表示されるので、オペレータは、さらに変
更の必要があれば、従来と同様の技術で修正する。Hereinafter, each time the operator places a POL instruction, the processing of 6b to 6o is performed, so that when the placement of the POL instruction is completed, the execution numbers are set to all the POL instructions. . Since the set execution number is displayed on the CRT 90, the operator corrects it by the same technique as the conventional one if there is a need for further change.
【0071】 このようにこの第4実施形態の保守ツー
ル(請求項5記載の発明)によれば、第2の実施形態の
効果に加え、オペレータが望む間隔を開けて実行番号を
設定できるので、例えば作成済みのロジック図にPOL
命令を挿入する場合、POL命令を追加しても他のPO
L命令の実行番号を変えずに済み、POLプログラムの
修正が、より少ない操作で可能となる。As described above , according to the maintenance tool of the fourth embodiment (the invention according to claim 5 ), in addition to the effect of the second embodiment, the execution number can be set at intervals desired by the operator. For example, POL is added to the created logic diagram.
When inserting a command, even if a POL command is added, another PO
The execution number of the L instruction does not have to be changed, and the POL program can be modified with fewer operations.
【0072】 以下、請求項6記載の発明に係る第5実
施形態の保守ツールについて説明する。図7は第5実施
形態の保守ツールの構成を示す図である。[0072] The following describes the maintenance tool of the fifth embodiment according to the invention of claim 6 wherein. FIG. 7 is a diagram showing the configuration of the maintenance tool of the fifth embodiment.
【0073】図7に示すように、この第5実施形態の保
守ツールは、表示手段71、POLプログラム格納部7
2、入力手段73、画面処理手段74、POL命令検索
手段75、実行番号設定手段76、増減記憶部77など
から構成されている。増減記憶部77には、マウス92
が左クリックされたか右クリックされたかの増減情報が
記憶され、入力手段73からのマウスクリック情報に応
じていずれか一方を実行番号設定手段76へ出力する。As shown in FIG. 7, the maintenance tool of the fifth embodiment includes a display means 71 and a POL program storage section 7.
2, input means 73, screen processing means 74, POL command search means 75, execution number setting means 76, increase / decrease storage unit 77, and the like. The increase / decrease storage unit 77 has a mouse 92
The increase / decrease information as to whether the left click or the right click is stored, and one of them is output to the execution number setting means 76 according to the mouse click information from the input means 73.
【0074】オペレータがPOLプログラムを作成する
にあたり、実行番号の誤設定やプログラム変更がしばし
ば起こり得る。このようなときには、オペレータは、一
旦、表示画面上に配置したPOL命令とこのPOL命令
に設定した実行番号とを変更する作業を行う必要があ
る。When an operator creates a POL program, an execution number may be erroneously set or the program may be changed. In such a case, the operator needs to temporarily change the POL command placed on the display screen and the execution number set in the POL command.
【0075】この場合、オペレータは、まず、保守ツー
ルのマウス92により表示画面上の変更対象のPOL命
令を選択し、マウス92に左右に設けられた2つのボタ
ンのうち、左ボタンをクリック(左クリック)する。In this case, the operator first selects the POL command to be changed on the display screen with the mouse 92 of the maintenance tool, and clicks the left button of the two buttons provided on the left and right of the mouse 92 (left click.
【0076】すると、入力手段73は、マウス92が左
クリックされたことを増減記憶部77に通知する(7
h)と共に、実行番号検索手段75へクリックされたP
OL命令を通知する(7a)。実行番号検索手段75
は、POLプログラム格納部72からクリックされたP
OL命令のデータを読み出し(7b)、設定されている
実行番号を調べ、実行番号設定手段76へ渡す(7
c)。Then, the input means 73 notifies the increase / decrease storage unit 77 that the mouse 92 has been left-clicked (7
Along with h), P clicked on the execution number search means 75
Notify the OL command (7a). Execution number search means 75
Is the P clicked from the POL program storage 72.
The data of the OL command is read (7b), the set execution number is checked and passed to the execution number setting means 76 (7
c).
【0077】すると、実行番号設定手段76により増減
記憶部77から+1するという情報が読み出される(7
i)。そして、実行番号設定手段76は、増減記憶部7
7から読み出した情報に基づいて、実行番号検索手段7
5が出力するΡOL命令の実行番号に+1を加え、その
値を変更後の実行番号としてΡOLプログラム格納部7
2に書き込み(7d)、書き込み終了を画面処理手段7
4へ伝える(7e)。画面処理手段74は、設定された
実行番号をΡOLプログラム格納部72より読み出し
(7f)、CRΤ90へ表示する(7g)。なお、オペ
レータが、変更対象のΡOL命令を選択してマウス92
の右ボタンをクリックした場合は、7hにおいて、右ク
リックされたことを増減記憶部77へ通知し、実行番号
設定手段76は、増減記憶部77から−1するという情
報を読み出し(7i)、実行番号検索手段75が出力す
るPOL命令の実行番号から−1した値(1を引いた
値)を変更後の値とする。Then, the execution number setting means 76 reads from the increase / decrease storage unit 77 the information indicating that the number is to be incremented by 1 (7
i). Then, the execution number setting means 76 includes the increase / decrease storage unit 7.
Execution number search means 7 based on the information read from 7.
5 adds +1 to the execution number of the ΡOL instruction, and the value is used as the changed execution number in the ΡOL program storage unit 7
2 is written (7d), and the end of writing is processed by the screen processing means 7
Tell 4 (7e). The screen processing means 74 reads the set execution number from the ΡOL program storage unit 72 (7f) and displays it on the CRI 90 (7g). It should be noted that the operator selects the change target ΡOL instruction and selects the mouse 92
If the right button of is clicked, the increase / decrease storage unit 77 is notified of the right click at 7h, and the execution number setting means 76 reads out the information indicating that the increase / decrease storage unit 77 is -1 (7i) and executes. The value obtained by subtracting -1 from the execution number of the POL instruction output by the number search means 75 (the value obtained by subtracting 1) is the changed value.
【0078】このようにこの第5実施形態の保守ツール
によれば、実行番号変更前に予め実行番号を変更する幅
をオペレータが決めておき、実行番号を変更する際に
は、オペレータが変更するPOL命令を選択しマウス9
2の左右のボタンのうちいずれかをクリックすれば、決
めておいた変更幅からPOL命令の変更後の実行番号が
求められ、POL命令に実行番号が設定されるので、オ
ペレータは、POL命令の実行番号の変更を、より少な
い操作で行うことができる。As described above, according to the maintenance tool of the fifth embodiment, the operator decides the width of changing the execution number in advance before changing the execution number, and when changing the execution number, the operator changes it. Select POL command and mouse 9
If one of the left and right buttons of 2 is clicked, the execution number after the change of the POL instruction is obtained from the determined change width, and the execution number is set in the POL instruction. The execution number can be changed with less operations.
【0079】 以下、請求項7記載の発明に係る第6実
施形態の保守ツールについて説明する。図8は第6実施
形態の保守ツールの構成を示す図である。[0079] The following describes the maintenance tool of the sixth embodiment according to the invention of claim 7, wherein. FIG. 8 is a diagram showing the configuration of the maintenance tool of the sixth embodiment.
【0080】図8に示すように、この第6実施形態の保
守ツールは、表示手段81、POLプログラム格納部8
2、入力手段83、画面処理手段84、POL命令検索
手段85、実行番号設定手段86、増減記憶部87、変
更幅格納部88などから構成されている。増減記憶部8
7には、マウス92が左クリックされたか、右クリック
されたかの増減情報が記憶され、入力手段83からのマ
ウスクリック情報に応じていずれか一方を実行番号設定
手段86へ出力する。変更幅格納部88には、マウス9
2のボタンを1回クリックしたときの実行番号の変更幅
情報、つまり“1”、“2”、“3”などの値が格納さ
れており、実行番号の変更操作によって格納されていた
値が実行番号設定手段86へ出力される。As shown in FIG. 8, the maintenance tool of the sixth embodiment includes a display means 81 and a POL program storage section 8.
2, input means 83, screen processing means 84, POL command retrieval means 85, execution number setting means 86, increase / decrease storage section 87, change range storage section 88 and the like. Increase / decrease storage unit 8
The increase / decrease information of whether the mouse 92 is left-clicked or right-clicked is stored in 7, and either one is output to the execution number setting means 86 according to the mouse click information from the input means 83. The change width storage unit 88 has a mouse 9
The change width information of the execution number when the button 2 is clicked once, that is, the values such as "1", "2", and "3" are stored, and the value stored by the operation of changing the execution number is It is output to the execution number setting means 86.
【0081】上記第5実施形態においては、実行番号の
増減する割合は、+1または−1に固定されていたが、
この第6実施形態では、マウス92の1回のクリック操
作で実行番号を変更する値、つまり変更幅をオペレータ
が予め決めておいた値とする。In the fifth embodiment described above, the rate at which the execution number increases or decreases is fixed at +1 or -1.
In the sixth embodiment, a value for changing the execution number by one click operation of the mouse 92, that is, a change width is a value predetermined by the operator.
【0082】すなわち、この第6実施形態の保守ツール
では、動作モードが編集および設定モードにおいて、オ
ペレータがキー入力により変更幅を入力すると、入力手
段83は、その値を変更幅格納部88に格納する(8
j)。以下、実行番号設定の制御の流れは、8h、8a
〜8cまで第5実施形態と同じである。That is, in the maintenance tool of the sixth embodiment, when the operator inputs the change width by key input in the edit and setting mode, the input means 83 stores the value in the change width storing section 88. Do (8
j). Hereinafter, the control flow for setting the execution number is 8h and 8a.
Up to 8c are the same as in the fifth embodiment.
【0083】次に、実行番号設定手段86は、変更幅格
納部88に格納されている値を読み出し(8k)、左ク
リックか右クリックかを増減記憶部87から読み出し
(8i)、実行番号検索手段85が出力するPOL命令
の実行番号に、8kで読み出した値だけ増減した値を変
更値とし、ΡOLプログラム格納部82に書き込む(8
d)。以下、8e〜8gまでは第5実施形態と同じであ
る。Next, the execution number setting means 86 reads out the value stored in the change range storage section 88 (8k), reads out the left click or the right click from the increase / decrease storage section 87 (8i), and retrieves the execution number. The execution number of the POL command output by the means 85 is increased / decreased by the value read in 8k as a changed value and written in the ΡOL program storage unit 82 (8
d). Hereinafter, 8e to 8g are the same as in the fifth embodiment.
【0084】このようにこの第6実施形態の保守ツール
によれば、第5実施形態の効果に加え、マウス92の一
回の操作で増加または減少する実行番号の変更幅をオペ
レータが設定できるので、オペレータがマウス92を一
回操作すれば、好きな幅で実行番号が設定されるように
なり、ロジック図の修正が、より少ない操作で可能とな
る。As described above, according to the maintenance tool of the sixth embodiment, in addition to the effects of the fifth embodiment, the operator can set the change range of the execution number that increases or decreases with one operation of the mouse 92. If the operator operates the mouse 92 once, the execution number can be set within a desired width, and the logic diagram can be corrected with less operation.
【0085】なお、上記第1〜第6実施形態では、保守
ツールに初めから各機能(各構成)が備えられているも
のとして説明したが、保守ツールを汎用のCD−ROM
ドライブなどを搭載したコンピュータとし、上記各機能
を実現するプログラムをCD−ROMなどの記録媒体に
収め、これをコンピュータに提供しても良い。また、上
記プログラムを電話回線やLANなどの通信網でコンピ
ュータに提供しても良い。In the above-described first to sixth embodiments, the maintenance tool has been described as having each function (each configuration) from the beginning, but the maintenance tool is a general-purpose CD-ROM.
A computer equipped with a drive or the like may be provided, and a program that implements each of the above functions may be stored in a recording medium such as a CD-ROM and provided to the computer. Further, the above program may be provided to the computer via a communication network such as a telephone line or a LAN.
【0086】この結果、保守ツールの使い勝手を向上す
ると共に作業効率を向上することができる。As a result, the usability of the maintenance tool can be improved and the work efficiency can be improved.
【0087】[0087]
【発明の効果】以上説明したように請求項1〜請求項7
記載の発明によれば、表示画面上に全てのPOL命令を
配置した後、実行番号の設定開始を指示すれば、各PO
L命令に設定すべき実行番号が自動的に設定されるの
で、オペレータがプログラマブルコントローラにてプロ
グラミングを行う上での操作性を向上することができ
る。As described above, claims 1 to 7
According to the described invention, if all the POL commands are arranged on the display screen and then the execution number setting start is instructed, each PO
Since L run number to be set in the instruction is automatically set, the operator is able to improve the operability in performing the pro <br/> ming at the programmable controller.
【0088】この結果、POLプログラムの作成および
変更を短時間で行うことができる。As a result, the POL program can be created and changed in a short time.
【図1】請求項1記載の発明に対応する第1の実施形態
の保守ツールの構成を示す図。FIG. 1 is a diagram showing a configuration of a maintenance tool of a first embodiment corresponding to the invention according to claim 1 ;
【図2】この第1の実施形態の保守ツールの第1の動作
例を示すフローチャート。FIG. 2 is a flowchart showing a first operation example of the maintenance tool according to the first embodiment.
【図3】この第1の実施形態の保守ツールの第2の動作
例を示すフローチャート。FIG. 3 is a flowchart showing a second operation example of the maintenance tool of the first embodiment.
【図4】請求項2記載の発明に対応する第2の実施形態
の保守ツールの構成を示す図。FIG. 4 is a diagram showing a configuration of a maintenance tool of a second embodiment corresponding to the invention according to claim 2 ;
【図5】請求項3および請求項4記載の発明に対応する
第3の実施形態の保守ツールの構成を示す図。FIG. 5 is a diagram showing a configuration of a maintenance tool of a third embodiment corresponding to the inventions of claims 3 and 4 ;
【図6】請求項5記載の発明に対応する第4の実施形態
の保守ツールの構成を示す図。FIG. 6 is a diagram showing a configuration of a maintenance tool of a fourth embodiment corresponding to the invention according to claim 5 ;
【図7】請求項6記載の発明に対応する第5の実施形態
の保守ツールの構成を示す図。FIG. 7 is a diagram showing a configuration of a maintenance tool of a fifth embodiment corresponding to the invention according to claim 6 ;
【図8】請求項7記載の発明に対応する第6の実施形態
の保守ツールの構成を示す図。FIG. 8 is a diagram showing a configuration of a maintenance tool of a sixth embodiment corresponding to the invention of claim 7 ;
【図9】一般の保守ツールの概要構成を示す図。FIG. 9 is a diagram showing a schematic configuration of a general maintenance tool.
【図10】一般の保守ツールの内部構成を示す図。FIG. 10 is a diagram showing an internal configuration of a general maintenance tool.
【図11】従来の保守ツールの要部構成を示す図。FIG. 11 is a diagram showing a main configuration of a conventional maintenance tool.
【図12】従来の保守ツールの画面を示す図。FIG. 12 is a diagram showing a screen of a conventional maintenance tool.
【符号の説明】11
…表示手段、12…ΡOLプログラム格納部、13
…入力手段、14…画面処理手段、15…POL命令検
索手段、16…実行番号設定手段、41…表示手段、4
2…ΡOLプログラム格納部、43…入力手段、44…
画面処理手段、45…POL命令検索手段、46…実行
番号設定手段、47…POL命令記憶部、51…表示手
段、52…POLプログラム格納部、53…入力手段、
54…画面処理手段、55…POL命令検索手段、56
…実行番号設定手段、57…実行番号間隔格納部、61
…表示手段、62…ΡOLプログラム格納部、63…入
力手段、64…画面処理手段、65…POL命令検索手
段、66…実行番号設定手段、67…ΡOL命令記憶
部、68…実行番号間隔格納部、71…表示手段、72
…ΡOLプログラム格納部、73…入力手段、74…画
面処理手段、75…実行番号検索手段、76…実行番号
設定手段、77…増減記憶部、81…表示手段、82…
POLブログラム格納部、83…入力手段、84…画面
処理手段、85…実行番号検索手段、86…実行番号設
定手段、87…増減記憶部、88…変更幅格納部、90
…CRΤ、91…キーボード、92…マウス。[Explanation of Codes] 11 ... Display means, 12 ... ΡOL program storage section, 13
... input means, 14 ... screen processing means, 15 ... POL command search means, 16 ... execution number setting means, 41 ... display means, 4
2 ... ΡOL program storage unit, 43 ... Input means, 44 ...
Screen processing means, 45 ... POL command retrieval means, 46 ... Execution number setting means, 47 ... POL command storage section, 51 ... Display means, 52 ... POL program storage section, 53 ... Input means,
54 ... Screen processing means, 55 ... POL command searching means, 56
... Execution number setting means, 57 ... Execution number interval storage unit , 61
... display means, 62 ... ΡOL program storage section, 63 ... input means, 64 ... screen processing means, 65 ... POL command search means, 66 ... execution number setting means, 67 ... ΡOL command storage section, 68 ... execution number interval storage section , 71 ... Display means, 72
... ΡOL program storage section, 73 ... Input means, 74 ... Screen processing section, 75 ... Execution number search section, 76 ... Execution number setting section, 77 ... Increase / decrease storage section, 81 ... Display section, 82 ...
POL program storage, 83 ... Input means, 84 ... Screen processing means, 85 ... Execution number search means, 86 ... Execution number setting means, 87 ... Increase / decrease storage section, 88 ... Change range storage section, 90
... CRI, 91 ... Keyboard, 92 ... Mouse.
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/02 - 19/05 G06F 9/06 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/02-19/05 G06F 9/06
Claims (7)
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記表示画面上に配置されたPOL命令を格納したプロ
グラム格納手段と、 前記POL命令に対する実行番号の設定開始を指示する
入力手段と、 前記入力手段により実行番号の開始が指示された場合、
前記プログラム格納手段に格納されているΡOL命令の
中から、実行番号が未設定のΡOL命令を、前記表示画
面上の配置位置関係に基づき検索するΡOL命令検索手
段と、 前記ΡOL命令検索手段により検索された順にPOL命
令に実行番号を設定する実行番号設定手段とを具備した
ことを特徴とするプログラマブルコントローラのプログ
ラミング装置。 1. A POL command is displayed on a display screen to display the PO.
In a programming device of a programmable controller that executes POL instructions in the order of execution numbers by setting execution numbers for L instructions, a program storage unit that stores POL instructions arranged on the display screen, and the POL. Input means for instructing the start of the execution number setting for the instruction, and when the start of the execution number is instructed by the input means,
From the ΡOL instructions stored in the program storage means, ΡOL instruction search means for searching for ΡOL instructions for which execution numbers have not been set based on the positional relationship on the display screen, and ΡOL instruction search means. A programming device for a programmable controller, comprising: an execution number setting means for setting execution numbers to POL commands in the order in which they are executed.
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記POL命令を実行番号に対応させて格納したプログ
ラム格納手段と、 前記表示画面上に新たなPOL命令を配置する入力手段
と、 前記入力手段により前記表示画面上に新たに配置された
POL命令を記憶するPOL命令記憶手段と、 前記入力手段により新たなPOL命令が配置された場
合、前記プログラム格納手段に格納されているPOL命
令の中から、最大値の実行番号が設定されているPOL
命令を検索すると共に、検索されたPOL命令の実行番
号に続く新たな実行番号を求めるPOL命令検索手段
と、 前記POL命令検索手段により求められた前記新たな実
行番号を前記POL命令記憶手段に記憶されているPO
L命令に設定し前記プログラム格納手段へ格納する実行
番号設定手段とを具備したことを特徴とするプログラマ
ブルコントローラのプログラミング装置。 2. A POL command is displayed on a display screen, and the PO is displayed.
In a programming device of a programmable controller that executes POL instructions in the order of execution numbers by setting execution numbers for L instructions, a program storage unit that stores the POL instructions in association with the execution numbers, and the display screen. Input means for arranging a new POL command on top, POL command storage means for storing the POL command newly arranged on the display screen by the input means, and new POL command by the input means In this case, among the POL commands stored in the program storage means, the POL having the maximum execution number is set.
POL instruction searching means for searching for an instruction and obtaining a new execution number following the execution number of the searched POL instruction; and storing the new execution number obtained by the POL instruction searching means in the POL instruction storage means. Is being done
A programming device for a programmable controller, comprising: an execution number setting means for setting the L instruction and storing it in the program storage means.
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記表示画面上に配置されたPOL命令を格納したプロ
グラム格納手段と、 前記実行番号を設定するための間隔情報を格納した実行
番号間隔格納部と、 前記POL命令に対する実行番号の設定開始を指示する
入力手段と、 前記入力手段により実行番号の開始が指示された場合、
前記プログラム格納手段に格納されているPOL命令の
中から、実行番号が未設定のPOL命令を、命令同士の
接続関係に基づき検索するΡOL命令検索手段と、 前記ΡOL命令検索手段により検索されたPOL命令の
順に前記実行番号間隔格納部の間隔情報に基づき実行番
号を設定する実行番号設定手段とを具備したことを特徴
とするプログラマブルコントローラのプログラミング装
置。 3. A POL command is displayed on a display screen, and the PO is displayed.
In a programming device of a programmable controller that executes POL instructions in the order of execution numbers by setting execution numbers for L instructions, program storage means for storing POL instructions arranged on the display screen; An execution number interval storage unit storing interval information for setting numbers, input means for instructing to start setting an execution number for the POL command, and a case where the execution number is instructed by the input means,
Among the POL instructions stored in the program storing means, a POL instruction for which an execution number is not set is searched based on a connection relationship between the instructions, and a POL instruction searched by the OL instruction searching means. A programming device for a programmable controller, comprising: an execution number setting means for setting an execution number based on interval information in the execution number interval storage section in the order of instructions.
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記表示画面上に配置されたPOL命令を格納したプロ
グラム格納手段と、 前記実行番号を設定するための間隔情報を格納した実行
番号間隔格納部と、前記POL命令に対する実行番号の設定開始を指示する
入力手段と、 前記入力手段により実行番号の設定開始が指示された場
合、前記プログラム格納手段に格納されているΡOL命
令の中から、実行番号が未設定のΡOL命令を、前記表
示画面上の配置位置関係に基づき検索するΡOL命令検
索手段と、 前記ΡOL命令検索手段により検索されたPOL命令の
順に前記実行番号間隔格納部の間隔情報に基づき実行番
号を設定する実行番号設定手段とを具備したことを特徴
とするプログラマブルコントローラのプログラミング装
置。 4. A POL command is displayed on a display screen, and the PO is displayed.
In a programming device of a programmable controller that executes POL instructions in the order of execution numbers by setting execution numbers for L instructions, program storage means for storing POL instructions arranged on the display screen; An execution number interval storage unit that stores interval information for setting numbers and an instruction to start setting an execution number for the POL command
When the start of setting the execution number is instructed by the input means and the input means, among the ΡOL instructions stored in the program storage means, the ΡOL instruction whose execution number is not set is arranged on the display screen. And an execution number setting means for setting an execution number based on the interval information of the execution number interval storage unit in the order of the POL commands searched by the OL instruction search means. A programmable controller programming device characterized by:
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記POL命令を実行番号に対応させて格納したプログ
ラム格納手段と、 前記実行番号を設定するための間隔情報を格納した実行
番号間隔格納部と、 前記表示画面上に新たなPOL命令を配置する入力手段
と、 前記入力手段により前記表示画面上に新たに配置された
POL命令を記憶するPOL命令記憶手段と、 前記入力手段により新たなPOL命令が配置された場
合、前記プログラム格納手段に格納されているPOL命
令の中から、最大値の実行番号が設定されているPOL
命令を検索すると共に、検索されたPOL命令の実行番
号に続く新たな実行番号を前記実行番号間隔格納部の間
隔情報に基づき求めるPOL命令検索手段と、 前記POL命令検索手段により求められた前記新たな実
行番号を前記POL命令記憶手段に記憶されているPO
L命令に設定し前記プログラム格納手段へ格納する実行
番号設定手段とを具備したことを特徴とするプログラマ
ブルコントローラのプログラミング装置。 5. A POL command is displayed on a display screen, and the PO is displayed.
In a programming device of a programmable controller that executes POL instructions in the order of execution numbers by setting execution numbers for L instructions, a program storage unit that stores the POL instructions in association with the execution numbers, and the execution number. An execution number interval storage unit that stores interval information for setting a POL command, an input unit that arranges a new POL command on the display screen, and a POL command newly arranged on the display screen by the input unit. When a new POL command is arranged by the POL command storage unit to be stored and the input unit, the POL having the maximum execution number is set among the POL commands stored in the program storage unit.
A POL instruction searching unit that searches for an instruction and that obtains a new execution number following the execution number of the retrieved POL instruction based on the interval information in the execution number interval storage unit; PO number stored in the POL command storage means
A programming device for a programmable controller, comprising: an execution number setting means for setting the L instruction and storing it in the program storage means.
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記表示画面中から所望のPOL命令とこのPOL命令
の実行番号の変更値とを指定する入力手段と、 前記POL命令を実行番号と対応させて格納したプログ
ラム格納部と、 前記入力手段により指定されたΡOL命令を前記プログ
ラム格納部から検索するΡOL命令検索手段と、 前記入力手段により指定された実行番号の変更値を前記
ΡOL命令検索手段により検索されたPOL命令に新し
い実行番号を設定すると共に、変更指示されたPOL命
令以降のPOL命令の実行番号を更新する実行番号設定
手段とを具備したことを特徴とするプログラマブルコン
トローラのプログラミング装置。 6. A POL command is displayed on a display screen, and the PO is displayed.
In a programming device of a programmable controller that executes POL commands in the order of execution numbers by setting execution numbers for L commands, a desired POL command from the display screen and a change value of the execution number of this POL command are displayed. Input means for designating a POL instruction, a program storage section for storing the POL instruction in association with an execution number, a ΡOL instruction retrieval means for retrieving the ΡOL instruction designated by the input means from the program storage section, and the input means. The execution number setting means for setting the new execution number in the POL instruction searched by the ΡOL instruction searching means for the change value of the execution number specified by A programming device for a programmable controller, comprising:
L命令に対して実行番号を設定することで、その実行番
号の順にPOL命令を実行するプログラマブルコントロ
ーラのプログラミング装置において、 前記表示画面中から所望のPOL命令とこのPOL命令
の実行番号の変更値とを指定する入力手段と、 前記実行番号の変更幅情報を格納した変更幅格納部と、 前記POL命令と実行番号とを対応させて格納したプロ
グラム格納部と、 前記入力手段により指定されたΡOL命令を前記プログ
ラム格納部から検索するΡOL命令検索手段と、 前記入力手段により指定された実行番号の変更値を前記
ΡOL命令検索手段により検索されたPOL命令に新し
い実行番号を設定すると共に、変更指示されたPOL命
令以降のPOL命令の実行番号を、前記変更幅格納部の
変更幅情報と前記新たな実行番号とに基づき変更する実
行番号設定手段とを具備したことを特徴とするプログラ
マブルコントローラのプログラミング装置。 7. A POL command is displayed on a display screen to display the PO.
In a programming device of a programmable controller that executes POL commands in the order of execution numbers by setting execution numbers for L commands, a desired POL command from the display screen and a change value of the execution number of this POL command are displayed. An input means for specifying the execution number, a change width storage section for storing the change width information of the execution number, a program storage section for storing the POL instruction and the execution number in association with each other, and a ΡOL instruction specified by the input means. Of the execution number designated by the input means, and sets a new execution number to the POL instruction searched by the OL instruction search means, and a change instruction is issued. The execution numbers of the POL commands after the POL command are changed width information in the changed width storage unit and the new execution number. Programmable controller programming apparatus characterized by comprising an execution number setting means for changing on the basis of and.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11594097A JP3492146B2 (en) | 1997-05-06 | 1997-05-06 | Programming device for programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11594097A JP3492146B2 (en) | 1997-05-06 | 1997-05-06 | Programming device for programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10307610A JPH10307610A (en) | 1998-11-17 |
JP3492146B2 true JP3492146B2 (en) | 2004-02-03 |
Family
ID=14674952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11594097A Expired - Fee Related JP3492146B2 (en) | 1997-05-06 | 1997-05-06 | Programming device for programmable controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3492146B2 (en) |
-
1997
- 1997-05-06 JP JP11594097A patent/JP3492146B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH10307610A (en) | 1998-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0249399B1 (en) | Multiwindow control method and apparatus for work station having multiwindow function | |
JPH1145334A (en) | Comparative display method for images and recording medium | |
US5699080A (en) | Programming method and apparatus for programmable controller | |
JP3492146B2 (en) | Programming device for programmable controller | |
JP3658027B2 (en) | Graphic editing apparatus and graphic editing method | |
JPH0916801A (en) | Command designation device | |
JP2875135B2 (en) | Program device for programmable controller | |
JP2898398B2 (en) | Programming device for programmable controller | |
JPH08115192A (en) | Data edit processing method and system thereof | |
JPH05143589A (en) | Word processor and its controlling method | |
JPH02272622A (en) | Data display controller | |
JP3311057B2 (en) | Graphic processing apparatus and method | |
JPH07219742A (en) | Icon alignment method | |
JP3000749B2 (en) | Character editing device | |
JP3470974B2 (en) | Figure creation method and apparatus | |
JPS6152778A (en) | Picture editing device | |
JPH04330574A (en) | Method and device for editing graphic | |
JPH05189504A (en) | Graphic display system for cad system | |
JPH0991454A (en) | Drawing editing system | |
JPH086928A (en) | Document processing method and apparatus | |
JPH05205017A (en) | Graphic processing device | |
JPH04330573A (en) | Shape editing device | |
JPH05266104A (en) | Method and device for graphic processing | |
JPH01284963A (en) | Document preparing and editing device | |
JP2005259169A (en) | Program generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20031028 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071114 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081114 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |