JP6863043B2 - Printing equipment - Google Patents

Printing equipment Download PDF

Info

Publication number
JP6863043B2
JP6863043B2 JP2017085832A JP2017085832A JP6863043B2 JP 6863043 B2 JP6863043 B2 JP 6863043B2 JP 2017085832 A JP2017085832 A JP 2017085832A JP 2017085832 A JP2017085832 A JP 2017085832A JP 6863043 B2 JP6863043 B2 JP 6863043B2
Authority
JP
Japan
Prior art keywords
processor
log data
storage unit
power
instruction
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.)
Active
Application number
JP2017085832A
Other languages
Japanese (ja)
Other versions
JP2018183900A (en
Inventor
克彦 杉山
克彦 杉山
正樹 宮下
正樹 宮下
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2017085832A priority Critical patent/JP6863043B2/en
Publication of JP2018183900A publication Critical patent/JP2018183900A/en
Application granted granted Critical
Publication of JP6863043B2 publication Critical patent/JP6863043B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷装置に関する。 The present invention relates to a printing apparatus.

従来、印刷装置におけるセキュリティー機能として、本体内部に保存されたデータ類へのアクセス履歴をファイル化したログデータを、ハードディスクに保存する構成が知られている(例えば、特許文献1参照)。
また、複数のプロセッサー(コアプロセッサー)が共有メモリーにアクセスするマルチコアプロセッサーシステムにおいて、プロセッサー間のメモリーに対するアクセス権を調整する構成が知られている(例えば、特許文献2参照)。特許文献2のシステムでは、あるプロセッサーが起動中のソフトウェアと、他のプロセッサーが実行中のソフトウェアとの双方が、共有メモリーにアクセスしている場合に、起動中のソフトウェアのアクセス権を優先させている。そして、これにより、ソフトウェアの起動に要する時間を短くしている。
Conventionally, as a security function in a printing device, there is known a configuration in which log data in which access history to data stored in the main body is stored as a file is stored in a hard disk (see, for example, Patent Document 1).
Further, in a multi-core processor system in which a plurality of processors (core processors) access shared memory, there is known a configuration in which access rights to memories between processors are adjusted (see, for example, Patent Document 2). In the system of Patent Document 2, when both the software in which one processor is running and the software in which another processor is running access the shared memory, the access right of the running software is prioritized. There is. As a result, the time required to start the software is shortened.

特許第4836408号公報Japanese Patent No. 4836408 特開2014−199682号公報Japanese Unexamined Patent Publication No. 2014-199682

印刷装置の制御を複数のプロセッサーにより行い、電源オフの指示がなされたときに、各プロセッサーに共有メモリーに対するアクセス権を順次割り当てて、各プロセッサーが担当する処理に関するログデータを、共有メモリーに保存することが考えられる。
しかしながら、本願発明者は、印刷装置の電源オンの指示がなされた後に、直ちに電源オフの指示がなされときには、各プロセッサーによる記憶部へのログデータの保存が正常に行われない場合があることを知見した。
The printing device is controlled by multiple processors, and when a power-off instruction is given, access rights to the shared memory are sequentially assigned to each processor, and log data related to the processing in charge of each processor is saved in the shared memory. Can be considered.
However, the inventor of the present application has stated that when the power-off instruction is given immediately after the power-on instruction of the printing apparatus is given, the log data may not be normally stored in the storage unit by each processor. I found out.

本発明はかかる背景に鑑みてなされたものであり、電源オフの指示がなされたときに、複数のプロセッサーによるログデータの共有メモリーへの保存を、確実に行うことができる印刷装置を提供することを目的とする。 The present invention has been made in view of this background, and to provide a printing apparatus capable of reliably storing log data in a shared memory by a plurality of processors when a power-off instruction is given. With the goal.

上記課題を解決するため、本発明の印刷装置は、電源オン又はオフの指示に応じて起動又は停止する第1プロセッサー、及び、前記第1プロセッサーにより起動又は停止が制御される第2プロセッサーを少なくとも含む複数のプロセッサーを有する制御部と、前記複数のプロセッサーが共通にアクセスし、前記第1プロセッサーが第1ログデータを保存し、前記第2プロセッサーが第2ログデータを保存する記憶部と、を備え、前記第2プロセッサーは、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する構成であって、前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行うことを特徴とする。
かかる本発明によれば、第1プロセッサーは、第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、記憶部に保存すべき第1ログデータ又は第2ログデータが存在するときには、第2プロセッサーの起動が完了するのを待つ。そして、第1プロセッサーは、第2プロセッサーの起動が完了した後に、第2プロセッサーに対する停止指示を行う。これにより、印刷装置に対する電源オンの指示がなされた後、直ちに電源オフの指示がなされた場合であっても、第2プロセッサーの起動の完了が確保されて、記憶部に対するアクセス権が第1プロセッサーに移転される。そのため、電源オフの指示がなされた場合に、第1プロセッサーによる記憶部への第1ログデータの保存と、第2プロセッサーによる記憶部への第2ログデータの保存とを、確実に行うことができる。
In order to solve the above problems, the printing apparatus of the present invention includes at least a first processor that starts or stops in response to a power on / off instruction and a second processor whose start or stop is controlled by the first processor. A control unit having a plurality of processors including the control unit, and a storage unit in which the plurality of processors commonly access, the first processor stores the first log data, and the second processor stores the second log data. When the second processor receives a stop instruction from the first processor, the second processor secures an access right to the storage unit, stores the second log data in the storage unit, and then refers to the storage unit. The configuration is such that the access right is transferred to the first processor and stopped, and the first processor stores the access right in the storage unit when an instruction to turn off the power is given before the startup of the second processor is completed. When the first log data or the second log data to be to be used exists, it is characterized in that the stop instruction is given to the second processor after the start of the second processor is completed.
According to the present invention, the first processor has the first log data or the second log data to be stored in the storage unit when the power off instruction is given before the startup of the second processor is completed. Occasionally, it waits for the second processor to finish booting. Then, the first processor gives a stop instruction to the second processor after the startup of the second processor is completed. As a result, even if the power-off instruction is given immediately after the power-on instruction is given to the printing device, the completion of the startup of the second processor is ensured and the access right to the storage unit is given to the first processor. Will be relocated to. Therefore, when the power off instruction is given, it is possible to reliably save the first log data in the storage unit by the first processor and the second log data in the storage unit by the second processor. it can.

また、前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ及び前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる構成としてもよい。
この構成によれば、第1プロセッサーは、記憶部に保存すべき第1ログデータ及び第2ログデータが存在しない場合に、第2プロセッサーの起動を中止して第2プロセッサーを停止させる。これにより、電源オフの指示がなされてから、印刷装置への電源供給が遮断されるまでに要する時間を短縮することができる。
Further, the first processor does not have the first log data and the second log data to be stored in the storage unit when the power off instruction is given before the startup of the second processor is completed. Occasionally, the second processor may be stopped from starting.
According to this configuration, the first processor stops the start of the second processor and stops the second processor when the first log data and the second log data to be stored in the storage unit do not exist. As a result, the time required from when the power off instruction is given until the power supply to the printing apparatus is cut off can be shortened.

また、前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき特定種類の前記第1ログデータ又は前記第2ログデータが存在するときは、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行い、前記記憶部に記憶すべき前記特定種類の前記第1ログデータ又は前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる構成としてもよい。
この構成によれば、電源オフの指示がなされたときに、第2プロセッサーは、特定種類の第1ログデータ又は第2ログデータが存在する場合以外は、起動を完了することなく停止する。これにより、電源オフの指示がなされてから、印刷装置への電源供給が遮断されるまでに要する時間が短縮される状況の範囲を拡大することができる。
Further, when the power off instruction is given before the startup of the second processor is completed, the first processor is a specific type of the first log data or the second log data to be stored in the storage unit. When is present, after the startup of the second processor is completed, the stop instruction is given to the second processor, and the specific type of the first log data or the second log data to be stored in the storage unit. When is not present, the second processor may be stopped by stopping the start of the second processor.
According to this configuration, when the power off instruction is given, the second processor stops without completing the startup unless a specific type of first log data or second log data exists. As a result, it is possible to expand the range of situations in which the time required from the instruction to turn off the power to the interruption of the power supply to the printing apparatus is shortened.

また、インクタンクを備えて、前記インクタンクに充填されたインクの消費を伴うクリーニング処理を行い、前記特定種類の前記第1ログデータ又は前記第2ログデータには、少なくとも、前記インクタンクへのインクの充填に関するログデータ、及び、前記クリーニング処理に関するログデータが含まれる構成としてもよい。
この構成によれば、インクタンクへのインクの充填、及びインクの消費を伴うクリーニング処理に関るログデータが記憶部に保存されずに失われて、インクの残量又は消費に関する誤った情報が報知されることを防止することができる。
In addition, an ink tank is provided, and a cleaning process that involves consumption of the ink filled in the ink tank is performed, and at least the ink tank is subjected to the first log data or the second log data of the specific type. The configuration may include log data related to ink filling and log data related to the cleaning process.
According to this configuration, the log data related to the filling of the ink tank and the cleaning process involving the consumption of the ink is lost without being saved in the storage unit, and erroneous information regarding the remaining amount of ink or the consumption is lost. It is possible to prevent being notified.

次に、本発明の印刷装置の制御方法は、電源オン又はオフの指示に応じて起動又は停止する第1プロセッサー、及び、前記第1プロセッサーにより起動又は停止が制御される第2プロセッサーを少なくとも含む複数のプロセッサーを有する制御部により、印刷装置の作動を制御する方法であって、前記複数のプロセッサーが共通の記憶部にアクセスして、前記第1プロセッサーが前記記憶部に第1ログデータを保存し、前記第2プロセッサーが前記記憶部に第2ログデータを保存する工程と、前記第2プロセッサーが、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する工程と、前記第1プロセッサーが、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行う工程とを含むことを特徴とする。
本発明の方法を実行することにより、第1プロセッサーは、第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に対応する処理を行う。すなわち、第1プロセッサーは、記憶部に記憶すべき第1ログデータ又は第2ログデータが存在するときには、第2プロセッサーの起動が完了した後に、第2プロセッサーに対する停止指示を行う。これにより、印刷装置に対する電源オンの指示がなされた後に、直ちに電源オフの指示がなされた場合であっても、第2プロセッサーの起動の完了が確保されて、記憶部に対するアクセス権が第1プロセッサーに移転される。そのため、電源オフの指示がなされた場合に、第1プロセッサーによる記憶部への第1ログデータの保存と、第2プロセッサーによる記憶部への第2ログデータの保存とを、確実に行うことができる。
Next, the control method of the printing apparatus of the present invention includes at least a first processor that starts or stops in response to a power on / off instruction, and a second processor whose start or stop is controlled by the first processor. A method of controlling the operation of a printing device by a control unit having a plurality of processors, wherein the plurality of processors access a common storage unit, and the first processor stores the first log data in the storage unit. Then, when the second processor stores the second log data in the storage unit and the second processor receives the stop instruction from the first processor, the access right to the storage unit is secured. After storing the second log data in the storage unit, the step of transferring the access right to the storage unit to the first processor and stopping the process, and the first processor completes the activation of the second processor. When the power off instruction is given before, and the first log data or the second log data to be stored in the storage unit exists, the second processor is completed after the startup of the second processor is completed. It is characterized by including a step of giving the stop instruction to the CPU.
By executing the method of the present invention, the first processor performs a process corresponding to the case where the power off instruction is given before the startup of the second processor is completed. That is, when the first log data or the second log data to be stored in the storage unit exists, the first processor gives a stop instruction to the second processor after the start of the second processor is completed. As a result, even if the power-off instruction is given immediately after the power-on instruction is given to the printing device, the completion of the startup of the second processor is ensured and the access right to the storage unit is given to the first processor. Will be relocated to. Therefore, when the power off instruction is given, it is possible to reliably save the first log data in the storage unit by the first processor and the second log data in the storage unit by the second processor. it can.

印刷装置の全体構成を示した説明図。Explanatory drawing which showed the whole structure of a printing apparatus. 電源オフの操作に応じて、第2プロセッサーの起動が完了する前に、第2プロセッサーを停止した場合に生じる不都合の説明図。Explanatory drawing of inconvenience which occurs when the 2nd processor is stopped before the start of the 2nd processor is completed in response to the power-off operation. 第1プロセッサーの起動及び停止処理のフローチャート。The flowchart of the start and stop processing of the 1st processor. 第2プロセッサーの起動及び停止処理のフローチャート。The flowchart of the start and stop processing of the 2nd processor. 第2プロセッサーが起動を完了した後に、電源オフ操作がなされた場合の第1プロセッサー及び第2プロセッサーの動作を示した説明図。The explanatory view which showed the operation of the 1st processor and the 2nd processor when the power off operation is performed after the 2nd processor has completed the booting. 第2プロセッサーが起動を完了する前に、電源オフ操作がなされた場合の第1プロセッサー及び第2プロセッサーの動作を示した説明図。The explanatory view which showed the operation of the 1st processor and the 2nd processor when the power off operation is performed before the 2nd processor completes the booting.

以下、本発明の好適な実施形態について、図面を用いて詳細に説明する。なお、以下に説明する実施形態は、特許請求の範囲に記載された本発明の内容を限定するものではない。また、以下で説明される構成の全てが本発明の必須構成要件であるとは限らない。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below do not limit the contents of the present invention described in the claims. Moreover, not all of the configurations described below are essential constituent requirements of the present invention.

[1.実施形態における印刷装置の構成]
図1は、本実施形態の印刷装置1の全体構成を示した説明図である。印刷装置1は、印刷装置1の全体的な作動を制御するコントローラー10、インクジェット方式による印刷を行う印刷部50、及びユーザーにより操作される操作パネル70を備えている。
[1. Configuration of Printing Device in Embodiment]
FIG. 1 is an explanatory diagram showing an overall configuration of the printing apparatus 1 of the present embodiment. The printing device 1 includes a controller 10 that controls the overall operation of the printing device 1, a printing unit 50 that prints by an inkjet method, and an operation panel 70 that is operated by a user.

コントローラー10は、制御部20、RAM(Random Access Memory)11、ROM(Read Only Memory)12、EEPROM(Electrically Erasable and Programmable Read Only Memory) 13、通信回路14、及び電源回路15を備えている。制御部20は、第1プロセッサー22、及び第2プロセッサー23という複数のプロセッサーを有している。EEPROM13は、本発明の記憶部に相当する。 The controller 10 includes a control unit 20, a RAM (Random Access Memory) 11, a ROM (Read Only Memory) 12, an EEPROM (Electrically Erasable and Programmable Read Only Memory) 13, a communication circuit 14, and a power supply circuit 15. The control unit 20 has a plurality of processors, that is, a first processor 22 and a second processor 23. The EEPROM 13 corresponds to the storage unit of the present invention.

制御部20、RAM11、ROM12、EEPROM13、及び通信回路14は、電源回路15から供給される電力によって作動する。電源回路15には図示しない商用電源から交流電力が供給され、電源回路15は、この交流電力から直流電力を生成して制御部20、RAM11、ROM、EEPROM13、及び通信回路14に供給する。 The control unit 20, the RAM 11, the ROM 12, the EEPROM 13, and the communication circuit 14 are operated by the electric power supplied from the power supply circuit 15. AC power is supplied to the power supply circuit 15 from a commercial power source (not shown), and the power supply circuit 15 generates DC power from the AC power and supplies it to the control unit 20, RAM 11, ROM, EEPROM 13, and the communication circuit 14.

第1プロセッサー22、及び第2プロセッサー23は、共通バス5(データバス及びアドレスバスを含む)を介して、RAM11及びEEPROM13に対するデータの書き込みと読み出しを行う。また、第1プロセッサー22、及び第2プロセッサー23は、共通バス5を介してROM12からデータを読み出す。 The first processor 22 and the second processor 23 write and read data to the RAM 11 and the EEPROM 13 via the common bus 5 (including the data bus and the address bus). Further, the first processor 22 and the second processor 23 read data from the ROM 12 via the common bus 5.

第1プロセッサー22、及び第2プロセッサー23は、ROM12に保存された印刷装置1用のプログラムを実行することによって、印刷装置1の作動を制御する機能を果たす。また、第1プロセッサー22及び第2プロセッサー23により、本発明の印刷装置の制御方法の各工程が実行される。第1プロセッサー22は、通信回路14を介した通信を制御する。第2プロセッサー23は、印刷部50の作動を制御する。また、第1プロセッサー22、及び第2プロセッサー23は、共通バス5を介して、相互にデータを授受する。 The first processor 22 and the second processor 23 perform a function of controlling the operation of the printing device 1 by executing a program for the printing device 1 stored in the ROM 12. Further, each step of the control method of the printing apparatus of the present invention is executed by the first processor 22 and the second processor 23. The first processor 22 controls communication via the communication circuit 14. The second processor 23 controls the operation of the printing unit 50. Further, the first processor 22 and the second processor 23 exchange data with each other via the common bus 5.

印刷部50は、印刷ASIC(Application Specific Integrated Circuit)51、及び印刷機構52を備えている。印刷機構52は、図示しない直動機構により所定方向に往復移動するキャリッジ55と、キャリッジ55に装着されたインクカートリッジ60とを備えている。インクカートリッジ60は、インク65が充填されたインクタンク61と、インクタンク61から印刷ヘッド63にインクを供給するインク供給路62とを有している。インクカートリッジ60から供給されたインクは、印刷ヘッド63により加圧されてノズル64から印刷用紙(図示しない)に吐出される。 The printing unit 50 includes a printing ASIC (Application Specific Integrated Circuit) 51 and a printing mechanism 52. The printing mechanism 52 includes a carriage 55 that reciprocates in a predetermined direction by a linear motion mechanism (not shown), and an ink cartridge 60 mounted on the carriage 55. The ink cartridge 60 has an ink tank 61 filled with ink 65, and an ink supply path 62 for supplying ink from the ink tank 61 to the print head 63. The ink supplied from the ink cartridge 60 is pressurized by the print head 63 and ejected from the nozzle 64 onto printing paper (not shown).

印刷ASIC51は、印刷機構52を制御する機能を備えたICチップであり、設定された印刷データを、ビットマップイメージに展開し、このビットマップイメージのデータを印刷用紙に印刷するように、印刷機構52を制御する。操作パネル70は、ユーザーにより操作される電源スイッチ72と、タッチパネル71とを備えている。 The printing ASIC 51 is an IC chip having a function of controlling the printing mechanism 52, and the printing mechanism is such that the set print data is expanded into a bitmap image and the data of the bitmap image is printed on the printing paper. 52 is controlled. The operation panel 70 includes a power switch 72 operated by the user and a touch panel 71.

第1プロセッサー22は、共通バス5を介して、電源スイッチ72及びタッチパネル71の操作状況を示す操作モニターデータを、共通バス5を介して操作パネル70から受信する。また、第1プロセッサー22は、タッチパネル71の表示内容を制御する制御データを操作パネル70に出力する。 The first processor 22 receives operation monitor data indicating the operation status of the power switch 72 and the touch panel 71 from the operation panel 70 via the common bus 5 via the common bus 5. Further, the first processor 22 outputs control data for controlling the display contents of the touch panel 71 to the operation panel 70.

さらに、第1プロセッサー22は、共通バス5及び通信回路14を介して、外部機器(図示しない)との間でデータ通信を行う。また、第1プロセッサー22は、通信状況を示す通信モニターデータを、共通バス5を介して通信回路14から受信する。第2プロセッサー23は、印刷機構52の作動を制御するための制御データを共通バス5を介して印刷ASIC51に出力する。また、第2プロセッサー23は、印刷機構52の作動状況を示す印刷モニターデータを、共通バス5を介して印刷ASIC51から受信する。 Further, the first processor 22 performs data communication with an external device (not shown) via the common bus 5 and the communication circuit 14. Further, the first processor 22 receives the communication monitor data indicating the communication status from the communication circuit 14 via the common bus 5. The second processor 23 outputs control data for controlling the operation of the printing mechanism 52 to the printing ASIC 51 via the common bus 5. In addition, the second processor 23 receives print monitor data indicating the operating status of the printing mechanism 52 from the printing ASIC 51 via the common bus 5.

第2プロセッサー23の起動と停止(シャットダウン)は、第1プロセッサー22によって制御される。第1プロセッサー22は、通信制御に関して生じたイベント(通信エラー等)を示す第1ログデータを、RAM11の第1領域AR1に随時書き込む。また、第2プロセッサー23は、印刷部50の制御に関して生じたイベント(インクの充填、クリーニング処理等)を示す第2ログデータを、RAM11の第2領域AR2に随時書き込む。 The start and stop (shutdown) of the second processor 23 is controlled by the first processor 22. The first processor 22 writes first log data indicating an event (communication error, etc.) that has occurred in relation to communication control to the first area AR1 of the RAM 11 at any time. Further, the second processor 23 writes second log data indicating an event (ink filling, cleaning process, etc.) that has occurred in relation to the control of the printing unit 50 to the second area AR2 of the RAM 11 at any time.

そして、第1プロセッサー22と第2プロセッサー23は、ユーザーが電源スイッチ72を操作して、印刷装置1の電源オフを指示したときに、RAM11に書き込んだ第1ログデータ及び第2ログデータを、EEPROM13に転送して保存する処理を行う。この処理においては、先ず、第2プロセッサー23が、EEPROM13に対するアクセス権を確保して、RAM11の第2領域AR2に書き込んだ第2ログデータをEEPROM13に転送する。そして、第2プロセッサー23は、停止完了を通知するデータを第1プロセッサー22に出力してシャットダウン(作動停止)する。第2プロセッサー23からの停止完了の通知により、EEPROM13に対するアクセス権が開放される。 Then, when the user operates the power switch 72 to instruct the printing device 1 to turn off the power, the first processor 22 and the second processor 23 send the first log data and the second log data written in the RAM 11 to the RAM 11. The process of transferring to the EEPROM 13 and saving the data is performed. In this process, first, the second processor 23 secures the access right to the EEPROM 13 and transfers the second log data written in the second area AR2 of the RAM 11 to the EEPROM 13. Then, the second processor 23 outputs the data notifying the completion of the stop to the first processor 22 and shuts down (stops the operation). The access right to the EEPROM 13 is released by the notification of the completion of the stop from the second processor 23.

次に、第2プロセッサー23の停止を認識した第1プロセッサー22が、EEPROM13に対するアクセス権を獲得して、RAM11の第1領域AR1に書き込んだ第1ログデータを、EEPROM13に転送して停止する。このように、電源オフの指示がなされたときに、RAM11に書き込まれた第1ログデータ及び第2ログデータをEEPROM13に転送することによって、電源供給が遮断された後も、第1ログデータ及び第2ログデータを保存することができる。 Next, the first processor 22 that recognizes the stop of the second processor 23 acquires the access right to the EEPROM 13 and transfers the first log data written in the first area AR1 of the RAM 11 to the EEPROM 13 to stop. In this way, when the power off instruction is given, the first log data and the second log data written in the RAM 11 are transferred to the EEPROM 13, so that even after the power supply is cut off, the first log data and the second log data The second log data can be saved.

[2.電源オフの操作時に生じ得る不都合]
上述したように、電源オフの指示がなされたときに、EEPROM13に対するアクセス権を、第2プロセッサー23から第1プロセッサー22に移転することによって、第1ログデータ及び第2ログデータを、EEPROMに転送して保存することができる。しかしながら、ユーザーにより電源オンの指示がなされた後、直ちに電源オフの指示がなされた場合には、図2に示したように、RAM11に保存された第1ログデータがEEPROM13に転送されない場合がある。
[2. Inconvenience that may occur when the power is turned off]
As described above, when the power off instruction is given, the access right to the EEPROM 13 is transferred from the second processor 23 to the first processor 22, so that the first log data and the second log data are transferred to the EEPROM. Can be saved. However, if the power off instruction is given immediately after the power on instruction is given by the user, the first log data stored in the RAM 11 may not be transferred to the EEPROM 13 as shown in FIG. ..

図2は、電源オフの操作に応じて、第2プロセッサー23の起動が完了する前に、第2プロセッサー23を停止した場合に生じる不都合の説明図である。図2は、第1プロセッサー22、第2プロセッサー23、及びEEPROM13間の関連動作を、共通の時間軸tにより示している。図2に示したように、ユーザーがt11で電源スイッチ72により印刷装置1の電源オン操作をした後、t13で直ちに電源スイッチ72により印刷装置1の電源オフ操作した場合、以下の不都合が生じ得る。 FIG. 2 is an explanatory diagram of inconvenience that occurs when the second processor 23 is stopped before the start of the second processor 23 is completed in response to the power off operation. FIG. 2 shows the related operations between the first processor 22, the second processor 23, and the EEPROM 13 with a common time axis t. As shown in FIG. 2, when the user turns on the printing device 1 by the power switch 72 at t11 and then immediately turns off the printing device 1 by the power switch 72 at t13, the following inconveniences may occur. ..

すなわち、電源回路15からの電力供給の開始により起動した第1プロセッサー22は、自身の起動処理が完了したときに、第2プロセッサー23に対して起動を要求するデータを出力する(t12)。そして、第2プロセッサー23の起動が完了する前に、電源オフ操作がなされて(t13)、第1プロセッサー22が第2プロセッサー23に対して起動中止を要求するデータを出力している(t14)。この出力に応じて、第2プロセッサー23は、起動を中止してシャットダウンする(t15)。 That is, the first processor 22 started by starting the power supply from the power supply circuit 15 outputs data requesting the second processor 23 to start when its own start processing is completed (t12). Then, before the start-up of the second processor 23 is completed, the power-off operation is performed (t13), and the first processor 22 outputs data requesting the second processor 23 to stop starting (t14). .. In response to this output, the second processor 23 stops starting and shuts down (t15).

この場合、第2プロセッサー23から第1プロセッサー22への停止完了の通知は行われない。そのため、EEPROM13に対するアクセス権は、第2プロセッサー23から第1プロセッサー22に移転されない。その結果、t11〜t13の間に、第1プロセッサー22の制御に関するイベントが発生して、第1ログデータがRAM11に保存されていても、RAM11からEEPROM13への第1ログデータの転送は行われない。 In this case, the second processor 23 does not notify the first processor 22 of the completion of the stop. Therefore, the access right to the EEPROM 13 is not transferred from the second processor 23 to the first processor 22. As a result, an event related to the control of the first processor 22 occurs between t11 to t13, and even if the first log data is stored in the RAM 11, the first log data is transferred from the RAM 11 to the EEPROM 13. Absent.

そして、電源回路15からRAM11への電力供給が遮断されて、RAM11に保存されていた第1ログデータが消失してしまうという不都合がある。そこで、第1プロセッサー22及び第2プロセッサー23は、このような不都合が生じることを防止するための処理を行う。以下、この処理について説明する。
[3.第1プロセッサーの処理]
図3は、第1プロセッサー22の起動及び停止処理のフローチャートである。第1プロセッサー22は、ユーザーによる電源スイッチ72のオン操作に応じて、電源回路15からの電力供給が開始されたときに起動して、図3のフローチャートを実行する。図3のステップS1で、第1プロセッサー22は、第2プロセッサー23に対して起動を要求するデータを出力する。そして、第1プロセッサー22は、続くステップS2で電源スイッチ72がオフ操作されたとき(電源オフの指示がなされたとき)に、ステップS3に処理を進める。
Then, the power supply from the power supply circuit 15 to the RAM 11 is cut off, and the first log data stored in the RAM 11 is lost. Therefore, the first processor 22 and the second processor 23 perform a process for preventing such an inconvenience from occurring. This process will be described below.
[3. Processing of the first processor]
FIG. 3 is a flowchart of the start and stop processing of the first processor 22. The first processor 22 is activated when the power supply from the power supply circuit 15 is started in response to the on operation of the power switch 72 by the user, and executes the flowchart of FIG. In step S1 of FIG. 3, the first processor 22 outputs data requesting the second processor 23 to start. Then, when the power switch 72 is turned off in the following step S2 (when the power off instruction is given), the first processor 22 proceeds to the process in step S3.

ステップS3で、第1プロセッサー22は、第2プロセッサー23からの起動完了を通知するデータの受信の有無により、第2プロセッサー23の起動が完了しているか否かを判断する。そして、第1プロセッサー22は、第2プロセッサー23の起動が完了しているときはステップS4に処理を進め、第2プロセッサー23の処理が完了していないときにはステップS20に処理を進める。 In step S3, the first processor 22 determines whether or not the startup of the second processor 23 is completed based on whether or not the data notifying the completion of the startup is received from the second processor 23. Then, the first processor 22 proceeds to step S4 when the start of the second processor 23 is completed, and proceeds to step S20 when the process of the second processor 23 is not completed.

ステップS4で、第1プロセッサー22は、第2プロセッサー23に対してシャットダウン(作動停止)を指示(停止指示)するデータを出力する。続くステップS5で、第1プロセッサー22は、第1ログデータ又は第2ログデータがRAM11に保存されているか否かを判断する。ここで、第1ログデータ又は第2ログデータがRAM11に保存されていることは、本発明の記憶部に記憶すべき第1ログデータ又は第2ログデータが存在することに相当する。 In step S4, the first processor 22 outputs data instructing the second processor 23 to shut down (stop operation) (stop instruction). In the following step S5, the first processor 22 determines whether or not the first log data or the second log data is stored in the RAM 11. Here, the fact that the first log data or the second log data is stored in the RAM 11 corresponds to the existence of the first log data or the second log data to be stored in the storage unit of the present invention.

そして、第1プロセッサー22は、第1ログデータ又は第2ログデータがRAM11に保存されているときはステップS6に処理を進める。一方、第1ログデータと第2ログデータのいずれもRAM11に保存されていないときには、第1プロセッサー22は、ステップS8に処理を進めて自身をシャットダウンする。 Then, when the first log data or the second log data is stored in the RAM 11, the first processor 22 proceeds to the process in step S6. On the other hand, when neither the first log data nor the second log data is stored in the RAM 11, the first processor 22 proceeds to step S8 and shuts down itself.

ステップS6で、第1プロセッサー22は、第2プロセッサー23のシャットダウンの完了を待ってステップS7に進む。ステップS7で、第1プロセッサー22は、RAM11に保存した第1ログデータをEEPROM13に転送し、続くステップS8に進んで自身をシャットダウンする。 In step S6, the first processor 22 waits for the completion of shutdown of the second processor 23 and proceeds to step S7. In step S7, the first processor 22 transfers the first log data stored in the RAM 11 to the EEPROM 13, and proceeds to the following step S8 to shut down itself.

また、第1プロセッサー22は、ステップS20で、第1ログデータ又は第2ログデータがRAM11に保存されているか否かを判断する。そして、第1プロセッサー22は、第1ログデータ又は第2ログデータがRAM11に保存されているときは、ステップS12に処理を進める。一方、第1ログデータ又は第2ログデータがRAM11に保存されていないときには、第1プロセッサー22は、ステップS30に処理を進める。 Further, in step S20, the first processor 22 determines whether or not the first log data or the second log data is stored in the RAM 11. Then, when the first log data or the second log data is stored in the RAM 11, the first processor 22 proceeds to the process in step S12. On the other hand, when the first log data or the second log data is not stored in the RAM 11, the first processor 22 proceeds to the process in step S30.

ステップS21で、第1プロセッサー22は、第2プロセッサー23の起動が完了するのを待ってステップ22に進む。ステップS22で、第1プロセッサー22は、第2プロセッサー23に対して、シャットダウンを指示してステップS6に処理を進める。ステップS21及びステップS22の処理により、第2プロセッサー23による第2ログデータのRAM11からEEPROM13への転送が完了した後、ステップS7で、RAM11に保存された第1ログデータがEEPROM13に転送される。 In step S21, the first processor 22 waits for the startup of the second processor 23 to be completed before proceeding to step 22. In step S22, the first processor 22 instructs the second processor 23 to shut down and proceeds to step S6. After the transfer of the second log data from the RAM 11 to the EEPROM 13 by the second processor 23 is completed by the processing of steps S21 and S22, the first log data stored in the RAM 11 is transferred to the EEPROM 13 in step S7.

このように、第1プロセッサー22は、ステップS21で第2プロセッサー23の起動完了を待ってから、ステップS22で第2プロセッサー23のシャットダウンを指示する。これにより、第2プロセッサー23は、シャットダウンの完了を通知するデータを第1プロセッサー22に出力してシャットダウンし、EEPROM13に対するアクセス権が開放される。 In this way, the first processor 22 waits for the completion of startup of the second processor 23 in step S21, and then instructs the shutdown of the second processor 23 in step S22. As a result, the second processor 23 outputs data notifying the completion of the shutdown to the first processor 22 and shuts down, and the access right to the EEPROM 13 is released.

そのため、第1プロセッサー22は、ステップS6からステップS7に処理を進め、EEPROM13に対するアクセス権を獲得して、RAM11の第1領域AR1に保存した第1ログデータをEEPROM13に転送することができる。 Therefore, the first processor 22 can proceed from step S6 to step S7, acquire the access right to the EEPROM 13, and transfer the first log data stored in the first area AR1 of the RAM 11 to the EEPROM 13.

また、ステップS30で、第1プロセッサー22は、第2プロセッサー23に対して起動中止を指示するデータを出力してステップS8に進み、自身をシャットダウンする。これにより、第1ログデータ及び第2ログデータがRAM11に保存されていない場合に、電源オフの指示がなされてから、印刷装置1に対する電源供給が遮断されるまでに要する時間を短くすることができる。この場合は、上述した図2の態様により、第1プロセッサー22及び第2プロセッサー23が、EEPROM13への第1ログデータ及び第2ログデータの転送を行うことなく、シャットダウンする。 Further, in step S30, the first processor 22 outputs data instructing the second processor 23 to stop starting, proceeds to step S8, and shuts down itself. As a result, when the first log data and the second log data are not stored in the RAM 11, the time required from the instruction to turn off the power to the interruption of the power supply to the printing device 1 can be shortened. it can. In this case, according to the aspect of FIG. 2 described above, the first processor 22 and the second processor 23 shut down without transferring the first log data and the second log data to the EEPROM 13.

[4.第2プロセッサーの処理]
図4は、第2プロセッサー23の起動及び停止処理のフローチャートである。第2プロセッサー23は、ステップS50で、第1プロセッサー22による起動指示を受け付けたときに、ステップS51に処理を進めて、起動処理を開始する。
[4. Processing of the second processor]
FIG. 4 is a flowchart of the start and stop processing of the second processor 23. When the second processor 23 receives the start instruction from the first processor 22 in step S50, the second processor 23 advances the process to step S51 and starts the start process.

第2プロセッサー23は、続くステップS52及びステップ60からなるループを実行する。そして、第2プロセッサー23は、ステップS52で起動処理が完了したか否かを判断すると共に、ステップS60で第1プロセッサー22からシャットダウンを指示するデータを受信したか否かを判断する。 The second processor 23 executes a loop including the following steps S52 and 60. Then, the second processor 23 determines whether or not the startup process is completed in step S52, and determines whether or not the data instructing shutdown is received from the first processor 22 in step S60.

第2プロセッサー23は、起動を完了したときにステップ52からステップS53に処理を進め、起動が完了したことを通知するデータを第1プロセッサー22に出力する。続くステップS53で、第2プロセッサー23は、第1プロセッサー22からシャットダウン(作動停止)を指示するデータを受信したか否かを判断する。そして、シャットダウンを指示するデータを受信したときに、第2プロセッサー23は、ステップS55に処理を進める。 When the start-up is completed, the second processor 23 proceeds from step 52 to step S53, and outputs data notifying that the start-up is completed to the first processor 22. In the following step S53, the second processor 23 determines whether or not the data instructing shutdown (operation stop) has been received from the first processor 22. Then, when the data instructing the shutdown is received, the second processor 23 proceeds to the process in step S55.

ステップS55で、第2プロセッサー23は、RAM11の第2領域AR2に保存した第2ログデータをEEPROM13に転送する。これにより、印刷装置1の電源がオフされた後も、第2ログデータがEEPROM13に保存される。続くステップS56で、第2プロセッサー23は、シャットダウンの完了を通知するデータを第1プロセッサー22に出力してステップS57に進み、自身をシャットダウンする。 In step S55, the second processor 23 transfers the second log data stored in the second area AR2 of the RAM 11 to the EEPROM 13. As a result, the second log data is stored in the EEPROM 13 even after the power of the printing device 1 is turned off. In the following step S56, the second processor 23 outputs data notifying the completion of shutdown to the first processor 22, proceeds to step S57, and shuts down itself.

また、第2プロセッサー23は、ステップS60で、第1プロセッサー22から起動中止を指示するデータを受信したときに、ステップS61に処理を進める。ステップS61で、第2プロセッサー23は、起動処理を中止してステップS57に処理を進め、自身をシャットダウンする。
[5.第2プロセッサーが起動した後に電源オフ操作がなされた場合の処理]
次に、図5を参照して、第2プロセッサー23が起動した後に、電源オフの操作がなされた場合の処理について説明する。図5は、第2プロセッサー23が起動を完了した後に、電源オフ操作がなされた場合の第1プロセッサー22及び第2プロセッサー23の動作を示した説明図である。図5では、第1プロセッサー22、第2プロセッサー23、及びEEPROM13間のデータの授受のタイミングを、共通の時間軸tで表している。
Further, when the second processor 23 receives the data instructing the start / stop from the first processor 22 in step S60, the second processor 23 proceeds to the process in step S61. In step S61, the second processor 23 stops the startup process, proceeds to step S57, and shuts down itself.
[5. Processing when the power is turned off after the second processor is started]
Next, with reference to FIG. 5, a process when the power is turned off after the second processor 23 is started will be described. FIG. 5 is an explanatory diagram showing the operation of the first processor 22 and the second processor 23 when the power off operation is performed after the second processor 23 completes the startup. In FIG. 5, the timing of data transfer between the first processor 22, the second processor 23, and the EEPROM 13 is represented by a common time axis t.

図5は、RAM11の第1領域AR1に第1ログデータが保存され、また、RAM11の第2領域AR2に第2ログデータが保存されている場合の処理を例示している。図5のt21で、印刷装置1の作動中に、ユーザーが電源スイッチ72を操作(電源オフ操作)すると、第1プロセッサー22は第2プロセッサー23に対してシャットダウンを要求するデータを出力する(t22)。第1プロセッサー22は、t24で、第2プロセッサー23からシャットダウンの完了を通知するデータを受信するまで、EEPROM13にアクセスしない(図3のステップS3の処理)。そのため、t22〜t24の間は、第2プロセッサー23がEEPROM13に対するアクセス権を有している。 FIG. 5 illustrates a process in which the first log data is stored in the first area AR1 of the RAM 11 and the second log data is stored in the second area AR2 of the RAM 11. At t21 in FIG. 5, when the user operates the power switch 72 (power off operation) while the printing device 1 is operating, the first processor 22 outputs data requesting shutdown to the second processor 23 (t22). ). The first processor 22 does not access the EEPROM 13 until it receives data notifying the completion of shutdown from the second processor 23 at t24 (process in step S3 of FIG. 3). Therefore, between t22 and t24, the second processor 23 has an access right to the EEPROM 13.

t23で、第2プロセッサー23は、RAM11の第2領域AR2に保存した第2ログデータを、EEPROM13に転送する(図4のステップS55の処理)。そして、第2プロセッサー23は、t24でシャットダウンの完了を通知するデータを第1プロセッサー22に出力する(図4のステップS56の処理)。この出力により、第2プロセッサー23が有していたEEPROM13に対するアクセス権が開放される。そして、第2プロセッサー23は、t25で自身をシャットダウンする。 At t23, the second processor 23 transfers the second log data stored in the second area AR2 of the RAM 11 to the EEPROM 13 (process in step S55 of FIG. 4). Then, the second processor 23 outputs the data notifying the completion of the shutdown to the first processor 22 at t24 (process in step S56 of FIG. 4). By this output, the access right to the EEPROM 13 possessed by the second processor 23 is released. Then, the second processor 23 shuts down itself at t25.

第1プロセッサー22は、t24でEEPROM13に対するアクセス権を取得し、t26で、RAM11の第1領域AR1に保存した第1ログデータを、EEPROM13に転送する(図3のステップS7の処理)。そして、t27で、第1プロセッサー22は、自身をシャットダウンする。図5の処理により、第1プロセッサー22がRAM11の第1領域AR1に保存した第1ログデータをEEPROM13に転送されると共に、第2プロセッサー23がRAM11の第2領域AR2に保存した第2ログデータをEEPROM13に転送される。そのため、印刷装置1の電源がオフされた後も、第1ログデータ及び第2ログデータがEEPROM13に保存される。 The first processor 22 acquires the access right to the EEPROM 13 at t24, and transfers the first log data stored in the first area AR1 of the RAM 11 to the EEPROM 13 at t26 (process of step S7 in FIG. 3). Then, at t27, the first processor 22 shuts down itself. By the process of FIG. 5, the first log data stored in the first area AR1 of the RAM 11 by the first processor 22 is transferred to the EEPROM 13, and the second log data stored in the second area AR2 of the RAM 11 by the second processor 23. Is transferred to the EEPROM 13. Therefore, even after the power of the printing device 1 is turned off, the first log data and the second log data are stored in the EEPROM 13.

[6.第2プロセッサーの起動が完了する前に電源オフ操作がなされた場合の処理]
次に、図6を参照して、第2プロセッサー23の起動が完了する前に、電源オフの操作がなされた場合の処理について説明する。図6は、第2プロセッサーが起動を完了する前に、電源オフ操作がなされた場合の第1プロセッサー22及び第2プロセッサー23の動作を示した説明図である。図6では、第1プロセッサー22、第2プロセッサー23、及びEEPROM13間のデータの授受のタイミングを、共通の時間軸tで表している。
[6. Processing when the power off operation is performed before the startup of the second processor is completed]
Next, with reference to FIG. 6, a process when the power off operation is performed before the startup of the second processor 23 is completed will be described. FIG. 6 is an explanatory diagram showing the operation of the first processor 22 and the second processor 23 when the power off operation is performed before the second processor completes the startup. In FIG. 6, the timing of data transfer between the first processor 22, the second processor 23, and the EEPROM 13 is represented by a common time axis t.

図6は、RAM11の第1領域AR1に第1ログデータが保存され、また、RAM11の第2領域AR2に第2ログデータが保存されている場合の処理を例示している。図6のt31で、印刷装置1の作動中に、ユーザーが電源スイッチ72を操作(電源オフ操作)すると、第1プロセッサー22が起動し、第1プロセッサー22は、起動を完了したときに、第2プロセッサー23に対して起動を要求する(t32)。第1プロセッサー22は、t38で、第2プロセッサー23からシャットダウン完了を通知するデータを取得するまで、EEPROM13にアクセスしない(図3のステップS3の処理)。そのため、t32〜t37の間は、第2プロセッサー23がEEPROM13に対するアクセス権を有する。 FIG. 6 illustrates a process in which the first log data is stored in the first area AR1 of the RAM 11 and the second log data is stored in the second area AR2 of the RAM 11. At t31 in FIG. 6, when the user operates the power switch 72 (power off operation) while the printing device 1 is operating, the first processor 22 is activated, and when the first processor 22 completes the activation, the first processor 22 is activated. 2 Requests the processor 23 to start (t32). The first processor 22 does not access the EEPROM 13 until it acquires data notifying the completion of shutdown from the second processor 23 at t38 (process in step S3 of FIG. 3). Therefore, between t32 and t37, the second processor 23 has an access right to the EEPROM 13.

t33で、ユーザーが電源スイッチ72を操作(電源オフ操作)すると、第1プロセッサー22は、t34で第2プロセッサー23から起動の完了を通知するデータを受信するまで待つ。そして、第1プロセッサー22は、t35で、第2プロセッサー23に対して、シャットダウンを要求するデータを送信する。起動を完了している第2プロセッサー23は、このシャットダウンを要求するデータを受信したときt36で、RAM11の第2領域AR2に保存した第2ログデータをEEPROM13に転送する。 When the user operates the power switch 72 (power off operation) at t33, the first processor 22 waits until the data notifying the completion of startup is received from the second processor 23 at t34. Then, the first processor 22 transmits data requesting shutdown to the second processor 23 at t35. When the second processor 23 that has completed the startup receives the data requesting this shutdown, it transfers the second log data stored in the second area AR2 of the RAM 11 to the EEPROM 13 at t36.

そして、第2プロセッサー23は、t37で、第1プロセッサー22に対してシャットダウンの完了を通知するデータを出力する(図4のステップS56の処理)。この出力により、第2プロセッサー23が有していたEEPROM13に対するアクセス権が開放される。そして、第2プロセッサー23は、t37で自身をシャットダウンする。 Then, at t37, the second processor 23 outputs data notifying the first processor 22 of the completion of shutdown (process in step S56 of FIG. 4). By this output, the access right to the EEPROM 13 possessed by the second processor 23 is released. Then, the second processor 23 shuts down itself at t37.

第1プロセッサー22は、t39で、RAM11の第1領域AR1に保存した第1ログデータを、EEPROM13に転送する。そして、第1プロセッサー22は、t40で自身をシャットダウンする。これにより、t31で電源オフ操作がなされた後、直ちに、第2プロセッサー23の起動が完了する前のt33で、電源オフ操作がなされた場合であっても、RAM11に保存された第1ログデータと第2ログデータをEEPROM13に転送することができる。 At t39, the first processor 22 transfers the first log data stored in the first area AR1 of the RAM 11 to the EEPROM 13. Then, the first processor 22 shuts down itself at t40. As a result, the first log data stored in the RAM 11 is stored in the RAM 11 even if the power off operation is performed at t33 immediately after the power off operation is performed at t31 and before the startup of the second processor 23 is completed. And the second log data can be transferred to the EEPROM 13.

[7.他の実施形態]
上記実施形態では、第1プロセッサー22がRAM11の第1領域AR1に保存した第1ログデータと、第2プロセッサー23がRAM11の第2領域AR2に保存した第2ログデータを、無条件にEEPROM13に転送する構成とした。この構成に対して、第1ログデータ及び第2ログデータのうち、特定種類の第1ログデータ或いは第2ログデータに限定して、EEPROM13に転送するようにしてもよい。例えば、インクタンク61へのインクの充填、ノズル64のクリーニング処理等を、特定の第1ログデータ或いは第2ログデータとして設定してもよい。インクタンク61へのインクの充填には、インクタンク61へのインクの注入、及びインクが充填されたインクタンクへの交換が含まれる。ノズル64のクリーニングは、印刷処理とは別に、インクタンク61から供給されるインクをノズル64から吐出させることにより、インクを消費して行われる。
[7. Other embodiments]
In the above embodiment, the first log data stored in the first area AR1 of the RAM 11 by the first processor 22 and the second log data stored in the second area AR2 of the RAM 11 by the second processor 23 are unconditionally stored in the EEPROM 13. It was configured to transfer. With respect to this configuration, among the first log data and the second log data, only the first log data or the second log data of a specific type may be limited and transferred to the EEPROM 13. For example, filling the ink tank 61 with ink, cleaning the nozzle 64, and the like may be set as specific first log data or second log data. Filling the ink tank 61 with ink includes injecting ink into the ink tank 61 and replacing the ink tank with ink. The cleaning of the nozzle 64 is performed by consuming the ink by ejecting the ink supplied from the ink tank 61 from the nozzle 64 separately from the printing process.

上記実施形態では、本発明の印刷装置として、インクジェット方式による印刷を行う印刷装置1を示したが、他の方式による印刷を行う印刷装置に対しても本発明の適用が可能である。 In the above embodiment, the printing device 1 that prints by the inkjet method is shown as the printing device of the present invention, but the present invention can also be applied to the printing device that prints by another method.

上記実施形態では、本発明の記憶部としてEEPROM13を用いたが、フラッシュメモリー、電池により電源バックアップされたRAM等を用いてもよい。 In the above embodiment, the EEPROM 13 is used as the storage unit of the present invention, but a flash memory, a RAM whose power supply is backed up by a battery, or the like may be used.

1…印刷装置、5…共通バス、10…コントローラー、11…RAM、12…ROM、13…EEPROM、15…電源回路、20…制御部、22…第1プロセッサー、23…第2プロセッサー、50…印刷部、52…印刷機構、55…キャリッジ、60…インクカートリッジ、61…インクタンク、62…インク供給路、63…印刷ヘッド、64…ノズル、70…操作パネル、71…タッチパネル、72…電源スイッチ。 1 ... printing device, 5 ... common bus, 10 ... controller, 11 ... RAM, 12 ... ROM, 13 ... EEPROM, 15 ... power supply circuit, 20 ... control unit, 22 ... first processor, 23 ... second processor, 50 ... Printing unit, 52 ... Printing mechanism, 55 ... Carriage, 60 ... Ink cartridge, 61 ... Ink tank, 62 ... Ink supply path, 63 ... Printing head, 64 ... Nozzle, 70 ... Operation panel, 71 ... Touch panel, 72 ... Power switch ..

Claims (5)

電源オン又はオフの指示に応じて起動又は停止する第1プロセッサー、及び、前記第1プロセッサーにより起動又は停止が制御される第2プロセッサーを少なくとも含む複数のプロセッサーを有する制御部と、
前記複数のプロセッサーが共通にアクセスし、前記第1プロセッサーが第1ログデータを保存し、前記第2プロセッサーが第2ログデータを保存する記憶部と、を備え、
前記第2プロセッサーは、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する構成であって、
前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行う
印刷装置。
A control unit having a first processor that starts or stops in response to a power on / off instruction, and a plurality of processors including at least a second processor whose start or stop is controlled by the first processor.
The plurality of processors commonly access, the first processor stores the first log data, and the second processor stores the second log data.
When the second processor receives a stop instruction from the first processor, the second processor secures an access right to the storage unit, stores the second log data in the storage unit, and then has an access right to the storage unit. Is relocated to the first processor and stopped.
When the first log data or the second log data to be stored in the storage unit exists when the power off instruction is given before the startup of the second processor is completed, the first processor A printing device that gives the stop instruction to the second processor after the start of the second processor is completed.
前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ及び前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる
請求項1に記載の印刷装置。
When the power off instruction is given before the startup of the second processor is completed, the first processor does not have the first log data and the second log data to be stored in the storage unit. The printing apparatus according to claim 1, wherein the start of the second processor is stopped and the second processor is stopped.
前記第1プロセッサーは、
前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、
前記記憶部に記憶すべき特定種類の前記第1ログデータ又は前記第2ログデータが存在するときは、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行い、
前記記憶部に記憶すべき前記特定種類の前記第1ログデータ又は前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる
請求項1又は請求項2に記載の印刷装置。
The first processor is
If the power off instruction is given before the startup of the second processor is completed,
When the first log data or the second log data of a specific type to be stored exists in the storage unit, after the start of the second processor is completed, the stop instruction is given to the second processor.
Claim 1 or claim that when the specific type of the first log data or the second log data to be stored in the storage unit does not exist, the start of the second processor is stopped and the second processor is stopped. 2. The printing apparatus according to 2.
インクタンクを備えて、前記インクタンクに充填されたインクの消費を伴うクリーニング処理を行い、
前記特定種類の前記第1ログデータ又は前記第2ログデータには、少なくとも、前記インクタンクへのインクの充填に関するログデータ、及び、前記クリーニング処理に関するログデータが含まれる
請求項3に記載の印刷装置。
An ink tank is provided, and a cleaning process that involves consumption of the ink filled in the ink tank is performed.
The printing according to claim 3, wherein the first log data or the second log data of the specific type includes at least log data related to filling ink in the ink tank and log data related to the cleaning process. apparatus.
電源オン又はオフの指示に応じて起動又は停止する第1プロセッサー、及び、前記第1プロセッサーにより起動又は停止が制御される第2プロセッサーを少なくとも含む複数のプロセッサーを有する制御部により、印刷装置の作動を制御する方法であって、
前記複数のプロセッサーが共通の記憶部にアクセスして、前記第1プロセッサーが前記記憶部に第1ログデータを保存し、前記第2プロセッサーが前記記憶部に第2ログデータを保存する工程と、
前記第2プロセッサーが、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する工程と、
前記第1プロセッサーが、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行う工程と
を含む印刷装置の制御方法。
The printing apparatus is operated by a control unit having a plurality of processors including at least a first processor that starts or stops in response to a power on / off instruction and a second processor whose start or stop is controlled by the first processor. Is a way to control
A step in which the plurality of processors access a common storage unit, the first processor stores the first log data in the storage unit, and the second processor stores the second log data in the storage unit.
When the second processor receives a stop instruction from the first processor, the access right to the storage unit is secured, the second log data is stored in the storage unit, and then the access right to the storage unit is secured. And the process of moving to the first processor and stopping
When the first processor is instructed to turn off the power before the startup of the second processor is completed, and the first log data or the second log data to be stored in the storage unit exists. A method for controlling a printing apparatus, which includes a step of instructing the second processor to stop after the start of the second processor is completed.
JP2017085832A 2017-04-25 2017-04-25 Printing equipment Active JP6863043B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017085832A JP6863043B2 (en) 2017-04-25 2017-04-25 Printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017085832A JP6863043B2 (en) 2017-04-25 2017-04-25 Printing equipment

Publications (2)

Publication Number Publication Date
JP2018183900A JP2018183900A (en) 2018-11-22
JP6863043B2 true JP6863043B2 (en) 2021-04-21

Family

ID=64356946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017085832A Active JP6863043B2 (en) 2017-04-25 2017-04-25 Printing equipment

Country Status (1)

Country Link
JP (1) JP6863043B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5194895A (en) * 1991-09-13 1993-03-16 Xerox Corporation Printing machine adaptive setup
JP4836408B2 (en) * 2004-03-01 2011-12-14 コニカミノルタビジネステクノロジーズ株式会社 Access log storage system and digital multi-function peripheral
JP2011079180A (en) * 2009-10-05 2011-04-21 Canon Inc Printing device, processing method of the same, and information processor
JP5651965B2 (en) * 2010-02-23 2015-01-14 株式会社リコー Image forming apparatus, image forming method, and program
JP6264896B2 (en) * 2014-01-16 2018-01-24 株式会社リコー Information processing apparatus, control method, and control program
JP5862722B2 (en) * 2014-07-31 2016-02-16 富士通株式会社 Multi-core processor system, multi-core processor system control method, and multi-core processor system control program
JP6500469B2 (en) * 2015-02-06 2019-04-17 セイコーエプソン株式会社 Electronic system, program of electronic system with sleep mode
JP2017163257A (en) * 2016-03-08 2017-09-14 キヤノン株式会社 Image processing device, control method of the same, and program

Also Published As

Publication number Publication date
JP2018183900A (en) 2018-11-22

Similar Documents

Publication Publication Date Title
US11067932B2 (en) Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium
CN103034509B (en) Mobile unit
US9904882B2 (en) Image forming apparatus, method of controlling the same, and storage medium
JP6218510B2 (en) Image processing apparatus, image processing apparatus control method, and program
KR101636184B1 (en) Image forming apparatus, method for controlling image forming apparatus, and computer readable recording medium
JP6103909B2 (en) Image processing apparatus, image processing apparatus control method, and program
US20110194148A1 (en) Printing apparatus and method of controlling printing apparatus
JP6249741B2 (en) Information processing apparatus and control method of information processing apparatus
JP2018055583A (en) Control apparatus, control method and program
JP2008142942A (en) Power management controller of printer, power management control method of printer, and control program of printer
JP6270377B2 (en) Image forming apparatus
JP6863043B2 (en) Printing equipment
KR101219557B1 (en) Navigation device for vehicle
JP2010015316A (en) Numerical control apparatus
JP2015123650A (en) Image formation apparatus, control method for image formation apparatus, and program
JP6074486B2 (en) Image processing apparatus, control method thereof, and program
US9392133B2 (en) Information processing apparatus and image forming apparatus
US20170142280A1 (en) Printing Apparatus And Method For Controlling Printing Apparatus
JP2004078737A (en) Electronic device and method for controlling power consumption of electronic device
JP6842641B2 (en) Image forming device
JP4750588B2 (en) Printer and electrical equipment
JPH11232183A (en) Printer control information managing device and recording medium for recording control information management program
JP2013129092A (en) Image forming apparatus
US8643860B2 (en) Image forming apparatus performing network communication
JP5601197B2 (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210302

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210315

R150 Certificate of patent or registration of utility model

Ref document number: 6863043

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150