JPS6337403B2 - - Google Patents

Info

Publication number
JPS6337403B2
JPS6337403B2 JP7301682A JP7301682A JPS6337403B2 JP S6337403 B2 JPS6337403 B2 JP S6337403B2 JP 7301682 A JP7301682 A JP 7301682A JP 7301682 A JP7301682 A JP 7301682A JP S6337403 B2 JPS6337403 B2 JP S6337403B2
Authority
JP
Japan
Prior art keywords
register
master control
contents
instruction
result storage
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
JP7301682A
Other languages
Japanese (ja)
Other versions
JPS58191007A (en
Inventor
Yutaka Aoyama
Yukio Fukui
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
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 filed Critical Fuji Electric Co Ltd
Priority to JP7301682A priority Critical patent/JPS58191007A/en
Publication of JPS58191007A publication Critical patent/JPS58191007A/en
Publication of JPS6337403B2 publication Critical patent/JPS6337403B2/ja
Granted 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/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/10Program control other than numerical control, i.e. in sequence controllers or logic controllers using selector switches

Landscapes

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

Description

【発明の詳細な説明】 この発明はプログラマブル・コントローラ(以
下、PCと表わす)のマスターコントロールレジ
スタの新規な構成に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a new configuration of a master control register of a programmable controller (hereinafter referred to as PC).

シーケンス制御に用いられるプログラム記憶方
式のPCの中には、効率よいプログラムの作成を
可能ならしめるため、マスターコントロール機能
を備えているものがある。
Some program storage type PCs used for sequence control are equipped with a master control function to enable efficient program creation.

第1図のシーケンスのラダー図はこのマスター
コントロール機能を使用するのに好適な例であ
り、第5図は第1図のシーケンスをこのマスター
コントロール機能を用いて組んだプログラムを示
す。
The sequence ladder diagram of FIG. 1 is a suitable example of using this master control function, and FIG. 5 shows a program in which the sequence of FIG. 1 is assembled using this master control function.

マスターコントロール機能とは、第1図のよう
な命令のシーケンスのラダー図を組むにあたつ
て、マスターコントロールセツト命令(これは
MCS命令と表わされる)によりマスターコント
ロールレジスタを特定の条件を記憶する状態をセ
ツトし、これがセツトされた後に入力された命令
は特定の条件の下にシーケンスに組み入れられる
ようにし、マスタコントロールリセツト命令(こ
れはMCR命令と表わされる)が与えられたとき
はマスターコントロールレジスタをリセツトする
ようにする機能である。これを第1図および第5
図により説明する。
The master control function refers to the master control set command (this is
The MCS instruction (denoted as MCS instruction) sets the master control register in a state that stores a specific condition, so that instructions input after this is set are included in the sequence under the specified condition, and the master control reset instruction (denoted as MCS instruction) This is a function that resets the master control register when an MCR instruction (expressed as an MCR instruction) is given. This is shown in Figures 1 and 5.
This will be explained using figures.

第1図において0.0,0.1,0,3等の記号で示
されているものは常開接点をもつリレーの機能を
有する要素を示し、0.2,2.3等の記号で示されて
いるものは常閉接点をもつリレーの機能を有する
要素を示し、8.1,9.0等の記号で示されているも
のは補助リレー、表示器、タイマーその他任意の
出力要素を示す。
In Figure 1, the symbols 0.0, 0.1, 0, 3, etc. indicate elements that function as relays with normally open contacts, and the symbols 0.2, 2.3, etc. indicate normally closed elements. Indicates an element that has the function of a relay with contacts, and those marked with symbols such as 8.1 and 9.0 indicate auxiliary relays, indicators, timers, and other arbitrary output elements.

第5図の命令の種類を表わす欄中、記号Rは常
開接点をもつリレーの機能を有する要素の場合の
論理の始まりまたは演算結果の中間記憶を意味す
る命令語を表わし、Aは論理積を意味する命令語
を表わし、Oは論理和を意味する命令語を表わ
し、ANは否定の論理積を意味する命令語を表わ
し、Wは出力要素を意味する命令語を表わし、
RNは常閉接点をもつリレーの機能を有する要素
の場合の論理の始まりまたは演算結果の中間記憶
を意味する命令語を表わす。なお、MCSおよび
MCRはそれぞれマスターコントロールセツトお
よびマスターコントロールリセツトの命令語を表
わすことは先に述べた。これらの命令を与えるた
めのキー等の操作素子はシーケンスコントローラ
のパネル(図示せず)に設けられており、オペレ
ータはこれらのキーを操作しながらプログルムを
組むのである。すなわち、第1図のシーケンスの
場合は、第5図から理解されるように、オペレー
タがキーをR、0.0,A,0.1,O,0.3,AN,0.2
の順に操作していけば第1図でA点までプログラ
ムが組まれる。A点では、プログラムに分岐が存
在する。そこで、オペレータはキーMCSにより
マスタコントロールセツト命令を与え、分岐点か
らのプログラミングであるとの条件を与えた上で
キーR、0.4を操作するとB点に達する。B点で
もプログラムに分岐が存在する。そこで再びキー
MCSによりマスターコントロールセツト命令を
与える。キーMCSを操作した後に、論理の始ま
りを意味するキーR、キー1.0、そして出力要素
を意味するキーWおよびキー8.1を操作するとC
点に達する。このようにマスターコントロールセ
ツト命令を与えた条件下でキーRを操作するとプ
ログラムはB点に戻る。マスターコントロールセ
ツト命令はそのような条件を与えるようにマスタ
ーコントロールレジスタをセツトするのである。
以後操作が進んでキー8.6を操作した後にキー
MCRを操作するとプログラムは最初の点まで戻
る(これに関しては後述する)。そこでキーR、
0.0,A,0.1,O,0.3,AN,0.2を操作すると再
びA点に戻り以後第5図に示したようにして最後
のキー操作であるキーMCRの操作に至る。
In the column representing the type of command in Fig. 5, the symbol R represents a command word that means the beginning of logic or intermediate storage of operation results in the case of an element having the function of a relay with a normally open contact, and A represents a logical product. , O represents a command word meaning logical sum, AN represents a command word meaning negated logical product, W represents a command word meaning output element,
RN represents a command word that means the beginning of logic or intermediate storage of calculation results in the case of an element having the function of a relay with normally closed contacts. In addition, MCS and
It was previously mentioned that MCR represents the master control set and master control reset commands, respectively. Operating elements such as keys for issuing these commands are provided on a panel (not shown) of the sequence controller, and the operator creates a program while operating these keys. That is, in the case of the sequence shown in Fig. 1, as understood from Fig. 5, the operator presses the keys R, 0.0, A, 0.1, O, 0.3, AN, 0.2.
If you operate in this order, the program will be assembled up to point A in Figure 1. At point A, there is a branch in the program. Therefore, the operator issues a master control set command using the MCS key, gives the condition that programming starts from a branch point, and then operates the R key 0.4 to reach point B. There is also a branch in the program at point B. Then key again
Give master control set command by MCS. After operating the key MCS, operate the key R, which means the beginning of logic, the key 1.0, and the key W, which means the output element, and the key 8.1.
Reach the point. When the key R is operated under the conditions in which the master control set command is given, the program returns to point B. The master control set instruction sets the master control register to provide such conditions.
Afterwards, the operation progresses and after operating key 8.6, press the key
Manipulating the MCR returns the program to the starting point (more on this later). So key R,
When 0.0, A, 0.1, O, 0.3, AN, and 0.2 are operated, the controller returns to point A again, and then reaches the final key operation, the key MCR, as shown in FIG.

マスターコントロール機能を有す場合には、上
記のようにして効率よくプログラムを組むことが
でき、この機能をもたないコントローラに比べて
プログラムステツプ数が少なくて済む。
When a controller has a master control function, it is possible to efficiently program programs as described above, and the number of program steps can be reduced compared to a controller that does not have this function.

しかしながら、第5図の場合でも、ステツプ2
2から27までがステツプ0から5までと同じで
あることに気がつく。すなわち、第1図のような
シーケンス図をプログラムする場合、いつたん
MCR命令でマスターコントロール・レジスタの
リセツトを行なつた場合は、さらに同じ条件のイ
ンタロツクを取りたい場合でも、もう一度頭から
マスターコントロールレジスタの条件をプログラ
ムする必要がある。
However, even in the case of FIG.
Notice that steps 2 through 27 are the same as steps 0 through 5. In other words, when programming a sequence diagram like the one shown in Figure 1,
If you reset the master control register with the MCR instruction, you will need to program the master control register conditions again from the beginning even if you want to create another interlock with the same conditions.

その理由は、従来のマスターコントロールレジ
タ回路が第3図のような構成を有していたからで
ある。
The reason for this is that the conventional master control register circuit had a configuration as shown in FIG.

第3図において、1はマスターコントロールレ
ジスタとして使用されるフリツプフロツプ、3,
4,6は論理ゲート、2は命令語に従つた演算を
行う演算器、5は演算結果を格納するレジスタ
(フリツプフロツプ)である。電源投入直後或い
はMCR命令実行時にマスターコントロールレジ
スタ1は信号Hによつてリセツトされる。各命令
語で番号を指定された入力情報Aは、演算器2内
において、それまでの演算結果信号であるレジス
タ5の信号Eとの間で論理演算が行なわれ、アン
ドゲート4に入る。この信号はマスターコントロ
ールレジスタ1の情報である信号Cとアンドゲー
ト4で論理積処理された後、信号Gによつて演算
結果格納レジスタ5にラツチされる。インタロツ
クの条件をレジスタ1にセツトする場合、或いは
内容を更新する場合はレジスタ5に格納された情
報がMCS命令実行時に発生する信号Fによつて
レジスタ1にラツチされる。
In FIG. 3, 1 is a flip-flop used as a master control register;
4 and 6 are logic gates, 2 is an arithmetic unit that performs an operation according to the instruction word, and 5 is a register (flip-flop) that stores the operation result. Master control register 1 is reset by signal H immediately after power is turned on or when an MCR instruction is executed. The input information A designated by the number in each command word is subjected to a logical operation in the arithmetic unit 2 with the signal E of the register 5 which is the result signal of the previous arithmetic operation, and is input to the AND gate 4. This signal is logically ANDed with signal C, which is the information of master control register 1, by AND gate 4, and then latched into operation result storage register 5 by signal G. When setting the interlock condition in register 1 or updating the contents, the information stored in register 5 is latched into register 1 by signal F generated when the MCS instruction is executed.

例えば第5図に示すプログラムを実行する場
合、最初はマスターコントロールレジスタ1およ
び演算結果格納レジスタ5の内容はOであるので
信号Cは「1」、信号Eは「0」である。そして
入力情報Aとして接点0.0の状態が演算器2に入
力されると接点0.0が「1」(オン)の場合には論
理ゲート4を介してレジスタ5に「1」がセツト
される。次に入力情報Aとして接点0.1の状態が
演算器2に入力されると、接点0.1の状態が「1」
(オン)の場合はレジスタ5の「1」とでアンド
条件が成立し、信号Bが「1」となるので再びレ
ジスタ5には「1」がセツトされる。次に入力情
報Aとして接点0.2の状態が演算器2に入力され
たとしても論理和命令であるためレジスタ5には
再び「1」がセツトされる。入力情報Aとして接
点0.3の状態が演算器2に入力された場合、接点
0.3の状態が「0」の場合にはレジスタ5に「1」
がセツトされ、接点0.3の状態が「1」の場合に
はレジスタ5に「0」がセツトされる。次に
MCS命令により信号Fが加えられレジスタ5の
内容が反転されてレジスタ1にセツトされる。も
し、レジスタ5の内容が「1」の場合にはレジス
タ1には「0」がセツトされるため信号Cは
「1」のままであり、以下のプログラムの実行が
有効となる。これに対してレジスタ5の内容が
「0」の場合にはレジスタ1には「1」がセツト
されるため、信号CはOとなり論理ゲート4の信
号Dは信号Bの状態にかかわらず「0」であり、
レジスタ5は「0」にセツトされたままである。
すなわち、レジスタ1に「1」がセツトされてい
る場合にはそれまでの条件が不成立であるので以
下の状態にかかわらずレジスタ5を「0」にセツ
トしておくのである。しかし、このレジスタ1は
次段のMCS命令により状態が書き換えられてし
まい、また、MCR命令によりリセツトされてし
まう。このようにしてマスターコントロールレジ
スタ1はMCS命令で書換えられたりMCR命令で
リセツトされてしまうで、同じ条件のインターロ
ツクを取りたい場合でも、もう一度最初からマス
ターコントロールレジスタの条件をプログラムす
る必要があつたのである。そして、これを避ける
ためには、シーケンスを第2図のように新たに補
助リレー20.0を使用したシーケンスに書き換えて
第6図のようなプログラムを作成する必要があつ
た。
For example, when executing the program shown in FIG. 5, the contents of the master control register 1 and the operation result storage register 5 are O at first, so the signal C is "1" and the signal E is "0". When the state of contact 0.0 is input to the arithmetic unit 2 as input information A, "1" is set in the register 5 via the logic gate 4 if the contact 0.0 is "1" (on). Next, when the state of contact 0.1 is input to the calculator 2 as input information A, the state of contact 0.1 becomes "1".
(ON), the AND condition is satisfied with "1" in register 5, and signal B becomes "1", so "1" is set in register 5 again. Next, even if the state of contact 0.2 is input to the arithmetic unit 2 as input information A, "1" is set in the register 5 again because it is an OR instruction. When the state of contact 0.3 is input to computing unit 2 as input information A, the contact
If the state of 0.3 is “0”, “1” is written to register 5.
is set, and when the state of contact 0.3 is "1", register 5 is set to "0". next
Signal F is applied by the MCS instruction, and the contents of register 5 are inverted and set in register 1. If the contents of register 5 are "1", register 1 is set to "0", so signal C remains "1", and the following program execution becomes valid. On the other hand, when the contents of register 5 are "0", register 1 is set to "1", so signal C becomes O and signal D of logic gate 4 becomes "0" regardless of the state of signal B. ” and
Register 5 remains set to "0".
That is, if register 1 is set to "1", the previous conditions are not satisfied, so register 5 is set to "0" regardless of the following conditions. However, the state of this register 1 is rewritten by the next MCS instruction, and is also reset by the MCR instruction. In this way, master control register 1 was rewritten with the MCS instruction or reset with the MCR instruction, so even if you wanted to obtain an interlock with the same conditions, you had to program the master control register conditions from the beginning again. It is. In order to avoid this, it was necessary to rewrite the sequence as shown in Fig. 2 to a new sequence using auxiliary relay 20.0 and create a program as shown in Fig. 6.

この発明の目的は、マスターコントロールリセ
ツト(MCR)命令でマスターコントロールレジ
スタが一括してリセツトされるのではなくして、
直前のマスターコントロールセツト(MCS)命
令の条件のみリセツトされ、シーケンスプログラ
ムを効率的に行なえるようなプログラマブルシー
ケンスコントローラのマスターコントロールレジ
スタ回路を提供することにある。
The purpose of this invention is to reset the master control registers at once by the master control reset (MCR) instruction.
It is an object of the present invention to provide a master control register circuit for a programmable sequence controller in which only the conditions of the immediately preceding master control set (MCS) command are reset and sequence programs can be efficiently performed.

この発明においては、マスターコントロールレ
ジスタを各マスターコントロールセツト命令
(MCS)命令ごとに順次新しい条件を入力される
シフトレジスタで構成し、このシフトレジスタの
各段からの出力が一緒になつて演算器から演算結
果格納レジスタへの演算結果の転送を制御するよ
うにし、各マスターコントロールリセツト
(MCR)命令は直前のマスターコントロールセツ
ト(MCS)命令の条件のみをリセツトするよう
にしている。
In this invention, the master control register is composed of a shift register into which new conditions are sequentially input for each master control set instruction (MCS), and the outputs from each stage of this shift register are combined and output from the arithmetic unit. The transfer of the operation results to the operation result storage register is controlled, and each master control reset (MCR) instruction resets only the conditions of the immediately preceding master control set (MCS) instruction.

第4図はこの発明の実施例を示す。 FIG. 4 shows an embodiment of the invention.

11はシフトレジスタを使用したマスターコン
トロールレジスタで、このレジスタ11のそれぞ
れの段から取り出された出力群はインバータゲー
ト群13を通してアンドゲート14に入る。一
方、入力情報Aは演算器12により演算結果格納
レジスタ15の内容Eと論理演算され、マスター
コントロールレジスタ11の出力群の論理積信号
である信号Cとアンドゲート17で論理積処理さ
れ、演算結果15にラツチされる。さらにこの内
容Eはインバータゲート16を介してマスターコ
ントロールレジスタ11の最下段のビツト位置に
接続される。
Reference numeral 11 denotes a master control register using a shift register, and output groups taken out from each stage of this register 11 enter an AND gate 14 through an inverter gate group 13. On the other hand, the input information A is logically operated with the content E of the operation result storage register 15 by the arithmetic unit 12, and is ANDed with the signal C, which is the AND signal of the output group of the master control register 11, by the AND gate 17, and the operation result is It is latched at 15. Furthermore, this content E is connected to the lowest bit position of the master control register 11 via an inverter gate 16.

このような構成おいて、マスターコントロール
レジスタ11の全ビツトは電源投入直後或いは
「マスターコントロールレジスタの全ビツトのク
リア命令」(これをCLRM命令と称する)によつ
てリセツトされる。このマスターコントロールレ
ジスタの全ビツトはアンドゲート14によつて論
理積をとられるので、これらのビツトのうち少な
くとも1つの論理値“1”があつた場合アンドゲ
ート14の出力信号である信号Cは論理値“0”
となる。一方、入力情報Aは演算器12によりそ
れまでの演算結果信号である信号Eと論理演算処
理され、アンドゲート17を介してレジスタ15
にラツチされる。
In such a configuration, all bits of the master control register 11 are reset immediately after power is turned on or by a "clear all bits of the master control register command" (this is called a CLRM command). All bits of this master control register are logically ANDed by the AND gate 14, so if at least one of these bits has a logic value of "1", the signal C, which is the output signal of the AND gate 14, becomes a logic product. Value “0”
becomes. On the other hand, the input information A is subjected to logical operation processing by the arithmetic unit 12 with the signal E, which is the result of the previous calculations, and is passed through the AND gate 17 to the register 15.
is latched to.

MCS命令実行時はレジスタ15の出力信号E
はインバータゲート16を介してレジスタ11の
最下段にラツチされ、以下図のように上方に1ビ
ツトずつマスタコントロールレジスタの内容がシ
フトする。またMCR命令では図示したようにレ
ジスタ11の最上段位置に論理値“0”が入り、
以下順に下方に1ビツトずつシフトする。
When the MCS instruction is executed, the output signal E of register 15
is latched to the lowest stage of the register 11 via the inverter gate 16, and the contents of the master control register are shifted upward one bit at a time as shown below. In addition, in the MCR instruction, as shown in the figure, a logical value "0" is entered at the top position of register 11,
The bits are shifted downward one bit at a time in the following order.

このような構造をもつマスターコントロールレ
ジスタ回路では、第2図のようにシーケンスを書
き換える必要はなく、第7図のように効率よくプ
ログラムできる。すなわち、第7図では、ステツ
プ4,6,14のMCS命令により分岐点A,B,
Dの状態がレジスタ11の下かた3段目、2段
目、1段目にそれぞれ記憶される。もし、分岐点
Aの状態が「0」であればレジスタ11には
「1」が書込まれるため、信号Cは「0」となり
レジスタ5は「0」にセツトされたままである。
したがつて分岐点B,Dの状態も「0」であり、
レジスタ11の下3段には「1」が書込まれる。
これに対して分岐点A,Bの状態は「1」である
が、接点1.3が「0」(オフ)であるため分岐点D
の状態のみが「0」であるとすると、レジスタ1
1の最下段のみが「1」となる。そしてステツプ
21のMCS命令によりレジスタ11がシフトさ
れて最下段「1」がなくなると分岐点A,Bの状
態に基づいてその以後のステツプによる制御が行
なわれる。同様にステツプ25のMCR命令によ
りレジスタ11の最下段に記憶されている分岐点
Bの状態がシフトされてなくなり、ステツプ26
からは分岐点Aの状態にのみ基づいてプログラム
が実行される。
In a master control register circuit having such a structure, there is no need to rewrite the sequence as shown in FIG. 2, and programming can be performed efficiently as shown in FIG. 7. That is, in FIG. 7, branch points A, B,
The state of D is stored in the third, second, and first stages of the register 11, respectively. If the state of branch point A is "0", "1" is written to register 11, so signal C becomes "0" and register 5 remains set to "0".
Therefore, the states of branch points B and D are also "0",
“1” is written in the lower three stages of the register 11.
On the other hand, the states of branch points A and B are "1", but since contact 1.3 is "0" (off), branch point D
If only the state of register 1 is "0", register 1
Only the bottom row of 1 becomes "1". Then, when the register 11 is shifted by the MCS instruction in step 21 and the lowest ``1'' is removed, control in subsequent steps is performed based on the states of branch points A and B. Similarly, the MCR instruction in step 25 shifts the state of branch point B stored in the bottom row of register 11 to disappear, and the state of branch point B stored in the bottom row of register 11 is shifted to disappear.
From then on, the program is executed based only on the state of branch point A.

また、第4図のマスターコントロールレジスタ
回路は、前述したようなCLRM命令を使用すれ
ばマスターコントロールレジスタ11の内容が一
括してリセツトされるため、第3図のようなマス
ターコントロールレジスタとしても簡単に使用で
きる。
Furthermore, the master control register circuit shown in Fig. 4 can be easily used as a master control register as shown in Fig. 3, since the contents of the master control register 11 can be reset all at once by using the CLRM instruction as described above. Can be used.

なお、第4図のようなマスターコントロールレ
ジスタ回路はハードウエアによる論理構成でも、
マイクロ・セントラル・プロセシング・ユニツト
を用いたインタプリタ方式にても実現することが
できる。
Note that even if the master control register circuit shown in Figure 4 has a logical configuration using hardware,
It can also be realized by an interpreter method using a micro central processing unit.

以上の説明から理解されるように、この発明に
よれば、プログラマブルコントローラに備わつて
いる一機能であるマスターコントロール機能を多
段構成のシフトレジスタで与えるようにしたた
め、インタロツク条件が複雑でしかも数段の条件
を必要とするようなシーケンスを効率よく、そし
て新たに補助リレーを使用する等のシーケンスの
書換えを必要とすることなく、プログラムするこ
とができる。
As can be understood from the above description, according to the present invention, the master control function, which is one of the functions provided in a programmable controller, is provided by a multi-stage shift register. Sequences that require these conditions can be programmed efficiently and without the need to rewrite the sequence, such as by using a new auxiliary relay.

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

第1図はマスターコントロール機能を使用する
のに適したシーケンスの例を示す図、第2図は同
じ条件のイインターロツクのためにマスターコン
トロールレジスタの条件を再度最初からプログラ
ムする必要を除去するように第1図のシーケンス
を変更したものを示す図、第3図は従来のマスタ
ーコントロールレジスタ回路を示す図、第4図は
この発明の実施例を示す図、第5図は第3図のマ
スターコントロールレジスタ回路を用いるプログ
ラマブルシーケンスコントローラで第1図のシー
ケンスをプログラムする場合の命令の与え方を示
す図、第6図は第5図の場合と同じシーケンスコ
ントローラで第2図のシーケンスをプログラムす
る場合の命令の与え方を示す図、第7図は第4図
のようなこの発明に従うマスターコントロールレ
ジスタ回路を用いるプログラマブルシーケンスコ
ントローラで第1図のシーケンスをプログラムす
る場合の命令の与え方を示す図である。 11:シフトレジスタ、12:演算器、13:
インバータゲート、14:アンドゲート、15:
演算結果格納レジスタ、16:インバータゲー
ト、17:アンドゲート。
FIG. 1 shows an example of a sequence suitable for using the master control function, and FIG. 2 shows an example of a sequence suitable for using the master control function, and FIG. 3 shows a conventional master control register circuit, FIG. 4 shows an embodiment of the present invention, and FIG. 5 shows the master control register circuit in FIG. 3. A diagram showing how to give instructions when programming the sequence shown in Figure 1 with a programmable sequence controller that uses a control register circuit. Figure 6 shows the case where the sequence shown in Figure 2 is programmed using the same sequence controller as in Figure 5. FIG. 7 is a diagram showing how to give instructions when programming the sequence shown in FIG. 1 with a programmable sequence controller using the master control register circuit according to the present invention as shown in FIG. be. 11: Shift register, 12: Arithmetic unit, 13:
Inverter gate, 14: AND gate, 15:
Operation result storage register, 16: inverter gate, 17: AND gate.

Claims (1)

【特許請求の範囲】[Claims] 1 ラダー図等に基づくプログラムによる演算結
果を一時的に格納する演算結果格納レジスタと、
該演算結果格納レジスタの内容と次の命令による
入力情報とを演算する演算器と、シフトレジスタ
にて構成され、マスタコントロールセツト命令が
加えられる毎に、その時点の前記演算結果格納レ
ジスタの内容を順次シフトさせて記憶し、マスタ
ーコントロールリセツト命令が加えられる毎に記
憶されている前記演算結果格納レジスタの内容を
記憶時とは反対にシフトさせて消去していくマス
タコントロールレジスタと、該マスタコントロー
ルレジスタの全ビツトの論理出力と前記演算器の
演算結果出力との論理積出力を前記演算結果格納
レジスタに格納する論理制御回路とからなること
を特徴とするマスタコントロールレジスタ回路。
1 A calculation result storage register that temporarily stores calculation results by a program based on a ladder diagram, etc.;
It consists of an arithmetic unit that calculates the contents of the operation result storage register and information input by the next instruction, and a shift register, and each time a master control set instruction is added, the contents of the operation result storage register at that time are updated. A master control register which sequentially shifts and stores the contents of the operation result storage register and which erases the stored contents of the operation result storage register by shifting the contents in the opposite direction to the time of storage each time a master control reset command is applied; and the master control register. A master control register circuit comprising a logic control circuit for storing an AND output of all bits of the logical output of the arithmetic unit and the arithmetic result output of the arithmetic unit in the arithmetic result storage register.
JP7301682A 1982-04-30 1982-04-30 Master control register circuit Granted JPS58191007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7301682A JPS58191007A (en) 1982-04-30 1982-04-30 Master control register circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7301682A JPS58191007A (en) 1982-04-30 1982-04-30 Master control register circuit

Publications (2)

Publication Number Publication Date
JPS58191007A JPS58191007A (en) 1983-11-08
JPS6337403B2 true JPS6337403B2 (en) 1988-07-25

Family

ID=13506114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7301682A Granted JPS58191007A (en) 1982-04-30 1982-04-30 Master control register circuit

Country Status (1)

Country Link
JP (1) JPS58191007A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638803A (en) * 1986-06-27 1988-01-14 Koyo Denshi Kogyo Kk Programmable controller
JP2526703B2 (en) * 1990-04-19 1996-08-21 三菱電機株式会社 Programmable controller
AU2014354929A1 (en) 2013-11-27 2016-07-07 Medrobotics Corporation Oral retraction devices and methods

Also Published As

Publication number Publication date
JPS58191007A (en) 1983-11-08

Similar Documents

Publication Publication Date Title
US4129901A (en) Plural-sequence control system
JPS60262204A (en) Programmable controller
JPH11291185A (en) Robot controller
JPS6337403B2 (en)
US3806714A (en) Sequence controller
US4621317A (en) Arithmetic logic unit of a sequence controller
US4493029A (en) Microprocessor with PLA adapted to implement subroutines
JPS5936787B2 (en) Input/output information deletion method
JPS6243201B2 (en)
US4761750A (en) Electronic calculator with a program calculation function
JP2543781B2 (en) Method for creating sequence program for controller for injection molding machine
JP2921259B2 (en) Processing method of multi-branch instruction
JP2506070B2 (en) Sequence controller
JP2902888B2 (en) Programmable controller
JPH0228757A (en) document creation device
JPS6336523B2 (en)
JP3221003B2 (en) Input/Output Ports
US4651295A (en) Electronic desk-top calculator
JPS61187008A (en) Input method of ladder circuit
JPS6195448A (en) Microcomputer
JPS6116109B2 (en)
JPS60256862A (en) Output port control system of microcomputer
JPS6129950A (en) Displaying method of water's going-out and coming-in
JPH07271418A (en) Editing system for nc program
JPH01185703A (en) Programmable controller