JPS58214908A - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JPS58214908A
JPS58214908A JP9689082A JP9689082A JPS58214908A JP S58214908 A JPS58214908 A JP S58214908A JP 9689082 A JP9689082 A JP 9689082A JP 9689082 A JP9689082 A JP 9689082A JP S58214908 A JPS58214908 A JP S58214908A
Authority
JP
Japan
Prior art keywords
address
rom
data
output
counter
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
JP9689082A
Other languages
Japanese (ja)
Inventor
Yoshikazu Yokomizo
良和 横溝
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9689082A priority Critical patent/JPS58214908A/en
Publication of JPS58214908A publication Critical patent/JPS58214908A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/045Programme control other than numerical control, i.e. in sequence controllers or logic controllers using logic state machines, consisting only of a memory or a programmable logic device containing the logic for the controlled machine and in which the state of its outputs is dependent on the state of its inputs or part of its own output states, e.g. binary decision controllers, finite state controllers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25045Electronic cam, encoder for sequence control as function of position, programmable switch pls

Landscapes

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

Abstract

PURPOSE:To facilitate an easy sequence controller, by latching for a fixed time the data obtained by designating and reading with a time division access the upper and lower addresses of an ROM which stores control data of plural systems to be controlled with different periods. CONSTITUTION:A sequence controller is provided with an address generator 31, an ROM32 and latch circuits 33-40. The generator 31 generates lower addresses A0-A3 of the ROM32 through a rotary encoder 22 and the 1st counter 23 as well as upper addresses A4-A6 through an oscillator 41 and the 2nd counter 42 respectively. The circuits 33-40 are addressable and designated for their addresses with an address signal Am of the counter 42 and then read in time division output data O1-O8 of the ROM32 and synchronously with a system clock signal of the oscillator 41. Then the circuits 33-40 supply control outputs O1A- OSH to elements to be controlled. Thus it is possible to form a system having flexibility and general-purpose applications.

Description

【発明の詳細な説明】 本発明は、複数の被制御要素を予め定めだタイミングで
順次動作させ、所定の機能を実行させるシーケンス制御
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence control device that sequentially operates a plurality of controlled elements at predetermined timing to execute a predetermined function.

従来のシーケンス制御装置は、論理ゲート、レジスタ及
びフリップフロップなどのノA−ドウニアロジックから
なる専用シーケンス制御装置と、中央処理装置(OPU
 ) 、入出力装置(VO)及びメモリからなり、ソフ
トウェアによって制御プログラムがきまる汎用シーケン
ス制御装置がある。このうち、専用シーケンス制御装置
は、一般にハードウェアの変更が容易に行えないことか
ら、システムとしての柔軟性や拡張性が欠如している。
A conventional sequence control device consists of a dedicated sequence control device consisting of A-Dounier logic such as logic gates, registers, and flip-flops, and a central processing unit (OPU).
), an input/output device (VO), and a memory, and there is a general-purpose sequence control device whose control program is determined by software. Among these, dedicated sequence control devices generally lack flexibility and expandability as a system because the hardware cannot be easily changed.

また、最近のLSI技術の発達により、きわめて安価な
OPUが得られるようになったことから、コンピュータ
による汎用シーケンス制御装置が広く実用に供されてい
る。しかしながら、この汎用シーケンス制御装置は、ス
トアードプログラムによるシーケンス制御であるため、
システムの柔軟性や拡張性はあるものの、実時間性に欠
ける傾向があり、特に多数のvOを備えたシステムにお
いては、実時間マルチタスクプログラムの設計が容易で
はない。ところで、コンピュータによる汎用シーケンス
制御装置のソフトウェアの設d1は、一般に、(1)仕
様決定、(2)タイミングチャートの作成、(5)フロ
ーチャートの作成、(4)コーディング、(5)デバグ
および(6)実機検討という複雑な過程をへて行われて
いる。
Furthermore, with the recent development of LSI technology, extremely inexpensive OPUs have become available, and general-purpose sequence control devices using computers are now widely put into practical use. However, since this general-purpose sequence control device performs sequence control using a stored program,
Although the system has flexibility and expandability, it tends to lack real-time performance, and it is not easy to design a real-time multitasking program, especially in a system equipped with a large number of VOs. By the way, the software setup d1 of a general-purpose sequence control device by a computer generally includes (1) specification determination, (2) timing chart creation, (5) flowchart creation, (4) coding, (5) debugging, and (6) ) This is done through a complicated process of examining actual equipment.

本発明の目的は、上述した従来技術の欠点を除去するた
めに、リードオンリメモリ、アドレス発生器およびラッ
チ回路を用い、柔軟性や拡張性に冨むシステム構成がで
き、しかも実時間性の要求をも満足し得るシーケンス制
御装置を提供するととKある。
An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art by using a read-only memory, an address generator, and a latch circuit, to create a system configuration that is highly flexible and expandable, and that also meets the requirements for real-time performance. We would like to provide a sequence control device that can satisfy the following requirements.

複数の被制御要素を予め定めたタイミングで順次駆動す
る制御データをリードオンリメモリ(以下ROMと称す
る)に貯え、アドレス発生器で指定したアドレスにある
ROMの制御データを読み出すように構成したシーケン
ス制御装置は、ROMの制御データを変更するだけで全
く異った用途のシーケンス制御装置となり、汎用性を備
えており、しかもOPUによる演算処理を要しないので
実時間性の要求を満足することがで散る。しかしながら
、このようなシーケンス制御装置は、一般に制御可能な
被制御要素の数がROMに貯えている制御データの/ワ
ードあたりのビット数によって制限されてしまう。例え
ば、ROMの記憶容量がrピッ)x102ψワードの場
合には、ROMの出力は/ワードがlビット構成である
ため、与えられたタイミング毎にt個の被制御要素にし
か制御データを供給することができない。そこで、被制
御要素の数を増設するためには、ROMを複数個並列に
設ければよいが、そうすると記憶容量が余ってしまい、
効率のよい記憶空間の利用ができないことがある。
Sequence control configured to store control data for sequentially driving multiple controlled elements at predetermined timing in a read-only memory (hereinafter referred to as ROM) and read out the control data in the ROM at an address specified by an address generator. The device can be used as a sequence control device for completely different purposes by simply changing the control data in the ROM, and is versatile.Moreover, it does not require arithmetic processing by the OPU, so it can satisfy real-time requirements. Scatter. However, in such a sequence control device, the number of controlled elements that can be controlled is generally limited by the number of bits per word of control data stored in the ROM. For example, if the storage capacity of the ROM is rpi) x 102ψ words, the output of the ROM/word has an l-bit configuration, so control data is supplied to only t controlled elements at each given timing. I can't. Therefore, in order to increase the number of controlled elements, it would be possible to install multiple ROMs in parallel, but this would result in excess storage capacity.
Storage space may not be used efficiently.

本発明のシーケンス制御装置においては、特にROMの
制御データを時分割アクセスし、その記憶空間を有効に
利用しようとするものである。
In the sequence control device of the present invention, in particular, the control data of the ROM is accessed in a time-division manner, and the storage space thereof is effectively utilized.

以下、図面を参照して本発明の詳細な説明する。Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明を適用した複写機のシーケンス制御装置
の一構成例を示し、ここで、複写機はドラムモータl/
、第1高圧電源12、第2高圧電源13、給紙クラッチ
/4(、レジストクラッチ/3.光学系モータ16、光
源/7および定着器モータtgなどの複数の被制御要素
を有している。シーケンス制御装置は、リードオンリメ
モリ(以下、ROMと称する)/9と、アドレス発生器
〃とを有し、上述の被制御要素を予め定めたタイミング
で順次駆動し、帯電、露光、現像および定着のプロセス
と給紙動作などを制御する。すなわち、ROM/?は各
タイミングにおける被制御要素のオン/オフの制御デー
タを記憶しており、例えば!ビン) x 102tIワ
ードの記憶容量を有し、そのtビットの出力線の各ビッ
ト0、〜08にそれぞれ被制御要素//−nを接続する
FIG. 1 shows an example of the configuration of a sequence control device for a copying machine to which the present invention is applied.
, a first high-voltage power supply 12, a second high-voltage power supply 13, a paper feed clutch/4 (, a resist clutch/3), and a plurality of controlled elements such as an optical system motor 16, a light source/7, and a fuser motor TG. The sequence control device has a read-only memory (hereinafter referred to as ROM)/9 and an address generator, and sequentially drives the above-mentioned controlled elements at predetermined timing to perform charging, exposure, development, and It controls the fixing process, paper feeding operation, etc. That is, the ROM/? stores control data for turning on/off the controlled elements at each timing, and has a storage capacity of, for example, !bin) x 102tI words. , the controlled element //-n is connected to each bit 0, to 08 of the t-bit output line.

アドレス発生器〃は、ロータリーエンコーダ11透過形
フオトセンサ〃およびψビットのカウンタnからなり、
ROM/9のアドレスを指定する。このアドレス発生器
Iにおいて、ロータリーエンコーダIは、複写機の静電
ドラム(図示せず)と同軸上に機械的に結合しており、
その周縁部に所定間隔ごとに設けられている切欠きが、
透過形7オトセンサnに合致すると、それに対向して配
置されている光源からの光を一定周期で透過させるよう
に構成しである。従って、ロータリーエンコーダ〃の回
転にともなって、透過形フォトセンサ〃が、静電ドラム
の回転に同期したドラムクロック信号を発生し、信号線
2グを介してカウンタnに供給する。そのカウンタnは
、複写機の制御回路(図示せず)から信号線」を介して
入力される複写開始を示すリセット信号によりリセット
されたのち、透過形フォトセンサnが供給するドラムク
ロック信号の計数を開始し、その計数結果をアドレス信
号として出力端子Q。−Q5からqビットの出力信号線
Uを介してROM /qの入力端子A。−A3に出力す
る。
The address generator consists of a rotary encoder 11 a transmission type photo sensor and a ψ bit counter n,
Specify the address of ROM/9. In this address generator I, a rotary encoder I is mechanically coupled coaxially with an electrostatic drum (not shown) of a copying machine,
Notches provided at predetermined intervals on the periphery of the
It is configured so that when it matches the transmission type 7 otosensor n, light from a light source placed opposite to it is transmitted at a constant period. Therefore, as the rotary encoder rotates, the transmissive photosensor generates a drum clock signal synchronized with the rotation of the electrostatic drum and supplies it to the counter n via the signal line 2g. The counter n is reset by a reset signal indicating the start of copying that is input from the control circuit (not shown) of the copying machine via a signal line, and then counts the drum clock signal supplied by the transmissive photosensor n. The counting result is output to terminal Q as an address signal. - Input terminal A of ROM/q via q-bit output signal line U from Q5. -Output to A3.

ROM/9ハ、カウンタnが供給するアドレスfJ4に
従って、被制御要素//〜/gを駆動する制御データを
出力ビット01〜08に供給する。従って、いま複写機
の被制御要素//−/gの動作が、第2図のタイミング
チャートのように決まれば、そのドラムクロック信号の
立上りに同期して被制御要素//〜/gのオン/オフ動
作のコーディングを行い、第3図に示しているように、
ROM/9のアドレスと格納すべき制御データを決める
ことができる。
ROM/9c supplies control data for driving controlled elements // to /g to output bits 01 to 08 according to address fJ4 supplied by counter n. Therefore, if the operation of the controlled elements //-/g of the copying machine is determined as shown in the timing chart in Figure 2, the controlled elements //-/g are turned on in synchronization with the rise of the drum clock signal. / Off operation is coded, as shown in Figure 3.
The address of ROM/9 and the control data to be stored can be determined.

次に、第1図のタイミングチャートと第3図のROMの
制御データとを参照しτ、第1図のシーケンス制御装置
の動作を説明する。
Next, the operation of the sequence control device shown in FIG. 1 will be explained with reference to the timing chart shown in FIG. 1 and the control data of the ROM shown in FIG. 3.

シーケンス制御装置の初期状態においては、ROM/9
の各出力ビット0.〜o8は全て0″になっており、被
制御要素//〜/lは全て停止している。そこで、コピ
ーボタン(図示せず)を操作して複写動作を開始すると
、複写機の制御回路から信号線Jにリセット信号が供給
されるだめ、そのリセット信号の立上に同期してカウン
タnはリセットし、従って出力信号線ぶを介してROM
 /9のアドレス”o″を指定する。ROM /qのア
ドレス″0”には、第3図に示しているように、ドラム
モータl/のみを駆動するデータがストアされているか
ら、ROM/9の出力ビット0.のみが/”になり、他
の出力ビット02〜08はO”となる。このようにして
、ドラムモータ//が回転を開始すると、透過形フォト
センサnがドラムクロック信号を出力する。こノドラム
クロック信号に応じてカウンタnが歩進し、ROM /
9のアドレスを順次指定して行き、第2図のタイミング
チャートに示した一連のシーケンスがROM /9の出
力データによって実行される。そして、ROM/りのア
ドレスがl ts nになると、ドラムモータ//が停
止し、ドラムクロック信号もなくなりコピーが完了する
In the initial state of the sequence control device, ROM/9
Each output bit of 0. ~o8 are all 0'', and all controlled elements //~/l are stopped.Therefore, when the copy button (not shown) is operated to start the copying operation, the control circuit of the copying machine Since a reset signal is supplied from the signal line J to the signal line J, the counter n is reset in synchronization with the rising edge of the reset signal.
/9 address "o" is specified. As shown in FIG. 3, data for driving only the drum motor l/ is stored at address "0" of ROM/q, so the output bits of ROM/9 are 0. only output bits become /'', and the other output bits 02 to 08 become O''. In this way, when the drum motor // starts rotating, the transmissive photosensor n outputs a drum clock signal. The counter n increments according to this drum clock signal, and the ROM/
The addresses of ROM/9 are sequentially designated, and a series of sequences shown in the timing chart of FIG. 2 are executed using the output data of ROM/9. Then, when the address of the ROM / becomes l ts n, the drum motor / stops and the drum clock signal disappears, completing the copying.

上述したように、本実施例によれば、クロック信号に同
期してアドレス発生器が指定したアドレスの制御データ
をROMから読み出して被制御要素を駆動するので、実
時間性を有しているのみならず、タイミングチャートと
ROMの制御データのコーディングが、時間とアドレス
を対応づけることにより、完全に一致しているので、コ
ーディングが簡便であり、誤りが少ガく、また修正や変
更も容易である信頼性の高いシーケンス制御装置が得ら
れる。従って、また本実施例のシーケンス制御Mftハ
、(1)仕様決定、(2)タイミングチャートの作成、
(5)コーディングおよび(4)実機検討という従来よ
り極めて簡単な手段で実現できる。更に、本実施例は、
ROMの制御データを書き換えるだけで、複写機のシー
ケンス制御装置のみならず、他の用途の種々のシーケン
ス制御装置に適用することができる。
As described above, according to this embodiment, the control data at the address specified by the address generator is read out from the ROM in synchronization with the clock signal to drive the controlled element, so it only has real-time performance. In addition, the coding of the timing chart and the control data in the ROM match perfectly by associating time and address, so coding is simple, there are fewer errors, and corrections and changes are easy. A highly reliable sequence control device is obtained. Therefore, the sequence control Mft of this embodiment also includes (1) specification determination, (2) timing chart creation,
This can be achieved using much simpler means than conventional methods, such as (5) coding and (4) examination of actual equipment. Furthermore, in this example,
By simply rewriting the control data in the ROM, the present invention can be applied not only to sequence control devices for copying machines but also to various sequence control devices for other uses.

第弘図は本発明による複写機のシーケンス制御装置の他
の構成例を示す。なお、第1図と同様な部所には同一符
号を付してその詳細な説明を省略する。このシーケンス
制御装置は、アドレス発生器3/ 、 ROM 32お
よびt個のラッチ回路33〜%からなり、複写機の露光
、現像および定着のプロセスと紙送りなどの機構とを制
御する。
FIG. 1 shows another example of the structure of the sequence control device for a copying machine according to the present invention. Note that the same parts as in FIG. 1 are denoted by the same reference numerals, and detailed explanation thereof will be omitted. This sequence control device is composed of an address generator 3, a ROM 32, and t latch circuits 33~%, and controls the exposure, development, and fixing processes of the copying machine, as well as mechanisms such as paper feeding.

アドレス発生器3ノは、ROM、?λの下位アドレスA
Address generator 3 is ROM,? Lower address A of λ
.

〜A3と上位アドレスA4〜A6を指定するアドレス信
号を発生する。
~A3 and address signals specifying upper addresses A4 to A6 are generated.

このアドレス発生器3/において、第1図示と同様なロ
ータリエンコーダ透過形フォトセンサンサnおよび第1
カウンタnは、ROM3xの下位アドレスA。〜A、を
指定するtビットのアドレス信号を発生する。また、ア
ドレス発生器3/は、ROM3ノの上位アドレスA4〜
A6を指定する3ビツトのアドレス信号を発生するため
に、発振器グ/と第1カウンタnを備えている。発振器
’l/は、ドラムクロック信号の!倍以上(本例ではr
倍とする)の周波数を有するシステムクロック信号を発
振し、第1カウンタnλとラッチ回路33〜%のクロッ
ク端子OKに供給する。第1カウンタn2は3ビツトの
カウンタであり、システムクロック信号を計数して、R
OM 32の上位アドレスA4〜A6と、ラッチ回路3
3〜pのアドレスAnとを指定するアドレス信号を出力
する。
In this address generator 3/, a rotary encoder, a transmission type photosensor n, and a first
Counter n is the lower address A of ROM3x. A t-bit address signal specifying .about.A is generated. Further, the address generator 3/ outputs the upper addresses A4 to A4 of the ROM3.
In order to generate a 3-bit address signal specifying A6, an oscillator G/ and a first counter N are provided. The oscillator 'l/ is the drum clock signal! more than twice (in this example r
oscillates a system clock signal having a frequency of 33% to 30%, and supplies it to the clock terminals OK of the first counter nλ and the latch circuits 33-%. The first counter n2 is a 3-bit counter that counts the system clock signal and
Upper addresses A4 to A6 of OM 32 and latch circuit 3
It outputs an address signal specifying addresses An of 3 to p.

ラッチ回路33〜嫂は、アドレッサブルラッチであり、
第1カウンタnのアドレス信号でアドレスが指定され、
更に発振器グ/のシステムクロック信号に同期して、R
OM 32の制御出力データ01〜08を入力端子りを
介してそれぞれラッチする。また、ラッチ回路33〜ψ
は、それぞれtビットの出力端子QA〜Q、を有してい
る。従って、ラッチ回路33〜僧が制御する被制御要素
の総数は、rxr=+<<個となり、発振器グ/のシス
テムクロック信号で与えられたタイミング毎に制御信号
O1A〜Oiヨ、(ただし、3.−/、2,3.・・・
9.r)を被制御要素に供給することができる。
The latch circuits 33 to 33 are addressable latches,
The address is specified by the address signal of the first counter n,
Further, in synchronization with the system clock signal of the oscillator G/, R
Control output data 01 to 08 of the OM 32 are latched via input terminals, respectively. In addition, the latch circuit 33~ψ
have t-bit output terminals QA to Q, respectively. Therefore, the total number of controlled elements controlled by the latch circuits 33 to 33 is rxr=+<< pieces, and the control signals O1A to Oi (however, 3 .-/, 2, 3...
9. r) can be supplied to the controlled element.

ROM 3rは、図示のごとく、アドレスA。−A6が
7ビツトであり、制御出力データ01〜08がtビット
であるから、lビット×/、2tワードの記憶容量を有
しているが、後述のような時分割アクセスによって制御
データを読み出すことにより6IIビツトx/≦ワード
のROMとして機能する。このROM 32のアドレス
マツプは、第5図に示すように、/ワードがtビットの
制御データ0.〜08であり、かつ16ワードごとに/
ブロックとしたt個のブロックA〜Hからなり、形式的
にはtビット×lユざワードの構成となっている。ただ
し、この図示のアドレスマツプにおいては、/4進表示
によってアドレスを表示している。
ROM 3r has address A as shown in the figure. - Since A6 is 7 bits and control output data 01 to 08 are t bits, it has a storage capacity of 1 bit x/2t words, but the control data is read out by time-sharing access as described below. As a result, it functions as a 6II bit x/≦word ROM. As shown in FIG. 5, the address map of this ROM 32 is composed of control data 0, . ~08 and every 16 words /
It consists of t blocks A to H, and formally has a structure of t bits×l user words. However, in the illustrated address map, addresses are displayed in /quaternary notation.

次に、第す図のシーケンス制御装置の動作を第5図のア
ドレスマツプを参照して説明する。
Next, the operation of the sequence control device shown in FIG. 2 will be explained with reference to the address map shown in FIG.

シーケンス制御装置は、初期状態においてROM3λの
出力O5〜08が全てO”になっており、ラッチ回路3
3〜りには”O′がラッチされているので、6グ個の被
制御要素は全て停止している。そして、複写開始ボタン
(不図示)が押されると、複写機の制御回路から信号線
Bを介して供給されるリセット信号を第1カウンタnが
受信し、その出力端子Q。−Q3にROM 32の下位
アドレスA。−A3を指定するアドレス信号″(O)、
6”を出力する。このとき発振器ダlが第1カウンタn
にシステムクロック信号を供給するため、第1カウンタ
n2はROM32の上位アドレスA4〜A6を指定する
アドレス信号を出力する。
In the sequence control device, in the initial state, the outputs O5 to 08 of the ROM3λ are all O'', and the latch circuit 3
Since "O" is latched in 3 to 4, all 6 controlled elements are stopped.When the copy start button (not shown) is pressed, a signal is sent from the control circuit of the copy machine. The first counter n receives the reset signal supplied via the line B, and sends to its output terminal Q.-Q3 an address signal ``(O) specifying the lower address A.-A3 of the ROM 32,
6". At this time, the oscillator dal outputs the first counter n
In order to supply a system clock signal to the first counter n2, the first counter n2 outputs an address signal specifying the upper addresses A4 to A6 of the ROM 32.

既述したように、システムクロック信号は、ドラムクロ
ック信号のj倍の周波数を有していると設定しているの
で、静電ドラム(¥図示)の回転にともなって最初のド
ラムクロック信号が信号線2グを介して第1カウンタn
に入力されるまでにlROM 32の上位アドレスA4
〜A6を指定するアドレス信号は@ (1)1. IT
から″(7)1.”まで変化する。すなわち、アドレス
マツプ上では、第2図から明らかなように、ブロックA
、B、0.・・・、■が順次指定される。その間、RO
M32の下位アドレスA。〜A3を指定するアドレス信
号は″(O)、6′のままであるから、アドレスA。−
A6を指定するアドレス信号は、” ((”)16” 
T ” (”)44 ” +”(コ0)、6”+・・・
+ ” (70)、6”となり、それぞれのアドレスに
応じてROM 32は/ワードtビットの制御データ0
゜〜08を出力する。これと同時に、第2カウンタグ2
がラッチ回路33〜%のアドレス入力端子Anにそれぞ
れアドレス信号を供給し、発振器ダ/がラッチ回路33
〜卯のクロック入力端子OKにシステムクロック信号を
供給するから、ラッチ回路33〜pは、それぞれ入力端
子りを介してROM 32の制御出力データ01〜08
を時分割で割み込むことができる。
As mentioned above, the system clock signal is set to have a frequency j times that of the drum clock signal, so as the electrostatic drum (as shown) rotates, the first drum clock signal becomes the signal. The first counter n via line 2
The upper address A4 of lROM 32 is input to
The address signal that specifies ~A6 is @ (1) 1. IT
It changes from ``(7)1.''. That is, on the address map, as is clear from FIG.
, B, 0. . . , ■ are specified sequentially. Meanwhile, R.O.
Lower address A of M32. The address signal specifying ~A3 remains ``(O), 6', so address A.-
The address signal specifying A6 is “((”)16”
T ” (”) 44 ” +” (ko 0), 6” +...
+” (70), 6”, and the ROM 32 stores /word t bit control data 0 according to each address.
Outputs °~08. At the same time, the second counter tag 2
supply address signals to the address input terminals An of the latch circuits 33 to %, respectively, and the oscillator Da/ supplies the address signals to the address input terminals An of the latch circuits 33 to
Since the system clock signal is supplied to the clock input terminal OK of the rabbit, the latch circuits 33 to p receive the control output data 01 to 08 of the ROM 32 via the input terminals, respectively.
can be interrupted in a time-sharing manner.

次いで、静電ドラムが回転を始め、ロータリエンフーダ
〃の切欠部を通過した光を透過形フォトセンサnが検出
してドラムクロック信号を発生し、そのドラムクロック
信号を信号線2グを介して第1カウンタnが受信すると
、第1カウンタnは計数値(カウント値)を+゛/”歩
進(インクリメント)する。そのため、第1カウンタn
の出力端子Qo ”” Q4に生ずるアドレス信号は”
(1)、6’となり、ROM JJの下位アドレンA。
Next, the electrostatic drum starts rotating, and the transmission type photosensor n detects the light that has passed through the notch of the rotary encoder, generates a drum clock signal, and sends the drum clock signal through the signal line 2. When the first counter n receives the signal, the first counter n increments the count value by +゛/”. Therefore, the first counter n
The address signal generated at the output terminal Qo "" Q4 is "
(1), 6', lower address A of ROM JJ.

−A5を指定する。その際第1カウンタn2は、次のド
ラムクロック信号を第1カウンタnが受信するまで、シ
ステムクロック信号を計数してl (o> 16nから
″(7)、6”を順次出力し、ROMjλの上位アドレ
スA4〜A6を指定する。
-Specify A5. At this time, the first counter n2 counts the system clock signal and sequentially outputs "(7), 6" from l (o> 16n) until the first counter n receives the next drum clock signal, Specify upper addresses A4 to A6.

従って、この期間中にROM 、?2のアドレスA。−
A6としては、”<0/)、6 ’ * ” (//)
16  ”、 。
Therefore, during this period, ROM,? 2 address A. −
For A6, "<0/), 6 ' * " (//)
16”.

′(71)16″が指定され、ROM 32は指定され
たそのアドレスの制御データを順次出力する。これと同
期して、上述した様に、ラッチ回路33〜ψのアドレス
指定とラッチ制御が行なわれるので、ROM32の制御
出力データO4〜08は、システムクロック信号に応じ
て各ラッチ回路33〜°pにそれぞれ時分割で分配され
る。以下同様にして、ドラムクロック信号に同期した1
6のタイミングで、ROM32は全ての制御データを読
み出し、ラッチ回路33〜3グは、その各タイミングで
ROM J2の制御出力データをシステムクロック信号
に同期してそれぞれ読み込むことができる。次いで、ラ
ッチ回路33〜pは、その制御出力データ01,5 +
 (ただし、’ = / l 、2+・・・、、r、、
+=A、B+・・・、H)、を被制御要素にそれぞれ供
給する。
'(71)16'' is specified, and the ROM 32 sequentially outputs the control data of the specified address.Synchronizing with this, addressing and latch control of the latch circuits 33 to ψ are performed as described above. Therefore, the control output data O4 to 08 of the ROM 32 is distributed to each latch circuit 33 to °p in a time-division manner according to the system clock signal.
At timing 6, the ROM 32 reads all control data, and the latch circuits 33 to 3 can read the control output data of the ROM J2 at each timing in synchronization with the system clock signal. Next, the latch circuits 33 to 33p receive their control output data 01,5 +
(However, ' = / l, 2+...,, r,,
+=A, B+..., H), respectively, to the controlled elements.

従って、このシーケンス制御装置は、/4のタイミング
で、乙≠個の被制御要素を、それぞれROM 320制
御データにもとづいて制御することができる。
Therefore, this sequence control device can control B≠ controlled elements based on the ROM 320 control data at a timing of /4.

ここで、ROM32はfビットX /2にワードの記憶
容量であるにもかかわらず、上述のような時分割アり七
スを行うことによって、6t/−ビットX /lワード
5のROMとして機能することができる。そのため、本
実施例によれば、ROMのlワードあたりのビット数に
制限を受けずに、被制御要素の数を増設し得るので、R
OMの記憶空間を効率よく使用することができる。また
、タイミングチャートとROMの制御データが対応する
ので、第1図の前実施例と同様な効果も得ることができ
る。
Here, although the ROM 32 has a storage capacity of f bits x/2 words, it functions as a ROM of 6t/- bits x/l words 5 by performing the above-mentioned time division allocation. can do. Therefore, according to this embodiment, the number of controlled elements can be increased without being limited to the number of bits per word of the ROM.
OM storage space can be used efficiently. Furthermore, since the timing chart and the control data in the ROM correspond, the same effects as in the previous embodiment shown in FIG. 1 can be obtained.

第を図は本発明による複写機のシーケンス制御装置の更
に他の構成例を示す。なお、第グ図の前実施例と共通の
部所には同一符号を付し、その詳細な説明は省略する。
Figure 1 shows still another example of the structure of the sequence control device for a copying machine according to the present invention. Components common to those in the previous embodiment shown in FIG.

このシーケンス制御装置は、アドレス発生器J/ 1イ
ネ一ブル信号発生器SllROM 3xおよびt個のラ
ッチ回路33〜%を有し、同一の制御データを連続して
発生する比較的長いシーケンス制御に適する。
This sequence control device has an address generator J/1 enable signal generator SLLROM 3x and t latch circuits 33~%, and is suitable for relatively long sequence control that continuously generates the same control data. .

イ*−7’ル信号発生器J/は、第3カウンタj2およ
びマグニチュードコンパレータj3とをfL、アドレス
発生器3/の第1カウンタnの計数(カウント)を許可
するイネーブル信号を発生する。その第3カウンタj2
は信号線stiを介して供給されるロード信号に応じて
その内容をリセットした後、信号線jjを介して供給さ
れるドラムクロック信号のパルス数を計数して、その計
数結果である符号なしの2進数値Bを出力端子Qnから
信号線j7を介してマグニチュードコンパレータS3に
供給する。
The signal generator J/ generates an enable signal that allows the third counter j2 and the magnitude comparator j3 to fL and the first counter n of the address generator 3/ to count. The third counter j2
resets its contents in response to the load signal supplied via the signal line sti, then counts the number of pulses of the drum clock signal supplied via the signal line jj, and calculates the unsigned number that is the counting result. The binary value B is supplied from the output terminal Qn to the magnitude comparator S3 via the signal line j7.

マグニチュードコンパレータタ3はその供給された符号
なしλ進数値Bと、ランチ回路33〜ψの各出力端子幅
から信号線!乙を介して供給されるランレングスデータ
、すなわち同一制御データを連続して発生する時間を示
す符号なし一進数値Aとを比較し、両者AおよびBの値
が等しい時にのみ、信号線jlを介して第1カウンタn
にその計数を許可するイネーブル信号を供給する。第1
カウンタnはそのイネーブル信号の受信のタイミングで
ドラムクロック信号の歩進を行い、そのタイミング時以
外では歩進を中止する。また、同時にイネーブル信号は
破線で示す分岐信号線j9を介して第3カウンタS2の
クリア端子OLにも供給され、その計数内容をクリアす
る。
The magnitude comparator 3 outputs a signal line from the supplied unsigned λ base value B and the width of each output terminal of the launch circuits 33 to ψ! Compare the run length data supplied via B, that is, the unsigned binary value A indicating the time for consecutively generating the same control data, and only when the values of both A and B are equal, signal line jl is connected. through the first counter n
An enable signal is provided to allow the counting. 1st
The counter n increments the drum clock signal at the timing of receiving the enable signal, and stops incrementing at other times. At the same time, the enable signal is also supplied to the clear terminal OL of the third counter S2 via the branch signal line j9 indicated by a broken line to clear the count contents.

あらかじめ、ROM 32のA−G領域(第5図参照)
には、ラッチ回路33〜僧の出力制御線O1A〜01G
(ただし、’””/ lλ、3・・・t)の出力値に相
当する被制御要素駆動データ(制御データ)が記憶され
、また残りのH領域(第3図参照)には、各アドレスの
制御データが連続して続く時間に相当するランレングス
データが/組tビット構成の符号なしコ進数で記憶され
る。なお、上述のROM 32の他に、信号線にと接続
する第2 ROMを別に設け、ランレングスデータをそ
の第J ROMの方に記憶するようにしてもよい。
In advance, the A-G area of ROM 32 (see Figure 5)
The output control lines O1A to 01G of the latch circuit 33 to
(However, the controlled element drive data (control data) corresponding to the output value of '''''/lλ, 3...t) is stored, and the remaining H area (see Figure 3) stores each address. Run-length data corresponding to the time during which the control data continues is stored as an unsigned co-decimal number consisting of /sets t bits. In addition to the above-mentioned ROM 32, a second ROM connected to the signal line may be separately provided, and the run length data may be stored in the J-th ROM.

次に1第ぶ図のシーケンス制御装置の動作を第5図も参
照して説明する。
Next, the operation of the sequence control device shown in FIG. 1 will be explained with reference to FIG. 5 as well.

第1カウンタnがリセット信号の受信に応じて最初のア
ドレス信号を送出した時点から、ドラムクロック数にし
てvSクロックパルスの期間において、ラッチ回路3〆
の制御線02Aの出力だけをへイレベルHに保ち、他の
制御線の出力はローレベルLK:保つ場合を想定すると
、その場合はあらかじめROM 3λのアドレス@ (
oo ) 、6P+には一進データ(ooooooto
>2ヲ、アドレス?+(7o)16”にはλ進データ(
0010/10/ )、 = (pt)、。を、またア
ドレス” (10)  ” ! ” (−20)、6”
 l ” <30)16”。
From the time when the first counter n sends out the first address signal in response to the reception of the reset signal, only the output of the control line 02A of the latch circuit 3 is set to high level H during the period of vS clock pulse in terms of the number of drum clocks. Assuming that the output of other control lines is kept at low level LK: In that case, the address of ROM 3λ is set in advance @ (
oo ), 6P+ has unary data (ooooooto
>2wo, address? +(7o)16” contains lambda-adic data (
0010/10/ ), = (pt),. Also, the address "(10)"! ” (-20), 6”
l”<30)16”.

6 ′(lIO)16”+ ” (jO)16” オよび゛
(”)16″には全て2進データ(00000000)
2を婁き込む。
6 ′(lIO)16”+ ” (jO)16” O and ゛(”)16” are all binary data (00000000)
Insert 2.

そのため、第1カウンタnが下位アドレスを指示する最
初のアドレス信号”(O)、6”を送出し、第2カウン
タII2が上位アドレス信号を送出すると、ROM 3
2 (7) 7ドレス” (にl□)、6’ 、” (
/(7)、6” 。
Therefore, when the first counter n sends out the first address signal "(O), 6" indicating the lower address and the second counter II2 sends out the upper address signal, the ROM 3
2 (7) 7 dresses" (nil□), 6'," (
/(7), 6”.

″(20)  ″  n (30)、6” 、 −” 
(”)L6”が順6 次選択され、そのアドレスに書き込まれた上述の一進デ
ータがラッチ回路33〜句の入力端子りに供給される。
″(20)″ n (30), 6″, −”
(")L6" is sequentially selected six times, and the above-mentioned unary data written to that address is supplied to the input terminals of the latch circuit 33--phrase.

これと同時に、第1カウンタnのアドレス信号がランチ
回路33〜4toのアドレス入力端子Anに供給され、
発振器り/のシステムクロック信号がラッチ回路33〜
%のクロック入力端子OKに供給されるから、ラッチ回
路33〜4toにはそれぞれ入力端子りを介してROM
 32の制御出力データ01〜06がアドレス信号とシ
ステムクロック信号に同期して時分割に読み込まれる。
At the same time, the address signal of the first counter n is supplied to the address input terminal An of the launch circuits 33 to 4to,
The system clock signal of the oscillator is sent to the latch circuit 33~
% is supplied to the clock input terminal OK, so the latch circuits 33 to 4to are supplied with the ROM
32 control output data 01 to 06 are read in time division in synchronization with the address signal and the system clock signal.

すなわち、ROM nのアドレス″(oo)、6”が選
択されると、そのアドレ各に記憶されたコ進データ(O
OOOOOlo)2がラッチ回路、?、?−卯の入力端
子りに供給される。このときの制御出力データは02の
みが/″で他はO”であるから(第5図参照)、時分割
で読み込まれた結果、制御線0.A〜08Aの内で02
Aの出力だけがハイレベルHとなり、他はローレベルL
となる。次いで、ROM3xのアドレス゛(10)16
”〜゛(60)、6”が順次選択され、データが時分割
で各ラッチ回路33〜pに読み込まれるか、それらのア
ドレスには全て零であるλ進データ(oooooooo
 )2が書き込まれているので対応する制御線の全ては
ローレベルLとなる。その結果、56本の出力制御線0
1A〜O1Gの内で制御線02Aの出力のみがハイレベ
ルHとなる。
That is, when addresses "(oo), 6" of ROM n are selected, the co-decimal data (O
OOOOOlo) 2 is a latch circuit, ? ,? - Supplied to the rabbit input terminal. Since the control output data at this time is only 02 is /'' and the others are O'' (see Figure 5), as a result of being read in time division, the control output data 0. 02 within A~08A
Only the output of A is high level H, the others are low level L
becomes. Next, address ゛(10)16 of ROM3x
"~゛(60), 6" are sequentially selected, and the data is read into each latch circuit 33-p in time division, or the λ-adic data (oooooooooo) which is all zero is stored in those addresses.
)2 is written, all the corresponding control lines are at low level L. As a result, 56 output control lines 0
Among the signals 1A to 01G, only the output of the control line 02A becomes high level H.

続いて、ROM 3xのアドレス″(70)、6”が選
択されると、そのアドレスに記憶されたλ進データ(0
010/10/ )2がラッチ回路33〜4toに読み
込まれ、信号線j6を介して送出される。その際、信号
線j乙にt本の出力制御線O1H〜08Hが1個のデー
タとじて出力され、グjクロックパルスに相当するコ進
データ(0010/10/ )2がマグニチュードコン
パレータj3の入力端子Aに供給される。一方、第3カ
ウンタj2はリセット信号の発生とほぼ同時に発生する
ロード信号によりその内容を(oooooooo ) 
2にクリアした後、ロータリエンコーダ〃から供給され
るドラムクロック信号を計数して、その計数結果である
符号なしコ進数Bをマグニチュードコンパレータj3の
入力端子Bに供給する。コンパレータ53は入力端子A
に供給されたコ進データと、入力端子Bに供給されたコ
進データとを比較し、両データの値が一致したときにの
みイネーブル信号をハイレベルHにする。従って、第3
カウンタj3がドラムクロック信号をttSクロックパ
ルス分計数して、その計数値BがデータAの(OO10
/10/)2に等しくなるまでは第1カウンタnは歩進
せず、出力制御線02Aのみが、ハイレベルH”’Cあ
る制御出力状態が保たれる。
Next, when the address "(70), 6" of ROM 3x is selected, the λ-adic data (0
010/10/)2 is read into the latch circuits 33-4to and sent out via the signal line j6. At that time, t output control lines O1H to 08H are output as one data to the signal line jB, and the co-digital data (0010/10/)2 corresponding to the clock pulse is input to the magnitude comparator j3. Supplied to terminal A. On the other hand, the third counter j2 reads its contents (oooooooo) by the load signal that is generated almost simultaneously with the generation of the reset signal.
2, the drum clock signal supplied from the rotary encoder is counted, and the unsigned co-decimal number B, which is the counting result, is supplied to the input terminal B of the magnitude comparator j3. Comparator 53 is input terminal A
The co-decimal data supplied to input terminal B is compared with the co-decimal data supplied to input terminal B, and the enable signal is set to high level H only when the values of both data match. Therefore, the third
Counter j3 counts the drum clock signal by ttS clock pulses, and the count value B is equal to (OO10
The first counter n does not increment until it becomes equal to /10/)2, and only the output control line 02A maintains a high level H''C control output state.

次に、ランレングスデータAの(0010/10/)2
とドラムクロック計数値Bとが等しくなると、イネーブ
ル信号がハイレベルHとなるから、第1カウンタnはそ
のイネーブル信号の受信に応じて計数許可となり、ドラ
ムクジツク信号に応じて十″/″歩進する。同時に、イ
ネーブル信号6/により第3カウンタS、2の内容がイ
ンクリメントされ、次の制御状態に移る。ここで、/バ
イトrビットとすると、これまでの制御に要したROM
 3.2の記憶領域は!バイトとなるが、これと同様な
シーケンス制御を第1図で示した前実施例の方式で実行
すると、グ5×lバイ) = 360バイトが必要とな
る。また、ROM 32のアドレス″(71)16″に
、あらかじめ(//////// )2のランレングス
データを記憶すれば、次の制御段階における出力制御状
態をドラムクロックにして、2!!;パルス分連続させ
ることができる。同様に、出力制御線OiA〜01c)
から出力する制御データはROM 32のアドレス”(
72)16Z”(73ン、6”・・・・・・” (7F
)16”にあらかじめ記憶したランレングスデータに応
じて連続出力することができる。
Next, run length data A (0010/10/)2
When and drum clock count value B become equal, the enable signal becomes high level H, so the first counter n is enabled to count in response to reception of the enable signal, and advances by 10''/'' in response to the drum clock signal. . At the same time, the contents of the third counter S,2 are incremented by the enable signal 6/, and the next control state is entered. Here, if /byte r bits, the ROM required for the previous control is
3.2 storage area! However, if sequence control similar to this is executed using the method of the previous embodiment shown in FIG. 1, 5 x 1 bytes = 360 bytes will be required. Furthermore, if the run length data of (//////// )2 is stored in advance at the address "(71)16" of the ROM 32, the output control state in the next control stage is set to the drum clock, and ! ! ;Can be made continuous for pulses. Similarly, output control line OiA~01c)
The control data output from the ROM 32 address "(
72) 16Z" (73n, 6"..." (7F
) 16'' can be continuously output according to the run length data stored in advance.

このように、不実施例では同一の制御データが続く時に
、その連続時間を示すランレングス時間を符号化してR
OMにあらかじめ記憶し、その記憶したランレングスデ
ータに基づいてシーケンス制御を行っているのでROM
の記憶容量を大幅に少なくすることができる。よって、
本実施例は特に同制御データの出力が続き、比較的長い
シーケンス制御に対して好適である。更に、本実施例で
は、第3カウンタ叔のクリアをイネーブル信号に同期し
て行うようにしているため、そのカウンタ3.2は制御
出力の変化点から変化点までのドラムクロック数を計数
することになるから、カウンタj2がにビット構成であ
ってもドラムクロック数で、2昼を越えるシーケンス制
御が可能となる利点がある。
In this way, in the non-embodiment, when the same control data continues, the run length time indicating the continuous time is encoded and R
Since the run length data is stored in advance in the OM and sequence control is performed based on the stored run length data, the ROM
storage capacity can be significantly reduced. Therefore,
This embodiment is particularly suitable for relatively long sequence control in which the same control data continues to be output. Furthermore, in this embodiment, since the third counter 3.2 is cleared in synchronization with the enable signal, the counter 3.2 counts the number of drum clocks from one point to another in the control output. Therefore, even if the counter j2 has a bit configuration, there is an advantage that sequence control over two days is possible with the number of drum clocks.

まだ、第4図において第1カウンタn2のアドレス線乙
OをROM 、?、2の下位アドレス端子A。〜A2に
接続し、第1カウンタnのアドレス紐ノ6ヲROM 、
?2の上位アドレス端子A3〜A6に接続すると、第7
図のアドレスマツプで示すように、ROM3jノアトレ
ス配置はきわめて合理的となる。すなわち、この場合は
にバイトが7組になってランレングス指示を構成するこ
とになり、プログラム設計が容易となる。つまり、1組
ざバイト毎に初めの7バイトまでは、出力信号線の出力
状態をビット対応で書き込み、lバイト目にはその状態
が続く長さを符号なし2連符号で書き込めば良いからで
ある。
Still, in FIG. 4, the address line O of the first counter n2 is connected to the ROM,? , 2 lower address terminal A. ~Connect to A2, address string 6ROM of first counter n,
? When connected to the upper address terminals A3 to A6 of 2, the 7th
As shown in the address map in the figure, the ROM3j no address arrangement is extremely rational. That is, in this case, seven sets of bytes constitute a run-length instruction, which facilitates program design. In other words, for the first 7 bytes of each set of bytes, it is sufficient to write the output status of the output signal line in bit correspondence, and in the lth byte, write the length for which the status continues as an unsigned double code. be.

勿論、ランレングス符号をROM 32と同一のメモリ
空間に割り付けなくても、第、2ROM (図示せず)
を用いてそれに割り付けるようにしてもよい。このよう
に第、2 ROMにランレングス符号を裏き込む場合は
、第、2 ROMのアドレス線を上述のアドレス線nに
接続し、そのデータ線をマグニチュードコンパレータj
3のA入力端子に接続して出力データを直接コンパレー
タj3に印加することができる。
Of course, it is not necessary to allocate the run-length code to the same memory space as the ROM 32, and the second ROM (not shown)
You may also assign it using . In this way, when inserting a run-length code into the second ROM, connect the address line of the second ROM to the above-mentioned address line n, and connect the data line to the magnitude comparator j.
The output data can be directly applied to the comparator j3 by connecting to the A input terminal of the comparator j3.

なお、第7図〜第6図までの各実施例における第1カウ
ンタ刀としてはプリセット機能付きのものを用いてもよ
い。このプリセットとしては例えばマイクロコンピュー
タ(不図示)を用いるのが好適であり、これにより第2
図で示すようなタイミングチャートの途中から制御動作
を開始させることができる。また、その場合はそのマイ
クロコンピュータは通常のシーケンス制御から完全に解
放されているので、より高度な制御に専念することがで
きる。この様に、上述の各実施例において条件判断等の
例外的シーケンス制御にはマイクロコンピュータを想定
しているのであるが、更に本発明の用途は単に複写機の
シーケンス制御の様にゆっくりしたシーケンス制御ばか
りでなく、後述(7) ヨ’) Ic LSI fスタ
の様な超高速のシーケンス制御にも適用することができ
る。この場合のマイクロコンピュータとしてはビットス
ライス形のマイクロプロセッサを用いることができる。
Note that the first counter knife in each of the embodiments shown in FIGS. 7 to 6 may be equipped with a preset function. For example, it is preferable to use a microcomputer (not shown) as this preset.
The control operation can be started from the middle of the timing chart as shown in the figure. Furthermore, in that case, the microcomputer is completely freed from normal sequence control, so it can concentrate on more advanced control. In this way, in each of the above-mentioned embodiments, a microcomputer is assumed to be used for exceptional sequence control such as condition judgment, but furthermore, the application of the present invention is simply slow sequence control such as sequence control of a copying machine. In addition, it can also be applied to ultra-high-speed sequence control such as (7) Ic LSI f-star, which will be described later. In this case, a bit slice type microprocessor can be used as the microcomputer.

第を図は、本発明を適用したLSIテスタの構成例を示
す。第9図と共通箇所には同一符号を付1〜てその詳細
な説明は省略する。ここで、7/はアドレサプルラッチ
回路33〜%から入力条件データ(テスト入力データ)
が供給される被測定LSI (大規模集積回路)、7.
2は被測定LSI 7/の応答結果を7ツチする入力レ
ジスタ、73は入力レジスタ7λの出力データに基づき
データバス7tIを介して出力レジスタ7Sの制御等を
行う論理演算ユニツ)(ALU)である。LSI7/は
前実施例の被制御要素に相当し、ALU7j ハ例えば
ビットスライス形マイクロプロセッサからなる。出力レ
ジスタ7jはLSI 7/の入力条件設定データが読み
出されるROM 32の下位アドレスA。−A、を指示
するアドレス制御を行う。このように、ALU 73は
通常のシーケンス制御から解放されるので、相対アドレ
ス以外は/バイト命令で実行でき、それにより高速のデ
ータ制御が可能となり、本発明シーケンス制御回路3ノ
〜グ2と組み合せて高速のLSIテスタを構成できる。
FIG. 5 shows an example of the configuration of an LSI tester to which the present invention is applied. Components common to those in FIG. 9 are designated by the same reference numerals 1 through 1, and detailed explanation thereof will be omitted. Here, 7/ is input condition data (test input data) from address pull latch circuit 33~%
7. LSI under test (Large scale integrated circuit) to which is supplied;
2 is an input register that checks the response result of the LSI under test 7/, and 73 is a logical operation unit (ALU) that controls the output register 7S via the data bus 7tI based on the output data of the input register 7λ. . LSI 7/ corresponds to the controlled element of the previous embodiment, and ALU 7j consists of, for example, a bit slice type microprocessor. The output register 7j is a lower address A of the ROM 32 from which input condition setting data of the LSI 7/ is read. -A, performs address control to instruct. In this way, since the ALU 73 is freed from normal sequence control, operations other than relative addresses can be executed with the /byte instruction, which enables high-speed data control. A high-speed LSI tester can be configured.

76は読出し専用メモリで構成されるプログラムメモリ
であり、レジスタ制御ビット領域R1メモリ制御ビット
領域に、データビット領域りおよびコマンドビット領域
Cから々る。領域Rは人力レジスタ72をアクセスする
領域であり、領域Mはランダムアクセスメモリ(RAM
 ) 77と、プログラムカウンタ(PO)77、およ
び出力レジスタ73等のアドレス設定をする領域であり
、領域りはALU 7Jにデータ(期待出力データ)を
供給する領域である。
A program memory 76 is composed of a read-only memory, and includes a register control bit area R1, a memory control bit area, a data bit area, and a command bit area C. Area R is an area for manually accessing the register 72, and area M is an area for random access memory (RAM).
) 77, a program counter (PO) 77, an output register 73, etc., and an area for supplying data (expected output data) to the ALU 7J.

また・領域CはALU 73の動作モー・ドを制御する
領域であり、ALU 73のどの機能を使うかを指示す
るビットが記憶される。プログラムメモリ76は/命令
が/バイトから構成されているので、通常の場合はl命
令実行毎に1回インクリメントされる。
Area C is an area for controlling the operation mode of the ALU 73, and stores bits instructing which function of the ALU 73 is to be used. Since the program memory 76 consists of /instructions and /bytes, the program memory 76 is normally incremented once every l instruction is executed.

タタシ、コマンドビット(0)がジャンプ命令の時には
絶対アドレスに対してメモリ制゛御ピッ) (M)の値
を直接フェッチし、相対アドレスに対してPO71の現
在値を加算または減算し又フェッチする。
If the command bit (0) is a jump command, directly fetch the value of the memory control bit (M) from the absolute address, add or subtract the current value of PO71 from the relative address, and fetch again. .

RAM 77はプログラムメモリ7乙のレジスタ制御ビ
ット(刑によってチップセレクトされ、プログラムメモ
リ76のメモリ制御ビットOLりによってセルセレクト
される。また、RAM 77はALU 73の図示しな
いリードライト線(R/W )によりモード切換さレテ
、データバス踵上に送出された入力データを読み込むか
、または記憶したデータをデータバス7IIに出力する
。PC71はプログラムメモリ7乙のアドレスを制御す
る。7りはプログラムメモリ7乙ツインテツクス命令に
用いるインデックスレジスタである。ここで、インデッ
クスレジスタ79がらの信号によりRAM 77をアク
セスする場合をインデツクスアドレスとし、プログラム
メモリ76のメモリ制御ビット領域Mからの信号により
RAM 77をアクセスする場合をダイレクトアドレス
とする。
The RAM 77 is chip-selected by the register control bit of the program memory 7B, and the cell is selected by the memory control bit OL of the program memory 76. ), the input data sent on the data bus is read or the stored data is output to the data bus 7II.The PC 71 controls the address of the program memory 7B. 7B This is an index register used for twin text instructions.Here, the case where the RAM 77 is accessed by a signal from the index register 79 is referred to as an index address, and the case where the RAM 77 is accessed by a signal from the memory control bit area M of the program memory 76. When accessing, use a direct address.

10はALU 73の種々の演算のためのスクラッチパ
ッドメモリとして用いるレジスタであり、論理演算に必
要なデータはこのレジスタ10に書き込んで処理する。
A register 10 is used as a scratch pad memory for various operations of the ALU 73, and data necessary for logical operations is written to this register 10 and processed.

g/は外部機器(不図示)とのデータの受は渡しを行う
入出力レジスタであり、例えば入出力デバイスのアドレ
ス指示やデータの送受信を行う。その外部機器としては
、ビデオキーボード、ラインプリンタなどがあり、テス
トプログラムの入力やテスト結果の出力などに用いる。
g/ is an input/output register that receives and transfers data to and from an external device (not shown), and, for example, specifies addresses of input/output devices and sends and receives data. External devices include video keyboards and line printers, which are used to input test programs and output test results.

次に、第1図のLSIテスタの動作を説明する。Next, the operation of the LSI tester shown in FIG. 1 will be explained.

まず、テスト開始とともに発振器(080) Il/の
出力を計数するカランタフ2の出力端子Qからアドレス
信号が送出され、その信号によりROM 、?2の上位
アドレスA4〜A6が指定され、また出力レジスタ7j
から送出されたアドレス信号によってROM J、2の
下位アドレスA。−A5が指定される。指定されたRO
M 3λのアドレスA0〜A6のデータが、その出力端
子01〜08からラッチ回路33〜功の該当アドレスに
順次送出される。これにより、ラッチ回路33〜僧の出
力端子QA−喝から出力制御線01□〜01ヨ(但し、
1−7〜g)を介して人力テストデータ、すなわちRO
M 32に書き込まれた入力条件に当るテストパターン
データが被測定LSI’7/の入力端チェ。
First, at the start of the test, an address signal is sent from the output terminal Q of Carantuff 2, which counts the output of the oscillator (080) Il/, and this signal causes the ROM, ? 2 upper addresses A4 to A6 are specified, and the output register 7j
The lower address A of ROM J,2 is determined by the address signal sent from ROM J.2. -A5 is specified. designated RO
The data at addresses A0 to A6 of M3λ are sequentially sent from the output terminals 01 to 08 to the corresponding addresses of the latch circuits 33 to 33. As a result, output control lines 01□ to 01Y (however,
1-7~g) through human test data, i.e. RO
The test pattern data corresponding to the input conditions written in M32 is input to the input terminal check of the LSI under test '7/.

〜工63に供給され、その応答結果が検出出力として出
力端子O6〜01oから送出する。ここで、例えば、電
卓用−LSIを被測定LSI 7/とじて本装置を電卓
用LSIチェッカとして用いる場合は、上述の入力端チ
ェ。〜工25が電卓のテンキーの入力端子に相当し、出
力端子06−010が液晶ドライブ出力端子に相当する
~ 63, and the response results are sent out from output terminals O6~01o as detection outputs. Here, for example, when this device is used as a calculator LSI checker by combining the calculator LSI with the LSI under test 7/, the above-mentioned input end checker is used. . . . 25 correspond to the input terminals of the numeric keypad of the calculator, and the output terminals 06 to 010 correspond to the liquid crystal drive output terminals.

被測定LSI7/からの検出出力はプログラムメモリ7
Aのレジスタ制御ビットRによりアクセスされて、AL
U 73に供給される。ALU 73は供給された検出
出力に基づき各種のキー人力状態に対する出力値を測定
し、それがプログラムメモリ7tから供給されたデータ
ピッ) CD)に基づき予め計算して求めておいた良品
の場合の正確な出力値と比較して、両者が一致している
か否かを確認し、被測定LSI71が良品であるか不良
品であるかを判定する。その判定結果を入出力レジスタ
ざ/を介して外部i器に送出し、デスプレイ表示または
プリントアウトを行う。次のテストに移るときは、AL
U 73から出カレジス゛り7jに指示信号が出力され
、これに基づき出力レジスタ7jから新たなアドレス指
示がROMn K対して行われ、それにより被測定LS
I 7/は新たな人力条件を与えられる。その際、ラッ
チ回路33〜%は出力レジスタにからの出力にもとづき
ROM 3ノの中に書かれている内容をラッチするだけ
であるから、極めて高速となる。例えば、ラッチ回路3
3〜%をそれぞれマイクロコンピュータの出力ボートに
割り当てて、ソフトウェアにより出力値をセットする。
The detection output from the LSI under test 7/ is stored in the program memory 7.
A register control bit R accesses the AL
Supplied to U 73. The ALU 73 measures the output values for various key manual states based on the supplied detection output, and calculates the accuracy in the case of a non-defective product, which has been calculated in advance based on the data supplied from the program memory 7t (CD). It is determined whether the LSI 71 under test is a good product or a defective product by comparing it with the output value and checking whether the two match. The determination result is sent to an external device via an input/output register and displayed or printed out. When moving on to the next test, AL
An instruction signal is output from U 73 to output register 7j, and based on this, a new address instruction is issued from output register 7j to ROMn K, which causes the LS under test to
I7/ will be given new manpower requirements. At this time, the latch circuits 33-% only latch the contents written in the ROM 3 based on the output from the output register, so the processing speed is extremely high. For example, latch circuit 3
3 to % are respectively assigned to the output ports of the microcomputer, and the output values are set by software.

従来の場合に比較して少くとも10倍以上の高速動作が
可能である。
It is possible to operate at least 10 times faster than in the conventional case.

このように、本実施例では、従来のようなタイマ制御に
よる複雑なソフトウェアを必要としたシーケンス制御装
#に比較して、タイミングチャートが与えられれば、そ
れを直接ROM K 書き込むだけでシーケンス制御が
実現できるので、開発手間が大幅に軽減されるばかりで
なく、ビットスライスプロセッサとの組合せにより工0
テスタ等の高速のシーケンス制御が実現できる効果が得
られる。
In this way, in this embodiment, if a timing chart is given, sequence control can be performed by simply writing it directly into the ROM K, compared to a conventional sequence control device that requires complicated software using timer control. This not only greatly reduces the development effort, but also reduces the development effort to zero when combined with a bit slice processor.
The effect of realizing high-speed sequence control of testers, etc. can be obtained.

上述したように、本発明によれば、ROMの時分割アク
セスにより、柔軟性と汎用性のあるシステムとし、実時
間性をも満足するシーケンス制御装置を提供することが
できる。
As described above, according to the present invention, it is possible to provide a sequence control device that is a flexible and versatile system and also satisfies real-time performance by time-division access of the ROM.

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

第1図は本発明シーケンス制御装置の基本構成例を示す
ブロック図、第一図は第1図の制御信号の出力波形の一
例を示すタイミングチャート、第3図は第2図の制御出
力を実現するだめのROMのアドレスとデータの関係を
示すメモリアロケーション図、第11図は本発明シーケ
ンス制御装置の他の構成例を示すブロック図、第5図は
第グ図のROMのアドレスマツプの一例を示す説明図、
第6図は本発明シーケンス制御装置の更に他の構成例を
示すブロック図、第7図は第6図のROMのアドレスマ
ツプの一例を示す説明図、第1図は本発明を適用したL
SIテスタの構成例を示すブロック図である。 l/・・・ドラムモータ、  /2・・・第7高圧電源
、13・・・第2高圧電源   /+7・・・給紙クラ
ッチ、/3・・・レジストクラッチ、/6・・・光学系
モータ、17・・・光源、      /l・・・定着
器モータ、19・・リードオンリメモリ(ROM )、
〃・・・アドレス発生器、 I・・・ロータリーエンコ
ーダ、n・・・透過形フォトセンサ、 n・・・カウンタ(第1カウンタ)、 2グ・・・信号線、     B・・・信号線、に・・
・出力信号線、   3/・・・アドレス発生器、3ノ
・・・リードオンリメモリ(ROM )、33〜4to
・・・アドレサブルラッチ回路、(Z/・・・発振器(
OSO) 、  グλ・・・第1カウンタ、jl・・・
イネーブル信号発生器、 j2・・・第3カウンタ、 jl・・・マグニチュードコンパレータ、評〜j9・・
・信号線、   功・・・アドレス線、7/・・・被測
定LSI (被制御要素)、7λ・・・入力レジスタ、 73・・・論理演算ユニツ) (ALU )、7グ・・
・データバス、7j・・・出力レジスタ、7g・・・プ
ログラムメモリ、 77・・・ランダムアクセスメモリ(RAM )、7g
・・・プログラムカウンタ(PC)、79・・・インデ
ックスレジスタ、 10・・・レジスタ、す/・・・入出力レジスタ。 特許出願人 キャノン株式会社 第5図
Fig. 1 is a block diagram showing an example of the basic configuration of the sequence control device of the present invention, Fig. 1 is a timing chart showing an example of the output waveform of the control signal shown in Fig. 1, and Fig. 3 realizes the control output shown in Fig. 2. FIG. 11 is a block diagram showing another configuration example of the sequence control device of the present invention, and FIG. 5 is an example of the address map of the ROM shown in FIG. An explanatory diagram showing,
FIG. 6 is a block diagram showing still another configuration example of the sequence control device of the present invention, FIG. 7 is an explanatory diagram showing an example of the address map of the ROM in FIG. 6, and FIG. 1 is an L to which the present invention is applied.
FIG. 2 is a block diagram showing a configuration example of an SI tester. l/...Drum motor, /2...7th high voltage power supply, 13...2nd high voltage power supply /+7...Paper feed clutch, /3...Register clutch, /6...Optical system Motor, 17...Light source, /l...Fuser motor, 19...Read only memory (ROM),
〃...Address generator, I...Rotary encoder, n...Transmissive photo sensor, n...Counter (first counter), 2G...Signal line, B...Signal line, To...
・Output signal line, 3/...address generator, 3no...read only memory (ROM), 33~4to
...Addressable latch circuit, (Z/...oscillator (
OSO), gλ...first counter, jl...
Enable signal generator, j2...Third counter, jl...Magnitude comparator, evaluation~j9...
・Signal line, function...address line, 7/...LSI under test (controlled element), 7λ...input register, 73...logic operation unit) (ALU), 7...
・Data bus, 7j...Output register, 7g...Program memory, 77...Random access memory (RAM), 7g
...Program counter (PC), 79...Index register, 10...Register, Su/...I/O register. Patent applicant Canon Co., Ltd. Figure 5

Claims (1)

【特許請求の範囲】[Claims] 複数の被制御要素の制御データを貯えるリードオンリメ
モリと、このリードオンリメモリの上位アドレスと下位
アドレスをそれぞれ異なる周期で指定するアドレス信号
を発生することにより前記リードオンリメモリの制御デ
ータを時分割アクセスするアドレス発生器と、前記リー
ドオンリメモリから読み出された制御データを所定の時
間にラッチするラッチ回路とを有することを特徴とする
シーケンス制御装置。
A read-only memory that stores control data for a plurality of controlled elements, and time-sharing access to the control data of the read-only memory by generating address signals that specify the upper and lower addresses of the read-only memory at different cycles. 1. A sequence control device comprising: an address generator for latching control data read from the read-only memory at a predetermined time; and a latch circuit for latching control data read from the read-only memory at a predetermined time.
JP9689082A 1982-06-08 1982-06-08 Sequence controller Pending JPS58214908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9689082A JPS58214908A (en) 1982-06-08 1982-06-08 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9689082A JPS58214908A (en) 1982-06-08 1982-06-08 Sequence controller

Publications (1)

Publication Number Publication Date
JPS58214908A true JPS58214908A (en) 1983-12-14

Family

ID=14176974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9689082A Pending JPS58214908A (en) 1982-06-08 1982-06-08 Sequence controller

Country Status (1)

Country Link
JP (1) JPS58214908A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6343355B1 (en) 1998-02-24 2002-01-29 Oki Electric Industry Co., Ltd. Sequence controller capable of executing different kinds of processing at respective periods
JP2019135599A (en) * 2018-02-05 2019-08-15 株式会社東芝 Control system, control method, control device and display unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6343355B1 (en) 1998-02-24 2002-01-29 Oki Electric Industry Co., Ltd. Sequence controller capable of executing different kinds of processing at respective periods
JP2019135599A (en) * 2018-02-05 2019-08-15 株式会社東芝 Control system, control method, control device and display unit

Similar Documents

Publication Publication Date Title
US4128873A (en) Structure for an easily testable single chip calculator/controller
US4023142A (en) Common diagnostic bus for computer systems to enable testing concurrently with normal system operation
US4482953A (en) Computer with console addressable PLA storing control microcode and microinstructions for self-test of internal registers and ALU
US4038643A (en) Microprogramming control system
US4447870A (en) Apparatus for setting the basic clock timing in a data processing system
US4019033A (en) Control store checking system and method
JPS601643B2 (en) Initialization circuit for digital computers
US4155118A (en) Organization for an integrated circuit calculator/controller
GB1573539A (en) Digital data processing apparatus
US3798428A (en) Electronic time-keeping apparatus
US5475852A (en) Microprocessor implementing single-step or sequential microcode execution while in test mode
EP0347905B1 (en) Circuit for testing circuit blocks controlled by microinstructions
US6249880B1 (en) Method and apparatus for exhaustively testing interactions among multiple processors
JPS58214908A (en) Sequence controller
US3226684A (en) Computer control apparatus
US4641278A (en) Memory device with a register interchange function
EP0010123B1 (en) Paging control store data processing apparatus
US6230263B1 (en) Data processing system processor delay instruction
US6052700A (en) Calendar clock caching in a multiprocessor data processing system
CA1189191A (en) Algorithmic word generator
JPS58214907A (en) Sequence controller
JPS58214909A (en) Sequence controller
US3942156A (en) Indirect arithmetic control
JPS6410854B2 (en)
JPS58214910A (en) Sequence controller