JP7063129B2 - Liquid drainer - Google Patents

Liquid drainer Download PDF

Info

Publication number
JP7063129B2
JP7063129B2 JP2018110379A JP2018110379A JP7063129B2 JP 7063129 B2 JP7063129 B2 JP 7063129B2 JP 2018110379 A JP2018110379 A JP 2018110379A JP 2018110379 A JP2018110379 A JP 2018110379A JP 7063129 B2 JP7063129 B2 JP 7063129B2
Authority
JP
Japan
Prior art keywords
cartridge
liquid
value
liquid chamber
threshold value
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
JP2018110379A
Other languages
Japanese (ja)
Other versions
JP2019209667A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018110379A priority Critical patent/JP7063129B2/en
Publication of JP2019209667A publication Critical patent/JP2019209667A/en
Application granted granted Critical
Publication of JP7063129B2 publication Critical patent/JP7063129B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)

Description

本発明は、液体を排出する液体排出装置に関する。 The present invention relates to a liquid discharge device that discharges a liquid.

従来より、着脱可能なメインタンクと、装着されたメインタンクから供給されたインクを貯留するサブタンクと、サブタンクに貯留されたインクを吐出して画像を記録する画像記録ユニットとを備えるインクジェットプリンタが知られている(例えば、特許文献1)。また、上記インクジェットプリンタは、メインタンク及びサブタンクの内部空間が大気に開放されている。そのため、メインタンクをインクジェットプリンタに装着すると、メインタンクの内部空間の水頭及びサブタンクの内部空間の水頭の差(以下、「水頭差」と表記する。)によって、メインタンク及びサブタンクの液面が同一高さに揃うように、水頭圧によってインクが移動する。そして、上記インクジェットプリンタは、残量検出センサで検出したインクの残量が閾値未満になったことに応じて、ディスプレイにカートリッジ交換が必要である旨を表示したり、インクがエンプティであることを表示したりする。 Conventionally, an inkjet printer equipped with a detachable main tank, a sub tank for storing ink supplied from the mounted main tank, and an image recording unit for ejecting ink stored in the sub tank and recording an image has been known. (For example, Patent Document 1). Further, in the inkjet printer, the internal spaces of the main tank and the sub tank are open to the atmosphere. Therefore, when the main tank is attached to the inkjet printer, the liquid levels of the main tank and the sub tank are the same due to the difference between the head in the internal space of the main tank and the head in the internal space of the sub tank (hereinafter referred to as "head difference"). The head pressure causes the ink to move so that it aligns with the height. Then, in the inkjet printer, when the remaining amount of ink detected by the remaining amount detection sensor becomes less than the threshold value, the display indicates that the cartridge needs to be replaced, or the ink is empty. To display.

特開2008-213162号公報Japanese Unexamined Patent Publication No. 2008-21126

例えば上記の構成を有するインクジェットプリンタにおいて、メインタンクが交換されると、メインタンクからサブタンクへインクが流出する。仮に、サブタンク内のインクを検出する残量検出センサがあれば、メインタンクからサブタンクへインクが流れ込み、やがて、残量検出センサの検知信号が変化する。残量検出センサの検知信号が変化すると、インクジェットプリンタは、ディスプレイにおけるカートリッジ交換が必要である旨の表示やエンプティの表示を消去することができる。しかしながら、メインタンクからサブタンクへインクが流出して、残量検出センサが出力する信号が変化するまでに時間を要すると、その間ディスプレイの表示が消えない。そのため、メインタンクを交換したユーザは、ディスプレイの表示が消えないことから、メインタンクの交換の不備を想定するおそれがある。 For example, in an inkjet printer having the above configuration, when the main tank is replaced, ink flows out from the main tank to the sub tank. If there is a remaining amount detection sensor that detects the ink in the sub tank, the ink will flow from the main tank to the sub tank, and eventually the detection signal of the remaining amount detection sensor will change. When the detection signal of the remaining amount detection sensor changes, the inkjet printer can erase the display indicating that the cartridge needs to be replaced or the empty display. However, if it takes time for the ink to flow out from the main tank to the sub tank and the signal output by the remaining amount detection sensor changes, the display on the display will not disappear during that time. Therefore, the user who has replaced the main tank may assume that the replacement of the main tank is inadequate because the display does not disappear.

本発明は、前述された事情に鑑みてなされたものであり、その目的は、第1液室を有するカートリッジが交換されてから、第2液室内の液面が所定位置以上となる前に、報知機の作動を解除することができる手段を提供することにある。 The present invention has been made in view of the above-mentioned circumstances, and an object thereof is to be performed after the cartridge having the first liquid chamber is replaced and before the liquid level in the second liquid chamber becomes a predetermined position or higher. The purpose is to provide a means capable of deactivating the alarm.

(1) 本発明に係る液体排出装置は、液体が貯留された第1液室を有するカートリッジが装着される装着ケースと、第2液室を有するタンクと、一方が上記第2液室に連通されており、他方が上記装着ケースに装着された上記カートリッジの上記第1液室と連通される流路と、上記第2液室と連通されるヘッドと、液面センサと、報知機と、コントローラと、を備える。上記コントローラは、上記第2液室内の液面の位置が所定位置未満である場合に上記液面センサが出力する第1信号を受信したことに基づいて、上記報知機に第1報知を行わせ、上記ヘッドを通じて液体を排出させる排出指示を受け付け、上記第1信号の受信後に受け付けた上記排出指示で排出が指示された液体量に基づいて、上記第2液室に貯留されている液体の量に関する第1値を決定し、上記カートリッジが上記装着ケースに装着されたかを判定し、上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記第1値が第1閾値に到達しているか否かを判定し、上記第1値が上記第1閾値に到達していないと判定したことに基づいて、上記第1報知を解除し、上記第1値が上記第1閾値に到達していると判定し、且つ、上記第2液室内の液面の位置が上記所定位置以上である場合に上記液面センサが出力する第2信号を受信したことに基づいて、上記第1報知を解除する。 (1) In the liquid discharge device according to the present invention, a mounting case in which a cartridge having a first liquid chamber in which liquid is stored is mounted and a tank having a second liquid chamber, one of which communicates with the second liquid chamber. The other is a flow path that communicates with the first liquid chamber of the cartridge mounted in the mounting case, a head that communicates with the second liquid chamber, a liquid level sensor, and an alarm. It is equipped with a controller. The controller causes the alarm to perform the first notification based on the reception of the first signal output by the liquid level sensor when the position of the liquid level in the second liquid chamber is less than the predetermined position. , The amount of liquid stored in the second liquid chamber based on the amount of liquid instructed to be discharged by the discharge instruction received after receiving the discharge instruction to discharge the liquid through the head. The first value with respect to is determined, it is determined whether or not the cartridge is mounted in the mounting case, and based on the determination that the cartridge is mounted in the mounting case, the first value reaches the first threshold value. Based on the determination that the first value has not reached the first threshold value, the first notification is canceled, and the first value reaches the first threshold value. The first notification is sent based on the fact that the second signal output by the liquid level sensor is received when the position of the liquid level in the second liquid chamber is equal to or higher than the predetermined position. unlock.

上記構成によれば、第1報知が行われた状態において、カートリッジが交換されてから、第2液室の液面が所定位置以上となる前に、第2液室に貯留されている液体の量に関する第1値が第1閾値に到達していないことを条件として、第1報知を解除することができる。当該第1値は、例えば、第2液室に貯留されている液体量そのものであってもよいし、当該液体量を算出するための、排出指示で排出が指示された液体量であってもよい。 According to the above configuration, in the state where the first notification is performed, after the cartridge is replaced and before the liquid level in the second liquid chamber reaches a predetermined position or higher, the liquid stored in the second liquid chamber The first notification can be canceled on condition that the first value regarding the amount has not reached the first threshold value. The first value may be, for example, the amount of liquid itself stored in the second liquid chamber, or may be the amount of liquid specified to be discharged by the discharge instruction for calculating the amount of liquid. good.

(2) 好ましくは、上記コントローラは、上記第1値が上記第1閾値に到達していると判定したことに基づいて、上記ヘッドからの液体の排出を禁止し、上記液面センサから上記第2信号を受信したことに基づいて、上記ヘッドからの液体の排出を許可する。 (2) Preferably, the controller prohibits the discharge of the liquid from the head based on the determination that the first value has reached the first threshold value, and the liquid level sensor determines that the first value has reached the first threshold value. 2 Allows the liquid to be discharged from the head based on the reception of the signal.

上記構成によれば、カートリッジが交換されてから、第2液室の液面が所定位置以上となる前に、第2液室に貯留されている液体の量に関する第1値が第1閾値に到達している場合に、ヘッドからの液体の排出が禁止される。そして、第2液室の液面が所定位置以上となったことに基づいて、液体の排出が許可される。 According to the above configuration, after the cartridge is replaced and before the liquid level in the second liquid chamber reaches a predetermined position or higher, the first value regarding the amount of liquid stored in the second liquid chamber becomes the first threshold value. If so, draining of liquid from the head is prohibited. Then, the discharge of the liquid is permitted based on the fact that the liquid level of the second liquid chamber is equal to or higher than the predetermined position.

(3) 好ましくは、上記コントローラは、上記ヘッドからの液体の排出を禁止した後に上記液面センサから上記第2信号を受信したことに基づいて、上記ヘッドからの液体の排出を許可する。 (3) Preferably, the controller permits the discharge of the liquid from the head based on the reception of the second signal from the liquid level sensor after prohibiting the discharge of the liquid from the head.

(4) 好ましくは、上記コントローラは、上記第1値が上記第1閾値に到達していると判定したことに基づいて、上記報知機に上記第1報知と異なる第2報知を実行させ、上記液面センサから上記第2信号を受信したことに基づいて、上記第2報知を解除し、上記報知機に上記第1報知及び上記第2報知と異なる第3報知を行わせる。 (4) Preferably, the controller causes the alarm to execute a second notification different from the first notification based on the determination that the first value has reached the first threshold value. Based on the reception of the second signal from the liquid level sensor, the second notification is canceled, and the alarm is made to perform the first notification and the third notification different from the second notification.

上記構成によれば、第2液室に貯留されている液体の量に関する第1値が第1閾値に到達している場合に、第2報知が行われるので、例えば、カートリッジからタンクへ液体が流入中であることをユーザに報知することができる。また、第2液室の液面が所定位置以上となったことに応じて第3報知が行われるので、例えば、カートリッジからタンクへの液体の流入が進行し、印刷が実行されていることをユーザに報知することができる。 According to the above configuration, when the first value regarding the amount of liquid stored in the second liquid chamber reaches the first threshold value, the second notification is performed, so that, for example, the liquid flows from the cartridge to the tank. It is possible to notify the user that the inflow is in progress. Further, since the third notification is performed when the liquid level in the second liquid chamber reaches the predetermined position or higher, for example, the inflow of the liquid from the cartridge to the tank progresses and printing is executed. It is possible to notify the user.

(5) 好ましくは、上記装着ケースには、カラー印刷に用いられるカラーインクが貯留された上記第1液室を有する上記カートリッジ、及び、モノクロ印刷に用いられるモノクロインクが貯留された上記第1液室を有する上記カートリッジの両方が装着される。上記コントローラは、上記排出指示として、シートに画像を記録させる記録指示を受け付け、受け付けた上記記録指示が、上記ヘッドを通じてモノクロインクを排出させるモノクロ印刷指示であるか、又は、上記ヘッドを通じてカラーインクを排出させるカラー印刷指示であるかを判定し、カラーインクが貯留された上記第1液室と連通する上記第2液室に貯留されているカラーインクの量に関する上記第1値が、上記第1閾値に到達していると判定し、且つ、上記記録指示がカラー印刷指示であると判定したことに基づいて、上記ヘッドからの液体の排出を禁止し、カラーインクが貯留された上記第1液室と連通する上記第2液室に貯留されているカラーインクの量に関する上記第1値が、上記第1閾値に到達していると判定し、且つ、上記記録指示がモノクロ印刷指示であると判定したことに基づいて、上記ヘッドからの液体の排出を許可する。 (5) Preferably, the mounting case has the cartridge having the first liquid chamber in which the color ink used for color printing is stored, and the first liquid in which the monochrome ink used for monochrome printing is stored. Both of the above cartridges having a chamber are fitted. The controller receives a recording instruction for recording an image on a sheet as the ejection instruction, and the received recording instruction is a monochrome printing instruction for ejecting monochrome ink through the head, or color ink is discharged through the head. The first value regarding the amount of color ink stored in the second liquid chamber communicating with the first liquid chamber in which the color ink is stored is the first value. Based on the determination that the threshold has been reached and the recording instruction is a color printing instruction, the discharge of the liquid from the head is prohibited, and the first liquid in which the color ink is stored is prohibited. It is determined that the first value regarding the amount of color ink stored in the second liquid chamber communicating with the chamber has reached the first threshold value, and the recording instruction is a monochrome printing instruction. Based on the determination, the discharge of the liquid from the head is permitted.

(6) 好ましくは、液体排出装置は、インタフェースを更に備える。上記コントローラは、上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジのカートリッジメモリに記憶されたカートリッジ情報を上記インタフェースを通じて読み出し、読み出した上記カートリッジ情報に基づいて、装着された上記カートリッジが第1のカートリッジであるか、又は、上記第1液室に最大貯留可能量の液体が貯留された状態で上記装着ケースに装着した際の上記第1液室から上記第2液室への液体の流入速度が上記第1のカートリッジと異なる第2のカートリッジであるかを判定し、装着された上記カートリッジが上記第1のカートリッジであると判定したことに基づいて、第1所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定し、装着された上記カートリッジが上記第2のカートリッジであると判定したことに基づいて、上記第1所定値と異なる第2所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する。 (6) Preferably, the liquid drainer further comprises an interface. The controller reads the cartridge information stored in the cartridge memory of the cartridge through the interface based on the determination that the cartridge is mounted in the mounting case, and is mounted based on the read cartridge information. The first liquid chamber to the second liquid chamber when the cartridge is the first cartridge or is mounted on the mounting case with the maximum amount of liquid stored in the first liquid chamber. A first predetermined value based on the determination that the inflow rate of the liquid into the second cartridge is different from that of the first cartridge and that the mounted cartridge is the first cartridge. Was determined as the first threshold value, it was determined whether or not the determined first value reached the determined first threshold value, and it was determined that the mounted cartridge was the second cartridge. Based on this, a second predetermined value different from the first predetermined value is determined as the first threshold value, and it is determined whether or not the first value has reached the determined first threshold value.

上記構成によれば、カートリッジからタンクへの液体の流入速度に応じて、異なる所定値が第1閾値として判定に用いられるので、第1値の判定が適切に行われる。なお、第2のカートリッジは、例えば、貯留される液体の粘度が異なることにより流入速度が第1のカートリッジと異なるものであってもよいし、貯留される液体の種類が異なる(例えば、顔料と染料)ことにより流入速度が第1のカートリッジと異なるものであってもよいし、形状が異なる(例えば、流路の形状や内径)ことにより流入速度が第1のカートリッジと異なるものであってもよい。 According to the above configuration, different predetermined values are used for the determination as the first threshold value according to the inflow rate of the liquid from the cartridge to the tank, so that the determination of the first value is appropriately performed. The second cartridge may have a different inflow rate from the first cartridge because the viscosity of the stored liquid is different, or the type of the stored liquid is different (for example, from the pigment). The inflow rate may be different from that of the first cartridge due to the dye), or the inflow rate may be different from that of the first cartridge due to the different shape (for example, the shape and inner diameter of the flow path). good.

(7) 好ましくは、上記液体排出装置は、インタフェースを更に備える。上記コントローラは、上記第1信号の受信後に受け付けた上記排出指示で排出が指示された液体量に相当する値で、上記第1値としての第1カウント値を決定し、上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジのカートリッジメモリに記憶されたカートリッジ情報を上記インタフェースを通じて読み出し、読み出した上記カートリッジ情報に基づいて、装着された上記カートリッジが第1のカートリッジであるか、又は、上記第1液室に最大貯留可能量の液体が貯留された状態で上記装着ケースに装着した際の上記第1液室から上記第2液室への液体の流入速度が上記第1のカートリッジよりも大きい第2のカートリッジであるかを判定し、装着された上記カートリッジが上記第1のカートリッジであると判定したことに基づいて、第3所定値を上記第1閾値として決定し、上記第1カウント値が、決定した上記第1閾値に到達しているか否かを判定し、装着された上記カートリッジが上記第2のカートリッジであると判定したことに基づいて、上記第3所定値よりも大きい第4所定値を上記第1閾値として決定し、上記第1カウント値が、決定した上記第1閾値に到達しているか否かを判定する。 (7) Preferably, the liquid drainer further comprises an interface. The controller determines a first count value as the first value with a value corresponding to the amount of liquid instructed to be discharged by the discharge instruction received after receiving the first signal, and the cartridge is the mounting case. The cartridge information stored in the cartridge memory of the cartridge is read out through the interface based on the determination that the cartridge is mounted on the cartridge, and based on the cartridge information read out, is the mounted cartridge the first cartridge? Or, the inflow rate of the liquid from the first liquid chamber to the second liquid chamber when the liquid is mounted on the mounting case with the maximum amount of liquid stored in the first liquid chamber is the first. Based on the determination that the second cartridge is larger than the cartridge of the above and the mounted cartridge is the first cartridge, the third predetermined value is determined as the first threshold value. It is determined whether or not the first count value has reached the determined first threshold value, and based on the determination that the mounted cartridge is the second cartridge, the third predetermined value is determined. A fourth predetermined value larger than is determined as the first threshold value, and it is determined whether or not the first count value reaches the determined first threshold value.

上記構成によれば、カートリッジからタンクへの液体の流入速度が大きいほど、大きな第1閾値が判定に用いられるので、第1値としての第1カウント値の判定が適切に行われる。 According to the above configuration, the larger the inflow speed of the liquid from the cartridge to the tank, the larger the first threshold value is used for the determination, so that the determination of the first count value as the first value is appropriately performed.

(8) 好ましくは、上記液体排出装置は、インタフェースを更に備える。上記コントローラは、上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジが有するカートリッジメモリに記憶された上記第1液室の液面高さ又は液体量を、上記インタフェースを通じて読み出し、読み出した上記液面高さ又は上記液体量に基づいて上記第1閾値を決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する。 (8) Preferably, the liquid drainer further comprises an interface. Based on the determination that the cartridge is mounted in the mounting case, the controller reads out the liquid level height or the liquid amount of the first liquid chamber stored in the cartridge memory of the cartridge through the interface. The first threshold value is determined based on the read-out liquid level height or the liquid amount, and it is determined whether or not the first value has reached the determined first threshold value.

上記構成によれば、カートリッジメモリに記憶された液面高さ又は液体量に基づいて第1閾値が決定されるので、第1値の判定が適切に行われる。 According to the above configuration, since the first threshold value is determined based on the liquid level height or the liquid amount stored in the cartridge memory, the determination of the first value is appropriately performed.

(9) 好ましくは、上記液体排出装置は、メモリを更に備える。上記メモリは、印刷設定情報を記憶しており、上記印刷設定情報は、第1印刷設定、又は、単位時間当たりの上記ヘッドからの液体の排出量が上記第1印刷設定と異なる第2印刷設定のいずれかを示す。上記コントローラは、上記印刷設定情報が上記第1印刷設定又は上記第2印刷設定のいずれを示すかを判定し、上記印刷設定情報が上記第1印刷設定を示すと判定したことに基づいて、第5所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定し、上記印刷設定情報が上記第2印刷設定を示すと判定したことに基づいて、上記第5所定値と異なる第6所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する。 (9) Preferably, the liquid discharge device further includes a memory. The memory stores print setting information, and the print setting information is the first print setting or the second print setting in which the amount of liquid discharged from the head per unit time is different from the first print setting. Indicates one of. The controller determines whether the print setting information indicates the first print setting or the second print setting, and is based on the determination that the print setting information indicates the first print setting. 5 The predetermined value was determined as the first threshold value, it was determined whether or not the determined first value reached the determined first threshold value, and it was determined that the print setting information indicates the second print setting. Based on this, a sixth predetermined value different from the fifth predetermined value is determined as the first threshold value, and it is determined whether or not the first value has reached the determined first threshold value.

第1値についての判定に基づいて第1報知を解除するにあたり、例えば、将来液体が多く消費される可能性が高い場合は、タンクに貯留されている液体が比較的多い状態で第1報知が解除されると好ましい。逆に、液体が多く消費される可能性が低い場合は、タンクに貯留されている液体が比較的少ない状態で第1報知が解除されても、カートリッジからの液体の流入中にタンクの液体がなくなってしまう可能性は小さい。ここで、メモリに記憶されたデフォルトの印刷設定は、次回以降の印刷でも用いられる可能性が高い。そうすると、デフォルト設定が液体の消費量が多い設定である場合には、将来液体が多く消費される可能性が高い。逆に、デフォルト設定が液体の消費量が少ない設定である場合には、将来の液体の消費量は少ない可能性が高い。上記構成によれば、メモリに記憶された印刷設定情報が示す印刷の設定に応じて、異なる第1閾値が判定に用いられるので、将来の液体の消費量の予測に沿った第1値の判定を行うことができる。 In canceling the first notification based on the determination of the first value, for example, when there is a high possibility that a large amount of liquid will be consumed in the future, the first notification will be performed with a relatively large amount of liquid stored in the tank. It is preferable to release it. On the contrary, when it is unlikely that a large amount of liquid is consumed, even if the first notification is canceled with a relatively small amount of liquid stored in the tank, the liquid in the tank will be discharged during the inflow of the liquid from the cartridge. It is unlikely that it will disappear. Here, the default print settings stored in the memory are likely to be used in the next and subsequent prints. Then, if the default setting is a setting that consumes a large amount of liquid, there is a high possibility that a large amount of liquid will be consumed in the future. Conversely, if the default setting is a low liquid consumption setting, it is likely that future liquid consumption will be low. According to the above configuration, since a different first threshold value is used for the determination according to the print setting indicated by the print setting information stored in the memory, the determination of the first value according to the prediction of the future liquid consumption is made. It can be performed.

(10) 好ましくは、上記コントローラは、上記排出指示として、シートに画像を記録させる記録指示を受け付け、上記記録指示は、第3印刷設定、又は、単位時間当たりの上記ヘッドからの液体の排出量が上記第3印刷設定と異なる第4印刷設定のいずれかを指定している。上記コントローラは、受け付けた上記記録指示が上記第3印刷設定又は上記第4印刷設定のいずれを指定しているかを判定し、上記記録指示が上記第3印刷設定を指定していると判定したことに基づいて、第7所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定し、上記記録指示が上記第4印刷設定を指定していると判定したことに基づいて、上記第7所定値と異なる第8所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する。 (10) Preferably, the controller accepts a recording instruction for recording an image on the sheet as the discharging instruction, and the recording instruction is the third print setting or the amount of liquid discharged from the head per unit time. Specifies one of the fourth print settings that is different from the third print setting. The controller determines whether the received recording instruction specifies the third print setting or the fourth print setting, and determines that the recording instruction specifies the third print setting. Based on the above, a seventh predetermined value is determined as the first threshold value, it is determined whether or not the first value has reached the determined first threshold value, and the recording instruction sets the fourth print setting. Based on the determination that the designation is made, an eighth predetermined value different from the seventh predetermined value is determined as the first threshold value, and whether or not the first value reaches the determined first threshold value. Is determined.

第1値についての判定に基づいて第1報知を解除するにあたり、例えば、将来液体が多く消費される可能性が高い状態においては、タンクに貯留されている液体が比較的多い状態で第1報知が解除されると好ましい。逆に、将来液体が多く消費される可能性が低い状態においては、タンクに貯留されている液体が比較的少ない状態で第1報知が解除されても、カートリッジからの液体の流入中にタンクの液体がなくなってしまう可能性は小さい。ここで、過去に受け付けた記録指示が示す印刷の設定は、次回以降の記録指示でも用いられる可能性が高い。そうすると、受け付けた記録指示が示す印刷の設定が、液体の消費量が多い設定である場合には、将来液体が多く消費される可能性が高い。逆に、液体の消費量が少ない設定である場合には、将来の液体の消費量は少ない可能性が高い。上記構成によれば、受け付けた記録指示が示す印刷の設定に応じて、異なる第1閾値が判定に用いられるので、将来の液体の消費量の予測に沿った第1値の判定を行うことができる。 In canceling the first notification based on the determination of the first value, for example, in a state where a large amount of liquid is likely to be consumed in the future, the first notification is performed in a state where a relatively large amount of liquid is stored in the tank. Is preferably released. On the contrary, in a state where it is unlikely that a large amount of liquid will be consumed in the future, even if the first notification is canceled with a relatively small amount of liquid stored in the tank, the tank may be inflowing liquid from the cartridge. It is unlikely that the liquid will run out. Here, the print setting indicated by the recording instruction received in the past is likely to be used in the next and subsequent recording instructions. Then, if the print setting indicated by the received recording instruction is a setting that consumes a large amount of liquid, there is a high possibility that a large amount of liquid will be consumed in the future. On the contrary, when the liquid consumption is set to be small, it is highly possible that the liquid consumption in the future is small. According to the above configuration, since a different first threshold value is used for the determination according to the printing setting indicated by the received recording instruction, it is possible to determine the first value according to the prediction of the future consumption of the liquid. can.

(11) 好ましくは、上記液体排出装置は、インタフェースを更に備える。上記コントローラは、上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジが有するカートリッジメモリに記憶された、上記第1液室に貯留された液体量を上記インタフェースを通じて読み出し、読み出した上記液体量が第2閾値以上であるか判定し、上記液体量が上記第2閾値以上であると判定したことに基づいて、上記第1値が上記第1閾値に到達しているか否かを判定する。 (11) Preferably, the liquid drainer further comprises an interface. Based on the determination that the cartridge is mounted in the mounting case, the controller reads and reads the amount of liquid stored in the first liquid chamber stored in the cartridge memory of the cartridge through the interface. Whether or not the first value has reached the first threshold value based on the determination that the amount of the liquid is equal to or greater than the second threshold value and the determination that the amount of the liquid is equal to or greater than the second threshold value. Is determined.

上記構成によれば、カートリッジメモリから読み出した液体量が第2閾値以上であることを条件として、第1値の判定が行われるので、装着されたカートリッジに十分な量の液体が貯留されている場合に、第1報知を解除することができる。 According to the above configuration, the first value is determined on condition that the amount of liquid read from the cartridge memory is equal to or greater than the second threshold value, so that a sufficient amount of liquid is stored in the mounted cartridge. In that case, the first notification can be canceled.

(12) 好ましくは、上記装着ケースには、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが装着される。上記タンクは、一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、を有する。上記ヘッドは、上記第4流路の他端と連通される。上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する。 (12) Preferably, in the mounting case, one end communicates with the first liquid chamber and the other end communicates with the outside, and one end communicates with the first liquid chamber and the other end. Is mounted with a cartridge having a second flow path that communicates with the outside. The tank has a third flow path in which one end communicates with the outside and the other end communicates with the second liquid chamber, and one end located below the third liquid flow chamber communicates with the second liquid chamber. It has a fourth flow path and a fifth flow path in which one end communicates with the second liquid chamber and the other end communicates with the outside. The head communicates with the other end of the fourth flow path. At least one of the first flow path and the third flow path communicates with the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case.

(13) 本発明に係る液体排出装置は、液体が貯留された第1液室を有するカートリッジと、上記カートリッジが装着される装着ケースと、第2液室を有するタンクと、一方が上記第2液室に連通されており、他方が上記装着ケースに装着された上記カートリッジの上記第1液室と連通される流路と、上記第2液室と連通されるヘッドと、液面センサと、報知機と、コントローラと、を備える。上記コントローラは、上記第2液室内の液面の位置が所定位置未満である場合に上記液面センサが出力する第1信号を受信したことに基づいて、上記報知機に第1報知を行わせ、上記ヘッドを通じて液体を排出させる排出指示を受け付け、上記第1信号の受信後に受け付けた上記排出指示で排出が指示された液体量に基づいて、上記第2液室に貯留されている液体の量に関する第1値を決定し、上記カートリッジが上記装着ケースに装着されたかを判定し、上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記第1値が第1閾値に到達しているか否かを判定し、上記第1値が上記第1閾値に到達していないと判定したことに基づいて、上記第1報知を解除し、上記第1値が上記第1閾値に到達していると判定し、且つ、上記第2液室内の液面の位置が上記所定位置以上である場合に上記液面センサが出力する第2信号を受信したことに基づいて、上記第1報知を解除する。 (13) The liquid discharge device according to the present invention has a cartridge having a first liquid chamber in which liquid is stored, a mounting case in which the cartridge is mounted, and a tank having a second liquid chamber, one of which is the second liquid chamber. A flow path that communicates with the liquid chamber and the other communicates with the first liquid chamber of the cartridge mounted in the mounting case, a head that communicates with the second liquid chamber, a liquid level sensor, and the like. It includes an alarm and a controller. The controller causes the alarm to perform the first notification based on the reception of the first signal output by the liquid level sensor when the position of the liquid level in the second liquid chamber is less than the predetermined position. , The amount of liquid stored in the second liquid chamber based on the amount of liquid instructed to be discharged by the discharge instruction received after receiving the discharge instruction to discharge the liquid through the head. The first value with respect to is determined, it is determined whether or not the cartridge is mounted in the mounting case, and based on the determination that the cartridge is mounted in the mounting case, the first value reaches the first threshold value. Based on the determination that the first value has not reached the first threshold value, the first notification is canceled, and the first value reaches the first threshold value. The first notification is sent based on the fact that the second signal output by the liquid level sensor is received when the position of the liquid level in the second liquid chamber is equal to or higher than the predetermined position. unlock.

上記構成によれば、第1報知が行われた状態において、カートリッジが交換されてから、第2液室の液面が所定位置以上となる前に、第2液室に貯留されている液体の量に関する第1値が第1閾値に到達していないことを条件として、第1報知を解除することができる。当該第1値は、例えば、第2液室に貯留されている液体量そのものであってもよいし、当該液体量を算出するための、排出指示で排出が指示された液体量であってもよい。 According to the above configuration, in the state where the first notification is performed, after the cartridge is replaced and before the liquid level in the second liquid chamber reaches a predetermined position or higher, the liquid stored in the second liquid chamber The first notification can be canceled on condition that the first value regarding the amount has not reached the first threshold value. The first value may be, for example, the amount of liquid itself stored in the second liquid chamber, or may be the amount of liquid specified to be discharged by the discharge instruction for calculating the amount of liquid. good.

本発明によれば、カートリッジが交換されてから、第2液室内の液面が所定位置以上となる前に、報知機の作動を解除することができる。 According to the present invention, the operation of the alarm can be released after the cartridge is replaced and before the liquid level in the second liquid chamber reaches a predetermined position or higher.

図1は、プリンタ10の外観斜視図であって、(A)はカバー87が被覆位置である状態、(B)はカバー87が露出位置である状態を示す。1A and 1B are external perspective views of the printer 10. FIG. 1A shows a state in which the cover 87 is in the covering position, and FIG. 1B shows a state in which the cover 87 is in the exposed position. 図2は、プリンタ10の内部構造を模式的に示す模式断面図である。FIG. 2 is a schematic cross-sectional view schematically showing the internal structure of the printer 10. 図3は、装着ケース150の縦断面図である。FIG. 3 is a vertical sectional view of the mounting case 150. 図4は、カートリッジ200の構造を示す図であって、(A)は前方斜視図を、(B)は縦断面図を示す。4A and 4B are views showing the structure of the cartridge 200, where FIG. 4A shows a front perspective view and FIG. 4B shows a vertical sectional view. 図5は、装着ケース150にカートリッジ200が装着された状態の縦断面図である。FIG. 5 is a vertical sectional view showing a state in which the cartridge 200 is mounted on the mounting case 150. 図6は、プリンタ10のブロック図である。FIG. 6 is a block diagram of the printer 10. 図7は、画像記録処理のフローチャートである。FIG. 7 is a flowchart of the image recording process. 図8は、カウント処理のフローチャートである。FIG. 8 is a flowchart of the count process. 図9は、Empty仮解除処理のフローチャートである。FIG. 9 is a flowchart of the Empty temporary release process. 図10は、Empty正式解除処理のフローチャートである。FIG. 10 is a flowchart of the Empty formal cancellation process. 図11は、画像記録処理の一部の処理を示すフローチャートである。FIG. 11 is a flowchart showing a part of the image recording process. 図12(A)は、C_Empty報知画面を示す図であり、図12(B)は、印刷中画面を示す図であり、図12(C)は、インク不足報知画面を示す図である。12A is a diagram showing a C_Empty notification screen, FIG. 12B is a diagram showing a printing screen, and FIG. 12C is a diagram showing an ink shortage notification screen. 図13(A)は、インク流入中画面を示す図であり、図13(B)は、流入エラー報知画面を示す図である。FIG. 13A is a diagram showing an ink inflowing screen, and FIG. 13B is a diagram showing an inflow error notification screen. 図14は、変形例1のEmpty仮解除処理のフローチャートである。FIG. 14 is a flowchart of the Empty temporary release process of Modification 1. 図15は、変形例2のEmpty仮解除処理のフローチャートである。FIG. 15 is a flowchart of the Empty temporary release process of the modification 2. 図16は、変形例3のEmpty仮解除処理のフローチャートである。FIG. 16 is a flowchart of the Empty temporary release process of Modification 3. 図17は、変形例4のEmpty仮解除処理のフローチャートである。FIG. 17 is a flowchart of the Empty temporary release process of the modified example 4.

以下、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。また、プリンタ10が使用可能に水平面に設置された使用姿勢を基準として上下方向7が定義され、プリンタ10の開口13が形成された面を前面として前後方向8が定義され、プリンタ10を前面から見て左右方向9が定義される。本実施形態では、使用姿勢において、上下方向7が鉛直方向に相当し、前後方向8及び左右方向9が水平方向に相当する。前後方向8及び左右方向9は、直交している。 Hereinafter, embodiments of the present invention will be described. It is needless to say that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention. Further, the vertical direction 7 is defined based on the usage posture in which the printer 10 can be used and is installed on a horizontal plane, the front-rear direction 8 is defined with the surface on which the opening 13 of the printer 10 is formed as the front surface, and the printer 10 is defined from the front surface. Looking, the horizontal direction 9 is defined. In the present embodiment, in the usage posture, the vertical direction 7 corresponds to the vertical direction, and the front-rear direction 8 and the horizontal direction 9 correspond to the horizontal direction. The front-back direction 8 and the left-right direction 9 are orthogonal to each other.

[プリンタ10の概要]
本実施形態に係るプリンタ10は、インクジェット記録方式でシートに画像を記録する液体排出装置の一例である。プリンタ10は、概ね直方体形状の筐体14を有している。また、プリンタ10は、ファクシミリ機能、スキャン機能、及びコピー機能などの機能を有する、所謂、「複合機」であってもよい。
[Overview of Printer 10]
The printer 10 according to the present embodiment is an example of a liquid discharging device that records an image on a sheet by an inkjet recording method. The printer 10 has a housing 14 having a substantially rectangular parallelepiped shape. Further, the printer 10 may be a so-called "multifunction device" having functions such as a facsimile function, a scan function, and a copy function.

筐体14の内部には、図1及び図2に示されるように、給送トレイ15と、給送ローラ23と、搬送ローラ25と、複数のノズル29を有するヘッド21と、ヘッド21に対面するプラテン26と、排出ローラ27と、排出トレイ16と、カートリッジ200が着脱される装着ケース150と、ヘッド21及び装着ケース150に装着されたカートリッジ200を連通させるチューブ32とが位置している。 Inside the housing 14, as shown in FIGS. 1 and 2, the feed tray 15, the feed roller 23, the transport roller 25, the head 21 having a plurality of nozzles 29, and the head 21 face each other. A platen 26, a discharge roller 27, a discharge tray 16, a mounting case 150 to which the cartridge 200 is attached / detached, and a tube 32 for communicating the cartridge 200 mounted on the head 21 and the mounting case 150 are located.

プリンタ10は、給送ローラ23及び搬送ローラ25を駆動させて、給送トレイ15に支持されたシートをプラテン26の位置まで搬送する。次に、プリンタ10は、装着ケース150に装着されたカートリッジ200からチューブ32を通じて供給されるインクを、ヘッド21にノズル29を通じて吐出させる。これにより、プラテン26に支持されたシートにインクが着弾して、シート上に画像が記録される。そして、プリンタ10は、排出ローラ27を駆動させて、画像が記録されたシートを排出トレイ16に排出する。 The printer 10 drives the feed roller 23 and the transport roller 25 to transport the sheet supported by the feed tray 15 to the position of the platen 26. Next, the printer 10 ejects the ink supplied from the cartridge 200 mounted on the mounting case 150 through the tube 32 to the head 21 through the nozzle 29. As a result, the ink lands on the sheet supported by the platen 26, and an image is recorded on the sheet. Then, the printer 10 drives the discharge roller 27 to discharge the sheet on which the image is recorded to the discharge tray 16.

より詳細には、ヘッド21は、搬送ローラ25によるシートの搬送向きと交差する主走査方向に往復移動するキャリッジに搭載されていてもよい。そして、プリンタ10は、主走査方向の一方から他方へキャリッジを移動させる過程で、ヘッド21にノズル29を通じてインクを吐出させてもよい。これにより、ヘッド21に対面するシートの一部の領域(以下、「1パス」と表記する。)に画像が記録される。次に、プリンタ10は、次に画像が記録されるべき領域がヘッド21に対面するように、搬送ローラ25にシートを搬送させてもよい。そして、これらの処理を交互に繰り返し実行させることによって、1枚のシートに画像が記録される。 More specifically, the head 21 may be mounted on a carriage that reciprocates in the main scanning direction intersecting the sheet transport direction by the transport roller 25. Then, the printer 10 may eject ink to the head 21 through the nozzle 29 in the process of moving the carriage from one of the main scanning directions to the other. As a result, the image is recorded in a part of the area of the sheet facing the head 21 (hereinafter, referred to as "1 pass"). Next, the printer 10 may transfer the sheet to the transfer roller 25 so that the area where the image should be recorded next faces the head 21. Then, by repeatedly executing these processes alternately, an image is recorded on one sheet.

なお、本実施形態においては、画像記録におけるヘッド21のノズル29からのインクの排出が「吐出」と称され、他方、パージにおけるヘッド21のノズル29からのインクの排出が「吐出」と称されないが、「吐出」は「排出」に含まれる概念である。 In the present embodiment, the ejection of ink from the nozzle 29 of the head 21 in image recording is referred to as "ejection", while the ejection of ink from the nozzle 29 of the head 21 in purging is not referred to as "ejection". However, "discharge" is a concept included in "discharge".

[カバー87]
図1に示されるように、筐体14の前面14Aで且つ左右方向9の右端部には、開口85が形成されている。筐体14は、さらにカバー87を備える。カバー87は、開口85を閉塞させる被覆位置(図1(A)に示される位置)と、開口85を開放する露出位置(図1(B)に示される位置)との間を回動可能である。カバー87は、例えば、上下方向7における筐体14の下端近傍において、左右方向9に沿う回動軸線周りに回動可能に、筐体14によって支持されている。そして、開口85の奥に広がる筐体14内部の収容空間86には、装着ケース150が位置している。
[Cover 87]
As shown in FIG. 1, an opening 85 is formed on the front surface 14A of the housing 14 and at the right end portion in the left-right direction 9. The housing 14 further includes a cover 87. The cover 87 is rotatable between a covering position that closes the opening 85 (the position shown in FIG. 1A) and an exposed position that opens the opening 85 (the position shown in FIG. 1B). be. The cover 87 is supported by the housing 14 so as to be rotatable around the rotation axis along the left-right direction 9, for example, in the vicinity of the lower end of the housing 14 in the vertical direction 7. The mounting case 150 is located in the accommodation space 86 inside the housing 14 that extends to the back of the opening 85.

[カバーセンサ88]
プリンタ10は、カバーセンサ88(図6参照)を有する。カバーセンサ88は、例えば、カバー87が接離するスイッチ等の機械式センサであってもよいし、カバー87の位置によって光が遮断或いは透過される光学式センサであってもよい。カバーセンサ88は、カバー87の位置に応じた信号をコントローラ130に出力する。より詳細には、カバーセンサ88は、カバー87が被覆位置に位置していることに応じて、ローレベル信号をコントローラ130へ出力する。一方、カバーセンサ88は、カバー87が被覆位置と異なる位置に位置していることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。換言すれば、カバーセンサ88は、カバー87が露出位置に位置していることに応じて、ハイレベル信号をコントローラ130へ出力する。
[Cover sensor 88]
The printer 10 has a cover sensor 88 (see FIG. 6). The cover sensor 88 may be, for example, a mechanical sensor such as a switch with which the cover 87 is brought in and out, or an optical sensor in which light is blocked or transmitted depending on the position of the cover 87. The cover sensor 88 outputs a signal corresponding to the position of the cover 87 to the controller 130. More specifically, the cover sensor 88 outputs a low level signal to the controller 130 depending on whether the cover 87 is located at the covering position. On the other hand, the cover sensor 88 outputs a high-level signal having a higher signal strength than the low-level signal to the controller 130 depending on the position of the cover 87 different from the covering position. In other words, the cover sensor 88 outputs a high level signal to the controller 130 depending on the position of the cover 87 in the exposed position.

[装着ケース150]
装着ケース150は、図3に示されるように、接点152と、ロッド153と、装着センサ154と、液面センサ155と、ロックピン156とを備えている。装着ケース150には、ブラック、シアン、マゼンタ、イエローの各色に対応する4つのカートリッジ200が収容可能である。すなわち、装着ケース150は、接点152、ロッド153、装着センサ154、液面センサ155は、4つのカートリッジ200それぞれに対応して、4つずつ備えている。なお、装着ケース150に収容可能なカートリッジ200の数は、4つに限定されず、1つでも良いし、5つ以上でも良い。シアン、マゼンタ、イエローのインクは、カラー印刷に用いられるカラーインクの一例である。ブラックのインクは、モノクロ印刷に用いられるモノクロインクの一例である。接点152は、インタフェースの一例である。
[Mounting case 150]
As shown in FIG. 3, the mounting case 150 includes a contact 152, a rod 153, a mounting sensor 154, a liquid level sensor 155, and a lock pin 156. The mounting case 150 can accommodate four cartridges 200 corresponding to each color of black, cyan, magenta, and yellow. That is, the mounting case 150 is provided with four contacts 152, a rod 153, a mounting sensor 154, and a liquid level sensor 155 corresponding to each of the four cartridges 200. The number of cartridges 200 that can be accommodated in the mounting case 150 is not limited to four, and may be one or five or more. Cyan, magenta, and yellow inks are examples of color inks used in color printing. Black ink is an example of monochrome ink used for monochrome printing. The contact 152 is an example of an interface.

装着ケース150は、装着されたカートリッジ200を収容する内部空間を有する箱形状である。装着ケース150の内部空間は、上端を画定する天壁と、下端を画定する底壁と、前後方向8の後端を画定する奥壁と、左右方向9の両端を画定する一対の側壁とで画定される。一方、装着ケース150の奥壁と対面する位置は、開口85となっている。すなわち、開口85は、カバー87を露出位置に配置したときに、装着ケース150の内部空間を、プリンタ10の外部に露出させる。 The mounting case 150 has a box shape having an internal space for accommodating the mounted cartridge 200. The internal space of the mounting case 150 is composed of a top wall defining the upper end, a bottom wall defining the lower end, a back wall defining the rear end of the front-rear direction 8, and a pair of side walls defining both ends in the left-right direction 9. Delimited. On the other hand, the position facing the back wall of the mounting case 150 is an opening 85. That is, the opening 85 exposes the internal space of the mounting case 150 to the outside of the printer 10 when the cover 87 is arranged at the exposed position.

そして、カートリッジ200は、筐体14の開口85を通じて、装着ケース150に挿入され、装着ケース150から抜かれる。より詳細には、カートリッジ200は、開口85を前後方向8の後ろ向きに通過して、装着ケース150に装着される。装着ケース150から抜かれるカートリッジ200は、開口85を前後方向8の前向きに通過する。 Then, the cartridge 200 is inserted into the mounting case 150 through the opening 85 of the housing 14, and is removed from the mounting case 150. More specifically, the cartridge 200 passes through the opening 85 backward in the front-rear direction 8 and is mounted on the mounting case 150. The cartridge 200 pulled out from the mounting case 150 passes through the opening 85 forward in the front-rear direction 8.

装着ケース150は、複数種類のカートリッジ200が装着可能なように構成されている。複数種類のカートリッジ200は、液室210の形状及び断面積が異なることによって液室210の容積が異なり、各液室210に最初に貯留されるインク量Vc、すなわち初期インク量Vc0が異なるものである。本実施形態では、後述する標準のカートリッジ200(第1のカートリッジの一例)と、当該カートリッジ200より初期インク量が多い大容量カートリッジ(第2のカートリッジの一例)が装着ケース150に装着可能であるとする。大容量カートリッジは、液室210に最大貯留可能量(すなわちVc0)のインクが貯留された状態で装着ケース150に装着した際の液室210から液室170へのインクの流入速度が、標準のカートリッジ200よりも大きい。 The mounting case 150 is configured so that a plurality of types of cartridges 200 can be mounted. The plurality of types of cartridges 200 have different volumes of the liquid chambers 210 due to differences in the shape and cross-sectional area of the liquid chambers 210, and the ink amount Vc initially stored in each liquid chamber 210, that is, the initial ink amount Vc0 is different. be. In this embodiment, a standard cartridge 200 (an example of a first cartridge) described later and a large-capacity cartridge (an example of a second cartridge) having a larger initial ink amount than the cartridge 200 can be mounted in the mounting case 150. And. The standard large-capacity cartridge has a standard ink inflow rate from the liquid chamber 210 to the liquid chamber 170 when the ink is mounted on the mounting case 150 with the maximum amount of ink that can be stored (that is, Vc0) stored in the liquid chamber 210. Larger than the cartridge 200.

[接点152]
接点152は、装着ケース150の天壁に位置している。接点152は、天壁から装着ケース150の内部空間へ向けて下方に突出している。接点152は、装着ケース150にカートリッジ200が装着された状態において、カートリッジ200の後述する電極248に接する位置に位置している。接点152は、導電性を有しており、さらに上下方向7に沿って弾性的に変形可能である。接点152は、コントローラ130に電気的に接続されている。
[Contact 152]
The contact 152 is located on the top wall of the mounting case 150. The contact 152 projects downward from the top wall toward the internal space of the mounting case 150. The contact 152 is located at a position in contact with the electrode 248 described later of the cartridge 200 when the cartridge 200 is mounted on the mounting case 150. The contact 152 has conductivity and is elastically deformable along the vertical direction 7. The contact 152 is electrically connected to the controller 130.

[ロッド153]
ロッド153は、装着ケース150の奥壁から前方へ突出している。ロッド153は、装着ケース150の奥壁において、後述するジョイント180より上方に位置している。ロッド153は、カートリッジ200が装着ケース150に装着される過程において、カートリッジ200の後述する大気連通口221を通じて大気バルブ室214に進入する。ロッド153が大気バルブ室214に進入すると、後述する大気バルブ室214が大気に連通される。
[Rod 153]
The rod 153 projects forward from the back wall of the mounting case 150. The rod 153 is located on the back wall of the mounting case 150 above the joint 180 described later. The rod 153 enters the atmospheric valve chamber 214 through the atmospheric communication port 221 described later of the cartridge 200 in the process of mounting the cartridge 200 on the mounting case 150. When the rod 153 enters the atmospheric valve chamber 214, the atmospheric valve chamber 214, which will be described later, communicates with the atmosphere.

[装着センサ154]
装着センサ154は、装着ケース150の天壁に位置している。装着センサ154は、カートリッジ200が装着ケース150に装着されているか否かを、コントローラ130が検出するためのセンサである。装着センサ154は、左右方向9に離間した発光部及び受光部を備える。装着ケース150にカートリッジ200が装着された状態において、カートリッジ200の後述する遮光リブ245は、装着センサ154の発光部及び受光部の間に位置する。換言すれば、装着センサ154の発光部及び受光部は、装着ケース150に装着されたカートリッジ200の遮光リブ245を挟んで、互いに対向した状態で位置している。
[Mounting sensor 154]
The mounting sensor 154 is located on the top wall of the mounting case 150. The mounting sensor 154 is a sensor for the controller 130 to detect whether or not the cartridge 200 is mounted on the mounting case 150. The mounting sensor 154 includes a light emitting unit and a light receiving unit separated from each other in the left-right direction 9. When the cartridge 200 is mounted on the mounting case 150, the light-shielding rib 245 described later of the cartridge 200 is located between the light emitting portion and the light receiving portion of the mounting sensor 154. In other words, the light emitting portion and the light receiving portion of the mounting sensor 154 are located so as to face each other with the light shielding rib 245 of the cartridge 200 mounted on the mounting case 150 interposed therebetween.

装着センサ154は、発光部から左右方向9に沿って照射された光が受光部で受光されたか否かに応じて、異なる信号(図中では、「装着信号」と表記する。)を出力する。装着センサ154は、例えば、受光部で受光された光の受光強度が閾値強度未満であることに応じて、ローレベル信号をコントローラ130へ出力する。一方、装着センサ154は、受光部で受光された光の受光強度が閾値強度以上であることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。 The mounting sensor 154 outputs different signals (referred to as “mounting signal” in the figure) depending on whether or not the light emitted from the light emitting unit along the left-right direction 9 is received by the light receiving unit. .. The mounting sensor 154 outputs a low-level signal to the controller 130, for example, according to the light receiving intensity of the light received by the light receiving unit being less than the threshold value. On the other hand, the mounting sensor 154 outputs a high level signal having a signal intensity higher than that of the low level signal to the controller 130 according to the light receiving intensity of the light received by the light receiving unit being equal to or higher than the threshold value.

[液面センサ155]
液面センサ155は、後述するアクチュエータ190の被検出部194が検出位置に位置しているか否かを検出するためのセンサである。液面センサ155は、左右方向9に離間した発光部及び受光部を備える。換言すれば、液面センサ155の発光部及び受光部は、検出位置に位置した被検出部194を挟んで、互いに対向した状態で位置している。液面センサ155は、発光部から出力された光が受光部で受光されたか否かに応じて異なる信号(図中では、「液面信号」と表記する。)を出力する。液面センサ155は、例えば、受光部で受光された光の受光強度が閾値強度未満であることに応じて、ローレベル信号をコントローラ130へ出力する。一方、液面センサ155は、受光部で受光された光の受光強度が閾値強度以上であることに応じて、ローレベル信号より信号強度の高いハイレベル信号をコントローラ130へ出力する。ハイレベル信号は第1信号の一例であり、ローレベル信号は第2信号の一例である。
[Liquid level sensor 155]
The liquid level sensor 155 is a sensor for detecting whether or not the detected portion 194 of the actuator 190, which will be described later, is located at the detection position. The liquid level sensor 155 includes a light emitting unit and a light receiving unit separated from each other in the left-right direction 9. In other words, the light emitting unit and the light receiving unit of the liquid level sensor 155 are located so as to face each other with the detected unit 194 located at the detection position interposed therebetween. The liquid level sensor 155 outputs a different signal (referred to as “liquid level signal” in the figure) depending on whether or not the light output from the light emitting unit is received by the light receiving unit. The liquid level sensor 155 outputs a low level signal to the controller 130, for example, according to the light receiving intensity of the light received by the light receiving unit being less than the threshold value. On the other hand, the liquid level sensor 155 outputs a high level signal having a signal intensity higher than that of the low level signal to the controller 130 according to the light receiving intensity of the light received by the light receiving unit being equal to or higher than the threshold value. The high level signal is an example of the first signal, and the low level signal is an example of the second signal.

[ロックピン156]
ロックピン156は、装着ケース150の内部空間の上端で且つ開口85付近において、左右方向9に沿って延びる棒状の部材である。ロックピン156の左右方向9の両端は、装着ケース150の一対の側壁に固定されている。ロックピン156は、4つのカートリッジ200が収納可能な4つの空間に亘って左右方向9に延びている。ロックピン156は、装着ケース150に装着されたカートリッジ200を、図5に示される装着位置に保持するためのものである。カートリッジ200は、装着ケース150に装着された状態で、ロックピン156に係合される。
[Lock pin 156]
The lock pin 156 is a rod-shaped member extending along the left-right direction 9 at the upper end of the internal space of the mounting case 150 and near the opening 85. Both ends of the lock pin 156 in the left-right direction 9 are fixed to a pair of side walls of the mounting case 150. The lock pin 156 extends in the left-right direction 9 over four spaces in which the four cartridges 200 can be stored. The lock pin 156 is for holding the cartridge 200 mounted on the mounting case 150 at the mounting position shown in FIG. The cartridge 200 is engaged with the lock pin 156 while being mounted on the mounting case 150.

[タンク160]
プリンタ10は、4つのカートリッジ200それぞれに対応して、4つのタンク160を備える。タンク160は、装着ケース150の奥壁よりさらに後方に位置している。タンク160は、図3に示されるように、上壁161と、前壁162と、下壁163と、後壁164と、不図示の一対の側壁とで構成されている。なお、前壁162は、各々が前後方向8にずれた複数の壁によって構成される。タンク160の内部は、液室171が形成されている。液室171は、第2液室の一例である。
[Tank 160]
The printer 10 includes four tanks 160 corresponding to each of the four cartridges 200. The tank 160 is located further behind the back wall of the mounting case 150. As shown in FIG. 3, the tank 160 is composed of an upper wall 161, a front wall 162, a lower wall 163, a rear wall 164, and a pair of side walls (not shown). The front wall 162 is composed of a plurality of walls, each of which is displaced in the front-rear direction 8. A liquid chamber 171 is formed inside the tank 160. The liquid chamber 171 is an example of the second liquid chamber.

タンク160を構成する壁のうち、少なくとも液面センサ155に対面する壁は、透光性を有している。これにより、液面センサ155が出力した光は、液面センサ155に対面する壁を透過することができる。後壁164の少なくとも一部は、上壁161、下壁163、及び側壁の端面に溶着されるフィルムでもよい。また、タンク160の側壁は、装着ケース150と共通でもよいし、装着ケース150とは独立していてもよい。さらに、左右方向9に隣接するタンク160の間は、不図示の隔壁によって仕切られている。4つのタンク160の構成は、概ね共通する。 Of the walls constituting the tank 160, at least the wall facing the liquid level sensor 155 has translucency. As a result, the light output by the liquid level sensor 155 can pass through the wall facing the liquid level sensor 155. At least a part of the rear wall 164 may be a film welded to the upper wall 161, the lower wall 163, and the end faces of the side wall. Further, the side wall of the tank 160 may be common to the mounting case 150 or may be independent of the mounting case 150. Further, the tanks 160 adjacent to each other in the left-right direction 9 are partitioned by a partition wall (not shown). The configurations of the four tanks 160 are generally the same.

液室171は、流出口174を通じて不図示のインク流路に連通されている。流出口174の下端は、液室171の下端を画定する下壁163によって画定されている。流出口174は、ジョイント180(より詳細には、貫通孔184の下端)より上下方向7の下方に位置している。流出口174に連通された不図示のインク流路は、チューブ32(図2参照)に連通されている。これにより、液室171は、流出口174からインク流路及びチューブ32を通じて、ヘッド21と連通する。つまり、液室171に貯留されたインクは、流出口174からインク流路及びチューブ32を通じて、ヘッド21へ供給される。流出口174に連通されたインク流路及びチューブ32は、一端(流出口174)が液室171に連通され、且つ他端33(図2参照)がヘッド21に連通された第4流路の一例である。 The liquid chamber 171 communicates with an ink flow path (not shown) through the outlet 174. The lower end of the outlet 174 is defined by a lower wall 163 that defines the lower end of the liquid chamber 171. The outlet 174 is located below the joint 180 (more specifically, the lower end of the through hole 184) in the vertical direction 7. The ink flow path (not shown) communicating with the outlet 174 communicates with the tube 32 (see FIG. 2). As a result, the liquid chamber 171 communicates with the head 21 from the outlet 174 through the ink flow path and the tube 32. That is, the ink stored in the liquid chamber 171 is supplied to the head 21 from the outlet 174 through the ink flow path and the tube 32. The ink flow path and the tube 32 communicated with the outlet 174 are the fourth flow path in which one end (outlet 174) is communicated with the liquid chamber 171 and the other end 33 (see FIG. 2) is communicated with the head 21. This is just one example.

液室171は、大気連通室175を通じて大気に連通されている。より詳細には、大気連通室175は、前壁162を貫通する貫通孔176を通じて液室171に連通されている。また、大気連通室175は、大気連通ポート177及び大気連通ポート177に接続された不図示のチューブを通じて、プリンタ10の外部に連通されている。すなわち、大気連通室175は、一端(貫通孔176)が液室171に連通され、且つ他端(大気連通ポート177)がプリンタ10の外部に連通された第5流路の一例である。なお、大気連通室175は、大気連通ポート177及び不図示のチューブを通じて、大気に連通している。 The liquid chamber 171 communicates with the atmosphere through the air communication chamber 175. More specifically, the atmospheric communication chamber 175 communicates with the liquid chamber 171 through a through hole 176 penetrating the front wall 162. Further, the atmospheric communication chamber 175 is communicated to the outside of the printer 10 through a tube (not shown) connected to the atmospheric communication port 177 and the atmospheric communication port 177. That is, the atmospheric communication chamber 175 is an example of a fifth flow path in which one end (through hole 176) is communicated with the liquid chamber 171 and the other end (atmospheric communication port 177) is communicated with the outside of the printer 10. The atmospheric communication chamber 175 communicates with the atmosphere through an atmospheric communication port 177 and a tube (not shown).

[ジョイント180]
ジョイント180は、図3に示されるように、ニードル181と、ガイド182とを備えている。ニードル181は、内部に流路が形成された管である。ニードル181は、液室171を画定する前壁162から前方へ突出している。ニードル181の突出先端には、開口183が形成されている。また、ニードル181の内部空間は、前壁162を貫通する貫通孔184を通じて液室171に連通されている。ニードル181は、一端(開口183)がタンク160の外部に連通され、且つ他端(貫通孔184)が液室171に連通された第3流路の一例である。ガイド182は、ニードル181の周囲に配置された円筒形状の部材である。ガイド182は、前壁162から前方に突出して、突出端が開口している。
[Joint 180]
The joint 180 includes a needle 181 and a guide 182, as shown in FIG. The needle 181 is a tube having a flow path formed inside. The needle 181 projects forward from the anterior wall 162 defining the liquid chamber 171. An opening 183 is formed at the protruding tip of the needle 181. Further, the internal space of the needle 181 is communicated with the liquid chamber 171 through a through hole 184 penetrating the front wall 162. The needle 181 is an example of a third flow path in which one end (opening 183) is communicated with the outside of the tank 160 and the other end (through hole 184) is communicated with the liquid chamber 171. The guide 182 is a cylindrical member arranged around the needle 181. The guide 182 projects forward from the front wall 162, and the protruding end is open.

ニードル181の内部空間には、バルブ185と、コイルバネ186とが位置している。バルブ185は、ニードル181の内部空間において、閉塞位置と開放位置との間を、前後方向8に沿って移動可能である。バルブ185は、閉塞位置に位置すると開口183を閉塞する。またバルブ185は、開放位置に位置すると開口183を開放する。コイルバネ186は、バルブ185を開放位置から閉塞位置に移動させる向き、すなわち前方に付勢している。 A valve 185 and a coil spring 186 are located in the internal space of the needle 181. The valve 185 is movable along the front-rear direction 8 between the closed position and the open position in the internal space of the needle 181. The valve 185 closes the opening 183 when located in the closed position. Further, the valve 185 opens the opening 183 when it is located at the open position. The coil spring 186 is urged in a direction that moves the valve 185 from the open position to the closed position, that is, forward.

[アクチュエータ190]
液室171には、アクチュエータ190が位置している。アクチュエータ190は、液室171内に配置された不図示の支持部材によって、矢印198、199の向きに回動可能に支持されている。アクチュエータ190は、図3の実線で示される位置及び破線で示される位置の間を回動することができる。さらに、アクチュエータ190は、不図示のストッパ(例えば、液室171の内壁)によって、実線の位置より矢印198の向きへの回動が規制される。アクチュエータ190は、フロート191と、軸192と、アーム193と、被検出部194とを備える。
[Actuator 190]
The actuator 190 is located in the liquid chamber 171. The actuator 190 is rotatably supported in the direction of arrows 198 and 199 by a support member (not shown) arranged in the liquid chamber 171. The actuator 190 can rotate between the position shown by the solid line and the position shown by the broken line in FIG. Further, the actuator 190 is restricted from rotating in the direction of arrow 198 from the position of the solid line by a stopper (for example, the inner wall of the liquid chamber 171) (not shown). The actuator 190 includes a float 191, a shaft 192, an arm 193, and a detected portion 194.

フロート191は、液室171に貯留されるインクより比重が小さい材料で形成されている。軸192は、フロート191の右面及び左面から左右方向9に突出している。軸192は、支持部材に形成された不図示の孔に挿入されている。これにより、アクチュエータ190は、軸192を中心として回動可能に支持部材によって支持される。アーム193は、フロート191から略上方へ延びている。被検出部194は、アーム193の突出先端部に位置している。被検出部194は、上下方向7及び前後方向8に延びる板状の部材である。被検出部194は、液面センサ155の発光部から出力された光を遮光する材料又は色で形成されている。 The float 191 is made of a material having a lower specific density than the ink stored in the liquid chamber 171. The shaft 192 projects in the left-right direction 9 from the right and left surfaces of the float 191. The shaft 192 is inserted into a hole (not shown) formed in the support member. As a result, the actuator 190 is rotatably supported by the support member about the shaft 192. The arm 193 extends substantially upward from the float 191. The detected portion 194 is located at the protruding tip portion of the arm 193. The detected portion 194 is a plate-shaped member extending in the vertical direction 7 and the front-rear direction 8. The detected portion 194 is formed of a material or color that shields the light output from the light emitting portion of the liquid level sensor 155.

液室171内のインクの液面が所定位置P以上のとき、浮力によって矢印198の向きに回動されたアクチュエータ190は、ストッパによって図3の実線で示される検出位置に保持される。一方、インクの液面が所定位置P未満のとき、アクチュエータ190は、液面の降下に追従して矢印199の向きに回動される。これにより、被検出部194は、検出位置から外れた位置に移動する。すなわち、被検出部194は、液室171に貯留されたインクの量に対応する位置に移動する。 When the liquid level of the ink in the liquid chamber 171 is equal to or higher than the predetermined position P, the actuator 190 rotated in the direction of arrow 198 by buoyancy is held by the stopper at the detection position shown by the solid line in FIG. On the other hand, when the liquid level of the ink is less than the predetermined position P, the actuator 190 is rotated in the direction of arrow 199 following the drop of the liquid level. As a result, the detected unit 194 moves to a position deviating from the detected position. That is, the detected unit 194 moves to a position corresponding to the amount of ink stored in the liquid chamber 171.

所定位置Pは、上下方向7において、ニードル181の軸中心と同じ高さであり、且つ後述するインク供給口234の中心と同じ高さである。しかしながら、所定位置Pは、上下方向7における流出口174より上方の位置であれば、前述の位置に限定されない。他の例として、所定位置Pは、ニードル181の内部空間の上端や下端の高さでもよいし、インク供給口234の上端や下端の高さでもよい。 The predetermined position P is at the same height as the axis center of the needle 181 and at the same height as the center of the ink supply port 234 described later in the vertical direction 7. However, the predetermined position P is not limited to the above-mentioned position as long as it is a position above the outlet 174 in the vertical direction 7. As another example, the predetermined position P may be the height of the upper end or the lower end of the internal space of the needle 181 or the height of the upper end or the lower end of the ink supply port 234.

液室171に貯留されたインクの液面が所定位置P以上のとき、液面センサ155の発光部から出力された光が被検出部194で遮られる。これにより、液面センサ155は、発光部からの光が受光部に到達しないので、ローレベル信号をコントローラ130へ出力する。一方、液室171に貯留されたインクの液面が所定位置P未満のとき、液面センサ155は、発光部から出力された光が受光部に到達するので、ハイレベル信号をコントローラ130へ出力する。すなわち、コントローラ130は、液室171内のインクの液面が所定位置P以上か否かを、液面センサ155から出力される信号によって検出することができる。 When the liquid level of the ink stored in the liquid chamber 171 is equal to or higher than the predetermined position P, the light output from the light emitting unit of the liquid level sensor 155 is blocked by the detected unit 194. As a result, the liquid level sensor 155 outputs a low level signal to the controller 130 because the light from the light emitting unit does not reach the light receiving unit. On the other hand, when the liquid level of the ink stored in the liquid chamber 171 is less than the predetermined position P, the liquid level sensor 155 outputs a high level signal to the controller 130 because the light output from the light emitting part reaches the light receiving part. do. That is, the controller 130 can detect whether or not the liquid level of the ink in the liquid chamber 171 is equal to or higher than the predetermined position P by the signal output from the liquid level sensor 155.

[カートリッジ200]
カートリッジ200は、液体の一例であるインクを内部に貯留可能な液室210(図2参照)を有する容器である。液室210は、例えば、樹脂製の壁によって画定されている。カートリッジ200は、図4(A)に示されるように、上下方向7及び前後方向8それぞれに沿った寸法が、左右方向9に沿った寸法よりも大きい扁平形状である。なお、異なる色のインクが貯留されるカートリッジ200の外形形状は、同一でもよいし、異なっていてもよい。カートリッジ200を構成する壁のうちの少なくとも一部は、透光性を有している。これにより、ユーザは、カートリッジ200の液室210に貯留されたインクの液面をカートリッジ200の外部から視認することができる。なお、上述した大容量カートリッジは、液室210の形状及び断面積が異なる他はカートリッジ200と同様の構成を有するため、詳細な説明を省略する。
[Cartridge 200]
The cartridge 200 is a container having a liquid chamber 210 (see FIG. 2) capable of storing ink, which is an example of a liquid, inside. The liquid chamber 210 is defined by, for example, a resin wall. As shown in FIG. 4A, the cartridge 200 has a flat shape in which the dimensions along the vertical direction 7 and the front-rear direction 8 are larger than the dimensions along the left-right direction 9. The outer shapes of the cartridges 200 in which inks of different colors are stored may be the same or different. At least a part of the walls constituting the cartridge 200 is translucent. As a result, the user can visually recognize the liquid level of the ink stored in the liquid chamber 210 of the cartridge 200 from the outside of the cartridge 200. Since the above-mentioned large-capacity cartridge has the same configuration as the cartridge 200 except that the shape and cross-sectional area of the liquid chamber 210 are different, detailed description thereof will be omitted.

カートリッジ200は、筐体201と、供給管230とを備える。筐体201は、後壁202と、前壁203と、上壁204と、下壁205と、一対の側壁206、207とで構成されている。なお、後壁202は、各々が前後方向8にずれた複数の壁によって構成されている。また、上壁204は、各々が上下方向7にずれた複数の壁によって構成されている。さらに、下壁205は、各々が上下方向7にずれた複数の壁によって構成されている。 The cartridge 200 includes a housing 201 and a supply pipe 230. The housing 201 is composed of a rear wall 202, a front wall 203, an upper wall 204, a lower wall 205, and a pair of side walls 206 and 207. The rear wall 202 is composed of a plurality of walls, each of which is displaced in the front-rear direction 8. Further, the upper wall 204 is composed of a plurality of walls, each of which is displaced in the vertical direction 7. Further, the lower wall 205 is composed of a plurality of walls, each of which is displaced in the vertical direction 7.

カートリッジ200の内部空間には、図4(B)に示されるように、液室210、インクバルブ室213、及び大気バルブ室214が形成されている。液室210は、上部液室211と、下部液室212とを有する。上部液室211、下部液室212、及び大気バルブ室214は、筐体201の内部空間である。一方、インクバルブ室213は、供給管230の内部空間である。液室210は、インクを貯留する。大気バルブ室214は、液室210とカートリッジ200の外部とを連通させる。液室210は、第1液室の一例である。 As shown in FIG. 4B, a liquid chamber 210, an ink valve chamber 213, and an atmospheric valve chamber 214 are formed in the internal space of the cartridge 200. The liquid chamber 210 has an upper liquid chamber 211 and a lower liquid chamber 212. The upper liquid chamber 211, the lower liquid chamber 212, and the atmospheric valve chamber 214 are internal spaces of the housing 201. On the other hand, the ink valve chamber 213 is an internal space of the supply pipe 230. The liquid chamber 210 stores ink. The atmosphere valve chamber 214 communicates the liquid chamber 210 with the outside of the cartridge 200. The liquid chamber 210 is an example of the first liquid chamber.

液室210の上部液室211及び下部液室212は、筐体201の内部空間を仕切る隔壁215によって、上下方向7に隔てられている。そして、上部液室211及び下部液室212は、隔壁215に形成された貫通孔216によって連通されている。また、上部液室211及び大気バルブ室214は、筐体201の内部空間を仕切る隔壁217によって、上下方向7に隔てられている。そして、上部液室211及び大気バルブ室214は、隔壁217に形成された貫通孔218によって連通されている。さらに、インクバルブ室213は、貫通孔219を通じて下部液室212の下端に連通されている。 The upper liquid chamber 211 and the lower liquid chamber 212 of the liquid chamber 210 are separated in the vertical direction 7 by a partition wall 215 that partitions the internal space of the housing 201. The upper liquid chamber 211 and the lower liquid chamber 212 are communicated with each other by a through hole 216 formed in the partition wall 215. Further, the upper liquid chamber 211 and the atmospheric valve chamber 214 are separated in the vertical direction 7 by a partition wall 217 that partitions the internal space of the housing 201. The upper liquid chamber 211 and the atmospheric valve chamber 214 are communicated with each other by a through hole 218 formed in the partition wall 217. Further, the ink valve chamber 213 communicates with the lower end of the lower liquid chamber 212 through the through hole 219.

大気バルブ室214は、カートリッジ200の上部において、後壁202に形成された大気連通口221を通じてカートリッジ200の外部に連通されている。すなわち、大気バルブ室214は、一端(貫通孔218)が液室210(より詳細には、上部液室211)に連通され、且つ他端(大気連通口221)がカートリッジ200の外部に連通された第2流路の一例である。なお、大気バルブ室214は、大気連通口221を通じて、大気に連通している。また、大気バルブ室214には、バルブ222と、コイルバネ223とが位置している。バルブ222は、閉塞位置と開放位置との間を、前後方向8に沿って移動可能である。バルブ222は、閉塞位置に位置すると、大気連通口221を閉塞する。また、バルブ222は、開放位置に位置すると大気連通口221を開放する。コイルバネ223は、バルブ222を開放位置から閉塞位置に移動させる向き、すなわち後方に付勢している。 The atmospheric valve chamber 214 is communicated to the outside of the cartridge 200 at the upper part of the cartridge 200 through an atmospheric communication port 221 formed in the rear wall 202. That is, one end (through hole 218) of the atmospheric valve chamber 214 is communicated with the liquid chamber 210 (more specifically, the upper liquid chamber 211), and the other end (atmospheric communication port 221) is communicated with the outside of the cartridge 200. This is an example of the second flow path. The atmospheric valve chamber 214 communicates with the atmosphere through the atmospheric communication port 221. Further, a valve 222 and a coil spring 223 are located in the atmospheric valve chamber 214. The valve 222 can move between the closed position and the open position along the front-rear direction 8. When the valve 222 is located at the closed position, it closes the atmospheric communication port 221. Further, when the valve 222 is located at the open position, the atmospheric communication port 221 is opened. The coil spring 223 is urged in a direction that moves the valve 222 from the open position to the closed position, that is, backward.

カートリッジ200が装着ケース150に装着される過程において、ロッド153が大気連通口221を通じて大気バルブ室214内に進入する。大気バルブ室214内に進入したロッド153は、閉塞位置のバルブ222をコイルバネ223の付勢力に抗して前方に移動させる。そして、バルブ222が開放位置に移動することによって、上部液室211が大気に連通される。なお、大気連通口221を開放するための構成は、前述の例に限定されない。他の例として、大気連通口221を封止するフィルムをロッド153が突き破る構成でもよい。 In the process of mounting the cartridge 200 on the mounting case 150, the rod 153 enters the atmospheric valve chamber 214 through the atmospheric communication port 221. The rod 153 that has entered the atmosphere valve chamber 214 moves the valve 222 in the closed position forward against the urging force of the coil spring 223. Then, by moving the valve 222 to the open position, the upper liquid chamber 211 is communicated with the atmosphere. The configuration for opening the atmospheric communication port 221 is not limited to the above example. As another example, the rod 153 may be configured to break through the film that seals the atmospheric communication port 221.

供給管230は、筐体201の下部において、後壁202から後方に突出している。供給管230は、その突出端(すなわち、後端)が開口されている。すなわち、インクバルブ室213は、貫通孔219を通じて連通された液室210と、カートリッジ200の外部とを連通させる。インクバルブ室213は、一端(貫通孔219)が液室210(より詳細には下部液室212)と連通され、且つ他端(後述するインク供給口234)がカートリッジ200の外部と連通された第1流路の一例である。また、インクバルブ室213には、パッキン231と、バルブ232と、コイルバネ233とが位置している。 The supply pipe 230 projects rearward from the rear wall 202 at the lower part of the housing 201. The protruding end (that is, the rear end) of the supply pipe 230 is open. That is, the ink valve chamber 213 communicates the liquid chamber 210 communicated through the through hole 219 with the outside of the cartridge 200. One end (through hole 219) of the ink valve chamber 213 communicates with the liquid chamber 210 (more specifically, the lower liquid chamber 212), and the other end (ink supply port 234 described later) communicates with the outside of the cartridge 200. This is an example of the first flow path. Further, the packing 231, the valve 232, and the coil spring 233 are located in the ink valve chamber 213.

パッキン231の中央には、前後方向8に貫通したインク供給口234が形成されている。インク供給口234の内径は、ニードル181の外径より僅かに小さい。バルブ232は、閉塞位置と開放位置との間を、前後方向8に沿って移動可能である。バルブ232は、閉塞位置に位置すると、パッキン231と当接してインク供給口234を閉塞する。また、バルブ232は、開放位置に位置すると、パッキン231から離間してインク供給口234を開放する。コイルバネ233は、バルブ232を開放位置から閉塞位置に移動させる向き、すなわち後方に付勢している。また、コイルバネ233の付勢力は、コイルバネ186より大きい。 An ink supply port 234 penetrating in the front-rear direction 8 is formed in the center of the packing 231. The inner diameter of the ink supply port 234 is slightly smaller than the outer diameter of the needle 181. The valve 232 can move between the closed position and the open position along the front-rear direction 8. When the valve 232 is located at the closed position, it comes into contact with the packing 231 and closes the ink supply port 234. Further, when the valve 232 is located at the open position, the valve 232 is separated from the packing 231 to open the ink supply port 234. The coil spring 233 is urged in a direction that moves the valve 232 from the open position to the closed position, that is, backward. Further, the urging force of the coil spring 233 is larger than that of the coil spring 186.

カートリッジ200が装着ケース150に装着される過程において、供給管230がガイド182内に進入し、やがてニードル181がインク供給口234を通じてインクバルブ室213に進入する。このとき、ニードル181は、パッキン231を弾性変形させつつ、インク供給口234を画定する内周面に液密に接触する。カートリッジ200が装着ケース150へさらに挿入されると、ニードル181は、バルブ232をコイルバネ233の付勢力に抗して前方に移動させる。また、バルブ232は、ニードル181の開口183から突出するバルブ185を、コイルバネ186の付勢力に抗して後方に移動させる。 In the process of mounting the cartridge 200 on the mounting case 150, the supply pipe 230 enters the guide 182, and the needle 181 eventually enters the ink valve chamber 213 through the ink supply port 234. At this time, the needle 181 elastically deforms the packing 231 and comes into liquid-tight contact with the inner peripheral surface defining the ink supply port 234. When the cartridge 200 is further inserted into the mounting case 150, the needle 181 moves the valve 232 forward against the urging force of the coil spring 233. Further, the valve 232 moves the valve 185 protruding from the opening 183 of the needle 181 to the rear against the urging force of the coil spring 186.

これにより、図5に示されるように、インク供給口234及び開口183が開放されて、供給管230のインクバルブ室213と、ニードル181の内部空間とが連通される。すなわち、装着ケース150にカートリッジ200が装着された状態において、インクバルブ室213及びニードル181の内部空間は、カートリッジ200の液室210とタンク160の液室171とを連通させる流路を構成する。 As a result, as shown in FIG. 5, the ink supply port 234 and the opening 183 are opened, and the ink valve chamber 213 of the supply pipe 230 and the internal space of the needle 181 are communicated with each other. That is, when the cartridge 200 is mounted on the mounting case 150, the internal space of the ink valve chamber 213 and the needle 181 constitutes a flow path for communicating the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160.

また、装着ケース150にカートリッジ200が装着された状態において、液室210の一部と、液室171の一部とは、水平方向から見て互いに重なる。その結果、液室210に貯留されたインクは、接続された供給管230及びジョイント180を通じて、水頭差によってタンク160の液室171に移動する。 Further, in a state where the cartridge 200 is mounted on the mounting case 150, a part of the liquid chamber 210 and a part of the liquid chamber 171 overlap each other when viewed from the horizontal direction. As a result, the ink stored in the liquid chamber 210 moves to the liquid chamber 171 of the tank 160 by the head difference through the connected supply pipe 230 and the joint 180.

図4に示されるように、上壁204には、突起241が形成されている。突起241は、上壁204の外面から上方に突出し且つ前後方向8に沿って延びている。突起241は、ロック面242と、傾斜面243とを有する。ロック面242及び傾斜面243は、上壁204より上方に位置している。ロック面242は、前後方向8の前方を向き且つ上下方向7及び左右方向9に延びている(すなわち、上壁204と概ね直交する)。傾斜面243は、上方及び後方を向くように、上壁204に対して傾斜している。 As shown in FIG. 4, a protrusion 241 is formed on the upper wall 204. The protrusion 241 projects upward from the outer surface of the upper wall 204 and extends along the front-rear direction 8. The protrusion 241 has a lock surface 242 and an inclined surface 243. The lock surface 242 and the inclined surface 243 are located above the upper wall 204. The lock surface 242 faces forward in the front-rear direction 8 and extends in the vertical direction 7 and the horizontal direction 9 (that is, substantially orthogonal to the upper wall 204). The inclined surface 243 is inclined with respect to the upper wall 204 so as to face upward and backward.

ロック面242は、装着ケース150にカートリッジ200が装着された状態において、ロックピン156に当接される面である。傾斜面243は、カートリッジ200が装着ケース150に装着される過程において、ロックピン156をロック面242と当接する位置まで案内する面である。ロック面242とロックピン156とが当接した状態では、コイルバネ186、223、233の付勢力に抗して、カートリッジ200が図5に示される装着位置に保持される。 The lock surface 242 is a surface that comes into contact with the lock pin 156 when the cartridge 200 is mounted on the mounting case 150. The inclined surface 243 is a surface that guides the lock pin 156 to a position where it comes into contact with the lock surface 242 in the process of mounting the cartridge 200 on the mounting case 150. In a state where the lock surface 242 and the lock pin 156 are in contact with each other, the cartridge 200 is held in the mounting position shown in FIG. 5 against the urging force of the coil springs 186, 223, and 233.

ロック面242より前方において上壁204から上方へと延びるようにして、平板状の部材が形成されている。この平板状の部材の上面は、カートリッジ200を装着ケース150から抜去する際に、ユーザが操作する操作部244である。カートリッジ200が装着ケース150に装着された状態で且つカバー87が露出位置に位置しているとき、操作部244は、ユーザに操作可能となる。操作部244が下方へ押されると、カートリッジ200が回動することによって、ロック面242がロックピン156より下方へ移動する。その結果、カートリッジ200が装着ケース150から抜去することが可能となる。 A flat plate-shaped member is formed so as to extend upward from the upper wall 204 in front of the lock surface 242. The upper surface of the flat plate-shaped member is an operation unit 244 operated by the user when the cartridge 200 is removed from the mounting case 150. When the cartridge 200 is mounted on the mounting case 150 and the cover 87 is located at the exposed position, the operation unit 244 can be operated by the user. When the operation unit 244 is pushed downward, the cartridge 200 rotates, so that the lock surface 242 moves downward from the lock pin 156. As a result, the cartridge 200 can be removed from the mounting case 150.

上壁204の外面で且つ突起241より後方には、遮光リブ245が形成されている。遮光リブ245は、上壁204の外面から上方に突出し且つ前後方向8に沿って延びている。遮光リブ245は、装着センサ154の発光部から出力される光を遮光する材料又は色で形成されている。遮光リブ245は、装着ケース150にカートリッジ200が装着された状態において、装着センサ154の発光部から受光部に至る光路上に位置する。すなわち、装着センサ154は、装着ケース150にカートリッジ200が装着されていることに応じて、ローレベル信号をコントローラ130に出力する。一方、装着センサ154は、装着ケース150にカートリッジ200が装着されていないことに応じて、ハイレベル信号をコントローラ130に出力する。すなわち、コントローラ130は、装着ケース150にカートリッジ200が装着されているか否かを、装着センサ154から出力される信号によって検出することができる。 A light-shielding rib 245 is formed on the outer surface of the upper wall 204 and behind the protrusion 241. The light-shielding rib 245 projects upward from the outer surface of the upper wall 204 and extends along the front-rear direction 8. The light-shielding rib 245 is made of a material or color that blocks light output from the light emitting portion of the mounting sensor 154. The light-shielding rib 245 is located on the optical path from the light emitting portion to the light receiving portion of the mounting sensor 154 in a state where the cartridge 200 is mounted on the mounting case 150. That is, the mounting sensor 154 outputs a low level signal to the controller 130 according to the mounting of the cartridge 200 in the mounting case 150. On the other hand, the mounting sensor 154 outputs a high level signal to the controller 130 according to the fact that the cartridge 200 is not mounted on the mounting case 150. That is, the controller 130 can detect whether or not the cartridge 200 is mounted on the mounting case 150 by the signal output from the mounting sensor 154.

上壁204の外面で且つ前後方向8における遮光リブ245及び突起241の間には、IC基板247が位置している。IC基板247には、電極248が形成されている。また、IC基板247は、不図示のメモリを備える。電極248は、IC基板247の上記メモリと電気的に接続されている。電極248は、IC基板247の上面において、接点152と導通可能に露出されている。すなわち、カートリッジ200が装着ケース150に装着された状態において、電極248は、接点152と電気的に導通する。コントローラ130は、接点152及び電極248を通じてIC基板247のメモリから情報を読み出し、接点152及び電極248を通じてIC基板247のメモリに情報を書き込むことができる。 The IC substrate 247 is located on the outer surface of the upper wall 204 and between the light-shielding rib 245 and the protrusion 241 in the front-rear direction 8. Electrodes 248 are formed on the IC substrate 247. Further, the IC board 247 includes a memory (not shown). The electrode 248 is electrically connected to the memory of the IC substrate 247. The electrode 248 is electrically exposed to the contact 152 on the upper surface of the IC substrate 247. That is, in a state where the cartridge 200 is mounted on the mounting case 150, the electrode 248 is electrically conductive with the contact 152. The controller 130 can read information from the memory of the IC board 247 through the contact 152 and the electrode 248, and can write the information to the memory of the IC board 247 through the contact 152 and the electrode 248.

IC基板247のメモリは、インク量Vcと、カートリッジ200の個体を識別するための識別情報と、カートリッジ200の種類を示す種類情報などを記憶する。本実施形態では、装着ケース150に標準のカートリッジ200と大容量のカートリッジの、2種類のカートリッジ200が装着可能であり、IC基板247のメモリに記憶された種類情報は、当該カートリッジが「標準」と「大容量」のいずれであるかを示す。なお、カートリッジ200が新品であるIC基板247のメモリには、インク量Vcとして初期インク量Vc0が記憶されている。この初期インク量Vc0は、カートリッジ200に貯留可能なインクの最大量を示す最大貯留可能量の一例である。換言すれば、初期インク量Vc0は、新品のカートリッジ200に貯留されているインクの量を示す。以下、IC基板247のメモリに記憶されている情報を総称して、「CTG情報」又は「カートリッジ情報」と表記することがある。また、「新品」とは、いわゆる未使用品であり、製造されて販売されているカートリッジ200から、カートリッジ200内のインクが一度も外部へ流出していない状態を示す。IC基板247のメモリは、カートリッジメモリの一例である。 The memory of the IC board 247 stores the ink amount Vc, the identification information for identifying the individual cartridge 200, the type information indicating the type of the cartridge 200, and the like. In the present embodiment, two types of cartridges 200, a standard cartridge 200 and a large-capacity cartridge, can be mounted on the mounting case 150, and the type information stored in the memory of the IC board 247 is "standard" for the cartridge. And "large capacity". The initial ink amount Vc0 is stored as the ink amount Vc in the memory of the IC board 247 in which the cartridge 200 is new. This initial ink amount Vc0 is an example of the maximum ink that can be stored, which indicates the maximum amount of ink that can be stored in the cartridge 200. In other words, the initial ink amount Vc0 indicates the amount of ink stored in the new cartridge 200. Hereinafter, the information stored in the memory of the IC board 247 may be collectively referred to as "CTG information" or "cartridge information". Further, "new" is a so-called unused product, and indicates a state in which the ink in the cartridge 200 has never flowed out from the cartridge 200 manufactured and sold. The memory of the IC board 247 is an example of a cartridge memory.

IC基板247のメモリの記憶領域は、例えば、コントローラ130によって情報が上書きされない領域と、コントローラ130によって情報が上書き可能な領域とを有する。例えば、識別情報及び種類情報は上書きされない領域に記憶され、インク量Vcは上書き可能な領域に記憶される。 The storage area of the memory of the IC board 247 has, for example, an area in which the information is not overwritten by the controller 130 and an area in which the information can be overwritten by the controller 130. For example, the identification information and the type information are stored in a non-overwritten area, and the ink amount Vc is stored in an overwritable area.

[コントローラ130]
コントローラ130は、図6に示されるように、CPU131、ROM132、RAM133、EEPROM134、及びASIC135を備えている。ROM132には、CPU131が各種動作を制御するためのプログラムなどが格納されている。RAM133は、CPU131が上記プログラムを実行する際に用いるデータや信号等を一時的に記録する記憶領域、或いはデータ処理の作業領域として使用される。EEPROM134には、電源オフ後も保持すべき設定情報が格納される。ROM132、RAM133、及びEEPROM134は、メモリの一例である。
[Controller 130]
As shown in FIG. 6, the controller 130 includes a CPU 131, a ROM 132, a RAM 133, an EEPROM 134, and an ASIC 135. The ROM 132 stores a program or the like for the CPU 131 to control various operations. The RAM 133 is used as a storage area for temporarily recording data, signals, etc. used by the CPU 131 when executing the program, or as a work area for data processing. The EEPROM 134 stores setting information to be retained even after the power is turned off. ROM 132, RAM 133, and EEPROM 134 are examples of memory.

ASIC135は、給送ローラ23、搬送ローラ25、排出ローラ27、及びヘッド21を動作させるためのものである。コントローラ130は、ASIC135を通じて不図示のモータを駆動させることによって、給送ローラ23、搬送ローラ25、及び排出ローラ27を回転させる。また、コントローラ130は、ASIC135を通じてヘッド21の駆動素子に駆動信号を出力することによって、ヘッド21にノズル29を通じてインクを吐出させる。ASIC135は、ノズル29を通じて吐出すべきインクの量に応じて、複数種類の駆動信号を出力可能である。 The ASIC 135 is for operating the feeding roller 23, the transport roller 25, the discharging roller 27, and the head 21. The controller 130 rotates the feed roller 23, the transfer roller 25, and the discharge roller 27 by driving a motor (not shown) through the ASIC 135. Further, the controller 130 outputs a drive signal to the drive element of the head 21 through the ASIC 135, so that the head 21 ejects ink through the nozzle 29. The ASIC 135 can output a plurality of types of drive signals according to the amount of ink to be ejected through the nozzle 29.

また、ASIC135には、ディスプレイ17と、操作パネル22とが接続されている。ディスプレイ17は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示面を備える。ディスプレイ17は、報知機の一例である。但し、報知機の具体例はディスプレイ17に限定されず、スピーカ、LEDランプ、或いはこれらの組み合わせでもよい。操作パネル22は、ユーザによる操作に応じた操作信号をコントローラ130に出力する。操作パネル22は、例えば、押ボタンを有していてもよいし、ディスプレイ17に重畳されたタッチセンサを有していてもよい。 Further, the display 17 and the operation panel 22 are connected to the ASIC 135. The display 17 is a liquid crystal display, an organic EL display, or the like, and includes a display surface for displaying various information. The display 17 is an example of an alarm. However, the specific example of the alarm is not limited to the display 17, and a speaker, an LED lamp, or a combination thereof may be used. The operation panel 22 outputs an operation signal corresponding to the operation by the user to the controller 130. The operation panel 22 may have, for example, a push button or a touch sensor superimposed on the display 17.

さらに、ASIC135には、接点152と、カバーセンサ88と、装着センサ154と、液面センサ155とが電気的に接続されている。コントローラ130は、装着ケース150に装着されたカートリッジ200のIC基板247のメモリに、接点152を通じてアクセスする。コントローラ130は、カバー87の位置をカバーセンサ88を通じて検出する。また、コントローラ130は、カートリッジ200の挿抜を装着センサ154を通じて検出する。さらに、コントローラ130は、液室171内のインクの液面が所定位置P以上か否かを液面センサ155を通じて検出する。 Further, the contact 152, the cover sensor 88, the mounting sensor 154, and the liquid level sensor 155 are electrically connected to the ASIC 135. The controller 130 accesses the memory of the IC board 247 of the cartridge 200 mounted on the mounting case 150 through the contact 152. The controller 130 detects the position of the cover 87 through the cover sensor 88. Further, the controller 130 detects the insertion / removal of the cartridge 200 through the mounting sensor 154. Further, the controller 130 detects whether or not the liquid level of the ink in the liquid chamber 171 is equal to or higher than the predetermined position P through the liquid level sensor 155.

ROM132には、液面センサ155がハイレベル信号を出力したときに、タンク160の液室171に貯留されている所定インク量Vsc、及びカートリッジ200の液室210に貯留されている所定インク量Vccが記憶されている。所定インク量Vccは、本実施形態ではゼロである。また、ROM132には、所定値A1及びA2が記憶されている。所定値A1及びA2は、タンク160の液室170のインクの液面が、流出口174の上端よりも上方に位置し、且つ、所定位置Pよりも下方に位置するときの、カウント値SN1の値に対応する値である。所定値A2は、所定値A1よりも大きい。所定値A1は、第1所定値及び第3所定値の一例である。所定値A2は、第2所定値及び第4所定値の一例である。 The ROM 132 has a predetermined amount of ink Vsc stored in the liquid chamber 171 of the tank 160 and a predetermined amount of ink Vcc stored in the liquid chamber 210 of the cartridge 200 when the liquid level sensor 155 outputs a high level signal. Is remembered. The predetermined amount of ink Vcc is zero in this embodiment. Further, predetermined values A1 and A2 are stored in the ROM 132. The predetermined values A1 and A2 are the count values SN1 when the liquid level of the ink in the liquid chamber 170 of the tank 160 is located above the upper end of the outlet 174 and below the predetermined position P. The value corresponding to the value. The predetermined value A2 is larger than the predetermined value A1. The predetermined value A1 is an example of the first predetermined value and the third predetermined value. The predetermined value A2 is an example of the second predetermined value and the fourth predetermined value.

EEPROM134は、装着ケース150に装着される4つのカートリッジ200それぞれに対応付けて、換言すれば、カートリッジ200と連通されるタンク160それぞれに対応付けて、各種情報を記憶している。各種情報とは、例えば、液体量の一例であるインク量Vc、Vsと、関数Fと、C_Emptyフラグと、S_Emptyフラグと、仮解除フラグと、禁止フラグと、カウント値SN1と、カウント値SN2と、カウント値TNと、閾値Nt1と、閾値Nt2と、閾値Vminと、待機時間Twと、を含む。閾値Nt2は、第1閾値の一例である。閾値Vminは、第2閾値の一例である。 The EEPROM 134 stores various information in association with each of the four cartridges 200 mounted on the mounting case 150, in other words, in association with each of the tanks 160 communicating with the cartridge 200. The various information includes, for example, the ink amounts Vc and Vs, which are examples of the liquid amount, the function F, the C_Empty flag, the S_Empty flag, the temporary release flag, the prohibition flag, the count value SN1, and the count value SN2. , The count value TN, the threshold value Nt1, the threshold value Nt2, the threshold value Vmin, and the waiting time Tw. The threshold value Nt2 is an example of the first threshold value. The threshold value Vmin is an example of the second threshold value.

なお、インク量Vc及び識別情報は、カートリッジ200が装着ケース150に装着された状態で、接点152を通じてIC基板247のメモリからコントローラ130によって読み出される情報である。関数Fは、EEPROM134に代えて、ROM132に記憶されていてもよい。 The ink amount Vc and the identification information are information read by the controller 130 from the memory of the IC board 247 through the contact 152 in a state where the cartridge 200 is mounted on the mounting case 150. The function F may be stored in the ROM 132 instead of the EEPROM 134.

インク量Vcは、カートリッジ200の液室210に貯留されているインクの量を示す。インク量Vsは、タンク160の液室171に貯留されているインクの量を示す。インク量Vc、Vsは、例えば、関数Fによって算出される。関数Fは、インクの総量Vtと、インク量Vcと、インク量Vcとの対応関係を示す情報である。カートリッジ200の液室210内のインクと、タンク160の液室171内のインクとは、それぞれのインクの液面の上下方向7の位置が一致した状態で平衡になる。つまり、液室210と液室171との間でのインクの移動が停止する。例えば、インクの総量Vtとインク量Vsとの関係は、関数Fで近似することができる。したがって、インクの総量Vtが算出されると、インク量Vs及びインク量Vcが求められる。なお、インク量Vs及びインク量Vcは、関数Fの形式に限定されず、総量Vt毎に対応づけられたテーブルによって求められてもよい。 The ink amount Vc indicates the amount of ink stored in the liquid chamber 210 of the cartridge 200. The ink amount Vs indicates the amount of ink stored in the liquid chamber 171 of the tank 160. The ink amounts Vc and Vs are calculated by, for example, the function F. The function F is information indicating the correspondence between the total amount of ink Vt, the ink amount Vc, and the ink amount Vc. The ink in the liquid chamber 210 of the cartridge 200 and the ink in the liquid chamber 171 of the tank 160 are in equilibrium in a state where the positions of the liquid surfaces of the respective inks in the vertical direction 7 match. That is, the movement of ink between the liquid chamber 210 and the liquid chamber 171 is stopped. For example, the relationship between the total amount of ink Vt and the amount of ink Vs can be approximated by the function F. Therefore, when the total amount Vt of the ink is calculated, the ink amount Vs and the ink amount Vc are obtained. The ink amount Vs and the ink amount Vc are not limited to the format of the function F, and may be obtained by a table associated with each total amount Vt.

カウント値SN1は、液面センサ155から出力される信号がローレベル信号からハイレベル信号に変化した後に、ヘッド21に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値で、閾値Nt1に近づく向きに更新される値である。カウント値SN1は、初期値を“0”としてカウントアップされる値である。また、閾値Nt1は、流出口174の上端付近と所定位置Pとの間の液室171の容積に相当する。但し、カウント値SN1は、容積に相当する値を初期値として、カウントダウンされる値でもよい。この場合の閾値Nt1は、0となる。カウント値SN1は、第1値及び第1カウント値の一例である。 The count value SN1 is set to the ink discharge amount Dh (that is, the ink amount indicated by the drive signal) instructed to be discharged to the head 21 after the signal output from the liquid level sensor 155 changes from the low level signal to the high level signal. It is a corresponding value and is a value updated in the direction approaching the threshold value Nt1. The count value SN1 is a value that is counted up with the initial value set to "0". Further, the threshold value Nt1 corresponds to the volume of the liquid chamber 171 between the vicinity of the upper end of the outlet 174 and the predetermined position P. However, the count value SN1 may be a value that is counted down with a value corresponding to the volume as an initial value. In this case, the threshold value Nt1 becomes 0. The count value SN1 is an example of the first value and the first count value.

カウント値SN2は、仮解除状態であるとき、すなわち、C_Emptyフラグが“OFF”であり、且つ液面センサ155から出力される信号がハイレベル信号であるときに、ヘッド21に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値で、閾値Nt1に近づく向きに更新される値である。カウント値SN2は、初期値を“0”としてカウントアップされる値である。但し、カウント値SN2は、当該積に対応する値を初期値として、カウントダウンされる値でもよい。 The count value SN2 is the ink instructing the head 21 to discharge when it is in the temporary release state, that is, when the C_Empty flag is “OFF” and the signal output from the liquid level sensor 155 is a high level signal. It is a value corresponding to the emission amount Dh (that is, the amount of ink indicated by the drive signal), and is a value updated in the direction approaching the threshold value Nt1. The count value SN2 is a value that is counted up with the initial value set to "0". However, the count value SN2 may be a value that is counted down with the value corresponding to the product as the initial value.

カウント値TNは、装着センサ154から出力される信号がハイレベル信号からローレベル信号に変化した後に、ヘッド21に排出を指示したインク排出量Dh(すなわち、駆動信号で示されるインク量)に相当する値であり、初期値を“0”としてカウントアップされる値である。また、カウント値TNは、初期値をインクの総量Vtに相当する値として、カウントダウンされる値でもよい。 The count value TN corresponds to the ink discharge amount Dh (that is, the ink amount indicated by the drive signal) instructed to be discharged to the head 21 after the signal output from the mounting sensor 154 changes from the high level signal to the low level signal. It is a value to be counted up with the initial value set to "0". Further, the count value TN may be a value that is counted down with the initial value as a value corresponding to the total amount of ink Vt.

C_Emptyフラグは、カートリッジ200がカートリッジエンプティ状態か否かを示す情報である。C_Emptyフラグには、カートリッジエンプティ状態であることに対応する値“ON”、或いはカートリッジエンプティ状態でないことに対応する値“OFF”が設定される。カートリッジエンプティ状態とは、カートリッジ200(より詳細には、液室210)にインクが実質的に貯留されていない状態である。換言すれば、カートリッジエンプティ状態とは、連通された液室210から液室171にインクが移動しない状態である。さらに換言すれば、カートリッジエンプティ状態とは、当該カートリッジ200に連通されたタンク160の液面が所定位置P未満の状態である。 The C_Empty flag is information indicating whether or not the cartridge 200 is in the cartridge empty state. In the C_Empty flag, a value "ON" corresponding to the cartridge empty state or a value "OFF" corresponding to the non-cartridge empty state is set. The cartridge empty state is a state in which ink is not substantially stored in the cartridge 200 (more specifically, the liquid chamber 210). In other words, the cartridge empty state is a state in which ink does not move from the communicated liquid chamber 210 to the liquid chamber 171. In other words, the cartridge empty state is a state in which the liquid level of the tank 160 communicating with the cartridge 200 is less than the predetermined position P.

S_Emptyフラグは、タンク160がインクエンプティ状態か否かを示す情報である。S_Emptyフラグには、インクエンプティ状態であることに対応する値“ON”、或いはインクエンプティ状態でないことに対応する値“OFF”が設定される。インクエンプティ状態とは、例えば、タンク160(より詳細には、液室171)に貯留されたインクの液面が流出口174の上端付近の位置に達した状態である。換言すれば、インクエンプティ状態とは、カウント値SN1が閾値Nt1以上の状態である。インクエンプティ状態になった後にヘッド21によるインクの吐出を継続すると、タンク160内のインクの液面が流出口174の上端よりも下がってしまい、タンク160からヘッド21までのインク流路又はヘッド21内に空気が混入してしまう(所謂、エアイン)可能性がある。その結果、ノズル29内がインクで満たされず、インクの不吐出が発生するおそれがある。 The S_Empty flag is information indicating whether or not the tank 160 is in the impedance state. The S_Empty flag is set to a value "ON" corresponding to the inkempty state or a value "OFF" corresponding to the non-inkempty state. The ink state is, for example, a state in which the liquid level of the ink stored in the tank 160 (more specifically, the liquid chamber 171) reaches a position near the upper end of the outlet 174. In other words, the inquency state is a state in which the count value SN1 is equal to or higher than the threshold value Nt1. If the head 21 continues to eject ink after the ink-filled state is reached, the liquid level of the ink in the tank 160 falls below the upper end of the outlet 174, and the ink flow path from the tank 160 to the head 21 or the head 21 There is a possibility that air will be mixed inside (so-called air-in). As a result, the inside of the nozzle 29 may not be filled with ink, and ink may not be ejected.

仮解除フラグは、カートリッジ200が交換されて、C_Emptyフラグ及びS_Emptyフラグが共に“OFF”にされた後、液面センサ155が出力する信号がハイレベル信号から変化していない状態か否かを示す情報である。仮解除フラグには、液面センサ155が出力する信号がハイレベル信号のままの状態であることに対応する値“ON”、或いはローレベル信号に変化した状態であることに対応する値“OFF”が設定される。仮解除の状態、液面センサ155が出力する信号がハイレベル信号のままの状態のままヘッド21によるインクの吐出が継続すると、前述されたエアインが生ずる可能性がある。 The temporary release flag indicates whether or not the signal output by the liquid level sensor 155 has not changed from the high level signal after the cartridge 200 has been replaced and both the C_Empty flag and the S_Empty flag have been turned “OFF”. Information. The temporary release flag has a value "ON" corresponding to the state where the signal output by the liquid level sensor 155 remains as a high level signal, or a value "OFF" corresponding to the state changed to a low level signal. "Is set. If the ink ejection by the head 21 continues in the state of temporary release and the state where the signal output by the liquid level sensor 155 remains as a high level signal, the above-mentioned air-in may occur.

禁止フラグは、カートリッジ200が交換され、カウント値SN1が閾値Nt2に達していると判定された後、液面センサ155が出力する信号がハイレベル信号から変化していない状態か否かを示す情報である。禁止フラグには、液面センサ155が出力する信号がハイレベル信号のままの状態であることに対応する値“ON”、或いはローレベル信号に変化した状態であることに対応する値“OFF”が設定される。 The prohibition flag is information indicating whether or not the signal output by the liquid level sensor 155 has not changed from the high level signal after the cartridge 200 is replaced and it is determined that the count value SN1 has reached the threshold value Nt2. Is. The prohibition flag has a value "ON" corresponding to the state in which the signal output by the liquid level sensor 155 remains as a high level signal, or a value "OFF" corresponding to the state in which the signal is changed to a low level signal. Is set.

[プリンタ10の動作]
図7~図13を参照して、本実施形態に係るプリンタ10の動作を説明する。図7~図10に示される各処理は、コントローラ130のCPU131によって実行される。なお、以下の各処理は、ROM132に記憶されているプログラムをCPU131が読み出して実行してもよいし、コントローラ130に搭載されたハードウェア回路によって実現されてもよい。また、以下の各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。
[Operation of printer 10]
The operation of the printer 10 according to the present embodiment will be described with reference to FIGS. 7 to 13. Each process shown in FIGS. 7 to 10 is executed by the CPU 131 of the controller 130. The following processes may be performed by the CPU 131 reading the program stored in the ROM 132 and executing the program, or may be realized by the hardware circuit mounted on the controller 130. In addition, the execution order of each of the following processes can be appropriately changed without changing the gist of the present invention.

[画像記録処理]
コントローラ130は、プリンタ10に記録指示が入力されたことに応じて、図7に示される画像記録処理を実行する。記録指示は、画像データで示される画像をシートに記録する記録処理をプリンタ10に実行させるための排出指示の一例である。記録指示の取得方法は特に限定されないが、例えば、記録指示に対応するユーザ操作を操作パネル22を通じて受け付けてもよいし、不図示の通信インタフェースを通じて外部装置から受信してもよい。
[Image recording processing]
The controller 130 executes the image recording process shown in FIG. 7 in response to the input of the recording instruction to the printer 10. The recording instruction is an example of an ejection instruction for causing the printer 10 to execute a recording process for recording an image indicated by image data on a sheet. The method of acquiring the recording instruction is not particularly limited, and for example, the user operation corresponding to the recording instruction may be received through the operation panel 22 or may be received from an external device through a communication interface (not shown).

まず、コントローラ130は、4つのカートリッジ200それぞれのS_Emptyフラグの設定値を判定する(S11)。そして、コントローラ130は、4つのカートリッジ200それぞれのS_Emptyフラグの少なくとも1つに“ON”が設定されていると判定したことに応じて(S11:ON)、後述される処理(図11参照)を実行する。 First, the controller 130 determines the set value of the S_Empty flag for each of the four cartridges 200 (S11). Then, the controller 130 determines that "ON" is set for at least one of the S_Empty flags of each of the four cartridges 200 (S11: ON), and performs a process described later (see FIG. 11). Run.

コントローラ130は、すべてのカートリッジ200にそれぞれ対応するすべてのS_Emptyフラグが“ON”でなければ、すなわち全て“OFF”であれば(S11:OFF)、4つのカートリッジ200それぞれのC_Emptyフラグの設定値を判定する(S12)。そして、コントローラ130は、4つのC_Emptyフラグの少なくとも1つに“ON”が設定されていると判断したことに応じて(S12:ON)、C_Empty報知画面をディスプレイ17に表示させる(S13)。C_Empty報知画面は、“ON”が設定されたC_Emptyフラグに対応するカートリッジ200がカートリッジエンプティ状態になったことを、ユーザに報知するための画面である。C_Empty報知画面は、例えば、カートリッジエンプティ状態のカートリッジ200に貯留されているインクの色及びインク量Vc、Vsを示す情報を含んでもよい。S13にてS_Empty報知画面をディスプレイ17に表示させることは、報知機に第1報知を行わせることの一例である。 If all the S_Empty flags corresponding to all the cartridges 200 are not "ON", that is, all are "OFF" (S11: OFF), the controller 130 sets the C_Empty flags of each of the four cartridges 200. Judgment (S12). Then, the controller 130 causes the display 17 to display the C_Empty notification screen in response to the determination that "ON" is set for at least one of the four C_Empty flags (S12: ON) (S13). The C_Empty notification screen is a screen for notifying the user that the cartridge 200 corresponding to the C_Empty flag set to "ON" is in the cartridge empty state. The C_Empty notification screen may include, for example, information indicating the color of the ink stored in the cartridge 200 in the cartridge empty state and the ink amounts Vc and Vs. Displaying the S_Empty notification screen on the display 17 in S13 is an example of causing the alarm to perform the first notification.

図12(A)に、C_Empty報知画面の例を示す。図示例のC_Empty報知画面は、オブジェクト251と、オブジェクト252と、オブジェクト253と、オブジェクト254を有する。オブジェクト251は、カートリッジ200の交換を促す旨を示し、「インクカートリッジを交換してください」との文字列を有する。オブジェクト252は、交換の対象となるカートリッジ200の種類を示し、図示例では、マゼンタを示す「M」の文字を有する。オブジェクト253は、空の状態のカートリッジ200を示す。オブジェクト254は、「本体内のインクで引き続き印刷できます」との文字列を有し、継続して印刷を行えることをユーザに認識させる。 FIG. 12A shows an example of the C_Empty notification screen. The C_Empty notification screen of the illustrated example has an object 251, an object 252, an object 253, and an object 254. The object 251 indicates that the cartridge 200 is to be replaced, and has the character string "Please replace the ink cartridge". Object 252 indicates the type of cartridge 200 to be replaced and, in the illustrated example, has the letter "M" indicating magenta. Object 253 represents an empty cartridge 200. The object 254 has a character string "You can continue printing with the ink in the main body", and makes the user recognize that printing can be continued.

コントローラ130は、“ON”が設定されたC_Emptyフラグに対応するカートリッジ200それぞれに対して、S14~S16の処理を実行する。すなわち、S14~S16の処理は、4つのカートリッジ200のうち、対応するC_Emptyに“ON”が設定されたカートリッジ200それぞれに対して実行される。カートリッジ200毎のS14~S16の処理は共通するので、1つのカートリッジ200に対応するS14~S16の処理のみを説明する。 The controller 130 executes the processes of S14 to S16 for each of the cartridges 200 corresponding to the C_Empty flag for which "ON" is set. That is, the processes of S14 to S16 are executed for each of the four cartridges 200 whose C_Empty is set to "ON". Since the processes of S14 to S16 for each cartridge 200 are common, only the processes of S14 to S16 corresponding to one cartridge 200 will be described.

まず、コントローラ130は、装着センサ154から受信した信号がローレベル信号からハイレベル信号に変化したかを判定する(S14)。コントローラ130は、装着センサ154から受信した信号がローレベル信号からハイレベル信号に変化したと判定したことに応じて(S14:Yes)、その後に、装着センサ154が出力する信号が、再びハイレベル信号からローレベル信号に変化するまで、所定の時間間隔でS15の処理を繰り返し実行する(S15:No)。換言すれば、コントローラ130は、カートリッジ200が装着ケース150から抜き出された後、新たにカートリッジ200が装着ケース150に装着されるまで、S15の処理を繰り返し実行する。 First, the controller 130 determines whether the signal received from the mounting sensor 154 has changed from a low-level signal to a high-level signal (S14). The controller 130 determines that the signal received from the mounting sensor 154 has changed from the low level signal to the high level signal (S14: Yes), and then the signal output by the mounting sensor 154 is again high level. The processing of S15 is repeatedly executed at predetermined time intervals until the signal changes to a low level signal (S15: No). In other words, after the cartridge 200 is taken out from the mounting case 150, the controller 130 repeatedly executes the process of S15 until the cartridge 200 is newly mounted in the mounting case 150.

そして、コントローラ130は、装着センサ154からハイレベル信号を受信した後にローレベル信号を受信したことに応じて(S15:Yes)、コントローラ130は、現在の時刻を経過時間T1の開始時刻としてRAM133に記憶させて、経過時間T1の計測を開始する(S16)。 Then, in response to the reception of the low level signal after the high level signal is received from the mounting sensor 154 (S15: Yes), the controller 130 sets the current time as the start time of the elapsed time T1 in the RAM 133. It is stored and the measurement of the elapsed time T1 is started (S16).

続いて、コントローラ130は、Empty仮解除処理(S17)を実行する。Empty仮解除処理は、ディスプレイ17に表示されたC_Empty報知画面を消去する処理である。Empty仮解除処理の詳細は、図9を参照して後述する。そして、コントローラ130は、Empty仮解除処理が終了したことに応じて、S11以降の処理を再び実行する。 Subsequently, the controller 130 executes the Empty temporary release process (S17). The Empty temporary release process is a process of erasing the C_Empty notification screen displayed on the display 17. The details of the Empty temporary release process will be described later with reference to FIG. Then, the controller 130 re-executes the processing after S11 in response to the completion of the Empty temporary release processing.

コントローラ130は、すべてのカートリッジ200にそれぞれ対応するすべてのC_Emptyフラグが“ON”でなければ、すなわち全て“OFF”であれば(S12:OFF)、シアン、マゼンタ、イエローのカートリッジ200それぞれの禁止フラグの設定値を判定する(S18)。 The controller 130 has a prohibition flag for each of the cyan, magenta, and yellow cartridges 200 if all the C_Empty flags corresponding to all the cartridges 200 are not "ON", that is, all are "OFF" (S12: OFF). The set value of is determined (S18).

コントローラ130は、シアン、マゼンタ、イエローのカートリッジ200それぞれの禁止フラグの少なくとも1つに“ON”が設定されていると判定したことに応じて(S18:ON)、プリンタ10が受け付けた記録指示がモノクロ印刷指示であるか、又は、カラー印刷指示であるかを判定する(S19)。モノクロ印刷指示は、ヘッド21を通じてブラックのインクを排出させてシートに画像を記録させる指示である。カラー印刷指示は、ヘッド21を通じてシアン、マゼンタ、イエローのインクを排出させてシートに画像を記録させる指示である。コントローラ130は、プリンタ10が受け付けた記録指示がカラー印刷指示であると判定したことに応じて(S19;Yes)、S17以降の処理を実行せず、S11以降の処理を再び実行する。 The controller 130 determines that "ON" is set for at least one of the prohibition flags of the cyan, magenta, and yellow cartridges 200 (S18: ON), and the recording instruction received by the printer 10 is received. It is determined whether the instruction is monochrome printing or color printing (S19). The monochrome printing instruction is an instruction to eject black ink through the head 21 and record an image on the sheet. The color printing instruction is an instruction to eject cyan, magenta, and yellow inks through the head 21 and record an image on the sheet. The controller 130 does not execute the processing after S17 in response to the determination that the recording instruction received by the printer 10 is the color printing instruction (S19; Yes), and executes the processing after S11 again.

コントローラ130は、シアン、マゼンタ、イエローのカートリッジ200にそれぞれ対応する全ての禁止フラグが“OFF”であると判定したことに応じて(S18:OFF)、又は、記録指示がモノクロ印刷指示であると判定したことに応じて(S19:No)、ブラックのカートリッジ200に対応する禁止フラグの設定値を判定する(S20)。コントローラ130は、ブラックのカートリッジ200に対応する禁止フラグの設定値が“ON”であると判定したことに応じて(S20:ON)、S17以降の処理を実行せず、S11以降の処理を再び実行する。 The controller 130 determines that all the prohibition flags corresponding to the cyan, magenta, and yellow cartridges 200 are "OFF" (S18: OFF), or the recording instruction is a monochrome print instruction. According to the determination (S19: No), the setting value of the prohibition flag corresponding to the black cartridge 200 is determined (S20). The controller 130 does not execute the processing after S17 in response to the determination that the set value of the prohibition flag corresponding to the black cartridge 200 is “ON” (S20: ON), and performs the processing after S11 again. Run.

コントローラ130は、ブラックのカートリッジ200に対応する禁止フラグの設定値が“OFF”であると判定したことに応じて(S20:OFF)、印刷中画面をディスプレイ17に表示させる(S21)。印刷中画面は、シートへの画像の記録が行われていることをユーザに報知するための画面である。S21にて印刷中画面をディスプレイ17に表示させることは、報知機に第3報知を行わせることの一例である。 The controller 130 displays the printing screen on the display 17 (S21) in response to the determination that the set value of the prohibition flag corresponding to the black cartridge 200 is “OFF” (S20: OFF). The printing screen is a screen for notifying the user that an image is being recorded on the sheet. Displaying the printing screen on the display 17 in S21 is an example of causing the alarm to perform the third notification.

図12(B)に、印刷中画面の例を示す。図示例の印刷中画面は、オブジェクト255を有する。オブジェクト255は、記録処理の進行の度合いを示すバーグラフである。 FIG. 12B shows an example of a printing screen. The printing screen of the illustrated example has an object 255. The object 255 is a bar graph showing the degree of progress of the recording process.

次に、コントローラ130は、現時点で4つの液面センサ155それぞれから出力されている信号を受信する(S22)。さらにS22において、コントローラ130は、液面センサ155から受信した信号がハイレベル信号及びローレベル信号のどちらかを示す情報を、RAM133に記憶させる(S22)。 Next, the controller 130 receives signals output from each of the four liquid level sensors 155 at present (S22). Further, in S22, the controller 130 stores in the RAM 133 information indicating whether the signal received from the liquid level sensor 155 is a high level signal or a low level signal (S22).

そして、コントローラ130は、記録指示に含まれる画像データで示される画像を1つのシートに記録する(S23)。より詳細には、コントローラ130は、給送トレイ15上のシートを給送ローラ23及び搬送ローラ25に搬送させ、ヘッド21にインクを吐出させ、画像が記録されたシートを排出ローラ27に排出トレイ16へ排出させる。 Then, the controller 130 records the image indicated by the image data included in the recording instruction on one sheet (S23). More specifically, the controller 130 conveys the sheet on the feeding tray 15 to the feeding roller 23 and the conveying roller 25, ejects ink to the head 21, and ejects the sheet on which the image is recorded to the discharging roller 27. Discharge to 16.

すなわち、コントローラ130は、4つのS_Emptyフラグの全てに“OFF”が設定されているときに(S11:OFF)、S23の処理を実行する。つまり、ヘッド21を通じたインクの排出を許可する。一方、コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されているときには(S11:ON)、S23の処理を実行しない。つまり、4つのタンク160全てについてヘッド21を通じたインクの排出を禁止する。 That is, the controller 130 executes the process of S23 when "OFF" is set for all four S_Empty flags (S11: OFF). That is, the ink is allowed to be discharged through the head 21. On the other hand, when "ON" is set for at least one of the four S_Empty flags (S11: ON), the controller 130 does not execute the process of S23. That is, the ejection of ink through the head 21 is prohibited for all four tanks 160.

また、コントローラ130は、4つの禁止フラグの全てに“OFF”が設定されているときに(S18:OFF&S20:OFF)、S23の処理を実行する。つまり、ヘッド21を通じたインクの排出を許可する。また、コントローラ130は、シアン、マゼンタ、イエローのカートリッジ200それぞれの禁止フラグの少なくとも1つに“ON”が設定されているときであっても(S18:ON)、記録指示がモノクロ印刷指示であり(S19:No)、且つ、ブラックのカートリッジ200に対応する禁止フラグの設定値が“OFF”であるときには(S20:OFF)、S23の処理を実行する。つまり、ヘッド21を通じたインクの排出を許可する。 Further, the controller 130 executes the process of S23 when "OFF" is set for all four prohibition flags (S18: OFF & S20: OFF). That is, the ink is allowed to be discharged through the head 21. Further, in the controller 130, even when "ON" is set for at least one of the prohibition flags of the cyan, magenta, and yellow cartridges 200 (S18: ON), the recording instruction is a monochrome printing instruction. When (S19: No) and the setting value of the prohibition flag corresponding to the black cartridge 200 is “OFF” (S20: OFF), the process of S23 is executed. That is, the ink is allowed to be discharged through the head 21.

一方、コントローラ130は、シアン、マゼンタ、イエローのカートリッジ200それぞれの禁止フラグの少なくとも1つに“ON”が設定されており(S18:ON)、記録指示がカラー印刷指示であるときには(S19:No)、S23の処理を実行しない。つまり、4つのタンク160全てについてヘッド21を通じたインクの排出を禁止する。また、コントローラ130は、ブラックのカートリッジ200に対応する禁止フラグの設定値が“ON”であるときには(S20:ON)、S23の処理を実行しない。つまり、4つのタンク160全てについてヘッド21を通じたインクの排出を禁止する。 On the other hand, when the controller 130 has "ON" set to at least one of the prohibition flags of the cyan, magenta, and yellow cartridges 200 (S18: ON) and the recording instruction is a color printing instruction (S19: No). ), The processing of S23 is not executed. That is, the ejection of ink through the head 21 is prohibited for all four tanks 160. Further, the controller 130 does not execute the process of S23 when the set value of the prohibition flag corresponding to the black cartridge 200 is “ON” (S20: ON). That is, the ejection of ink through the head 21 is prohibited for all four tanks 160.

次に、コントローラ130は、記録指示に従って1つのシートに画像を記録したことに応じて、現時点で4つの液面センサ155それぞれから出力されている信号を受信する(S24)。さらに、S22と同様に、コントローラ130は、液面センサ155から受信した信号がハイレベル信号及びローレベル信号のどちらかを示す情報を、RAM133に記憶させる(S24)。そして、コントローラ130は、EEPROM134に記憶されている仮解除フラグ及び禁止フラグについて判定する(S25)。コントローラ130は、仮解除フラグ及び禁止フラグが“ON”でなければ(S25:No)、カウント処理を実行する(S26)。カウント処理は、S22、S24で液面センサ155から受信した信号に基づいて、カウント値TN、SN1、SN2、C_Emptyフラグ、及びS_Emptyフラグを更新する処理である。カウント処理の詳細は、図8を参照して後述する。 Next, the controller 130 receives the signals output from each of the four liquid level sensors 155 at present in response to recording the image on one sheet according to the recording instruction (S24). Further, similarly to S22, the controller 130 stores information indicating whether the signal received from the liquid level sensor 155 is a high level signal or a low level signal in the RAM 133 (S24). Then, the controller 130 determines the temporary release flag and the prohibition flag stored in the EEPROM 134 (S25). If the temporary release flag and the prohibition flag are not "ON" (S25: No), the controller 130 executes the count process (S26). The count process is a process of updating the count values TN, SN1, SN2, the C_Empty flag, and the S_Empty flag based on the signals received from the liquid level sensor 155 in S22 and S24. The details of the counting process will be described later with reference to FIG.

また、コントローラ130は、仮解除フラグ又は禁止フラグが“ON”であれば(S25:Yes)、Empty正式解除処理を実行する(S27)。Empty正式解除処理の詳細は、図10を参照して後述する。 Further, if the temporary release flag or the prohibition flag is "ON" (S25: Yes), the controller 130 executes the Empty formal release process (S27). The details of the Empty formal cancellation process will be described later with reference to FIG.

次に、コントローラ130は、記録指示で示された全ての画像をシートに記録し、次ページが無い状態となるまで(S28:Yes)、S11~S28の処理を繰り返し実行する。そして、コントローラ130は、記録指示で示される全ての画像をシートに記録し、次ページが無い状態となったことに応じて(S28:No)、4つのS_Emptyフラグそれぞれの設定値及び4つのC_Emptyフラグそれぞれの設定値を判定する(S29、S30)。 Next, the controller 130 records all the images indicated by the recording instructions on the sheet, and repeatedly executes the processes of S11 to S28 until there is no next page (S28: Yes). Then, the controller 130 records all the images indicated by the recording instructions on the sheet, and depending on the state where there is no next page (S28: No), the set values of the four S_Empty flags and the four C_Empty are set. The set value of each flag is determined (S29, S30).

コントローラ130は、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されていることに応じて(S29:ON)、S_Empty報知画面をディスプレイ17に表示させる(S31)。また、コントローラ130は、4つのS_Emptyフラグの全てに“OFF”が設定されており、且つ4つのC_Emptyフラグの少なくとも1つに“ON”が設定されていることに応じて(S29:OFF&S30:ON)、C_Empty報知画面をディスプレイ17に表示させる(S32)。S32で表示されるC_Empty報知画面は、S13と同様であってもよい。 The controller 130 causes the display 17 to display the S_Empty notification screen according to the setting of "ON" to at least one of the four S_Empty flags (S29: ON) (S31). Further, in the controller 130, "OFF" is set for all four S_Empty flags, and "ON" is set for at least one of the four C_Empty flags (S29: OFF & S30: ON). ), The C_Empty notification screen is displayed on the display 17 (S32). The C_Empty notification screen displayed in S32 may be the same as in S13.

一方、コントローラ130は、4つのS_Emptyフラグ及び4つのC_Emptyフラグの全てに“OFF”が設定されていることに応じて(S30:OFF)、S31、S32の処理を実行せずに、画像記録処理を終了する。 On the other hand, the controller 130 does not execute the processes of S31 and S32 in response to the fact that "OFF" is set in all of the four S_Empty flags and the four C_Empty flags (S30: OFF), and the image recording process is performed. To finish.

S_Empty報知画面は、対応するタンク160がインクエンプティ状態になって、ヘッド21を通じたインクの排出ができないことを、ユーザに報知するための画面である。S_Empty報知画面は、例えば、インクエンプティ状態のタンク160に貯留されているインクの色及びインク量Vc、Vsを示す情報を含んでもよい。 The S_Empty notification screen is a screen for notifying the user that the corresponding tank 160 is in the inkempty state and the ink cannot be discharged through the head 21. The S_Empty notification screen may include, for example, information indicating the color of the ink and the amount of ink Vc and Vs stored in the tank 160 in the inquent state.

なお、排出指示の具体例は記録指示に限定されず、パージなどのノズル29のメンテナンスを指示するメンテナンス指示等であってもよい。コントローラ130は、例えば操作パネル22を通じてメンテナンス指示を取得したことに応じて、図7と同様の処理を実行する。メンテナンス指示を取得した場合の前述の処理との相違点は、以下の通りである。まず、コントローラ130は、S23において、不図示のメンテナンス機構を駆動させて、ノズル29を通じてインクを排出させる。また、コントローラ130は、カウント処理を実行した後にS28の処理を実行することなく、S29以降の処理を実行する。 The specific example of the discharge instruction is not limited to the recording instruction, and may be a maintenance instruction or the like instructing maintenance of the nozzle 29 such as purging. The controller 130 executes the same process as in FIG. 7 in response to the acquisition of the maintenance instruction through, for example, the operation panel 22. The differences from the above-mentioned processing when the maintenance instruction is acquired are as follows. First, the controller 130 drives a maintenance mechanism (not shown) in S23 to eject ink through the nozzle 29. Further, the controller 130 executes the processing after S29 without executing the processing of S28 after executing the counting processing.

[カウント処理]
次に図8を参照して、S26でコントローラ130が実行するカウント処理の詳細を説明する。なお、コントローラ130は、4つのカートリッジ200のそれぞれに対して、カウント処理を独立して実行する。カートリッジ200毎のカウント処理は共通するので、1つのカートリッジ200に対応するカウント処理のみを説明する。
[Count processing]
Next, with reference to FIG. 8, the details of the counting process executed by the controller 130 in S26 will be described. The controller 130 independently executes the counting process for each of the four cartridges 200. Since the counting process for each cartridge 200 is common, only the counting process corresponding to one cartridge 200 will be described.

まず、コントローラ130は、S22、S24でRAM133に記憶させた液面センサ155の信号を示す情報を比較する(S36)。すなわち、コントローラ130は、カウント処理(S26)を実行する直前のS23の処理を実行する前と後とで、4つの液面センサ155それぞれの信号が変化したか否かを判定する。 First, the controller 130 compares the information indicating the signal of the liquid level sensor 155 stored in the RAM 133 in S22 and S24 (S36). That is, the controller 130 determines whether or not the signals of the four liquid level sensors 155 have changed before and after the processing of S23 immediately before the counting processing (S26) is executed.

コントローラ130は、S22、S24でRAM133に記憶させた情報が共にローレベル信号を示す(すなわち、S23の処理の前後で液面センサ155の信号出力が変化していない)ことに応じて(S36:L→L)、カウント値TNを更新する(S37)。すなわち、コントローラ130は、直前のS23で排出を指示したインク量に相当する値で、カウント値TNをカウントアップする。 The controller 130 responds to the fact that the information stored in the RAM 133 in S22 and S24 both indicates a low level signal (that is, the signal output of the liquid level sensor 155 does not change before and after the processing of S23) (S36: L → L), the count value TN is updated (S37). That is, the controller 130 counts up the count value TN with a value corresponding to the amount of ink instructed to be discharged in S23 immediately before.

また、コントローラ130は、現在の総量Vtを算出する(S38)。まず、コントローラ130は、カートリッジ交換後にEEPROM134に記憶されたインク量Vc及びインク量Vsの和であるカートリッジ交換後の総量Vtを算出する。そして、コントローラ130は、算出した総量Vtから、カウント値TNに相当するインク量を差し引いた値として、現在の総量Vtを算出する(Vt=Vt-TN)。そして、コントローラ130は、算出された総量Vt及び関数Fに基づいてインク量Vc、Vsを求める(S38)。 Further, the controller 130 calculates the current total amount Vt (S38). First, the controller 130 calculates the total amount Vt after the cartridge replacement, which is the sum of the ink amount Vc and the ink amount Vs stored in the EEPROM 134 after the cartridge replacement. Then, the controller 130 calculates the current total amount Vt as a value obtained by subtracting the ink amount corresponding to the count value TN from the calculated total amount Vt (Vt = Vt-TN). Then, the controller 130 obtains the ink amounts Vc and Vs based on the calculated total amount Vt and the function F (S38).

そして、コントローラ130は、求めた現在の総量Vtと、インク量Vc又はインク量Vsの一方とを、ディスプレイ17に表示する(S39)。また、コントローラ130は、求めたインク量Vcを、カートリッジ200のIC基板247のメモリに記憶されたインク量Vcに上書きする(S40)。 Then, the controller 130 displays the obtained current total amount Vt and one of the ink amount Vc and the ink amount Vs on the display 17 (S39). Further, the controller 130 overwrites the obtained ink amount Vc with the ink amount Vc stored in the memory of the IC board 247 of the cartridge 200 (S40).

また、コントローラ130は、S22でRAM133に記憶させた情報がローレベル信号を示し、S24でRAM133に記憶させた情報がハイレベル信号を示す(すなわち、S23の処理の前後で液面センサ155の信号出力が変化したことに応じて(S36:L→H)、C_Emptyフラグに“ON”を設定する(S41)。液面センサ155の出力がローレベル信号からハイレベル信号に変化するのは、S23の処理中に液室171の液面が所定位置Pに達したことに対応する。そして、これ以降は、カートリッジ200とタンク160との間でインクが移動しない。 Further, in the controller 130, the information stored in the RAM 133 in S22 indicates a low level signal, and the information stored in the RAM 133 in S24 indicates a high level signal (that is, the signal of the liquid level sensor 155 before and after the processing of S23). The C_Empty flag is set to "ON" according to the change in the output (S36: L → H) (S41). The output of the liquid level sensor 155 changes from the low level signal to the high level signal in S23. Corresponds to the fact that the liquid level of the liquid chamber 171 reaches the predetermined position P during the process of, and after that, the ink does not move between the cartridge 200 and the tank 160.

また、コントローラ130は、ROM132から所定インク量Vcc(=0)を読み出して、インク量Vcを所定インク量Vccとする(S42)。同様に、コントローラ130は、ROM132から所定インク量Vsc(所定位置P未満の液室171の容積に相当する。)を読み出して、インク量Vsを所定インク量Vscとする(S42)。残量更新処理で算出されるインク量Vc、Vsは誤差を含むので、コントローラ130は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したタイミングで、インク量Vcを所定インク量Vccとし、また、インク量Vsを所定インク量Vscとして、累積した誤差をリセットする。また、コントローラ130は、現在の総量Vtを、インク量Vsと同じ値(Vt=Vsc)として算出する(S42)。インク量Vcがゼロになることによって、総量Vtは、インク量Vsと同じ値となる。 Further, the controller 130 reads a predetermined ink amount Vcc (= 0) from the ROM 132, and sets the ink amount Vc as the predetermined ink amount Vcc (S42). Similarly, the controller 130 reads a predetermined ink amount Vsc (corresponding to the volume of the liquid chamber 171 less than the predetermined position P) from the ROM 132, and sets the ink amount Vs as the predetermined ink amount Vsc (S42). Since the ink amounts Vc and Vs calculated in the remaining amount update process include an error, the controller 130 sets the ink amount Vc to the predetermined ink amount at the timing when the output of the liquid level sensor 155 changes from the low level signal to the high level signal. The accumulated error is reset by setting Vcc and the ink amount Vs as a predetermined ink amount Vsc. Further, the controller 130 calculates the current total amount Vt as the same value (Vt = Vsc) as the ink amount Vs (S42). When the ink amount Vc becomes zero, the total amount Vt becomes the same value as the ink amount Vs.

そして、コントローラ130は、現在の総量Vtと、インク量Vc又はインク量Vsの一方とを、ディスプレイ17に表示する(S43)。また、コントローラ130は、前述したインク量Vcを、カートリッジ200のIC基板247のメモリに記憶されたインク量Vcに上書きする(S44)。 Then, the controller 130 displays the current total amount Vt and one of the ink amount Vc and the ink amount Vs on the display 17 (S43). Further, the controller 130 overwrites the above-mentioned ink amount Vc with the ink amount Vc stored in the memory of the IC board 247 of the cartridge 200 (S44).

なお、液面センサ155の信号出力が変化するのは、S23の処理の途中であるから、S42で読み出された所定インク量Vscは、正確には、液面センサ155の信号出力が変化した瞬間にタンク160に貯留されているインクの量ではなく、液面センサ155の信号出力が変化する直前のインクの量を示していることとなる。しかしながら、これらのインク量の差は僅かなので、S42で読み出されたインク量Vscが、液面センサ155の信号出力が変化した時点のインク量Vsとして近似的に扱われる。 Since the signal output of the liquid level sensor 155 changes during the processing of S23, the predetermined ink amount Vsc read out in S42 accurately changes the signal output of the liquid level sensor 155. It indicates the amount of ink immediately before the signal output of the liquid level sensor 155 changes, not the amount of ink stored in the tank 160 at the moment. However, since the difference between these ink amounts is small, the ink amount Vsc read out in S42 is approximately treated as the ink amount Vs at the time when the signal output of the liquid level sensor 155 changes.

また、コントローラ130は、EEPROM134に記憶されたカウント値SN1を、直前のS23で排出を指示したインク量に相当する値で更新する(S45)。換言すれば、コントローラ130は、液面センサ155の出力がローレベル信号からハイレベル信号に変化したことに応じて、カウント値SN1の更新を開始してカウントアップする。また、コントローラ130は、EEPROM134に記憶されたカウント値TNを、直前のS23で排出を指示したインク量に相当する値でカウントアップする。 Further, the controller 130 updates the count value SN1 stored in the EEPROM 134 with a value corresponding to the amount of ink instructed to be discharged in S23 immediately before (S45). In other words, the controller 130 starts updating the count value SN1 and counts up in response to the change in the output of the liquid level sensor 155 from the low level signal to the high level signal. Further, the controller 130 counts up the count value TN stored in the EEPROM 134 with a value corresponding to the amount of ink instructed to be discharged in S23 immediately before.

そして、コントローラ130は、インク量Vsを算出する(S46)。算出されるインク量Vsは、ROM132に記憶されたインク量Vscから、カウント値SN1に相当するインク量を差し引いた値である。なお、前述したように、液面センサ155の出力がハイレベル信号になった後は、インク量Vsは、現在の総量Vtと同じ値である。また、インク量Vcはゼロである。 Then, the controller 130 calculates the ink amount Vs (S46). The calculated ink amount Vs is a value obtained by subtracting the ink amount corresponding to the count value SN1 from the ink amount Vsc stored in the ROM 132. As described above, after the output of the liquid level sensor 155 becomes a high level signal, the ink amount Vs is the same value as the current total amount Vt. Further, the amount of ink Vc is zero.

そして、コントローラ130は、現在の総量Vt又はインク量Vsの一方を、ディスプレイ17に表示する(S47)。なお、液面センサ155の出力がハイレベル信号になった後は、インク量Vcはゼロなので、コントローラ130は、カートリッジ200のIC基板247のメモリに記憶されたインク量Vcを上書きする必要はない。 Then, the controller 130 displays either the current total amount Vt or the ink amount Vs on the display 17 (S47). Since the ink amount Vc is zero after the output of the liquid level sensor 155 becomes a high level signal, the controller 130 does not need to overwrite the ink amount Vc stored in the memory of the IC board 247 of the cartridge 200. ..

次に、コントローラ130は、S45で更新したカウント値SN1と、閾値Nt1とを比較する(S48)。そして、コントローラ130は、S45で更新したカウント値SN1が閾値Nt1未満だと判定したことに応じて(S48:No)、カウント処理を終了する。一方、コントローラ130は、S45で更新したカウント値SN1が閾値Nt1以上だと判定したことに応じて(S48:Yes)、S_Emptyフラグに“ON”を設定する(S49)。そして、コントローラ130は、S_Emptyフラグに“ON”が設定されていることに応じてヘッド21を通じたインクの排出を禁止して、カウント処理を終了する。 Next, the controller 130 compares the count value SN1 updated in S45 with the threshold value Nt1 (S48). Then, the controller 130 ends the counting process according to the determination that the count value SN1 updated in S45 is less than the threshold value Nt1 (S48: No). On the other hand, the controller 130 sets the S_Empty flag to "ON" according to the determination that the count value SN1 updated in S45 is equal to or higher than the threshold value Nt1 (S48: Yes) (S49). Then, the controller 130 prohibits the ejection of ink through the head 21 according to the setting of "ON" in the S_Empty flag, and ends the counting process.

また、コントローラ130は、S22、S24でRAM133に記憶させた情報が共にハイレベル信号を示すことに応じて(S36:H→H)、EEPROM134に記憶されているカウント値SN1を読み出す(S45)。そして、コントローラ130は、読み出したカウント値SN1を、直前のS23で排出を指示したインク量に相当する値でカウントアップして、再びEEPROM134に記憶させる。すなわち、コントローラ130は、カウント値SN1を更新する(S45)。また、コントローラ130は、カウント値TNも更新する。次に、コントローラ130は、S45で更新したカウント値SN1を用いて、前述したS46からS49の処理を実行する。 Further, the controller 130 reads out the count value SN1 stored in the EEPROM 134 according to the information stored in the RAM 133 in S22 and S24 both indicating a high level signal (S36: H → H) (S45). Then, the controller 130 counts up the read count value SN1 with a value corresponding to the amount of ink instructed to be discharged in S23 immediately before, and stores the read count value SN1 in the EEPROM 134 again. That is, the controller 130 updates the count value SN1 (S45). The controller 130 also updates the count value TN. Next, the controller 130 executes the above-mentioned processes S46 to S49 using the count value SN1 updated in S45.

[Empty仮解除処理]
次に図9を参照して、S17でコントローラ130が実行するEmpty仮解除処理の詳細を説明する。なお、コントローラ130は、4つのカートリッジ200のそれぞれに対して、Empty仮解除処理を、独立して実行する。カートリッジ200毎のEmpty仮解除処理は共通するので、1つのカートリッジ200に対応するEmpty仮解除処理のみを説明する。
[Empty temporary release process]
Next, with reference to FIG. 9, the details of the Empty temporary release process executed by the controller 130 in S17 will be described. The controller 130 independently executes the Empty temporary release process for each of the four cartridges 200. Since the Empty temporary release process for each cartridge 200 is common, only the Empty temporary release process corresponding to one cartridge 200 will be described.

まず、Empty仮解除処理が実行される状況について説明する。図8のカウント処理において、コントローラ130は、液面センサ155の信号がローレベル信号からハイレベル信号に変化したと判定したことに応じて(S36:L→H)、C_Emptyフラグに“ON”を設定する(S41)。画像記録処理において、コントローラ130は、C_Emptyフラグに“ON”が設定されていると判定したことに応じて(S12:ON)、C_Empty報知画面をディスプレイ17に表示させる(S13)。 First, a situation in which the Empty temporary release process is executed will be described. In the counting process of FIG. 8, the controller 130 sets “ON” for the C_Empty flag in response to the determination that the signal of the liquid level sensor 155 has changed from the low level signal to the high level signal (S36: L → H). Set (S41). In the image recording process, the controller 130 causes the display 17 to display the C_Empty notification screen in response to the determination that "ON" is set in the C_Empty flag (S12: ON) (S13).

前述された状態(つまり、コントローラ130がC_Empty報知画面をディスプレイ17に表示させている状態)において、カートリッジ200は、タンク160へインクが流出しない状態、すなわち、インク量Vcがゼロ(Vc=0)である。また、タンク160は、インクの液面が所定位置Pより下方である。したがって、ユーザは、インクエンプティ状態になる前に、エンプティになったカートリッジ200を新品の或いは十分にインクが貯留されているカートリッジ200に交換することが望ましい。 In the above-mentioned state (that is, the state in which the controller 130 displays the C_Empty notification screen on the display 17), the cartridge 200 is in a state in which ink does not flow out to the tank 160, that is, the ink amount Vc is zero (Vc = 0). Is. Further, in the tank 160, the liquid level of the ink is below the predetermined position P. Therefore, it is desirable for the user to replace the empty cartridge 200 with a new cartridge 200 or a cartridge 200 in which sufficient ink is stored before the ink state is reached.

ユーザがカートリッジ200を交換している過程において、コントローラ130は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し(S14:Yes)、さらにその後に装着センサ154からローレベル信号を受信する(S15:Yes)。具体的には、カートリッジ200が装着ケース150から抜去される過程では、コントローラ130は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信する。次に、カートリッジ200が装着ケース150に挿入される過程では、装着センサ154からハイレベル信号を受信し、その後に装着センサ154からローレベル信号を受信する。 In the process of the user exchanging the cartridge 200, the controller 130 receives a low level signal from the mounting sensor 154, then a high level signal from the mounting sensor 154 (S14: Yes), and then the mounting sensor. A low level signal is received from 154 (S15: Yes). Specifically, in the process of removing the cartridge 200 from the mounting case 150, the controller 130 receives a low level signal from the mounting sensor 154 and then a high level signal from the mounting sensor 154. Next, in the process of inserting the cartridge 200 into the mounting case 150, a high level signal is received from the mounting sensor 154, and then a low level signal is received from the mounting sensor 154.

次に、Empty仮解除処理の詳細について説明する。図9のEmpty仮解除処理において、コントローラ130は、接点152を通じてIC基板247のメモリからCTG情報を読み出してEEPROM134に記憶させる(S51)。詳しくは、コントローラ130は、接点152を通じてIC基板247のメモリから少なくとも識別情報と、種類情報と、インク量Vcとを読み出してEEPROM134に記憶させる(S51)。 Next, the details of the Empty temporary release process will be described. In the Empty temporary release process of FIG. 9, the controller 130 reads the CTG information from the memory of the IC board 247 through the contact 152 and stores it in the EEPROM 134 (S51). Specifically, the controller 130 reads at least the identification information, the type information, and the ink amount Vc from the memory of the IC board 247 through the contact 152 and stores them in the EEPROM 134 (S51).

コントローラ130は、IC基板247のメモリから読み出した識別情報と、交換前のカートリッジ200のIC基板247のメモリから読み出した識別情報とを比較する(S52)。交換前のカートリッジ200のIC基板247のメモリから読み出した識別情報は、EEPROM134に記憶されている。例えば、新品のカートリッジ200に交換されている場合、比較された2つの識別情報は異なる。識別情報としては、例えば、カートリッジ200のシリアルナンバーが使用される。 The controller 130 compares the identification information read from the memory of the IC board 247 with the identification information read from the memory of the IC board 247 of the cartridge 200 before replacement (S52). The identification information read from the memory of the IC board 247 of the cartridge 200 before replacement is stored in the EEPROM 134. For example, if the cartridge 200 is replaced with a new one, the two identification information compared will be different. As the identification information, for example, the serial number of the cartridge 200 is used.

また、コントローラ130は、比較した2つの識別情報が同じであると判定したことに応じて(S52:No)、Empty仮解除処理を終了する。インクが消費されて液室210のインク量Vcがゼロとなったカートリッジ200が、再び装着ケース150に装着されても、カートリッジ200の液室210からタンク160の液室171へインクが移動しないので、C_Emptyを仮解除する必要がない。 Further, the controller 130 ends the Empty temporary release process according to the determination that the two compared identification informations are the same (S52: No). Even if the cartridge 200 in which the ink amount Vc of the liquid chamber 210 is consumed and the ink amount Vc becomes zero is mounted again in the mounting case 150, the ink does not move from the liquid chamber 210 of the cartridge 200 to the liquid chamber 171 of the tank 160. , C_Empty does not need to be temporarily released.

コントローラ130は、比較した2つの識別情報が異なると判定したことに応じて(S52:Yes)、IC基板247のメモリから読み出したインク量Vcが閾値Vminより大きいか否かを判定する(S53)。閾値Vminは、カートリッジ200の液室210からタンク160の液室171へインクが移動することによって、液室171内のインクの液面が所定位置P以上となるのに十分な量であって、所定インク量Vscよりも大きい値である。 The controller 130 determines whether or not the ink amount Vc read from the memory of the IC board 247 is larger than the threshold value Vmin according to the determination that the two compared identification information are different (S52: Yes) (S53). .. The threshold value Vmin is an amount sufficient for the liquid level of the ink in the liquid chamber 171 to be equal to or higher than the predetermined position P by moving the ink from the liquid chamber 210 of the cartridge 200 to the liquid chamber 171 of the tank 160. It is a value larger than the predetermined ink amount Vsc.

コントローラ130は、S51でIC基板247のメモリから読み出したインク量Vcが閾値Vmin以下であると判定したことに応じて(S53:No)、インク不足報知画面をディスプレイ17に表示させ(S54)、Empty仮解除処理を終了する。インク不足報知画面は、装着されたカートリッジ200に貯留されたインクの量が不足しており、カートリッジ200の交換が必要であることをユーザに報知するための画面である。 The controller 130 displays the ink shortage notification screen on the display 17 (S54) in response to the determination in S51 that the ink amount Vc read from the memory of the IC board 247 is equal to or less than the threshold value Vmin (S53: No). The Tempty temporary release process is terminated. The ink shortage notification screen is a screen for notifying the user that the amount of ink stored in the mounted cartridge 200 is insufficient and the cartridge 200 needs to be replaced.

図12(C)に、インク不足報知画面の例を示す。図示例のインク不足報知画面は、図12(A)のC_Empty報知画面と同様にオブジェクト251、オブジェクト252、及びオブジェクト253を有し、更にオブジェクト256を有する。オブジェクト256は、「交換したカートリッジのインクが不足しています」との文字列を有し、交換されたカートリッジ200に貯留されていたインクの量が不足していたことをユーザに認識させる。 FIG. 12C shows an example of an ink shortage notification screen. The ink shortage notification screen of the illustrated example has an object 251 and an object 252, and an object 253, and further has an object 256, like the C_Empty notification screen of FIG. 12 (A). The object 256 has a character string "insufficient ink in the replaced cartridge", and makes the user recognize that the amount of ink stored in the replaced cartridge 200 is insufficient.

コントローラ130は、S51でIC基板247のメモリから読み出したインク量Vcが閾値Vminより大きいと判定したことに応じて(S53:Yes)、S51でIC基板247のメモリから読み出した種類情報が示すカートリッジ200の種類が、「標準」であるか、又は、「大容量」であるかを判定する(S55)。 The controller 130 determines that the ink amount Vc read from the memory of the IC board 247 in S51 is larger than the threshold value Vmin (S53: Yes), and the cartridge indicated by the type information read from the memory of the IC board 247 in S51. It is determined whether the type of 200 is "standard" or "large capacity" (S55).

コントローラ130は、S51でIC基板247のメモリから読み出した種類情報が示すカートリッジ200の種類が「標準」であると判定したことに応じて(S55:標準)、ROM132から所定値A1を読み出して、閾値Nt2を読み出した所定値A1に決定し、決定した閾値Nt2をEEPROM134に記憶させる(S56)。 The controller 130 reads a predetermined value A1 from the ROM 132 in response to the determination in S51 that the type of the cartridge 200 indicated by the type information read from the memory of the IC board 247 is "standard" (S55: standard). The threshold value Nt2 is determined to be a predetermined value A1 read out, and the determined threshold value Nt2 is stored in the EEPROM 134 (S56).

コントローラ130は、S51でIC基板247のメモリから読み出した種類情報が示すカートリッジ200の種類が「大容量」であると判定したことに応じて(S55:大容量)、ROM132から所定値A2を読み出して、閾値Nt2を読み出した所定値A2に決定し、決定した閾値Nt2をEEPROM134に記憶させる(S57)。 The controller 130 reads a predetermined value A2 from the ROM 132 in response to the determination in S51 that the type of the cartridge 200 indicated by the type information read from the memory of the IC board 247 is "large capacity" (S55: large capacity). Then, the threshold value Nt2 is determined to be the predetermined value A2 read out, and the determined threshold value Nt2 is stored in the EEPROM 134 (S57).

つまり、コントローラ130は、標準のカートリッジ200よりも流入速度が大きい大容量のカートリッジが装着された場合に、所定値A1よりも大きい所定値A2を閾値Nt2として決定する。流入速度が小さい場合、カートリッジ200からタンク160へのインクの流入に比較的長い時間を要するので、Empty仮解除するときにタンク160に貯留されているインクは、比較的多い方が好ましい。従って、閾値Nt2は小さい方が好ましい。逆に、流入速度が大きい場合には、Empty仮解除するときにタンク160に貯留されているインクは、比較的少なくてもよい。従って、閾値Nt2が大きい方が、Empty仮解除が行われる可能性が高くなり好ましい。 That is, the controller 130 determines the predetermined value A2 larger than the predetermined value A1 as the threshold value Nt2 when a large-capacity cartridge having a higher inflow speed than the standard cartridge 200 is mounted. When the inflow rate is low, it takes a relatively long time for the ink to flow from the cartridge 200 to the tank 160. Therefore, it is preferable that the amount of ink stored in the tank 160 at the time of temporary release of Empty is relatively large. Therefore, it is preferable that the threshold value Nt2 is small. On the contrary, when the inflow rate is high, the amount of ink stored in the tank 160 at the time of temporary release of Empty may be relatively small. Therefore, it is preferable that the threshold value Nt2 is large because the possibility that the empty temporary release is performed is high.

続いて、コントローラ130は、S45で更新したカウント値SN1と、S56又はS57で決定した閾値Nt2とを比較する(S58)。コントローラ130は、カウント値SN1が閾値Nt2よりも小さいと判定したことに応じて、すなわち、アップカウントされるカウント値SN1が閾値Nt2に到達していないと判定したことに応じて(S58:Yes)、EEPROM134に記憶されているカウント値TN、SN1、インク量Vc、及びインク量Vsを、EEPROM134の別の記憶領域に記憶させる(S59)。EEPROM134の別の記憶領域に記憶されたカウント値TN、SN1、インク量Vc、及びインク量Vsは、C_Emptyが仮解除された後、後述されるように、C_Emptyが正式解除されないときに用いられる。 Subsequently, the controller 130 compares the count value SN1 updated in S45 with the threshold value Nt2 determined in S56 or S57 (S58). The controller 130 determines that the count value SN1 is smaller than the threshold value Nt2, that is, that the upcounted count value SN1 has not reached the threshold value Nt2 (S58: Yes). , The count values TN, SN1, ink amount Vc, and ink amount Vs stored in the EEPROM 134 are stored in another storage area of the EEPROM134 (S59). The count values TN, SN1, ink amount Vc, and ink amount Vs stored in another storage area of the EEPROM 134 are used when C_Empty is not officially released after C_Empty is temporarily released, as will be described later.

そして、コントローラ130は、仮解除フラグに“ON”を設定し(S60)、C_Empty報知画面をディスプレイ17から消去する(S61)。 Then, the controller 130 sets the temporary release flag to "ON" (S60), and erases the C_Empty notification screen from the display 17 (S61).

次に、コントローラ130は、カートリッジ交換後の総量Vtを算出する(S62)。詳細には、コントローラ130は、EEPROM134に記憶されているカートリッジ交換前のカウント値SN1と、ROM132に記憶されているインク量Vscと、に基づいて、カートリッジ交換前のVs(総量Vtに等しい)を算出して、EEPROM134に記憶させる。そして、算出したインク量Vsと、交換後のカートリッジ200のIC基板247のメモリから読み出したインク量Vcと、に基づいて、カートリッジ交換後の総量Vtを算出する。つまり、カートリッジ200が交換される直前のタンク160の液室171に貯留されているインク量Vsに、新しいカートリッジ200の液室210に貯留されているインク量Vcが加わることとなる。したがって、コントローラ130は、交換されたカートリッジ200のIC基板247のメモリから読み出したインク量Vcと、EEPROM134に記憶されているカートリッジ交換前のインク量Vsと、の和を総量として算出する(Vt=Vs+Vc)。 Next, the controller 130 calculates the total amount Vt after the cartridge is replaced (S62). Specifically, the controller 130 determines the Vs (equal to the total amount Vt) before the cartridge replacement based on the count value SN1 before the cartridge replacement stored in the EEPROM 134 and the ink amount Vsc stored in the ROM 132. Calculate and store in EEPROM 134. Then, the total amount Vt after the cartridge replacement is calculated based on the calculated ink amount Vs and the ink amount Vc read from the memory of the IC board 247 of the cartridge 200 after the replacement. That is, the amount of ink Vc stored in the liquid chamber 210 of the new cartridge 200 is added to the amount of ink Vs stored in the liquid chamber 171 of the tank 160 immediately before the cartridge 200 is replaced. Therefore, the controller 130 calculates the sum of the ink amount Vc read from the memory of the IC board 247 of the replaced cartridge 200 and the ink amount Vs before the cartridge replacement stored in the EEPROM 134 as a total amount (Vt =). Vs + Vc).

そして、コントローラ130は、算出した総量Vtと、EEPROM134から読み出した関数Fとに基づいて、液室210から液室171へのインクの移動が終了したときのインク量Vc及びインク量Vsを算出する(S62)。カートリッジ200が交換されると、新たなカートリッジ200の液室210に貯留されているインクが、ニードル181を通じてタンク160の液室171に流入する。その結果、液室210のインク量Vcは減少し、また、液室171のインク量Vsは増加する。そして、カートリッジ200の液室210のインクと、タンク160の液室171のインクとは、それぞれのインクの液面の上下方向7の位置が一致した状態で平衡になる。 Then, the controller 130 calculates the ink amount Vc and the ink amount Vs when the ink transfer from the liquid chamber 210 to the liquid chamber 171 is completed based on the calculated total amount Vt and the function F read from the EEPROM 134. (S62). When the cartridge 200 is replaced, the ink stored in the liquid chamber 210 of the new cartridge 200 flows into the liquid chamber 171 of the tank 160 through the needle 181. As a result, the ink amount Vc of the liquid chamber 210 decreases, and the ink amount Vs of the liquid chamber 171 increases. Then, the ink in the liquid chamber 210 of the cartridge 200 and the ink in the liquid chamber 171 of the tank 160 are in equilibrium in a state where the positions of the liquid surfaces of the respective inks in the vertical direction 7 match.

コントローラ130は、S62を実行した後、EEPROM134に記憶されているカウント値TN、SN1をリセットする(S63)。これにより、カウント値TN、SN1は、それぞれ初期値(ここではゼロ)となる。 After executing S62, the controller 130 resets the count values TN and SN1 stored in the EEPROM 134 (S63). As a result, the count values TN and SN1 become initial values (here, zero), respectively.

そして、コントローラ130は、求めたインクの総量Vtと、インク量Vc又はインク量Vsの一方とをディスプレイ17に表示する(S64)。また、コントローラ130は、算出したインク量Vcを、接点152を通じてIC基板247のメモリに記憶させる(S65)。コントローラ130は、IC基板247のメモリに初期インク量Vc0が記憶されていれば、初期インク量Vc0を算出したインク量Vcで上書きする。IC基板247のメモリから初期インク量Vc0が別のインク量Vcに上書きされることによって、そのカートリッジ200が新品でないと判定可能となる。なお、製造段階において、カートリッジ200が新品であることを示すフラグをIC基板247のメモリにおいて“ON”としておき、カートリッジ200が一度でも装着ケース150に装着されると、コントローラ130が、そのフラグに“OFF”を設定することによって、コントローラ130が、そのフラグの値に基づいて、カートリッジ200が新品であるかを判定することとしてもよい。 Then, the controller 130 displays the total amount Vt of the obtained ink and one of the ink amount Vc and the ink amount Vs on the display 17 (S64). Further, the controller 130 stores the calculated ink amount Vc in the memory of the IC board 247 through the contact 152 (S65). If the initial ink amount Vc0 is stored in the memory of the IC board 247, the controller 130 overwrites the initial ink amount Vc0 with the calculated ink amount Vc. By overwriting the initial ink amount Vc0 from the memory of the IC board 247 with another ink amount Vc, it is possible to determine that the cartridge 200 is not new. At the manufacturing stage, a flag indicating that the cartridge 200 is new is set to "ON" in the memory of the IC board 247, and when the cartridge 200 is mounted on the mounting case 150 even once, the controller 130 sets the flag as the flag. By setting "OFF", the controller 130 may determine whether the cartridge 200 is new based on the value of the flag.

そして、コントローラ130は、C_Emptyフラグに“OFF”を設定し(S66)、禁止フラグに“OFF”を設定して(S67)、Empty仮解除処理を終了する。 Then, the controller 130 sets the C_Empty flag to "OFF" (S66), sets the prohibition flag to "OFF" (S67), and ends the Empty temporary release process.

コントローラ130は、カウント値SN1が閾値Nt2以上であると判定したことに応じて、すなわち、アップカウントされるカウント値SN1が閾値Nt2に到達していると判定したことに応じて(S58:No)、S59と同様に、EEPROM134に記憶されているカウント値TN、SN1、インク量Vc、及びインク量Vsを、EEPROM134の別の記憶領域に記憶させる(S68)。次に、コントローラ130は、禁止フラグに“ON”を設定し(S69)、インク流入中画面をディスプレイ17に表示させる(S70)。インク流入中画面は、装着されたカートリッジ200に貯留されたインクがタンク160に流入中であることをユーザに報知するための画面である。S70にてインク流入中画面をディスプレイ17に表示させることは、報知機に第2報知を行わせることの一例である。 The controller 130 determines that the count value SN1 is equal to or higher than the threshold value Nt2, that is, determines that the count value SN1 to be up-counted has reached the threshold value Nt2 (S58: No). , S59, the count values TN, SN1, ink amount Vc, and ink amount Vs stored in the EEPROM 134 are stored in another storage area of the EEPROM134 (S68). Next, the controller 130 sets the prohibition flag to “ON” (S69), and displays the ink inflow screen on the display 17 (S70). The ink inflow screen is a screen for notifying the user that the ink stored in the mounted cartridge 200 is flowing into the tank 160. Displaying the ink inflow screen on the display 17 in S70 is an example of causing the alarm to perform the second notification.

図13(A)に、インク流入中画面の例を示す。図示例のインク流入中画面は、オブジェクト257と、オブジェクト258とを有する。オブジェクト257は、カートリッジ200からタンク160へインクが流入中である旨を示し、「カートリッジ(1)のインクを本体内(2)に移しています」との文字列を有する。オブジェクト258は、プリンタ10内における簡略化したカートリッジ200及びタンク160を示す。 FIG. 13A shows an example of an ink inflow screen. The ink inflow screen of the illustrated example has an object 257 and an object 258. The object 257 indicates that ink is flowing from the cartridge 200 to the tank 160, and has a character string "The ink of the cartridge (1) is transferred to the inside of the main body (2)". Object 258 shows a simplified cartridge 200 and tank 160 within the printer 10.

続いて、コントローラ130は、S62と同様に、カートリッジ交換後の総量Vtを算出し、液室210から液室171へのインクの移動が終了したときのインク量Vc及びインク量Vsを算出する(S71)。次に、コントローラ130は、S63と同様に、EEPROM134に記憶されているカウント値TN、SN1をリセットする(S72)。そして、コントローラ130は、S65と同様に、算出したインク量Vcを、接点152を通じてIC基板247のメモリに記憶させ(S73)、Empty仮解除処理を終了する。 Subsequently, the controller 130 calculates the total amount Vt after the cartridge replacement, and calculates the ink amount Vc and the ink amount Vs when the ink transfer from the liquid chamber 210 to the liquid chamber 171 is completed, as in S62. S71). Next, the controller 130 resets the count values TN and SN1 stored in the EEPROM 134, as in S63 (S72). Then, similarly to S65, the controller 130 stores the calculated ink amount Vc in the memory of the IC board 247 through the contact 152 (S73), and ends the Empty temporary release process.

[Empty正式解除処理]
次に図10を参照して、S27でコントローラ130が実行するEmpty正式解除処理の詳細を説明する。なお、コントローラ130は、4つのカートリッジ200のそれぞれに対して、Empty正式解除処理を、独立して実行する。カートリッジ200毎のEmpty正式解除処理は共通するので、1つのカートリッジ200に対応するEmpty解除処理のみを説明する。
[Empty official cancellation process]
Next, with reference to FIG. 10, the details of the Empty formal cancellation process executed by the controller 130 in S27 will be described. The controller 130 independently executes the Empty formal release process for each of the four cartridges 200. Since the Empty formal release process for each cartridge 200 is common, only the Empty release process corresponding to one cartridge 200 will be described.

仮解除フラグ又は禁止フラグが“ON”の状態では、カートリッジ200の液室210からタンク160の液室171へインクが移動しており、且つ液室171内のインクの液面が所定位置P未満である。この状態において、S23の処理が実行されると、コントローラ130は、EEPROM134に記憶されたカウント値SN2を、直前のS23で排出を指示したインク量に相当する値でカウントアップする(S80)。換言すれば、コントローラ130は、仮解除フラグ又は禁止フラグが“ON”にされたことに応じて、カウント値SN2の更新を開始する。また、コントローラ130は、EEPROM134に記憶されたカウント値TNを、直前のS23で排出を指示したインク量に相当する値でカウントアップする。 When the temporary release flag or the prohibition flag is "ON", the ink is moving from the liquid chamber 210 of the cartridge 200 to the liquid chamber 171 of the tank 160, and the liquid level of the ink in the liquid chamber 171 is less than the predetermined position P. Is. In this state, when the processing of S23 is executed, the controller 130 counts up the count value SN2 stored in the EEPROM 134 with a value corresponding to the amount of ink instructed to be discharged in the immediately preceding S23 (S80). In other words, the controller 130 starts updating the count value SN2 in response to the provisional release flag or the prohibition flag being set to "ON". Further, the controller 130 counts up the count value TN stored in the EEPROM 134 with a value corresponding to the amount of ink instructed to be discharged in S23 immediately before.

そして、コントローラ130は、現在の総量Vtを算出する(S81)。現在の総量Vtは、EEPROM134に記憶されたインク量Vc及びインク量Vsの和から、カウント値TNに相当するインク量を差し引いた値である。また、コントローラ130は、算出された現在の総量Vt及び関数Fに基づいてインク量Vc,Vsを求める(S81)。 Then, the controller 130 calculates the current total amount Vt (S81). The current total amount Vt is a value obtained by subtracting the amount of ink corresponding to the count value TN from the sum of the amount of ink Vc and the amount of ink Vs stored in the EEPROM 134. Further, the controller 130 obtains the ink amounts Vc and Vs based on the calculated current total amount Vt and the function F (S81).

そして、コントローラ130は、求めた総量Vtと、インク量Vc又はインク量Vsの一方と、をディスプレイ17に表示する(S82)。また、コントローラ130は、求めたインク量Vcを、カートリッジ200のIC基板247のメモリに記憶されたインク量Vcに上書きする(S83)。 Then, the controller 130 displays the obtained total amount Vt and one of the ink amount Vc and the ink amount Vs on the display 17 (S82). Further, the controller 130 overwrites the obtained ink amount Vc with the ink amount Vc stored in the memory of the IC board 247 of the cartridge 200 (S83).

次に、コントローラ130は、液面センサ155の出力がローレベル信号であるかを判定する(S84)。コントローラ130は、液面センサ155の出力がローレベル信号であると判定したことに応じて(S84:Yes)、仮解除フラグ、S_Emptyフラグ、及び禁止フラグにそれぞれ“OFF”を設定し(S85、S86、S87)、インク流入中画面をディスプレイ17から消去し(S88)、Empty正式解除処理を終了する。 Next, the controller 130 determines whether the output of the liquid level sensor 155 is a low level signal (S84). The controller 130 sets “OFF” for the temporary release flag, the S_Empty flag, and the prohibition flag in response to the determination that the output of the liquid level sensor 155 is a low level signal (S84: Yes) (S85, S86, S87), the screen during ink inflow is erased from the display 17 (S88), and the official release process of Empty is completed.

コントローラ130は、液面センサ155の出力がローレベル信号でない、すなわちハイレベル信号であると判定したことに応じて(S84:No)、S80で更新したカウント値SN2及びEEPROM134の別の領域に退避されたカウント値SN1との和と、閾値Nt1とを比較する(S89)。 The controller 130 saves to another area of the count values SN2 and EEPROM 134 updated in S80 in response to the determination that the output of the liquid level sensor 155 is not a low level signal, that is, a high level signal (S84: No). The sum of the counted value SN1 and the threshold value Nt1 is compared (S89).

そして、コントローラ130は、S80で更新したカウント値SN2及びカウント値SN1との和が閾値Nt1未満だと判定したことに応じて(S89:No)、S16でRAM133に記憶させた経過時間Tの開始時刻と現在の時刻とから、経過時間Tを算出し、算出した経過時間Tと待機時間Twとを比較する(S90)。コントローラ130は、算出した経過時間Tが待機時間Twを越えていない、すなわち経過時間Tが待機時間Tw以下であると判定したことに応じて(S90:No)、Empty正式解除処理を終了する。 Then, in response to the determination that the sum of the count value SN2 and the count value SN1 updated in S80 is less than the threshold value Nt1 (S89: No), the controller 130 starts the elapsed time T stored in the RAM 133 in S16. The elapsed time T is calculated from the time and the current time, and the calculated elapsed time T and the waiting time Tw are compared (S90). The controller 130 ends the Empty formal cancellation process according to the determination that the calculated elapsed time T does not exceed the waiting time Tw, that is, the elapsed time T is equal to or less than the waiting time Tw (S90: No).

また、コントローラ130は、算出した経過時間Tが待機時間Twを越えた、すなわち経過時間Tが待機時間Twより大きいと判定したことに応じて(S90:Yes)、C_Emptyフラグに“ON”を設定する(S91)。そして、コントローラ130は、C_Emptyフラグに“ON”が設定されていることに応じて、流入エラー報知画面をディスプレイ17に表示させる(S92)。流入エラー報知画面は、交換されたカートリッジ200に貯留されたインクがタンク160に流入せず、タンク160の液面が所定位置P以上とならなかったことをユーザに報知するための画面である。 Further, the controller 130 sets the C_Empty flag to "ON" according to the determination that the calculated elapsed time T exceeds the waiting time Tw, that is, the elapsed time T is larger than the waiting time Tw (S90: Yes). (S91). Then, the controller 130 displays the inflow error notification screen on the display 17 in response to the setting of “ON” in the C_Empty flag (S92). The inflow error notification screen is a screen for notifying the user that the ink stored in the replaced cartridge 200 did not flow into the tank 160 and the liquid level in the tank 160 did not reach the predetermined position P or higher.

図13(B)に、流入エラー報知画面の例を示す。図示例の流入エラー報知画面は、図12(A)のC_Empty報知画面と同様にオブジェクト251、オブジェクト252、及びオブジェクト253を有し、更にオブジェクト259を有する。オブジェクト259は、「交換したカートリッジからインクが流入できません」との文字列を有し、交換されたカートリッジ200に貯留されたインクがタンク160に流入せず、タンク160の液面が所定位置P以上とならなかったことをユーザに認識させる。 FIG. 13B shows an example of an inflow error notification screen. The inflow error notification screen of the illustrated example has an object 251 and an object 252, and an object 253, and further has an object 259, like the C_Empty notification screen of FIG. 12 (A). The object 259 has a character string "Ink cannot flow from the replaced cartridge", the ink stored in the replaced cartridge 200 does not flow into the tank 160, and the liquid level of the tank 160 is equal to or higher than the predetermined position P. Make the user aware that it did not.

そして、コントローラ130は、S59にてEEPROM134の別の領域に記憶させたカウント値TN、SN1、インク量Vc、及びインク量Vsを読み出して(S93)、これらの値で、現在、EEPROM134に記憶されているカウント値TN、SN1、インク量Vc、及びインク量Vsを更新する(S94)。すなわち、EEPROM134の別の領域に記憶されているカウント値TN、SN1に、カウント値SN2を加えて、EEPROM134に記憶されているカウント値TN、SN1に対して更新する。また、ROM132に記憶されているインク量Vscから更新されたカウント値SN1に相当する値を差し引いてインク量Vsを更新する。また、コントローラ130は、インク量Vcをゼロに更新する。そして、コントローラ130は、仮解除フラグに“OFF”を設定し(S95)、Empty正式解除処理を終了する。これにより、Empty仮解除の状態が終了し、カートリッジエンプティの状態となる。 Then, the controller 130 reads out the count values TN, SN1, the ink amount Vc, and the ink amount Vs stored in another area of the EEPROM 134 in S59 (S93), and these values are currently stored in the EEPROM 134. The count values TN, SN1, ink amount Vc, and ink amount Vs are updated (S94). That is, the count value SN2 is added to the count values TN and SN1 stored in another area of the EEPROM 134, and the count values TN and SN1 stored in the EEPROM 134 are updated. Further, the ink amount Vs is updated by subtracting the value corresponding to the updated count value SN1 from the ink amount Vsc stored in the ROM 132. Further, the controller 130 updates the ink amount Vc to zero. Then, the controller 130 sets the temporary release flag to "OFF" (S95), and ends the Empty formal release process. As a result, the state of temporary release of Empty ends, and the state of cartridge empty is reached.

また、コントローラ130は、S80で更新したカウント値SN2及びカウント値SN1との和が閾値Nt1以上であると判定したことに応じて(S89:Yes)、S_Emptyフラグに“ON”を設定する(S96)。カウント値SN2及びカウント値SN1との和が閾値Nt1以上であれば、タンク160の液室171のインクの液面が流出口174の直上付近に到達したこととなる。 Further, the controller 130 sets "ON" in the S_Empty flag according to the determination that the sum of the count value SN2 and the count value SN1 updated in S80 is equal to or higher than the threshold value Nt1 (S89: Yes) (S96). ). When the sum of the count value SN2 and the count value SN1 is equal to or higher than the threshold value Nt1, it means that the liquid level of the ink in the liquid chamber 171 of the tank 160 has reached the vicinity directly above the outlet 174.

そして、コントローラ130は、カートリッジ200からタンク160へインクが流入中であることを報知するインク流入中画面をディスプレイ17に表示させる(S97)。S97で表示されるインク流入中画面は、S70と同様であってもよい。また、コントローラ130は、S16でRAM133に記憶させた経過時間Tの開始時刻と現在の時刻とから、経過時間Tを算出し、算出した経過時間Tと待機時間Twとを比較する(S98)。コントローラ130は、算出した経過時間Tが待機時間Twを越えていない、すなわち経過時間Tが待機時間Tw以下であると判定したことに応じて(S98:No)、S97で表示させたインク流入中画面をディスプレイ17に表示し続ける。 Then, the controller 130 causes the display 17 to display an ink inflow screen notifying that ink is flowing from the cartridge 200 to the tank 160 (S97). The ink inflow screen displayed in S97 may be the same as in S70. Further, the controller 130 calculates the elapsed time T from the start time and the current time of the elapsed time T stored in the RAM 133 in S16, and compares the calculated elapsed time T with the standby time Tw (S98). The controller 130 determines that the calculated elapsed time T does not exceed the waiting time Tw, that is, the elapsed time T is equal to or less than the waiting time Tw (S98: No), and the ink is flowing in as displayed in S97. Continue to display the screen on the display 17.

コントローラ130は、算出した経過時間Tが待機時間Twを越えた、すなわち経過時間Tが待機時間Twより大きいと判定したことに応じて(S98:Yes)、液面センサ155が出力する信号がローレベル信号であるかを判定する(S99)。コントローラ130は、液面センサ155が出力する信号がローレベル信号であると判定したことに応じて(S99:Yes)、前述したS85及びS86の処理を実行して、Empty正式解除処理を終了する。 The controller 130 determines that the calculated elapsed time T exceeds the standby time Tw, that is, the elapsed time T is larger than the standby time Tw (S98: Yes), and the signal output by the liquid level sensor 155 is low. It is determined whether it is a level signal (S99). The controller 130 executes the above-mentioned processes of S85 and S86 in response to the determination that the signal output by the liquid level sensor 155 is a low level signal (S99: Yes), and ends the Empty official release process. ..

他方、コントローラ130は、液面センサ155が出力する信号がローレベル信号でない、すなわちハイレベル信号であると判定したことに応じて(S99:No)、インク流入中画面に代えて、S_Empty報知画面をディスプレイ17に表示させる(S100)。そして、前述したS93からS95の処理を実行して、Empty正式解除処理を終了する。これにより、Empty仮解除の状態が終了し、インクエンプティの状態となる。 On the other hand, in response to the determination that the signal output by the liquid level sensor 155 is not a low level signal, that is, a high level signal (S99: No), the controller 130 replaces the ink inflow screen with the S_Empty notification screen. Is displayed on the display 17 (S100). Then, the processes of S93 to S95 described above are executed to end the Empty formal release process. As a result, the state of temporary release of Empty ends, and the state of impedance is reached.

また、コントローラ130は、画像記録処理のS11において、S_Emptyフラグが“ON”であると判定したことに応じて(S11:Yes)、図11に示す処理を実行する。まず、コントローラ130は、S_Empty報知画面をディスプレイ17に表示させる(S101)。そして、コントローラ130は、装着センサ154が出力する信号が、ローレベル信号からハイレベル信号に変化し、再びハイレベル信号からローレベル信号に変化したかを判定する(S102)。そして、コントローラ130は、装着センサ154が出力する信号が、ローレベル信号からハイレベル信号に変化し、再びハイレベル信号からローレベル信号に変化するまで、所定の時間間隔でS102の処理を繰り返し実行する(S102:No)。換言すれば、コントローラ130は、カートリッジ200が装着ケース150から抜き出され、新たにカートリッジ200が装着ケース150に装着されるまで、S102の処理を繰り返し実行する。 Further, the controller 130 executes the process shown in FIG. 11 in response to the determination that the S_Empty flag is “ON” in S11 of the image recording process (S11: Yes). First, the controller 130 displays the S_Empty notification screen on the display 17 (S101). Then, the controller 130 determines whether the signal output by the mounting sensor 154 has changed from the low level signal to the high level signal and has changed from the high level signal to the low level signal again (S102). Then, the controller 130 repeatedly executes the processing of S102 at predetermined time intervals until the signal output by the mounting sensor 154 changes from the low level signal to the high level signal and then changes from the high level signal to the low level signal again. (S102: No). In other words, the controller 130 repeatedly executes the process of S102 until the cartridge 200 is taken out from the mounting case 150 and the cartridge 200 is newly mounted in the mounting case 150.

そして、コントローラ130は、装着センサ154が出力する信号が、ローレベル信号からハイレベル信号に変化し、再びハイレベル信号からローレベル信号に変化したと判定したことに応じて(S102:Yes)、接点152を通じてIC基板247のメモリからCTG情報を読み出してEEPROM134に記憶させ(S103)、インク流入中画面をディスプレイ17に表示させる(S104)。 Then, the controller 130 determines that the signal output by the mounting sensor 154 has changed from the low level signal to the high level signal and has changed from the high level signal to the low level signal again (S102: Yes). CTG information is read from the memory of the IC board 247 through the contact 152 and stored in the EEPROM 134 (S103), and the ink inflow screen is displayed on the display 17 (S104).

そして、コントローラ130は、液面センサ155が出力する信号がローレベル信号であるかを判定する(S105)。コントローラ130は、液面センサ155が出力する信号がローレベル信号でない、すなわちハイレベル信号であると判定したことに応じて(S105:No)、液面センサ155の出力がローレベル信号となるまで、S105の処理を繰り返す。 Then, the controller 130 determines whether the signal output by the liquid level sensor 155 is a low level signal (S105). The controller 130 determines that the signal output by the liquid level sensor 155 is not a low level signal, that is, a high level signal (S105: No), until the output of the liquid level sensor 155 becomes a low level signal. , S105 is repeated.

コントローラ130は、液面センサ155が出力する信号がローレベル信号であると判定したことに応じて(S105:Yes)、EEPROM134に記憶されているカートリッジ交換前のカウント値SN1と、ROM132に記憶されているインク量Vscと、に基づいて、カートリッジ交換前のVs(総量Vtに等しい)を算出して、EEPROM134に記憶させる。そして、算出したインク量Vsと、交換後のカートリッジ200のIC基板247のメモリから読み出したインク量Vcと、に基づいて、カートリッジ交換後の総量Vtを算出する(S106:Vt=Vs+Vc)。 The controller 130 stores the count value SN1 before cartridge replacement stored in the EEPROM 134 and the count value SN1 stored in the ROM 132 in the ROM 132 in response to the determination that the signal output by the liquid level sensor 155 is a low level signal (S105: Yes). Based on the ink amount Vsc, Vs (equal to the total amount Vt) before the cartridge replacement is calculated and stored in the EEPROM 134. Then, the total amount Vt after the cartridge replacement is calculated based on the calculated ink amount Vs and the ink amount Vc read from the memory of the IC board 247 of the cartridge 200 after the replacement (S106: Vt = Vs + Vc).

そして、コントローラ130は、算出した総量Vtと、EEPROM134から読み出した関数Fとに基づいて、液室210から液室171へのインクの移動が終了したときのインク量Vc及びインク量Vsを算出する(S106)。 Then, the controller 130 calculates the ink amount Vc and the ink amount Vs when the ink transfer from the liquid chamber 210 to the liquid chamber 171 is completed based on the calculated total amount Vt and the function F read from the EEPROM 134. (S106).

また、コントローラ130は、EEPROM134に記憶されているカウント値TN、SN1、SN2をリセットする(S107)。これにより、カウント値TN、SN1、SN2は、それぞれ初期値(ここではゼロ)となる。 Further, the controller 130 resets the count values TN, SN1 and SN2 stored in the EEPROM 134 (S107). As a result, the count values TN, SN1 and SN2 become initial values (here, zero).

そして、コントローラ130は、求めたインクの総量Vtと、インク量Vc又はインク量Vsの一方とをディスプレイ17に表示する(S108)。また、コントローラ130は、算出したインク量Vcを、接点152を通じてIC基板247のメモリに記憶させる(S109)。 Then, the controller 130 displays the total amount Vt of the obtained ink and one of the ink amount Vc and the ink amount Vs on the display 17 (S108). Further, the controller 130 stores the calculated ink amount Vc in the memory of the IC board 247 through the contact 152 (S109).

そして、コントローラ130は、仮解除フラグ、S_Emptyフラグ、及びC_Emptyフラグにそれぞれ“OFF”を設定する(S110、S111、S112)。コントローラ130は、S_Emptyフラグに“OFF”が設定されていることに応じて、インク流入中画面をディスプレイ17から消去して(S113)、S18の処理へ戻る。 Then, the controller 130 sets "OFF" in the temporary release flag, the S_Empty flag, and the C_Empty flag, respectively (S110, S111, S112). The controller 130 erases the ink inflow screen from the display 17 (S113) in response to the setting of “OFF” in the S_Empty flag, and returns to the process of S18.

[作用効果]
上記実施形態によれば、ディスプレイ17にC_Empty報知画面が表示されたカートリッジエンプティ状態において、カートリッジ200が交換されてから、液面センサ155がローレベル信号を出力する前に、カウント値SN1が閾値Nt2に到達していないことを条件として、C_Empty報知画面がディスプレイ17から消去される。また、C_Empty報知画面がディスプレイ17から消去された後、カートリッジ200が交換されてからの経過時間Tが待機時間Twに到達すると、C_Empty報知画面がディスプレイ17に表示されるので、カートリッジ200が交換された後に、タンク160の液室171のインクの液面が所定位置P以上となっておらず、カートリッジ200の再交換が必要であることをユーザに報知することができる。
[Action effect]
According to the above embodiment, in the cartridge empty state in which the C_Empty notification screen is displayed on the display 17, the count value SN1 is the threshold value Nt2 after the cartridge 200 is replaced and before the liquid level sensor 155 outputs a low level signal. Is not reached, the C_Empty notification screen is erased from the display 17. Further, after the C_Empty notification screen is erased from the display 17, when the elapsed time T from the replacement of the cartridge 200 reaches the standby time Tw, the C_Empty notification screen is displayed on the display 17, so that the cartridge 200 is replaced. After that, it is possible to notify the user that the liquid level of the ink in the liquid chamber 171 of the tank 160 is not equal to or higher than the predetermined position P and the cartridge 200 needs to be replaced again.

[変形例1]
上記実施形態では、コントローラ130が、装着されたカートリッジ200が「標準」であるか「大容量」であるかに応じて、閾値Nt2が所定値A1又は所定値A2のいずれかに決定される例が説明された。本変形例では、EEPROM134に記憶された印刷設定情報が示す印刷設定に応じて閾値Nt2が決定される例が説明される。
[Modification 1]
In the above embodiment, the controller 130 determines the threshold value Nt2 to be either a predetermined value A1 or a predetermined value A2 depending on whether the mounted cartridge 200 is "standard" or "large capacity". Was explained. In this modification, an example in which the threshold value Nt2 is determined according to the print setting indicated by the print setting information stored in the EEPROM 134 will be described.

本変形例では、EEPROM134は、印刷設定情報を記憶している。印刷設定情報は、記録処理にて用いられるデフォルトの印刷設定を示す情報であり、例えば、標準的な画質でのシートへの画像記録を行う標準設定と、標準設定より高画質でのシートへの画像記録を行う高画質設定のいずれかを示す情報である。高画質設定では、単位時間当たりのヘッド21からのインクの排出量が、標準設定より多い。高画質設定は、第1印刷設定の一例である。標準設定は、第2印刷設定の一例である。 In this modification, the EEPROM 134 stores print setting information. The print setting information is information indicating the default print setting used in the recording process. For example, the standard setting for recording an image on a sheet with standard image quality and the standard setting for recording an image on a sheet with higher image quality than the standard setting. This is information indicating one of the high image quality settings for image recording. In the high image quality setting, the amount of ink discharged from the head 21 per unit time is larger than that in the standard setting. The high image quality setting is an example of the first print setting. The standard setting is an example of the second print setting.

本変形例では、コントローラ130は、図9に示されるEmpty仮解除処理に替えて、図14に示されるEmpty仮解除処理を実行する。なお、以下で説明する処理以外の処理は、上記実施形態で説明した処理と同じである。図14に示される処理において、実施形態と同じ処理については、同一の参照符号を付して説明を省略する。 In this modification, the controller 130 executes the Empty temporary release process shown in FIG. 14 instead of the Empty temporary release process shown in FIG. The processing other than the processing described below is the same as the processing described in the above embodiment. In the process shown in FIG. 14, the same process as that of the embodiment is designated by the same reference numeral and the description thereof will be omitted.

本変形例に係るプリンタ10のコントローラ130は、実施形態と同様に、S53の処理を実行する。コントローラ130は、S51でIC基板247のメモリから読み出したインク量Vcが閾値Vminより大きいと判定したことに応じて(S53:Yes)、EEPROM134に記憶されている印刷設定情報が示す印刷設定が、標準設定であるか高画質設定であるかを判定する(S121)。 The controller 130 of the printer 10 according to this modification executes the process of S53 as in the embodiment. The controller 130 determines that the ink amount Vc read from the memory of the IC board 247 in S51 is larger than the threshold value Vmin (S53: Yes), and the print setting indicated by the print setting information stored in the EEPROM 134 is set. It is determined whether the setting is the standard setting or the high image quality setting (S121).

コントローラ130は、EEPROM134に記憶されている印刷設定情報が示す印刷設定が高画質設定であると判定したことに応じて(S121:高画質)、ROM132から所定値A1を読み出して、閾値Nt2を読み出した所定値A1に決定し、決定した閾値Nt2をEEPROM134に記憶させる(S56)。所定値A1は、第5所定値の一例である。 The controller 130 reads the predetermined value A1 from the ROM 132 and reads the threshold value Nt2 in response to the determination that the print setting indicated by the print setting information stored in the EEPROM 134 is the high image quality setting (S121: high image quality). The predetermined value A1 is determined, and the determined threshold value Nt2 is stored in the EEPROM 134 (S56). The predetermined value A1 is an example of the fifth predetermined value.

コントローラ130は、EEPROM134に記憶されている印刷設定情報が示す印刷設定が標準設定であると判定したことに応じて(S121:標準)、ROM132から所定値A2を読み出して、閾値Nt2を読み出した所定値A2に決定し、決定した閾値Nt2をEEPROM134に記憶させる(S57)。所定値A2は、第6所定値の一例である。 The controller 130 reads the predetermined value A2 from the ROM 132 and reads the threshold value Nt2 in response to the determination that the print setting indicated by the print setting information stored in the EEPROM 134 is the standard setting (S121: standard). The value A2 is determined, and the determined threshold value Nt2 is stored in the EEPROM 134 (S57). The predetermined value A2 is an example of the sixth predetermined value.

[変形例2]
上記実施形態では、コントローラ130が、装着されたカートリッジ200が「標準」であるか「大容量」であるかに応じて、閾値Nt2が所定値A1又は所定値A2のいずれかに決定される例が説明され、変形例1では、EEPROM134に記憶された印刷設定情報が示す印刷設定に応じて閾値Nt2が決定される例が説明された。本変形例では、プリンタ10が受け付けた記録指示が示す印刷設定に応じて閾値Nt2が決定される例が説明される。
[Modification 2]
In the above embodiment, the controller 130 determines the threshold value Nt2 to be either a predetermined value A1 or a predetermined value A2 depending on whether the mounted cartridge 200 is "standard" or "large capacity". In the first modification, an example in which the threshold value Nt2 is determined according to the print setting indicated by the print setting information stored in the EEPROM 134 has been described. In this modification, an example in which the threshold value Nt2 is determined according to the print setting indicated by the recording instruction received by the printer 10 will be described.

本変形例では、プリンタ10が受け付ける記録指示は、シートへの画像記録の画質の設定である印刷設定を指定している。印刷設定は、例えば、標準的な画質でのシートへの画像記録を行う標準設定と、標準設定より高画質でのシートへの画像記録を行う高画質設定のいずれかである。高画質設定では、単位時間当たりのヘッド21からのインクの排出量が、標準設定より多い。高画質設定は、第3印刷設定の一例である。標準設定は、第4印刷設定の一例である。 In this modification, the recording instruction received by the printer 10 specifies the print setting, which is the setting of the image quality of the image recording on the sheet. The print setting is, for example, one of a standard setting for recording an image on a sheet with a standard image quality and a high image quality setting for recording an image on a sheet with a higher image quality than the standard setting. In the high image quality setting, the amount of ink discharged from the head 21 per unit time is larger than that in the standard setting. The high image quality setting is an example of the third print setting. The standard setting is an example of the fourth print setting.

本変形例では、コントローラ130は、図9に示されるEmpty仮解除処理に替えて、図15に示されるEmpty仮解除処理を実行する。なお、以下で説明する処理以外の処理は、上記実施形態で説明した処理と同じである。図15に示される処理において、実施形態と同じ処理については、同一の参照符号を付して説明を省略する。 In this modification, the controller 130 executes the Empty temporary release process shown in FIG. 15 instead of the Empty temporary release process shown in FIG. The processing other than the processing described below is the same as the processing described in the above embodiment. In the process shown in FIG. 15, the same process as that of the embodiment is designated by the same reference numeral and the description thereof will be omitted.

本変形例に係るプリンタ10のコントローラ130は、実施形態と同様に、S53の処理を実行する。コントローラ130は、S51でIC基板247のメモリから読み出したインク量Vcが閾値Vminより大きいと判定したことに応じて(S53:Yes)、最後に受け付けた記録指示が指定している印刷設定が、標準設定であるか高画質設定であるかを判定する(S131)。最後に受け付けた記録指示とは、現在実行している画像記録処理に係る記録指示である。なお、記録指示によらず、例えばメンテナンス指示を取得したことに応じてコントローラ130が図7と同様の処理を実行し、Empty仮解除処理を実行している場合には、コントローラ130は、前回実行した画像記録処理に係る記録指示を、最後に受け付けた印刷設定として、S131の処理を行ってもよい。 The controller 130 of the printer 10 according to this modification executes the process of S53 as in the embodiment. The controller 130 determines that the ink amount Vc read from the memory of the IC board 247 in S51 is larger than the threshold value Vmin (S53: Yes), and the print setting specified by the last received recording instruction is set. It is determined whether the setting is the standard setting or the high image quality setting (S131). The last received recording instruction is a recording instruction related to the image recording process currently being executed. If, for example, the controller 130 executes the same process as in FIG. 7 and executes the Empty temporary release process in response to the acquisition of the maintenance instruction regardless of the record instruction, the controller 130 executes the previous process. The processing of S131 may be performed as the print setting that was last received for the recording instruction related to the image recording processing.

コントローラ130は、最後に受け付けた記録指示が指定している印刷設定が高画質設定であると判定したことに応じて(S131:高画質)、ROM132から所定値A1を読み出して、閾値Nt2を読み出した所定値A1に決定し、決定した閾値Nt2をEEPROM134に記憶させる(S56)。所定値A1は、第7所定値の一例である。 The controller 130 reads the predetermined value A1 from the ROM 132 and reads the threshold value Nt2 in response to the determination that the print setting specified by the last received recording instruction is the high image quality setting (S131: high image quality). The predetermined value A1 is determined, and the determined threshold value Nt2 is stored in the EEPROM 134 (S56). The predetermined value A1 is an example of the seventh predetermined value.

コントローラ130は、最後に受け付けた記録指示が指定している印刷設定が標準設定であると判定したことに応じて(S131:標準)、ROM132から所定値A2を読み出して、閾値Nt2を読み出した所定値A2に決定し、決定した閾値Nt2をEEPROM134に記憶させる(S57)。所定値A2は、第8所定値の一例である。 The controller 130 reads the predetermined value A2 from the ROM 132 and reads the threshold value Nt2 in response to the determination that the print setting specified by the last received recording instruction is the standard setting (S131: standard). The value A2 is determined, and the determined threshold value Nt2 is stored in the EEPROM 134 (S57). The predetermined value A2 is an example of the eighth predetermined value.

[変形例3]
上記実施形態では、コントローラ130が、装着されたカートリッジ200が「標準」であるか「大容量」であるかに応じて、閾値Nt2が所定値A1又は所定値A2のいずれかに決定される例が説明された。本変形例では、装着されたカートリッジ200のインク量Vcに応じて閾値Nt2が決定される例が説明される。
[Modification 3]
In the above embodiment, the controller 130 determines the threshold value Nt2 to be either a predetermined value A1 or a predetermined value A2 depending on whether the mounted cartridge 200 is "standard" or "large capacity". Was explained. In this modification, an example in which the threshold value Nt2 is determined according to the ink amount Vc of the mounted cartridge 200 will be described.

本変形例では、EEPROM134は、関数F’を記憶している。関数F’は、インク量Vcと、閾値Nt2との対応関係を示す情報である。閾値Nt2は、関数F’によって算出される。ここで、カートリッジ200に貯留されているインクの量が多いほど、液室210の液面の高さが高くなり、カートリッジ200が装着ケース150に装着されたときのカートリッジ200からタンク160へのインクの流入速度が大きくなる。前述したとおり、流入速度が大きいほど閾値Nt2が大きい方が好ましい。本変形例では、関数F’は、インク量Vcが大きいほど閾値Nt2が大きくなるよう設定されている。 In this modification, the EEPROM 134 stores the function F'. The function F'is information indicating the correspondence between the ink amount Vc and the threshold value Nt2. The threshold Nt2 is calculated by the function F'. Here, the larger the amount of ink stored in the cartridge 200, the higher the height of the liquid level in the liquid chamber 210, and the ink from the cartridge 200 to the tank 160 when the cartridge 200 is mounted in the mounting case 150. Inflow rate increases. As described above, it is preferable that the threshold value Nt2 is larger as the inflow rate is higher. In this modification, the function F'is set so that the threshold value Nt2 increases as the amount of ink Vc increases.

本変形例では、コントローラ130は、図9に示されるEmpty仮解除処理に替えて、図16に示されるEmpty仮解除処理を実行する。なお、以下で説明する処理以外の処理は、上記実施形態で説明した処理と同じである。図16に示される処理において、実施形態と同じ処理については、同一の参照符号を付して説明を省略する。 In this modification, the controller 130 executes the Empty temporary release process shown in FIG. 16 instead of the Empty temporary release process shown in FIG. The processing other than the processing described below is the same as the processing described in the above embodiment. In the process shown in FIG. 16, the same process as that of the embodiment is designated by the same reference numeral and the description thereof will be omitted.

本変形例に係るプリンタ10のコントローラ130は、実施形態と同様に、S53の処理を実行する。コントローラ130は、S51でIC基板247のメモリから読み出したインク量Vcが閾値Vminより大きいと判定したことに応じて(S53:Yes)、S51でIC基板247のメモリから読み出したインク量Vcと、EEPROM134に記憶されている関数F’とに基づいて、閾値Nt2を決定し、EEPROM134に記憶させる(S141)。そして、コントローラ130は、S45で更新したカウント値SN1と、S141で決定した閾値Nt2とを比較する(S58)。 The controller 130 of the printer 10 according to this modification executes the process of S53 as in the embodiment. The controller 130 determines that the ink amount Vc read from the memory of the IC board 247 in S51 is larger than the threshold Vmin (S53: Yes), and the ink amount Vc read from the memory of the IC board 247 in S51. The threshold value Nt2 is determined based on the function F'stored in the EEPROM 134 and stored in the EEPROM 134 (S141). Then, the controller 130 compares the count value SN1 updated in S45 with the threshold value Nt2 determined in S141 (S58).

なお、閾値Nt2は、関数F’の形式に限定されず、インク量Vc毎に対応づけられたテーブルによって決定されてもよい。また、閾値Nt2が、カートリッジ200の液室210の液面高さHcに基づいて決定されてもよい。液面高さHcは、インク量Vcに基づいて算出することができる。例えば、液面高さHcは、インク量Vcと液面高さHcとの対応関係を示す関数又はテーブルに基づいて決定される。 The threshold value Nt2 is not limited to the format of the function F', and may be determined by a table associated with each ink amount Vc. Further, the threshold value Nt2 may be determined based on the liquid level height Hc of the liquid chamber 210 of the cartridge 200. The liquid level height Hc can be calculated based on the ink amount Vc. For example, the liquid level height Hc is determined based on a function or a table showing the correspondence between the ink amount Vc and the liquid level height Hc.

[変形例4]
上記実施形態では、コントローラ130が、Empty仮解除処理のS58にて、カウント値SN1と閾値Nt2とを比較する例が説明された。本変形例では、コントローラ130が、タンク160のインク量Vsと、閾値Vthとを比較する例が説明される。
[Modification 4]
In the above embodiment, an example in which the controller 130 compares the count value SN1 and the threshold value Nt2 in S58 of the Empty temporary release process has been described. In this modification, an example in which the controller 130 compares the ink amount Vs of the tank 160 with the threshold value Vth will be described.

本変形例では、ROM132には、所定値Vs1及び所定値Vs2が記憶されている。タンク160の液室170のインクの液面が、流出口174の上端よりも上方に位置し、且つ、所定位置Pよりも下方に位置するときの、インクの量に対応する値である。所定値Vs2は、所定値Vs1よりも小さい。所定値Vs1は、第1所定値及び第3所定値の一例である。所定値Vs2は、第2所定値及び第4所定値の一例である。また、EEPROM134は、閾値Vthを記憶している。 In this modification, the predetermined value Vs1 and the predetermined value Vs2 are stored in the ROM 132. It is a value corresponding to the amount of ink when the liquid level of the ink in the liquid chamber 170 of the tank 160 is located above the upper end of the outlet 174 and below the predetermined position P. The predetermined value Vs2 is smaller than the predetermined value Vs1. The predetermined value Vs1 is an example of the first predetermined value and the third predetermined value. The predetermined value Vs2 is an example of the second predetermined value and the fourth predetermined value. Further, the EEPROM 134 stores the threshold value Vth.

本変形例では、コントローラ130は、図9に示されるEmpty仮解除処理に替えて、図17に示されるEmpty仮解除処理を実行する。なお、以下で説明する処理以外の処理は、上記実施形態で説明した処理と同じである。図17に示される処理において、実施形態と同じ処理については、同一の参照符号を付して説明を省略する。 In this modification, the controller 130 executes the Empty temporary release process shown in FIG. 17 instead of the Empty temporary release process shown in FIG. The processing other than the processing described below is the same as the processing described in the above embodiment. In the process shown in FIG. 17, the same process as that of the embodiment is designated by the same reference numeral and the description thereof will be omitted.

本変形例に係るプリンタ10のコントローラ130は、実施形態と同様に、S55の処理を実行する。コントローラ130は、S51でIC基板247のメモリから読み出した種類情報が示すカートリッジ200の種類が「標準」であると判定したことに応じて(S55:標準)、ROM132から所定値Vs1を読み出して、閾値Vthを読み出した所定値Vs1に決定し、決定した閾値VthをEEPROM134に記憶させる(S151)。 The controller 130 of the printer 10 according to this modification executes the process of S55 as in the embodiment. The controller 130 reads a predetermined value Vs1 from the ROM 132 in response to the determination in S51 that the type of the cartridge 200 indicated by the type information read from the memory of the IC board 247 is "standard" (S55: standard). The threshold value Vth is determined to be a predetermined value Vs1 read out, and the determined threshold value Vth is stored in the EEPROM 134 (S151).

コントローラ130は、S51でIC基板247のメモリから読み出した種類情報が示すカートリッジ200の種類が「大容量」であると判定したことに応じて(S55:大容量)、ROM132から所定値Vs2を読み出して、閾値Vthを読み出した所定値Vs2に決定し、決定した閾値VthをEEPROM134に記憶させる(S153)。 The controller 130 reads a predetermined value Vs2 from the ROM 132 in response to the determination in S51 that the type of the cartridge 200 indicated by the type information read from the memory of the IC board 247 is "large capacity" (S55: large capacity). Then, the threshold value Vth is determined to be a predetermined value Vs2 read out, and the determined threshold value Vth is stored in the EEPROM 134 (S153).

続いて、コントローラ130は、上述したS62と同様にして、インク量Vsを算出する(S153)。そして、コントローラ130は、S153で算出したインク量Vsと、S151又はS152で決定した閾値Vthとを比較する(S154)。コントローラ130は、インク量Vsが閾値Nt2よりも大きいと判定したことに応じて、すなわち、ヘッド21からの排出に伴い減少するインク量Vsが閾値Vthに到達していないと判定したことに応じて(S154:Yes)、S59以降の処理を実行する。コントローラ130は、インク量Vsが閾値Nt2以下であると判定したことに応じて、すなわち、ヘッド21からの排出に伴い減少するインク量Vsが閾値Vthに到達していると判定したことに応じて(S154:No)、S69以降の処理を実行する。インク量Vsは、第1値の一例である。閾値Vthは、第1閾値の一例である。 Subsequently, the controller 130 calculates the ink amount Vs in the same manner as in S62 described above (S153). Then, the controller 130 compares the ink amount Vs calculated in S153 with the threshold value Vth determined in S151 or S152 (S154). The controller 130 determines that the ink amount Vs is larger than the threshold value Nt2, that is, the ink amount Vs that decreases with ejection from the head 21 has not reached the threshold value Vth. (S154: Yes), the processing after S59 is executed. The controller 130 determines that the ink amount Vs is equal to or less than the threshold value Nt2, that is, the ink amount Vs that decreases with ejection from the head 21 has reached the threshold value Vth. (S154: No), the processing after S69 is executed. The ink amount Vs is an example of the first value. The threshold value Vth is an example of the first threshold value.

[他の変形例]
上記実施形態では、装着ケース150に、標準のカートリッジ200と、大容量カートリッジとが装着可能である例が説明されたが、インクの種類や粘度、液室や流路の形状、流路の流路抵抗等が異なることによって流入速度の異なる、複数の種類のカートリッジが、装着ケース150に装着可能であってもよい。
[Other variants]
In the above embodiment, an example in which a standard cartridge 200 and a large-capacity cartridge can be mounted on the mounting case 150 has been described, but the type and viscosity of the ink, the shape of the liquid chamber and the flow path, and the flow of the flow path have been described. A plurality of types of cartridges having different inflow speeds due to different road resistances and the like may be mounted on the mounting case 150.

上記実施形態では、Empty仮解除処理において、装着されたカートリッジ200の識別情報が交換前のカートリッジ200の識別情報と異なるかの判定(S52)と、装着されたカートリッジ200のIC基板247のメモリから読み出したインク量Vcが閾値Vminより大きいかの判定(S53)が実行されるが、S52とS53とは必ずしも実行されなくてもよい。すなわち、コントローラ130は、装着ケース150のカートリッジ200が装着されたことに応じて、カートリッジエンプティ状態を仮解除してもよい。また、S52、S53は選択的にいずれか一方のみが実行されてもよい。 In the above embodiment, in the Empty temporary release process, it is determined whether the identification information of the mounted cartridge 200 is different from the identification information of the cartridge 200 before replacement (S52), and from the memory of the IC board 247 of the mounted cartridge 200. The determination (S53) as to whether the read ink amount Vc is larger than the threshold value Vmin is executed, but S52 and S53 do not necessarily have to be executed. That is, the controller 130 may temporarily release the cartridge empty state according to the fact that the cartridge 200 of the mounting case 150 is mounted. Further, only one of S52 and S53 may be selectively executed.

また、上記実施形態では、液面センサ155の出力がローレベル信号からハイレベル信号に変化したことに応じて、C_Emptyフラグに“ON”が設定されてC_Empty報知画面がディスプレイ17に表示されるが、これに代えて、液面センサ155の出力がローレベル信号からハイレベル信号に変化した後、カウント値SN1が所定の閾値に到達したことに応じて、C_Emptyフラグに“ON”が設定されてC_Empty報知画面がディスプレイ17に表示されてもよい。 Further, in the above embodiment, the C_Empty flag is set to "ON" according to the change of the output of the liquid level sensor 155 from the low level signal to the high level signal, and the C_Empty notification screen is displayed on the display 17. Instead of this, after the output of the liquid level sensor 155 changes from the low level signal to the high level signal, "ON" is set in the C_Empty flag according to the fact that the count value SN1 reaches a predetermined threshold value. The C_Empty notification screen may be displayed on the display 17.

また、上記実施形態では、カートリッジエンプティ状態において、カートリッジ200が交換されて、装着センサ154からローレベル信号を受信したことに応じて、カートリッジエンプティ状態が仮解除になるが、カートリッジエンプティ状態に代えて、インクエンプティ状態が、装着センサ154からローレベル信号を受信したことに応じて、仮解除にされてもよい。すなわち、S_Emptyフラグが“ON”であるときに、コントローラ130は、装着センサ154からローレベル信号を受信したことに応じて、Empty仮解除処理を実行して、S_Emptyフラグに“OFF”を設定する。これにより、カートリッジが交換されてから、液面センサ155がローレベル信号を出力する前に、S_Empty報知画面がディスプレイ17から消去される。 Further, in the above embodiment, in the cartridge empty state, the cartridge empty state is temporarily released in response to the replacement of the cartridge 200 and the reception of the low level signal from the mounting sensor 154, but instead of the cartridge empty state. , The inquency state may be temporarily released in response to the reception of the low level signal from the mounting sensor 154. That is, when the S_Empty flag is "ON", the controller 130 executes the Empty temporary release process in response to receiving the low level signal from the mounting sensor 154, and sets the S_Empty flag to "OFF". .. As a result, the S_Empty notification screen is erased from the display 17 after the cartridge is replaced and before the liquid level sensor 155 outputs a low level signal.

また、S_Emptyフラグが“ON”であるときに、コントローラ130は、装着センサ154からローレベル信号を受信し、又は、装着されたカートリッジ200の識別情報が交換前のカートリッジ200の識別情報と異なると判定し、又は、装着されたカートリッジ200のインク量Vcが閾値Vminより大きいと判定したことに基づいて、S_Emptyフラグを“OFF”にし、S_Empty報知画面をディスプレイ17から消去してもよい。また、S_Emptyフラグが“ON”であるときに、コントローラ130は報知ではなくインクの吐出を禁止し、S_Emptyフラグが“OFF”であるときに、インクの吐出の禁止を解除してもよい。さらに、コントローラ130は、報知と吐出禁止の両方を行ってもよい。 Further, when the S_Empty flag is "ON", the controller 130 receives a low level signal from the mounting sensor 154, or the identification information of the mounted cartridge 200 is different from the identification information of the cartridge 200 before replacement. The S_Empty flag may be set to "OFF" and the S_Empty notification screen may be erased from the display 17 based on the determination or the determination that the ink amount Vc of the mounted cartridge 200 is larger than the threshold value Vmin. Further, when the S_Empty flag is "ON", the controller 130 may prohibit ink ejection instead of notification, and may cancel the ink ejection prohibition when the S_Empty flag is "OFF". Further, the controller 130 may perform both notification and ejection prohibition.

また、上記実施形態では、コントローラ130は、カートリッジ200が交換された後の総量VtをEEPROM134に記憶させて、総量Vtからカウント値TNに相当するインク量を差し引いて現在の総量Vtを求めるが、これに代えて、ヘッド21を通じたインクの排出が実行される毎に総量Vtを更新してEEPROM134に記憶させ、次のヘッド21を通じたインクの排出が実行されると、実行されたインクの排出分のインク量をカウント値TNに基づいて算出し、EEPROM134に記憶されている総量Vtから差し引いて、総量Vtを更新してもよい。 Further, in the above embodiment, the controller 130 stores the total amount Vt after the cartridge 200 is replaced in the EEPROM 134, and subtracts the ink amount corresponding to the count value TN from the total amount Vt to obtain the current total amount Vt. Instead of this, every time the ink is ejected through the head 21, the total amount Vt is updated and stored in the EEPROM 134, and when the next ink ejection through the head 21 is executed, the executed ink ejection is performed. The ink amount for a minute may be calculated based on the count value TN and subtracted from the total amount Vt stored in the EEPROM 134 to update the total amount Vt.

上記実施形態では、コントローラ130は、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことに応じて(S14:Yes)、S15に示す処理を実行した。コントローラ130がS15に示す処理を実行するのは、装着ケース150内にカートリッジ200が存在しない装着ケース150内に、カートリッジ200が装着されたことを契機としている。つまり、コントローラ130は、装着ケース150内にカートリッジ200が装着されたと判定したことに応じて、S15に示す処理を実行すればよい。なお、コントローラ130が、装着センサ154からローレベル信号を受信し、その後に装着センサ154からハイレベル信号を受信し、さらにその後に装着センサ154からローレベル信号を受信したことは、コントローラ130が、装着ケース150内にカートリッジが装着されたと判定したことの一例である。コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判定する、他の例を以下に説明する。 In the above embodiment, the controller 130 receives a low level signal from the mounting sensor 154, then a high level signal from the mounting sensor 154, and then a low level signal from the mounting sensor 154. (S14: Yes), the process shown in S15 was executed. The controller 130 executes the process shown in S15 when the cartridge 200 is mounted in the mounting case 150 in which the cartridge 200 does not exist in the mounting case 150. That is, the controller 130 may execute the process shown in S15 in response to the determination that the cartridge 200 is mounted in the mounting case 150. The controller 130 received the low level signal from the mounting sensor 154, then received the high level signal from the mounting sensor 154, and then received the low level signal from the mounting sensor 154. This is an example of determining that the cartridge is mounted in the mounting case 150. Another example in which the controller 130 determines that the cartridge 200 is mounted in the mounting case 150 will be described below.

例えば、コントローラ130が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ130は、IC基板247のメモリから識別情報を読み出して、EEPROM134に記憶された交換前のカートリッジ200の識別情報と比較する。IC基板247のメモリから読み出した識別情報と、EEPROM134に記憶された識別情報とが異なると判定したことに応じて、コントローラ130は、S15に示す処理を実行してもよい。つまり、「コントローラ130は、IC基板247のメモリから識別情報を読み出して、EEPROM134に記憶された交換前のカートリッジ200の識別情報と比較する。その結果、IC基板247のメモリから読み出した識別情報と、EEPROM134に記憶された識別情報とが異なると判定した」ことが、コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判定することの一例である。 For example, the controller 130 receives the low level signal after receiving the high level signal from the cover sensor 88. Then, the controller 130 reads the identification information from the memory of the IC board 247 and compares it with the identification information of the cartridge 200 before replacement stored in the EEPROM 134. Depending on the determination that the identification information read from the memory of the IC board 247 and the identification information stored in the EEPROM 134 are different, the controller 130 may execute the process shown in S15. That is, "the controller 130 reads the identification information from the memory of the IC board 247 and compares it with the identification information of the cartridge 200 before replacement stored in the EEPROM 134. As a result, the identification information read from the memory of the IC board 247 and the identification information. , It is determined that the identification information stored in the EEPROM 134 is different. ”Is an example of the controller 130 determining that the cartridge 200 is mounted in the mounting case 150.

また、例えば、コントローラ130が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ130は、ディスプレイ17を通じてユーザに、装着ケース150内に新たなカートリッジ200の装着をしたか、を示す確認画面を表示させる。コントローラ130は、ディスプレイ17に確認画面を表示させている一方で、操作パネル22を通じて、当該確認画面に対応する、入力を受信する。受信した当該入力が、装着ケース150内に新たなカートリッジ200の装着した、ことに対応していることに応じて、コントローラ130は、S15に示す処理を実行する。つまり、「コントローラ130が、カバーセンサ88からハイレベル信号を受信した後にローレベル信号を受信する。そして、コントローラ130は、ディスプレイ17を通じてユーザに、装着ケース150内に新たなカートリッジ200の装着をしたか、を示す確認画面を表示させる。コントローラ130は、ディスプレイ17に確認画面を表示させている一方で、操作パネル22を通じて、当該確認画面に対応する、入力を受信する。受信した当該入力が、装着ケース150内に新たなカートリッジ200の装着した、ことに対応している」ことが、コントローラ130が、装着ケース150内にカートリッジ200が装着されたと判定することの一例である。 Further, for example, the controller 130 receives the low level signal after receiving the high level signal from the cover sensor 88. Then, the controller 130 causes the user to display a confirmation screen indicating whether or not a new cartridge 200 has been mounted in the mounting case 150 through the display 17. While the controller 130 displays the confirmation screen on the display 17, the controller 130 receives the input corresponding to the confirmation screen through the operation panel 22. The controller 130 executes the process shown in S15 according to the received input corresponding to the mounting of the new cartridge 200 in the mounting case 150. That is, "the controller 130 receives the low level signal after receiving the high level signal from the cover sensor 88. Then, the controller 130 mounts the new cartridge 200 in the mounting case 150 to the user through the display 17. The controller 130 displays the confirmation screen on the display 17, while the controller 130 receives the input corresponding to the confirmation screen through the operation panel 22. "It corresponds to the fact that the new cartridge 200 is mounted in the mounting case 150" is an example of the controller 130 determining that the cartridge 200 is mounted in the mounting case 150.

上記実施形態では、供給管230に設けられたインク供給口234と、ニードル181の開口183とが開放されて、供給管230のインクバルブ室213と、ニードル181の内部空間とが連通される例が説明された。インク供給口234は、カートリッジ200の後壁202に設けられてもよい。例えば、インク供給口234として、後壁202を厚み方向に貫通する貫通孔が後壁202に形成されてもよい。インク供給口234の内部空間は、第1流路の一例である。この変形例では、カートリッジ200が装着ケース150に装着される過程において、ニードル181がインク供給口234を通じてカートリッジ200の液室210に進入し、ニードル181の一端(開口183)が、カートリッジ200の液室210の内部に位置する状態となる。これにより、カートリッジ200の液室210と、ニードル181の内部空間とが連通される。すなわち、装着ケース150にカートリッジ200が装着された状態において、ニードル181の内部空間は、カートリッジ200の液室210とタンク160の液室171とを連通させる流路を形成する。 In the above embodiment, the ink supply port 234 provided in the supply pipe 230 and the opening 183 of the needle 181 are opened so that the ink valve chamber 213 of the supply pipe 230 and the internal space of the needle 181 are communicated with each other. Was explained. The ink supply port 234 may be provided on the rear wall 202 of the cartridge 200. For example, as the ink supply port 234, a through hole that penetrates the rear wall 202 in the thickness direction may be formed in the rear wall 202. The internal space of the ink supply port 234 is an example of the first flow path. In this modification, in the process of mounting the cartridge 200 on the mounting case 150, the needle 181 enters the liquid chamber 210 of the cartridge 200 through the ink supply port 234, and one end (opening 183) of the needle 181 is the liquid of the cartridge 200. It will be located inside the chamber 210. As a result, the liquid chamber 210 of the cartridge 200 and the internal space of the needle 181 are communicated with each other. That is, when the cartridge 200 is mounted on the mounting case 150, the internal space of the needle 181 forms a flow path for communicating the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160.

また、開口183が、タンク160の前壁162に設けられてもよい。例えば、開口183として、前壁162を厚み方向に貫通する貫通孔が前壁162に形成されてもよい。開口183の内部空間は、第1流路の一例である。この変形例では、カートリッジ200が装着ケース150に装着される過程において、供給管230が開口183を通じてタンク160の液室171に進入し、供給管230の他端(インク供給口234)が、タンク160の液室171の内部に位置する状態となる。これにより、カートリッジ200の液室210と、ニードル181の内部空間とが連通される。すなわち、装着ケース150にカートリッジ200が装着された状態において、インクバルブ室213は、カートリッジ200の液室210とタンク160の液室171とを連通させる流路を形成する。 Further, the opening 183 may be provided in the front wall 162 of the tank 160. For example, as the opening 183, a through hole that penetrates the front wall 162 in the thickness direction may be formed in the front wall 162. The internal space of the opening 183 is an example of the first flow path. In this modification, in the process of mounting the cartridge 200 on the mounting case 150, the supply pipe 230 enters the liquid chamber 171 of the tank 160 through the opening 183, and the other end of the supply pipe 230 (ink supply port 234) is the tank. It is in a state of being located inside the liquid chamber 171 of 160. As a result, the liquid chamber 210 of the cartridge 200 and the internal space of the needle 181 are communicated with each other. That is, when the cartridge 200 is mounted on the mounting case 150, the ink valve chamber 213 forms a flow path for communicating the liquid chamber 210 of the cartridge 200 and the liquid chamber 171 of the tank 160.

また、上記実施形態では、コントローラ130が、液面センサ155が出力する信号に基づいて、アクチュエータ190の被検出部194が検出位置に位置しているか否かを検出する構成であるが、液室171におけるインクの液面が検出できれば、液面センサ155の構成は特に限定されない。例えば、液室171の後壁164にインクが接触しているか否かによって異なる反射率を有するプリズムを利用して、液室171におけるインクの液面を光学的に検出するためのセンサであってもよいし、液室171のインクの液面が電極によって検出される構成であってもよい。また、液面センサ155は、タンク160の液室171の液面によって異なる信号を出力するものに代えて、カートリッジ200の液室210の液面によって異なる信号を出力するものであってもよい。 Further, in the above embodiment, the controller 130 detects whether or not the detected portion 194 of the actuator 190 is located at the detection position based on the signal output by the liquid level sensor 155. As long as the liquid level of the ink in 171 can be detected, the configuration of the liquid level sensor 155 is not particularly limited. For example, it is a sensor for optically detecting the liquid level of ink in the liquid chamber 171 by using a prism having different reflectance depending on whether or not the ink is in contact with the rear wall 164 of the liquid chamber 171. Alternatively, the liquid level of the ink in the liquid chamber 171 may be detected by the electrode. Further, the liquid level sensor 155 may output a different signal depending on the liquid level of the liquid chamber 210 of the cartridge 200 instead of outputting a different signal depending on the liquid level of the liquid chamber 171 of the tank 160.

また、上記実施形態では、4つのS_Emptyフラグの少なくとも1つに“ON”が設定されているときに(S11:ON)、4つのタンク160全てについてヘッド21を通じたインクの排出を禁止する例が説明された。S_Emptyフラグに“ON”が設定されているタンク160についてのみ、ヘッド21を通じたインクの排出が禁止されてもよい。また、マゼンタ、シアン、及びイエローに係るS_Emptyフラグの少なくとも一つに“ON”が設定され、ブラックに係るS_Emptyフラグに“OFF”が設定されている場合に、マゼンタ、シアン、及びイエローのインクの排出が禁止され、ブラックのインクの排出が許可されてもよい。 Further, in the above embodiment, when "ON" is set for at least one of the four S_Empty flags (S11: ON), there is an example in which ink ejection through the head 21 is prohibited for all four tanks 160. Explained. Ink ejection through the head 21 may be prohibited only for the tank 160 in which the S_Empty flag is set to “ON”. Further, when "ON" is set for at least one of the S_Empty flags related to magenta, cyan, and yellow, and "OFF" is set for the S_Empty flag related to black, magenta, cyan, and yellow inks are used. Ejection may be prohibited and black ink may be allowed to be ejected.

また、上記実施形態では、コントローラ130は、S_Emptyフラグが“ON”であれば、ヘッド21を通じたインクの排出を禁止するが、ヘッド21を通じたインクの排出は必ずしも禁止される必要はなく、コントローラ130は、S_Emptyフラグが“ON”であれば、S_Empty報知画面をディスプレイ17に表示させるのみであってもよい。 Further, in the above embodiment, if the S_Empty flag is "ON", the controller 130 prohibits the ejection of ink through the head 21, but the ejection of ink through the head 21 does not necessarily have to be prohibited, and the controller If the S_Empty flag is "ON", the 130 may only display the S_Empty notification screen on the display 17.

また、IC基板247は、接点152と接触して導通されるが、これにかえて、NFC(near field communication)やRFID(radio frequency identification)のような電波を用いて非接触でデータを読み書きする情報媒体とインタフェースとが採用されてもよい。 Further, the IC board 247 comes into contact with the contact 152 to conduct conduction, but instead, data is read / written in a non-contact manner using radio waves such as NFC (near field communication) and RFID (radio frequency identification). Information media and interfaces may be adopted.

また、前述された実施形態では、インクが液体の一例として説明されているが、液体は、例えば、画像記録時にインクに先立って用紙などに吐出される前処理液でもよいし、ヘッド21を洗浄するための水でもよい。 Further, in the above-described embodiment, the ink is described as an example of a liquid, but the liquid may be, for example, a pretreatment liquid that is ejected to paper or the like prior to the ink at the time of image recording, or the head 21 is washed. It may be water for cleaning.

10・・・プリンタ(液体排出装置)
17・・・ディスプレイ(報知機)
21・・・ヘッド
32・・・チューブ(第4流路)
130・・・コントローラ
132・・・ROM(メモリ)
133・・・RAM(メモリ)
134・・・EEPROM(メモリ)
150・・・装着ケース
152・・・接点(インタフェース)
154・・・装着センサ
155・・・液面センサ
160・・・タンク
171・・・液室(第2液室)
175・・・大気連通室(第5流路)
181・・・ニードル(第3流路)
200・・・カートリッジ
210・・・液室(第1液室)
213・・・インクバルブ室(第1流路)
214・・・大気バルブ室(第2流路)
10 ... Printer (liquid discharge device)
17 ... Display (alarm)
21 ... Head 32 ... Tube (4th flow path)
130 ... Controller 132 ... ROM (memory)
133 ... RAM (memory)
134 ... EEPROM (memory)
150 ... Mounting case 152 ... Contact (interface)
154 ... Mounting sensor 155 ... Liquid level sensor 160 ... Tank 171 ... Liquid chamber (second liquid chamber)
175 ... Atmospheric communication room (fifth flow path)
181 ... Needle (third flow path)
200 ... Cartridge 210 ... Liquid chamber (first liquid chamber)
213 ... Ink valve chamber (first flow path)
214 ... Atmospheric valve chamber (second flow path)

Claims (13)

液体が貯留された第1液室を有するカートリッジが装着される装着ケースと、
第2液室を有するタンクと、
一方が上記第2液室に連通されており、他方が上記装着ケースに装着された上記カートリッジの上記第1液室と連通される流路と、
上記第2液室と連通されるヘッドと、
液面センサと、
報知機と、
コントローラと、を備え、
上記コントローラは、
上記第2液室内の液面の位置が所定位置未満である場合に上記液面センサが出力する第1信号を受信したことに基づいて、上記報知機に第1報知を行わせ、
上記ヘッドを通じて液体を排出させる排出指示を受け付け、
上記第1信号の受信後に受け付けた上記排出指示で排出が指示された液体量に基づいて、上記第2液室に貯留されている液体の量に関する第1値を決定し、
上記カートリッジが上記装着ケースに装着されたかを判定し、
上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記第1値が第1閾値に到達しているか否かを判定し、
上記第1値が上記第1閾値に到達していないと判定したことに基づいて、上記第1報知を解除し、
上記第1値が上記第1閾値に到達していると判定し、且つ、上記第2液室内の液面の位置が上記所定位置以上である場合に上記液面センサが出力する第2信号を受信したことに基づいて、上記第1報知を解除する
液体排出装置。
A mounting case in which a cartridge having a first liquid chamber in which liquid is stored is mounted, and
A tank with a second liquid chamber and
One is communicated with the second liquid chamber, and the other is a flow path communicating with the first liquid chamber of the cartridge mounted on the mounting case.
The head that communicates with the second liquid chamber and
Liquid level sensor and
With an alarm
With a controller,
The above controller
Based on the reception of the first signal output by the liquid level sensor when the position of the liquid level in the second liquid chamber is less than the predetermined position, the alarm is made to perform the first notification.
Accepting the discharge instruction to discharge the liquid through the above head,
Based on the amount of liquid indicated to be discharged by the discharge instruction received after receiving the first signal, the first value regarding the amount of liquid stored in the second liquid chamber is determined.
It is determined whether the cartridge is mounted in the mounting case, and it is determined.
Based on the determination that the cartridge is mounted in the mounting case, it is determined whether or not the first value has reached the first threshold value.
Based on the determination that the first value has not reached the first threshold value, the first notification is canceled.
When it is determined that the first value has reached the first threshold value and the position of the liquid level in the second liquid chamber is equal to or higher than the predetermined position, the second signal output by the liquid level sensor is output. A liquid discharge device that cancels the first notification based on the reception.
上記コントローラは、
上記第1値が上記第1閾値に到達していると判定したことに基づいて、上記ヘッドからの液体の排出を禁止し、
上記液面センサから上記第2信号を受信したことに基づいて、上記ヘッドからの液体の排出を許可する
請求項1に記載の液体排出装置。
The above controller
Based on the determination that the first value has reached the first threshold value, the discharge of the liquid from the head is prohibited.
The liquid discharge device according to claim 1, wherein the liquid is discharged from the head based on the reception of the second signal from the liquid level sensor.
上記コントローラは、
上記ヘッドからの液体の排出を禁止した後に上記液面センサから上記第2信号を受信したことに基づいて、上記ヘッドからの液体の排出を許可する
請求項2に記載の液体排出装置。
The above controller
The liquid discharge device according to claim 2, wherein the discharge of the liquid from the head is permitted based on the reception of the second signal from the liquid level sensor after prohibiting the discharge of the liquid from the head.
上記コントローラは、
上記第1値が上記第1閾値に到達していると判定したことに基づいて、上記報知機に上記第1報知と異なる第2報知を実行させ、
上記液面センサから上記第2信号を受信したことに基づいて、上記第2報知を解除し、上記報知機に上記第1報知及び上記第2報知と異なる第3報知を行わせる
請求項2又は3に記載の液体排出装置。
The above controller
Based on the determination that the first value has reached the first threshold value, the alarm is made to execute a second notification different from the first notification.
2. 3. The liquid discharge device according to 3.
上記装着ケースには、
カラー印刷に用いられるカラーインクが貯留された上記第1液室を有する上記カートリッジ、及び、モノクロ印刷に用いられるモノクロインクが貯留された上記第1液室を有する上記カートリッジの両方が装着され、
上記コントローラは、
上記排出指示として、シートに画像を記録させる記録指示を受け付け、
受け付けた上記記録指示が、上記ヘッドを通じてモノクロインクを排出させるモノクロ印刷指示であるか、又は、上記ヘッドを通じてカラーインクを排出させるカラー印刷指示であるかを判定し、
カラーインクが貯留された上記第1液室と連通する上記第2液室に貯留されているカラーインクの量に関する上記第1値が、上記第1閾値に到達していると判定し、且つ、上記記録指示がカラー印刷指示であると判定したことに基づいて、上記ヘッドからの液体の排出を禁止し、
カラーインクが貯留された上記第1液室と連通する上記第2液室に貯留されているカラーインクの量に関する上記第1値が、上記第1閾値に到達していると判定し、且つ、上記記録指示がモノクロ印刷指示であると判定したことに基づいて、上記ヘッドからの液体の排出を許可する
請求項1から4のいずれかに記載の液体排出装置。
In the above mounting case,
Both the cartridge having the first liquid chamber in which the color ink used for color printing is stored and the cartridge having the first liquid chamber in which the monochrome ink used for monochrome printing are stored are mounted.
The above controller
As the above discharge instruction, we accept a recording instruction to record an image on the sheet,
It is determined whether the received recording instruction is a monochrome printing instruction for ejecting monochrome ink through the head or a color printing instruction for ejecting color ink through the head.
It is determined that the first value regarding the amount of the color ink stored in the second liquid chamber communicating with the first liquid chamber in which the color ink is stored has reached the first threshold value, and Based on the determination that the recording instruction is a color printing instruction, the discharge of liquid from the head is prohibited.
It is determined that the first value regarding the amount of the color ink stored in the second liquid chamber communicating with the first liquid chamber in which the color ink is stored has reached the first threshold value, and The liquid discharge device according to any one of claims 1 to 4, which permits the discharge of liquid from the head based on the determination that the recording instruction is a monochrome printing instruction.
インタフェースを更に備え、
上記コントローラは、
上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジのカートリッジメモリに記憶されたカートリッジ情報を上記インタフェースを通じて読み出し、
読み出した上記カートリッジ情報に基づいて、装着された上記カートリッジが第1のカートリッジであるか、又は、上記第1液室に最大貯留可能量の液体が貯留された状態で上記装着ケースに装着した際の上記第1液室から上記第2液室への液体の流入速度が上記第1のカートリッジと異なる第2のカートリッジであるかを判定し、
装着された上記カートリッジが上記第1のカートリッジであると判定したことに基づいて、第1所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定し、
装着された上記カートリッジが上記第2のカートリッジであると判定したことに基づいて、上記第1所定値と異なる第2所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する
請求項1から5のいずれかに記載の液体排出装置。
With more interfaces
The above controller
Based on the determination that the cartridge is mounted in the mounting case, the cartridge information stored in the cartridge memory of the cartridge is read out through the interface.
When the mounted cartridge is the first cartridge based on the read-out cartridge information, or when the mounted case is mounted in a state where the maximum amount of liquid that can be stored is stored in the first liquid chamber. It is determined whether the inflow rate of the liquid from the first liquid chamber to the second liquid chamber is a second cartridge different from that of the first cartridge.
Based on the determination that the mounted cartridge is the first cartridge, the first predetermined value is determined as the first threshold value, and the first value reaches the determined first threshold value. Judge whether or not,
Based on the determination that the mounted cartridge is the second cartridge, a second predetermined value different from the first predetermined value is determined as the first threshold value, and the first value is determined. The liquid discharging device according to any one of claims 1 to 5, which determines whether or not the first threshold value has been reached.
インタフェースを更に備え、
上記コントローラは、
上記第1信号の受信後に受け付けた上記排出指示で排出が指示された液体量に相当する値で、上記第1値としての第1カウント値を決定し、
上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジのカートリッジメモリに記憶されたカートリッジ情報を上記インタフェースを通じて読み出し、
読み出した上記カートリッジ情報に基づいて、装着された上記カートリッジが第1のカートリッジであるか、又は、上記第1液室に最大貯留可能量の液体が貯留された状態で上記装着ケースに装着した際の上記第1液室から上記第2液室への液体の流入速度が上記第1のカートリッジよりも大きい第2のカートリッジであるかを判定し、
装着された上記カートリッジが上記第1のカートリッジであると判定したことに基づいて、第3所定値を上記第1閾値として決定し、上記第1カウント値が、決定した上記第1閾値に到達しているか否かを判定し、
装着された上記カートリッジが上記第2のカートリッジであると判定したことに基づいて、上記第3所定値よりも大きい第4所定値を上記第1閾値として決定し、上記第1カウント値が、決定した上記第1閾値に到達しているか否かを判定する
請求項1から5のいずれかに記載の液体排出装置。
With more interfaces
The above controller
The first count value as the first value is determined by the value corresponding to the amount of the liquid instructed to be discharged by the discharge instruction received after receiving the first signal.
Based on the determination that the cartridge is mounted in the mounting case, the cartridge information stored in the cartridge memory of the cartridge is read out through the interface.
When the mounted cartridge is the first cartridge based on the read-out cartridge information, or when the mounted case is mounted in a state where the maximum amount of liquid that can be stored is stored in the first liquid chamber. It is determined whether the second cartridge has a liquid inflow rate from the first liquid chamber to the second liquid chamber higher than that of the first cartridge.
Based on the determination that the mounted cartridge is the first cartridge, the third predetermined value is determined as the first threshold value, and the first count value reaches the determined first threshold value. Judge whether or not it is
Based on the determination that the mounted cartridge is the second cartridge, a fourth predetermined value larger than the third predetermined value is determined as the first threshold value, and the first count value is determined. The liquid discharging device according to any one of claims 1 to 5, which determines whether or not the first threshold value has been reached.
インタフェースを更に備え、
上記コントローラは、
上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジが有するカートリッジメモリに記憶された上記第1液室の液面高さ又は液体量を、上記インタフェースを通じて読み出し、
読み出した上記液面高さ又は上記液体量に基づいて上記第1閾値を決定し、
上記第1値が、決定した上記第1閾値に到達しているか否かを判定する
請求項1から5のいずれかに記載の液体排出装置。
With more interfaces
The above controller
Based on the determination that the cartridge is mounted in the mounting case, the liquid level height or the liquid amount of the first liquid chamber stored in the cartridge memory of the cartridge is read out through the interface.
The first threshold value is determined based on the read-out liquid level height or the liquid amount.
The liquid discharge device according to any one of claims 1 to 5, wherein it is determined whether or not the first value has reached the determined first threshold value.
メモリを更に備え、
上記メモリは、印刷設定情報を記憶しており、
上記印刷設定情報は、第1印刷設定、又は、単位時間当たりの上記ヘッドからの液体の排出量が上記第1印刷設定と異なる第2印刷設定のいずれかを示し、
上記コントローラは、
上記印刷設定情報が上記第1印刷設定又は上記第2印刷設定のいずれを示すかを判定し、
上記印刷設定情報が上記第1印刷設定を示すと判定したことに基づいて、第5所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定し、
上記印刷設定情報が上記第2印刷設定を示すと判定したことに基づいて、上記第5所定値と異なる第6所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する
請求項1から8のいずれかに記載の液体排出装置。
With more memory
The above memory stores print setting information.
The print setting information indicates either the first print setting or the second print setting in which the amount of liquid discharged from the head per unit time is different from the first print setting.
The above controller
It is determined whether the print setting information indicates the first print setting or the second print setting.
Based on the determination that the print setting information indicates the first print setting, the fifth predetermined value is determined as the first threshold value, and whether the first value reaches the determined first threshold value. Judge whether or not,
Based on the determination that the print setting information indicates the second print setting, a sixth predetermined value different from the fifth predetermined value is determined as the first threshold value, and the first value is the determined first. The liquid discharge device according to any one of claims 1 to 8, which determines whether or not one threshold value has been reached.
上記コントローラは、
上記排出指示として、シートに画像を記録させる記録指示を受け付け、
上記記録指示は、第3印刷設定、又は、単位時間当たりの上記ヘッドからの液体の排出量が上記第3印刷設定と異なる第4印刷設定のいずれかを指定しており、
上記コントローラは、
受け付けた上記記録指示が上記第3印刷設定又は上記第4印刷設定のいずれを指定しているかを判定し、
上記記録指示が上記第3印刷設定を指定していると判定したことに基づいて、第7所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定し、
上記記録指示が上記第4印刷設定を指定していると判定したことに基づいて、上記第7所定値と異なる第8所定値を上記第1閾値として決定し、上記第1値が、決定した上記第1閾値に到達しているか否かを判定する
請求項1から8のいずれかに記載の液体排出装置。
The above controller
As the above discharge instruction, we accept a recording instruction to record an image on the sheet,
The recording instruction specifies either the third printing setting or the fourth printing setting in which the amount of liquid discharged from the head per unit time is different from the third printing setting.
The above controller
It is determined whether the received record instruction specifies either the third print setting or the fourth print setting.
Based on the determination that the recording instruction specifies the third print setting, the seventh predetermined value is determined as the first threshold value, and the first value reaches the determined first threshold value. Judge whether or not it is
Based on the determination that the recording instruction specifies the fourth print setting, an eighth predetermined value different from the seventh predetermined value is determined as the first threshold value, and the first value is determined. The liquid discharge device according to any one of claims 1 to 8, which determines whether or not the first threshold value has been reached.
インタフェースを更に備え、
上記コントローラは、
上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記カートリッジが有するカートリッジメモリに記憶された、上記第1液室に貯留された液体量を上記インタフェースを通じて読み出し、
読み出した上記液体量が第2閾値以上であるか判定し、
上記液体量が上記第2閾値以上であると判定したことに基づいて、上記第1値が上記第1閾値に到達しているか否かを判定する
請求項1から10のいずれかに記載の液体排出装置。
With more interfaces
The above controller
Based on the determination that the cartridge is mounted in the mounting case, the amount of liquid stored in the first liquid chamber stored in the cartridge memory of the cartridge is read out through the interface.
It is determined whether the read-out amount of the liquid is equal to or greater than the second threshold value.
The liquid according to any one of claims 1 to 10, wherein it is determined whether or not the first value has reached the first threshold value based on the determination that the liquid amount is equal to or higher than the second threshold value. Discharge device.
上記装着ケースには、一端が上記第1液室と連通され且つ他端が外部と連通される第1流路、及び一端が上記第1液室と連通され且つ他端が外部と連通される第2流路を有するカートリッジが装着され、
上記タンクは、
一端が外部と連通され且つ他端が上記第2液室と連通される第3流路と、
上記第3流路よりも下方に位置する一端が上記第2液室と連通される第4流路と、
一端が上記第2液室に連通され且つ他端が外部と連通される第5流路と、
を有し、
上記ヘッドは、上記第4流路の他端と連通され、
上記第1流路及び上記第3流路の少なくとも一方は、上記カートリッジが上記装着ケースに装着されたときに、上記第1液室及び上記第2液室を連通する
請求項1から11のいずれかに記載の液体排出装置。
In the mounting case, one end is in communication with the first liquid chamber and the other end is in communication with the outside, and one end is in communication with the first liquid chamber and the other end is in communication with the outside. A cartridge with a second flow path is attached
The above tank is
A third flow path in which one end communicates with the outside and the other end communicates with the second liquid chamber.
A fourth flow path in which one end located below the third flow path communicates with the second liquid chamber, and
A fifth flow path in which one end communicates with the second liquid chamber and the other end communicates with the outside.
Have,
The head is communicated with the other end of the fourth flow path, and the head is communicated with the other end of the fourth flow path.
Any one of claims 1 to 11 that allows at least one of the first flow path and the third flow path to communicate with the first liquid chamber and the second liquid chamber when the cartridge is mounted in the mounting case. The liquid discharge device described in Crab.
液体が貯留された第1液室を有するカートリッジと、
上記カートリッジが装着される装着ケースと、
第2液室を有するタンクと、
一方が上記第2液室に連通されており、他方が上記装着ケースに装着された上記カートリッジの上記第1液室と連通される流路と、
上記第2液室と連通されるヘッドと、
液面センサと、
報知機と、
コントローラと、を備え、
上記コントローラは、
上記第2液室内の液面の位置が所定位置未満である場合に上記液面センサが出力する第1信号を受信したことに基づいて、上記報知機に第1報知を行わせ、
上記ヘッドを通じて液体を排出させる排出指示を受け付け、
上記第1信号の受信後に受け付けた上記排出指示で排出が指示された液体量に基づいて、上記第2液室に貯留されている液体の量に関する第1値を決定し、
上記カートリッジが上記装着ケースに装着されたかを判定し、
上記カートリッジが上記装着ケースに装着されたと判定したことに基づいて、上記第1値が第1閾値に到達しているか否かを判定し、
上記第1値が上記第1閾値に到達していないと判定したことに基づいて、上記第1報知を解除し、
上記第1値が上記第1閾値に到達していると判定し、且つ、上記第2液室内の液面の位置が上記所定位置以上である場合に上記液面センサが出力する第2信号を受信したことに基づいて、上記第1報知を解除する
液体排出装置。
A cartridge having a first liquid chamber in which liquid is stored,
The mounting case to which the above cartridge is mounted and the mounting case
A tank with a second liquid chamber and
One is communicated with the second liquid chamber, and the other is a flow path communicating with the first liquid chamber of the cartridge mounted on the mounting case.
The head that communicates with the second liquid chamber and
Liquid level sensor and
With an alarm
With a controller,
The above controller
Based on the reception of the first signal output by the liquid level sensor when the position of the liquid level in the second liquid chamber is less than the predetermined position, the alarm is made to perform the first notification.
Accepting the discharge instruction to discharge the liquid through the above head,
Based on the amount of liquid indicated to be discharged by the discharge instruction received after receiving the first signal, the first value regarding the amount of liquid stored in the second liquid chamber is determined.
It is determined whether the cartridge is mounted in the mounting case, and it is determined.
Based on the determination that the cartridge is mounted in the mounting case, it is determined whether or not the first value has reached the first threshold value.
Based on the determination that the first value has not reached the first threshold value, the first notification is canceled.
When it is determined that the first value has reached the first threshold value and the position of the liquid level in the second liquid chamber is equal to or higher than the predetermined position, the second signal output by the liquid level sensor is output. A liquid discharge device that cancels the first notification based on the reception.
JP2018110379A 2018-06-08 2018-06-08 Liquid drainer Active JP7063129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018110379A JP7063129B2 (en) 2018-06-08 2018-06-08 Liquid drainer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018110379A JP7063129B2 (en) 2018-06-08 2018-06-08 Liquid drainer

Publications (2)

Publication Number Publication Date
JP2019209667A JP2019209667A (en) 2019-12-12
JP7063129B2 true JP7063129B2 (en) 2022-05-09

Family

ID=68847161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018110379A Active JP7063129B2 (en) 2018-06-08 2018-06-08 Liquid drainer

Country Status (1)

Country Link
JP (1) JP7063129B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005001149A (en) 2003-06-10 2005-01-06 Ricoh Co Ltd Ink residual quantity display method
JP2008183869A (en) 2007-01-31 2008-08-14 Canon Inc Ink remaining amount sensing method
JP2008213162A (en) 2007-02-28 2008-09-18 Brother Ind Ltd Liquid droplet ejector
JP2013159070A (en) 2012-02-07 2013-08-19 Ricoh Co Ltd Image forming apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005001149A (en) 2003-06-10 2005-01-06 Ricoh Co Ltd Ink residual quantity display method
JP2008183869A (en) 2007-01-31 2008-08-14 Canon Inc Ink remaining amount sensing method
JP2008213162A (en) 2007-02-28 2008-09-18 Brother Ind Ltd Liquid droplet ejector
JP2013159070A (en) 2012-02-07 2013-08-19 Ricoh Co Ltd Image forming apparatus

Also Published As

Publication number Publication date
JP2019209667A (en) 2019-12-12

Similar Documents

Publication Publication Date Title
JP6859811B2 (en) Liquid drainer
JP6950245B2 (en) Liquid drainer
JP6859809B2 (en) Liquid drainer
US11203205B2 (en) Liquid discharge device
JP6848616B2 (en) Liquid drainer and cartridge
JP6939030B2 (en) Liquid drainer
US11059298B2 (en) Liquid discharge device
JP6874728B2 (en) Liquid drainer
US10717290B2 (en) Liquid discharge device
JP6950440B2 (en) Liquid drainer
JP7063129B2 (en) Liquid drainer
JP2022027963A (en) Liquid discharge device
JP7131030B2 (en) Liquid ejector
JP7119451B2 (en) Liquid discharge device and system
JP7077573B2 (en) Liquid drainer
JP6922352B2 (en) Liquid drainer
JP6992532B2 (en) Liquid consuming equipment and programs
JP6950438B2 (en) Liquid drainer
JP6988351B2 (en) Liquid drainer
JP7073853B2 (en) Liquid drainer
JP6879251B2 (en) Liquid drainer
JP7180099B2 (en) Liquid ejector
JP7087579B2 (en) Liquid drainer
JP7119450B2 (en) Liquid discharge device and system
JP7131031B2 (en) Liquid ejector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210604

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220311

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: 20220322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220404

R150 Certificate of patent or registration of utility model

Ref document number: 7063129

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150