JPH11143510A - Execution method and device for sequence program - Google Patents

Execution method and device for sequence program

Info

Publication number
JPH11143510A
JPH11143510A JP33207897A JP33207897A JPH11143510A JP H11143510 A JPH11143510 A JP H11143510A JP 33207897 A JP33207897 A JP 33207897A JP 33207897 A JP33207897 A JP 33207897A JP H11143510 A JPH11143510 A JP H11143510A
Authority
JP
Japan
Prior art keywords
circuit
sequence
program
master
ladder
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.)
Withdrawn
Application number
JP33207897A
Other languages
Japanese (ja)
Inventor
Toshito Fukui
敏人 福井
Masato Hoshi
正人 星
Tetsuo Hisada
哲郎 久田
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP33207897A priority Critical patent/JPH11143510A/en
Publication of JPH11143510A publication Critical patent/JPH11143510A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily correct the operation if needed by making every equipment control its own operation by referring to a master circuit. SOLUTION: A programmable controller 10 is connected to an input device 12 which inputs the correction/addition data and also to plural robots 101 to 10N. Then the controller 10 calls a master circuit out of its internal storage to produce an absolute sequence circuit for every robot based on a block operator if exists and executes a ladder sequence circuit that is expanded to an expansion area of every absolute sequence circuit. That is, a master circuit is prepared and the address of every contact, etc., of the sequence circuit is calculated in the execution mode of every robot based on the master circuit. Thereby, it's just required to correct only the master circuit and accordingly to quickly perform this correction when it's desired to change the operations of all robots in the similar ways.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、たとえば、複数の
ロボットを同一のプログラムで制御する設備において、
プログラムの修正が必要となった場合でも、その修正を
一回の作業で行うことができるようにしたシーケンスプ
ログラムの実行方法とその装置に関するものである。
[0001] The present invention relates to, for example, a facility for controlling a plurality of robots with the same program.
The present invention relates to a method and an apparatus for executing a sequence program in which even if a program needs to be corrected, the correction can be performed in a single operation.

【0002】[0002]

【従来の技術】従来、多数のロボットに同一の作業を行
わせて大量生産を行う生産ラインを構成する場合、それ
ぞれのロボットの動作を制御するプログラマブルコント
ローラに同一のプログラムを記憶させ、プレイバック時
には、予め設定したオフセット値に基づいてラダーシー
ケンスの入出力接点のアドレスを個々に自動設定するよ
うにしている。
2. Description of the Related Art Conventionally, when configuring a production line in which a large number of robots perform the same work and perform mass production, the same program is stored in a programmable controller that controls the operation of each robot, and the playback is performed during playback. The address of the input / output contact of the ladder sequence is automatically set individually based on a preset offset value.

【0003】たとえば、図15に示すようなオフセット
・実体方式では、ロボット101(R101)、ロボッ
ト102(R102)、ロボット104(R104)の
それぞれに、同一のプログラムを記憶させ、それぞれの
ロボットごとにオフセットを設定して、プレイバック時
に、それぞれの接点などのアドレスを決定している。
For example, in the offset / substantial method as shown in FIG. 15, the same program is stored in each of the robots 101 (R101), 102 (R102), and 104 (R104), and each robot has its own program. The offset is set, and the address of each contact is determined at the time of playback.

【0004】この方式の場合には、ロボット101用の
プログラムR101ではオフセット値iを1に設定し、
ロボット102用のプログラムR102ではオフセット
値iを2に設定し、ロボット104用のプログラムR1
04ではオフセット値iを4に設定している。したがっ
て、プレイバック時に実行されるラダーシーケンスの各
接点のアドレスは、それぞれのロボットについて同図の
右側に記述されているものとなる。
In this method, an offset value i is set to 1 in a program R101 for the robot 101,
In the program R102 for the robot 102, the offset value i is set to 2 and the program R1 for the robot 104 is set.
At 04, the offset value i is set to 4. Therefore, the address of each contact point of the ladder sequence executed at the time of playback is described for each robot on the right side of FIG.

【0005】このような方式を用いると、同一のシーケ
ンスプログラムを各ロボットのプログラマブルコントロ
ーラに記憶させるのみでよく(コピー作業のみ)、一番
手間のかかる各接点等に対するアドレスの設定を行う必
要がないから、短期間で設備を稼動させることができる
ようになる。
With such a method, it is only necessary to store the same sequence program in the programmable controller of each robot (only copying operation), and it is not necessary to set the address for each contact and the like which is the most troublesome. Therefore, the equipment can be operated in a short period of time.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の方式を用いた場合であっても、設備の動作を
変更させる必要が生じた場合には、その動作の変更に伴
うシーケンスプログラムの修正や追加の作業がはなはだ
問題となる。
However, even when such a conventional method is used, if it is necessary to change the operation of the equipment, the sequence program must be modified in accordance with the change in the operation. And additional work is a serious problem.

【0007】確かに、設備を新しく作り上げる過程で
は、従来の方式は設備稼動の短縮化に寄与するものでは
あるが、作り上げた設備の動作を変更する場合には、そ
の変更の要求に応えるシーケンスプログラムの修正作業
を各々のロボットのプログラムについて行わなければな
らなくなるから、この修正は非常に手間のかかる作業と
なってしまう。
Although the conventional method contributes to shortening the operation of the equipment in the process of newly manufacturing the equipment, when the operation of the manufactured equipment is changed, a sequence program meeting the change request is required. Has to be performed for each robot program, this correction is a very time-consuming task.

【0008】このように、従来の方式では、自動化でき
るのは、設備を新しく作り上げるときだけであり、プロ
グラムの修正や追加が必要となる場合には、従来からの
手作業によらなければならないのである。
As described above, the conventional method can be automated only when a new facility is created, and when a program needs to be modified or added, it must be performed by a conventional manual operation. is there.

【0009】本発明は、このような従来の問題点に鑑み
てなされたものであり、動作の修正が必要となる場合で
も、この修正を容易にすることができるようにしたシー
ケンスプログラムの実行方法とその装置の提供を目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of such a conventional problem, and has been made in consideration of the above circumstances. Even when the operation needs to be modified, it is possible to easily execute the modification. And its equipment.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
の本発明は、各請求項ごとに次のように構成される。請
求項1に記載の発明にあっては、複数の設備のそれぞれ
を同一のプログラムで動作させる生産ラインに適用され
るシーケンスプログラムの実行方法であって、当該複数
の設備の全てに適用するマスター回路を設け、それぞれ
の設備が当該マスター回路を参照することによってその
設備の動作を制御するようにしたことを特徴とするシー
ケンスプログラムの実行方法である。
The present invention for achieving the above object is constituted as follows for each claim. The invention according to claim 1 is a method of executing a sequence program applied to a production line that operates each of a plurality of facilities by the same program, wherein the master circuit is applied to all of the plurality of facilities. , And each facility controls the operation of the facility by referring to the master circuit.

【0011】請求項2に記載の発明にあっては、複数の
設備のそれぞれを同一のプログラムで動作させる生産ラ
インに適用されるシーケンスプログラムの実行方法であ
って、当該複数の設備の全てに適用するマスター回路を
設け、それぞれの設備の実行時には、当該マスター回路
を参照してそれぞれの設備のラダーシーケンス回路を作
成し、当該作成したラダーシーケンス回路を実行するこ
とでそれぞれの設備を動作させることを特徴とするシー
ケンスプログラムの実行方法である。
[0011] The invention according to claim 2 is a method of executing a sequence program applied to a production line that operates each of a plurality of facilities with the same program, and is applied to all of the plurality of facilities. When each facility is executed, a ladder sequence circuit for each facility is created with reference to the master circuit, and each facility is operated by executing the created ladder sequence circuit. This is a method of executing a sequence program as a feature.

【0012】請求項3に記載の発明は、請求項2に記載
のシーケンスプログラムの実行方法において、前記それ
ぞれの設備のラダーシーケンス回路の作成は、参照回路
の記述に基づいて前記マスター回路を参照し、前記マス
ター回路の中から対象となるラダーシーケンス回路を取
り出し、この取り出したラダーシーケンス回路を構成す
る各接点や入出力のアドレスを当該参照回路の記述に基
づいて決定することによって作成されることを特徴とす
る。
According to a third aspect of the present invention, in the execution method of the sequence program according to the second aspect, the ladder sequence circuit of each of the facilities is referred to the master circuit based on the description of the reference circuit. The ladder sequence circuit of interest is extracted from the master circuit, and the contacts and input / output addresses constituting the extracted ladder sequence circuit are determined based on the description of the reference circuit. Features.

【0013】請求項4に記載の発明は、複数の設備のそ
れぞれを同一のプログラムで動作させるシーケンスプロ
グラムの実行装置であって、当該複数の設備の全てに適
用するマスター回路を記憶するマスター回路記憶手段
と、当該マスター回路記憶手段に記憶されているマスタ
ー回路を異なる回路に書き替えるための入力手段と、前
記マスター回路記憶手段に記憶されているマスター回路
を参照してその設備のラダーシーケンス回路を生成する
絶対シーケンス回路生成手段と、当該絶対シーケンス回
路生成手段によって生成されたシーケンスプログラムを
実行して、その設備の動作を制御する制御手段とを有す
ることを特徴とするシーケンスプログラムの実行装置で
ある。
According to a fourth aspect of the present invention, there is provided an apparatus for executing a sequence program for operating each of a plurality of facilities by the same program, wherein a master circuit storing a master circuit applied to all of the plurality of facilities. Means, input means for rewriting the master circuit stored in the master circuit storage means to a different circuit, and a ladder sequence circuit of the equipment with reference to the master circuit stored in the master circuit storage means. An apparatus for executing a sequence program, comprising: an absolute sequence circuit generating means for generating; and a control means for executing a sequence program generated by the absolute sequence circuit generating means and controlling operation of the equipment. .

【0014】請求項5に記載の発明は、請求項4に記載
のシーケンスプログラムの実行装置において、前記絶対
シーケンス回路生成手段は、各設備に対するラダーシー
ケンス回路を生成するための参照回路が記憶された参照
回路記憶手段と、当該参照回路記憶手段の内容にしたが
って前記マスター回路記憶手段から対象となるラダーシ
ーケンス回路を取り出し、この取り出したラダーシーケ
ンス回路を構成する各接点や入出力のアドレスを前記参
照回路記憶手段に記憶されている参照回路の記述に基づ
いて決定するアドレス決定手段とを有することを特徴と
する。
According to a fifth aspect of the present invention, in the sequence program execution device of the fourth aspect, the absolute sequence circuit generating means stores a reference circuit for generating a ladder sequence circuit for each facility. A reference circuit storage means, and a target ladder sequence circuit is taken out of the master circuit storage means in accordance with the contents of the reference circuit storage means, and each contact or input / output address constituting the taken out ladder sequence circuit is referred to as the reference circuit. Address determination means for determining based on the description of the reference circuit stored in the storage means.

【0015】請求項6に記載の発明にあっては、複数の
設備の全てに適用するマスター回路を設け、それぞれの
設備が当該マスター回路を参照することによってその設
備の動作を制御するシーケンスプログラムの実行方法で
あって、前記マスター回路から生成されたその設備用の
ラダーシーケンス回路を修正する段階と、当該修正され
たその設備用のラダーシーケンス回路を他の設備用に生
成されたラダーシーケンス回路と比較して、同一のグル
ープに纏められるブロックを探す段階と、同一のグルー
プに纏められるブロックが存在する場合には、これらの
ブロックを一纏めにしたブロックを子ブロックとして登
録する一方、同一のグループに纏められるブロックが存
在しない場合には固有のブロックとして登録する段階と
を含むことを特徴とするシーケンスプログラムの実行方
法である。
According to the present invention, a master circuit is provided for all of a plurality of facilities, and each facility refers to the master circuit to control the operation of the facility. An execution method, wherein the ladder sequence circuit for the equipment generated from the master circuit is modified, and the ladder sequence circuit for the modified equipment is generated for another equipment. In comparison, when searching for blocks to be grouped in the same group, and when there are blocks to be grouped in the same group, a block in which these blocks are grouped is registered as a child block, while being registered in the same group. Registering as a unique block if there is no block to be combined An execution method of a sequence program.

【0016】請求項7に記載の発明にあっては、複数の
設備の全てに適用するマスター回路を設け、それぞれの
設備が当該マスター回路を参照することによってその設
備の動作を制御するシーケンスプログラムの実行方法で
あって、前記マスター回路から生成されたその設備用の
ラダーシーケンス回路を修正する段階と、当該修正され
たその設備用のラダーシーケンス回路を他の設備用に生
成されたラダーシーケンス回路と比較して、同一のグル
ープに纏められるブロックを探す段階と、同一のグルー
プに纏められるブロックが存在する場合であって、同一
のグループに纏められるブロックの数が前記マスター回
路に存在するブロックの数に対して一定以上の割合で存
在する場合には、この同一のグループに纏めたブロック
をマスター回路に付加し、一方、一定以上の割合で存在
していない場合には、これらのブロックを一纏めにした
ブロックを子ブロックとして登録し、また、同一のグル
ープに纏められるブロックが存在しない場合には固有の
ブロックとして登録する段階とを含むことを特徴とする
シーケンスプログラムの実行方法である。
According to the invention described in claim 7, a master circuit which is applied to all of the plurality of facilities is provided, and each facility refers to the master circuit to control the operation of the facility. An execution method, wherein the ladder sequence circuit for the equipment generated from the master circuit is modified, and the ladder sequence circuit for the modified equipment is generated for another equipment. Comparing and searching for blocks to be grouped into the same group, and when there are blocks to be grouped into the same group, and the number of blocks to be grouped into the same group is the number of blocks existing in the master circuit. If they exist at a certain ratio or more, the blocks combined into the same group In addition, on the other hand, if they do not exist at a certain rate or more, a block that combines these blocks is registered as a child block, and if there is no block that can be combined into the same group, a unique And registering the block as a block.

【0017】請求項8に記載の発明は、請求項6または
請求項7に記載のシーケンスプログラムの実行方法にお
いて、マスタープログラムから設備のシーケンスプログ
ラムを生成する場合には、その設備に適用する子ブロッ
ク、固有のブロック及び前記マスター回路の全てを参照
し、それぞれを繋ぎ合わせてその設備のシーケンスプロ
グラムとすることを特徴とする。
According to an eighth aspect of the present invention, in the sequence program execution method according to the sixth or seventh aspect, when a sequence program for a facility is generated from a master program, the child block is applied to the facility. , Referring to all of the unique blocks and the master circuit, and connecting them to form a sequence program for the equipment.

【0018】[0018]

【発明の効果】以上のような構成を有する本発明は次の
ような効果を奏する。請求項1及び請求項2に記載の発
明では、各設備は、マスター回路を参照して動作を制御
するようにしたので、設備の動作に変更が生じた場合で
あっても、マスター回路の変更のみによって全ての設備
の動作の変更に対応することができ、変更時の作業効率
が向上する。また、全ての設備のプログラムを書き替え
る必要がある従来の方法に比較して、本願発明の場合に
は、1つのプログラムを修正するだけで良いので、修正
後のバグに対する対応も迅速にすることができる。
The present invention having the above configuration has the following effects. According to the first and second aspects of the present invention, each facility controls the operation with reference to the master circuit. Therefore, even if the operation of the facility changes, the master circuit is changed. Only the change in the operation of all the equipment can be dealt with, and the work efficiency at the time of the change is improved. Also, in the case of the present invention, since only one program needs to be modified, the response to the bug after the modification can be promptly performed, as compared with the conventional method in which the program of all the facilities needs to be rewritten. Can be.

【0019】請求項3に記載の発明では、各設備は、マ
スター回路から作成したラダーシーケンス回路の各接点
や入出力のアドレスを、それぞれに対して設けられてい
る参照回路の記述に基づいて決定するようにしたので、
設備が追加された場合でも、その設備に対する参照回路
を追加するのみで良く、設備の追加に対しても容易に対
処することができる。
According to the third aspect of the invention, each facility determines each contact and input / output address of the ladder sequence circuit created from the master circuit based on the description of the reference circuit provided for each. I decided to
When equipment is added, it is only necessary to add a reference circuit for the equipment, and it is possible to easily cope with the addition of equipment.

【0020】請求項4に記載の発明では、マスター回路
記憶手段に記憶されているマスター回路を参照してその
設備のラダーシーケンス回路を生成するようにしたの
で、設備の動作に変更が生じた場合であっても、マスタ
ー回路の変更のみによって全ての設備の動作の変更に対
応することができ、変更時の作業効率が向上する。
According to the fourth aspect of the present invention, the ladder sequence circuit of the equipment is generated with reference to the master circuit stored in the master circuit storage means, so that the operation of the equipment is changed. Even in this case, it is possible to cope with a change in the operation of all the equipment only by changing the master circuit, and the work efficiency at the time of the change is improved.

【0021】請求項5に記載の発明では、各設備は、マ
スター回路から作成したラダーシーケンス回路の各接点
や入出力のアドレスを、それぞれに対して設けられてい
る参照回路の記述に基づいて決定するようにしたので、
設備が追加された場合でも、参照回路記憶手段の内容を
書き替えて、その設備に対する参照回路を追加するのみ
で良く、設備の追加に対しても容易に対処することがで
きる。
According to the fifth aspect of the present invention, each facility determines each contact or input / output address of the ladder sequence circuit created from the master circuit based on the description of the reference circuit provided for each. I decided to
When equipment is added, it is only necessary to rewrite the contents of the reference circuit storage means and add a reference circuit for the equipment, and it is possible to easily cope with the addition of equipment.

【0022】請求項6乃至請求項8に記載の発明では、
マスター回路から生成された設備用のラダーシーケンス
回路を修正したとしても、その修正後のラダーシーケン
ス回路を他の設備と共通するブロックとして登録してお
くことができるので、そのブロックの変更のみによって
該当設備の動作の変更に対応することができ、変更時の
作業効率が向上する。また、全ての設備のプログラムを
書き替える必要がある従来の方法に比較して、本願発明
の場合には、該当プログラムを修正するだけで良いの
で、修正後のバグに対する対応も迅速にすることができ
る。
According to the invention described in claims 6 to 8,
Even if the ladder sequence circuit for equipment generated from the master circuit is modified, the modified ladder sequence circuit can be registered as a common block with other equipment. It is possible to cope with a change in the operation of the equipment, and work efficiency at the time of the change is improved. Also, compared to the conventional method that requires rewriting the program of all the facilities, in the case of the present invention, it is only necessary to correct the corresponding program, so that it is possible to quickly respond to the bug after the correction. it can.

【0023】[0023]

【発明の実施の形態】本発明を詳細に説明する前に、そ
の概略を説明する。図1(a)に示すように、従来で
は、同一のプログラムではあるが接点などのアドレスが
異なるプログラムが各ロボットごとに個別に設けられて
いる。したがって、このプログラムを修正する場合に
は、全く同じ修正を各ロボットのシーケンスプログラム
のそれぞれについてに行わなければならない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the present invention in detail, its outline will be described. Conventionally, as shown in FIG. 1A, a program having the same program but different addresses such as contact points is individually provided for each robot. Therefore, when modifying this program, the exact same modification must be made for each sequence program of each robot.

【0024】ところが、本発明では、同図(b)に示す
ように、マスター回路のみを修正することによって、全
てのロボットに対するプログラムを修正したのと同一の
効果を得ることができるようにしている。このため、設
備設置後におけるシーケンスプログラムの修正や追加の
要求にも迅速に応えることができるのである。
However, in the present invention, as shown in FIG. 2B, by modifying only the master circuit, it is possible to obtain the same effect as modifying programs for all robots. . For this reason, it is possible to quickly respond to a request for modification or addition of a sequence program after installation of the equipment.

【0025】以下に、本発明の実施の形態を図面に基づ
いて詳細に説明する。図2は、本発明にかかるシーケン
スプログラムの実行装置の概略構成を示すブロック図で
ある。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing a schematic configuration of a sequence program execution device according to the present invention.

【0026】各ロボットの動作を制御するプログラマブ
ルコントローラ10には、修正、追加のデータを入力す
る入力手段としての入力装置(キーボード)12が接続
されている。また、出力装置としては、複数台のロボッ
ト101〜Nが接続されている。これらのロボットは、
プログラマブルコントローラ10に記憶されている1つ
のプログラムを参照することによって動いている。これ
については後述する。本発明の方法または装置に用いら
れるシーケンス回路のブロック構造、ブロック演算子の
種類、マスター回路におけるシーケンス回路のデータ構
造は、図3〜図5に示すように構成される。
An input device (keyboard) 12 as input means for inputting correction and additional data is connected to the programmable controller 10 for controlling the operation of each robot. Further, a plurality of robots 101 to N are connected as output devices. These robots
The operation is performed by referring to one program stored in the programmable controller 10. This will be described later. The block structure of the sequence circuit used in the method or apparatus of the present invention, the types of block operators, and the data structure of the sequence circuit in the master circuit are configured as shown in FIGS.

【0027】すなわち、シーケンス回路のブロック構造
は、ブロック演算子、ブロックID、参照先ID、オフ
セット値が順番に記述されたものとなっており、以降
は、分岐の種類、属性、アドレス、掛数が順番に記述さ
れたものが連続して存在し、最後にEOB(エンドオブ
ブロックス)という演算子を有している。
That is, the block structure of the sequence circuit is such that a block operator, a block ID, a reference destination ID, and an offset value are sequentially described. Are successively described, and have an operator called EOB (End of Blocks) at the end.

【0028】演算子には、図4に示すような4種類のも
のがあり、この演算子には、ブロックIDがあるかない
か、参照先IDがあるかないか、オフセット値があるか
ないか、実行があるかないか、回路データがあるかない
かがそれぞれに記述されている。
There are four types of operators as shown in FIG. 4, and these operators have a block ID, a reference destination ID, an offset value, an execution The presence or absence of circuit data is described.

【0029】なお、このブロック演算子の名称はそれぞ
れ異なる意味を有しているが、VLDは、バーチャル
ロードの略で参照先回路を意味する演算子である。OL
Dは、オフセット ロードの略でオフセット演算ありを
意味する演算子である。RLDは、レファレンス ロー
ドの略で参照元回路を意味する演算子である。EOB
は、エンド オブ ブロックの略で、ブロックの終わり
を意味する演算子である。
Although the names of the block operators have different meanings, VLD is a virtual operator.
This is an operator that stands for Load Reference Circuit. OL
D is an operator for offset load, which means that there is an offset operation. RLD is an abbreviation of reference load, and is an operator meaning a reference source circuit. EOB
Is an abbreviation for End of Block, an operator that means the end of a block.

【0030】図5には、その右側に示されているような
ラダーシーケンス回路を構成する場合の本願発明のプロ
グラム構造の一例を示してある。VLDの演算子は、図
4に示すように、ブロックID,回路データがあり、参
照先ID,オフセット値,実行がない演算子であるの
で、図3のブロック構造にしたがって、マスター回路に
は、「VLD 001 なし なし」と記述される。こ
れは、ブロック演算子が「VLD」であり、ブロックI
Dが「001」であり、参照先IDが「なし」であり、
オフセット値が「なし」であることを示すものである。
次に、ラダーシーケンス回路のデータが記述される。図
5に示してあるデータの意味は、図3にも示してある
が、次の通りである。
FIG. 5 shows an example of the program structure of the present invention in the case of forming a ladder sequence circuit as shown on the right side. As shown in FIG. 4, the operator of the VLD is an operator having a block ID and circuit data, a reference destination ID, an offset value, and no execution. Therefore, according to the block structure of FIG. "VLD 001 None None" is described. This is because the block operator is "VLD" and the block I
D is “001”, the reference destination ID is “none”,
This indicates that the offset value is “none”.
Next, data of the ladder sequence circuit is described. The meaning of the data shown in FIG. 5 is also shown in FIG. 3 and is as follows.

【0031】すなわち、「LD A接点 X001 4
0」は、分岐の種類がLD(ロード)、属性がA接点、
アドレスがX001、掛数が40であることを意味して
いる。また、「AND B接点 X002 40」は、
分岐の種類がAND(直列接続)、属性がB接点、アド
レスがX002、掛数が40であることを意味してい
る。さらに、「OUT コイル Y001 10」は、
分岐の種類がOUT(出力)、属性がコイル、アドレス
がY001、掛数が10であることを意味している。最
後のEOBは、VLD001のブロックはここで終了す
ることを意味している。
That is, "LD A contact X001 4
"0" indicates that the type of branch is LD (load), the attribute is A contact,
This means that the address is X001 and the multiplier is 40. "AND B contact X002 40"
It means that the type of the branch is AND (series connection), the attribute is B contact, the address is X002, and the number is 40. Furthermore, “OUT coil Y001 10”
This means that the type of branch is OUT (output), the attribute is coil, the address is Y001, and the multiplier is 10. The last EOB means that the VLD001 block ends here.

【0032】従来のラダーシーケンス回路であれば、こ
れを図6に示すように分岐、属性、アドレスからなるデ
ータで構成しているのであるが、図5のデータ構造との
相違は、両者を比較してみれば明らかである。
In the case of a conventional ladder sequence circuit, this is composed of data consisting of a branch, an attribute and an address as shown in FIG. 6, but the difference from the data structure of FIG. It's clear.

【0033】つぎに、本発明の方法または装置に用いら
れるシーケンス回路のデータ構造(参照回路)とメモリ
マップを図7及び図8に示す。図7は、各ロボットに対
して設ける回路である。ロボットが図5に示したVLD
001を実行するときに参照する回路であり、この図に
示してある参照回路の意味は、次の通りである。
Next, FIGS. 7 and 8 show a data structure (reference circuit) and a memory map of a sequence circuit used in the method or apparatus of the present invention. FIG. 7 shows a circuit provided for each robot. VLD shown in Fig. 5 by robot
This is a circuit to be referred to when 001 is executed, and the meaning of the reference circuit shown in this figure is as follows.

【0034】すなわち、「RLD 001 VLD00
1 1」は、マスター回路に記憶されているVLD00
1を読み込んで、オフセット値を1にすると言う意味で
ある。以上の内容を実行すると、RLD001という図
7に右側に記述されているようなラダーシーケンス回路
がそのロボットの実行回路となる。
That is, “RLD 001 VLD00
11 ”is the VLD00 stored in the master circuit.
This means that 1 is read and the offset value is set to 1. By executing the above contents, the ladder sequence circuit RLD001 described on the right side in FIG. 7 becomes the execution circuit of the robot.

【0035】図8は、プログラマブルコントローラ10
に設けられている記憶装置のメモリーマップであるが、
このメモリマップは、絶対シーケンス回路展開領域、シ
ーケンス回路、I/Oメモリ、システム領域から構成さ
れる。
FIG. 8 shows the programmable controller 10.
The memory map of the storage device provided in
This memory map includes an absolute sequence circuit development area, a sequence circuit, an I / O memory, and a system area.

【0036】絶対シーケンス回路展開領域は、上記のよ
うにして展開した参照回路を記憶しておく領域であり、
本発明の方法の実行に、または装置の処理に必要となる
領域である。
The absolute sequence circuit development area is an area for storing the reference circuit developed as described above.
This is the area required to perform the method of the present invention or to process the device.

【0037】本発明にかかるシーケンスプログラムの実
行方法及びその装置の動作を、図9に示したフローチャ
ートに基づいて詳細に説明する。
The sequence program execution method and the operation of the apparatus according to the present invention will be described in detail with reference to the flowchart shown in FIG.

【0038】プログラマブルコントローラ10は、内部
に有している記憶装置からマスター回路を呼び出し、呼
び出した部分(マスター回路を構成するブロック)にシ
ーケンス回路が存在しなければ、マスター回路の先頭に
ジャンプする(S1〜S3)。
The programmable controller 10 calls the master circuit from the internal storage device, and jumps to the head of the master circuit if there is no sequence circuit in the called portion (the block constituting the master circuit) ( S1 to S3).

【0039】呼び出した回路中に、図4で示したような
ブロック演算子が存在していなければ、記述に従ってそ
のままラダーシーケンス回路を実行し(S4,S5)、
ブロック演算子が存在する場合には、その演算子が、
「VLD」であればEOBまでジャンプして次のブロッ
クに進む(S6,S7)。
If there is no block operator as shown in FIG. 4 in the called circuit, the ladder sequence circuit is directly executed according to the description (S4, S5),
If there is a block operator, the operator is
If "VLD", jump to EOB and proceed to the next block (S6, S7).

【0040】演算子が「VLD」でなければ、つぎに、
ブロック演算子がRLDであるかが判断され、RLDで
あれば、指令されているブロックにジャンプし、オフセ
ット値から絶対シーケンス回路を作成する。たとえば、
図7に示したような参照回路が記述されていた場合に
は、この図の右側に記述されているような回路が図8に
示す絶対シーケンス回路展開領域に展開されることにな
る。一方、演算子がRLDでなければ、オフセット値か
ら絶対シーケンス回路を作成する。この絶対シーケンス
回路は、図10に示したように、各ロボットごとに作成
される(S8〜S10)。
If the operator is not "VLD", then:
It is determined whether the block operator is RLD, and if RLD, jump to the commanded block and create an absolute sequence circuit from the offset value. For example,
When the reference circuit as shown in FIG. 7 is described, the circuit as described on the right side of FIG. 7 is developed in the absolute sequence circuit development area shown in FIG. On the other hand, if the operator is not RLD, an absolute sequence circuit is created from the offset value. This absolute sequence circuit is created for each robot as shown in FIG. 10 (S8 to S10).

【0041】プログラマブルコントローラ10は、絶対
シーケンス回路展開領域に展開されたラダーシーケンス
回路を実行する。実行が終了したら、次の回路を読み出
し、「EOB」の演算子が読み出されるまでS10〜S
12の処理が繰り返される(S11,S12)。
The programmable controller 10 executes the ladder sequence circuit developed in the absolute sequence circuit development area. When the execution is completed, the next circuit is read out, and S10 to S10 are executed until the operator of "EOB" is read out.
Step 12 is repeated (S11, S12).

【0042】「EOB」の演算子が読み出された場合、
つまり読み出した回路に「EOB」の演算子が含まれて
いる場合には、「RLD」による実行であれば、元の位
置、即ち指定ブロックにジャンプし、「RLD」による
実行でなければ次の回路を読み出す(S13〜S1
5)。
When the "EOB" operator is read,
In other words, if the readout circuit includes the operator “EOB”, if the execution is performed by “RLD”, the operation jumps to the original position, that is, the specified block. Read the circuit (S13 to S1
5).

【0043】このように、本発明では、マスター回路を
1つ設けておき、各ロボットの実行時には、そのマスタ
ー回路を元にシーケンス回路の各接点等のアドレスを演
算しているので、全てのロボットの動作を同じように変
更したい場合には、マスター回路のみを修正すれば良
く、その修正作業を迅速に行うことができるようにな
る。
As described above, in the present invention, one master circuit is provided, and at the time of execution of each robot, the addresses of the respective contacts of the sequence circuit are calculated based on the master circuit. If it is desired to change the operation in the same way, only the master circuit needs to be modified, and the modification work can be performed quickly.

【0044】次に、以上のような処理だけでは、各ロボ
ットに共通の修正が必要とされた場合にしか対応するこ
とができないが、個々のロボットに固有の修正を加えた
場合でも、対応することができる方法を説明する。
Next, the above processing alone can only cope with a case where a common correction is required for each robot. However, even when a specific correction is made for each robot, it is also possible to cope with it. Explain how you can.

【0045】図11の上に示したあるテンプレートプロ
グラムは、プログラマブルコントローラ10に設けられ
ている記憶装置に記憶されたマスタープログラムの一例
を示すものである。
A certain template program shown at the top of FIG. 11 is an example of a master program stored in a storage device provided in the programmable controller 10.

【0046】それぞれのロボットがこのマスタープログ
ラムに基づいて自分自身のシーケンス回路を作成するこ
とができることは上述したが、このような方法のみを採
用した場合には、全てのロボットは同一のプログラムで
動作することしかできなくなってしまう。ところが、実
際の現場では各ロボットについて固有の動きが要求され
ることが多いのが現状である。
Although it has been described above that each robot can create its own sequence circuit based on this master program, if only such a method is adopted, all robots operate with the same program. You can only do it. However, at the actual site, it is often the case that a unique movement is required for each robot.

【0047】したがって、マスタープログラムから作成
されたロボット1用のコピープログラムを図11の下に
示すような回路(A接点X014を追加)に変更した場
合には、マスター回路に基づいて、この変更後のシーケ
ンス回路を生成することは不可能になる。次に述べる方
法は、このように個別に修正が加えられた回路でも、対
応することができるようにする方法である。
Therefore, when the copy program for the robot 1 created from the master program is changed to a circuit as shown in the lower part of FIG. 11 (A contact X014 is added), this circuit is changed based on the master circuit. It becomes impossible to generate the sequence circuit of FIG. The method described below is a method that can cope with a circuit that has been individually modified in this way.

【0048】この方法を図12に示すフローチャートに
基づいて詳細に説明する。特定のロボットについてシー
ケンスプログラムを変更する場合には、キーボード12
によってプログラマブルコントローラ10にシーケンス
ブロックの変更処理を指定し、所望のシーケンスプログ
ラムに変更を加える。たとえば、図13に示すように、
ロボット2用のシーケンスプログラムでは、マスタープ
ログラムに加えてA接点X027が、また、A接点X0
29が付加されている(S20)。
This method will be described in detail with reference to the flowchart shown in FIG. To change the sequence program for a specific robot, use the keyboard 12
Specifies the sequence block change processing to the programmable controller 10 to make a change to a desired sequence program. For example, as shown in FIG.
In the sequence program for the robot 2, the A contact X027 and the A contact X0
29 is added (S20).

【0049】プログラマブルコントローラ10では、ロ
ボット2用のシーケンスプログラムが指定された場合に
は、図13のi=2(ロボット2用の変更後のシーケン
スプログラム)の回路がエディタに表示されることにな
る(S21)。
In the programmable controller 10, when the sequence program for the robot 2 is specified, the circuit of i = 2 (sequence program after the change for the robot 2) in FIG. 13 is displayed on the editor. (S21).

【0050】そして、表示されたシーケンスプログラム
が他のシーケンスプログラムとの関係でオフセットする
ことができるかどうかを判断する。たとえば、i=2の
シーケンスプログラムを他のi=1、i=3、i=4の
シーケンスプログラムと比べてみると、オフセット化が
不可能であるので、この場合には、コピープログラム固
有の実体プログラムとして登録する。つまり、i=2の
シーケンス回路を固有のプログラムとして登録するので
ある。このように固有のプログラムを登録すると、設備
用のシーケンスプログラムを生成する場合に、マスター
プログラムのこの部分に相当するブロックの生成が不要
となるのでマスタープログラムのこの部分は無効とする
(S22、S23)。
Then, it is determined whether or not the displayed sequence program can be offset in relation to another sequence program. For example, when the sequence program of i = 2 is compared with other sequence programs of i = 1, i = 3, and i = 4, offsetting is impossible. In this case, the entity unique to the copy program is used. Register as a program. That is, the sequence circuit of i = 2 is registered as a unique program. When a unique program is registered in this way, when a sequence program for equipment is generated, it is not necessary to generate a block corresponding to this part of the master program, so this part of the master program is invalidated (S22, S23). ).

【0051】一方、i=1のシーケンスプログラムのよ
うに、変更後のプログラムがマスタープログラムに加え
てA接点X017が付加されている場合には、これをi
=3、i=4のシーケンスプログラムと比べてみると、
X007+10iとしてオフセット化ができる。このよ
うなブロックが一定数以上(たとえばシーケンスプログ
ラムを構成するブロックの50%以上)ない場合には
(S24)、オフセット化できる部分を子ブロックとし
て登録する。この場合、マスタープログラムに存在して
いるブロック(今回実体プログラムとして登録したブロ
ックに対応するブロック)は子テンプレートとして登録
し、消去して空き記憶容量の減少を防ぐ(S25)。
On the other hand, when the changed program has an A contact X017 in addition to the master program as in the sequence program of i = 1, the program is changed to i
= 3, i = 4
X007 + 10i can be offset. If such blocks do not exist in a certain number or more (for example, 50% or more of the blocks constituting the sequence program) (S24), the part that can be offset is registered as a child block. In this case, a block existing in the master program (a block corresponding to the block registered as the actual program this time) is registered as a child template and erased to prevent a decrease in free storage capacity (S25).

【0052】また、ブロックが一定数以上ある場合であ
って、上位の子プログラムがなければ(S26)、変更
部分をテンプレートプログラム、すなわちマスタープロ
グラムに付加する(S27)。このように纏めることが
できるブロックの数が一定数以上あるときにマスタープ
ログラムに付加するようにすれば、以後の変更作業が効
率的になる。なお、上記の例では50%以上をマスター
回路に組む込む最低限のブロック数としている。この数
値が大きくなればなる程変更作業が効率的に行なえるよ
うになるが、あまり大きくすると、子ブロックの数ばか
り増える傾向となり、実際の変更作業の効率化を図るこ
とは困難になるので、この数値をどの程度のものとする
かはプログラマブルコントローラの使用状況(動作変更
の必要性)に応じて最適な数値を選択する。
If there are a certain number of blocks or more and there is no higher-order child program (S26), the changed part is added to the template program, that is, the master program (S27). If the number of blocks that can be combined is added to the master program when the number of blocks that can be combined is equal to or more than a certain number, the subsequent modification work becomes efficient. In the above example, 50% or more is set to the minimum number of blocks incorporated in the master circuit. The larger this value is, the more efficiently the change work can be performed.However, if the value is too large, the number of child blocks tends to increase, and it becomes difficult to improve the efficiency of the actual change work. The optimum value is selected according to the use condition of the programmable controller (necessity of changing the operation).

【0053】一方、ブロックが一定数以上ある場合であ
って、上位の子プログラムがある場合には、この上位の
子プログラムとまとめることができるから、まとめるこ
とができるブロックが一定数以上あれば、まとめたブロ
ックを子ブロックとして登録する。
On the other hand, if there are a certain number of blocks or more and there are higher-order child programs, they can be combined with the upper-order child programs. Register the combined block as a child block.

【0054】このようにして、変更が加えられたプログ
ラムの部分を、テンプレートプログラム、子プログラ
ム、孫プログラム、個別ブロックとして個々に格納し、
ロボットの動作時には、これらのプログラムを順番に繋
ぎ合わせて一連のプログラムとすることによって、変更
作業の短縮化を図りながら個別のロボットに要求される
動作が可能なプログラムの作成が可能になる。
In this way, the changed program portions are individually stored as template programs, child programs, grandchild programs, and individual blocks,
At the time of operation of the robot, by connecting these programs in order to form a series of programs, it is possible to create a program capable of performing the operation required for each robot while shortening the change work.

【0055】たとえば、最初は全てのロボットに共通の
プログラムとして設けられていたテンプレートプログラ
ムに、それぞれのロボットに個別に要求される動作に対
応するために変更が加えられ、あるロボットのプログラ
ムが図14に示すようなテンプレートプログラム、子プ
ログラム、孫プログラム、個別プログラムに分れたとす
る(図12の処理が行なわれると、このようになる)。
For example, a template program initially provided as a common program for all robots is modified in order to cope with an operation individually required for each robot. Is divided into a template program, a child program, a grandchild program, and an individual program as shown in FIG.

【0056】このロボットがシーケンスプログラムを実
行する場合には、図のようにばらばらに分かれて記憶さ
れているプログラムを繋ぎ合わせて、これらのプログラ
ムが順番に接続されて構成されるコピープログラムが生
成される。このコピープログラムに基づいてロボットの
動作が制御されることになる。
When the robot executes the sequence program, the programs stored separately and connected as shown in the figure are connected, and a copy program constituted by connecting these programs in order is generated. You. The operation of the robot is controlled based on the copy program.

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

【図1】 本発明の概略を説明するための図である。FIG. 1 is a diagram for explaining an outline of the present invention.

【図2】 本発明にかかるシーケンスプログラムの実行
装置の概略構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a sequence program execution device according to the present invention.

【図3】 本発明にかかるシーケンス回路のブロック構
造の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a block structure of a sequence circuit according to the present invention.

【図4】 本発明にかかるブロック演算子の種類を示す
図である。
FIG. 4 is a diagram showing types of block operators according to the present invention.

【図5】 本発明にかかるシーケンス回路のデータ構造
(マスター回路)の一例を示す図である。
FIG. 5 is a diagram showing an example of a data structure (master circuit) of a sequence circuit according to the present invention.

【図6】 従来のシーケンス回路のデータ構造の一例を
示す図である。
FIG. 6 is a diagram illustrating an example of a data structure of a conventional sequence circuit.

【図7】 本発明にかかるシーケンス回路のデータ構造
(参照回路)の一例を示す図である。
FIG. 7 is a diagram showing an example of a data structure (reference circuit) of a sequence circuit according to the present invention.

【図8】 本発明にかかるメモリマップを示す図であ
る。
FIG. 8 is a diagram showing a memory map according to the present invention.

【図9】 本発明にかかるシーケンスプログラムの実行
方法及びその装置の処理を示すフローチャートである。
FIG. 9 is a flowchart illustrating a method of executing a sequence program according to the present invention and a process of the apparatus.

【図10】 本発明にかかるシーケンスプログラムの実
行方法及びその装置の処理の説明に供する図である。
FIG. 10 is a diagram for explaining a method of executing a sequence program according to the present invention and a process of the apparatus.

【図11】 本発明の他の方法の説明に供する図であ
る。
FIG. 11 is a diagram for explaining another method of the present invention.

【図12】 本発明の他の方法を示すフローチャートで
ある。
FIG. 12 is a flowchart illustrating another method of the present invention.

【図13】 図12のフローチャートの動作説明に供す
る図である。
FIG. 13 is a diagram provided for explanation of the operation of the flowchart in FIG. 12;

【図14】 図12のフローチャートの動作説明に供す
る図である。
FIG. 14 is a diagram which is used for describing the operation of the flowchart in FIG.

【図15】 従来のシーケンスプログラムの実行方法の
説明に供する図である。
FIG. 15 is a diagram provided for describing a conventional method of executing a sequence program.

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

10…プログラマブルコントローラ、 12…入力装置。 10: programmable controller, 12: input device.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数の設備のそれぞれを同一のプログラ
ムで動作させる生産ラインに適用されるシーケンスプロ
グラムの実行方法であって、 当該複数の設備の全てに適用するマスター回路を設け、
それぞれの設備が当該マスター回路を参照することによ
ってその設備の動作を制御するようにしたことを特徴と
するシーケンスプログラムの実行方法。
1. A method of executing a sequence program applied to a production line that operates each of a plurality of facilities with the same program, comprising: a master circuit that is applied to all of the plurality of facilities;
A sequence program execution method, wherein each facility controls the operation of the facility by referring to the master circuit.
【請求項2】 複数の設備のそれぞれを同一のプログラ
ムで動作させる生産ラインに適用されるシーケンスプロ
グラムの実行方法であって、 当該複数の設備の全てに適用するマスター回路を設け、
それぞれの設備の実行時には、当該マスター回路を参照
してそれぞれの設備のラダーシーケンス回路を作成し、 当該作成したラダーシーケンス回路を実行することでそ
れぞれの設備を動作させることを特徴とするシーケンス
プログラムの実行方法。
2. A method of executing a sequence program applied to a production line that operates each of a plurality of facilities with the same program, comprising: providing a master circuit that applies to all of the plurality of facilities;
When executing each facility, a ladder sequence circuit for each facility is created with reference to the master circuit, and each facility is operated by executing the created ladder sequence circuit. Execution method.
【請求項3】 前記それぞれの設備のラダーシーケンス
回路の作成は、参照回路の記述に基づいて前記マスター
回路を参照し、前記マスター回路の中から対象となるラ
ダーシーケンス回路を取り出し、この取り出したラダー
シーケンス回路を構成する各接点や入出力のアドレスを
当該参照回路の記述に基づいて決定することによって作
成されることを特徴とする請求項2に記載のシーケンス
プログラムの実行方法。
3. The ladder sequence circuit of each facility is created by referring to the master circuit based on a description of a reference circuit, extracting a target ladder sequence circuit from the master circuit, and extracting the extracted ladder sequence circuit. 3. The sequence program execution method according to claim 2, wherein the sequence program is created by deciding each contact and input / output addresses constituting the sequence circuit based on the description of the reference circuit.
【請求項4】 複数の設備のそれぞれを同一のプログラ
ムで動作させるシーケンスプログラムの実行装置であっ
て、 当該複数の設備の全てに適用するマスター回路を記憶す
るマスター回路記憶手段と、 当該マスター回路記憶手段に記憶されているマスター回
路を異なる回路に書き替えるための入力手段と、 前記マスター回路記憶手段に記憶されているマスター回
路を参照してその設備のラダーシーケンス回路を生成す
る絶対シーケンス回路生成手段と、 当該絶対シーケンス回路生成手段によって生成されたシ
ーケンスプログラムを実行して、その設備の動作を制御
する制御手段とを有することを特徴とするシーケンスプ
ログラムの実行装置。
4. An apparatus for executing a sequence program for operating each of a plurality of facilities by the same program, comprising: master circuit storage means for storing a master circuit applied to all of the plurality of facilities; Input means for rewriting the master circuit stored in the means to a different circuit, and absolute sequence circuit generating means for generating a ladder sequence circuit of the equipment with reference to the master circuit stored in the master circuit storage means And a control means for executing the sequence program generated by the absolute sequence circuit generating means and controlling the operation of the equipment.
【請求項5】 前記絶対シーケンス回路生成手段は、各
設備に対するラダーシーケンス回路を生成するための参
照回路が記憶された参照回路記憶手段と、当該参照回路
記憶手段の内容にしたがって前記マスター回路記憶手段
から対象となるラダーシーケンス回路を取り出し、この
取り出したラダーシーケンス回路を構成する各接点や入
出力のアドレスを前記参照回路記憶手段に記憶されてい
る参照回路の記述に基づいて決定するアドレス決定手段
とを有することを特徴とする請求項4に記載のシーケン
スプログラムの実行装置。
5. The absolute sequence circuit generating means includes: a reference circuit storing means for storing a reference circuit for generating a ladder sequence circuit for each facility; and the master circuit storing means according to the contents of the reference circuit storing means. Address determining means for extracting a target ladder sequence circuit from the ladder sequence circuit, and determining addresses of contacts and input / output constituting the extracted ladder sequence circuit based on the description of the reference circuit stored in the reference circuit storage means. The sequence program execution device according to claim 4, comprising:
【請求項6】 複数の設備の全てに適用するマスター回
路を設け、それぞれの設備が当該マスター回路を参照す
ることによってその設備の動作を制御するシーケンスプ
ログラムの実行方法であって、 前記マスター回路から生成されたその設備用のラダーシ
ーケンス回路を修正する段階と、 当該修正されたその設備用のラダーシーケンス回路を他
の設備用に生成されたラダーシーケンス回路と比較し
て、同一のグループに纏められるブロックを探す段階
と、 同一のグループに纏められるブロックが存在する場合に
は、これらのブロックを一纏めにしたブロックを子ブロ
ックとして登録する一方、同一のグループに纏められる
ブロックが存在しない場合には固有のブロックとして登
録する段階とを含むことを特徴とするシーケンスプログ
ラムの実行方法。
6. A method of executing a sequence program for providing a master circuit to be applied to all of a plurality of facilities and for controlling the operation of the facilities by referring to the master circuit, wherein each of the facilities includes: Modifying the generated ladder sequence circuit for the equipment, and comparing the modified ladder sequence circuit for the equipment with the ladder sequence circuit generated for the other equipment, and combining them into the same group. In the stage of searching for a block, if there are blocks to be grouped in the same group, register the block in which these blocks are grouped together as a child block. Registering as a block of the sequence program. Row method.
【請求項7】 複数の設備の全てに適用するマスター回
路を設け、それぞれの設備が当該マスター回路を参照す
ることによってその設備の動作を制御するシーケンスプ
ログラムの実行方法であって、 前記マスター回路から生成されたその設備用のラダーシ
ーケンス回路を修正する段階と、 当該修正されたその設備用のラダーシーケンス回路を他
の設備用に生成されたラダーシーケンス回路と比較し
て、同一のグループに纏められるブロックを探す段階
と、 同一のグループに纏められるブロックが存在する場合で
あって、同一のグループに纏められるブロックの数が前
記マスター回路に存在するブロックの数に対して一定以
上の割合で存在する場合には、この同一のグループに纏
めたブロックをマスター回路に付加し、一方、一定以上
の割合で存在していない場合には、これらのブロックを
一纏めにしたブロックを子ブロックとして登録し、ま
た、同一のグループに纏められるブロックが存在しない
場合には固有のブロックとして登録する段階とを含むこ
とを特徴とするシーケンスプログラムの実行方法。
7. A method of executing a sequence program for providing a master circuit applied to all of a plurality of facilities, and controlling the operation of the facilities by referring to the master circuit, wherein each of the facilities refers to the master circuit. Modifying the generated ladder sequence circuit for the equipment, and comparing the modified ladder sequence circuit for the equipment with the ladder sequence circuit generated for the other equipment, and combining them into the same group. The step of searching for blocks and the case where there are blocks to be grouped in the same group, wherein the number of blocks to be grouped in the same group is at a certain ratio or more to the number of blocks in the master circuit In such a case, the blocks combined in the same group are added to the master circuit, while a certain percentage or more is added. If they do not exist, register these blocks as a group as a child block, and if there are no blocks to be grouped into the same group, register them as unique blocks. Characteristic execution method of sequence program.
【請求項8】 マスタープログラムから設備のシーケン
スプログラムを生成する場合には、その設備に適用する
子ブロック、固有のブロック及び前記マスター回路の全
てを参照し、それぞれを繋ぎ合わせてその設備のシーケ
ンスプログラムとすることを特徴とする請求項6または
請求項7に記載のシーケンスプログラムの実行方法。
8. When generating a sequence program for a facility from a master program, refer to all of a child block, a unique block and the master circuit applied to the facility, and connect them to each other to connect the sequence program for the facility. The method of executing a sequence program according to claim 6, wherein:
JP33207897A 1997-09-03 1997-12-02 Execution method and device for sequence program Withdrawn JPH11143510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33207897A JPH11143510A (en) 1997-09-03 1997-12-02 Execution method and device for sequence program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP23851197 1997-09-03
JP9-238511 1997-09-03
JP33207897A JPH11143510A (en) 1997-09-03 1997-12-02 Execution method and device for sequence program

Publications (1)

Publication Number Publication Date
JPH11143510A true JPH11143510A (en) 1999-05-28

Family

ID=26533737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33207897A Withdrawn JPH11143510A (en) 1997-09-03 1997-12-02 Execution method and device for sequence program

Country Status (1)

Country Link
JP (1) JPH11143510A (en)

Similar Documents

Publication Publication Date Title
US7110837B2 (en) Control system and method for on-line editing of user program
US20080103625A1 (en) Numerical controller with machining resume function
JP2526686B2 (en) Method of modifying program contents in control program of programmable controller
JPH11143510A (en) Execution method and device for sequence program
JP3373163B2 (en) Program editing device for programmable controller
JP4571355B2 (en) Control method, control program, memory element, control device for technical process in vehicle
CN117136342A (en) Development support device, control method for development support device, information processing program, and recording medium
JPH01108602A (en) Sequence controller
JPS59114602A (en) Programmable controller
JP3269164B2 (en) Peripheral device of programmable controller
JPH10247107A (en) Shortening method for sequence processing time
JPH0944208A (en) Simulation method
JPH06259115A (en) Programmable controller
JP2000020297A (en) Controller
JPH09244717A (en) Controller
JPH06274328A (en) Execution method for program consisting of plural processing modules
JP2658578B2 (en) Programmable controller
JPS6180426A (en) System editing processing system
JPH05204442A (en) Teaching device for robot
JPH0764614A (en) Program control device and method and program producing device
JPH04367029A (en) Programming device for programmable controller
JPH07264784A (en) Power distribution system monitor
JPH1097307A (en) Sequencer operation verification device and medium recording sequencer operation verification program
JPH05307403A (en) Program management method, program managenent device and plant controller system
JPS62224805A (en) Ladder diagram display system for program of sequence programmable controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050301