JP3379337B2 - Sequence control method and apparatus - Google Patents

Sequence control method and apparatus

Info

Publication number
JP3379337B2
JP3379337B2 JP17039596A JP17039596A JP3379337B2 JP 3379337 B2 JP3379337 B2 JP 3379337B2 JP 17039596 A JP17039596 A JP 17039596A JP 17039596 A JP17039596 A JP 17039596A JP 3379337 B2 JP3379337 B2 JP 3379337B2
Authority
JP
Japan
Prior art keywords
module
output
sequence
command
address
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
Application number
JP17039596A
Other languages
Japanese (ja)
Other versions
JPH1020907A (en
Inventor
貞和 杉山
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 JP17039596A priority Critical patent/JP3379337B2/en
Publication of JPH1020907A publication Critical patent/JPH1020907A/en
Application granted granted Critical
Publication of JP3379337B2 publication Critical patent/JP3379337B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、シーケンス回路の
設計や変更を容易とするシーケンス制御方法およびその
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence control method and apparatus for facilitating the design and modification of a sequence circuit.

【0002】[0002]

【従来の技術】従来、シーケンス制御回路を作成する場
合には、図7に示すような入出力接点アドレス(X0
0,X01,Y00,Y01)をそれぞれの部品に設定
し、次に、図8に示すように、それぞれの部品の動作順
序を示すタイミングチャートを描き、これに基づいて、
図9に示すようなシーケンスプログラムを作成してい
る。
2. Description of the Related Art Conventionally, when making a sequence control circuit, an input / output contact address (X0
0, X01, Y00, Y01) is set for each component, and then a timing chart showing the operation sequence of each component is drawn as shown in FIG.
A sequence program as shown in FIG. 9 is created.

【0003】[0003]

【発明が解決しようとする課題】このような従来のシー
ケンス制御回路の作成方法にあって、たとえば、部品の
動作順序が図10に示すように、変更された場合には、
シーケンス制御回路の変更にあたって、図9に示した全
てのシーケンス制御回路のインターロック状態や入出力
接点アドレスの見直しを余儀無くされ、図11に示すよ
うなシーケンス制御回路に書き直す必要がある。つま
り、シーケンス制御回路のごく一部分を変更する場合に
も、全てのシーケンス制御回路の見直しが必要になるの
である。
In such a conventional method for producing a sequence control circuit, for example, when the operation sequence of parts is changed as shown in FIG.
When changing the sequence control circuit, the interlock states and the input / output contact addresses of all the sequence control circuits shown in FIG. 9 must be reviewed, and the sequence control circuit as shown in FIG. 11 needs to be rewritten. In other words, even if only a part of the sequence control circuit is changed, it is necessary to review all the sequence control circuits.

【0004】比較的小規模のシーケンス制御回路であれ
ば、全面的な見直しもそれ程負担となることは無いが、
大規模のシーケンス制御回路については、多大な時間と
労力が必要となり、その変更に対して迅速な対応ができ
ないという問題がある。
If the sequence control circuit is a relatively small scale, a complete review will not be so burdensome,
A large-scale sequence control circuit requires a great deal of time and labor, and there is a problem that it is not possible to quickly deal with the change.

【0005】また、シーケンス制御回路の変更には、入
出力接点アドレスを書き替える作業や、部品ごとにイン
ターロック状態を見直す作業が要求され、その作業量は
非常に多くなるのが通常であるから、その作業には、入
出力接点アドレスの割り付けミスや設計ミスの発生が内
在され、これらのミスのデバッグに必要となる時間も確
保する必要があり、また、このデバッグ作業は熟練を要
する作業であるから、専門家の確保も必要となる。
Further, in order to change the sequence control circuit, it is necessary to rewrite the input / output contact address and to reexamine the interlock state for each part, and the amount of work is usually very large. However, the work involves the occurrence of input / output contact address allocation mistakes and design mistakes, and it is necessary to secure the time required to debug these mistakes. This debugging work requires skill. Therefore, it is necessary to secure specialists.

【0006】本発明は、このような従来の問題点を解消
するために成されたものであり、シーケンス回路の設計
や変更を容易とするシーケンス制御方法およびその装置
の提供を目的とする。
The present invention has been made to solve such conventional problems, and an object of the present invention is to provide a sequence control method and an apparatus thereof that facilitate the design and change of a sequence circuit.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めの本発明は、各請求項ごとに次のように構成される。
The present invention for achieving the above object is constructed as follows in each claim.

【0008】請求項1に記載の発明は、上位モジュール
から制御対象物の単位動作が命令形式で記述されて成る
下位モジュールの動作指令を出力し、当該上位モジュー
ルからの動作指令が自己に対する指令であるかを当該下
位モジュールが判断し、前記上位モジュールからの動作
指令の内容を、アドレスパラメータテーブルを用いて該
当下位モジュールの制御対象物の入出力アドレスに変換
し、この変換された入出力アドレスを用いて前記該当下
位モジュールの命令を実行し、当該制御対象物の動作を
制御し、当該動作の制御が完了した場合には、前記下位
モジュールから前記上位モジュールに完了通知を出力
し、この完了通知を受けた前記上位モジュールが前記下
位モジュールに対して次の動作指令を出力することを特
徴とするシーケンス制御方法である。
The invention according to claim 1 is a high-order module
Unit operation of the controlled object is described in the command format
Outputs the operation command of the lower module and
Check whether the operation command from the
Position module judges and operates from the upper module
Use the address parameter table to specify the contents of the command.
Converted to the input / output address of the control target of this lower module
Then, using this converted I / O address,
Command of the control module to execute the operation of the controlled object.
Control, and when the control of the operation is completed,
Output completion notification from the module to the upper module
However, the upper module that received this completion notification
It is a sequence control method characterized in that the next operation command is output to the module .

【0009】このような方法をとると、下位モジュール
は上位モジュールからの指令に基づいて動作する命令形
式(ラダーシーケンス回路)だけを有していれば良いの
で、下位モジュールの増設や一部の変更に対して容易に
対応することができるようになる。
With this method, the lower module only needs to have an instruction format (ladder sequence circuit) that operates based on a command from the upper module. Can be easily dealt with.

【0010】また、下位モジュールはアドレスパラメー
タによって命令形式を制御対象物の入出力アドレスに変
換するようになっているので、下位モジュールの増設や
一部の変更に対して下位モジュールの命令形式の変更を
することなく、アドレスパラメータの内容を追加、変更
することによって十分に対応することができる。
Further, since the lower module converts the instruction format into the input / output address of the controlled object according to the address parameter, the instruction format of the lower module is changed in response to the addition or partial change of the lower module. It is possible to sufficiently deal with the problem by adding or changing the contents of the address parameter without performing the above.

【0011】請求項2および請求項3に記載の発明は、
制御対象物の単位動作が命令形式で記述されて成る下位
モジュールと、当該下位モジュールに各種の動作指令を
出力する上位モジュールと、当該上位モジュールから出
力される動作指令を前記制御対象物の入出力アドレスに
変換するアドレスパラメータテーブルと、当該アドレス
パラメータテーブルによって変換された入出力アドレス
に基づいて、前記下位モジュールを動作させる制御手段
と、を有し、前記下位モジュールは、前記上位モジュー
ルからの指令が、自己に対するものであるかどうかを判
断する機能を有することを特徴とするシーケンス制御装
置である。この上位モジュールには、同一種類の複数の
制御対象物にそれぞれ対応する複数の下位モジュールが
バスを介して接続されている。
The invention described in claims 2 and 3 is
Lower order that unit operation of controlled object is described in command format
Various operation commands to the module and the lower module
Output upper module and output from the upper module
The input operation command to the input / output address of the controlled object
Address parameter table to convert and the address
Input / output address converted by the parameter table
Based on the control means for operating the lower module
And the lower module is the upper module.
Determine whether the directive from
Sequence control device characterized by having a disconnection function
It is a place. This higher-level module has multiple
Multiple sub-modules for each controlled object
It is connected via a bus.

【0012】[0012]

【0013】[0013]

【0014】このように、制御対象物の動作を、単位動
作ごとに下位モジュールとすることによって、制御対象
物の増設に対しては、その下位モジュールを単に増やせ
ば良く、また、制御対象物の動作の変更に対してはその
下位モジュールの命令形式を変更すれば良いので、制御
対象物の変更などに柔軟に対応することができるように
なる。なお、この場合、上位モジュールからの命令を増
やしたり、命令の出力タイミングを変更したり、アドレ
スパラメータの内容を変更する必要があるが、この変更
は比較的容易である。
As described above, by setting the operation of the controlled object as the lower module for each unit operation, the number of the lower modules can be simply increased for the addition of the controlled object. Since it is sufficient to change the instruction format of the lower module to change the operation, it is possible to flexibly deal with the change of the control target object. In this case, it is necessary to increase the number of commands from the upper module, change the output timing of the commands, and change the contents of the address parameters, but this change is relatively easy.

【0015】[0015]

【発明の効果】請求項1に記載の発明によれば、下位モ
ジュールは上位モジュールからの指令に基づいて動作す
る命令形式だけを有していれば良いので、下位モジュー
ルの増設や一部の変更に対して容易に対応することがで
きるようになる。
According to the invention described in claim 1 , since the lower module only needs to have an instruction format that operates based on a command from the upper module, the lower module is added or a part thereof is changed. Can be easily dealt with.

【0016】また、下位モジュールはアドレスパラメー
タによって命令形式を制御対象物の入出力アドレスに変
換するようになっているので、下位モジュールの増設や
一部の変更に対して下位モジュールの命令形式の変更を
することなく、アドレスパラメータの内容を追加、変更
することによって十分に対応することができる。
Further, since the lower module is adapted to convert the instruction format into the input / output address of the controlled object according to the address parameter, the instruction format of the lower module is changed in response to addition or partial change of the lower module. It is possible to sufficiently deal with the problem by adding or changing the contents of the address parameter without performing the above.

【0017】請求項2、請求項3に記載の発明によれ
ば、制御対象物の動作を、単位動作ごとに下位モジュー
ルとすることによって、制御対象物の増設に対しては、
その下位モジュールを単に増やせば良く、また、制御対
象物の動作の変更に対してはその下位モジュールの命令
形式を変更すれば良いので、制御対象物の変更などに柔
軟に対応することができるようになる。
According to the second and third aspects of the present invention, the operation of the controlled object is set as a lower module for each unit operation, so that the expansion of the controlled object is
It is sufficient to simply increase the number of subordinate modules, and to change the operation of the controlled object, the command format of the subordinate module can be changed, so that it is possible to flexibly respond to changes in the controlled object. become.

【0018】[0018]

【発明の実施の形態】具体的な実施形態の説明をする前
に、本発明方法の概略を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Before describing specific embodiments, the outline of the method of the present invention will be described.

【0019】まず、本発明では、インターロックを含ま
ない1つの処理シーケンスを1つのシーケンス動作モジ
ュールとして構成する。このシーケンス動作モジュール
の内、下位のものが下位モジュールであり、上位のもの
が上位モジュールである。下位モジュールは、たとえば
シリンダ等の制御対象物の単位動作(シリンダ出、シリ
ンダ戻)を命令形式で記述されているものである。図9
を例に説明すると、Aシリンダの出、戻動作に相当する
Y00,Y01の出力を構成する2つのブロックがAシ
リンダ用の下位モジュールとなり、本発明のモジュール
には、インターロックを含まないので、X03,X0
5,Y01(B接点)、X03,X05,Y00(B接
点)の接点情報は存在しない。
First, in the present invention, one processing sequence not including an interlock is configured as one sequence operation module. Of the sequence operation modules, the lower one is the lower module and the upper one is the upper module. The subordinate module describes, for example, a unit operation (cylinder output, cylinder return) of a controlled object such as a cylinder in an instruction format. Figure 9
As an example, the two blocks constituting the outputs of Y00 and Y01 corresponding to the output / return operation of the A cylinder are the lower modules for the A cylinder, and the module of the present invention does not include the interlock. X03, X0
There is no contact information of 5, Y01 (contact B), X03, X05, Y00 (contact B).

【0020】したがって、このようなシリンダの出、戻
に関するシーケンス動作モジュール(下位モジュール)
は、このシーケンス動作モジュールに上位モジュールか
ら出の起動がかかればシリンダを出す処理(具体的に
は、シリンダを出すためのバルブをONさせる)が行わ
れ、戻の起動がかかればシリンダを戻す処理(具体的に
は、シリンダを戻すためのバルブをONさせる)が行わ
れる。つまり、起動がかかれば単に指令にしたがった処
理が行われるだけで、他の部品とのインターロックは一
切考慮されない。したがって、インターロックは、起動
をかける上位のモジュール(実施形態ではセル接続シー
ケンス回路)が実際にはとることになる。
Therefore, the sequence operation module (subordinate module) for such cylinder output and return.
Performs a process of ejecting a cylinder (specifically, turns on a valve for ejecting the cylinder) if the sequence operation module is activated by the upper module, and a process of returning the cylinder if activation of the return is activated. (Specifically, the valve for returning the cylinder is turned on). In other words, if it is started, the process according to the command is simply performed, and the interlock with other components is not considered at all. Therefore, the interlock is actually taken by the upper module (cell connection sequence circuit in the embodiment) that activates the interlock.

【0021】このように、ある1つの動作をシーケンス
動作モジュールとして構成することによって、たとえ
ば、既存の装置と同様の動作をする装置(上記の例でい
えばシリンダ)を増設する場合には、その装置に起動を
かけるプログラムを上位のモジュールに設けるととも
に、その装置のシーケンス動作モジュールを1つ増やせ
ば良い(単なるプログラムのコピーのようなもの)だけ
で、従来のように、全てのシーケンス制御回路を見直す
必要はなくなる。また、既存の設備の動作を変更する場
合、たとえば、上記の例でいうと、シリンダの出のタイ
ミングを少し遅くしようとする場合には、シーケンス動
作モジュールの内容は全く変更などする必要はなく、上
位のモジュールから出力されるシーケンス動作モジュー
ルの出の起動をかけるタイミングを遅くするようにセル
接続シーケンス回路を変更しさえすれば良い。
In this way, by configuring a certain operation as a sequence operation module, for example, when an apparatus (cylinder in the above example) that operates in the same manner as an existing apparatus is added, the operation is performed. All the sequence control circuits need to be installed in the same way as in the past, by providing a program to activate the device in a higher-level module and increasing the sequence operation module of the device by one (just like copying a program). There is no need to review. Also, when changing the operation of the existing equipment, for example, in the case of the above example, when trying to delay the output timing of the cylinder a little, there is no need to change the contents of the sequence operation module at all. It suffices to change the cell connection sequence circuit so as to delay the timing of activating the output of the sequence operation module output from the upper module.

【0022】また、通常であれば、各接点に入出力のア
ドレスを割り当てるが(たとえば図9参照)、本発明で
は、アドレスパラメータテーブルと称される,命令とア
ドレスの関係を記した図4に示すようなテーブルを用意
し、実アドレスを全く意識することなしにモジュールを
構成することを可能としている。
Normally, an input / output address is assigned to each contact (see, eg, FIG. 9), but in the present invention, FIG. 4 showing the relationship between an instruction and an address, which is called an address parameter table, is shown in FIG. The table shown in the table is prepared, and the module can be configured without paying attention to the real address.

【0023】たとえば、図9に示すように、ラダープロ
グラムを記述する場合には、従来であればそれぞれの接
点に入出力アドレス(X03,X04,Y00等)を記
述しなければならないが、本発明では、このアドレスを
記述する代わりに、図4に示すように、Bシリンダ戻限
(X03に対応)、Cシリンダ出限(X04に対応),
Aシリンダ出指令(Y00に対応)という命令をそれぞ
れの接点に記述し(これを命令形式と称する)、下位モ
ジュールでは、上位モジールからのたとえばAシリンダ
出の指令を受けて、この命令をアドレスに変換するため
に図4のアドレスパラメータテーブルを参照し、Y00
というアドレスに変換して、Y00のコイルをONす
る。なお、上述のX03,X04等の接点情報は、装置
状態出力として上位モジュールに返される。
For example, as shown in FIG. 9, when a ladder program is described, the input / output address (X03, X04, Y00, etc.) must be described at each contact in the conventional case. Then, instead of describing this address, as shown in FIG. 4, B cylinder return limit (corresponding to X03), C cylinder output limit (corresponding to X04),
An A cylinder output command (corresponding to Y00) is written at each contact (this is called the command format), and the lower module receives, for example, an A cylinder output command from the upper module, and uses this command as an address. For conversion, refer to the address parameter table of FIG.
Address, and turns on the Y00 coil. The contact information such as X03 and X04 described above is returned to the upper module as a device status output.

【0024】したがって、動作プログラムは、たとえ
ば、図6に示すように非常に簡単な記述をするのみで良
くなり、この動作プログラムの一部を変更する場合もこ
の記述を変更するだけで良いので、プログラムの設計や
変更に容易に対処することができるようになる。また、
同様に、シリンダの増設をしたりする場合でも、アドレ
スパラメータテーブルの記述を変えるだけで、アドレス
の新たな設定や変更をすることができることになり、万
が一誤りがあったとしても、アドレスパラメータテーブ
ルの記述を変えるだけで修正が可能であるから、デバッ
グ作業も非常に簡単なものとなる。
Therefore, the operation program only needs to be described in a very simple manner as shown in FIG. 6, and when a part of the operation program is changed, this description only needs to be changed. You will be able to easily deal with program design and changes. Also,
Similarly, even when adding cylinders, it is possible to make new settings or changes in the address simply by changing the description in the address parameter table. Even if an error occurs, the address parameter table Since it can be modified simply by changing the description, debugging work is also very easy.

【0025】以下、図面に基づいて本発明の1実施形態
を説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0026】図1は、本発明方法を実施する装置の全体
構成図である。
FIG. 1 is an overall configuration diagram of an apparatus for carrying out the method of the present invention.

【0027】図に示す制御ネットワークセル接続回路1
0は、バス11を介して、これに接続されるセル接続シ
ーケンス回路12A,12B,…,12Nに制御出力を
与えたり、逆に、これらのセル接続シーケンス回路12
A,12B,…,12Nからの装置状態入力を受ける機
能を有しているものであり、上位コンピュータとしての
役割を有するものである。
Control network cell connection circuit 1 shown in the figure
0 gives a control output to the cell connection sequence circuits 12A, 12B, ..., 12N connected thereto via the bus 11, and conversely, these cell connection sequence circuits 12
, 12N, which has a function of receiving a device state input from A, 12B, ..., 12N, and has a role as a host computer.

【0028】各セル接続シーケンス回路12A,12
B,…,12Nは、バス13を介してシーケンス動作モ
ジュール14Aa,14Ab,14Ac,…,14A
n、14Ba,14Bb,14Bc,…,14Bn、…
にそれぞれ接続され、その詳細は、図2に示すようにな
っている。
Each cell connection sequence circuit 12A, 12
, 12N are connected to the sequence operation modules 14Aa, 14Ab, 14Ac, ..., 14A via the bus 13.
n, 14Ba, 14Bb, 14Bc, ..., 14Bn, ...
2 and the details thereof are as shown in FIG.

【0029】図2は、セル接続シーケンス回路12Aと
シーケンス動作モジュール14Aa,14Ab,14A
cとの動作説明に供する図である。
FIG. 2 shows a cell connection sequence circuit 12A and sequence operation modules 14Aa, 14Ab, 14A.
It is a figure with which operation explanation with c is offered.

【0030】セル接続シーケンス回路12Aは、セル・
アドレスパラメータを有しているが、このセル・アドレ
スパラメータは、各シーケンス動作モジュール14A
a,14Ab,14Acの動作指令と実アドレスとの関
係が記述されているテーブルである。このセル・アドレ
スパラメータの具体的な内容については、後述する。
The cell connection sequence circuit 12A includes a cell
Although it has an address parameter, this cell address parameter is used for each sequence operation module 14A.
It is a table in which the relationship between the operation command of a, 14Ab, and 14Ac and the real address is described. The specific contents of the cell address parameter will be described later.

【0031】このセル接続シーケンス回路12Aから
は、次のような信号が出力または入力される。
The following signals are output or input from the cell connection sequence circuit 12A.

【0032】 シーケンス動作モジュールを自動で動
かすモード(自動)であるのか、手動で動かすモード
(単独)であるのか、ロボット教示など、装置のデータ
設定をするときのモード(調整)であるのか、をそれぞ
れ示すモード指令。 モード指令が単独に設定されている場合に、シリン
ダの出指令、戻指令、運転指令(一連の連続した動作を
行わせる手動操作指令)をそれぞれ示す単独操作指令。 非常停止に関する信号である安全指令。 シリンダの出、戻に関する順番の指令である動作順
位指令。 モード指令が単独に設定されている場合に、シリン
ダの出、戻の動作を許可するインターロック的な役割を
果す動作可条件指令。 シーケンス動作モジュールの動作状態(動作限、出
限、戻限、原位置、待機位置など)や異常の発生などを
示す装置状態出力。 シーケンス動作モジュールの動作完了とともに出力
され、次の処理を行うための歩進条件となる動作完了出
力。 作業対象の車種に関する情報である車種指令。 これらの指令や出力は、バス13を介して各シーケンス
動作モジュール14Aa,14Ab,14Acとの間で
授受される。
Whether the sequence operation module is in a mode of automatically moving (automatic), a mode of manually moving (single), or a mode (adjustment) for setting device data such as robot teaching. Mode command shown respectively. When the mode command is set individually, the individual operation command that indicates the cylinder output command, the return command, and the operation command (manual operation command for performing a series of continuous operations). A safety directive that is a signal related to an emergency stop. Motion order command, which is a command for the order of cylinder output and return. When the mode command is set independently, it is an operation enable condition command that plays the role of an interlock that allows the cylinder to move in and out. Sequence operation A device status output that indicates the operation status of the module (operation limit, output limit, return limit, original position, standby position, etc.) and occurrence of an error. An operation completion output that is output when the operation of the sequence operation module is completed and is a step condition for performing the next processing. A vehicle type command that is information about the vehicle type of the work target. These commands and outputs are exchanged with the sequence operation modules 14Aa, 14Ab, 14Ac via the bus 13.

【0033】シーケンス動作モジュール14Aaは、A
シリンダの出動作および戻動作のプログラムがモジュー
ルとして記憶されているものである。このプログラム
は、たの部品とのインターロックをとる要素を全く有し
ておらず、セル接続シーケンス回路12Aからの指令で
起動がかかれば、その指令にしたがって、単にAシリン
ダを出したり戻したりする処理を行うものである。
The sequence operation module 14Aa is
The programs for the cylinder output operation and the cylinder return operation are stored as modules. This program does not have any elements for interlocking with other parts, and if it is activated by a command from the cell connection sequence circuit 12A, it simply issues or returns the A cylinder according to the command. The processing is performed.

【0034】詳しくは、図3に示すように、前述のセル
接続シーケンス回路12Aから出力されるモード指令、
単独操作指令、安全指令、動作順位指令、動作可条件指
令、車種指令を入力し、これらの指令にしたがって、A
シリンダに向けて制御出力(具体的には、バルブのO
N,OFFである)を与え、逆に、シリンダAの動作状
態(リミットスイッチのON,OFFである)から装置
状態出力と動作完了出力を入力するものである。
More specifically, as shown in FIG. 3, the mode command output from the above-mentioned cell connection sequence circuit 12A,
Input a single operation command, safety command, motion order command, motion condition command, and vehicle type command, and according to these commands, A
Control output toward the cylinder (specifically, valve O
N, OFF) and, conversely, the device state output and the operation completion output are input from the operating state of the cylinder A (the limit switch is ON and OFF).

【0035】このシーケンス動作モジュール14Aaに
は、アドレスパラメータが設けられているが、このアド
レスパラメータは図4に示すようなテーブルである。シ
ーケンス動作モジュール14Aaには、Aシリンダに関
するアドレスパラメータしか記憶されていない。このテ
ーブルを見れば明らかなように、出指令を受けた場合に
は、Y00をONすれば良く、出限に到達している場合
には、X00から信号が出力される。この名前とアドレ
スの関係の解読は、アドレス変換処理回路15によって
行われる。
The sequence operation module 14Aa is provided with an address parameter, which is a table as shown in FIG. The sequence operation module 14Aa stores only the address parameter for the A cylinder. As is apparent from this table, when the output command is received, Y00 may be turned on, and when the output limit is reached, a signal is output from X00. The address conversion processing circuit 15 decodes the relationship between the name and the address.

【0036】このように構成されている本発明のシーケ
ンス制御装置は、図5の動作フローチャートにしたがっ
て次のように動作する。なお、この場合、実行されるプ
ログラムは、図6に示すもの(従来技術として説明した
図8,図9に対応するものと同一の動作)であり、各シ
ーケンス動作モジュールのアドレスパラメータは、図4
に示すテーブルと同様の内容であるとする。
The sequence control device of the present invention thus constructed operates as follows according to the operation flowchart of FIG. In this case, the program to be executed is the one shown in FIG. 6 (the same operation as that corresponding to FIGS. 8 and 9 described as the prior art), and the address parameter of each sequence operation module is shown in FIG.
It is assumed that the contents are the same as the table shown in FIG.

【0037】まず最初にステップ1の処理がされる。セ
ル接続シーケンス回路12AからAシリンダ出の指令、
つまり動作順位指令が各シーケンス動作モジュール14
Aa,14Ab,14Acに対して出力される。各シー
ケンス動作モジュール14Aa,14Ab,14Ac
は、この指令が自己の指令であるかどうかを判断し、自
己の指令である場合には、アドレスパラメータテーブル
を参照し、そのテーブルにしたがった処理をする(S1
0,S11)。シーケンス動作モジュール14Aaは、
Aシリンダ出の指令は自己に対する指令であると判断
し、このモジュールを起動する。
First, the processing of step 1 is performed. A command to output A cylinder from the cell connection sequence circuit 12A,
That is, the operation order command is transmitted to each sequence operation module 14
It is output to Aa, 14Ab, and 14Ac. Each sequence operation module 14Aa, 14Ab, 14Ac
Determines whether this command is its own command, and if it is its own command, it refers to the address parameter table and performs processing according to that table (S1).
0, S11). The sequence operation module 14Aa is
The A cylinder output command is determined to be a command for itself, and this module is activated.

【0038】動作順位指令が出指令であるから、アドレ
スパラメータテーブルにより出バルブONがY00をO
Nさせることに相当することがわかるので、このバルブ
をONさせる。つぎに、出限は、X00がONすること
であることがわかるので、X00がONするまでY00
をONさせる。なお、このX00がONするまでY00
をONさせる指令は、装置状態出力を見ながらセル接続
シーケンス回路12Aによって行われる。(S12〜S
14)。X00がONすれば、Aシリンダが出限まで移
動しているので、処理が完了したことをセル接続シーケ
ンス回路12Aに出力し、Y00をOFFさせる(S1
5)。
Since the operation order command is the output command, the output valve ON indicates Y00 according to the address parameter table.
It turns out that this valve is turned on because it is known to be equivalent to N. Next, it can be seen that the output limit is that X00 turns on, so Y00 is turned on until X00 turns on.
Turn on. In addition, until this X00 turns on, Y00
The cell connection sequence circuit 12A gives a command to turn on the device status output while watching the device status output. (S12 ~ S
14). If X00 is turned on, the cylinder A has moved to the limit, so the completion of processing is output to the cell connection sequence circuit 12A, and Y00 is turned off (S1).
5).

【0039】引き続き、図6に示したステップ2のBシ
リンダ出の処理、ステップ3のCシリンダ出の処理が行
われるが、Bシリンダ出の処理はシーケンス動作モジュ
ール14Abが、Cシリンダ出の処理はシーケンス動作
モジュール14Acが上記と同様の処理を行う。
Subsequently, the processing for the B cylinder output in step 2 and the processing for the C cylinder output in step 3 shown in FIG. 6 are performed. The B cylinder output processing is performed by the sequence operation module 14Ab, and the C cylinder output processing is performed. The sequence operation module 14Ac performs the same process as above.

【0040】そして、A〜Cのシリンダを一定の時間出
したままの状態とするディレーの処理が次のステップ4
で行われるが、この処理は、セル接続シーケンス回路1
2Aから何も指令を出力しないということによって行わ
れる。一定の時間が経過すると、ステップ5〜7の処理
が順番に行われる。
Then, the delay process in which the cylinders A to C are left for a certain period of time is processed in the next step 4.
This process is performed by the cell connection sequence circuit 1
This is done by not outputting any command from 2A. When a certain period of time has passed, the processes of steps 5 to 7 are sequentially performed.

【0041】ステップ7において、セル接続シーケンス
回路12AからAシリンダの戻指令が出力された場合に
は、アドレスパラメータテーブルにより戻バルブONが
Y01をONさせることに相当することがわかるので、
このバルブをONさせる。つぎに、戻限は、X01がO
Nすることであることがわかるので、X01がONする
までY01をONさせる(S16〜S18)。X01が
ONすれば、Aシリンダが戻限まで移動しているので、
処理が完了したことをセル接続シーケンス回路12Aに
出力し、Y01をOFFさせる(S19)。
In step 7, when the return command for the A cylinder is output from the cell connection sequence circuit 12A, it can be understood from the address parameter table that the return valve ON corresponds to turning ON Y01.
Turn on this valve. Next, in the return, X01 is O
Since it can be understood that N is turned on, Y01 is turned on until X01 is turned on (S16 to S18). If X01 turns on, the cylinder A has moved to the return limit.
The completion of processing is output to the cell connection sequence circuit 12A, and Y01 is turned off (S19).

【0042】このように、入出力接点アドレスを特定せ
ず、指令の種類を記述したプログラムを1つのモジュー
ルとして作成しておき、その指令に対応するアドレスを
アドレスパラメータテーブルに記憶させるという形態を
採ることによって、たとえば、上記の例でいえば、Dシ
リンダを増設する場合には、図5のフローチャートと全
く同様の処理をするシーケンス動作モジュールを設けて
バス13に接続し、Dシリンダに対するアドレスパラメ
ータテーブルを新たに設定し、セル接続シーケンス回路
12Aには、このシーケンス動作モジュールの起動をか
ける処理を新たに追加するだけで、既存の動作プログラ
ム等をほとんど変更する必要なく増設をすることができ
ることになる。また、図6の下に示すように、上記のシ
リンダの動きを変更する場合にも、各シーケンス動作モ
ジュールを全く変更することなく、セル接続シーケンス
回路12Aから出力される指令の順序が図6の順番、す
なわち、Bシリンダ出、A,Cシリンダ出、ディレー、
A,B,Cシリンダ戻の順番に指令が出力されるように
されさえすれば、シーケンス動作モジュールを全く変更
などすることなく対応が可能である。
As described above, a program that describes the type of command is created as one module without specifying the input / output contact address, and the address corresponding to the command is stored in the address parameter table. Thus, for example, in the above example, when adding a D cylinder, a sequence operation module that performs exactly the same processing as the flowchart of FIG. 5 is provided and connected to the bus 13, and an address parameter table for the D cylinder is provided. Is newly set, and a process for activating this sequence operation module is newly added to the cell connection sequence circuit 12A, it is possible to add the existing operation program and the like without substantially changing it. . Further, as shown in the lower part of FIG. 6, even when the movement of the cylinder is changed, the order of the commands output from the cell connection sequence circuit 12A is as shown in FIG. 6 without changing each sequence operation module. In order: B cylinder out, A, C cylinder out, delay,
As long as the commands are output in the order of A, B, and C cylinder return, the sequence operation module can be dealt with without any change.

【0043】上記と全く同様の変更をする場合には、従
来であれば、図9のシーケンス制御回路から図11のシ
ーケンス制御回路に変更を余儀無くされ、設計ミスやア
ドレスの割り付けミスの発生の恐れがあったが、本発明
では、上述の通り、セル接続シーケンス回路12Aの動
作を図6に示すステップ1からステップ4の動作になる
ように変更しさえすれば良いのであるから、ミスの生じ
る恐れがきわめてすくなくなり、また、万が一ミスを生
じてもその修正は非常に簡単にすることができる。
In the case of making exactly the same change as described above, in the conventional case, the sequence control circuit of FIG. 9 has to be changed to the sequence control circuit of FIG. 11 to cause a design error or an address allocation error. Although there is a fear, in the present invention, as described above, the operation of the cell connection sequence circuit 12A has only to be changed to the operation of step 1 to step 4 shown in FIG. Fear is extremely low, and in the unlikely event of a mistake, fixing it can be very easy.

【0044】なお、本発明の技術的思想の説明にあたっ
ては、専らセル接続シーケンス回路とシーケンス動作モ
ジュールとの間の動作を例示して行ったが、制御ネット
ワークセル接続回路10とセル接続シーケンス回路との
間の動作もセル接続シーケンス回路とシーケンス動作モ
ジュールとの間の動作と同様にして行うことは可能であ
る。
In the explanation of the technical idea of the present invention, the operation between the cell connection sequence circuit and the sequence operation module was exclusively illustrated, but the control network cell connection circuit 10 and the cell connection sequence circuit were It is also possible to perform the operation between the same as the operation between the cell connection sequence circuit and the sequence operation module.

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

【図1】 本発明方法を実施する装置の全体構成図であ
る。
FIG. 1 is an overall configuration diagram of an apparatus for carrying out the method of the present invention.

【図2】 セル接続シーケンス回路とシーケンス動作モ
ジュールとの動作説明に供する図である。
FIG. 2 is a diagram for explaining the operation of a cell connection sequence circuit and a sequence operation module.

【図3】 シーケンス動作モジュールの指令の授受を説
明するための図である。
FIG. 3 is a diagram for explaining exchange of commands of a sequence operation module.

【図4】 シーケンス動作モジュールが有するアドレス
パラメータテーブルの一例を示す図である。
FIG. 4 is a diagram showing an example of an address parameter table included in a sequence operation module.

【図5】 本発明装置のシーケンス動作モジュールを主
体とする動作フローチャートである。
FIG. 5 is an operation flowchart mainly including a sequence operation module of the device of the present invention.

【図6】 セル接続シーケンス回路の動作フローチャー
トの一例である。
FIG. 6 is an example of an operation flowchart of a cell connection sequence circuit.

【図7】 入出力接点アドレスの割り付け状況を示す図
である。
FIG. 7 is a diagram showing an allocation status of input / output contact addresses.

【図8】 図7のシリンダの動作のタイミングチャート
である。
8 is a timing chart of the operation of the cylinder of FIG.

【図9】 図8のタイミングチャートに基づいて作成さ
れたシーケンス制御回路である。
9 is a sequence control circuit created based on the timing chart of FIG.

【図10】 シリンダの動作が変更された場合のタイミ
ングチャートである。
FIG. 10 is a timing chart when the operation of the cylinder is changed.

【図11】 図10のタイミングチャートに基づいて作
成されたシーケンス制御回路である。
FIG. 11 is a sequence control circuit created based on the timing chart of FIG.

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

10…制御ネットワークセル接続回路、 11,13…バス、 12A,12B…セル接続シーケンス回路、 14Aa,14Ab,14Ac…シーケンス動作モジュ
ール。
10 ... Control network cell connection circuit, 11, 13 ... Bus, 12A, 12B ... Cell connection sequence circuit, 14Aa, 14Ab, 14Ac ... Sequence operation module.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/00 - 19/16 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/00-19/16

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 上位モジュールから制御対象物の単位動
作が命令形式で記述されて成る下位モジュールの動作指
令を出力し、 当該上位モジュールからの動作指令が自己に対する指令
であるかを当該下位モジュールが判断し、 前記上位モジュールからの動作指令の内容をアドレス
パラメータテーブルを用いて該当下位モジュールの制御
対象物の入出力アドレスに変換し、 この変換された入出力アドレスを用いて前記該当下位モ
ジュールの命令を実行し、 当該制御対象物の動作を制御し、 当該動作の制御が完了した場合には、前記下位モジュー
ルから前記上位モジュールに完了通知を出力し、 この完了通知を受けた前記上位モジュールが前記下位モ
ジュールに対して次の動作指令を出力することを特徴と
するシーケンス制御方法。
1. A unit movement of an object to be controlled from an upper module
Create outputs an operation command of the lower module comprising written in instruction format, whether an operation command from the higher-level module is a command to the self-determined is the lower module, the contents of the operation command from the host module , transformed using the address parameter table in the output address of the control object corresponding lower module executes instructions of the relevant lower-level modules by using the converted input address, controls the operation of the control object and, when the control of the operation is completed, outputs a completion notification to the upper module from the lower module, to output the next operation command to the higher-level module that has received the completion notice the lower module A sequence control method characterized by the above.
【請求項2】 制御対象物の単位動作が命令形式で記述
されて成る下位モジュールと、 当該下位モジュールに各種の動作指令を出力する上位モ
ジュールと、当該 上位モジュールから出力される動作指令を前記制御
対象物の入出力アドレスに変換するアドレスパラメータ
テーブルと、 当該アドレスパラメータテーブルによって変換された入
出力アドレスに基づいて、前記下位モジュールを動作さ
せる制御手段と、を有し、 前記下位モジュールは、前記上位モジュールからの指令
が、自己に対するものであるかどうかを判断する機能
有することを特徴とするシーケンス制御装置。
Wherein a unit operation of the control object submodule comprising written in instruction format, the control and the upper module, an operation command output from the high-order module for outputting various operation command to the lower-level module An address parameter table for converting to an input / output address of the object; and a control unit for operating the lower module based on the input / output address converted by the address parameter table , wherein the lower module is the upper module. Directive from module
Is a sequence control device having a function of determining whether or not it is for itself .
【請求項3】 前記上位モジュールには、同一種類の複
数の制御対象物にそれぞれ対応する複数の下位モジュー
ルがバスを介して接続されていることを特徴とする請求
項2に記載のシーケンス制御装置。
The method according to claim 3, wherein said upper module, wherein a plurality of subordinate modules corresponding to a plurality of control objects of the same kind is characterized in that it is connected via a bus
Item 2. The sequence control device according to item 2 .
JP17039596A 1996-06-28 1996-06-28 Sequence control method and apparatus Expired - Fee Related JP3379337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17039596A JP3379337B2 (en) 1996-06-28 1996-06-28 Sequence control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17039596A JP3379337B2 (en) 1996-06-28 1996-06-28 Sequence control method and apparatus

Publications (2)

Publication Number Publication Date
JPH1020907A JPH1020907A (en) 1998-01-23
JP3379337B2 true JP3379337B2 (en) 2003-02-24

Family

ID=15904140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17039596A Expired - Fee Related JP3379337B2 (en) 1996-06-28 1996-06-28 Sequence control method and apparatus

Country Status (1)

Country Link
JP (1) JP3379337B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5511331B2 (en) * 2009-11-25 2014-06-04 光洋電子工業株式会社 Control system

Also Published As

Publication number Publication date
JPH1020907A (en) 1998-01-23

Similar Documents

Publication Publication Date Title
JP5227278B2 (en) How to take a snapshot of a simulation system
US20090013092A1 (en) Method for virtual COM port modbus gateway ethernet I/O
JP2018097663A (en) Control system, control program, and control method
JP3379337B2 (en) Sequence control method and apparatus
JPH09330106A (en) Control system with backup function
US7246184B2 (en) Method for configuring and/or operating an automation device
US7185129B2 (en) Method for configuring and/or operating an automation device having a master unit connected to one or more slave units
JP3813756B2 (en) Programmable controller
US20050085936A1 (en) Method for planning and/or configuring a project
JPH06138936A (en) Numerical controller
JPH05334272A (en) Monitoring and operating method for plural electronic computers
JPH0431124B2 (en)
JPS63177231A (en) Debug system for parallel program
JPH03237502A (en) Programmable controller
JPH0460805A (en) Sequence program generating method
JPH11134010A (en) Program executing method of programmable controller
JPH0895610A (en) Programmable controller
JP2792491B2 (en) Emulation device
JPH0551921B2 (en)
JPH07113845B2 (en) System construction method for programmable controller
JPH0195349A (en) Input and output device
JPH0756501A (en) Process instrumentation system
JPH08194506A (en) Controller
JPS63250712A (en) Control device for numerical control working machine
JPH09128259A (en) Automatic equalization device for duplex control system

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: 20021112

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

Free format text: PAYMENT UNTIL: 20081213

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091213

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees