JPH0514930B2 - - Google Patents

Info

Publication number
JPH0514930B2
JPH0514930B2 JP59003640A JP364084A JPH0514930B2 JP H0514930 B2 JPH0514930 B2 JP H0514930B2 JP 59003640 A JP59003640 A JP 59003640A JP 364084 A JP364084 A JP 364084A JP H0514930 B2 JPH0514930 B2 JP H0514930B2
Authority
JP
Japan
Prior art keywords
encoded information
subroutine
management table
storage means
bit
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
Application number
JP59003640A
Other languages
Japanese (ja)
Other versions
JPS60149058A (en
Inventor
Shozo Myawaki
Tadahide Sawamura
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP59003640A priority Critical patent/JPS60149058A/en
Publication of JPS60149058A publication Critical patent/JPS60149058A/en
Publication of JPH0514930B2 publication Critical patent/JPH0514930B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)
  • Control Or Security For Electrophotography (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

(技術分野) 本発明はマイクロプロセツサ使用システムに関
するものであり、特に複写装置のサブルーチン実
行制御方式に係るものである。 (従来技術) 従来、マイクロプロセツサを搭載した複写制御
装置においては、それぞれモードの異なる各装置
(機種)毎に異なつたソフトウエアを設計し、デ
イバツグを実施していた。しかしながら、この様
な制御装置方式ではソフトウエアの設計期間が多
く、デイバツグ期間が多いという欠点の他、信頼
性が低下するという問題もあつた。 (目的) 本発明はこの様な従来例の欠点に鑑みてなされ
たものであり、類以規模の操作モードの異なる複
数の装置にわたり、共通なソフトウエアを用いる
ことにより、ソフトウエアの開発設計期間、デイ
バツグの期間を短縮し、信頼性の向上を計ること
を目的とするものである。 (構成) 以下本発明の構成を図示の実施例に基づき説明
する。 第1図は本発明のサブルーチン管理テーブル、
第2図は前記サブルーチン管理テーブルの優先度
ステータスとの比較により、サブルーチンの実行
可否を決定する優先度決定レジスタを示すもので
あり、また第3図が本発明を説明するためのソフ
トウエア構成ブロツク図である。 尚、第3図のメインルーチン,サブルーチン
群、及びサブルーチン管理テーブルは読み出し専
用記憶素子(RM)に、優先度決定レジスタは
読み書き両用記憶素子(RAM)に設けられてい
る。 第1図aは各番地(10〜19番地)における内
容、即ち、サブルーチンAの優先度ステータスで
あるとか、サブルーチンAの先頭アドレスである
とかを示す。また同図bはaの各番地に対応する
0.1信号の組み合わせである。 また第3図において1はメインルーチン、2は
サブルーチン群、3はサブルーチン管理テーブ
ル、4は優先度決定レジスタをそれぞれ示す。
尚、信号の流れは図に示す通りである。 次に第3図の構成ブロツク図にて動作概要を述
べると、メインルーチン1は先ず先度決定レジス
タ4を、“00000001”に設定するのにひき続き、
管理テーブル3の(10)で示されるサブルーチンAの
優先度ステータス“00000001”とアンドをとり、
結果が0にならないので次の(11)で示されるサ
ブルーチンAの先頭アドレス(0C210H)を分岐
先として分岐する。 次に(12)で示されるサブルーチンBの優先度
ステータス“00000010”とアンドをとり、結果が
0に成るので次の(13)で示されるサブルーチン
Bへは分岐しない。 以上の様にして1回目の走査ではサブルーチン
A,Y,Zを実行する。 管理テーブル3の最終サブルーチン即ち第1図
のZでは、再び管理テーブル3の先頭である(10)か
ら開始する様に設定するとともに、優先度決定レ
ジスタ4を左に1ビツトシフトする。即ち
“00000010”とする。 この様にして2回目の走査ではサブルーチン
B,Y,Zを実行する。同様にして3回目の走査
ではサブルーチンX,Y,Zを実行する。また4
回目の走査ではY,Zを実行する。これらの走査
回数と実行ルーチンをまとめると次表の様にな
る。
(Technical Field) The present invention relates to a system using a microprocessor, and particularly to a subroutine execution control system for a copying machine. (Prior Art) Conventionally, in a copy control device equipped with a microprocessor, different software was designed for each device (model) with a different mode, and debugging was performed. However, such a control system has the drawbacks of a long software design period and a long debugging period, as well as a problem of reduced reliability. (Purpose) The present invention has been made in view of the shortcomings of the conventional example, and by using common software across multiple devices of a similar scale with different operation modes, the software development and design period can be reduced. The purpose is to shorten the debugging period and improve reliability. (Structure) The structure of the present invention will be described below based on illustrated embodiments. FIG. 1 shows a subroutine management table of the present invention.
FIG. 2 shows a priority determination register that determines whether or not a subroutine can be executed by comparing it with the priority status of the subroutine management table, and FIG. 3 shows a software configuration block for explaining the present invention. It is a diagram. The main routine, subroutine group, and subroutine management table shown in FIG. 3 are provided in a read-only memory element (RM), and the priority determination register is provided in a read/write memory element (RAM). FIG. 1a shows the contents at each address (addresses 10 to 19), ie, the priority status of subroutine A, or the start address of subroutine A. Also, b in the same figure corresponds to each address in a.
It is a combination of 0.1 signals. Further, in FIG. 3, 1 indicates a main routine, 2 indicates a subroutine group, 3 indicates a subroutine management table, and 4 indicates a priority determination register.
Note that the signal flow is as shown in the figure. Next, an outline of the operation will be described with reference to the block diagram of FIG. 3. The main routine 1 first sets the priority determination register 4 to "00000001" and then
Perform an AND with the priority status “00000001” of subroutine A shown in (10) of management table 3,
Since the result is not 0, the program branches to the start address (0C210H) of subroutine A shown in (11) below. Next, the priority status "00000010" of subroutine B shown in (12) is ANDed, and since the result becomes 0, there is no branching to the next subroutine B shown in (13). As described above, subroutines A, Y, and Z are executed in the first scan. In the final subroutine of the management table 3, ie, Z in FIG. 1, the management table 3 is again set to start from the top (10), and the priority determination register 4 is shifted to the left by 1 bit. That is, it is set to "00000010". In this manner, subroutines B, Y, and Z are executed in the second scan. Similarly, in the third scan, subroutines X, Y, and Z are executed. Also 4
In the second scan, Y and Z are executed. The following table summarizes the number of scans and execution routines.

【表】【table】

【表】 この様にして、サブルーチンの実行速度上の優
先度を各サブルーチン毎に管理テーブル3上で定
義することにより、精度が要求される動作を選択
的に管理することが出来る。 第4図は以上の制御動作を説明するための概略
フローチヤートである。 即ち、電源投入後、まず、優先度決定レジスタ
が設けられているRAMの全領域をクリアし(S
−1)、優先度決定レジスタに初期値を設定する
(S−2)。次に、ポインタの値を管理テーブル3
の最初のサブルーチンの先頭アドレスの値に設定
する(S−3)。次のステツプS−4では、優先
度決定レジスタの設定値とポインタが示すサブル
ーチンの優先度ステータスの値の論理積を取り、
0かどうかを判定する。その結果Yesならば、ポ
インタの値に2を加算して、管理テーブル3の次
のサブルーチンの先頭アドレスの値を指し示すよ
うにした後(S−5)、ステツプS−4に戻る。
判定結果がNoならば、ポインタの値に1を加算
し(S−6)、ポインタが指し示すサブルーチン
に分岐する(S−7)。そして、当該サブルーチ
ンが最終サブルーチンかどうかを判定し(S−
8)、判定結果がNoならば、ポインタの値に1を
加算し、管理テーブル3の次のサブルーチンの先
頭アドレスの値を指し示すようにした後(S−
9)、ステツプS−4に戻る。判定結果がYesな
らば、優先度決定レジスタの設定値を1ビツト左
へシフトさせた後(S−10)、ステツプS−4に
戻る。 (効果) 本発明は以上述べた通りのものであり、本発明
によれば、第1の符号化情報を適宜設定すること
により、異なる装置であつてもソフトウエアを共
通化する事が可能になるから、ソフトウエア開発
設計期間の短縮及びソフトウエアデイバツグ期間
の短縮が計れ、ソフトウエア信頼性の向上が期待
出来る。さらに制御精度の向上も計れるという効
果がある。
[Table] In this way, by defining the priority of subroutines in terms of execution speed for each subroutine on the management table 3, operations that require precision can be selectively managed. FIG. 4 is a schematic flowchart for explaining the above control operation. That is, after turning on the power, first clear the entire area of RAM where the priority determination register is provided (S
-1), an initial value is set in the priority determination register (S-2). Next, set the value of the pointer to management table 3.
is set to the value of the start address of the first subroutine (S-3). In the next step S-4, the set value of the priority determination register is ANDed with the priority status value of the subroutine indicated by the pointer.
Determine whether it is 0. If the result is Yes, 2 is added to the value of the pointer to point to the value of the start address of the next subroutine in the management table 3 (S-5), and then the process returns to step S-4.
If the determination result is No, 1 is added to the value of the pointer (S-6), and the process branches to the subroutine pointed to by the pointer (S-7). Then, it is determined whether the subroutine is the final subroutine (S-
8) If the judgment result is No, add 1 to the value of the pointer and point to the value of the start address of the next subroutine in management table 3 (S-
9), return to step S-4. If the determination result is Yes, the set value of the priority determination register is shifted to the left by 1 bit (S-10), and then the process returns to step S-4. (Effects) The present invention is as described above, and according to the present invention, by appropriately setting the first encoding information, it is possible to share software even in different devices. Therefore, it is possible to shorten the software development design period and the software debugging period, and it is expected that the software reliability will be improved. Furthermore, it has the effect of improving control accuracy.

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

第1図は本発明のサブルーチン管理テーブルを
示し、aは番地の内容、bはその0.1信号内容を
それぞれ示す図、第2図は優先度限定レジスタを
示す図、第3図は本発明の一実施例に係る制御ブ
ロツク図、第4図はその動作フローチヤートであ
る。 3……サブルーチン管理テーブル。
FIG. 1 shows a subroutine management table of the present invention, where a shows the content of the address, b shows the content of the 0.1 signal, FIG. 2 shows the priority limited register, and FIG. 3 shows the subroutine management table of the present invention. The control block diagram according to the embodiment, FIG. 4, is its operation flowchart. 3... Subroutine management table.

Claims (1)

【特許請求の範囲】 1 制御対象の複数の制御手順をそれぞれ記憶す
る第1記憶手段と、 前記制御手順の実行上の選択情報を表す複数ビ
ツトの第1の符号化情報を前記制御手順に対応さ
せてそれぞれ記憶する第2記憶手段と、 前記第1の符号化情報と同一のビツト数で構成
され、その中の1ビツトのみハイレベルに設定さ
れる第2の符号化情報を記憶する第3記憶手段
と、 全ての前記第1の符号化情報に亙つて、該第1
の符号化情報と前記第2の符号化情報との各ビツ
ト毎の論理積を順次、演算する演算手段と、 第2記憶手段に記憶されている前記第2の符号
化情報のハイレベルのビツト位置を順次、シフト
させる符号化情報更新手段と、 前記符号化情報更新手段が更新した全ての前記
第2の符号化情報に亙つて、前記演算手段が演算
した演算結果に従つて、前記演算手段がハイレベ
ル信号を出力した時の前記第1の符号化情報に対
応する前記制御手順を順次、実行する制御手段と
を備えた制御装置。
[Scope of Claims] 1. A first storage means for storing a plurality of control procedures to be controlled, and a plurality of bits of first encoded information representing execution selection information of the control procedure corresponding to the control procedure. and a third storage means for storing second encoded information having the same number of bits as the first encoded information, of which only one bit is set to a high level. a storage means for all the first encoded information;
calculation means for sequentially calculating the logical product of each bit of the encoded information and the second encoded information; and a high-level bit of the second encoded information stored in the second storage means. encoded information updating means for sequentially shifting the position; and according to the calculation result calculated by the calculation means for all the second encoded information updated by the encoded information updating means, the calculation means a control device that sequentially executes the control procedure corresponding to the first encoded information when the first encoded information is outputted a high level signal.
JP59003640A 1984-01-13 1984-01-13 Copying control device Granted JPS60149058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59003640A JPS60149058A (en) 1984-01-13 1984-01-13 Copying control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59003640A JPS60149058A (en) 1984-01-13 1984-01-13 Copying control device

Publications (2)

Publication Number Publication Date
JPS60149058A JPS60149058A (en) 1985-08-06
JPH0514930B2 true JPH0514930B2 (en) 1993-02-26

Family

ID=11563076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59003640A Granted JPS60149058A (en) 1984-01-13 1984-01-13 Copying control device

Country Status (1)

Country Link
JP (1) JPS60149058A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4811052A (en) * 1985-08-08 1989-03-07 Canon Kabushiki Kaisha Control device for control of multi-function control units in an image processing apparatus
US7213052B2 (en) 2001-03-31 2007-05-01 Minolta Co., Ltd. Data communication apparatus capable of rewriting firmware

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5637550A (en) * 1979-09-04 1981-04-11 Nippon Steel Corp Measuring method of sulfur concentration in molten metal and its unit
JPS59164564A (en) * 1983-03-10 1984-09-17 Fuji Xerox Co Ltd Preventing device for information erasure and modification due to careless operation of copying machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5637550A (en) * 1979-09-04 1981-04-11 Nippon Steel Corp Measuring method of sulfur concentration in molten metal and its unit
JPS59164564A (en) * 1983-03-10 1984-09-17 Fuji Xerox Co Ltd Preventing device for information erasure and modification due to careless operation of copying machine

Also Published As

Publication number Publication date
JPS60149058A (en) 1985-08-06

Similar Documents

Publication Publication Date Title
US4241420A (en) Disk data control
US5093783A (en) Microcomputer register bank accessing
US4525776A (en) Arithmetic logic unit arranged for manipulating bits
JPH0514930B2 (en)
JPS6319058A (en) Memory device
EP0215992B1 (en) Method for storing the control code of a processor allowing effective code modification and addressing circuit therefor
JPS6130301B2 (en)
JP2662415B2 (en) Trace method
JPS6331809B2 (en)
JP2595992B2 (en) Electronic musical instrument
JP2745658B2 (en) Trace method of branch instruction
JP2581214B2 (en) Logic simulator
JPS6032208B2 (en) Instruction sequence control device
JPS63129432A (en) Program address tracing device
JPS62290944A (en) Evaluation system for microprogram
JP2509981B2 (en) Virtual storage controller
JPS60126731A (en) Program control method
JPH024017B2 (en)
JPH0454257B2 (en)
JPH05127893A (en) Microprogram control system
JPS6058493B2 (en) information processing equipment
JPH01131936A (en) Memory data editing system
JPS60112140A (en) Access system of stack
JPH0136137B2 (en)
JPH04112208A (en) Programmable controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term