JPH0249577B2 - SHUTSURYOKUSEIGYOKAIRO - Google Patents
SHUTSURYOKUSEIGYOKAIROInfo
- Publication number
- JPH0249577B2 JPH0249577B2 JP20695283A JP20695283A JPH0249577B2 JP H0249577 B2 JPH0249577 B2 JP H0249577B2 JP 20695283 A JP20695283 A JP 20695283A JP 20695283 A JP20695283 A JP 20695283A JP H0249577 B2 JPH0249577 B2 JP H0249577B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- signal
- counter
- input
- memory
- 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 - Lifetime
Links
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 1
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、現在出力制御中のデータにより入
力の選択を行うようにして、出力制御を決定する
入力を任意に変更できる出力制御回路に関するも
のである。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an output control circuit that can arbitrarily change the input that determines the output control by selecting the input based on the data currently under output control. be.
第1図は従来の出力制御回路で、1はフリツプ
フロツプ、2,5,8は正方向への電圧の変化に
より(“L”から“H”)“L”方向のパルスを発
生するパルス発生回路、3,6,9は2入力の
NANDゲートで構成されたフリツプフロツプ、
4,7,10は2入力のANDゲートである。
Y0,Y1,Y2は出力信号であり、X0,X1,X2の
入力信号により制御される。
Figure 1 shows a conventional output control circuit, where 1 is a flip-flop, and 2, 5, and 8 are pulse generation circuits that generate pulses in the "L" direction (from "L" to "H") when the voltage changes in the positive direction. , 3, 6, 9 are two-input
A flip-flop consisting of NAND gates,
4, 7, and 10 are two-input AND gates.
Y 0 , Y 1 , and Y 2 are output signals, which are controlled by the input signals X 0 , X 1 , and X 2 .
その動作を説明すると、スタート信号101に
よつてフリツプフロツプ1のQ端子が“H”にな
ると、パルス発生回路2を通してフリツプフロツ
プ3が反転されてANDゲート4よりの出力信号
Y0が“H”となり、入力信号X0が“L”に変化
するまで出力信号Y0は“H”となる。入力信号
X0が“L”になるとパルス発生回路5を通して
フリツプフロツプ6が反転され、ANDゲート7
よりの出力信号Y1が“H”となる。出力信号Y1
は入力信号X1が“L”に変化するまで“H”と
なる。次に、入力信号X1が“L”になるとパル
ス発生回路8を通してフリツプフロツプ9が反転
され、ANDゲート10よりの出力信号Y2が
“H”となる。出力信号Y2は入力信号X2が“L”
に変化するまで“H”となる。 To explain its operation, when the Q terminal of the flip-flop 1 becomes "H" by the start signal 101, the flip-flop 3 is inverted through the pulse generating circuit 2, and the output signal from the AND gate 4 is inverted.
Y0 becomes "H" and the output signal Y0 remains "H" until the input signal X0 changes to "L". input signal
When X0 becomes "L", the flip-flop 6 is inverted through the pulse generation circuit 5, and the AND gate 7 is inverted.
The output signal Y1 becomes "H". Output signal Y 1
remains "H" until the input signal X1 changes to "L". Next, when the input signal X1 becomes "L", the flip-flop 9 is inverted through the pulse generating circuit 8, and the output signal Y2 from the AND gate 10 becomes "H". Output signal Y 2 is “L” when input signal X 2 is
It remains "H" until it changes to .
このように制御された出力信号Y0,Y1,Y2に
よつてモータや電磁バルブを動作させて機械の制
御を行つていた。 The thus controlled output signals Y 0 , Y 1 , and Y 2 were used to operate motors and electromagnetic valves to control the machine.
上記、従来の制御の場合、出力信号Y0の制御
のための入力信号はX0、出力信号Y1の制御のた
めの入力信号はX1、出力信号Y2の制御のための
出力信号はX2と固定され、機械の動作の変更に
対しては非常に対応しにくくなつていた。 In the case of the above conventional control, the input signal for controlling the output signal Y 0 is X 0 , the input signal for controlling the output signal Y 1 is X 1 , and the output signal for controlling the output signal Y 2 is X 2 was fixed, making it extremely difficult to respond to changes in machine operation.
〔発明の概要〕
この発明は、上記の欠点を除去するためになさ
れたもので、デコーダに入力を行うカウンタの出
力に応じあらかじめ定めたプログラムにより所要
の信号を発生するメモリを設けて、現在出力制御
中のデータにより入力の選択を行うことができる
ようにした出力制御回路を供給するものである。[Summary of the Invention] The present invention has been made to eliminate the above-mentioned drawbacks, and includes a memory that generates a required signal according to a predetermined program according to the output of a counter that inputs to a decoder. The present invention provides an output control circuit that can select an input based on the data being controlled.
第2図はこの発明の一実施例を示す回路構成図
である。この図において、11はアツプダウンカ
ウンタで、端子A〜DはICの電源であり、例え
ば5Vのコモン側に接続されている。はボロ
ー端子(同時に信号も表す。他の符号についても
同じとする。)、は初期設定端子、CDはカ
ウントダウン入力端子である。12はパルス発生
回路、13はカウンタで、パルス発生回路12の
出力をカウントする、14は2ビツトバイナリ4
ラインのデコーダで、カウンタ13の出力値に応
じて制御対象機器を制御するために信号Y0〜Y3
の出力を行う。15はプログラマブルなメモリ
で、あらかじめ定めたプログラムにより前もつて
種々のデイジタルパターンが書き込まれており、
カウンタ13の出力値に応じてその中の特定のデ
イジタルパターンを発生する。16はR−S形の
フリツプフロツプ、17,18,19,20,2
1は4ライントウ1ライン形のデータセレクタ
で、アツプダウンカウンタ11に印加する制御の
ために入力信号X0〜X3のうちの1つを選択する
ためのもので、メモリ15から発生する前記特定
のデイジタルパターンを受けて動作可能となり、
入力信号X0〜X3のいずれかがアツプダウンカウ
ンタ11に印加され、その信号のパルス数に応じ
てカウントダウンさせる。
FIG. 2 is a circuit diagram showing an embodiment of the present invention. In this figure, 11 is an up-down counter, and terminals A to D are the power supply of the IC, and are connected to the common side of, for example, 5V. is a borrow terminal (also represents a signal. The same applies to other symbols), is an initial setting terminal, and CD is a countdown input terminal. 12 is a pulse generation circuit, 13 is a counter that counts the output of the pulse generation circuit 12, and 14 is a 2-bit binary 4
The line decoder outputs signals Y 0 to Y 3 to control the device to be controlled according to the output value of the counter 13.
Outputs. 15 is a programmable memory in which various digital patterns are written in advance according to a predetermined program;
A specific digital pattern is generated depending on the output value of the counter 13. 16 is an R-S type flip-flop, 17, 18, 19, 20, 2
1 is a 4-line to 1-line type data selector for selecting one of the input signals X 0 to X 3 for control to be applied to the up-down counter 11; It becomes possible to operate after receiving the digital pattern of
Any one of the input signals X0 to X3 is applied to the up-down counter 11, and the up-down counter 11 is counted down according to the number of pulses of that signal.
次に、動作について説明する。 Next, the operation will be explained.
スタート信号101が入るとフリツプフロツプ
16のQ端子がHとなつて動作可能となり、カゥ
ンタ13の出力信号A0,B0がともに“L”のた
めデコーダ14のY0出力のみが“H”出力され
ている状態となる。カウンタ13の出力信号A0,
B0はメモリ15およびデータセレクタ17の端
子A0,A1,SA,SBにそれぞれ接続されており、
今、メモリ15のプログラムが端子A0,A1への
アドレス入力に対して端子D0,D1の信号をアド
レスの“H”、“L”と同じようにプログラムした
場合は、データセレクタ17の出力端子Yの信号
はデータセレクタ17の端子D0の信号がそのま
ま出力される状態となり、データセレクタ17の
出力端子Yの信号はアツプダウンカウンタ11の
カウントダウン入力端子CDに接続されているの
で、入力信号X0の“L”から“H”の変化によ
りアツプダウンカウンタ11はカウントダウンで
使用しているためボロー信号が出力され、
このパルス発生回路12を通してカウンタ13は
「1」だけカウントアツプされ、A0→“H”,B0
→“L”となる。したがつて、Y0→“L”とな
り出力Y1のみ“H”となる。A0→“H”,B0→
“L”となつたことによりデータセレクタ17の
出力信号Yはデータセレクタ17の信号D1がそ
のまま出力される状態となり、入力信号X1の
“L”から“H”への変化でY1→“L”,Y2→
“H”となる。以後は、出力信号A0,B0の状態
に応じて入力信号X2,X3の“L”から“H”へ
の変化により出力信号Y2,Y3が制御できること
になる。そして、ストツプ信号102がフリツプ
フロツプ16に入ると上記の動作は停止する。 When the start signal 101 is input, the Q terminal of the flip-flop 16 becomes H and becomes operational, and since the output signals A 0 and B 0 of the counter 13 are both "L", only the Y 0 output of the decoder 14 is outputted as "H". The state is as follows. The output signal A 0 of the counter 13,
B 0 is connected to the memory 15 and the terminals A 0 , A 1 , S A , and S B of the data selector 17, respectively.
Now, if the program of the memory 15 programs the signals of the terminals D 0 and D 1 in the same way as the address "H" and "L" in response to the address input to the terminals A 0 and A 1 , the data selector 17 The signal at the output terminal Y of the data selector 17 is output as is , and the signal at the output terminal Y of the data selector 17 is connected to the countdown input terminal CD of the up-down counter 11. Since the up-down counter 11 is used for countdown due to the change of the input signal X0 from "L" to "H", a borrow signal is output.
The counter 13 is counted up by "1" through this pulse generating circuit 12, and A 0 → "H", B 0
→ becomes “L”. Therefore, Y 0 becomes "L" and only the output Y 1 becomes "H". A 0 →“H”, B 0 →
Since the output signal Y of the data selector 17 becomes "L", the signal D 1 of the data selector 17 is output as is, and when the input signal X 1 changes from "L" to "H", Y 1 → “L”, Y 2 →
It becomes “H”. Thereafter, the output signals Y 2 and Y 3 can be controlled by changing the input signals X 2 and X 3 from "L" to "H" according to the states of the output signals A 0 and B 0 . When the stop signal 102 is input to the flip-flop 16, the above operation is stopped.
以上はメモリ15のプログラムを、入力アドレ
スを決定している出力A0,B0と同じデータを出
力するようにプログラムした場合であるが、メモ
リ15のプログラムを出力制御に必要な入力信号
であるX0,X1,X2,X3に対応して下記のように
プログラムすれば任意の入力で出力を制御するこ
とが可能になる。 The above is a case where the program in the memory 15 is programmed to output the same data as the outputs A 0 and B 0 that determine the input address, but the program in the memory 15 is an input signal necessary for output control. By programming as shown below corresponding to X 0 , X 1 , X 2 , and X 3 , it becomes possible to control the output with any input.
すなわち、カウンタ13の出力A0,B0がメモ
リ15の端子A0,A1に接続されているため、メ
モリ15のアドレスである「A0,A1」の「1,
1」に対して、メモリ15のデータ出力の端子
D0,D1が「1,1」となるようにメモリ15を
プログラムした場合、データセレクタ17はカウ
ンタ13の出力A0,B0に接続されているので、
データセレクタ17の端子D3の入力がデータセ
レクタ17の出力端子Yに出る様になつている状
態で、端子D3に接続されているデータセレクタ
21の端子SA,SBが「1,1」なので、入力信
号X3の信号の変化がデータセレクタ21の出力
端子Yを通してデータセレクタ17の端子D3に
伝送される。 That is, since the outputs A 0 , B 0 of the counter 13 are connected to the terminals A 0 , A 1 of the memory 15, the address “A 0 , A 1 ” of the memory 15 is “1,”
1”, the data output terminal of memory 15
If the memory 15 is programmed so that D 0 and D 1 are "1, 1", the data selector 17 is connected to the outputs A 0 and B 0 of the counter 13, so
In a state where the input of the terminal D 3 of the data selector 17 is outputted to the output terminal Y of the data selector 17, the terminals S A and S B of the data selector 21 connected to the terminal D 3 are "1, 1". ” Therefore, a change in the input signal X 3 is transmitted to the terminal D 3 of the data selector 17 through the output terminal Y of the data selector 21.
このようにメモリ15の端子A0,A1と、端子
D0,D1が同じになるようにプログラムすれば、
データセレクタ17の端子D0,D1,D2,D3に入
力信号X0,X1,X2,X3をデータセレクタ18〜
21を通さずに直接接続したのと同じにすること
ができる。 In this way, the terminals A 0 and A 1 of the memory 15 and the terminal
If you program so that D 0 and D 1 are the same,
Input signals X 0 , _ _ _
It can be the same as connecting directly without going through 21.
また、メモリ15の端子A0,A1に対して端子
D0,D1を、例えばA0,A1が「0,0」の時に
D0,D1が「1,0」となるようにプログラムす
れば、データセレクタ17の端子D0には、デー
タセレクタ18から入力信号X1が伝達される。 Also, for the terminals A 0 and A 1 of the memory 15,
D 0 and D 1 , for example, when A 0 and A 1 are "0, 0"
If D 0 and D 1 are programmed to be “1, 0”, the input signal X 1 is transmitted from the data selector 18 to the terminal D 0 of the data selector 17 .
このときA0,A1の「0,0」に対し、D0,D1
を「0,1」とすれば同じく入力信号X2が伝達
される。 At this time, for A 0 and A 1 “0, 0”, D 0 and D 1
If it is set to "0, 1", the input signal X 2 is similarly transmitted.
また、A0,A1の「0,0」に対し、D0,D1を
「1,1」とすれば同期にして入力信号X3が伝達
される。 Furthermore, if D 0 and D 1 are set to "1, 1" while A 0 and A 1 are "0, 0", the input signal X 3 is transmitted synchronously.
同様に、A0,A1が「1,0」の時に、D0,D1
を「0,0」,「1,0」「0,1」「1,1」にな
るようにプログラムすれば、データセレクタ17
の端子D1には、それぞれ入力信号X0,X1,X2,
X3が接続されたのと同様になる。 Similarly, when A 0 and A 1 are "1, 0", D 0 and D 1
If you program it so that it becomes "0,0", "1,0", "0,1", "1,1", the data selector 17
The input signals X 0 , X 1 , X 2 ,
It will be the same as when X 3 is connected.
ところで、普通、出力制御回路は出力点数、入
力点数が決定されて回路構成されているので、必
要な出力点数および入力点数だけ第2図の回路構
成で用意すればメモリ15のプログラム変更によ
り出力制御を決定する入力を任意に変更できる出
力制御回路が実現できる。 By the way, the output control circuit is normally configured with the number of output points and input points determined, so if the required number of output points and input points are prepared using the circuit configuration shown in FIG. It is possible to realize an output control circuit that can arbitrarily change the input that determines the output.
このような出力制御装置を使用すれば機械の動
作の変更に対してハード的な入力信号の配線を変
更することでなく、プログラマブルなメモリのデ
ータの変更のみで対応できる。 If such an output control device is used, it is possible to respond to changes in machine operation by simply changing the data in the programmable memory, without changing the hardware input signal wiring.
以上詳細に説明したようにこの発明は、デコー
ダを制御するカウンタの出力であらかじめ定めた
メモリの出力を呼び出し、次の判断を行うように
したので、入力の自動設定ができる利点がある。
As described in detail above, the present invention has the advantage that inputs can be automatically set because the output of a predetermined memory is called up using the output of a counter that controls a decoder and the next determination is made.
第1図は従来の出力制御回路を示すブロツク
図、第2図はこの発明の一実施例を示す回路図で
ある。
図中、11はアツプダウンカウンタ、12はパ
ルス発生回路、13はカウンタ、14はデコー
ダ、15はメモリ、16はフリツプフロツプ、1
7,18,19,20,21はデータセレクタで
ある。
FIG. 1 is a block diagram showing a conventional output control circuit, and FIG. 2 is a circuit diagram showing an embodiment of the present invention. In the figure, 11 is an up-down counter, 12 is a pulse generation circuit, 13 is a counter, 14 is a decoder, 15 is a memory, 16 is a flip-flop, 1
7, 18, 19, 20, and 21 are data selectors.
Claims (1)
と、このアツプダウンカウンタの出力で動作しパ
ルスを出力するパルス発生回路と、このパルス発
生回路の出力をカウントするカウンタと、このカ
ウンタの出力値に応じて制御対象機器を制御する
ための信号の出力を行うデコーダを有し、さら
に、前記カウンタの出力値に応じあらかじめ定め
たプログラムにより前もつて書き込んだ種々のデ
イジタルパターンのうち、特定のデイジタルパタ
ーンを発生するメモリと、このメモリからの前記
特定のデイジタルパターンを受けて動作可能とな
り前記アツプダウンカウンタに入力信号を加える
データセレクタとを具備したことを特徴とする出
力制御回路。1. An up-down counter that is controlled by an input signal, a pulse generation circuit that operates based on the output of this up-down counter and outputs pulses, a counter that counts the output of this pulse generation circuit, and a counter that counts the output of this pulse generation circuit. It has a decoder that outputs a signal for controlling the device to be controlled, and further generates a specific digital pattern among various digital patterns written in advance according to a predetermined program according to the output value of the counter. and a data selector that becomes operable upon receiving the specific digital pattern from the memory and applies an input signal to the up-down counter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20695283A JPH0249577B2 (en) | 1983-11-02 | 1983-11-02 | SHUTSURYOKUSEIGYOKAIRO |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20695283A JPH0249577B2 (en) | 1983-11-02 | 1983-11-02 | SHUTSURYOKUSEIGYOKAIRO |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6098725A JPS6098725A (en) | 1985-06-01 |
JPH0249577B2 true JPH0249577B2 (en) | 1990-10-30 |
Family
ID=16531735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP20695283A Expired - Lifetime JPH0249577B2 (en) | 1983-11-02 | 1983-11-02 | SHUTSURYOKUSEIGYOKAIRO |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0249577B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0580077U (en) * | 1992-03-30 | 1993-10-29 | 日本電気ホームエレクトロニクス株式会社 | Remote control standby power circuit |
-
1983
- 1983-11-02 JP JP20695283A patent/JPH0249577B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0580077U (en) * | 1992-03-30 | 1993-10-29 | 日本電気ホームエレクトロニクス株式会社 | Remote control standby power circuit |
Also Published As
Publication number | Publication date |
---|---|
JPS6098725A (en) | 1985-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4028560A (en) | Contact bounce transient pulse circuit eliminator | |
JP2643146B2 (en) | Clock generation circuit of microcomputer | |
JPH0114739B2 (en) | ||
JPS634151B2 (en) | ||
US4979172A (en) | Microcomputer | |
JPH0249577B2 (en) | SHUTSURYOKUSEIGYOKAIRO | |
JPS638493B2 (en) | ||
JPS59140514A (en) | Controller for positioning pattern | |
SU1280449A2 (en) | Programmer for writing information in semiconductor memory elements | |
JP2867480B2 (en) | Memory switching circuit | |
KR950003378Y1 (en) | Interface circuit | |
JP3619629B2 (en) | Memory access time control device | |
JPH02280263A (en) | Microprocessor | |
JP2767794B2 (en) | Microcomputer | |
JP3051937B2 (en) | Variable counting pulse signal generator | |
JPS6359167B2 (en) | ||
JPH01199395A (en) | Writing and erasing time control circuit | |
JPH045292B2 (en) | ||
JPH0353342A (en) | Test mode setting circuit | |
JPH04332040A (en) | Wait generator | |
JPH0776784B2 (en) | Test pattern generator | |
JPH0317768A (en) | Wait control system | |
JPS61190631A (en) | Clock interval control system | |
JPS62237896A (en) | Counter data controller | |
JPH06325186A (en) | One-chip microcomputer and its manufacture |