JPS5952444B2 - Sequence control device - Google Patents

Sequence control device

Info

Publication number
JPS5952444B2
JPS5952444B2 JP52137920A JP13792077A JPS5952444B2 JP S5952444 B2 JPS5952444 B2 JP S5952444B2 JP 52137920 A JP52137920 A JP 52137920A JP 13792077 A JP13792077 A JP 13792077A JP S5952444 B2 JPS5952444 B2 JP S5952444B2
Authority
JP
Japan
Prior art keywords
sequence
register
level
relay
stored
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
Application number
JP52137920A
Other languages
Japanese (ja)
Other versions
JPS5472384A (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.)
Hitachi Ltd
Nissan Motor Co Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd, Nissan Motor Co Ltd filed Critical Hitachi Ltd
Priority to JP52137920A priority Critical patent/JPS5952444B2/en
Publication of JPS5472384A publication Critical patent/JPS5472384A/en
Priority to US06/139,760 priority patent/US4326207A/en
Publication of JPS5952444B2 publication Critical patent/JPS5952444B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Control By Computers (AREA)

Description

【発明の詳細な説明】 本発明は、シーケンス制御装置、特にシーケンス回路図
イメージでプログラムを可能とするシーケンス制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence control device, and particularly to a sequence control device that can be programmed using a sequence circuit diagram image.

シーケンス制御とは、リレー素子を組合せてリレー回路
を作り、このリレー回路に論理的な判断をさせるように
すると共に、全体としてシーケンシャルな反復動作をさ
せるようにしたものである。
Sequence control is a method in which relay elements are combined to form a relay circuit, and this relay circuit is made to make logical decisions and to perform sequential and repetitive operations as a whole.

初期のシーケンス制御はハードワイヤード的な構成であ
つたが、近年電子技術の発達に伴い、従来リレー回路で
処理していた論理判断を論理計算により行わせようとす
る方向になつている。この論理計算の主流はデイジタル
処理、特に計算機によるプログラマブルな方法により行
うものである。別名としてプログラマブルロジツクコン
トローラ(PLC)とも称している。この処理の特長は
制御用のプログラムが命令語でツフト的に表記できるた
め、種々のシーケンス制御が容易にできるようになつた
点にある。かかるPLCによるリレーシーケンスを説明
しよう。
Early sequence control had a hard-wired configuration, but in recent years, with the development of electronic technology, the trend has been to use logical calculations to perform logical judgments that were conventionally processed by relay circuits. The mainstream of this logical calculation is digital processing, especially computer programmable methods. It is also called a programmable logic controller (PLC). The feature of this processing is that the control program can be expressed in a simple manner using command words, so that various sequence controls can be easily performed. Let us explain the relay sequence by such a PLC.

第1図はリレーシーケンスの一例を示す図である。図い
於いて、A,B,C,D,E,Fはプロセス系より得ら
れる入力接点を示す。G,Hは出力リレーを示す。この
ようなリレーシーケンスをブール代数で示すと次の如く
なる。G=(A+C)・B=A−B+C−B・・・・・
・・・・(1)H=D−E+F・・・・・・・・・(2
)以上のようなリレーシーケンスと等価な機能を持つ、
初期のデイジタル論理回路型のPLCのプロツク図を第
2図に示す。
FIG. 1 is a diagram showing an example of a relay sequence. In the figure, A, B, C, D, E, and F indicate input contacts obtained from the process system. G and H indicate output relays. Such a relay sequence can be expressed in Boolean algebra as follows. G=(A+C)・B=A-B+C-B・・・・
・・・・・・(1) H=D−E+F・・・・・・・・・(2
) has a function equivalent to the above relay sequence,
A block diagram of an early digital logic circuit type PLC is shown in FIG.

図において、A,B,C・・・・・・・・・は外部から
の入力接点であり、入力部1(ごよつて、上記入力接点
A,B,C・・・・・・・・・より所二要の入力接点を
選択し、その入力接点の状態を演算部10に伝達する。
演算部10は所定のシーケンス演算を行なう。出力部2
は、上記演算部10の演算結果によつて所要の出力リレ
ーG,Hをオンまたはオフの状態に保持する。主記憶部
4はシ2一ケンスプログラムを記憶しており、これを順
次読み出して上記演算部10に送り、上記シーケンス演
算用に供せられる。ここで上記演算部の従来例を第3図
に示す。図において演算部]0は、オアゲート100、
アンドゲート101.ワーキンSタブリップ・フロツプ
102(WKFFと略す)、アキユムレータ103(A
Ccと略す)より成る。WKFFとAccは共に1ビツ
ト構成である。以上の構成において、その動作を上記(
1)式で示されるGを例に示すと次の如くなる。ここで
、1、2、3は演算を行なうタイミングの順序を示す。
In the figure, A, B, C...... are input contacts from the outside, and the input contacts A, B, C...... - Select two required input contacts and transmit the state of the input contacts to the calculation unit 10.
The calculation unit 10 performs predetermined sequence calculations. Output section 2
maintains the required output relays G and H in the on or off state according to the calculation result of the calculation section 10. The main storage section 4 stores a sequence program, which is sequentially read out and sent to the arithmetic section 10 for use in the sequence arithmetic operation. Here, a conventional example of the above calculation section is shown in FIG. In the figure, calculation unit] 0 is the OR gate 100,
ANDGATE 101. Working S tab lip flop 102 (abbreviated as WKFF), accumulator 103 (A
(abbreviated as Cc). Both WKFF and Acc have a 1-bit configuration. In the above configuration, its operation is described above (
1) Taking G shown in equation 1 as an example, it is as follows. Here, 1, 2, and 3 indicate the timing order of calculations.

即ち、1番目のLOADAというシーケンス命令がシー
ケンスプログラムの格納されている主記憶部4から読み
出されると、この命令が解釈されて、入力接点の状態が
、Acc]03に格納され、次に2進符号の“O”がW
KFFlO2に格納される。
That is, when the first sequence command LOADA is read out from the main memory 4 where the sequence program is stored, this command is interpreted, the state of the input contact is stored in Acc]03, and then it is read out in binary form. The symbol “O” is W
Stored in KFFlO2.

次に2番目のANDBというシーケンス命令が読み出さ
れると入力接点Bの値とACClO3の値の論理積(A
ND)がレジスタACClO3に格納される。次に3番
目の0RCというシーケンス命令によりACclO3の
内容と、WKFFlO2の論理和(0R)が再びWKF
FlO2に格納される。次に入力接点Cの状態がAcc
lO3に格納される。次に4番目のANDDという命令
で2番目と同様な動作が行なわれる。次に5番目のSE
TGという命令でレジスタAcclO3の内容とWKF
FlO2の内容の論理和(0R)がWKFFlO2に格
納される。さらに遅れてWKFFlO2の内容が出力部
2を介し、出力リレーGへ出力される。以上のように1
番地から5番地のシーケンス命令によりブール代数式A
−B+C−B=Gを実行する。
Next, when the second sequence command ANDB is read, the logical product (A
ND) is stored in register ACClO3. Next, by the third sequence command 0RC, the contents of ACclO3 and the logical sum (0R) of WKFFlO2 are converted to WKF
Stored in FlO2. Next, the state of input contact C is Acc.
Stored in lO3. Next, the fourth ANDD instruction performs the same operation as the second instruction. Then the 5th SE
The contents of register AcclO3 and WKF are executed by the instruction TG.
The logical sum (0R) of the contents of FlO2 is stored in WKFFlO2. After a further delay, the contents of WKFFlO2 are output to output relay G via output section 2. As above 1
Boolean algebraic expression A by sequence instruction from address to address 5
- Execute B+C-B=G.

同様な手順により論理積、論理和の多項式で示されたブ
ール代数を順次シーケンス命令に変換することができる
。シーケンス命令はシーケンスプログラムの格納された
主記憶部4から順次読み出されて実行することを繰返し
高速で行うので、第2図のシーケンス制御処理装置は第
1図のリレーシーケンスと等訓な機能を果す。ところで
、この初期のPLCでは、シーケンス制御プログラムを
作成するのに、かなりの苦労を伴つた。
A similar procedure can be used to convert Boolean algebra expressed by polynomials of AND and OR into sequential sequence instructions. Sequence commands are sequentially read out from the main memory 4 where the sequence program is stored and executed repeatedly at high speed, so the sequence control processing device shown in FIG. 2 has the same function as the relay sequence shown in FIG. accomplish By the way, in this early PLC, it was quite difficult to create a sequence control program.

シーケンスプログラムを作成するには難解なPLCの機
械命令語を理解した上でコーデイングしなければならな
かつた。この問題を解決する第1ステツプとして、PL
Cのプログラムを、AND、0Rのアセンブラ言語と同
等のニモニツク表記で、コーデイングし、これを別に設
置した計算機にかけて、最終的なPLC制御プログラム
を作成することが考えられた、さらに進んで、PLCの
プログラムを、CRTデイスプレイ(テレビのデ゛イス
プレイ)と、キーボードを用いた、マンマシンコミユニ
ケーションにより作成していく方法が普及してきた。ま
た、これはキーボードから、リレー回路図に相当するシ
ンボルを入力すと、それに対応したリレー回路図が、C
RTデイスプレイに表示されていく方式である。この方
式ノではプログラマーはPLCの機械語を全く意識する
ことなく、プログラミングできるので、最も望ましい方
式であると考えられている。CRTマンマシンコミユニ
ケーション型のPLCプログラミングを行うPLCでも
従来の処理装置,の命令語はブール代数形式のものであ
つた。
In order to create a sequence program, it was necessary to understand and code the difficult PLC machine instructions. As a first step to solve this problem, the PL
It was thought that the final PLC control program could be created by coding a C program in mnemonic notation equivalent to AND and 0R assembler language, and running this on a separately installed computer. A method of creating programs using man-machine communication using a CRT display (TV display) and a keyboard has become popular. Also, if you enter a symbol corresponding to a relay circuit diagram from the keyboard, the corresponding relay circuit diagram will be displayed in C
This is a method in which the information is displayed on the RT display. This method is considered to be the most desirable method because the programmer can program without being aware of the PLC's machine language at all. Even in a PLC that performs PLC programming of the CRT man-machine communication type, the command words of the conventional processing device are in the form of Boolean algebra.

ところが、リレー回路図のイメージで処理しようとする
と、ブール代数型の命令語では種々の問題点がある。例
えば、第4図に示す如き入力接点A,B,C,D,E,
F,Gの組合せの回路は、ブール代数式では完全に表現
できない。そればかりか、回路図と、ブール代数演算記
号が、一対一のスツキリした形で対応がとれない。例を
用いて説明すれば、第5図イ及び口で、点線部は共に同
一の形をしているのに、ブール代数方式は、演算が5異
つてしまう。即ちFの後の論理記号はイ図では゜“)゛
に、口図では“゜))゛になつている。プログラマーの
頭の中でこれら複雑なシンボルの対応づけを処理させて
いることになるので、どの様にフ治グラミング操作をす
るのか教育する必要がでてくる。このような難点を解決
するために考案された、第2のPLCとして次の様なP
LCがある。第6図において、第2図と同一符号は同一
または相当部分を示すので説明を省略する。記憶装置5
は新しく追加されたものである。これは、シーケンス図
の入力接点または出力リレーのリレー接点等で相互に接
続された分岐点を中継点とし、この中継点のオン、オフ
状態および、中継点をオンさせるために経由した他の中
継点の数に応じたレベルを記憶するものである。第7図
は、上記第6図中の演算回路10の構成の一例を示すプ
ロツク図であり、第7図中第3図と同一符号は同一のも
のを示すので説明を省略する。LRl,LR2,LR3
は上記中継点のレベルを示すためのレベルレジスタ、C
OMPlは、2つのレベルを比較し、その大きい方のレ
ベルを出力する比較器、COMP2は2つのレベルを比
較し、その小さい方のレベルを出力する比較器、COM
P3は、2つのレベルを比較し、その小さい方に1を加
算して出力する比較加算器、矢印はレベル情報のゲート
である。MAXは上記レベルレジスタLR3に記憶し得
る最大の数を表わすもので実際にはレベルの最大値を示
すものである。以上の構成において、次にその動作を第
8図に示されるシーケンス図を用いて説明する。
However, when trying to process using the image of a relay circuit diagram, there are various problems with Boolean algebra-type command words. For example, input contacts A, B, C, D, E, as shown in FIG.
The combination of F and G circuits cannot be completely expressed using Boolean algebraic expressions. Not only that, but there is no clear one-to-one correspondence between the circuit diagram and the Boolean algebra operation symbols. To explain using an example, although the dotted line parts in FIG. That is, the logical symbol after F is ゜")" in the illustration, and "゜))" in the illustration. Since programmers are processing these complex symbol associations in their heads, it is necessary to educate them on how to perform functional programming operations. The following PLC was developed as a second PLC to solve these difficulties.
There is LC. In FIG. 6, the same reference numerals as those in FIG. 2 indicate the same or corresponding parts, so the explanation will be omitted. Storage device 5
is newly added. This is a relay point that is connected to a branch point such as an input contact or an output relay relay contact in a sequence diagram, and the on/off state of this relay point and other relays that are passed through to turn on the relay point. It stores the level according to the number of points. FIG. 7 is a block diagram showing an example of the configuration of the arithmetic circuit 10 shown in FIG. 6, and the same reference numerals in FIG. 7 as in FIG. LRl, LR2, LR3
is a level register for indicating the level of the relay point, C
OMPl is a comparator that compares two levels and outputs the larger one; COMP2 is a comparator that compares two levels and outputs the smaller one; COM
P3 is a comparison adder that compares two levels, adds 1 to the smaller one and outputs the result, and the arrow indicates a level information gate. MAX represents the maximum number that can be stored in the level register LR3, and actually represents the maximum level value. The operation of the above configuration will now be explained using the sequence diagram shown in FIG.

第8図に示されるリレーシーケンス図において、入力接
点X1〜X6および゛、出力リレーのリレーコイルy1
〜Y2で相互に接続された分岐点を中継点P1〜P4と
し、そのリレーシーケンスをブール代数式で書くと次の
ごとくなる。P1=X1+X2。
In the relay sequence diagram shown in Fig. 8, input contacts X1 to X6 and ゛, relay coil y1 of the output relay
The branch points connected to each other at ~Y2 are designated as relay points P1 to P4, and the relay sequence is written in Boolean algebra as follows. P1=X1+X2.

P2+X3ーP3数l8l8O(3P2:X2+P2+
X6+P4″″−″−03(4P3:X4+X3+Pl
+X5″P4l″−″−0″(5P4:X6+P2+X
5+P3″″1゜0゛00I(6Y1=P2・・・・・
・・・・(7Y2=P4・・・・・・・・・(8 この中継点P1〜P4のオン、オフの状態は、第6図の
記憶装置5に記憶することにより、入力接点と同等に扱
うことができる。
P2+X3-P3 number l8l8O (3P2:X2+P2+
X6+P4″″-″-03 (4P3:X4+X3+Pl
+X5″P4l″−″−0″(5P4:X6+P2+X
5+P3″″1゜0゛00I (6Y1=P2...
......(7Y2=P4......(8) The on/off states of these relay points P1 to P4 can be stored in the storage device 5 in FIG. 6, making them equivalent to the input contacts. can be handled.

しかし、中継点P1〜P4のオン、オフ状態のみの記憶
では、例えば、入力接点X1がオンで沖継点P1がオン
、更に入力接点X3がオンで中継点P3がオンになつた
後、X1がオフになつた場合を考えると、中継点P1は
、X3・P3の条件によつてオン、一方中継点P3はX
3・P1の条件でオンのままとなり、実際のリレーシー
ケンス図のオフ状態を示すことができない。そこで中継
点P1〜P4にレベルを設けて最初は1中継点を経由す
る毎にレベルを1つづつ上げることとし、レベルの高い
中継点からレベルの低い中継点へはオンできないと規定
する。こうすると上記例では入力接点X1がオンで沖継
点P1がオン(レベル1)、更に入力接点X3がオンで
中継点P3がオン(レベル2)となりその後上記入力接
X1がオフとなつた場合は、中継点P1(レベル1)は
X3・P3の条件がレベル2であるのでP1はオフとな
り、従つて中継点P3もオフとなり実際のシーケンス図
と対応がとれる。以上の動作の具体的例を上記ブール代
数式の(3)式、即ちP1=X1+P2・X2+P3・
X3を例として示すと次のとうりとなる。
However, if only the ON and OFF states of the relay points P1 to P4 are stored, for example, input contact Considering the case where the relay point P1 turns off, relay point P1 turns on due to the conditions of X3 and P3, while relay point P3 turns off
It remains on under the condition of 3.P1, and the off state cannot be shown in the actual relay sequence diagram. Therefore, levels are set for the relay points P1 to P4, and initially the level is increased by one each time the relay passes through one relay point, and it is stipulated that a relay point with a higher level cannot be turned on to a relay point with a lower level. In this way, in the above example, when input contact X1 is on, offshore junction P1 is on (level 1), input contact X3 is on, relay point P3 is on (level 2), and then input contact X1 is turned off. Since the condition of X3 and P3 is level 2 at the relay point P1 (level 1), P1 is turned off, and therefore the relay point P3 is also turned off, so that correspondence can be established with the actual sequence diagram. A specific example of the above operation is the Boolean algebraic expression (3) above, that is, P1=X1+P2・X2+P3・
Taking X3 as an example, it is as follows.

ここで123は演算を行うタイミングの順序を示し、ま
た入力接点Xl,X2・・・・・・・・・のレベルは常
に″0”とする。
Here, 123 indicates the timing order of calculations, and the levels of the input contacts Xl, X2, . . . are always "0".

即ち、1番地のLOADxlというシーケンス命令が、
シーケンスプログラム部4の中のメモリから読み出され
ると、この命令が解釈されて、入力接点X1の状態が取
り込まれて、AcclO3に記憶される。
In other words, the sequence command LOADxl at address 1 is
When read from the memory in the sequence program unit 4, this command is interpreted and the state of the input contact X1 is captured and stored in AcclO3.

また、2進符号の「0」がWKFFlO.2に記憶され
る。一方接点X1のレベルOがレベルレジスタLRlに
記憶され、次にレベルレジスタLR2に転送され記憶さ
れる。またレベルレジスタLR3には、最大値MAXが
セツトされる。次に2番地の0RX2というシーケンス
命令がシーケンスzプログラム部4の中のメモリから読
み出されると、Accフリツプ・フロツプの値とWKF
Fの論理和が0Rゲート100によつてとられ、結果が
再びWKFFに記憶される。そして、入力接点の状態X
2が取り込まれ、Accに記憶される。一方入力接点X
1のレベルOがレベルレジスタLRlに記憶される。A
ccがオンの時、かつレベルレジスタLR2のレベルが
レベルレジスタLR3のレベルより小さい場合、比較器
COMP2からレベルレジスタLR2の内容が出力され
、レベルレジスタLR3へ記憶される。次にレベルレジ
スタLRlの内容が、レベルレジスタLR2に転送され
る。次に3番地のANDP2というシーケンス命令が解
釈されると、記憶装置5から中継点P2の状態が読み出
されて、Accとの論理積が、ANDゲート101で取
られ、結果が再びAccに記憶される。一方記憶装置5
に記憶されている中継点P2のレベルがレベルレジスタ
LRlに記憶され、レベルレジスタLRlのレベルが、
レベルレジスタLR2より大きいとき、比較器COMP
lからレベルレジスタLRlの内容が出力され、レベル
レジスタLR2に記憶される。次に4番地の0RX3と
いうシーケンス命令が解釈され、Accの内容とWKF
Fの論理和が取られWKFFに記憶される。そして入力
接点X3の状態がAccに転送される。一方入力接点X
3のレベル0はレベルレジスタLRlに記憶され、Ac
cがオンであつて、かつレベルレジスタLR2のレベル
がレベルレジスタLR3より小さい時、比較器COMP
2から、レベルレジスタLR2の内容が出力され、レベ
ルレジスタLR3に転送される。次にレベルレジスタL
Rlの内容がLR3に転送される。次に5番目1のAN
DP3というシーケンス命令により記憶装置5から中継
点P3の状態が読み出され、Accとの論理積がAND
ゲート101で取られ、Accに記憶される。一方記憶
装置5に記憶されている中継点P3のレベルが読み出さ
れレベルレジスタLRlに記憶される。レベルレジスタ
LRlのレベルが、レベルレジスタLR2より犬きいと
き、レベルレジスタLRlの内容がレベルレジスタLR
2に転送される。次に6番地のSETPlというシーケ
ンス命令によりAccの値と、WKFFの論理和がWK
FFへ転送,される。一方Accがオンでありかつレベ
ルレジスタLR2のレベルがレベルレジスタLR3より
も小さい時、比較器COMP2からレベルレジスタLR
2の内容が出力されてレベルレジスタLR3に記・I意
される。次に記憶装置5から中継点P1のレベルが読・
み出され、このレベルとレベルレジスタLR3のレベル
がレベルレジスタCOMP3で比較され、中継点P1の
レベルが、レベルレジスタLR3のレベルより大きいか
、または等しいとき、WKFFの内容が記憶装置5のP
1記憶部に記憶される。また中継点P1のレベルがレベ
ルレジスタLR3より小さい時、上記P1記憶部には2
進符号の「0」が記憶される。次に記憶装置5から中継
点P1のレベルが読み出され、レベルレジスタLR3の
レベルと比較器COMP3で比較され、中継点P1のレ
ベルがレベルレジスタLR3のレベルよりも大きいかま
たは等しい場合、レベルレジスタLR3の内容に1が加
算されて記憶装置5のP1記憶部に記憶される。また中
継点P1のレベルがレベルレジスタLR3よりも小さい
場合は、記憶装置5のP1記憶部はレベルの最大値MA
Xが記憶される。以上のように、1番〜6番のシーケン
ス命令は、ブール代数式P1=X1+X2P2+X3P
3を実行する。なお同様な手順で、上式(3)〜(8)
のブール代数式も順次シーケンスプログラムに変換する
ことができる。このシーケンスプログラムは繰返し繰返
し高速に行なわれるので、第6図のシーケンス制御装置
は、第8図のリレーシーケンスと等価な機能を果す。こ
のようにして中継点のオン、オフ状態および中継点をオ
ンさせるために経由した他の中継点の数に応じたレベル
を記憶装置に記憶させ、レベルに応じた演算処理を行な
わしめることにより、確かに、多種多様のシーケンス制
御に適切に対処できるようになつた。しかしながら、こ
の中継点のオン、オフ状態とレベルを記憶するためには
、記憶装置5というばく大なる記憶容量を持つたメモリ
が必要となり、実用性には、とぼしいということが明ら
かで゛あり、なんらかの対策が必要である。
Also, the binary code “0” is WKFFlO. 2 is stored. On the other hand, the level O of the contact X1 is stored in the level register LR1, and then transferred to and stored in the level register LR2. Further, the maximum value MAX is set in the level register LR3. Next, when the sequence command 0RX2 at address 2 is read from the memory in the sequence z program section 4, the value of Acc flip-flop and WKF
The logical sum of F is taken by the 0R gate 100 and the result is stored in WKFF again. Then, the state of the input contact X
2 is fetched and stored in Acc. One input contact
A level O of 1 is stored in the level register LRl. A
When cc is on and the level of level register LR2 is lower than the level of level register LR3, the contents of level register LR2 are output from comparator COMP2 and stored in level register LR3. The contents of level register LR1 are then transferred to level register LR2. Next, when the sequence command ANDP2 at address 3 is interpreted, the state of relay point P2 is read from the storage device 5, and the AND gate 101 performs a logical product with Acc, and the result is stored in Acc again. be done. On the other hand, storage device 5
The level of relay point P2 stored in is stored in level register LRl, and the level of level register LRl is
When greater than level register LR2, comparator COMP
The contents of level register LR1 are output from level register LR1 and stored in level register LR2. Next, the sequence command 0RX3 at address 4 is interpreted, and the contents of Acc and WKF
The logical sum of F is taken and stored in WKFF. The state of input contact X3 is then transferred to Acc. One input contact
Level 0 of 3 is stored in level register LRl, and Ac
When c is on and the level of level register LR2 is smaller than level register LR3, comparator COMP
2, the contents of level register LR2 are output and transferred to level register LR3. Next, level register L
The contents of Rl are transferred to LR3. Next, the 5th 1st AN
The state of the relay point P3 is read from the storage device 5 by the sequence command DP3, and the logical product with Acc is ANDed.
It is taken at gate 101 and stored in Acc. On the other hand, the level of relay point P3 stored in storage device 5 is read out and stored in level register LRl. When the level of level register LRl is higher than level register LR2, the contents of level register LRl are set to level register LR.
Transferred to 2. Next, by the sequence command SETPl at address 6, the logical sum of the Acc value and WKFF is WK
Transferred to FF. On the other hand, when Acc is on and the level of level register LR2 is lower than level register LR3, comparator COMP2 outputs signal from level register LR.
The contents of 2 are output and recorded in the level register LR3. Next, the level of the relay point P1 is read from the storage device 5.
This level is compared with the level of the level register LR3 in the level register COMP3, and when the level of the relay point P1 is greater than or equal to the level of the level register LR3, the contents of WKFF are changed to P of the storage device 5.
1 storage unit. Furthermore, when the level of the relay point P1 is lower than the level register LR3, the P1 storage section stores 2 bits.
The decimal code "0" is stored. Next, the level of the relay point P1 is read from the storage device 5, and compared with the level of the level register LR3 by the comparator COMP3. If the level of the relay point P1 is greater than or equal to the level of the level register LR3, the level register 1 is added to the contents of LR3 and stored in the P1 storage section of the storage device 5. Further, when the level of relay point P1 is lower than level register LR3, the P1 storage section of storage device 5 is stored at the maximum level MA.
X is memorized. As mentioned above, the sequence instructions numbered 1 to 6 are expressed by the Boolean algebraic expression P1=X1+X2P2+X3P
Execute 3. In addition, using the same procedure, the above formulas (3) to (8)
Boolean algebraic expressions can also be converted into sequential sequence programs. Since this sequence program is repeatedly executed at high speed, the sequence control device shown in FIG. 6 performs a function equivalent to the relay sequence shown in FIG. 8. In this way, the on/off state of the relay point and the level corresponding to the number of other relay points passed through to turn on the relay point are stored in the storage device, and arithmetic processing is performed according to the level. It has certainly become possible to appropriately deal with a wide variety of sequence controls. However, in order to memorize the on/off state and level of this relay point, a memory with a huge storage capacity, such as the storage device 5, is required, and it is clear that the practicality is limited. Countermeasures are necessary.

本発明の目的は上記に述べた中継点のオン、オフ状態と
レベルを記憶するための、ぼう大なるメモリを不要とし
、これに代わるべく中継点(分岐点)のオン、オフ状態
を、各中継点毎に個別に持つのでなく、一つのロウにお
ける各コラムに対応して個々にコラムレジスタを割り当
て、このコラムレジスタを各ロウに共通に使用するよう
にして同様なる効果を発揮させんとしたものであり、こ
のコラムレジスタを使用することにより安価かつ、多種
多様のシーケンスを容易に、かつリレー回路の展開接続
図イメージで容易にプログラムすることが可能な、シー
ケンス制御装置を提供することにある。
The purpose of the present invention is to eliminate the need for a large memory for storing the on/off states and levels of the relay points mentioned above, and to replace this, to store the on/off states of the relay points (branch points). Rather than having separate registers for each relay point, we allocated individual column registers for each column in one row, and used this column register in common for each row to achieve the same effect. The object of the present invention is to provide a sequence control device that is inexpensive and allows easy programming of a wide variety of sequences by using this column register, and that can be easily programmed using an expanded connection diagram image of a relay circuit. .

本発明の要点は、CRTの画面に対して、横線のロウを
設けると共に、縦線のコラムを設け、一のロウにおける
各コラムに対応して個々にコラムレジスタを割り当て、
該コラムレジスタに一ロウ分の分岐点のオン、オフ状態
を記憶させ、一ロウの処理が終了すると次のロウに該コ
ラムレジスタを用いるというように次々と用いているよ
うにしたことにより、リレー回路展開接続図における素
子間の接続記号に対応した、PLC機械命令語をつくり
、この命令語を処理できるようにしたものである。
The gist of the present invention is to provide rows of horizontal lines and columns of vertical lines on a CRT screen, and to individually allocate column registers corresponding to each column in one row.
By storing the on/off state of branch points for one row in the column register, and using the column register for the next row when the processing of one row is completed, the relay can be used one after another. PLC machine commands are created that correspond to connection symbols between elements in a circuit development connection diagram, and these commands can be processed.

リレーシーケンスを表わすために、第9図の様な格子目
を作り、この上に回路図を作成してゆく、第9図では、
一番左側の縦線が正の電圧がかかつたコモン線を示す。
In order to represent the relay sequence, we create a grid like the one shown in Figure 9 and create a circuit diagram on top of it. In Figure 9,
The leftmost vertical line indicates the common line to which positive voltage is applied.

一番右側の縦線がアース側コモン線を示す。ヨコの点線
格子目の間には、接点及び出力コイルを記述する。タテ
の点線格子目上には回路の分岐を書き込む。第9図には
回路の例が記入されている。回路図の分岐は、第10図
に示す様に9つのパターンがある。しかし実施例では、
コーデイングを簡便にするために、回路電流は、まず第
1に左から右へ、その次に上から下への方向しか流れな
いと規定する。この表現は英文等の言語表記等に用いら
れているので、比較的人間に受け入れられやすいためで
ある。この規定により、分岐シンボル第]0図中、l番
と9番の“「”、“゜」”なる分岐記号の2つは事実上
存在しないことになる。残り7個の分岐は、第11図に
集約して説明される。すなわち、左側から分岐点への入
り口は、左側から分岐点へのオン、オフ状態の接続を示
す。次に、上側から分岐点への入り川よ、上側の接続か
らのオンオフ状態の接続を示す。次に、右側への出口は
、分岐点のオン、オフ状態を、分岐点の右側へ接続する
ことを示す。最后の、下側への出口は、分岐的のオン、
オフ状態を下側へ接続することを示す。第10図の9種
の分岐は、第11図における4方向の接続の組合せの有
無にすぎない。第9図に示すように、縦点線と横点線と
の交点上に、この分岐を書き込むべきシーケンス制御装
置の中には、この縦点線すなわちコラムと1対1に対応
して、それぞれ1ビツ2トのレジスタが準備されている
。すなわち、この分岐記号は、シーケンスの分岐点のオ
ン、オフ状態をこのコラムに1対1対応した、コラムレ
ジスタに記憶することを示す。従つて、例えば8個のコ
ラムがあるとすれば8、個のコラムレジスタを設けるこ
とになる。
The rightmost vertical line indicates the ground common wire. Contacts and output coils are written between the horizontal dotted grids. Write the circuit branches on the vertical dotted grid. An example of the circuit is shown in FIG. There are nine patterns of branching in the circuit diagram, as shown in FIG. However, in the example,
To simplify the coding, it is defined that the circuit current only flows first of all from left to right and then from top to bottom. This is because this expression is used in language notation such as English, and is therefore relatively easily accepted by humans. According to this rule, two of the branch symbols "", "゜"", number l and number 9 in the branch symbol No. 0 in Figure 0, do not actually exist.The remaining seven branches It is summarized and explained in the diagram. That is, the entrance to the fork from the left side shows the on/off state connection from the left side to the fork. Next, the entrance to the fork from the upper side, the upper side. It shows the connection in on-off state from the connection.Next, the exit to the right side shows that the on and off states of the branch point are connected to the right side of the branch point.Finally, the exit to the bottom side shows the connection to the right side of the branch point. Target on,
Indicates that the off state is connected to the lower side. The nine types of branches in FIG. 10 are simply the presence or absence of combinations of connections in the four directions in FIG. 11. As shown in FIG. 9, in the sequence control device that should write this branch on the intersection of the vertical dotted line and the horizontal dotted line, there are 1 bits and 2 bits, respectively, in one-to-one correspondence with the vertical dotted line, that is, the column. The default register is prepared. That is, this branch symbol indicates that the on/off state of the branch point of the sequence is stored in a column register that corresponds one-to-one to this column. Therefore, for example, if there are eight columns, eight column registers will be provided.

分岐点から外部への接続は、このコラムレジスタの内容
を外部へ接続することに等価である。シーケンスの実行
順序は、第12図に示すように左から右、次に上から下
である。
Connecting the branch point to the outside is equivalent to connecting the contents of this column register to the outside. The order of execution of the sequence is from left to right and then top to bottom as shown in FIG.

分岐点のオン.オフ状態は、各コラムに1対1対応して
準備されている。まず第1の横線、即ち第10ウに関し
て、左側コモン線から出発する。次に、同じ第10ウ上
を、第1コラム、第2コラムと右へ向つて実行、終了す
れば次の、第20ウへ移る。第20・ウはやはり、左側
コモン線側から出発し、右側へと実行してゆく。同様に
同一ロウが終了すれば、次のロウへ移る。コラムレジス
タは、各コラムに1対1対応しているので、同一ロウを
実行中に分岐点があれば分岐点の存在したコラムに関し
てのみ、分岐点のオン、オフ状態を対応するコラムレジ
スタに記憶する。
Turning point on. The off state is prepared in one-to-one correspondence to each column. First, regarding the first horizontal line, ie, No. 10, start from the left common line. Next, perform the same 10th column to the right in the 1st column, then the 2nd column, and when finished, move on to the next 20th column. The 20th C starts from the left common line side and runs to the right side. Similarly, when the same row ends, the process moves to the next row. Column registers have a one-to-one correspondence with each column, so if a branch point occurs while executing the same row, the on/off state of the branch point is stored in the corresponding column register only for the column where the branch point existed. do.

次の下のロウを実行する際、上からの分岐があれば、上
のロウを実行中にコラムレジスタに記憶させたオン、オ
フ状態を読み出し、上からの分岐情報として使用する。
コラムレジスタの内容は、上のロウで記憶した内容が、
下のロウで利用されてしまうと、もう上のロウでは不要
となるので、下のロウのために新しく使用できることに
なり、実行中の分岐点のオン、オフ状態を記憶させるこ
とができる。このことは、分岐点のオン、オフ状態を記
憶させるメモリは、各ロウとコラムの各交点に必要では
なく、同一ロウに対して、各コラムの数だけ、レジスタ
があれば十分であることを示している。即ち、第12図
の事例では8個のコラムレジスタを設ければよい。第1
3図は本発明によるシーケンスの構成を示す。
When executing the next lower row, if there is a branch from above, the on/off state stored in the column register during execution of the upper row is read out and used as branch information from above.
The contents of the column register are those stored in the row above.
Once it is used in the lower row, it is no longer needed in the upper row, so it can be newly used for the lower row, and the on/off state of the branch point being executed can be stored. This means that a memory for storing the on/off state of a branch point is not required at each intersection of each row and column, but it is sufficient to have as many registers as there are for each column for the same row. It shows. That is, in the case of FIG. 12, eight column registers may be provided. 1st
Figure 3 shows the structure of the sequence according to the invention.

図はシーケンス・プログラムを格納している主記憶部4
とシーケンス命令を解読し演算を行なう演算制御部10
とプロセス入力状態を取り込む入力部1と、プロセスへ
出力を出す出力部2の合計4部分にて構成されている。
ここで主記憶部はシーケンス・プログラムを格納してお
り、順次シーケンス命令を演算制御部10へ送出する。
The figure shows main memory section 4 that stores sequence programs.
and an arithmetic control unit 10 that decodes sequence instructions and performs arithmetic operations.
It consists of a total of four parts: an input section 1 that takes in process input states, and an output section 2 that outputs output to the process.
Here, the main storage section stores a sequence program, and sequentially sends sequence instructions to the arithmetic control section 10.

主記憶部4からシーケンス命令を受け取つた演算制御部
10は命令の指示に従がつて演算を行う。このとき、必
要な情報は入力部1から受けとり、演算を行う。演算結
果の出力は、出力部2へ送出する。入力部1は命令のナ
ンバー部で指示された入力点を演算部]0へ送る。出力
部2は命令のナンバー部で指示された出力点へ、演算結
果の出力を送出する。ここでナンバー部とは第14図に
示す命令フオーマツト140のうち0P部141を除く
部分である。第15図は、演算制御部10の詳細を示し
たものである。
The arithmetic control section 10 receives the sequence command from the main storage section 4 and performs the computation according to the instructions of the command. At this time, necessary information is received from the input section 1 and calculations are performed. The output of the calculation result is sent to the output section 2. The input unit 1 sends the input point designated by the number part of the instruction to the calculation unit]0. The output unit 2 sends the output of the calculation result to the output point designated by the number part of the instruction. Here, the number part is the part of the instruction format 140 shown in FIG. 14 excluding the OP part 141. FIG. 15 shows details of the calculation control section 10.

主記憶部4に記憶されているシーケンス命令を順次読み
出し、演算制御部へ送出する。演算制御部では、受け取
つた命令を、命令レジスタ150に格納する。命令レジ
スタ150は命令コード部(0P)141とナンバー部
142に分類される。ナンバー部142は、入力部1と
出力部2と、コラムレジスタ151に接続されている。
入力部1はナンバー部]42で指定された入力点の情報
をANDゲート152に送出する。出力部2はナンバー
部142で指定された出力点へ、ANDゲート153の
出力を送出する。第16図は、本実施例にて使用される
命令体系の一覧を示す。ここでXは、ナンバー部142
で指定された入力点を示す。SQACは第15図のSQ
ACl54であり、1ビツトのフリツプフロツプである
。Yは、ナンバー部142で指定された出力点である。
Rは、ナンバー部142で指定された、コラムレジスタ
である。コラムレジスタ,は、各1ビツトのフリツプフ
ロツプであり、第9図に示すようにCRTの縦点線に1
対1対応し、且つ一ロウ分のみ準備されており、しかも
前記第12図のように一ロウの実行が終了後に、次の一
ロウを実行する際に前記コラムレジスタを使用する。つ
まり、コラムレジスタは、一ロウ完了毎に次のロウで前
記コラムレジスタを使用するようにしたものである。7
は論理和記号である。
The sequence instructions stored in the main storage section 4 are read out one after another and sent to the arithmetic control section. The arithmetic control unit stores the received instruction in the instruction register 150. The instruction register 150 is classified into an instruction code section (0P) 141 and a number section 142. The number section 142 is connected to the input section 1, the output section 2, and the column register 151.
The input section 1 sends information on the input point designated by the number section] 42 to the AND gate 152. The output section 2 sends the output of the AND gate 153 to the output point designated by the number section 142. FIG. 16 shows a list of instruction systems used in this embodiment. Here, X is the number part 142
indicates the input point specified by . SQAC is SQ in Figure 15
It is an ACl54, 1-bit flip-flop. Y is the output point designated by the number section 142.
R is a column register specified by the number section 142. The column registers are flip-flops of 1 bit each, and as shown in FIG.
The column registers have a one-to-one correspondence and are prepared for only one row. Moreover, as shown in FIG. 12, after the execution of one row is completed, the column register is used when executing the next row. In other words, the column register is designed so that every time one row is completed, the column register is used in the next row. 7
is a logical sum symbol.

以下各9種の命令に関し、第15図を用いて説明する。
(1)接点命令 X−SQAC→SQAC主記憶部4か
ら読み出された接点命令は、命令レジスタ150に格納
される。
Each of the nine types of commands will be explained below using FIG. 15.
(1) Contact Instruction X-SQAC→SQAC The contact instruction read from the SQAC main storage section 4 is stored in the instruction register 150.

0P部がデイコーダ155で判読され、ゲート156が
開く。
The 0P section is read by the decoder 155, and the gate 156 is opened.

ナンバー部142で指定された入力点が、入力部1から
読み込まれ、ANDゲート152でSQACとの論理積
が取られる。論理積の結果はゲート156を通過し0R
ゲート162を通して再びSQACl54に記憶される
。(2)出力命令 1SQAC→Y 2l→SQAC 主記憶部4から読み出された出力命令は、命令レジスタ
150に格納される。
The input point specified by the number section 142 is read from the input section 1, and the AND gate 152 performs a logical product with SQAC. The AND result passes through gate 156 and becomes 0R.
It is stored again in SQACl 54 through gate 162. (2) Output instruction 1SQAC→Y 2l→SQAC The output instruction read from the main storage section 4 is stored in the instruction register 150.

0P部がデイコーダ]55で判読され、ゲート153が
開く。
The 0P section is read by the decoder] 55, and the gate 153 is opened.

SQACの内容はゲート153を通過し、出力部2へ送
られる。ナンバー部142で指定された出力点へ、ゲー
ト153からの出力が送出される。最后にSQACには
、2進符号の「1」が格納される。(3)分岐命令LR
l→SQAC 同様にして主記憶4から読み出された命令の0P部14
1力絆リ読され、ゲート157とゲート158が開かれ
る。
The contents of the SQAC pass through gate 153 and are sent to output 2. The output from the gate 153 is sent to the output point designated by the number section 142. Finally, a binary code "1" is stored in the SQAC. (3) Branch instruction LR
l→SQAC 0P part 14 of the instruction read out from the main memory 4 in the same way
One power bond is reread and gates 157 and 158 are opened.

ナンバー部142で指定された、コラムレジスタ151
の第1番目のフノツプフロツプの内容が、ゲート157
、ゲート158を通過し、SQACl54に記憶される
。)分岐命令卜 R,→SQAC 分岐命令Lと同様の処理が行われる。
Column register 151 specified by number part 142
The contents of the first flip-flop of gate 157
, passes through gate 158 and is stored in SQACl 54. ) Branch instruction R, →SQAC The same processing as branch instruction L is performed.

5)分岐命令] 1SQAC−+Ri 2l→SQAC 同様にして主記憶から読み出された命令の0P部141
力絆リ読され、ゲート159とゲート160が開かれる
5) Branch instruction] 1SQAC-+Ri 2l→SQAC 0P section 141 of the instruction read from the main memory in the same way
The power bond is reread and gates 159 and 160 are opened.

SQACの内容は、ゲート159及びゲート160を通
過し、命令レジスタ150のナンバー部142で指定さ
れた第1番目のフリ゛ソプフロ゛ンプであるコラムレジ
スタ151に記憶される。最后にSQACには、2進符
号の「1」が格納される。5)分岐命令 SQAC−>
Ri 同様にして、主記憶4から読み出された分岐命令Tは、
命令レジスタ150に格納される。
The contents of the SQAC pass through gates 159 and 160 and are stored in column register 151, which is the first flipflop designated by number section 142 of instruction register 150. Finally, a binary code "1" is stored in the SQAC. 5) Branch instruction SQAC->
Ri Similarly, the branch instruction T read from the main memory 4 is
It is stored in the instruction register 150.

0P部141が、デイコーダ155で判読され、ゲート
159とゲート160が開かれる。
The 0P section 141 is read by the decoder 155, and the gates 159 and 160 are opened.

SQACの内容は、ゲート159及びゲート160を通
過し、コラムレジスタ151に送られる。命令レジスタ
150のナンバー部142で指定された第1番目のフリ
ツプフロツプであるコラムレジスタ151にSQACの
内容が記憶される。1)分岐命令HOSQAQyRl→
R, 2l−)SQAC 同様にして判読された命令は、ゲート157及びゲート
159及びゲート160を開く。
The contents of SQAC pass through gate 159 and gate 160 and are sent to column register 151. The contents of the SQAC are stored in the column register 151, which is the first flip-flop designated by the number field 142 of the instruction register 150. 1) Branch instruction HOSQAQyRl→
R, 2l-)SQAC A similarly read instruction opens gates 157, 159, and 160.

命令のナンバー部142で指定されたコラムレジスタ1
51の内容がゲート157を通過する。SQACの内容
もゲート159を通過し、0Rゲート161に込る。0
Rゲート161では、コラムレジスタの内容と、SQA
Cの内容の論理和が取られる。
Column register 1 specified by the number part 142 of the instruction
51 passes through gate 157. The contents of SQAC also pass through gate 159 and enter 0R gate 161. 0
In the R gate 161, the contents of the column register and the SQA
The contents of C are logically ORed.

論理和の結果は、ゲート160を通過し、再び、コラム
レジスタ151に記憶される。最后にSQACには、2
進符号の「1」が格納される。3)分岐命令.LSQA
QyRl→R1、SQAC同様にして判読された命令は
、ゲート157及びゲート158及びゲート159及び
ゲート160を開く。
The result of the OR passes through gate 160 and is stored in column register 151 again. Finally, SQAC has 2
The decimal code "1" is stored. 3) Branch instruction. L.S.Q.A.
QyRl→R1, an instruction read in the same manner as SQAC opens gates 157 and 158, and gates 159 and 160.

命令のナンバー部142で指定されたコラムレジスタ1
51の内容が、読み出されゲート157を通過する。同
時にSQACの内容もゲート159を通過し、0Rゲー
ト161に込る。0Rゲート161では、コラムレジス
タ151の内容と、SQACl54の内容の論理和が取
られる。
Column register 1 specified by the number part 142 of the instruction
The contents of 51 are read out and passed through gate 157. At the same time, the contents of SQAC also pass through gate 159 and enter 0R gate 161. In the 0R gate 161, the contents of the column register 151 and the contents of the SQACl54 are logically summed.

論理和の結果は、ゲート158及びゲート160を通過
し、SQACl54とコラムレジスタ151に記憶され
る。(9)分岐命令+ SQACyRl→R1、SQA
C分岐命令上と同様である。
The result of the OR passes through gate 158 and gate 160 and is stored in SQACl 54 and column register 151. (9) Branch instruction + SQACyRl → R1, SQA
This is the same as on the C branch instruction.

第17図に、シ一・ケンス回路図の例を示す。FIG. 17 shows an example of a sequence circuit diagram.

本図にてXは入力接点を示す。添字の数字は、ナンバー
部で指定された入力点のナンバーを示す。Yは出力点を
示す。同様に添字の数字は出力点のナンバーを示す。上
部のR。−R3は、コラムレジスタの位置とナンバーを
示す。例えばR。と同じ縦線上にある分岐命令は、第0
番のコラムレジスタのフリツプフロツプを使用すること
を示す。R3の場合は、第3番のフリツプフロツプを使
用することを示す。
In this figure, X indicates an input contact. The subscript number indicates the number of the input point specified in the number section. Y indicates the output point. Similarly, the subscript number indicates the output point number. R at the top. -R3 indicates the position and number of the column register. For example, R. The branch instruction on the same vertical line as
Indicates that the flip-flop of the column register number is used. R3 indicates that the third flip-flop is used.

第18図は、第17図のシーケンス回路を、プログラミ
ンダした例である。
FIG. 18 shows an example in which the sequence circuit shown in FIG. 17 is programmed.

プログラミングの順序は左から右へ、次に上から下へと
機械的に行なわれている。第19図は、第18図でプロ
グラミングしたプログラムを順に実行した場合、各レジ
スタの内容Sが、どのように変化して行くかを示してい
る。
The programming order is mechanical from left to right and then top to bottom. FIG. 19 shows how the contents S of each register change when the program programmed in FIG. 18 is executed in sequence.

このようにコラムレジスタは、分岐点のオン、オフ状態
を有効的に記憶していき、最終的出力を容易に導き出し
ていることがよくわかる。以上の実施例に示されるよう
に、コラムレジス5夕を使用する本方式は、リーレーシ
ーケンス回路図と1対1に対応したイメージで容易にプ
ログラムを組むことができ、しかも分岐のオン、オフ状
態とレベルを記憶するための、ぼう大なるメモリも不要
となる。
It is clearly seen that the column register effectively stores the on/off state of the branch point and easily derives the final output. As shown in the above embodiments, this method using column registers can be easily programmed with an image that corresponds one-to-one with the relay sequence circuit diagram, and furthermore, There is no need for a huge memory to remember states and levels.

つまり、一の横線に対して各縦線に5対応したそれぞれ
1個のレジスタを設けるだけでよいので、記憶装置を著
しく少容量化できる。この結果、CRT等のシーケンス
画面イメージで、リレーシーケンスを安価に容易に組む
ことのできるシーケンス処理装置が提供可能となつた。
In other words, it is only necessary to provide one register for each vertical line with five registers for one horizontal line, so the capacity of the storage device can be significantly reduced. As a result, it has become possible to provide a sequence processing device that can easily assemble a relay sequence at low cost using a sequence screen image of a CRT or the like.

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

第1図はリレーシーケンスの1例を示す図、第2図は従
来における初期のシーケンス処理装置を示す図、第3図
は、第2図の演算部10の詳細を示す図、第4図は、従
来のシーケンス処理装置では記述困難なシーケンス回路
図を示す図、第5図イ,口は上記従来のシーケンス処理
装置での同じシーケンスであるにもかかわらず、ちがつ
た書き方でプログラミングしなければならないことを示
す図、第6図は、他の従来例のシーケンス処理装置のプ
ロツク図を示す図、第7図は、第6図の演算部10の詳
細を示す図、第8図は、第6図のシーケンス処理装置の
動作を説明するための、シーケンス回路の1例を示す図
、第9図はCRT等画面イメージでシーケンス回路を作
成する場合の本発明になるシーケンスと画面の説明図、
第10図は、第9図のシーケンスの分岐の種類を示す図
、第11図は、第10図の分岐の動作説明図、第12図
は、シーケンス回路図を処理するための順番を示す図、
第13図は本実施例における、シーケンス処理装置のプ
ロツク図、第14図は、本実施例における、機械命令の
フオーマツトを示す図、第15図は、第13図における
演算制御部10の詳細を示す図、第16図は、本実施例
における命令体系を示す図、第17図は、シーケンス回
路の例を示す図、第18図は、第17図シーケンス回路
をプログラミングした結果を示す図、第19図は、第1
8図のプログラムを第15図の演算制御部で実行した場
合の各レジスタ内容の遷移を示す図である。 141・・・・・・命令コード部、142・・・・・・
ナンバー部、150・・・・・・命令レジスタ、151
・・・・・・コラムレジスタ、154・・・・・・フリ
ツプフロツプ、155・・・・・・デコーダ。
FIG. 1 is a diagram showing an example of a relay sequence, FIG. 2 is a diagram showing an early conventional sequence processing device, FIG. 3 is a diagram showing details of the calculation unit 10 in FIG. 2, and FIG. , a diagram showing a sequence circuit diagram that is difficult to describe using a conventional sequence processing device. FIG. 6 is a diagram showing a block diagram of another conventional sequence processing device, FIG. 7 is a diagram showing details of the calculation unit 10 in FIG. 6, and FIG. 6 is a diagram showing an example of a sequence circuit for explaining the operation of the sequence processing device; FIG. 9 is an explanatory diagram of the sequence and screen according to the present invention when a sequence circuit is created using a screen image such as a CRT;
FIG. 10 is a diagram showing the types of branches in the sequence of FIG. 9, FIG. 11 is an explanatory diagram of the operation of the branches in FIG. 10, and FIG. 12 is a diagram showing the order for processing the sequence circuit diagram. ,
FIG. 13 is a block diagram of the sequence processing device in this embodiment, FIG. 14 is a diagram showing the format of machine instructions in this embodiment, and FIG. 15 shows details of the arithmetic control unit 10 in FIG. 16 is a diagram showing the instruction system in this embodiment, FIG. 17 is a diagram showing an example of a sequence circuit, and FIG. 18 is a diagram showing the result of programming the sequence circuit in FIG. 17. Figure 19 shows the first
16 is a diagram showing the transition of contents of each register when the program shown in FIG. 8 is executed by the arithmetic control unit shown in FIG. 15. FIG. 141... Instruction code section, 142...
Number part, 150...Instruction register, 151
... Column register, 154 ... Flip-flop, 155 ... Decoder.

Claims (1)

【特許請求の範囲】 1 シーケンスプログラム部から所望のシーケンス命令
を読み出して、演算回路によりシーケンス処理を行うシ
ーケンス制御装置に於いて、シーケンス回路図を縦線と
横線より成るマトリックス状に形成し、且つリレーシー
ケンスの接点及び出力コイルのそれぞれは連続する上記
2つの縦線の間に位置する横線上に記載し、リレーシー
ケンスの分岐点は上記縦線と横線の交点上に記載すると
共に、電気信号の流れがまず左から右へ、次に上から下
へと流れるものと定義してなるシーケンス回路図に関し
、該シーケンス回路図の上記一の横線における各縦線に
対応してそれぞれ1個のレジスタを設け、該レジスタを
各横線の実行毎に共用し、且つ各横線の実行毎に該レジ
スタに分岐点のオン、オフ状態を記憶せしめると共に、
該各レジスタの分岐点のオン、オフ状態は上記シーケン
ス回路図の下に続く入力情報及び右に続く入力情報とし
て使うべく取り出され、該取り出してなる情報をもとに
上記シーケンスプログラム部と演算回路によりシーケン
ス演算処理を行わせるようにしたシーケンス制御装置。 2 上記シーケンス回路図はCRTディスプレイ上にマ
トリックス状に表示されてなる特許請求の範囲第1項記
載のシーケンス制御装置。
[Scope of Claims] 1. In a sequence control device that reads a desired sequence command from a sequence program section and performs sequence processing using an arithmetic circuit, a sequence circuit diagram is formed in a matrix shape consisting of vertical lines and horizontal lines, and Each of the contacts and output coil of the relay sequence is written on the horizontal line located between the above two consecutive vertical lines, and the branch point of the relay sequence is written on the intersection of the above vertical line and the horizontal line, and the electrical signal Regarding a sequence circuit diagram in which the flow is defined as first flowing from left to right and then from top to bottom, one register is provided for each vertical line in the first horizontal line of the sequence circuit diagram. The register is shared for each execution of each horizontal line, and the on/off state of the branch point is stored in the register for each execution of each horizontal line, and
The on/off state of the branch point of each register is extracted to be used as input information continuing below and to the right of the sequence circuit diagram, and based on the extracted information, the sequence program section and the arithmetic circuit A sequence control device that performs sequence calculation processing. 2. The sequence control device according to claim 1, wherein the sequence circuit diagram is displayed in a matrix on a CRT display.
JP52137920A 1977-11-18 1977-11-18 Sequence control device Expired JPS5952444B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP52137920A JPS5952444B2 (en) 1977-11-18 1977-11-18 Sequence control device
US06/139,760 US4326207A (en) 1977-11-18 1980-04-14 Programmable sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52137920A JPS5952444B2 (en) 1977-11-18 1977-11-18 Sequence control device

Publications (2)

Publication Number Publication Date
JPS5472384A JPS5472384A (en) 1979-06-09
JPS5952444B2 true JPS5952444B2 (en) 1984-12-19

Family

ID=15209767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52137920A Expired JPS5952444B2 (en) 1977-11-18 1977-11-18 Sequence control device

Country Status (1)

Country Link
JP (1) JPS5952444B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5635213A (en) * 1979-08-29 1981-04-07 Mitsubishi Electric Corp Symbol converting system
JPS5672703A (en) * 1979-11-19 1981-06-17 Yaskawa Electric Mfg Co Ltd Programmable controller equipped with contact logic circuit reader
JPH0693205B2 (en) * 1987-08-14 1994-11-16 山武ハネウエル株式会社 Sequence controller program input method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4928791A (en) * 1972-07-14 1974-03-14

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4928791A (en) * 1972-07-14 1974-03-14

Also Published As

Publication number Publication date
JPS5472384A (en) 1979-06-09

Similar Documents

Publication Publication Date Title
JPS6010644B2 (en) Sequence display control method
JPS5847053B2 (en) data processing equipment
Zsombor-murray et al. Binary-decision-based programmable controllers
JPS5952444B2 (en) Sequence control device
JPH0321923B2 (en)
JPS6055864B2 (en) vector processor
JP3000857B2 (en) Programmable controller
JP2007233990A (en) Information processor and circuit design method thereof
JP2559494B2 (en) Micro program control method
JP2003067010A (en) Bit arithmetic controller and programmable logic controller equipped with same
JPH0895850A (en) Microprocessor
JPH0119167B2 (en)
CA1155232A (en) Pipelined digital signal processor using a common data and control bus
JPH02240703A (en) Programmable controller
JPH04205206A (en) Representation system for conditional execution instruction
JPS5866112A (en) Computer system
JPH0132523B2 (en)
JPH11167409A (en) Program controller operating by parallel language
Dornelles et al. Programming on Demand
JPS6129002B2 (en)
JPH1185506A (en) Data processor having plural condition code processing function
JPH0313601B2 (en)
JPH02171901A (en) Programmable controller
JPS61143809A (en) Programmable controller
JPS60250432A (en) Accumulator