JPS63208905A - Sequence generating circuit - Google Patents

Sequence generating circuit

Info

Publication number
JPS63208905A
JPS63208905A JP4134687A JP4134687A JPS63208905A JP S63208905 A JPS63208905 A JP S63208905A JP 4134687 A JP4134687 A JP 4134687A JP 4134687 A JP4134687 A JP 4134687A JP S63208905 A JPS63208905 A JP S63208905A
Authority
JP
Japan
Prior art keywords
sequence
memory
time
stores
output
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
JP4134687A
Other languages
Japanese (ja)
Inventor
Yasuhiro Noro
康宏 野呂
Junichi Arai
純一 荒井
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4134687A priority Critical patent/JPS63208905A/en
Publication of JPS63208905A publication Critical patent/JPS63208905A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a general-purpose and high-speed sequence generating circuit by storing the sequence state and its changing time point. CONSTITUTION:A sequence generating circuit consists of a sequence memory 1 which stores the sequence state, a time memory 2 which stores the changing time point of the sequence, an initial value memory 3, an output selection register 4, a control part 5, a clock 6, and an external setting device 7 of a personal computer, etc. set via an interface 8. The part 5 includes a counter 51, a timer 52 and a comparator 53. Thus the contents of the memory 3 are outputted while the register 4 is selecting the initial value and furthermore the contents of the memory 1 can be freely programmed under the control of the part 5. At the same time, the part 5 performs the control so that the sequence state is successively changed by the contents of the memory 2 as well as the clock 6 while the register 4 is selecting a sequence.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、制御装置として広範に使用されているシーケ
ンス発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a sequence generation circuit that is widely used as a control device.

(従来の技術) 従来、シーケンス発生回路としては、リレーやカムを用
いた機械式、ダイオードマトリクスを用いたピンボード
式、マイクロプロセッサを用いたプログラマブルコント
ローラ等が用いられた(昭和58年10月オーム社発行
 自動制御ハンドブック(機器・応用編)7章シーケン
ス制御機器)。
(Prior art) Conventionally, as a sequence generation circuit, a mechanical type using a relay or a cam, a pin board type using a diode matrix, a programmable controller using a microprocessor, etc. have been used (October 1981 Ohm Automatic Control Handbook (Equipment/Application Edition) Chapter 7 Sequence Control Equipment) published by the company.

(発明が解決しようとする問題点) しかしながら5機械式やビンボード式では、シーケンス
プログラムの変更を手動で行なうため。
(Problems to be Solved by the Invention) However, in the 5 mechanical type and the bin board type, the sequence program is changed manually.

汎用装置として使用する場合や、大規模システムを対象
として使用するのは不適であった。
It was unsuitable for use as a general-purpose device or for large-scale systems.

一方、プログラマブルコントローラでは、入力収1M、
プログラムの実行、自己診断、出力転送といった一連の
処理をマイクロプロセッサで行なっているために、それ
に要する時間(スキャンタイム)が110m5ec−1
00w+sac程度かかり、 これ以上高速に動作させ
ることは非常に困難となる。
On the other hand, in a programmable controller, the input power is 1M,
Since a series of processes such as program execution, self-diagnosis, and output transfer are performed by a microprocessor, the time required (scan time) is 110m5ec-1
It takes approximately 00w+sac, and it is extremely difficult to operate at higher speeds.

本発明の目的は、上記従来技術の問題点を解決し、汎用
でなおかつ高速に動作できるシーケンス発生回路を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the prior art described above and to provide a sequence generation circuit that is versatile and can operate at high speed.

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段) 本発明はかかる目的を達成するために、シーケンスの状
態を記憶するメモリと、時刻または時間差を記憶するメ
モリと、初期値を記憶するメモリと、出力選択レジスタ
と、これらを制御する制御部と、クロックから構成され
る。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a memory that stores the state of a sequence, a memory that stores time or a time difference, a memory that stores an initial value, and an output selection register. , a control unit that controls these, and a clock.

(作 用) 前記手段において、出力選択レジスタが、初期値を選択
している期間では、初期値メモリの内容が出力され、な
おかつ、シーケンスメモリの内容は自由にプログラムで
きる様、制御部より制御される。
(Function) In the above means, during the period in which the output selection register selects the initial value, the contents of the initial value memory are output, and the contents of the sequence memory are controlled by the control unit so that they can be freely programmed. Ru.

一方、出力選択レジスタがシーケンスを選択している期
間では、クロックと、時刻メモリの内容によって、シー
ケンス状態が順次変化していく様、制御部から制御され
る。
On the other hand, during the period in which the output selection register is selecting the sequence, the control unit controls the sequence state to change sequentially depending on the clock and the contents of the time memory.

(実施例) 第1図は本発明の一実施例を示すシーケンス発生回路の
構成を示すブロック図である。
(Embodiment) FIG. 1 is a block diagram showing the configuration of a sequence generation circuit showing an embodiment of the present invention.

第1図において、1はシーケンスの状態を記憶するメモ
リで、出力の点数Nとシーケンス状態の最大変化回数2
−1 に応じたRAMで構成される。2はシーケンスの
変化時刻を記憶するメモリで、RAMより構成されその
アドレス長はシーケンスメモリ1と同一である。3は初
期値を記憶するメモリ、4は出力選択レジスタであり、
それぞれの出力点数はNでシーケンスメモリ1と同一で
ある。iは制御部でその構成は例えば点線枠に示すよう
にカウンタ51.タイマ52.比較器53から成る。ま
た、6はシーケンス時刻の基準を与えるクロックで、そ
の周期をΔTとする。7はシーケンスの状態を設定、制
御するための装置で、例えばパソコンやプロコン等が用
いられ、インターフェース8を介して本シーケンス発生
回路に設定を行なう。
In Figure 1, 1 is a memory that stores the sequence state, the number of output points N and the maximum number of changes in the sequence state 2
-1 consists of RAM according to Reference numeral 2 denotes a memory for storing sequence change times, which is composed of a RAM and has the same address length as the sequence memory 1. 3 is a memory for storing initial values, 4 is an output selection register,
The number of output points for each is N, which is the same as in sequence memory 1. i is a control unit, and its configuration includes, for example, a counter 51.i as shown in a dotted line frame. Timer 52. It consists of a comparator 53. Further, 6 is a clock that provides a reference for sequence time, and its period is assumed to be ΔT. Reference numeral 7 denotes a device for setting and controlling the state of the sequence, such as a personal computer or a processor, and setting is made to the sequence generation circuit via an interface 8.

本発明の動作は大きく以下の三つに分けられる。The operation of the present invention can be broadly divided into the following three parts.

ω 初期状態の設定 ■ シーケンス状態の設定 ■ シーケンス動作 次に■、■項については第2図に示すタイムチャートを
用いて、また■については第3図に示すタイムチャート
を用いて説明する。
ω Initial state setting ■ Sequence state setting ■ Sequence operation Next, items (1) and (2) will be explained using the time chart shown in FIG. 2, and (2) will be explained using the time chart shown in FIG. 3.

第1図で、制御信号15−1がロジック“1”の状燻の
時は出力選択レジスタ4は、初期値メモリ3の出力を選
択出力し、シーケンス出力信号14として導出する。従
って、第2図に示すように、初期値メモリ3に初期設定
値13として、A、B、Cなる初期状態を書き込めば、
これらはシーケンス出力信号14として導出されること
になる。制御信号15−1が“1”の時は同時にシーケ
ンスメモリ1および時刻メモリ2も書き込み可能な状態
となる。従って、もし、シーケンス状態11の変更を行
ないたい場合には、制御信号15−3をロジック“1”
の状態として、カウンタ51がカウントを進められる様
にしたうえで制御信号15−4.シーケンス状jlll
lおよび時刻設定値12を同期させて出力することによ
り、シーケンスメモリ12時刻メモリ2にデータが順次
書き込まれる。このとき、シーケンス出力信号14は初
期値メモリ3の出力を選択しているので、シーケンスメ
モリ11時刻メモリ2への書き込みによって影響を受け
ることはない。
In FIG. 1, when the control signal 15-1 is in the logic "1" state, the output selection register 4 selectively outputs the output of the initial value memory 3 and derives it as the sequence output signal 14. Therefore, as shown in FIG. 2, if the initial states A, B, and C are written as the initial setting values 13 in the initial value memory 3,
These will be derived as sequence output signals 14. When the control signal 15-1 is "1", the sequence memory 1 and the time memory 2 are also in a writable state at the same time. Therefore, if you want to change the sequence state 11, set the control signal 15-3 to logic "1".
In this state, the counter 51 is enabled to advance the count, and the control signal 15-4. Sequence-like jllll
By synchronizing and outputting l and time setting value 12, data is sequentially written into sequence memory 12 and time memory 2. At this time, since the sequence output signal 14 selects the output of the initial value memory 3, it is not affected by the writing of the sequence memory 11 to the time memory 2.

次に、シーケンス動作を実行したい場合には。Next, if you want to perform sequence operations.

第3図に示す様に制御信号15−1をロジック“Q 1
1として、出力選択レジスタ4が、シーケンスメモリ1
の出力を選択する様にする。これと同時に制御信号15
−2 、15−3をロジック“1”として、カウンタ5
1.タイマ52を動作可能な状態とする。
As shown in FIG.
1, the output selection register 4 is set to the sequence memory 1.
Select the output of At the same time, control signal 15
-2, 15-3 as logic “1”, counter 5
1. The timer 52 is made operable.

このとき、シーケンスメモリ12時刻メモリ2は読み出
し状態となるので、シーケンス出力信号14にはシーケ
ンスメモリ1の最初のアドレス、例えば第3図ではO番
地の内容が、比較器53には時刻メモリ2のアドレス0
番地の内容(第3図の例では2)がそれぞれ出力される
。比較器53では時刻メモリ2の出力とタイマー52の
出力とを比較し、これらが一致した時に、一致検出のパ
ルスを出力する。その結果、カウンタ51の出力である
シーケンスアドレス16が1番地光に進み、その結果、
シーケンス出力信号14には、シーケンスメモリ1の次
のアドレスのデータが出力され、一方、比較器53には
1時刻メモリ2の次のアドレスの時刻設定値が出力され
る。この様にして、時刻メモリ2内のデータが最大設定
時刻2−1になるか、最終アドレスまで達するとシーケ
ンスは終了する。
At this time, the sequence memory 12 and time memory 2 are in the read state, so the sequence output signal 14 contains the contents of the first address of the sequence memory 1, for example, address O in FIG. address 0
The contents of each address (2 in the example of FIG. 3) are output. The comparator 53 compares the output of the time memory 2 and the output of the timer 52, and when they match, outputs a pulse indicating a match. As a result, the sequence address 16, which is the output of the counter 51, advances to address 1, and as a result,
Data at the next address in the sequence memory 1 is output to the sequence output signal 14, while the time setting value at the next address in the 1-time memory 2 is output to the comparator 53. In this manner, the sequence ends when the data in the time memory 2 reaches the maximum set time 2-1 or reaches the final address.

以上述べた様に、本実施例によれば、シーケンスの設定
や変更が容易で、出力点数や時刻の適用範囲が広いシー
ケンス発生回路を容易に実現できる。
As described above, according to the present embodiment, it is possible to easily realize a sequence generation circuit in which the sequence can be easily set and changed, and the number of output points and the time can be applied over a wide range.

また1機械接点や、マイクロプロセッサを介さないので
、非常に高速に動作できるという利点を有する。
Furthermore, since it does not involve a single mechanical contact or a microprocessor, it has the advantage of being able to operate at very high speed.

さらに、本発明では、初期値の設定と、シーケンスの設
定を独立にできるので、システムを初期状態で稼動させ
ながら、シーケンスの設定を行なえるという特長を有す
る。
Furthermore, the present invention has the advantage that since the initial value setting and the sequence setting can be made independently, the sequence setting can be made while the system is operating in the initial state.

なお、前述の実施例では、シーケンスメモリや時刻メモ
リにRAMを用いたが、設定値変更の頻度が低い場合に
は、これをROMとすることにより、シーケンス状態や
、時刻設定のための外部設定装置を省略することができ
る。
In the above-mentioned embodiment, RAM was used for the sequence memory and time memory, but if the setting value changes are infrequent, ROM may be used to store the sequence status and external settings for time setting. The device can be omitted.

また、外部クロックが別途用意されている場合は、第1
図中のクロック6を省略して、外部クロックと同期させ
て動作させることもできる。
Also, if an external clock is prepared separately, the first
It is also possible to omit the clock 6 in the figure and operate in synchronization with an external clock.

さらに、前述の実施例では、シーケンスの変化する時刻
を記憶したが、これを次のシーケンス変化までの時間差
としても、同様の作用、効果となる。
Further, in the above-described embodiment, the time at which the sequence changes is stored, but the same operation and effect can be obtained even if this time is used as the time difference until the next sequence change.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば、シーケンス状態と
、その変化時刻を、メモリとしたので。
As described above, according to the present invention, the sequence state and its change time are stored in memory.

汎用で、かつ高速に動作するシーケンス発生回路を提供
できる。
A sequence generation circuit that is general-purpose and operates at high speed can be provided.

また、初期状態を記憶するメモリを別途用意したので、
システムが稼動中でも、シーケンスの設定や変更が行な
えるという著しい利点を有する。
In addition, we prepared a separate memory to store the initial state, so
This has the significant advantage that sequences can be set and changed even while the system is running.

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

第1図は本発明の一実施例を示すブロック図、第2図お
よび第3図は本発明の詳細な説明するためのタイムチャ
ートである。 1・・・シーケンスメモリ  2・・・時刻メモリ3・
・・初期値メモリ  4・・・出力選択レジスター巨−
・・・制御部     6・・・クロック代理人 弁理
士 則 近 憲 佑 同  三俣弘文 第  1  図 第  2 図 第  3 図
FIG. 1 is a block diagram showing one embodiment of the invention, and FIGS. 2 and 3 are time charts for explaining the invention in detail. 1... Sequence memory 2... Time memory 3.
...Initial value memory 4...Output selection register large
...Control unit 6...Clock agent Patent attorney Nori Chika Ken Yudo Hirofumi Mitsumata Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 初期設定値記憶する初期値メモリと、シーケンス状態を
記憶するシーケンスメモリと、時刻または時間差を記憶
するメモリと、外部設定装置からの指令に応じて初期値
メモリあるいはシーケンスメモリのいずれかの出力を選
択して出力する出力選択レジスタと、これらシーケンス
メモリ、時刻または時間差を記憶するメモリを制御する
制御部と、クロックとから成るシーケンス発生回路。
There is an initial value memory that stores initial setting values, a sequence memory that stores sequence status, a memory that stores time or time difference, and output from either initial value memory or sequence memory is selected according to commands from an external setting device. A sequence generation circuit consisting of an output selection register that outputs the selected sequence, a control section that controls these sequence memories, a memory that stores time or time difference, and a clock.
JP4134687A 1987-02-26 1987-02-26 Sequence generating circuit Pending JPS63208905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4134687A JPS63208905A (en) 1987-02-26 1987-02-26 Sequence generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4134687A JPS63208905A (en) 1987-02-26 1987-02-26 Sequence generating circuit

Publications (1)

Publication Number Publication Date
JPS63208905A true JPS63208905A (en) 1988-08-30

Family

ID=12605954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4134687A Pending JPS63208905A (en) 1987-02-26 1987-02-26 Sequence generating circuit

Country Status (1)

Country Link
JP (1) JPS63208905A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007299419A (en) * 2007-06-25 2007-11-15 Fujitsu Ten Ltd Electronic control device and its data communication method
US7386714B2 (en) 2003-11-19 2008-06-10 Fujitsu Ten Limited Transmitting data from a single storage unit between multiple processors during booting

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7386714B2 (en) 2003-11-19 2008-06-10 Fujitsu Ten Limited Transmitting data from a single storage unit between multiple processors during booting
JP2007299419A (en) * 2007-06-25 2007-11-15 Fujitsu Ten Ltd Electronic control device and its data communication method
JP4554645B2 (en) * 2007-06-25 2010-09-29 富士通テン株式会社 Electronic control device and data communication method thereof

Similar Documents

Publication Publication Date Title
US4181936A (en) Data exchange processor for distributed computing system
EP0180196A2 (en) Programmable counter/timer device
US5631592A (en) Pulse generation/sensing arrangement for use in a microprocessor system
US4365312A (en) Sequence controller
US5269012A (en) Stack memory system including an address buffer for generating a changed address by inverting an address bit
EP0463640B1 (en) Memory device for simulating a shift register
JPS63208905A (en) Sequence generating circuit
US5021990A (en) Output pulse generating apparatus
JPS6339939B2 (en)
US3546679A (en) Method for dynamic controlling of magnetic core register
JP2504974B2 (en) Sequencer high-speed processing method
JPH088777B2 (en) Control circuit for inverter device
JPH0560136B2 (en)
JPS6341895A (en) Sequence control
JP2567982B2 (en) Bus trace control method
JPH0785261A (en) Mirror image processor
JPS592584Y2 (en) Microprogram expansion test equipment
JPH0638210B2 (en) Sequence controller input / output control system
JPS61280194A (en) Holding memory control system
JP2512945B2 (en) Image memory device
JPH06103447B2 (en) Sequencer
JPH01210996A (en) Address control circuit for display device
JPS6233389A (en) Memory device
JPS58184188A (en) Reading and writting system of display data
JPH03188545A (en) Picture memory controller