JPS5999504A - Sequence control system - Google Patents

Sequence control system

Info

Publication number
JPS5999504A
JPS5999504A JP20758082A JP20758082A JPS5999504A JP S5999504 A JPS5999504 A JP S5999504A JP 20758082 A JP20758082 A JP 20758082A JP 20758082 A JP20758082 A JP 20758082A JP S5999504 A JPS5999504 A JP S5999504A
Authority
JP
Japan
Prior art keywords
stage
transition
sequence control
activation
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP20758082A
Other languages
Japanese (ja)
Inventor
Tetsuo Yamakawa
哲夫 山川
Kazuhiko Kase
一彦 加瀬
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Fuji Electric Manufacturing 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 Fuji Electric Co Ltd, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP20758082A priority Critical patent/JPS5999504A/en
Publication of JPS5999504A publication Critical patent/JPS5999504A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1169Activating output if input changes, transition input and output not yet on

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To change sequences easily by using a microcomputer for control operation based upon information in tables. CONSTITUTION:Sequence control is carried out while the tables are referred to. Those tables includes a table stored with the start condition of transition from some state (stage) to another stage and a table stored with the destination stage at the time of transition from some stage. Pieces of table information are stored in an ROM in the relation between the numbers of stages and numbers given corresponding to the condition of the start. A microcontroller performs the sequence control operation on the basis of those pieces of table information. In this case, the table information is only generated and another troublesome procedure is unnecessary.

Description

【発明の詳細な説明】 この発明は、マイクロプロセッサを用いたシーケンス制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence control method using a microprocessor.

シーケンス制御とは、通常「あらかじめ定められた順序
または条件に従って制御の各段階を遂次進めて行く制御
」であると定義されている。
Sequence control is usually defined as "control in which each stage of control is sequentially advanced in accordance with a predetermined order or condition."

したがって、その制御を行なうシーケンス制御回路の入
力−出力の関係はもちろん、その回路内部における因果
関係も明らかであるということができる。しかし、シー
ケンス制御の対象は弁、電動機またはポンプなどの如く
、その状態が開、閉、起動、停止と云うような定性的な
表現がとられるため学問的な体系化が遅れておυ、した
がってシーケンス制御回路の設計は、専ら設計者の「カ
ン」または「経験」に頼るところが非常に多く、その制
御方式も統一されていないのが現状である。一方、最近
マイクロコンピュータの発展は目覚ましく、シーケンス
制御装置もリレー、タイマによるものからマイクロコン
ピュータを内蔵するマイクロコントローラに移りつ−あ
る。このようなマイクロコントローラを採用した場合の
メリットの1つとして、従来の如く配線を変えることな
(、プログジムローダを用いてシーケンス(プログラム
)を容易に変更できるという、変更の容易性が挙げられ
る。ところが、このプログラムを誤シガく組むことは必
ずしも容易ではなく、したがって、このような変更を容
易になしつるシーケンス制御方式の出現が望まれていた
Therefore, it can be said that not only the input-output relationship of the sequence control circuit that performs the control but also the causal relationship within the circuit are clear. However, the objects of sequence control, such as valves, electric motors, or pumps, have qualitative expressions such as open, close, start, and stop, and therefore academic systemization has been delayed. The design of sequence control circuits is highly dependent on the designer's "intelligence" or "experience," and the current situation is that the control method is not standardized. On the other hand, the development of microcomputers has been remarkable recently, and sequence control devices are shifting from those based on relays and timers to microcontrollers with built-in microcomputers. One of the advantages of adopting such a microcontroller is the ease of modification, as the sequence (program) can be easily modified using a program loader (without having to change the wiring as in the past). However, it is not always easy to program this program incorrectly, and there has been a desire for a sequence control system that can easily make such changes.

この発明は上記に鑑みてなされたもので、短い工数で設
計ができ、いかなる変更にも容易かつ迅速に、しかも誤
シなく対応ができて信頼性の高いマイクロコントローラ
を用いたシーケンス制御方式を提供することを目的とす
る。
This invention has been made in view of the above, and provides a sequence control method using a highly reliable microcontroller that can be designed with a short man-hour, can easily and quickly respond to any changes without error, and is highly reliable. The purpose is to

その特徴は、成る状態(以下、ステージともいう。)か
ら次の状態へ遷移するための起動条件を記憶するテーブ
ルと、成るステージから次のステージへ遷移する場合の
遷移先ステージを記憶するテーブルと、遷移先ステージ
における遷移起動条件を記憶するテーブルと、各ステー
ジにおいて出力すべき情報を記憶するテーブルとを設け
、所定の状態で所定の起動条件が与えられたとぎ、これ
らテーブルを参照して遷移すべきステージとその時点で
出力すべき情報を知シ、これにもとづいて所定の制御動
作を行なうようにした点にある。
Its features include a table that stores activation conditions for transitioning from a state (hereinafter also referred to as a stage) to the next state, and a table that stores the transition destination stage when transitioning from a stage to the next stage. , a table for storing transition start conditions at the transition destination stage and a table for storing information to be output at each stage are provided, and when a predetermined start condition is given in a predetermined state, transition is performed by referring to these tables. The point is that the stage to be outputted and the information to be outputted at that point are known, and a predetermined control operation is performed based on this information.

以下、図面を参照してこの発明の実施例を説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1図は成るシーケンス動作を説明するための説明図、
第2〜6図は各種リストを説明するための説明図、第7
図はこの発明の実施例を示す概略図である。
FIG. 1 is an explanatory diagram for explaining the sequence operation,
Figures 2 to 6 are explanatory diagrams for explaining various lists, Figure 7
The figure is a schematic diagram showing an embodiment of the invention.

す々わち、第1図には初期状態(イニシャル)から洗浄
、原料受入、攪拌、温度調節(温調)、薬品添加、払出
、冷却および緊急停止等の各状態を経て一連の制御動作
か行なわれる例が示されている。図中の丸印はこれら各
状態(ステージ)を表わし、矢印はこの状態が遷移する
方向を示している。また、この矢印とともに、状態が遷
移するための条件が記載されており、この状態および条
件にはそれぞれ番号A1.B1および名称A2.内容B
2等が付される。例えば、九AUステージの名称(ステ
ージ名称)が6イニシヤル”で、−8号(ステージNo
)が”1”であり、同じく番号が′7”の払出ステージ
においてレベルがL以下という条件(起動条件番号パ1
2”)が成立したときの遷移先ステージとなっており、
“自動”という指令と開始押ボタンスイッチ(FB)の
操作といつ条件(起動条件番号“1″)が与えられたと
ぎステージNO2の洗浄ステージへと遷移する。この場
合、図の矢印の発信側を先行ステージ、受信側を後行ス
テージと呼ぶこと例すると、これらと起動条件番号との
関係および先行ステージと後行ステージとの関係は第2
〜6図の如く示される。すなわち、m2図は起動条件と
起動条件番号(起動NO)の対応関係を表わす起動条件
リストであフ(図中、「△」印は論理積を意味する。)
、第3図は先行ステージと起動NOとの関係を表わ讐先
行ステージ起動リストであり、先行ステージは丸印が付
された起動Noで表わされる起動条件が成立したとぎ、
所定のステージへと遷移することを示している。また、
第4図は先行ステージと後行ステージとの関係を表わす
ステージ移行リストであり、第5図は後行ステージと起
動N、0との関係を表わす後行ステージ起動リストであ
る。第6図は各々のステージにおいて出力すべき情報を
定義した出力リストで、出力すべき該箔ステージに丸印
が付されている。このようにして付されたステージNO
と起動条件NOとの対応関係は、第7図のマイクロコン
トローラMCT円のメモリへ記憶される。
In other words, Figure 1 shows a series of control operations from the initial state through various states such as cleaning, raw material reception, stirring, temperature control, chemical addition, dispensing, cooling, and emergency stop. An example of what is done is shown. The circles in the figure represent each of these states (stages), and the arrows indicate the direction in which the states transition. Also, along with this arrow, conditions for state transition are described, and these states and conditions are numbered A1. B1 and name A2. Content B
2nd prize will be awarded. For example, the name of the 9AU stage (stage name) is "6 initial" and -8 (stage No.
) is "1" and the level is below L at the payout stage with the same number '7' (starting condition number pa 1)
This is the transition destination stage when 2”) is established.
When the command "auto", operation of the start pushbutton switch (FB), and a condition (start condition number "1") are given, the process shifts to the cleaning stage of stage No. 2. In this case, the transmitting side of the arrow in the figure is called the leading stage, and the receiving side is called the trailing stage.For example, the relationship between these and the activation condition number and the relationship between the leading stage and the trailing stage is the second stage.
It is shown as shown in Figure 6. In other words, the m2 diagram is a list of activation conditions that shows the correspondence between activation conditions and activation condition numbers (activation NOs) (in the diagram, the "△" mark means logical product).
, FIG. 3 is a preceding stage activation list that shows the relationship between preceding stages and activation numbers, and for the preceding stage, when the activation condition represented by the activation number marked with a circle is satisfied,
This indicates a transition to a predetermined stage. Also,
FIG. 4 is a stage transition list showing the relationship between the preceding stage and the succeeding stage, and FIG. 5 is a succeeding stage activation list showing the relationship between the succeeding stage and activations N and 0. FIG. 6 is an output list that defines the information to be output at each stage, and the foil stage to be output is marked with a circle. Stage No. assigned in this way
The correspondence between the start condition NO and the starting condition NO is stored in the memory of the microcontroller MCT circle in FIG.

マイクロコントローラMCTはその入力IN、つま多種
々の起動条件を監視し、所定の時点で所定の起動条件が
与えられたとき、メモリに記憶された各種リストまたは
ファイルから遷移すべき状態を判別し、第7図の如き各
種情報OUTを出力する。
The microcontroller MCT monitors its input IN and various activation conditions, and when a predetermined activation condition is given at a predetermined time, determines the state to which it should transition from various lists or files stored in memory, Various information OUT as shown in FIG. 7 is output.

マイクロコントローラの動作についで、第8図を参照し
てもう少し詳しく説明する。なお、第8図はマイクロコ
ントローラを詳細に示す詳細図である。
The operation of the microcontroller will be explained in more detail with reference to FIG. Note that FIG. 8 is a detailed diagram showing the microcontroller in detail.

第8図において、11〜14はそれぞれ第3〜6図のリ
ストを記憶したテーブル、2はステージ監視部、3iI
i起動条件判別部、4はステージ更新部、5は出力部で
ある。
In FIG. 8, 11 to 14 are tables storing the lists shown in FIGS. 3 to 6, respectively, 2 is a stage monitoring unit, and 3iI
4 is a stage updating section; and 5 is an output section.

いま、ステージNOが2”で、起動条件NOが′3”で
あるとすると、ステージ監視部2のステージカウンタ2
1の内容は′2″で、起動条件判別¥I!>3の起動カ
ウンタ31の内容はt(3IIとなっている。したがっ
て、テーブル11のステージNO”2”の内容がレジス
タ22に読み出されるが、そのステージの起動Noを示
す位置には例えば°゛1″が記憶されているので、これ
を起動条件判別部3の起動カウンタの内容と比較して遷
移の要否を判別する。ここで、。ステージ2は起wJN
O3で遷移するものとすると、ステージ更新部4はテー
ブル12の先行ステージNO2の内容をレジスタ23に
順次読部し、遷移先(後行)ステージを探し出す。す々
わち、レジスタ23の内容を左から順に調べて、例えば
′1”の立っているピット位置を後行ステージカウンタ
24にてカウントすることによって遷移すべきステージ
を識別する。
Now, assuming that the stage number is 2" and the starting condition number is '3', the stage counter 2 of the stage monitoring section 2
The content of 1 is '2'', and the content of the activation counter 31 for activation condition determination \I!>3 is t(3II).Therefore, the contents of stage No. ``2'' of the table 11 are read to the register 22. However, for example, °゛1'' is stored in the position indicating the activation number of that stage, so this is compared with the contents of the activation counter of the activation condition determination unit 3 to determine whether a transition is necessary.Here, ,.Stage 2 starts wJN
Assuming that the transition occurs at O3, the stage update unit 4 sequentially reads the contents of the preceding stage NO2 in the table 12 into the register 23, and searches for the transition destination (following) stage. That is, the stage to which the transition is to be made is identified by checking the contents of the register 23 in order from the left and counting, for example, the pit position where '1' is set in the trailing stage counter 24.

ナオ、この場合、後行ステージNoとレジスタ23゜2
6の各ピット位置とは対応しているものとする。
Nao, in this case, trailing stage No. and register 23゜2
It is assumed that the pit positions of 6 correspond to each other.

また、カウンタ24の出力(ここではjl 31j )
によって、テーブル13の後行ステージNO3の内容を
レジスタ26に読出し、起動カウンタ31から与えられ
る起動条件Noによって該後行ステージが起動するか否
かのチェックを行ない、起動することを確認した後カウ
ンタ24の内容を正しいものとしてステージカウンタ2
5へ与える。これによって後行ステージNOが決定され
るので、ステ7ジカウンタ250カウント値に対応する
テーブル14の内容を読出し、出方部5を介して所定の
指令を各種機器または装置に与える。
Also, the output of the counter 24 (here jl 31j)
reads the contents of the trailing stage No. 3 of the table 13 to the register 26, checks whether or not the trailing stage is activated based on the activation condition No. given from the activation counter 31, and after confirming activation, the counter If the contents of 24 are correct, stage counter 2
Give to 5. Since the following stage number is determined by this, the contents of the table 14 corresponding to the count value of the stage counter 250 are read out, and predetermined commands are given to various devices or devices via the output section 5.

以上のように、この発明によれば、所定のシーケンス動
作を各種テーブルによって定義するようにしているため
、一般にプログラムと呼ばれるものを考慮する必要がな
く、またシーケンスの動作変更時の工数を低減させるこ
とができるので、その設計変更が容易であるという利点
を有するものである。また、ステージNO,起動NO等
の割シ振りにも特別の制限がなく、ステージNoおよび
ステージNOと起動Noとの因果関係をテーブルによっ
て任意に定義できるため、ステージを追加するときに現
在のステージNO,起動NOの変更、つまり現在のシー
ケンス動作を変更する必要がないという利点を有する。
As described above, according to the present invention, predetermined sequence operations are defined using various tables, so there is no need to consider what is generally called a program, and the number of man-hours required when changing sequence operations is reduced. This has the advantage that the design can be easily changed. In addition, there are no special restrictions on the allocation of stage numbers, startup numbers, etc., and the stage number and the causal relationship between the stage number and startup number can be arbitrarily defined using a table, so when adding a stage, the current stage This method has the advantage that it is not necessary to change the NO or activation NO, that is, to change the current sequence operation.

この発明は、ブラント毎の特殊性を全く有していないの
で、シーケンス制御を必要とするあらゆる分野において
適用することができ、しかもその規模が大きければ大き
い程その効果が顕著となるものである。
Since this invention has no particularity for each brand, it can be applied to any field that requires sequence control, and the larger the scale, the more pronounced its effects will be.

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

第1図は成るシーケンス制御動作を説明する説明図、第
2図〜第6図は各種リストを説明する説明図、第7図は
この発明の芙施例を示す概略図、第8図はこの発明によ
るシーケンス制御回路を詳細に示す詳細図である。 符号説明 11・・・・・・先行ステージ起動テーブル、12・−
・・・・ステージ移行テーブル、13・・・・・・後行
ステージ起動テーブル、14・・・−・・出力テーブル
、2・−・・・・ステージ監視部、3・・・・・・起動
条件判別部、4・・・・−・ステージ更新部、5・・・
・・・出力部、21,24,25,31・・・・・・カ
ウンタ、22,23,26・・・・・・レジスタ代理人
 弁理士 並 木 昭 夫 代理人 弁理士 松 崎   清 第4図 箸 5 図 第 6 図
FIG. 1 is an explanatory diagram for explaining the sequence control operation, FIGS. 2 to 6 are explanatory diagrams for explaining various lists, FIG. 7 is a schematic diagram showing another embodiment of this invention, and FIG. 1 is a detailed diagram showing a sequence control circuit according to the invention in detail; FIG. Code explanation 11... Preceding stage activation table, 12...
...Stage transition table, 13...Successful stage activation table, 14...Output table, 2...Stage monitoring section, 3...Startup Condition determination unit, 4...- Stage update unit, 5...
... Output section, 21, 24, 25, 31 ... Counter, 22, 23, 26 ... Register agent Patent attorney Akio Namiki Patent attorney Kiyoshi Matsuzaki 4th Figure Chopsticks 5 Figure 6

Claims (1)

【特許請求の範囲】[Claims] 成るステップで所定の条件が成立したとき予め決められ
た次のステップへ遷移する動作を繰り返しながら一連の
制御動作を順次遂行するシーケンス制御方式であって、
成るステップから次のステップへ遷移するだめの起動条
件を記憶する第1のテーブルと、成るステップから次の
ステップへ遷0移する場合の遷移先ステップを記憶する
第2のテーブルと、遷移先ステップにおける遷移起動条
件を記憶する第3のテーブルと、各ステップにおいて出
力すべき情報を記憶する第4のテーブルと、制御動作の
進行状況を監視し成るステップにおいて所定の起動条件
が与えられたときこれら第1ないし第3テーブルを参照
して遷移先ステップを判別、決定するとともに該ステッ
プにて美行すべき動作を定義した出力情報をFiiJ記
第4テーブルから読出して所定の制御動作を行なうコン
トローラとを有してなることを特徴とするシーケンス制
御方式。
A sequence control method that sequentially performs a series of control operations while repeating an operation of transitioning to a predetermined next step when a predetermined condition is satisfied in a step,
A first table that stores activation conditions for transitioning from a step to the next step, a second table that stores a transition destination step when transitioning from a step to the next step, and a destination step. a third table that stores the transition activation conditions in the step; a fourth table that stores the information to be output in each step; and a fourth table that stores the information to be output at each step; A controller that determines and determines a transition destination step by referring to the first to third tables, and reads out output information defining the movement to be performed in the step from the fourth table in FiiJ and performs a predetermined control operation. A sequence control method characterized by comprising:
JP20758082A 1982-11-29 1982-11-29 Sequence control system Pending JPS5999504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20758082A JPS5999504A (en) 1982-11-29 1982-11-29 Sequence control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20758082A JPS5999504A (en) 1982-11-29 1982-11-29 Sequence control system

Publications (1)

Publication Number Publication Date
JPS5999504A true JPS5999504A (en) 1984-06-08

Family

ID=16542105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20758082A Pending JPS5999504A (en) 1982-11-29 1982-11-29 Sequence control system

Country Status (1)

Country Link
JP (1) JPS5999504A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0447304A (en) * 1990-06-12 1992-02-17 Nec Software Kansai Ltd Sequential control system
US6591152B1 (en) 1998-02-23 2003-07-08 Denno Co., Ltd. Control system
JP2007018167A (en) * 2005-07-06 2007-01-25 Yamatake Corp Program generation system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0447304A (en) * 1990-06-12 1992-02-17 Nec Software Kansai Ltd Sequential control system
US6591152B1 (en) 1998-02-23 2003-07-08 Denno Co., Ltd. Control system
JP2007018167A (en) * 2005-07-06 2007-01-25 Yamatake Corp Program generation system
JP4548664B2 (en) * 2005-07-06 2010-09-22 株式会社山武 Program creation system

Similar Documents

Publication Publication Date Title
JP5843786B2 (en) Monitoring computer in the control unit
JPS6054682B2 (en) Automotive microcomputer
JPS5999504A (en) Sequence control system
US4720810A (en) Electronic control arrangement for controlling a plurality of outputs in accordance with the electrical state of a plurality of inputs
JP2530887B2 (en) Electronic interlocking device
JPS60244650A (en) Control device for automobile
JP2538532B2 (en) Sequencer software creation device
JPH0232645B2 (en)
JP2921231B2 (en) Programmable controller
JPH0887406A (en) Program display device
JPH0254600B2 (en)
JPH08166935A (en) Evaluating method for transition of state transition model
JPH04347537A (en) Voltage state managing method for electric network
JPS6177913A (en) Automatic system generation system
JP3018732B2 (en) Programmable controller
JPH07160504A (en) Production system
JPS594725B2 (en) Shukensukairono Chetsukuuchi
JP3018790B2 (en) Programmable controller
JPH03142632A (en) Initial value deciding device
JPH01228049A (en) Master number setting system for master card
CN116150771A (en) Redundancy processing device, redundancy processing method, redundancy processing system and intelligent vehicle
JPS59168505A (en) Control system of sequencer
JPH0512037A (en) Job operation control system
JPS624729B2 (en)
JPS61202239A (en) Information processor