JPH04301655A - Master/slave controller - Google Patents

Master/slave controller

Info

Publication number
JPH04301655A
JPH04301655A JP3067254A JP6725491A JPH04301655A JP H04301655 A JPH04301655 A JP H04301655A JP 3067254 A JP3067254 A JP 3067254A JP 6725491 A JP6725491 A JP 6725491A JP H04301655 A JPH04301655 A JP H04301655A
Authority
JP
Japan
Prior art keywords
version
cpu
slave
master
program
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
JP3067254A
Other languages
Japanese (ja)
Inventor
Yoshiteru Mori
森 美輝
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP3067254A priority Critical patent/JPH04301655A/en
Publication of JPH04301655A publication Critical patent/JPH04301655A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Collation Of Sheets And Webs (AREA)

Abstract

PURPOSE:To execute control accurring no malfunction by providing a storage means storing the programs of each stage of an old version and a new version, on the master CPU of a controller. CONSTITUTION:A copying machine main body 1 has the master CPU 2, a ROM 3, a RAM 4, and an operating load 5, and a peripheral equipment 6 has a slave CPU 7, a ROM 8, a RAM 9, and an operating load 10. A new program and the number of its version are stored in the ROM 3 of the copying machine main body 1 side whenever version-up is carried out. In other words, the master CPU 2 can control the slave CPU 7 in the stages of the version-up, etc., with the program stored in the ROM 3, as well. On the other hand, the programs of each stage are stored so as to correspond to the programs of any stages of the version-up in the slave CPU 7, as well, and simultaneously, the number of the versions of each program is stored. Then, this program is selected to carry out the control.

Description

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

【0001】0001

【産業上の利用分野】この発明は、複写機本体にマスタ
CPUを備え、自動原稿送り装置等の周辺機器にスレー
ブCPUを備えた複写機のマスタスレーブ制御装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a master-slave control device for a copying machine, in which a master CPU is provided in the main body of the copying machine, and a slave CPU is provided in peripheral equipment such as an automatic document feeder.

【0002】0002

【従来の技術】近年の複写機は自動原稿送り装置,用紙
表裏反転装置等の種々の周辺機器をオプションで装着で
きるようになっている。このような周辺機器は各々スレ
ーブCPUを備え、複写機本体に装着されたときに複写
機本体のマスタCPUと通信回線によって接続される。 そしてスレーブCPUはマスタCPUからの信号に基づ
いて周辺機器を動作させる。
2. Description of the Related Art Copying machines in recent years can be optionally equipped with various peripheral devices such as an automatic document feeder and a sheet reversing device. Each of these peripheral devices includes a slave CPU, and when installed in the copying machine main body, is connected to the master CPU of the copying machine main body via a communication line. The slave CPU then operates peripheral devices based on signals from the master CPU.

【0003】0003

【発明が解決しようとする課題】一方複写機においては
ユーザの要望,操作性等を考慮して、マスタCPU,ス
レーブCPUのプログラムがバージョンアップされてゆ
き、それに伴ってスレーブCPUのプログラムもバージ
ョンアップされる。しかしながら複写機を実際に使用す
る場合、オプションの追加購入,複写機本体の買い替え
等によってマスタCPUのバージョンNoとスレーブC
PUのバージョンNoが一致していないこともあり、次
のような組み合わせがされていることがあった。■旧バ
ージョンのマスタCPU  新バージョンのスレーブC
PU、■新バージョンのマスタCPU  旧バージョン
のスレーブCPU、■新バージョンのマスタCPU  
新バージョンのスレーブCPU、である。この組み合わ
せ中、■の場合は命令系(マスタ)のプログラムと動作
系(スレーブ)のプログラムとが対応しているため支障
なく動作される。また通常の場合、バージョンアップに
より旧機能が失われてしまうことはなく、■の組み合わ
せによって旧バージョンによる命令が周辺機器にされて
も周辺機器は充分に対応し、不都合が生じてしまうこと
がない。しかしながら■の場合には、命令系であるマス
タCPUが新バージョンであるため命令系(複写機本体
)から動作系(周辺機器)に対して全く未知の命令がも
たらされてしまうことが生じ、その結果誤動作等の不都
合を生じてしまうことがあった。
[Problem to be Solved by the Invention] On the other hand, in copying machines, the programs of the master CPU and slave CPU are updated in consideration of user requests, operability, etc., and the program of the slave CPU is also updated accordingly. be done. However, when actually using a copying machine, the version number of the master CPU and the slave C may be changed by purchasing additional options or replacing the copying machine itself.
Sometimes the version numbers of the PUs did not match, and the following combinations were sometimes used. ■Old version master CPU New version slave C
PU, ■New version master CPU Old version slave CPU, ■New version master CPU
This is a new version of the slave CPU. Among these combinations, in the case of (1), the instruction system (master) program and the operation system (slave) program correspond to each other, so they can be operated without any problem. In addition, in normal cases, old functions will not be lost due to version upgrades, and even if instructions from the old version are applied to a peripheral device by the combination of ■, the peripheral device will be fully compatible and no inconvenience will occur. . However, in the case of ■, since the master CPU, which is the command system, is a new version, a completely unknown command may be sent from the command system (copier main body) to the operation system (peripheral equipment). As a result, inconveniences such as malfunctions may occur.

【0004】この発明の目的は、マスタCPUに接続さ
れるスレーブCPUのプログラムバージョンの新旧にか
かわらず誤動作のない制御を行うことのできるマスタス
レーブ制御装置を提供することにある。
An object of the present invention is to provide a master-slave control device that can perform control without malfunction regardless of whether the program version of a slave CPU connected to a master CPU is new or old.

【0005】[0005]

【課題を解決するための手段】この発明は、複写機本体
にマスタCPUを備え、周辺機器にスレーブCPUを備
えるマスタスレーブ制御装置において、前記マスタCP
Uは、旧バージョン,新バージョンの各段階のプログラ
ムを記憶する記憶手段と、接続された周辺機器の制御プ
ログラムのバージョンナンバを読み出す手段と、読み出
した周辺機器のバージョンナンバに応じたバージョンの
プログラムを選択する手段とを備えたことを特徴とする
[Means for Solving the Problems] The present invention provides a master-slave control device in which a copying machine main body is provided with a master CPU and peripheral devices are provided with slave CPUs.
U includes a storage means for storing programs at each stage of old version and new version, means for reading the version number of the control program of the connected peripheral device, and means for reading the version of the program according to the read version number of the peripheral device. The method is characterized by comprising a means for selecting.

【0006】[0006]

【作用】この発明の制御装置のマスタCPUは旧バージ
ョン,新バージョンの各段階のプログラムが記憶する記
憶手段を有している。そして必要に応じて旧バージョン
,新バージョンの何れでも制御を行うことができる。 プログラムバージョンの選択は、接続されたスレーブC
PU(周辺機器)の制御プログラムのバージョンNoに
応じて設定される。例えば、スレーブCPUが旧バージ
ョンであるときには、たとえマスタCPUに新バージョ
ンのプログラムが記憶されていたとしても前記スレーブ
CPUの制御は旧バージョンのプログラムで実行される
[Operation] The master CPU of the control device of the present invention has storage means for storing programs at each stage of the old version and the new version. It is also possible to control either the old version or the new version as needed. Select the program version on the connected slave C
It is set according to the version number of the control program of the PU (peripheral device). For example, when the slave CPU is of an old version, even if a new version of the program is stored in the master CPU, the slave CPU is controlled by the old version of the program.

【0007】[0007]

【実施例】図1はこの発明の実施例である複写機の制御
部のブロック図である。複写機は複写機本体1と、周辺
機器(例えばADF)6を組み合わせて構成されている
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of a control section of a copying machine according to an embodiment of the present invention. The copying machine is constructed by combining a copying machine main body 1 and peripheral equipment (eg, ADF) 6.

【0008】複写機本体1はマスタCPU2、ROM3
、RAM4、および動作負荷5を有している。また周辺
機器6は、スレーブCPU7、ROM8、RAM9、お
よび動作負荷10を有している。複写機本体1側のRO
M3には、バージョンアップされるごとに新しいプログ
ラムおよびそのバージョンNoが記憶されている。すな
わちROM3に記憶されたプログラムによってマスタC
PU2は、バージョンアップのどの段階のスレーブCP
U7をも制御できるようになっている。一方、スレーブ
CPU7にもバージョンアップのどの段階のプログラム
にも対応できるように各段階のプログラムが記憶される
とともに、各プログラムのバージョンNoが記憶されて
いる。
The copying machine main body 1 has a master CPU 2 and a ROM 3.
, RAM 4, and operating load 5. Further, the peripheral device 6 includes a slave CPU 7, a ROM 8, a RAM 9, and an operating load 10. RO on the copy machine main body 1 side
M3 stores a new program and its version number every time the program is upgraded. That is, master C is controlled by the program stored in ROM3.
PU2 is a slave CP at which stage of version upgrade.
It is also possible to control U7. On the other hand, the slave CPU 7 also stores programs at each stage so that it can handle programs at any stage of version upgrade, and also stores the version number of each program.

【0009】図2はこのマスタスレーブ制御装置の処理
手順を一部を示したフローチャートである。まず、複写
機本体の電源がオンされるとマスタCPU2はスレーブ
CPUにアクセスしてROM8に記憶されているバージ
ョンNoの読み出し動作に入る(n1)。スレーブCP
U7から応答があった場合は、そのバージョンNoを読
み出して(n2→n3,n4)、マスタCPU2におい
てそのバージョンNoに合ったプログラムをセットする
(n5,n6)。なお、スレーブCPU7から応答がな
い場合には旧バージョンのプログラムをセットする(n
2→n5)。
FIG. 2 is a flowchart showing a part of the processing procedure of this master-slave control device. First, when the power of the copying machine is turned on, the master CPU 2 accesses the slave CPU and starts reading the version number stored in the ROM 8 (n1). slave CP
When there is a response from U7, the version number is read (n2→n3, n4), and a program matching the version number is set in the master CPU 2 (n5, n6). If there is no response from the slave CPU 7, set the old version of the program (n
2→n5).

【0010】以上のように複写機本体の電源投入時にス
レーブCPUのバージョンNoを読み出すことによって
、装着されているスレーブCPUのバージョンに対応す
る制御を行うことが可能になり、マスタCPU2(複写
機本体)からスレーブCPU7(周辺機器)に対して対
応出来ない命令が出力されてしまうということがなくな
る。なおこの例では一段階のバージョンアップの例を示
したが、数段階のバージョンアップを行った場合でも同
様に制御することができる。例えばマスタCPUにおい
て、M1.0X→M2.0X・・・→Mm.0X→Mn
.0Xのバージョンアップが行われ、スレーブCPUに
おいて、S1.0X→S2.0X・・・→Sm.0X→
Sn.0Xのバージョンアップが行われた場合、マスタ
CPU2は電源投入時にスレーブCPUのバージョンN
oを読み出し、そのバージョンNoに対応するプログラ
ムで制御を行うことができる。
As described above, by reading the version number of the slave CPU when the copying machine main body is powered on, it becomes possible to perform control corresponding to the version of the installed slave CPU. ) is no longer output to the slave CPU 7 (peripheral device) with instructions that cannot be handled. Note that although this example shows an example of a one-step version upgrade, the same control can be performed even when the version upgrade is performed in several stages. For example, in the master CPU, M1.0X→M2.0X...→Mm. 0X→Mn
.. 0X is upgraded, and in the slave CPU, S1.0X→S2.0X...→Sm. 0X →
Sn. When version 0X is upgraded, master CPU 2 will update version N of slave CPU when the power is turned on.
o can be read and controlled by a program corresponding to the version number.

【0011】[0011]

【発明の効果】この発明によれば、マスタCPUがバー
ジョンアップされ、スレーブCPUがバージョンアップ
されていない場合でも、マスタCPUがスレーブ側のバ
ージョンナンバを読み出してそのバージョンナンバに対
応するプログラムで制御を行うことができるため、スレ
ーブCPUに処理不可能な命令がもたらされてしまうこ
とがなく、誤動作の発生を防止できる。
According to the present invention, even if the master CPU is upgraded but the slave CPU is not, the master CPU reads the version number of the slave side and performs control using the program corresponding to the version number. Therefore, an instruction that cannot be processed is not provided to the slave CPU, and malfunctions can be prevented.

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

【図1】この発明の実施例の複写機におけるマスタスレ
ーブ制御装置部分のブロック図
FIG. 1 is a block diagram of a master-slave control device in a copying machine according to an embodiment of the present invention.

【図2】同装置の一部処理手順を示したフローチャート
[Figure 2] Flowchart showing part of the processing procedure of the device

【符号の説明】[Explanation of symbols]

1  複写機本体 2  マスタCPU 3  ROM 4  RAM 5  動作負荷 6  周辺機器 7  スレーブCPU 8  ROM 9  RAM 10  動作負荷 1 Copy machine body 2 Master CPU 3 ROM 4 RAM 5 Operating load 6 Peripheral equipment 7 Slave CPU 8 ROM 9 RAM 10 Operating load

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複写機本体にマスタCPUを備え、周辺機
器にスレーブCPUを備えるマスタスレーブ制御装置に
おいて、前記マスタCPUは、旧バージョン,新バージ
ョンの各段階のプログラムを記憶する記憶手段と、接続
された周辺機器の制御プログラムのバージョンナンバを
読み出す手段と、読み出した周辺機器のバージョンナン
バに応じたバージョンのプログラムを選択する手段とを
備えたことを特徴とするマスタスレーブ制御装置。
1. A master-slave control device comprising a master CPU in a copying machine main body and a slave CPU in peripheral equipment, wherein the master CPU is connected to storage means for storing programs at each stage of an old version and a new version. 1. A master-slave control device comprising: means for reading out a version number of a control program for a peripheral device that has been read; and means for selecting a version of the program corresponding to the read version number for the peripheral device.
JP3067254A 1991-03-29 1991-03-29 Master/slave controller Pending JPH04301655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3067254A JPH04301655A (en) 1991-03-29 1991-03-29 Master/slave controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3067254A JPH04301655A (en) 1991-03-29 1991-03-29 Master/slave controller

Publications (1)

Publication Number Publication Date
JPH04301655A true JPH04301655A (en) 1992-10-26

Family

ID=13339621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3067254A Pending JPH04301655A (en) 1991-03-29 1991-03-29 Master/slave controller

Country Status (1)

Country Link
JP (1) JPH04301655A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5678135A (en) * 1994-06-21 1997-10-14 Ricoh Company, Ltd. Image forming apparatus for a multiplex copying system
JP2020046950A (en) * 2018-09-19 2020-03-26 富士ゼロックス株式会社 Information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5678135A (en) * 1994-06-21 1997-10-14 Ricoh Company, Ltd. Image forming apparatus for a multiplex copying system
JP2020046950A (en) * 2018-09-19 2020-03-26 富士ゼロックス株式会社 Information processor

Similar Documents

Publication Publication Date Title
US8793677B2 (en) Electronic apparatus, software update method, and storage medium
US6668261B1 (en) Method of upgrading a program using associated configuration data
US7185331B2 (en) Method and apparatus for downloading executable code in a non-disruptive manner
JP2014115776A (en) Image processing device, control method of image processing device, and program
JPH08263282A (en) Branching control system for rom program processor
JP2010022175A (en) Inverter control system, and peripheral device for inverter apparatus
US9244692B2 (en) Information processing apparatus, control method for information processing apparatus, and program to stop supply of clock to a DSP
JP2008152332A (en) Device, controller, and method for updating control software
JPH04301655A (en) Master/slave controller
JP2005258996A (en) Remote maintenance system for fpga
JPH1021060A (en) Communication system with automatic program update processing function, and recording medium equipped with program performing program update processing
JPH03229352A (en) Program changing method
JP3694005B2 (en) Digital signal processing apparatus and digital signal processing method
KR20040018869A (en) Image forming device
JP2004110460A (en) Electronic apparatus and method for downloading control program
JP2871433B2 (en) Patch method
KR20000020510A (en) Driver for recovering downloading error and method for downloading program
JPH06208525A (en) Method for switching operation mode of processor
JPH096457A (en) Program automatic start controller
JPH08194622A (en) Program starting method using memory card
JPH04364563A (en) Downloading control method
JPH0746361A (en) Composite image forming device
JPH042951B2 (en)
JPH0981396A (en) Digital controller
JPH09244480A (en) Control system for image forming device