[go: up one dir, main page]

JP2016033070A - Recording device - Google Patents

Recording device Download PDF

Info

Publication number
JP2016033070A
JP2016033070A JP2014155935A JP2014155935A JP2016033070A JP 2016033070 A JP2016033070 A JP 2016033070A JP 2014155935 A JP2014155935 A JP 2014155935A JP 2014155935 A JP2014155935 A JP 2014155935A JP 2016033070 A JP2016033070 A JP 2016033070A
Authority
JP
Japan
Prior art keywords
panel
stacker
closed
open
closing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014155935A
Other languages
Japanese (ja)
Inventor
太賀之 田中
Takayuki Tanaka
太賀之 田中
吉久 靖彦
Yasuhiko Yoshihisa
靖彦 吉久
近藤 学
Manabu Kondo
学 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014155935A priority Critical patent/JP2016033070A/en
Publication of JP2016033070A publication Critical patent/JP2016033070A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Pile Receivers (AREA)

Abstract

【課題】パネルとスタッカーとの衝突の発生頻度を低減できる記録装置を提供する。【解決手段】プリンターは、その本体に設けられた回動式の操作パネル13、操作パネル13の動力源となる第1モーター、本体に対して出退可能にスライドして突出位置(開位置)で記録済みの用紙を受けるスタッカー23と、スタッカー23の動力源となる第2モーターとを備えている。さらにプリンターは、第1モーター及び第2モーターを制御するコントローラーを備えている。コントローラーは、操作パネル13とスタッカー23とを閉じる場合、操作パネル13の開位置を検知する第1センサー63とスタッカー23が開位置にあることを検知する第2センサー74との検知信号に基づいて、スタッカー23が開位置でなくなった時点から操作パネルをその開位置で待機時間だけ待機させた後(図9(c))、操作パネル13の閉動作を開始させる。【選択図】図9A recording apparatus capable of reducing the frequency of occurrence of collision between a panel and a stacker is provided. The printer includes a rotary operation panel 13 provided in the main body, a first motor that is a power source of the operation panel 13, and a slide position that is slidable with respect to the main body (open position). , A stacker 23 that receives the recorded paper, and a second motor that serves as a power source for the stacker 23. The printer further includes a controller that controls the first motor and the second motor. When the controller closes the operation panel 13 and the stacker 23, the controller is based on detection signals from the first sensor 63 that detects the open position of the operation panel 13 and the second sensor 74 that detects that the stacker 23 is in the open position. After the stacker 23 is no longer in the open position, the operation panel is kept in the open position for a waiting time (FIG. 9C), and then the operation panel 13 is closed. [Selection] Figure 9

Description

本発明は、記録後に排出された媒体(用紙等)を受ける可動式のスタッカーと、筐体に設けられた可動式の操作パネル等のパネルとを備えた記録装置に関する。   The present invention relates to a recording apparatus including a movable stacker that receives a medium (paper or the like) discharged after recording, and a panel such as a movable operation panel provided in a housing.

例えば特許文献1には、記録後に排出された媒体(用紙等)を受ける可動式のスタッカーと、本体(筐体の一例)に設けられた可動式の操作パネル(パネルの一例)とが、共通の動力源である一つのモーターの動力により連動して動作する記録装置が開示されている。スタッカーは本体の前面下部に出退可能に設けられ、電源オン操作されると、本体内から外側へスライド移動して所定の開位置まで突出する。一方、操作パネルは、本体の前面上端部を中心に回動可能に設けられている。操作パネルが閉じた状態では、その下端部がスタッカーの移動経路上に位置する。このように操作パネルとスタッカーとの移動経路が一部で重複することで、記録装置の高さ方向の小型化を実現している。   For example, in Patent Document 1, a movable stacker that receives a medium (such as paper) discharged after recording and a movable operation panel (an example of a panel) provided on a main body (an example of a housing) are common. Discloses a recording apparatus that operates in conjunction with the power of a single motor, which is a power source. The stacker is provided at the lower part of the front surface of the main body so that it can be withdrawn and retracted. When the power is turned on, the stacker slides outward from the main body and protrudes to a predetermined open position. On the other hand, the operation panel is provided so as to be rotatable around the front upper end of the main body. When the operation panel is closed, the lower end portion thereof is positioned on the movement path of the stacker. In this way, the movement path between the operation panel and the stacker partially overlaps, so that the recording apparatus can be downsized in the height direction.

電源オン時は、モーターの動力によってスタッカーと操作パネルは連動して閉位置から開位置へ開動作するため、開動作の過程で両者が衝突することはなかった。操作パネルは開位置に配置されると、モーターとの動力伝達が遮断される構成となっており、操作パネルはユーザーが閉じる操作を手動で行う構成となっている。そのため、スタッカーは印刷時以外は不要なので、邪魔にならないようにモーターの動力で閉じるが、操作パネルはユーザーが印刷以外の他の用途、例えば設定操作等で使用することができる。   When the power is turned on, the stacker and the operation panel are operated to open from the closed position to the open position in conjunction with the power of the motor, so that they do not collide during the opening operation. When the operation panel is disposed at the open position, power transmission with the motor is interrupted, and the operation panel is configured to be manually closed by the user. Therefore, the stacker is unnecessary except during printing, and is closed by the power of the motor so as not to get in the way. However, the operation panel can be used by the user for other purposes other than printing, such as setting operation.

特開2013−209190号公報JP2013-209190A

しかしながら、特許文献1に記載の記録装置では、電源オン操作時にスタッカーが操作パネルの開動作と共に突出し、その突出した後にスタッカーが閉じる構成であったため、スタッカーが突出して直ぐに退避する動作が無駄な動作であった。この無駄な動作を無くすためには、パネルとスタッカーとを独立した動力源で動作させる必要がある。   However, in the recording apparatus described in Patent Document 1, since the stacker protrudes with the opening operation of the operation panel when the power is turned on, and the stacker closes after the protrusion, the operation in which the stacker protrudes and retracts immediately is useless operation Met. In order to eliminate this useless operation, it is necessary to operate the panel and the stacker with independent power sources.

しかし、特許文献1に記載の記録装置のように、パネルとスタッカーとの移動経路が一部で重複している構成では、操作パネルとスタッカーとを独立して駆動させた際に、両者が衝突する心配があった。なお、上記の課題は、操作パネルに限定されず、パネルが可動式のカバー等のカバーパネルであっても同様である。   However, in the configuration in which the movement path between the panel and the stacker partially overlaps as in the recording device described in Patent Document 1, when the operation panel and the stacker are driven independently, they collide with each other. I was worried. Note that the above-described problem is not limited to the operation panel, and the same applies even if the panel is a cover panel such as a movable cover.

本発明の目的は、パネルとスタッカーとの衝突の発生頻度を低減できる記録装置を提供することにある。   An object of the present invention is to provide a recording apparatus that can reduce the frequency of occurrence of collision between a panel and a stacker.

以下、上記課題を解決するための手段及びその作用効果について記載する。
上記課題を解決する記録装置は、記録装置の筺体に対して開閉可能に設けられたパネルと、前記筺体に対して出退可能に設けられた可動式のスタッカーと、前記パネルを駆動させる第1モーターと、前記スタッカーを駆動させる第2モーターと、前記第1モーター及び第2モーターを制御する制御部と、を備え、前記パネルが開閉する移動経路と前記スタッカーが出退する移動経路とが一部重なり、前記制御部は、閉指示を受け付けると、前記スタッカーを閉動作させるとともに当該閉動作の途中で当該スタッカーが所定の位置に達した後に、前記パネルの閉動作を開始させる。
Hereinafter, means for solving the above-described problems and the effects thereof will be described.
A recording apparatus that solves the above problems includes a panel that can be opened and closed with respect to a housing of the recording apparatus, a movable stacker that can be moved with respect to the housing, and a first that drives the panel. A motor, a second motor for driving the stacker, and a control unit for controlling the first motor and the second motor, and a movement path for opening and closing the panel and a movement path for moving the stacker out When the overlapping instruction is received, the control unit closes the stacker and starts the closing operation of the panel after the stacker reaches a predetermined position during the closing operation.

この構成によれば、制御部は、閉指示を受け付けると、スタッカーを閉動作させるとともにこの閉動作の途中でスタッカーが所定の位置に達した後に、パネルの閉動作を開始させる。よって、制御部がスタッカーとパネルとを閉じる際、両者の衝突の発生頻度を低減できる。   According to this configuration, when receiving the close instruction, the control unit closes the stacker and starts the panel closing operation after the stacker reaches a predetermined position during the closing operation. Therefore, when the control unit closes the stacker and the panel, the frequency of occurrence of collision between the two can be reduced.

上記記録装置では、前記パネルの位置を検出する第1位置検出部と、前記スタッカーの位置を検出する第2位置検出部とを、更に備え、前記制御部は、前記閉指示を受け付けると、前記パネルが前記スタッカーとの干渉を避けられる退避位置よりも閉側に位置する場合は、前記パネルを前記退避位置まで一旦開き、前記退避位置から閉動作を開始させることが好ましい。   The recording apparatus further includes a first position detecting unit that detects the position of the panel and a second position detecting unit that detects the position of the stacker, and the control unit receives the closing instruction, When the panel is positioned closer to the retracted position than avoiding interference with the stacker, it is preferable that the panel is once opened to the retracted position and the closing operation is started from the retracted position.

この構成によれば、制御部は、閉指示を受け付けたときに、パネルがスタッカーとの干渉を避けられる退避位置よりも閉側に位置する場合は、パネルを退避位置まで一旦開くことで、スタッカーの通路が確保される。スタッカーが所定の位置に達して両者が干渉しなくなったタイミング以後に、パネルが退避位置からの閉動作を開始する。よって、パネルとスタッカーとを両者の衝突を回避しつつ閉じることができる。   According to this configuration, when the control unit receives the close instruction, if the panel is located closer to the retracted position than the retractable position where the interference with the stacker can be avoided, the control unit temporarily opens the panel to the retracted position, A passage is secured. After the timing when the stacker reaches a predetermined position and the two do not interfere with each other, the panel starts to close from the retracted position. Therefore, the panel and the stacker can be closed while avoiding the collision between the two.

上記記録装置では、前記退避位置は、前記パネルの全開位置であることが好ましい。
この構成によれば、パネルが全開位置に退避するので、スタッカーの通路を確実に確保できる。また、全開位置であれば、全開位置を検知するセンサーを用いてもよいが、例えばセンサーを用いなくても、全開位置のエンドに当たることでパネルを退避位置に停止させることが可能になる。
In the recording apparatus, it is preferable that the retracted position is a fully opened position of the panel.
According to this configuration, the panel is retracted to the fully open position, so that the stacker passage can be reliably secured. In addition, a sensor that detects the fully open position may be used as long as it is in the fully open position, but the panel can be stopped at the retracted position by hitting the end of the fully open position, for example, without using a sensor.

上記記録装置では、前記第1位置検出部は、前記パネルの開位置を検知する第1センサーであり、前記退避位置は、前記第1センサーが前記パネルの閉を表す状態から開を表す状態に変わった位置であることが好ましい。   In the recording apparatus, the first position detection unit is a first sensor that detects an open position of the panel, and the retracted position is changed from a state in which the first sensor indicates closing of the panel to a state in which opening is performed. It is preferable that the position is changed.

この構成によれば、パネルを閉位置から開くときは、制御部が、第1センサーが閉を表す状態から開を表す状態に変わる位置までパネルを開動作させる。また、パネルとスタッカーとを閉じるときは、第1センサーを利用して、第1センサーがパネルの閉を表す状態から開を表す状態に変わった位置まで退避する。よって、パネルを開くときの制御と、パネルを閉じるときの制御とを、共通の第1センサーを用いて行うことができる。このため、部品点数が少なく済む。   According to this configuration, when the panel is opened from the closed position, the control unit opens the panel to a position where the first sensor changes from the closed state to the open state. Further, when the panel and the stacker are closed, the first sensor is used to retreat to a position where the first sensor has changed from a state representing closing of the panel to a state representing opening. Therefore, the control for opening the panel and the control for closing the panel can be performed using the common first sensor. For this reason, the number of parts can be reduced.

上記記録装置では、前記制御部が、前記スタッカーが所定の位置に達した後に、前記パネルの閉動作を開始させたときは、前記パネルの移動経路と前記スタッカーの移動経路とが一部重なる干渉領域では、前記スタッカーが閉方向へ先に移動したのち、前記パネルが閉方向へ移動するタイミングに調整されることが好ましい。   In the recording apparatus, when the control unit starts the closing operation of the panel after the stacker reaches a predetermined position, the movement path of the panel and the movement path of the stacker partially overlap each other. In the region, it is preferable that the adjustment is performed at a timing at which the panel moves in the closing direction after the stacker first moves in the closing direction.

この構成によれば、パネルの移動経路とスタッカーの移動経路とが一部重なる干渉領域では、スタッカーが閉方向へ先に移動したのち、パネルが閉方向へ移動する。よって、パネルとスタッカーとを衝突を回避しつつ両者を閉じることができる。例えばスタッカーが筐体内に収納された状態で、パネルが筐体側に閉じた状態とすることができる。例えばパネルとスタッカーとの干渉領域を通るタイミングが逆であると、筐体側に先に閉じたパネルが邪魔になってスタッカーを筐体内に収納できなくなる。   According to this configuration, in the interference region where the movement path of the panel and the movement path of the stacker partially overlap, after the stacker moves first in the closing direction, the panel moves in the closing direction. Therefore, the panel and the stacker can be closed while avoiding a collision. For example, the panel can be closed to the housing side while the stacker is housed in the housing. For example, if the timing of passing through the interference area between the panel and the stacker is reversed, the panel closed first on the housing side becomes an obstacle and the stacker cannot be stored in the housing.

上記記録装置では、前記パネルの可動域における位置を管理する第1位置管理部と、前記スタッカーの可動域における位置を管理する第2位置管理部と、を備え、前記制御部は、前記閉指示を受け付けたときの前記パネルの位置と前記スタッカーの位置とから、前記パネルと前記スタッカーとが閉動作の過程で干渉しない前記パネルの待機時間を取得し、前記スタッカーの閉動作を開始したのち、前記待機時間を待ってから前記パネルの閉動作を開始することが好ましい。   The recording apparatus includes: a first position management unit that manages a position of the panel in the movable range; and a second position management unit that manages a position of the stacker in the movable range, and the control unit includes the closing instruction. From the position of the panel and the position of the stacker when the panel is received, the panel and the stacker obtain a waiting time of the panel that does not interfere in the process of closing, and after starting the closing operation of the stacker, It is preferable to wait for the waiting time before starting the closing operation of the panel.

この構成によれば、制御部は、閉指示を受け付けたときのパネルの位置とスタッカーの位置とから、パネルとスタッカーとが閉動作の過程で干渉しないパネルの待機時間を取得し、スタッカーの閉動作を開始したのち、待機時間を待ってからパネルの閉動作を開始する。このため、閉指示を受け付けたときのパネルの位置とスタッカーの位置とから、両者の閉動作を開始することができる。   According to this configuration, the control unit obtains the standby time of the panel from which the panel and the stacker do not interfere during the closing operation from the panel position and the stacker position when the close instruction is received, and closes the stacker. After starting the operation, the panel closing operation is started after waiting for the waiting time. For this reason, the closing operation of both can be started from the position of the panel and the position of the stacker when the closing instruction is received.

上記記録装置では、前記第2位置検出部は、開動作中の前記スタッカーが開位置に達したことを検知する第2センサーであり、前記制御部は、前記パネルと前記スタッカーとを共に閉じる場合は、前記第2センサーが開を表す状態から閉を表す状態に変わってから、所定時間を待って、前記パネルの閉動作を開始することが好ましい。   In the recording apparatus, the second position detection unit is a second sensor that detects that the stacker being opened has reached the open position, and the control unit closes both the panel and the stacker. Preferably, after the second sensor changes from the open state to the close state, the panel closing operation is started after a predetermined time.

この構成によれば、スタッカーを閉位置から開くときは、制御部が、第2センサーが閉を表す状態から開を表す状態に変わる位置までスタッカーを開動作させることで、スタッカーは開かれる。また、パネルとスタッカーとを閉じるときは、第2センサーを利用して、第2センサーがパネルの開を表す状態から閉を表す状態に変わってから、所定時間を待って、パネルの閉動作が開始される。ので、パネルとスタッカーとの衝突を回避しつつ閉めることができる。よって、スタッカーを開くときの制御と、スタッカーを閉じるときの制御とを、共通の第2センサーを用いて行うことができる。このため、部品点数が少なく済む。   According to this configuration, when the stacker is opened from the closed position, the stacker is opened by causing the control unit to open the stacker to a position where the second sensor changes from the closed state to the open state. When the panel and stacker are closed, the second sensor is used to wait for a predetermined time after the second sensor changes from the state indicating the opening of the panel to the state indicating the closing. Be started. Therefore, it can be closed while avoiding the collision between the panel and the stacker. Therefore, the control for opening the stacker and the control for closing the stacker can be performed using the common second sensor. For this reason, the number of parts can be reduced.

上記記録装置では、前記制御部は、前記スタッカーが所定の位置よりも閉側に位置している場合は、前記パネルを前記退避位置に待機させることなく閉動作させることが好ましい。   In the recording apparatus, it is preferable that the control unit causes the panel to be closed without waiting at the retracted position when the stacker is positioned closer to the closed position than the predetermined position.

この構成によれば、スタッカーが所定の位置よりも閉側に位置している場合は、パネルは退避位置に待機することなく閉動作する。このため、パネルを無駄な待機をせずに閉めることができる。   According to this configuration, when the stacker is positioned closer to the closing position than the predetermined position, the panel is closed without waiting at the retracted position. For this reason, the panel can be closed without wasteful waiting.

上記記録装置では、前記制御部は、前記閉指示を受け付けたとき、前記スタッカーが所定の位置よりも閉側の位置にある場合は、前記パネルが前記退避位置よりも閉側にあっても、前記パネルの移動経路と前記スタッカーの移動経路とが一部重なる干渉領域になければ、前記パネルを前記退避位置に移動させることなく閉動作させることが好ましい。   In the recording apparatus, when the control unit receives the closing instruction, if the stacker is in a position closer to the closing side than a predetermined position, the panel is closer to the closing side than the retracted position. If the movement path of the panel and the movement path of the stacker are not in an interference region that partially overlaps, it is preferable that the panel is closed without being moved to the retracted position.

この構成によれば、スタッカーが所定の位置よりも閉側に位置する場合は、パネルが退避位置よりも閉側にあっても干渉領域になければ、退避位置に移動させることなく、閉動作させる。   According to this configuration, when the stacker is positioned closer to the closing position than the predetermined position, even if the panel is closer to the closing position than the retracting position, if the stacker is not in the interference region, the closing operation is performed without moving to the retracting position. .

第1実施形態におけるプリンターの斜視図。FIG. 3 is a perspective view of the printer according to the first embodiment. パネル及びスタッカーが開状態にあるプリンターの斜視図。FIG. 3 is a perspective view of the printer with the panel and the stacker in an open state. プリンターの側断面図。FIG. パネル及びその駆動装置を示す斜視図。The perspective view which shows a panel and its drive device. 第1センサーがパネルの開位置を検知する状態を示す模式側面図。The schematic side view which shows the state in which a 1st sensor detects the open position of a panel. スタッカー及びその駆動装置を示す斜視図。The perspective view which shows a stacker and its drive device. プリンターの電気的構成を示すブロック図。FIG. 3 is a block diagram illustrating an electrical configuration of the printer. (a)〜(d)はパネルとスタッカーのオープン制御を説明する模式側面図。(A)-(d) is a schematic side view explaining the open control of a panel and a stacker. (a)〜(d)はパネルとスタッカーのクローズ制御を説明する模式側面図。(A)-(d) is a schematic side view explaining the closing control of a panel and a stacker. オープン制御ルーチンを示すフローチャート。The flowchart which shows an open control routine. クローズ制御ルーチンを示すフローチャート。The flowchart which shows a close control routine. 第2実施形態におけるクローズ制御ルーチンを示すフローチャート。The flowchart which shows the close control routine in 2nd Embodiment.

(第1実施形態)
以下、記録装置をプリンターに具体化した第1実施形態を、図面を参照して説明する。
図1に示すように、プリンター11は、薄型の略直方体形状を有する筐体の一例としての装置本体12(以下、単に「本体12」ともいう。)と、本体12の前面(図1では右面)に設けられてユーザーの入力操作に用いられる操作パネル13とを備えている。操作パネル13は、上端部を中心に回動可能に取り付けられた回動式である。操作パネル13には、液晶パネル等よりなる表示部14及び複数の操作スイッチからなる操作部15を備えている。操作部15には、プリンター11の電源をオン・オフ操作するための電源スイッチ15a、及び表示部14に表示されたメニュー画面上で所望の項目を選択操作するためなどの操作スイッチ15bなどが含まれる。
(First embodiment)
Hereinafter, a first embodiment in which a recording apparatus is embodied in a printer will be described with reference to the drawings.
As shown in FIG. 1, the printer 11 includes an apparatus main body 12 (hereinafter, also simply referred to as “main body 12”) as an example of a thin housing having a substantially rectangular parallelepiped shape, and a front surface of the main body 12 (right surface in FIG. 1). And an operation panel 13 used for user input operations. The operation panel 13 is a rotation type attached so as to be rotatable about the upper end. The operation panel 13 includes a display unit 14 made of a liquid crystal panel or the like and an operation unit 15 made up of a plurality of operation switches. The operation unit 15 includes a power switch 15a for turning the printer 11 on and off, and an operation switch 15b for selecting and operating a desired item on the menu screen displayed on the display unit 14. It is.

図1に示すように、本体12内の下部には、媒体の一例としての用紙Pを複数枚収容可能な給送カセット16が挿抜可能な状態で挿着されている。給送カセット16に収容された複数枚の用紙Pはピックアップローラー17(図3参照)により一番上から順番に一枚ずつ送り出され、その送り出された用紙Pは所定の搬送経路に沿って搬送方向Yに搬送される。   As shown in FIG. 1, a feeding cassette 16 capable of accommodating a plurality of sheets P as an example of a medium is inserted in a lower portion of the main body 12 in a state where the feeding cassette 16 can be inserted and removed. A plurality of sheets P accommodated in the feeding cassette 16 are sent out one by one in order from the top by a pickup roller 17 (see FIG. 3), and the delivered sheets P are conveyed along a predetermined conveyance path. It is conveyed in the direction Y.

また、本体12内には、キャリッジ18が、搬送方向Yと交差する走査方向Xに沿って延びるガイド軸19に案内されて走査方向Xに往復移動可能な状態で設けられている。キャリッジ18の下部には、ノズルからインク滴を噴射する記録ヘッド20が取り付けられている。搬送方向に間欠的に搬送される用紙Pdの表面に向かって、走査方向Xにキャリッジ18と共に往復移動する記録ヘッド20からインク滴が噴射されることで、用紙Pdに印刷が施される。印刷済みの用紙Pdは、操作パネル13の下側に配置された回動式のカバー21が開いた状態で露出する排出口から、図1に白抜き矢印で示す方向へ排出される。なお、プリンター11は、本体12の後部に設けられた開閉式のカバー22を開けた状態で露出する挿入口から手差しで用紙Pを挿入して印刷することも可能になっている。   A carriage 18 is provided in the main body 12 so as to be reciprocally movable in the scanning direction X while being guided by a guide shaft 19 extending along the scanning direction X intersecting the transport direction Y. A recording head 20 that ejects ink droplets from nozzles is attached to the lower portion of the carriage 18. Printing is performed on the sheet Pd by ejecting ink droplets from the recording head 20 that reciprocally moves with the carriage 18 in the scanning direction X toward the surface of the sheet Pd that is intermittently conveyed in the conveying direction. The printed paper Pd is discharged in the direction indicated by the white arrow in FIG. 1 from the discharge port exposed when the rotary cover 21 disposed below the operation panel 13 is opened. The printer 11 can also perform printing by manually inserting the paper P from an insertion port that is exposed when the openable cover 22 provided at the rear of the main body 12 is opened.

図2に示すように、操作パネル13は、本体12の前面上端部を中心に回動することで開閉する可動式であり、図1に示す閉位置と図2に示す開位置との間を電動で回動する。また、図2に示すように、本体12には、略四角板状の一枚のトレイにより構成されるスタッカー23(媒体受け部)が出退(出没)可能な状態で設けられている。スタッカー23は電動式で、本体12内に収納された閉位置(退避位置)(例えば図1の状態)と、本体12から所定の出量で突出する開位置(例えば図2の状態)との間を往復移動可能となっている。操作パネル13とスタッカー23は別々の動力源により駆動される。例えば電源オン操作時は、操作パネル13は図1に示す閉位置から前方に回動して図2に示すようにユーザーから見易い所定の姿勢角の開位置に配置される。この開位置は、操作パネル13が図1に示す閉位置にあるときの姿勢角を0度とした場合に例えば約45度である。なお、開位置におけるパネル13の姿勢角は、45度に限らず、閉位置(0度)と全開との間の他の姿勢角でもよく、特に30〜70度の範囲内の角度が好ましい。   As shown in FIG. 2, the operation panel 13 is a movable type that opens and closes by rotating around the front upper end of the main body 12, and is between a closed position shown in FIG. 1 and an open position shown in FIG. 2. It is rotated electrically. Further, as shown in FIG. 2, the main body 12 is provided with a stacker 23 (medium receiving portion) constituted by a substantially square plate-like tray in a state in which the stacker 23 can move in and out. The stacker 23 is electrically operated and has a closed position (retracted position) (for example, the state shown in FIG. 1) housed in the main body 12 and an open position (for example, the state shown in FIG. 2) protruding from the main body 12 by a predetermined amount. It can move back and forth between them. The operation panel 13 and the stacker 23 are driven by separate power sources. For example, when the power is turned on, the operation panel 13 is rotated forward from the closed position shown in FIG. 1 and arranged at an open position with a predetermined posture angle that is easy for the user to see as shown in FIG. This open position is, for example, about 45 degrees when the attitude angle when the operation panel 13 is in the closed position shown in FIG. The posture angle of the panel 13 in the open position is not limited to 45 degrees, and may be any other posture angle between the closed position (0 degrees) and the fully open position, and an angle in the range of 30 to 70 degrees is particularly preferable.

また、印刷ジョブを受信したときなど印刷が行われるときに、スタッカー23は本体12から突出する。その突出するスタッカー23に押されてカバー21は開放される。そして、スタッカー23は、全開位置よりも少し手前の開位置に達すると減速して停止する。このため、スタッカー23は開位置から全開までの範囲(開領域)内に位置する開状態となる。印刷済みの用紙Pdは、開状態にあるスタッカー23上に排出される。印刷が終わると、スタッカー23は本体12内に収納されて閉位置に配置される。なお、スタッカー23が開状態から閉位置に退避しても、操作パネル13は開状態に保持される。   Further, the stacker 23 protrudes from the main body 12 when printing is performed such as when a print job is received. The cover 21 is opened by being pushed by the protruding stacker 23. Then, when the stacker 23 reaches the open position slightly before the fully open position, it decelerates and stops. For this reason, the stacker 23 is in an open state that is located in a range (open region) from the open position to the fully open position. The printed paper Pd is discharged onto the stacker 23 in the open state. When printing is finished, the stacker 23 is housed in the main body 12 and placed in the closed position. Even if the stacker 23 is retracted from the open state to the closed position, the operation panel 13 is held in the open state.

また、電源オフ操作時は、図2に示す開状態にある操作パネル13とスタッカー23とがそれぞれ閉動作をする。すなわち、操作パネル13の開状態からの閉動作と、スタッカー23の開状態からの閉動作とが同時期に行われる。また、表示部14には、スタッカー23の開動作又は閉動作を指示できる指示ボタン(アイコンボタン)が表示される。表示部14がタッチパネルであれば指示ボタンを直接押し、そうでない場合は操作スイッチ15bの操作で指示ボタンを選択操作することで、スタッカー23の開動作と閉動作を指示可能である。なお、指示ボタンは、開ボタンと閉ボタンとが別々に設けられてもよいし、スタッカー23の開状態では閉ボタンになり、スタッカー23の閉状態では開ボタンになる1つのボタンからなる構成でもよい。   When the power is turned off, the operation panel 13 and the stacker 23 in the open state shown in FIG. That is, the closing operation from the open state of the operation panel 13 and the closing operation from the open state of the stacker 23 are performed at the same time. In addition, an instruction button (icon button) that can instruct an opening operation or a closing operation of the stacker 23 is displayed on the display unit 14. If the display unit 14 is a touch panel, the instruction button can be directly pressed, and if not, the instruction button can be selected and operated by operating the operation switch 15b to instruct the opening and closing operations of the stacker 23. The instruction button may be provided with an open button and a close button separately, or may be configured as a single button that is a closed button when the stacker 23 is open and an open button when the stacker 23 is closed. Good.

本実施形態のプリンター11では、操作パネル13が回動するときの経路と、スタッカー23が出退するときの経路とが、途中で一部重なっている。このため、操作パネル13とスタッカー23とが、それぞれの位置及び開閉するタイミングによっては、経路の重なる部分(以下、「干渉領域」ともいう。)で衝突する虞がある。例えばスタッカー23の閉動作と操作パネル13の閉動作とを同時に行うと、操作パネル13の方が早く閉まるので、両者が衝突することになる。そのため本実施形態では、操作パネル13とスタッカー23とを、共に開くとき、あるいは共に閉めるときに、両者の動作タイミングを調整する制御を採用している。この制御の詳細については後述する。なお、以下の説明では、操作パネル13を単に「パネル13」と称する場合がある。   In the printer 11 according to the present embodiment, a route when the operation panel 13 rotates and a route when the stacker 23 moves out and overlap partially. For this reason, there is a possibility that the operation panel 13 and the stacker 23 may collide with each other in the overlapping part of the path (hereinafter also referred to as “interference area”) depending on the position and timing of opening and closing. For example, if the closing operation of the stacker 23 and the closing operation of the operation panel 13 are performed at the same time, the operation panel 13 closes earlier, so that they collide. For this reason, in the present embodiment, when the operation panel 13 and the stacker 23 are both opened or closed together, the control for adjusting the operation timing of both is employed. Details of this control will be described later. In the following description, the operation panel 13 may be simply referred to as “panel 13”.

次に、プリンター11の詳細な構成について説明する。
以下、図3を参照しながら用紙搬送経路上の構成要素について説明する。図3に示すように、本体12内には、用紙が給送・搬送される経路に沿って、カセット給送部25、給送部26、媒体搬送部27、記録部28及び送り部29が備えられている。カセット給送部25は、給送カセット16と、給送カセット16の上方に設けられたピックアップローラー17と、給送カセット16に収容された用紙Pの先端と対向する位置に設けられた分離部30とを備える。
Next, a detailed configuration of the printer 11 will be described.
Hereinafter, the components on the paper transport path will be described with reference to FIG. As shown in FIG. 3, a cassette feeding unit 25, a feeding unit 26, a medium conveying unit 27, a recording unit 28, and a feeding unit 29 are provided in the main body 12 along the path through which the sheet is fed and conveyed. Is provided. The cassette feeding unit 25 includes a feeding cassette 16, a pickup roller 17 provided above the feeding cassette 16, and a separation unit provided at a position facing the front end of the paper P stored in the feeding cassette 16. 30.

ピックアップローラー17は、揺動軸31を中心に揺動可能な揺動部材32の先端部に設けられ、搬送モーター33(図6参照)から伝達される動力によって回転する。ピックアップローラー17は、給送カセット16に収容された用紙Pの最上位のものと接して回転することにより、最上位の用紙Pを給送カセット16から給送経路へ送り出す。送り出される最上位の用紙Pは、その送り出し途中で分離部30により次位以降の用紙Pと分離される。   The pickup roller 17 is provided at the tip of a swing member 32 that can swing around a swing shaft 31, and rotates by power transmitted from the transport motor 33 (see FIG. 6). The pickup roller 17 rotates in contact with the uppermost sheet P stored in the feeding cassette 16, thereby feeding the uppermost sheet P from the feeding cassette 16 to the feeding path. The uppermost sheet P to be fed is separated from the next and subsequent sheets P by the separating unit 30 during the feeding.

図3に示すように、分離部30の給送経路下流側に設けられた給送部26は、搬送モーター33により駆動される給送駆動ローラー34と、一対の給送従動ローラー35,36とを備えている。給送駆動ローラー34と給送従動ローラー36との間に挟持された用紙Pは、給送駆動ローラー34の外周に沿って搬送方向が転換されつつ、媒体搬送部27へ搬送される。媒体搬送部27は、同じく搬送モーター33により駆動される搬送駆動ローラー37と、搬送駆動ローラー37に圧接して従動回転する搬送従動ローラー38とを備える。この媒体搬送部27により、用紙Pがさらに下流側へと送られる。   As shown in FIG. 3, the feeding unit 26 provided on the downstream side of the feeding path of the separation unit 30 includes a feeding driving roller 34 driven by the conveyance motor 33, a pair of feeding driven rollers 35 and 36, and It has. The sheet P sandwiched between the feeding drive roller 34 and the feeding driven roller 36 is conveyed to the medium conveying unit 27 while the conveyance direction is changed along the outer periphery of the feeding driving roller 34. The medium transport unit 27 includes a transport driving roller 37 that is also driven by the transport motor 33, and a transport driven roller 38 that is driven to rotate in pressure contact with the transport driving roller 37. The medium P is sent further downstream by the medium transport unit 27.

図3に示すように、媒体搬送部27の下流側に設けられた記録部28は、キャリッジ18と、記録ヘッド20と、記録ヘッド20と対向する支持台39とを備えている。キャリッジ18の底部に用紙Pの搬送経路と対向する状態で設けられた記録ヘッド20は、キャリッジ18がキャリッジモーター40(図6参照)の動力によってガイド軸19に案内されつつ走査方向X(図3では紙面と直交する方向)に往復動する過程で、用紙Pに対してインク滴を噴射して用紙Pに画像を印刷する。このとき、支持台39は、用紙Pを支持し、用紙Pと記録ヘッド20との距離(ギャップ)を規定する。   As shown in FIG. 3, the recording unit 28 provided on the downstream side of the medium conveying unit 27 includes a carriage 18, the recording head 20, and a support base 39 that faces the recording head 20. The recording head 20 provided at the bottom of the carriage 18 so as to face the conveyance path of the paper P is scanned in the scanning direction X (FIG. 3) while the carriage 18 is guided by the guide shaft 19 by the power of the carriage motor 40 (see FIG. 6). Then, in the process of reciprocating in the direction orthogonal to the paper surface, ink droplets are ejected onto the paper P to print an image on the paper P. At this time, the support base 39 supports the paper P and defines the distance (gap) between the paper P and the recording head 20.

そして、支持台39の下流側に設けられた送り部29は、搬送モーター33によって駆動される第1ローラー41と、第1ローラー41に接して従動回転する第2ローラー42とを備えている。そして、記録済みの用紙Pは第1ローラー41と第2ローラー42とに挟持された状態で、送り部29によって送り出される。   The feeding unit 29 provided on the downstream side of the support base 39 includes a first roller 41 driven by the transport motor 33 and a second roller 42 that rotates in contact with the first roller 41. The recorded paper P is sent out by the feeding unit 29 while being sandwiched between the first roller 41 and the second roller 42.

送り出された記録済みの用紙Pは、本体12内に収納された図3に実線で示す閉位置から印刷ジョブ受信時に前方側に突出して同図に二点鎖線で示す開位置に配置されたスタッカー23の上面に排出される。スタッカー23は、Y方向に沿ってスライドして本体12の外側(前方)へ突出する突出動作(開動作)と、反Y方向に沿ってスライドして本体12内に収納される退避動作(閉動作)とを行う。スタッカー23は、少なくとも印刷時には、本体12の外側へスライドして突出する。   The recorded paper P that has been sent out is projected from the closed position indicated by the solid line in FIG. 3 stored in the main body 12 to the front side when receiving a print job, and is disposed at the open position indicated by the two-dot chain line in FIG. 23 is discharged to the upper surface. The stacker 23 slides along the Y direction and protrudes to the outside (front) of the main body 12 (opening operation), and retracts (closes) that slides along the anti-Y direction and is stored in the main body 12. Operation). The stacker 23 slides out of the main body 12 and projects at least during printing.

また、本体12の後部(図3では右側)に設けられたカバー22を開けた状態で露出する給送口43から手差し挿入された用紙P(図2に二点鎖線で示す)は、給送駆動ローラー34と給送従動ローラー36との間に挿入され、この状態で搬送モーター33が駆動されることで、媒体搬送部27及び送り部29により搬送される。なお、本実施形態では、給送部26、媒体搬送部27及び送り部29により、搬送部の一例が構成される。   Further, the sheet P (shown by a two-dot chain line in FIG. 2) inserted manually from the feeding port 43 exposed with the cover 22 provided at the rear part (right side in FIG. 3) opened of the main body 12 is fed. It is inserted between the drive roller 34 and the feed driven roller 36 and is driven by the medium transport unit 27 and the feed unit 29 by driving the transport motor 33 in this state. In the present embodiment, the feeding unit 26, the medium transporting unit 27, and the feeding unit 29 constitute an example of the transporting unit.

スタッカー23は、搬送方向Yの先端部が先端側ほど高くなるように傾斜する傾斜案内面23aを形成しつつ上側へ膨出する台部23bと、台部23bの幅方向(走査方向Xに同じ)両側に隣接して台部23bよりも高く隆起する一対の隆起部23cとを有している。また、スタッカー23は先端部を除く基部23dが四角板状(図6参照)に形成されている。支持台39の下側に配置された板状のフレーム44と、これに対して所定の間隔を隔ててその下側に配置された板状の支持板部45との間には、スタッカー23の基部23dを収容可能な収容凹部46が形成されている。そして、スタッカー23は、その基部23dが収容凹部46内に深く挿入されることで図3に実線で示す閉位置に配置され、閉位置から本体12に対して外側(前方)へ突出する方向へ移動することで図3に二点鎖線で示す開位置(図2の状態)に配置される。ここで、開位置とは、排出された印刷後の用紙Pをスタッカー23上に積載することが可能な突出量にあるスタッカー23の位置である。   The stacker 23 is formed with an inclined guide surface 23a that is inclined so that the front end portion in the transport direction Y becomes higher toward the front end side, and a base portion 23b that bulges upward, and the width direction of the base portion 23b (same as the scanning direction X) ) A pair of raised portions 23c that are higher than the base portion 23b and are adjacent to both sides. Further, the stacker 23 has a base portion 23d excluding the tip portion formed in a square plate shape (see FIG. 6). Between the plate-like frame 44 arranged on the lower side of the support base 39 and the plate-like support plate portion 45 arranged on the lower side thereof with a predetermined interval therebetween, the stacker 23 An accommodation recess 46 capable of accommodating the base 23d is formed. The stacker 23 is placed in the closed position indicated by a solid line in FIG. 3 by inserting the base 23d deep into the receiving recess 46, and protrudes outward (forward) with respect to the main body 12 from the closed position. By moving, it is arranged at the open position (state shown in FIG. 2) indicated by a two-dot chain line in FIG. Here, the open position is the position of the stacker 23 in a protruding amount that allows the discharged printed paper P to be stacked on the stacker 23.

本実施形態のプリンター11では、電源オン操作時にまずパネル13のみが図3に二点鎖線で示す開位置に開動作する。その後、印刷ジョブを受信した際にスタッカー23が突出動作を行う。このように最初にパネル13を開き、スタッカー23の移動経路が確保された後、スタッカー23を突出動作させるので、両者は衝突しない。   In the printer 11 of the present embodiment, when the power is turned on, first, only the panel 13 is opened to the open position indicated by a two-dot chain line in FIG. Thereafter, the stacker 23 performs a protruding operation when a print job is received. Thus, since the panel 13 is first opened and the movement path of the stacker 23 is ensured, the stacker 23 is operated to project, so that they do not collide.

本実施形態のプリンター11は、CDRやDVD等のディスクのレーベル面に印刷するレーベル印刷機能を備える。図3に示すスタッカー23の先端部における幅方向両側には、ディスクがセットされたトレイ(いずれも図示略)をスライド挿入可能な幅方向(走査方向Xに同じ)両側に一対のガイド溝24(図3では一方のみ図示)が形成されている。ガイド溝24に沿って水平にトレイを挿入することで、トレイはローラー37,41上に載置されると共に奥側で一対のローラー37,38にニップされた状態で挿入される。なお、ローラー42を支持するユニットは、挿入したトレイと係合してローラー42がトレイから離間する高さまで少し上昇する。このように用紙Pへの印刷時と同様のローラー37,38,41を使って搬送されることで、搬送中のトレイ上にセットされたディスクのレーベル面に記録ヘッド20により印刷が施される。   The printer 11 according to the present embodiment has a label printing function for printing on the label surface of a disk such as a CDR or a DVD. A pair of guide grooves 24 (both in the scanning direction X) on both sides in the width direction (same as the scanning direction X) on which a disc (not shown) can be slid and inserted on both sides in the width direction at the tip of the stacker 23 shown in FIG. Only one of them is shown in FIG. By inserting the tray horizontally along the guide groove 24, the tray is placed on the rollers 37 and 41 and inserted in a state of being nipped between the pair of rollers 37 and 38 on the back side. The unit that supports the roller 42 is slightly raised to a height at which the roller 42 is separated from the tray by engaging with the inserted tray. In this way, by using the same rollers 37, 38, and 41 as when printing on the paper P, printing is performed by the recording head 20 on the label surface of the disc set on the tray being transported. .

本体12内には、レーベル印刷時にガイド溝24に沿って挿入されたトレイを検知するトレイセンサー48(図7参照)が設けられている。レーベル印刷終了後にガイド溝24に沿ってトレイを取り出したことは、トレイセンサー48により検知される。   A tray sensor 48 (see FIG. 7) that detects a tray inserted along the guide groove 24 during label printing is provided in the main body 12. The tray sensor 48 detects that the tray has been taken out along the guide groove 24 after the label printing is completed.

また、図3に示すように、このプリンター11では、閉位置にあるときのパネル13が、スタッカー23が閉位置から開位置へ移動する際の移動経路上に位置し、このようなレイアウトの採用により、パネル13の高さ方向の幅を広く確保しつつ、本体12の薄型化を実現している。このようにプリンター11では、スタッカー23がスライドして出退する領域と、パネル13が回動する領域とが干渉する構造となっている。   Further, as shown in FIG. 3, in this printer 11, the panel 13 when in the closed position is positioned on the movement path when the stacker 23 moves from the closed position to the open position, and such a layout is adopted. Thus, the main body 12 is thinned while ensuring a wide width in the height direction of the panel 13. As described above, the printer 11 has a structure in which the area where the stacker 23 slides and moves out and the area where the panel 13 rotates interfere with each other.

また、図1に示すようにパネル13とスタッカー23とが共に閉まった状態において、アイコンボタンを操作した際は、パネル13とスタッカー23とが同時に開動作を開始する。この場合も、パネル13とスタッカー23は衝突しない。   As shown in FIG. 1, when the icon button is operated in a state where the panel 13 and the stacker 23 are both closed, the panel 13 and the stacker 23 start opening simultaneously. Also in this case, the panel 13 and the stacker 23 do not collide.

図2に示すように、スタッカー23は印刷済みの用紙Pを受けるためには所定の出量を確保する必要がある。また、パネル13はユーザーが見易い約45度の姿勢角に配置される。そして、パネル13とスタッカー23とがこの開状態から閉じる場合、閉動作の開始が同じでも、パネル13の方が早くに閉まり、スタッカー23が後から遅れて閉まる。このタイミングであると、スタッカー23が閉まり切る前に隆起部23cがパネル13の下端部に衝突し、それ以上、スタッカー23が閉まり切らない。   As shown in FIG. 2, in order to receive the printed paper P, the stacker 23 needs to secure a predetermined output amount. Further, the panel 13 is disposed at a posture angle of about 45 degrees that is easy for the user to see. When the panel 13 and the stacker 23 are closed from this open state, even if the start of the closing operation is the same, the panel 13 closes earlier and the stacker 23 closes later. At this timing, the raised portion 23c collides with the lower end of the panel 13 before the stacker 23 is completely closed, and the stacker 23 is not completely closed.

また、パネル13及びスタッカー23はユーザーが手動で動かすことができるので、閉動作を開始するときのパネル13の姿勢角及びスタッカー23の出量が定まらない。このため、例えばパネル13が既に手動で閉められていた、あるいは10〜30度程度の閉寄りの姿勢角にあるときは、スタッカー23が閉じられたときにその隆起部23cが、パネル13の下端部に衝突する。そこで、本実施形態では、パネル13とスタッカー23とを閉めるときに、それぞれの動作開始タイミング等を調整して両者が衝突しない制御を採用している。   Further, since the panel 13 and the stacker 23 can be manually moved by the user, the attitude angle of the panel 13 and the protruding amount of the stacker 23 when starting the closing operation are not determined. For this reason, for example, when the panel 13 has already been manually closed or is in a close attitude angle of about 10 to 30 degrees, the raised portion 23c is formed at the lower end of the panel 13 when the stacker 23 is closed. Collide with the part. Therefore, in the present embodiment, when the panel 13 and the stacker 23 are closed, the control is performed such that the respective operation start timings are adjusted and the two do not collide.

次に、図4を参照してパネル13の構成について説明する。
パネル13は、その動力源となる第1モーター50(電動モーター)から動力伝達機構51を介して伝達された動力により、その両側部上端から突出する一対の回動軸13a(但し、図4では片側のみ図示)を中心として閉位置と開位置との間を回動する。本実施形態では、第1モーター50が正転駆動することにより、パネル13は閉位置から開位置へ向かう方向に開動作をし、第1モーター50が逆転駆動することにより、パネル13は開位置から閉位置へ向かう方向に閉動作をする。
Next, the configuration of the panel 13 will be described with reference to FIG.
The panel 13 has a pair of rotating shafts 13a (not shown in FIG. 4) that protrude from the upper ends of both side portions by the power transmitted from the first motor 50 (electric motor) serving as the power source via the power transmission mechanism 51. It pivots between a closed position and an open position centered on one side only). In the present embodiment, when the first motor 50 is driven forward, the panel 13 is opened in the direction from the closed position toward the open position, and when the first motor 50 is driven reversely, the panel 13 is opened. Closes in the direction from to the close position.

動力伝達機構51は、第1モーター50の駆動軸50aに嵌着されたピニオン52と噛合する小径の歯車53と、その歯車53が一端部に嵌着された回転軸54の他端部に嵌着された同じく小径の歯車55と、その歯車55と噛合する大径の歯車56とを備えている。さらに歯車56は、摩擦クラッチ57の歯車57aと噛合し、この歯車57aの回転は同軸上に配置された2つの二段歯車58,59に伝達され、二段歯車59の小径部59aが歯車60と噛合している。そして、歯車60と噛合する筒状の歯車61は、パネル13の上端側部に形成された扇形ギヤ65と噛合している。   The power transmission mechanism 51 is fitted to a small-diameter gear 53 that meshes with a pinion 52 that is fitted to the drive shaft 50a of the first motor 50, and the other end of the rotary shaft 54 that is fitted to one end. The same gear 55 having a small diameter and a large gear 56 meshing with the gear 55 are provided. Further, the gear 56 meshes with the gear 57 a of the friction clutch 57, and the rotation of the gear 57 a is transmitted to the two two-stage gears 58, 59 arranged coaxially, and the small-diameter portion 59 a of the two-stage gear 59 is transferred to the gear 60. Is engaged. A cylindrical gear 61 that meshes with the gear 60 meshes with a sector gear 65 formed on the upper end side of the panel 13.

摩擦クラッチ57は、本体12に固定される固定部57bと歯車57aとがコイルばね(図示略)に押圧された状態で設けられている。そのため、第1モーター50の駆動中は、歯車57aが固定部57bに対して相対回転し、その回転が歯車58〜61を介して扇形ギヤ65に伝達されることで、パネル13が回動する。そして、第1モーター50の停止中は、歯車57aと固定部57bとの間の摩擦力により、パネル13はそのときの姿勢に維持される。なお、歯車56は二段歯車で、その隣にほぼ同径の二段歯車64が同軸上に設けられている。   The friction clutch 57 is provided in a state where a fixing portion 57b fixed to the main body 12 and a gear 57a are pressed by a coil spring (not shown). Therefore, while the first motor 50 is being driven, the gear 57a rotates relative to the fixed portion 57b, and the rotation is transmitted to the sector gear 65 via the gears 58 to 61, whereby the panel 13 rotates. . While the first motor 50 is stopped, the panel 13 is maintained in the posture at that time by the frictional force between the gear 57a and the fixed portion 57b. The gear 56 is a two-stage gear, and a two-stage gear 64 having substantially the same diameter is provided coaxially next to the gear 56.

第1モーター50には、その回転量に比例した数のパルスを有する検出パルス信号を出力するエンコーダー62が設けられている。また、パネル13の裏面側には、パネル13が開位置にある状態を検知する第1センサー63(パネル開センサー)が配置されている。第1センサー63は、パネル13の裏面から延出する板状の被検知部13bを検知可能な光学式センサーにより構成される。パネル13が開位置の姿勢角にあるときに、被検知部13bは第1センサー63の検知光が通る凹部内に挿入可能となっている。パネル13が本体12の前面と平行になる姿勢角を0度とし、開方向をプラス方向とすると、パネル13は0〜90度の範囲で開閉する。   The first motor 50 is provided with an encoder 62 that outputs a detection pulse signal having a number of pulses proportional to the rotation amount. A first sensor 63 (panel open sensor) that detects a state in which the panel 13 is in the open position is disposed on the back side of the panel 13. The first sensor 63 is configured by an optical sensor that can detect the plate-like detected portion 13 b extending from the back surface of the panel 13. When the panel 13 is at the posture angle of the open position, the detected portion 13b can be inserted into the recess through which the detection light of the first sensor 63 passes. If the posture angle at which the panel 13 is parallel to the front surface of the main body 12 is 0 degree and the opening direction is a plus direction, the panel 13 opens and closes in the range of 0 to 90 degrees.

図5に示すように、パネル13が開位置のときの所定角度θ1まで開くと、第1センサー63の検知部63aが被検知部13bを検知しない非検知状態から、被検知部13bを検知する検知状態に切り換わる。つまり、第1センサー63の検知状態が閉を表す状態から開を表す状態に切り換わる。θ1は例えば30〜70度の範囲内の所定角度(一例として約45度)である。本実施形態では、所定角度θ1を、パネル13を閉じる際に行われるクローズ制御上の原点としている。なお、第1センサー63は、光学式センサー等の非接触式センサーではなく、接触式センサーとしてもよい。   As shown in FIG. 5, when the panel 13 is opened to a predetermined angle θ1 when the panel 13 is in the open position, the detection unit 63b of the first sensor 63 detects the detection unit 13b from the non-detection state where the detection unit 13b is not detected. Switch to the detection state. That is, the detection state of the first sensor 63 is switched from a state representing close to a state representing open. For example, θ1 is a predetermined angle within a range of 30 to 70 degrees (about 45 degrees as an example). In the present embodiment, the predetermined angle θ1 is set as the origin for the closing control performed when the panel 13 is closed. The first sensor 63 may be a contact sensor instead of a non-contact sensor such as an optical sensor.

ここで、第1センサー63の検知の切り換わり角をθ1度としているのは、次の理由による。θ1を例えば0度にすると、原点出しのためにパネル13を閉位置(0度)に移動させなければならず、例えばそのときスタッカー23が突出した状態にあると、パネル13がスタッカー23上の印刷済みの用紙Pに当たる心配がある。一方、θ1を例えば90度にすると、電源オン時にパネル13を一旦全開位置まで移動させて原点出しを行ってから、全開位置から目標位置へ戻す動作となるので、無駄な動作が多くなり、パネル13が目標位置に配置されるまでの所要時間が長くなる。   Here, the reason why the detection switching angle of the first sensor 63 is set to θ1 degrees is as follows. For example, when θ1 is set to 0 degree, the panel 13 must be moved to the closed position (0 degree) for obtaining the origin. For example, if the stacker 23 is in a protruding state at that time, the panel 13 is placed on the stacker 23. There is a concern of hitting the printed paper P. On the other hand, if θ1 is set to 90 degrees, for example, the panel 13 is once moved to the fully open position when the power is turned on, the origin is set, and then returned to the target position from the fully open position. The time required until 13 is arranged at the target position becomes longer.

このため、本実施形態では、第1センサー63の検知の切り換わり角をθ1にすることで、θ1まで閉じてもパネル13がスタッカー23上の印刷済みの用紙Pに当たらず、θ1まで開いても、最大角度(一例として90度)まで開く場合に比べ時間がかからず、原点出しを早期に終えてパネル13を目標位置まで移動させることができる。   For this reason, in the present embodiment, the switching angle of detection of the first sensor 63 is set to θ1, so that the panel 13 does not hit the printed paper P on the stacker 23 and closes to θ1 even if it is closed to θ1. However, it takes less time than the case of opening up to the maximum angle (90 degrees as an example), and it is possible to move the panel 13 to the target position by finishing the origin point early.

次に、図6を参照してスタッカー23の構成について説明する。スタッカー23は、基部23dの上面に媒体受け面23eを備えている。媒体受け面23eの用紙幅方向の両端側には、突出方向(搬送方向Yに同じ)上流側から下流側へ延びる一対のラック69,69が設けられている。ラック69,69は、スタッカー23の動力源である第2モーター70の動力が伝達される動力伝達機構71を構成する回転軸72の軸方向に所定の間隔を開けた各位置に嵌着された一対のピニオン歯車73,73とそれぞれ噛合している。   Next, the configuration of the stacker 23 will be described with reference to FIG. The stacker 23 includes a medium receiving surface 23e on the upper surface of the base portion 23d. A pair of racks 69, 69 extending from the upstream side to the downstream side in the protruding direction (same as the transport direction Y) are provided at both ends of the medium receiving surface 23e in the paper width direction. The racks 69 and 69 are fitted at respective positions spaced apart by a predetermined distance in the axial direction of the rotary shaft 72 constituting the power transmission mechanism 71 to which the power of the second motor 70 that is the power source of the stacker 23 is transmitted. The pair of pinion gears 73 and 73 mesh with each other.

スタッカー23は、第2モーター70から動力伝達機構71を介して伝達された動力により、閉位置と開位置との間を移動する。本実施形態では、第2モーター70が正転駆動することにより、スタッカー23は閉位置から開位置へ向かう突出方向に移動し、第2モーター70が逆転駆動することにより、スタッカー23は開位置から閉位置へ向かう退避方向に移動する。   The stacker 23 moves between the closed position and the open position by the power transmitted from the second motor 70 via the power transmission mechanism 71. In the present embodiment, when the second motor 70 is driven forward, the stacker 23 moves in the protruding direction from the closed position toward the open position, and when the second motor 70 is driven reversely, the stacker 23 is moved from the open position. Move in the retreat direction toward the closed position.

また、本体12内には、スタッカー23が開位置にある状態を検知する第2センサー74(スタッカー開センサー)が設けられている。第2センサー74は、スタッカー23が開位置から全開までの範囲に位置する開状態にあるときに、スタッカー23の後端部に形成された切欠凹部23fを検知する。このため、第2センサー74は、スタッカー23が突出する途中の開位置で閉を表す状態から開を表す状態に切り換わり、スタッカー23が退避する途中の開位置で開を表す状態から閉を表す状態に切り換わる。ここで、スタッカー23の開位置は、例えばスタッカーの全閉位置を基準(0%)にして全開位置を100%としたときに、例えば70〜95%の範囲内に設定された位置である。なお、開位置は、例えば出量50〜100%の範囲内の適宜な値を設定することができる。   Further, a second sensor 74 (stacker open sensor) that detects a state in which the stacker 23 is in the open position is provided in the main body 12. The second sensor 74 detects the notch recess 23f formed in the rear end portion of the stacker 23 when the stacker 23 is in the open state located in the range from the open position to the fully open position. For this reason, the second sensor 74 is switched from a state representing opening at the open position in the middle of the stacker 23 projecting to a state representing opening, and represents the closing from the state representing the opening in the middle position where the stacker 23 is retracted. Switch to state. Here, the open position of the stacker 23 is, for example, a position set within a range of 70 to 95%, for example, when the fully open position is 100% with the fully closed position of the stacker as a reference (0%). The open position can be set to an appropriate value within the range of 50 to 100%, for example.

第2センサー74は、スタッカー23が閉状態から外側(開側)へ突出する開動作するときに、開位置で、スタッカー23の閉を表す状態から開を表す状態に変わるスイッチ式のセンサーである。第2センサー74は、例えば光学式の非接触センサーにより構成されるが、リミットスイッチ等の接触式センサーを用いることもできる。また、第2モーター70には、その回転量に比例する数のパルスを有する検出パルス信号を出力するエンコーダー75が設けられている。   The second sensor 74 is a switch type sensor that changes from a state indicating closing of the stacker 23 to a state indicating opening at the open position when the stacker 23 performs an opening operation that protrudes outward (open side) from the closed state. . The second sensor 74 is configured by, for example, an optical non-contact sensor, but a contact sensor such as a limit switch can also be used. The second motor 70 is provided with an encoder 75 that outputs a detection pulse signal having a number of pulses proportional to the rotation amount.

また、図6に示すように、基部23dの突出方向上流側(図6では左側)部分における幅方向中央部位には、凹部23gが形成されている。スタッカー23は、ピックアップローラー17を支持する揺動部材32(図3参照)を凹部23gで避けつつ閉位置に収納されるようになっている。このため、スタッカー23は、閉位置において本体12内に深い位置まで挿入可能になっている。よって、スタッカー23は一枚のトレイ構造からなるものの、本体12からの突出時に必要な出量が確保される。   Moreover, as shown in FIG. 6, the recessed part 23g is formed in the center part of the width direction in the protrusion direction upstream (base in FIG. 6) part of the base 23d. The stacker 23 is accommodated in the closed position while avoiding the swinging member 32 (see FIG. 3) supporting the pickup roller 17 by the recess 23g. For this reason, the stacker 23 can be inserted to a deep position in the main body 12 in the closed position. Therefore, although the stacker 23 has a single tray structure, a necessary amount of protrusion is ensured when protruding from the main body 12.

図6に示すように、電動モーター70の駆動軸に嵌着されたピニオン76の回転は、歯車77を介して歯車78に伝達される。歯車78の下側に歯車78の回転を伝達可能な状態で配列された歯車79a〜79gからなる歯車列79が、スタッカー23への動力伝達経路となる。歯車列79における動力伝達経路上の最終段に位置する歯車79gは、回転軸72の一端部に嵌着されている。この歯車79gの回転により回転軸72が回転することで一対のピニオン歯車73,73が回転し、これらと噛合する一対のラック69を介してスタッカー23が搬送方向Yと平行な方向にスライドするようになっている。歯車列79中の歯車79dは、摩擦クラッチ機構を備えた摩擦クラッチ79kの一部を構成しており、歯車79dに一定値を超える回転力が加わると動力伝達面が滑って空回りする。この摩擦クラッチ79kを構成する歯車79dが介在することで、ユーザーがスタッカー23を比較的軽い力で出退方向にスライド操作できるうえ、歯車の噛合音等も低減する。また、スタッカー23が仮に障害物に当たっても摩擦クラッチ79kで滑りロックしないため、第2モーター70に過度な負荷がかからない。   As shown in FIG. 6, the rotation of the pinion 76 fitted to the drive shaft of the electric motor 70 is transmitted to the gear 78 via the gear 77. A gear train 79 including gears 79 a to 79 g arranged in a state where the rotation of the gear 78 can be transmitted to the lower side of the gear 78 is a power transmission path to the stacker 23. A gear 79 g located at the final stage on the power transmission path in the gear train 79 is fitted to one end of the rotating shaft 72. The rotation of the rotating shaft 72 due to the rotation of the gear 79g causes the pair of pinion gears 73 and 73 to rotate, and the stacker 23 slides in a direction parallel to the transport direction Y through a pair of racks 69 meshing with the pinion gears 73 and 73. It has become. A gear 79d in the gear train 79 constitutes a part of a friction clutch 79k having a friction clutch mechanism. When a rotational force exceeding a certain value is applied to the gear 79d, the power transmission surface slips and idles. By interposing the gear 79d constituting the friction clutch 79k, the user can slide the stacker 23 in the retracting direction with a relatively light force, and the gear meshing noise and the like are reduced. Further, even if the stacker 23 hits an obstacle, the friction clutch 79k does not slip and lock, so that an excessive load is not applied to the second motor 70.

本実施形態では、後述するコントローラー80(図7参照)は、第2モーター70の正転駆動中に第2センサー74の検知状態が閉を表す状態から開を表す状態に切り換わると、第2モーター70を減速させつつ駆動停止させる。このため、スタッカー23は開位置よりも所定距離だけ突出側の位置で停止する。つまり、スタッカーは開位置と全開位置との間の開領域内の位置で停止する。   In the present embodiment, the controller 80 (see FIG. 7), which will be described later, is switched to the second state when the detection state of the second sensor 74 is switched from the closed state to the open state during the forward rotation of the second motor 70. The drive is stopped while the motor 70 is decelerated. For this reason, the stacker 23 stops at a position on the protruding side by a predetermined distance from the open position. That is, the stacker stops at a position in the open region between the open position and the fully open position.

次に、プリンター11の電気的構成を図7に基づいて説明する。
図7に示すように、プリンター11は各種制御を司るコントローラー80を備えている。コントローラー80は通信インターフェイス81を介してホスト装置200と通信可能に接続される。コントローラー80は、ホスト装置200から受信した印刷ジョブデータに基づいてプリンター11の印刷動作等を制御する。ホスト装置200は、例えばパーソナルコンピューターからなり、プリンタードライバー201を内蔵する。ホスト装置200は、キーボード及びマウスからなる入力部202を備え、ユーザーは入力部202を操作することにより、プリンタードライバー201がモニター(図示省略)に表示した設定画面において用紙種、用紙サイズ、印刷色及び印刷品質等を含む印刷条件情報を入力設定する。プリンタードライバー201は印刷条件情報に基づいて印刷の実行が指定された画像の印刷画像データを生成し、この印刷画像データに印刷条件情報の一部を含むヘッダーを付けて印刷ジョブデータを生成し、これをプリンター11へ送信する。
Next, the electrical configuration of the printer 11 will be described with reference to FIG.
As shown in FIG. 7, the printer 11 includes a controller 80 that performs various controls. The controller 80 is communicably connected to the host device 200 via the communication interface 81. The controller 80 controls the printing operation of the printer 11 based on the print job data received from the host device 200. The host device 200 is made up of a personal computer, for example, and incorporates a printer driver 201. The host device 200 includes an input unit 202 including a keyboard and a mouse, and the user operates the input unit 202 so that a paper type, a paper size, and a print color are displayed on a setting screen displayed on the monitor (not shown) by the printer driver 201. And print condition information including print quality and the like are input and set. The printer driver 201 generates print image data of an image for which execution of printing is designated based on the print condition information, generates print job data by adding a header including a part of the print condition information to the print image data, This is transmitted to the printer 11.

コントローラー80には、出力系として、キャリッジモーター40、搬送モーター33、第1モーター50、第2モーター70及び表示部14が電気的に接続されている。また、コントローラー80には、入力系として、電源スイッチ15a及び操作スイッチ15bを含む操作部15、リニアエンコーダー82、エンコーダー49,62,75、第1センサー63(パネル開センサー)、第2センサー74(スタッカー開センサー)及びトレイセンサー48が電気的に接続されている。   The controller 80 is electrically connected to the carriage motor 40, the transport motor 33, the first motor 50, the second motor 70, and the display unit 14 as an output system. Further, the controller 80 includes, as an input system, an operation unit 15 including a power switch 15a and an operation switch 15b, a linear encoder 82, encoders 49, 62, and 75, a first sensor 63 (panel open sensor), and a second sensor 74 ( A stacker open sensor) and a tray sensor 48 are electrically connected.

図7に示すように、コントローラー80は、コンピューター85、ヘッドドライバー86、モータードライバー87〜90及び表示ドライバー91を備える。コンピューター85は印刷ジョブデータに基づきヘッドドライバー86を介して記録ヘッド20を駆動し、印刷画像データに基づく画像等をインク滴の噴射により描画する。また、コンピューター85は、モータードライバー87を介してキャリッジモーター40を駆動制御し、キャリッジ18の走査方向Xへの移動を制御する。このとき、コンピューター85は、リニアエンコーダー82からの入力パルスをカウンター(図示省略)で計数することで、キャリッジ18の例えばホーム位置を原点とする移動位置を把握する。   As shown in FIG. 7, the controller 80 includes a computer 85, a head driver 86, motor drivers 87 to 90, and a display driver 91. The computer 85 drives the recording head 20 via the head driver 86 based on the print job data, and draws an image based on the print image data by ejecting ink droplets. Further, the computer 85 drives and controls the carriage motor 40 via the motor driver 87 and controls the movement of the carriage 18 in the scanning direction X. At this time, the computer 85 counts the input pulses from the linear encoder 82 with a counter (not shown), thereby grasping the movement position of the carriage 18 with the home position as the origin, for example.

さらにコンピューター85は、モータードライバー89を介して搬送モーター33を駆動制御する。ここで、搬送モーター33の動力伝達経路上に介在する動力伝達切換部92(クラッチ部)が給紙時に切り換えられることでピックアップローラー17が回転可能となっている。また、搬送モーター33の動力が伝達されて、給送駆動ローラー34、搬送駆動ローラー37及び第1ローラー41が回転する。このとき、コンピューター85は、エンコーダー49からの入力パルスをカウンター(図示省略)で計数することで、用紙Pの搬送位置を把握する。   Further, the computer 85 drives and controls the transport motor 33 via the motor driver 89. Here, the pickup roller 17 can be rotated by switching the power transmission switching unit 92 (clutch unit) interposed on the power transmission path of the transport motor 33 at the time of paper feeding. Further, the power of the transport motor 33 is transmitted, and the feeding drive roller 34, the transport drive roller 37, and the first roller 41 rotate. At this time, the computer 85 grasps the transport position of the paper P by counting the input pulses from the encoder 49 with a counter (not shown).

給送カセット16に収容された複数枚の用紙Pはピックアップローラー17により一番上から順番に一枚ずつ送り出され、その送り出された用紙Pは、給送駆動ローラー34、搬送駆動ローラー37及び第1ローラー41の回転によって所定経路に沿って搬送される。その搬送経路の途中の記録位置で用紙Pの表面に、キャリッジ18と共に走査方向Xに往復移動する記録ヘッド20からインク滴が噴射され、用紙Pの表面に画像又は文書が印刷される。   A plurality of sheets P accommodated in the feeding cassette 16 are sent out one by one in order from the top by the pickup roller 17, and the fed sheets P are fed to the feeding driving roller 34, the conveyance driving roller 37, and the second one. 1 roller 41 is rotated along a predetermined path. Ink droplets are ejected from the recording head 20 that reciprocates in the scanning direction X together with the carriage 18 onto the surface of the paper P at a recording position in the middle of the transport path, and an image or document is printed on the surface of the paper P.

また、図7に示すように、コンピューター85は、モータードライバー89を介して第1モーター50を駆動制御する。第1モーター50が正転駆動されると、パネル13が開方向へ回動し、第1モーター50が逆転駆動されると、パネル13が閉方向へ回動する。   Further, as shown in FIG. 7, the computer 85 drives and controls the first motor 50 via a motor driver 89. When the first motor 50 is driven in the forward direction, the panel 13 rotates in the opening direction, and when the first motor 50 is driven in the reverse direction, the panel 13 rotates in the closing direction.

第1センサー63(パネル開センサー)は、パネル13が約45度の開位置よりも開側の開領域でオンし、パネル13が開領域にないときにオフする。また、エンコーダー62は、第1モーター50の回転量に比例する数のパルスを有する検出パルス信号をコンピューター85へ出力する。   The first sensor 63 (panel open sensor) is turned on when the panel 13 is in the open region on the open side of the open position of about 45 degrees, and is turned off when the panel 13 is not in the open region. Further, the encoder 62 outputs a detection pulse signal having a number of pulses proportional to the rotation amount of the first motor 50 to the computer 85.

また、図7に示すように、コンピューター85は、モータードライバー90を介して第2モーター70を駆動制御する。第2モーター70が正転駆動されると、ピニオン歯車73が正転し、この正転するピニオン歯車73とラック69との噛合を介してスタッカー23は突出方向へ移動する。一方、第2モーター70が逆転駆動されると、ピニオン歯車73が逆転し、この逆転するピニオン歯車73とラック69との噛合を介してスタッカー23は本体12内への収納方向へ移動する。   Further, as shown in FIG. 7, the computer 85 drives and controls the second motor 70 via the motor driver 90. When the second motor 70 is driven to rotate in the forward direction, the pinion gear 73 rotates in the forward direction, and the stacker 23 moves in the protruding direction through the meshing of the forwardly rotating pinion gear 73 and the rack 69. On the other hand, when the second motor 70 is driven to rotate in the reverse direction, the pinion gear 73 rotates in the reverse direction, and the stacker 23 moves in the storing direction in the main body 12 through the meshing of the reversely rotating pinion gear 73 and the rack 69.

第2センサー74(スタッカー開センサー)は、スタッカー23が開位置よりも突出側の開領域でオンし、スタッカー23が開領域にないときにオフする。また、エンコーダー75は、第2モーター70の回転量に比例する数のパルスを有する検出パルス信号をコンピューター85へ出力する。   The second sensor 74 (stacker open sensor) is turned on when the stacker 23 is in the open region on the protruding side from the open position, and is turned off when the stacker 23 is not in the open region. Further, the encoder 75 outputs a detection pulse signal having a number of pulses proportional to the rotation amount of the second motor 70 to the computer 85.

図7に示すコンピューター85は、例えばCPU100、ASIC101(Application Specific IC(特定用途向けIC))、RAM102及び不揮発性メモリー103等を備えて構成される。不揮発性メモリー103には、図10及び図11にフローチャートで示されたスタッカー制御用のプログラムを含む各種のプログラムが記憶されている。コンピューター85は、CPU100が不揮発性メモリー103に記憶されたプログラムを実行することで構築されるソフトウェアからなる図7に示す複数の機能部を備える。すなわち、CPU100は、複数の機能部として、主制御部111、検出部112、判定部113、タイマー114、第1カウンター115及び第2カウンター116を備える。もちろん、コンピューター85を用いたソフトウェアの構成に限定されず、電子回路(例えばカスタムIC)等のハードウェアの構成や、あるいはソフトウェアとハードウェアとの協働による構成でもよい。   7 includes, for example, a CPU 100, an ASIC 101 (Application Specific IC (IC)), a RAM 102, a nonvolatile memory 103, and the like. The nonvolatile memory 103 stores various programs including the stacker control program shown in the flowcharts of FIGS. 10 and 11. The computer 85 includes a plurality of functional units shown in FIG. 7 that are software configured by the CPU 100 executing a program stored in the nonvolatile memory 103. That is, the CPU 100 includes a main control unit 111, a detection unit 112, a determination unit 113, a timer 114, a first counter 115, and a second counter 116 as a plurality of functional units. Of course, the configuration is not limited to software using the computer 85, and may be a configuration of hardware such as an electronic circuit (for example, a custom IC) or a configuration based on cooperation between software and hardware.

図7に示すように、主制御部111は、プリンター11を統括的に制御し、印刷系、パネル系及びスタッカー系の動作を制御する。主制御部111は、印刷系の制御を行うときは、各ドライバー86〜88を介して、記録ヘッド20、キャリッジモーター40及び搬送モーター33を制御する。主制御部111は、パネル系及びスタッカー系の制御を行うときは、各ドライバー89,90を介して第1モーター50及び第2モーター70を制御する。このパネル系及びスタッカー系の制御を行うときに、主制御部111は、検出部112の検出結果、判定部113の判定結果、タイマー114の計時時間、第1カウンター115及び第2カウンター116の各計数値を使用する。   As shown in FIG. 7, the main control unit 111 controls the printer 11 in an integrated manner, and controls the operations of the printing system, the panel system, and the stacker system. The main control unit 111 controls the recording head 20, the carriage motor 40, and the conveyance motor 33 via the drivers 86 to 88 when controlling the printing system. The main control unit 111 controls the first motor 50 and the second motor 70 via the drivers 89 and 90 when controlling the panel system and the stacker system. When performing control of the panel system and the stacker system, the main control unit 111 detects the detection result of the detection unit 112, the determination result of the determination unit 113, the time measured by the timer 114, each of the first counter 115 and the second counter 116. Use the count value.

検出部112は、第1モーター50及び第2モーター70のそれぞれにかかる過負荷を検出する。すなわち、検出部112は、パネル13がスタッカー23又は可動域のエンドに当たった際の第1モーター50の負荷が閾値を超えた過負荷を検出する。また、検出部112は、スタッカー23がパネル13又は可動域のエンドに当たった際の第2モーター70の負荷が閾値を超えた過負荷を検出する。過負荷の検出は、モーター50,70の電流値が閾値を超えたことをもって過負荷とする検出方法を用いることができる。また、エンコーダー62,75からの単位時間当たりの入力パルス数、つまりモーター50,70の駆動速度が閾値未満になったことをもって過負荷とする検出方法を用いることができる。また、エンコーダー62,75からのパルスエッジ間の間隔時間が閾値を超えたことをもって過負荷とする検出方法を用いることができる。なお、その他、モーター50,70のトルクを検出するなど、その他の過負荷検出方法を用いてもよい。   The detection unit 112 detects an overload applied to each of the first motor 50 and the second motor 70. That is, the detection unit 112 detects an overload in which the load of the first motor 50 exceeds the threshold when the panel 13 hits the stacker 23 or the end of the movable range. The detection unit 112 detects an overload in which the load of the second motor 70 exceeds the threshold when the stacker 23 hits the panel 13 or the end of the movable range. The overload can be detected by using a detection method for overloading when the current values of the motors 50 and 70 exceed a threshold value. In addition, it is possible to use a detection method for overloading when the number of input pulses from the encoders 62 and 75 per unit time, that is, when the driving speed of the motors 50 and 70 is less than a threshold value. In addition, it is possible to use a detection method in which an overload occurs when the interval time between pulse edges from the encoders 62 and 75 exceeds a threshold value. In addition, other overload detection methods such as detecting the torque of the motors 50 and 70 may be used.

判定部113は、パネル13とスタッカー23とのうち少なくとも一方の開動作を制御するオープン制御、及びパネル13とスタッカー23とのうち少なくとも一方の閉動作を制御するクローズ制御を行ううえで必要な各種の判定処理を行う。   The determination unit 113 performs various controls necessary for performing an open control for controlling at least one of the panel 13 and the stacker 23 and a close control for controlling at least one of the panel 13 and the stacker 23. The determination process is performed.

タイマー114は、パネル13及びスタッカー23を共に動かすオープン制御とクローズ制御において、パネル13とスタッカー23との経路が重なる干渉領域での衝突を回避するために、一方(本例ではパネル13)に課される待機時間WTを計時する。   In the open control and the close control in which the panel 13 and the stacker 23 are moved together, the timer 114 is imposed on one (panel 13 in this example) in order to avoid a collision in an interference region where the paths of the panel 13 and the stacker 23 overlap. The waiting time WT to be performed is counted.

第1カウンター115は、パネル13の回動位置を計数する。本実施形態では、パネル13の位置制御上、特にパネル13の絶対位置は管理しておらず、第1モーター50を速度制御するときに必要な位置を把握するために使用される。なお、第1カウンター115の計数値によってパネル13の絶対位置を管理してもよい。例えば第1カウンター115は、パネル13がエンドに当たって過負荷を検出した位置、あるいはパネル13が開位置にあることを第1センサー63が検知したときのパネル13の位置を原点として、エンコーダー62からの検出パルス信号のパルスエッジを計数する。そして、パネル13が開動作のときに第1カウンター115の値をインクリメントし、一方、パネル13が閉動作のときに第1カウンター115の値をデクリメントする。   The first counter 115 counts the rotational position of the panel 13. In the present embodiment, the absolute position of the panel 13 is not particularly managed for the position control of the panel 13, and is used for grasping the position necessary when the speed of the first motor 50 is controlled. Note that the absolute position of the panel 13 may be managed by the count value of the first counter 115. For example, the first counter 115 receives the position from the encoder 62 from the position where the panel 13 hits the end and the overload is detected or the position of the panel 13 when the first sensor 63 detects that the panel 13 is in the open position. The pulse edges of the detection pulse signal are counted. Then, the value of the first counter 115 is incremented when the panel 13 is in the opening operation, while the value of the first counter 115 is decremented when the panel 13 is in the closing operation.

第2カウンター116は、スタッカー23の位置を計数する。本実施形態では、特にスタッカー23の絶対位置は管理しておらず、第2モーター70を速度制御するときに必要な位置を把握するために使用される。スタッカー23の動力伝達機構51中の摩擦クラッチ79kで滑りが生じるため、第2モーター70の回転位置を管理してもスタッカー23の実際の位置とずれてしまう。このため、本例では、スタッカー23の可動域内の絶対位置は管理していない。主制御部111は、第2カウンター116の値に応じた指令値をモータードライバー90に出力することで、スタッカー23を移動開始位置から停止位置まで移動させる過程でスタッカー23のその時々の位置に応じた速度に第2モーター70を速度制御する。なお、摩擦クラッチ79kを廃止した構成とした場合は、第2カウンター116によりスタッカー23の絶対位置を管理してもよい。この場合、第2カウンター116は、スタッカー23がエンドに当たって過負荷を検出したときの位置、又はスタッカー23が開位置にあることを第2センサー74が検知したときの位置を原点とする。そして、第2カウンター116は、エンコーダー75からの検出パルス信号のパルスエッジの数を、スタッカー23が開動作するときにインクリメントし、スタッカー23が閉動作するときにデクリメントする。   The second counter 116 counts the position of the stacker 23. In the present embodiment, the absolute position of the stacker 23 is not particularly managed, and is used for grasping the position required when the speed of the second motor 70 is controlled. Since the slip is generated by the friction clutch 79k in the power transmission mechanism 51 of the stacker 23, even if the rotational position of the second motor 70 is managed, the actual position of the stacker 23 is shifted. For this reason, in this example, the absolute position within the movable range of the stacker 23 is not managed. The main control unit 111 outputs a command value corresponding to the value of the second counter 116 to the motor driver 90, so that the stacker 23 is moved from the movement start position to the stop position in accordance with the current position of the stacker 23. The speed of the second motor 70 is controlled to the determined speed. When the friction clutch 79k is eliminated, the absolute position of the stacker 23 may be managed by the second counter 116. In this case, the second counter 116 uses the position when the stacker 23 hits the end and detects an overload or the position when the second sensor 74 detects that the stacker 23 is in the open position as an origin. Then, the second counter 116 increments the number of pulse edges of the detection pulse signal from the encoder 75 when the stacker 23 opens and decrements when the stacker 23 closes.

コンピューター85は、パネル13とスタッカー23とが開動作を行う過程において干渉領域で衝突しないように第1モーター50及び第2モーター70を制御するオープン制御と、パネル13とスタッカー23とが閉動作を行う過程において干渉領域で衝突しないように第1モーター50及び第2モーター70を制御するクローズ制御とを行う。   The computer 85 performs an open control for controlling the first motor 50 and the second motor 70 so that the panel 13 and the stacker 23 do not collide in the interference region in the process of performing the opening operation, and the panel 13 and the stacker 23 perform the closing operation. Close control for controlling the first motor 50 and the second motor 70 is performed so as not to collide in the interference region in the course of performing.

オープン制御は、ユーザーの電源オン操作時、開ボタン操作時、印刷データ受信時及びレーベル印刷受付け時に行われる。つまり、CPU100は、プリンター11のオフ中(電源OFF中)に、電源スイッチ15aから電源オン操作信号の入力時、開ボタン操作信号入力時、印刷データ受信時に、レーベル印刷受付け時に、これらを開指示として受け付け、オープン制御を行う。   The open control is performed when the user turns on the power, operates the open button, receives print data, and receives label printing. That is, when the printer 11 is off (when the power is off), the CPU 100 instructs to open the power on operation signal input from the power switch 15a, the open button operation signal input, the print data reception, or the label print acceptance. And accept open control.

クローズ制御は、ユーザーの電源オフ操作時、閉ボタン操作時、印刷ジョブ終了時、スタッカー押込み操作時に行われる。つまり、CPU100は、プリンター11の起動中(電源オン中)において、電源スイッチ15aからの電源オフ操作信号入力時、閉ボタン操作信号入力時、印刷ジョブ終了時、スタッカー押込み操作検出時に、クローズ制御を実行する。なお、電源オフ操作信号入力時と閉ボタン操作信号入力時は、パネル13とスタッカー23との両方の閉動作をし、印刷ジョブ終了時とスタッカー押込み操作検出時は、スタッカー23のみ閉動作し、パネル13は動作しない。   The close control is performed when the user turns off the power, when the close button is operated, when the print job ends, or when the stacker is pushed. In other words, the CPU 100 performs the closing control when the printer 11 is activated (when the power is on), when a power-off operation signal is input from the power switch 15a, when a close button operation signal is input, when a print job is completed, or when a stacker pressing operation is detected. Run. When the power off operation signal and the close button operation signal are input, both the panel 13 and the stacker 23 are closed. When the print job is completed and when the stacker pushing operation is detected, only the stacker 23 is closed. Panel 13 does not operate.

ここで、スタッカー押込み操作検出とは、スタッカー押込みアシスト制御のトリガーとなるユーザーの押込み操作の検出を指す。本実施形態では、ユーザーがスタッカー23を軽く押し込むと、その押込み操作を検出してスタッカー23を自動で全閉位置まで退避させるスタッカー押込みアシスト制御を採用している。コンピューター85は、第2モーター70を駆動していないときに、第2センサー74がスタッカー23の開を表す状態から閉を表す状態への切り換わりを検知したことをもって、ユーザーによるスタッカー23の押込み操作を検出する。このスタッカー押込み操作を検出すると、コンピューター85は、第2モーター70を逆転駆動させて、スタッカー23を全閉位置に達するまで閉動作させるスタッカー押込みアシスト制御を実行する。コンピューター85は、スタッカー押込み操作検出時に、第2モーター70の逆転駆動を開始し、第2モーター70の駆動ステップ数が全閉位置に到達するに十分な所定ステップ数に達するか、スタッカー23が閉側のエンドに当たって過負荷が検出されるかすると、第2モーター70の逆転駆動を停止させる。   Here, the detection of the stacker pressing operation refers to the detection of the user's pressing operation that triggers the stacker pressing assist control. In this embodiment, when the user pushes the stacker 23 lightly, the stacker push assist control is used to detect the push operation and automatically retract the stacker 23 to the fully closed position. When the computer 85 is not driving the second motor 70, the push operation of the stacker 23 by the user is detected when the second sensor 74 detects the switching from the state indicating the opening of the stacker 23 to the state indicating the closing. Is detected. When this stacker pushing operation is detected, the computer 85 performs stacker pushing assist control for rotating the second motor 70 in the reverse direction and closing the stacker 23 until reaching the fully closed position. Upon detecting the stacker pushing operation, the computer 85 starts the reverse rotation driving of the second motor 70, and the number of driving steps of the second motor 70 reaches a predetermined number of steps sufficient to reach the fully closed position, or the stacker 23 is closed. If an overload is detected by hitting the end on the side, the reverse rotation driving of the second motor 70 is stopped.

以下、図8を参照してオープン制御について説明する。図8(a)は、電源オン操作信号入力時のオープン制御を示す。電源オン操作時は、印刷に使用するスタッカー23はまだ必要がないので、パネル13のみ開位置に回動させる。このとき、パネル13がスタッカー23と衝突することはない。   Hereinafter, the open control will be described with reference to FIG. FIG. 8A shows open control when a power-on operation signal is input. When the power is turned on, the stacker 23 used for printing is not necessary yet, so only the panel 13 is rotated to the open position. At this time, the panel 13 does not collide with the stacker 23.

図8(b)に示すように、スタッカー23が開位置にあるときには、パネル13と衝突することがないので、パネル13のみ開位置に回動させる。
図8(c)に示すように、パネル13の直ぐ前にスタッカー23の隆起部23cが位置している場合、パネル13を開位置に向かって回動させると、その下端部が隆起部23cに衝突する。パネル13は図8(c)の二点鎖線の位置でスタッカー23と衝突した状態で停止する。この場合、パネル13を開側へ移動させようとする第1モーター50に大きな過負荷がかかる。本実施形態では、第1モーター50に負荷が閾値を超える過負荷がかかった場合、パネル13の回動動作を停止する。そして、表示部14にエラーメッセージを表示し、例えばパネル13の手動操作を促す。
As shown in FIG. 8B, when the stacker 23 is in the open position, it does not collide with the panel 13, so that only the panel 13 is rotated to the open position.
As shown in FIG. 8C, when the raised portion 23c of the stacker 23 is positioned immediately before the panel 13, when the panel 13 is rotated toward the open position, the lower end portion thereof becomes the raised portion 23c. collide. The panel 13 stops in a state of colliding with the stacker 23 at the position of the two-dot chain line in FIG. In this case, a large overload is applied to the first motor 50 that attempts to move the panel 13 to the open side. In the present embodiment, when the first motor 50 is overloaded with a load exceeding a threshold value, the rotation operation of the panel 13 is stopped. Then, an error message is displayed on the display unit 14 to urge manual operation of the panel 13, for example.

そして、この状態からパネル13とスタッカー23とを同時に開側へ動作させる。この結果、図8(d)に示すように、パネル13とスタッカー23は衝突することなく同図の開位置に配置される。   Then, from this state, the panel 13 and the stacker 23 are simultaneously moved to the open side. As a result, as shown in FIG. 8D, the panel 13 and the stacker 23 are arranged at the open position in FIG. 8 without colliding.

また、開ボタン操作信号入力時は、パネル13とスタッカー23とを共に開動作させる。また、印刷データ受信時は、印刷された用紙Pを受けるためにスタッカー23を開動作させる。さらにレーベル印刷受付け時は、CDR又はDVD等のディスクをセットしたトレイ(図示略)を挿入するためのガイド溝24(図3、図6参照)がスタッカー23の隆起部23cに形成されているため、スタッカー23がもし突出していれば本体12内へ退避させる。また、パネル13を全開位置(例えば約90度)(例えば図9(a)中の水平状態に開いた二点鎖線で示す位置)まで開動作させる。パネル13が全開位置に配置されることで、トレイを挿入するときのパネル13が邪魔にならず、トレイをガイド溝24に沿ってスムーズにスライド挿入できる。   When an open button operation signal is input, both the panel 13 and the stacker 23 are opened. When receiving print data, the stacker 23 is opened to receive the printed paper P. Further, when receiving label printing, a guide groove 24 (see FIGS. 3 and 6) for inserting a tray (not shown) on which a disk such as CDR or DVD is set is formed in the raised portion 23c of the stacker 23. If the stacker 23 protrudes, it is retracted into the main body 12. Further, the panel 13 is opened to a fully opened position (for example, about 90 degrees) (for example, a position indicated by a two-dot chain line opened in a horizontal state in FIG. 9A). By disposing the panel 13 in the fully open position, the panel 13 when inserting the tray does not get in the way, and the tray can be smoothly slid along the guide groove 24.

次に、図9を参照してクローズ制御について説明する。
図9(a)に示すように、電源オン操作時にはパネル13は同図に実線で示す約45度の姿勢角で開位置に配置されるが、その後、ユーザーが操作し易い姿勢角にパネル13を回動させる。そのため、パネル13は、図9(a)に二点鎖線で示す、約10度の姿勢角や約90度の姿勢角に配置される場合もある。この状態でユーザーが電源オフ操作を行うと、図9(a)に実線で示す開位置よりも閉寄りに位置する二点鎖線で示すパネル13は、同図に矢印で示すように、スタッカー23の閉動作の邪魔にならない同図に実線で示す退避位置(つまり開位置)へ開動作し、スタッカー23が閉動作するための通路を確保する。このときスタッカー23はパネル13の開動作とほぼ同時に閉動作を開始している。一方、図9(a)における全開位置にパネル13が位置するときは、スタッカー23の通路は確保されているので、パネル13の同図に実線で示す退避位置(開位置)への回動は行われない。
Next, the close control will be described with reference to FIG.
As shown in FIG. 9A, when the power is turned on, the panel 13 is disposed at the open position at a posture angle of about 45 degrees indicated by a solid line in FIG. Rotate. Therefore, the panel 13 may be disposed at a posture angle of about 10 degrees or a posture angle of about 90 degrees as indicated by a two-dot chain line in FIG. When the user performs a power-off operation in this state, the panel 13 indicated by a two-dot chain line positioned closer to the closing position than the open position indicated by the solid line in FIG. The opening operation is performed to the retracted position (that is, the open position) indicated by the solid line in FIG. At this time, the stacker 23 starts the closing operation almost simultaneously with the opening operation of the panel 13. On the other hand, when the panel 13 is located at the fully open position in FIG. 9A, the passage of the stacker 23 is secured, so that the rotation of the panel 13 to the retracted position (open position) indicated by the solid line in FIG. Not done.

パネル13が退避位置へ回動した場合、閉動作中のスタッカー23が図9(b)に示す開位置に達し、第2センサー74の検知状態がスタッカー23の開を表す状態から閉を表す状態に切り換わると、これをトリガーとして、タイマー114による待機時間WTの計時が開始される。パネル13は退避位置(開位置)で待機時間WTの経過を待つ。そして、待機時間WTが経過すると、図9(c)に矢印で示すようにスタッカー23が所定の位置に到達し、スタッカー23が所定の位置に到達したこと、つまり待機時間WTが経過したことをトリガーにして、パネル13の閉動作を開始する。パネル13の閉動作は、スタッカー23が開位置を閉方向へ過ぎてから、待機時間WTの経過を待ってスタッカー23が所定の位置に到達すると開始されるので、スタッカー23が干渉領域を先に閉側へ移動したのちに、パネル13が干渉領域を閉側へ移動する。この結果、図9(c),(d)に示すように、パネル13とスタッカー23は衝突することなくそれぞれ閉位置まで移動する(図9(d))。このように本実施形態では、パネル13の移動を開始するタイミングを、スタッカー23が所定の位置に達した時とし、その所定の位置に達した時を、待機時間WTの計時により取得する。   When the panel 13 is rotated to the retracted position, the stacker 23 during the closing operation reaches the open position shown in FIG. 9B, and the detection state of the second sensor 74 represents the closing state from the state indicating the opening of the stacker 23. When this is switched, the timer 114 starts counting the standby time WT using this as a trigger. Panel 13 waits for waiting time WT to elapse at the retracted position (open position). Then, when the standby time WT elapses, the stacker 23 reaches a predetermined position as indicated by an arrow in FIG. 9C, and the stacker 23 reaches the predetermined position, that is, the standby time WT has elapsed. Using the trigger, the closing operation of the panel 13 is started. The closing operation of the panel 13 is started when the stacker 23 reaches the predetermined position after the waiting time WT has elapsed after the stacker 23 has passed the open position in the closing direction. After moving to the close side, the panel 13 moves the interference region to the close side. As a result, as shown in FIGS. 9C and 9D, the panel 13 and the stacker 23 each move to the closed position without colliding (FIG. 9D). As described above, in the present embodiment, the timing for starting the movement of the panel 13 is set when the stacker 23 reaches a predetermined position, and the time when the stacker 23 reaches the predetermined position is acquired by counting the standby time WT.

また、スタッカー23が開位置よりも閉寄りの位置(例えば図9(c))から閉動作を開始した場合、その閉動作の途中で第2センサー74の開を表す状態から閉を表す状態への切り換わりが現れない。本例では、スタッカー23が開位置よりも閉寄りの位置を閉動作の開始位置とする場合、パネル13が退避位置から直ちに閉動作を開始しても、パネル13とスタッカー23は干渉しないようになっている。このため、退避位置へ移動したパネル13は、退避位置(開位置)で待つことなく、直ぐに閉動作を開始する。   Further, when the stacker 23 starts the closing operation from a position closer to the closing position than the opening position (for example, FIG. 9C), the state indicating the opening of the second sensor 74 is changed to the state indicating the closing in the middle of the closing operation. The switch does not appear. In this example, when the position closer to the stacker 23 than the open position is set as the start position of the closing operation, the panel 13 and the stacker 23 do not interfere even if the panel 13 starts the closing operation immediately from the retracted position. It has become. Therefore, the panel 13 that has moved to the retracted position immediately starts a closing operation without waiting at the retracted position (open position).

また、印刷ジョブ終了時は、スタッカー23は閉動作させるが、パネル13は印刷ジョブ受信前の元の位置に移動させる。詳しくは、印刷ジョブを受信すると、パネル13の位置(角度)を不揮発性メモリー103の所定記憶領域に記憶し、印刷ジョブを終了すると、不揮発性メモリー103から読み出した元の位置データに基づいてパネル13を元の位置へ戻す制御を行う。また、レーベル印刷指示を受け付けたときはパネル13の現在位置(角度)を不揮発性メモリー103の所定記憶領域に記憶し、パネル13を全開位置へ退避させる。そして、ユーザーが挿入したトレイ上のディスクにレーベル印刷が施された後、ユーザーはスタッカー23のガイド溝24からトレイを取り外す。このトレイの取出しはトレイセンサー48(図7参照)により検知される。このレーベル印刷終了後にトレイの取出しを検知すると、不揮発性メモリー103からレーベル印刷指示受信時のパネル13の元の位置を読み出し、その読み出した元の位置(角度)にパネル13を戻す制御が行われる。   At the end of the print job, the stacker 23 is closed, but the panel 13 is moved to the original position before receiving the print job. Specifically, when a print job is received, the position (angle) of the panel 13 is stored in a predetermined storage area of the nonvolatile memory 103, and when the print job is completed, the panel is based on the original position data read from the nonvolatile memory 103. Control to return 13 to the original position is performed. When a label printing instruction is received, the current position (angle) of the panel 13 is stored in a predetermined storage area of the nonvolatile memory 103, and the panel 13 is retracted to the fully open position. Then, after label printing is performed on the disc on the tray inserted by the user, the user removes the tray from the guide groove 24 of the stacker 23. The removal of the tray is detected by a tray sensor 48 (see FIG. 7). When the removal of the tray is detected after the label printing is completed, the original position of the panel 13 at the time of receiving the label printing instruction is read from the nonvolatile memory 103, and the control to return the panel 13 to the original position (angle) read out is performed. .

次に上記のように構成されたプリンター11の作用を説明する。
本実施形態のプリンター11では、コンピューター85が、電源オン操作信号の入力、開ボタン操作信号の入力、印刷ジョブの受信、レーベル印刷指示の受付けなどを、開指示として受け付ける。まず、ユーザーが電源スイッチ15aを操作した電源オン操作信号入力時に、コンピューター85はパネル13の開動作を行う。また、印刷ジョブ受信時にコンピューター85は、スタッカー23開動作させる。ディスクのレーベル印刷受付け時に、パネル13を、ユーザーがトレイをスタッカー23のガイド溝24に沿って挿入する際に邪魔にならない角度、例えば全開位置(一例として90度)まで開動作させる。コンピューター85は、このような開指示を受け付けると、パネル13とスタッカー23とのうち少なくとも一方を開動作させるオープン制御を行う。このオープン制御では、図8(a)〜(d)に示した制御などが行われる。
Next, the operation of the printer 11 configured as described above will be described.
In the printer 11 of the present embodiment, the computer 85 accepts input of a power-on operation signal, input of an open button operation signal, reception of a print job, acceptance of a label print instruction, and the like as an open instruction. First, the computer 85 opens the panel 13 when a user inputs a power-on operation signal by operating the power switch 15a. In addition, when receiving a print job, the computer 85 opens the stacker 23. At the time of receiving the label printing of the disc, the panel 13 is opened to an angle that does not obstruct when the user inserts the tray along the guide groove 24 of the stacker 23, for example, a fully open position (90 degrees as an example). Upon receiving such an opening instruction, the computer 85 performs open control for opening at least one of the panel 13 and the stacker 23. In this open control, the control shown in FIGS. 8A to 8D is performed.

また、本実施形態のプリンター11では、コンピューター85が、電源オフ操作信号の入力、閉ボタン操作信号の入力、印刷ジョブ終了などを、閉指示(クローズ指示)として受け付ける。プリンター11の電源オフ操作信号入力時と閉ボタン操作信号入力時には、コンピューター85は、パネル13とスタッカー23とを共に閉動作させる。また、印刷ジョブを終了すると、コンピューター85は、スタッカー23を閉動作させるとともに、パネル13を印刷ジョブ受信時の元の位置に戻す制御を行う。コンピューター85は、このような閉指示を受け付けると、パネル13とスタッカー23とのうち少なくとも一方を閉動作させるクローズ制御を行う。このクローズ制御では、図9(a)〜(d)に示した制御などが行われる。また、ディスクのレーベル印刷終了時に、コンピューター85は、レーベル印刷指示受付け時に例えば全開位置まで開けたパネル13を元の位置に戻す制御を行う。   In the printer 11 of this embodiment, the computer 85 accepts an input of a power-off operation signal, an input of a close button operation signal, the end of a print job, and the like as a close instruction (close instruction). When the power-off operation signal is input to the printer 11 and the close button operation signal is input, the computer 85 closes both the panel 13 and the stacker 23. When the print job is finished, the computer 85 closes the stacker 23 and controls the panel 13 to return to the original position when the print job is received. When the computer 85 accepts such a close instruction, the computer 85 performs close control for closing at least one of the panel 13 and the stacker 23. In this close control, the control shown in FIGS. 9A to 9D is performed. At the end of disc label printing, the computer 85 performs control to return the panel 13 opened to, for example, the fully opened position to the original position when receiving the label printing instruction.

以下、図10を参照して、まずオープン制御ルーチンについて説明する。オープン制御は、電源オン操作信号入力時、開ボタン操作信号入力時、印刷ジョブ受信時及びレーベル印刷指示受付け時に、これらを開指示として受け付けたコンピューター85が、図10に示すオープン制御ルーチンを実行することにより行われる。なお、図10は、電源オン操作時にコンピューター85により実行されるオープン制御の一例を示す。以下では、図10を参照して電源オン操作を受け付けた際のオープン制御について説明する。ユーザーが電源スイッチ15aを操作して電源オン操作信号を受け付けると、コンピューター85はオープン制御を行う。このルーチンは、プリンター11が電源オンされると、コンピューター85内のCPU100により実行される。   Hereinafter, the open control routine will be described first with reference to FIG. In the open control, when a power-on operation signal is input, an open button operation signal is input, a print job is received, and a label print instruction is received, the computer 85 that has received these as an open instruction executes the open control routine shown in FIG. Is done. FIG. 10 shows an example of open control executed by the computer 85 when the power is turned on. Hereinafter, the open control when a power-on operation is received will be described with reference to FIG. When the user operates the power switch 15a and receives a power-on operation signal, the computer 85 performs open control. This routine is executed by the CPU 100 in the computer 85 when the printer 11 is powered on.

まずステップS11では、パネルのみ開動作を開始させる。第1モーター50を正転駆動させることにより、パネル13を閉位置から開動作させる。このとき、第2モーター70は駆動させない。   First, in step S11, only the panel is opened. By driving the first motor 50 in the forward direction, the panel 13 is opened from the closed position. At this time, the second motor 70 is not driven.

ステップS12では、第1モーターに過負荷が検出されたか否かを判断する。すなわち、パネル13の開動作中に過負荷が検出されたか否かを判断する。第1モーターに過負荷が検出されなければステップS13に進み、過負荷が検出されればステップS14に進む。   In step S12, it is determined whether or not an overload is detected in the first motor. That is, it is determined whether or not an overload is detected during the opening operation of the panel 13. If no overload is detected in the first motor, the process proceeds to step S13, and if an overload is detected, the process proceeds to step S14.

ステップS13では、パネルが開位置に達して第1センサー63の検知状態が閉から開に切り換わるパネル開が、検知されたか否かを判断する。パネル開を検知した場合はステップS14に進み、パネル開を検知しなかった場合はステップS12に戻る。   In step S13, it is determined whether or not a panel opening in which the panel reaches the open position and the detection state of the first sensor 63 switches from closed to open is detected. When the panel opening is detected, the process proceeds to step S14. When the panel opening is not detected, the process returns to step S12.

ステップS14では、パネルを停止させる。すなわち、コンピューター85は、第1モーター50の正転駆動を停止させる。このとき、パネル13は開位置に停止される必要はなく、例えば第1センサー63によるパネル開が検知されてから第1モーター50を減速してから停止させ、パネル13が開位置よりも開側の位置で停止してもよい。   In step S14, the panel is stopped. That is, the computer 85 stops the forward drive of the first motor 50. At this time, the panel 13 does not need to be stopped at the open position. For example, after the panel opening is detected by the first sensor 63, the first motor 50 is decelerated and stopped, and the panel 13 is opened from the open position. You may stop at the position.

例えば図8(a)に実線で示す適正な位置状態にあった場合、図8(b)に実線で示すようにスタッカーが突出位置にある場合は、パネル13は閉位置から開位置まで回動できるので、ユーザーが手で押さえたり障害物が置いてあったりした場合を除き、その開動作の途中で過負荷が検出されることはまずない。こうしてパネル13の開動作を開始してからパネル開が検知されるまで開動作を継続し、パネル開が検知されるとパネル13の開動作を停止する。一方、図8(c)に示すように、パネル13の開動作の経路上にスタッカー23の隆起部23cが位置する場合、パネル13が開動作を開始して直ぐにパネル13はスタッカー23の隆起部23cに衝突する。このため、パネル13の開動作の途中で過負荷が検出されると、パネル13が隆起部23cに衝突した図8(c)に二点鎖線で示す位置でその開動作が中断される。この場合、コンピューター85は、表示部14に手動でパネルを開くことを促すメッセージを表示させる。   For example, if the stacker is in the projecting position as shown by the solid line in FIG. 8B when the stacker is in the proper position shown by the solid line in FIG. 8A, the panel 13 rotates from the closed position to the open position. As a result, it is unlikely that an overload will be detected during the opening operation unless the user holds it with his hand or places an obstacle. Thus, after the opening operation of the panel 13 is started, the opening operation is continued until the panel opening is detected. When the panel opening is detected, the opening operation of the panel 13 is stopped. On the other hand, as shown in FIG. 8C, when the raised portion 23 c of the stacker 23 is located on the path of the opening operation of the panel 13, the panel 13 is raised immediately after the panel 13 starts the opening operation. 23c. For this reason, when an overload is detected during the opening operation of the panel 13, the opening operation is interrupted at a position indicated by a two-dot chain line in FIG. 8C where the panel 13 collides with the raised portion 23c. In this case, the computer 85 causes the display unit 14 to display a message that prompts the user to manually open the panel.

こうして電源オン操作によってパネル13が開動作をした場合、パネル13は図8(a),(b)に二点鎖線で示す開位置に配置されるか、図8(c)に二点鎖線で示す隆起部23cに衝突した位置に配置される。本実施形態のプリンター11では、操作スイッチ15bを操作してスタッカー23を開ける開操作を行うことができる。そして、ユーザーは必要に応じて開操作を行う。   When the panel 13 is opened by the power-on operation in this way, the panel 13 is disposed at the open position indicated by the two-dot chain line in FIGS. 8A and 8B, or by the two-dot chain line in FIG. It arrange | positions in the position which collided with the protruding part 23c to show. In the printer 11 of the present embodiment, an opening operation for opening the stacker 23 by operating the operation switch 15b can be performed. And a user performs opening operation as needed.

ステップS16では、開操作があったか否かを判断する。すなわち、ユーザーが操作スイッチ又は表示部14に表示されたアイコンボタンを操作して、スタッカー23を開こうとしたか否かを判断する。開操作がなければステップS16に進み、開操作があればステップS17に進む。   In step S16, it is determined whether or not an opening operation has been performed. That is, it is determined whether or not the user has attempted to open the stacker 23 by operating an operation switch or an icon button displayed on the display unit 14. If there is no opening operation, the process proceeds to step S16, and if there is an opening operation, the process proceeds to step S17.

ステップS16では、印刷データを受信したか否かを判断する。印刷データ(印刷ジョブデータ)を受信したか否かを判断する。印刷データを受信すればステップS17に進み、印刷データを受信しなければステップS15に戻る。   In step S16, it is determined whether print data has been received. It is determined whether print data (print job data) has been received. If print data is received, the process proceeds to step S17, and if print data is not received, the process returns to step S15.

ステップS17では、パネルは閉状態であるか否かを判断する。第1センサー63がオフしていればパネル13は閉状態であり、第1センサー63がオンしていればパネル13は開状態になる。パネル13が閉状態でなければ(つまり開状態であれば)、ステップS18に進み、パネル13が閉状態であればステップS19に進む。   In step S17, it is determined whether or not the panel is in a closed state. If the first sensor 63 is off, the panel 13 is in a closed state, and if the first sensor 63 is on, the panel 13 is in an open state. If the panel 13 is not closed (that is, if it is open), the process proceeds to step S18, and if the panel 13 is closed, the process proceeds to step S19.

ステップS18では、スタッカーのみ開動作させる。
ステップS19では、スタッカーが閉状態であるか否かを判断する。スタッカーが閉状態でなければ(つまり開状態であれば)、ステップS20に進み、スタッカーが閉状態であればステップS21に進む。
In step S18, only the stacker is opened.
In step S19, it is determined whether or not the stacker is in a closed state. If the stacker is not closed (that is, if it is open), the process proceeds to step S20, and if the stacker is closed, the process proceeds to step S21.

ステップS20では、パネルのみ開動作させる。例えば図8(b)に実線で示すように、例えばユーザーがパネル13を手動で閉じるなどしてパネル13が閉位置にある状態でスタッカー23が開位置に突出している場合は、図8(b)に二点鎖線で示すようにパネル13のみ開動作させる。   In step S20, only the panel is opened. For example, as shown by a solid line in FIG. 8B, for example, when the user manually closes the panel 13 and the stacker 23 protrudes to the open position while the panel 13 is in the closed position, FIG. Only the panel 13 is opened as indicated by a two-dot chain line in FIG.

ステップS21では、パネルとスタッカーとを共に開動作させる同時オープン制御を行う。例えば図8(c)に示すように、パネル13を開動作させるときにスタッカー23に衝突し、その衝突による過負荷検出位置でパネル13が同図の二点鎖線で示すように隆起部23cに当たった状態で停止している場合、コンピューター85は第1モーター50と第2モーター70とが同時に正転駆動させる。この結果、図8(c)に矢印で示すように、パネル13とスタッカー23とが同時に開き方向に動作するため、両者が衝突することなく開動作することができ、図8(d)に示すように、パネル13とスタッカー23とが共に開位置まで動作する。   In step S21, simultaneous open control is performed to open both the panel and the stacker. For example, as shown in FIG. 8 (c), when the panel 13 is opened, it collides with the stacker 23, and at the overload detection position due to the collision, the panel 13 moves to the raised portion 23c as shown by the two-dot chain line in the figure. When the computer 85 is stopped in the hit state, the computer 85 causes the first motor 50 and the second motor 70 to rotate forward at the same time. As a result, as indicated by an arrow in FIG. 8C, the panel 13 and the stacker 23 operate in the opening direction at the same time, so that they can be opened without colliding with each other, as shown in FIG. 8D. Thus, both the panel 13 and the stacker 23 operate to the open position.

なお、電源オン操作時に、図8(c)に示すように、パネル13がスタッカー23に衝突して停止した場合、同時オープン制御に移行してパネル13を開位置まで開動作させてもよい。この場合、第1及び第2モーター50,70を同時に正転駆動させ、パネル13とスタッカー23とを共に開動作させる。パネル13がスタッカー23と衝突しえない位置まで開くと、第2モーター70を逆転駆動してスタッカー23に閉動作させる。この構成によれば、パネル13のみを開動作させる途中でその経路上に位置していたスタッカー23に衝突しても、パネル13を開位置まで開くことができるうえ、スタッカー23が閉位置に戻るため、スタッカー23が邪魔にもならない。なお、パネル13がスタッカー23に衝突して停止した場合は、同時オープン制御に移行して、パネル13だけでなくスタッカー23も開位置まで移動させる構成としてもよい。この場合、スタッカー23は開位置から第2モーター70を逆転駆動させることで制御により閉じてもよいし、ユーザーが手動操作で閉じてもよい。   When the panel 13 collides with the stacker 23 and stops when the power is turned on, the operation may be shifted to the simultaneous open control to open the panel 13 to the open position. In this case, the first and second motors 50 and 70 are simultaneously driven in the normal direction to open the panel 13 and the stacker 23 together. When the panel 13 is opened to a position where it cannot collide with the stacker 23, the second motor 70 is driven in reverse to cause the stacker 23 to close. According to this configuration, even if only the panel 13 is opened, even if it collides with the stacker 23 located on the path, the panel 13 can be opened to the open position, and the stacker 23 returns to the closed position. Therefore, the stacker 23 does not get in the way. In addition, when the panel 13 collides with the stacker 23 and stops, it is good also as a structure which transfers to simultaneous open control and moves not only the panel 13 but the stacker 23 to an open position. In this case, the stacker 23 may be closed by control by driving the second motor 70 in the reverse direction from the open position, or may be closed manually by the user.

次に、図11を参照してクローズ制御ルーチンについて説明する。クローズ制御ルーチンは、ユーザーの電源オフ操作時、閉ボタン操作時、印刷ジョブ終了時、スタッカー押込み操作時に行われる。つまり、コンピューター85のCPU100は、プリンター11の起動中(電源オン中)において、電源スイッチ15aから電源オフ操作信号の入力時、閉ボタン操作信号入力時、印刷ジョブ終了時、スタッカー押込み操作検出時に、このクローズ制御ルーチンを実行する。   Next, the close control routine will be described with reference to FIG. The close control routine is performed when the user turns off the power, when the close button is operated, when the print job ends, or when the stacker is pushed. That is, the CPU 100 of the computer 85, when the printer 11 is running (power is on), when a power-off operation signal is input from the power switch 15a, when a close button operation signal is input, when a print job is completed, or when a stacker pressing operation is detected. This close control routine is executed.

まずステップS31では、スタッカーは開状態であるか否かを判断する。スタッカー23が開状態であればステップS32に進み、スタッカー23が開状態でなければ(つまり閉状態であれば)ステップS38に進む。   First, in step S31, it is determined whether or not the stacker is in an open state. If the stacker 23 is in the open state, the process proceeds to step S32, and if the stacker 23 is not in the open state (that is, in the closed state), the process proceeds to step S38.

ステップS32では、第2モーターを駆動してスタッカーを閉動作させる。すなわち、CPU100は、第2モーター70を逆転駆動させてスタッカー23を閉動作させる。
ステップS33では、パネルは閉状態であるか否かを判断する。パネルが閉状態であればステップS34に進み、パネルが閉状態でなければ(つまり開状態であれば)ステップS35に進む。
In step S32, the second motor is driven to close the stacker. That is, the CPU 100 rotates the second motor 70 in the reverse direction to close the stacker 23.
In step S33, it is determined whether or not the panel is in a closed state. If the panel is closed, the process proceeds to step S34, and if the panel is not closed (that is, if the panel is open), the process proceeds to step S35.

ステップS34では、第1モーターを駆動してパネルを開位置(退避位置)まで開動作させる。すなわち、第1モーター50を正転駆動させてパネル13を第1センサー63が閉から開に切り換わる開位置(図5)に達するまで開動作させる。   In step S34, the first motor is driven to open the panel to the open position (retracted position). That is, the first motor 50 is driven to rotate forward to open the panel 13 until it reaches the open position (FIG. 5) where the first sensor 63 switches from the closed state to the open state.

ステップS35では、スタッカーは閉状態であるか否かを判断する。つまり、開状態から閉動作を開始したスタッカー23が第2センサー74に検知されて開から閉の状態に切り換わったか否かを判断する。スタッカー23が閉状態であればステップS36に進み、スタッカー23が開状態のままであれば、スタッカー23が閉状態になるまでそのまま待機する。   In step S35, it is determined whether or not the stacker is in a closed state. That is, it is determined whether the stacker 23 that has started the closing operation from the open state is detected by the second sensor 74 and switched from the open state to the closed state. If the stacker 23 is in the closed state, the process proceeds to step S36. If the stacker 23 remains in the open state, the process waits until the stacker 23 is in the closed state.

ステップS36では、待機時間WTの計時を開始する。すなわち、CPU100は、タイマー114により待機時間WTの計時を開始する。例えばタイマー114に待機時間WTをセットし、その値が0(零)になるまでカウントダウンする。   In step S36, timing of the waiting time WT is started. That is, the CPU 100 starts measuring the standby time WT by the timer 114. For example, the standby time WT is set in the timer 114, and the countdown is performed until the value becomes 0 (zero).

ステップS37では、待機時間WTが経過したか否かを判断する。待機時間WTを経過していなければ経過するまでそのまま待機し、待機時間WTを経過すればステップS41に進む。   In step S37, it is determined whether standby time WT has elapsed. If the waiting time WT has not elapsed, the process waits until it elapses, and if the waiting time WT has elapsed, the process proceeds to step S41.

こうしてクローズ制御開始時にスタッカー23が開状態にあった場合は、スタッカー23が開から閉に切り換わった時点からの経過時間を計時し(例えばタイマー114をカウントダウンし)、パネル13が閉から開へ切り換わる所定の位置で待機時間WTの経過を待つ。   Thus, when the stacker 23 is in the open state at the start of the closing control, the elapsed time from the time when the stacker 23 switches from open to closed is counted (for example, the timer 114 is counted down), and the panel 13 is changed from closed to open. Wait for the elapse of the waiting time WT at a predetermined position to be switched.

ステップS41では、印刷ジョブ終了時であるか否かを判断する。つまり、今回のクローズ制御開始のトリガーが印刷ジョブ終了によるものであるか否かを判断する。印刷ジョブ終了時でなければステップS42に進み、印刷ジョブ終了時であればステップS43に進む。ここで、印刷ジョブ終了時以外のクローズ制御開始のトリガーとしては、ユーザーの電源オフ操作時、閉ボタン操作時、スタッカー押込み操作時がある。   In step S41, it is determined whether or not the print job has ended. That is, it is determined whether or not the current trigger for starting the close control is due to the end of the print job. If the print job is not completed, the process proceeds to step S42. If the print job is completed, the process proceeds to step S43. Here, as triggers for starting the closing control other than at the end of the print job, there are a user power-off operation, a close button operation, and a stacker push-in operation.

ステップS42では、第1モーターを駆動してパネルを閉動作させる。つまり、CPU100は、第1モーター50を逆転駆動してパネル13を開位置(退避位置)から閉動作させる。なお、待機時間WTを経過した時点でパネル13がまだ開位置に到達していなければ、開位置に到達した後、その開位置からパネル13の閉動作を開始させる。   In step S42, the first motor is driven to close the panel. That is, the CPU 100 drives the first motor 50 in the reverse direction to close the panel 13 from the open position (retracted position). If the panel 13 has not yet reached the open position when the standby time WT has elapsed, the closing operation of the panel 13 is started from the open position after reaching the open position.

一方、クローズ制御開始時に第2センサー74が開から閉に切り換わる開位置よりもスタッカー23が閉側に位置する閉状態にあった(S31で否定判定)場合は、以下の制御が行われる。   On the other hand, when the stacker 23 is in the closed state rather than the open position where the second sensor 74 switches from open to closed at the start of the close control (negative determination in S31), the following control is performed.

ステップS38において、第2モーターを駆動してスタッカーを閉動作させる。すなわち、第2モーター70を逆転駆動してスタッカー23を閉動作させる。スタッカー23は閉状態から閉動作を開始するので、開から閉への切り換わり位置は通らない。本実施形態では、スタッカー23が開から閉への切り換わり位置を既に閉側に過ぎた閉状態にあるときは、パネル13を所定の位置(開位置)で待機させるべき待機時間WTが0(零)になる。このため、タイマー114による計時は行われない。   In step S38, the second motor is driven to close the stacker. That is, the second motor 70 is driven in reverse to close the stacker 23. Since the stacker 23 starts the closing operation from the closed state, the switching position from the open state to the closed state does not pass. In the present embodiment, when the stacker 23 is in the closed state where the switching position from the open state to the closed state has already passed to the closed side, the standby time WT to wait for the panel 13 at the predetermined position (open position) is 0 ( Zero). For this reason, the timer 114 does not measure time.

ステップS39では、パネルは閉状態であるか否かを判断する。パネルが閉状態であればステップS40に進み、パネルが閉状態でなければ(つまり開状態であれば)ステップS41に進む。   In step S39, it is determined whether or not the panel is in a closed state. If the panel is closed, the process proceeds to step S40, and if the panel is not closed (that is, if the panel is open), the process proceeds to step S41.

ステップS40では、第1モーターを駆動してパネルを開位置まで開動作させる。すなわち、第1モーター50を正転駆動させてパネル13を第1センサー63が閉から開に切り換わる開位置(図5)に達するまで開動作させる。   In step S40, the first motor is driven to open the panel to the open position. That is, the first motor 50 is driven to rotate forward to open the panel 13 until it reaches the open position (FIG. 5) where the first sensor 63 switches from the closed state to the open state.

ステップS41では、印刷ジョブ終了時であるか否かを判断する。つまり、今回のクローズ制御開始のトリガーが印刷ジョブ終了によるものであるか否かを判断する。印刷ジョブ終了時でなければステップS42に進み、印刷ジョブ終了時であればステップS43に進む。ここで、印刷ジョブ終了時以外のクローズ制御開始のトリガーとしては、ユーザーの電源オフ操作時、閉ボタン操作時、スタッカー押込み操作時がある。   In step S41, it is determined whether or not the print job has ended. That is, it is determined whether or not the current trigger for starting the close control is due to the end of the print job. If the print job is not completed, the process proceeds to step S42. If the print job is completed, the process proceeds to step S43. Here, as triggers for starting the closing control other than at the end of the print job, there are a user power-off operation, a close button operation, and a stacker push-in operation.

ステップS42では、第1モーターを駆動してパネルを閉動作させる。つまり、第1モーター50を逆転駆動してパネル13を開位置から閉動作させる。なお、パネル13は開位置に到達した後、その開位置から閉動作を開始させる。こうしてパネル13は全閉位置まで閉じるが、パネル13は開位置で待機時間WTの経過を待ったのちに閉動作を開始するので、スタッカー23と経路が重複する部分ではスタッカー23が通過した直後に通過することになり、その閉動作の途中で、同じく閉動作中のスタッカー23と衝突することはない。一方、印刷ジョブ終了時である場合は、ステップS43の処理が行われる。   In step S42, the first motor is driven to close the panel. That is, the first motor 50 is driven in reverse to close the panel 13 from the open position. Note that after the panel 13 reaches the open position, the closing operation is started from the open position. Thus, the panel 13 is closed to the fully closed position, but the panel 13 starts closing after waiting for the waiting time WT to elapse in the open position. In the middle of the closing operation, there is no collision with the stacker 23 that is also in the closing operation. On the other hand, when the print job is finished, the process of step S43 is performed.

ステップS43では、パネルを印刷ジョブ前の位置へ移動させる。すなわち、CPU100は、不揮発性メモリー103の所定記憶領域からパネル13の印刷ジョブ前の位置を読み出し、第1モーター50を駆動させてパネル13をその位置まで戻す。こうして印刷ジョブを実行するために一旦印刷の邪魔にならない位置へ退避させたパネル13が、印刷ジョブ前の元の位置に自動で戻される。例えばユーザーがパネル13の見易い角度に手動で調整していた場合は、パネル13はユーザーが手動で調整していた元の位置に自動で戻される。   In step S43, the panel is moved to the position before the print job. That is, the CPU 100 reads the position of the panel 13 before the print job from a predetermined storage area of the nonvolatile memory 103, drives the first motor 50, and returns the panel 13 to that position. In this way, the panel 13 once retracted to a position that does not interfere with printing in order to execute the print job is automatically returned to the original position before the print job. For example, when the user manually adjusts the panel 13 to an easy-to-view angle, the panel 13 is automatically returned to the original position manually adjusted by the user.

ステップS44では、スタッカー閉フラグ=1(閉)を不揮発性メモリー103の所定記憶領域に書き込む。こうしてスタッカー23が全閉位置にある旨が不揮発性メモリー103に記憶される。   In step S <b> 44, the stacker close flag = 1 (closed) is written in the predetermined storage area of the nonvolatile memory 103. Thus, the fact that the stacker 23 is in the fully closed position is stored in the nonvolatile memory 103.

ステップS45では、パネルの現在位置を記憶する。すなわち、CPU100は、パネル13の現在位置を不揮発性メモリー103の所定記憶領域に記憶する。
以上詳述した第1実施形態によれば、以下の効果を得ることができる。
In step S45, the current position of the panel is stored. That is, the CPU 100 stores the current position of the panel 13 in a predetermined storage area of the nonvolatile memory 103.
According to the first embodiment described in detail above, the following effects can be obtained.

(1)パネル13が開閉する移動経路とスタッカー23が出退する移動経路とが一部重なるプリンター11において、コンピューター85は、閉指示を受け付けると、スタッカー23を閉動作させ、その閉動作の途中でスタッカー23が所定の位置に達した後に、パネル13の閉動作を開始させる。よって、コンピューター85がパネル13とスタッカー23とを閉じる際、両者の衝突の発生頻度を低減することができる。   (1) In the printer 11 in which the moving path for opening and closing the panel 13 and the moving path for moving the stacker 23 partially overlap, the computer 85 closes the stacker 23 when receiving a close instruction, and in the middle of the closing operation After the stacker 23 reaches the predetermined position, the closing operation of the panel 13 is started. Therefore, when the computer 85 closes the panel 13 and the stacker 23, the frequency of occurrence of collision between the two can be reduced.

(2)コンピューター85は、閉指示を受け付けると、パネル13がスタッカー23との干渉を避けられる退避位置よりも閉側に位置する場合は、パネル13を退避位置まで一旦開き、退避位置から閉動作を開始させる。このため、パネル13が退避位置へ一旦開くことで、スタッカー23の通路を確保することができる。スタッカー23が所定の位置に達して両者が干渉しなくなったタイミング以後に、パネル13の退避位置からの閉動作を開始させる。よって、パネル13とスタッカー23とを両者の衝突を回避しつつ閉じることができる。   (2) When the computer 85 accepts the close instruction, if the panel 13 is positioned closer to the retracted position than avoiding interference with the stacker 23, the computer 85 temporarily opens the panel 13 to the retracted position and then closes the panel 13 from the retracted position. To start. For this reason, once the panel 13 opens to the retracted position, the passage of the stacker 23 can be secured. After the timing when the stacker 23 reaches a predetermined position and the two do not interfere with each other, the closing operation of the panel 13 from the retracted position is started. Therefore, the panel 13 and the stacker 23 can be closed while avoiding the collision between the two.

(3)パネル13の開位置を検知する第1センサー63が、パネル13の閉を表す状態から開を表す状態に変わる位置を退避位置とした。パネル13を閉位置から開くときは、コンピューター85が、第1センサー63が閉を表す状態から開を表す状態に変わる位置までパネル13を開動作させる。また、パネル13とスタッカー23とを共に閉じるときは、第1センサー63がパネル13の閉を表す状態から開を表す状態に変わった位置までパネル13を退避させる。よって、パネル13を開くときの制御と、パネル13を閉じるときの制御とを、共通の第1センサー63を用いて行うことができる。このため、部品点数が少なく済む。   (3) The position at which the first sensor 63 that detects the open position of the panel 13 changes from the state representing the close of the panel 13 to the state representing the open is defined as the retreat position. When opening the panel 13 from the closed position, the computer 85 opens the panel 13 to a position where the first sensor 63 changes from the closed state to the open state. Further, when both the panel 13 and the stacker 23 are closed, the panel 13 is retracted to a position where the first sensor 63 has changed from a state representing the closing of the panel 13 to a state representing the opening. Therefore, the control for opening the panel 13 and the control for closing the panel 13 can be performed using the common first sensor 63. For this reason, the number of parts can be reduced.

(4)コンピューター85が、スタッカー23が所定の位置に達した後に、パネル13の閉動作を開始させたときは、パネル13の移動経路とスタッカー23の移動経路とが一部重なる干渉領域では、スタッカー23が閉方向へ先に移動したのち、パネル13が閉方向へ移動するタイミングに調整される。よって、パネル13とスタッカー23とを衝突を回避しつつ共に閉じることができる。例えばスタッカー23が本体12内に収納された状態で、パネル13が本体12の前面に閉じた状態とすることができる。例えばパネル13とスタッカー23との干渉領域を通るタイミングが逆であると、筐体側に先に閉じたパネル13が邪魔になってスタッカー23を筐体内に収納できなくなる。   (4) When the computer 85 starts the closing operation of the panel 13 after the stacker 23 reaches a predetermined position, in the interference region where the movement path of the panel 13 and the movement path of the stacker 23 partially overlap, After the stacker 23 first moves in the closing direction, the timing is adjusted so that the panel 13 moves in the closing direction. Therefore, the panel 13 and the stacker 23 can be closed together while avoiding a collision. For example, the panel 13 can be closed on the front surface of the main body 12 while the stacker 23 is housed in the main body 12. For example, if the timing of passing through the interference region between the panel 13 and the stacker 23 is reversed, the panel 13 that has been closed first on the housing side becomes an obstacle and the stacker 23 cannot be stored in the housing.

(5)開動作中のスタッカー23が開位置に達したことを検知する第2センサー74を設けた。スタッカー23を開くときは、コンピューター85は、第2センサー74が閉を表す状態から開を表す状態に切り換わると、第2モーター70を減速させてスタッカー23を開状態に停止させる。また、パネル13とスタッカー23とを閉じるときは、第2センサー74がパネル13の開を表す状態から閉を表す状態に切り換わってから、待機時間WTの経過を待って、パネル13の閉動作を開始させる。本例の場合、スタッカー23の動力伝達機構71中に摩擦クラッチ79kが存在するので、スタッカー23の絶対位置を管理できないが、スタッカー23が電動で開いた開状態から閉じる途中でスタッカー23の開を表す状態から閉を表す状態へ切り換わる位置に第2センサー74を配置した。よって、スタッカー23を開く制御に使用する第2センサー74を、待機時間WTの計時を開始するトリガーとして利用することができる。このため、パネル13とスタッカー23との衝突を回避しつつ閉めることができる。よって、スタッカー23を開く制御と、スタッカー23を閉じる制御とを、共通の第2センサー74を用いて行うことができる。このため、部品点数が少なく済む。   (5) A second sensor 74 for detecting that the stacker 23 during the opening operation has reached the open position is provided. When opening the stacker 23, the computer 85 switches the second sensor 74 from the closed state to the open state to decelerate the second motor 70 and stop the stacker 23 in the open state. Further, when the panel 13 and the stacker 23 are closed, the second sensor 74 switches from the state representing the opening of the panel 13 to the state representing the closing, and then the panel 13 is closed after the waiting time WT has elapsed. To start. In the case of this example, since the friction clutch 79k exists in the power transmission mechanism 71 of the stacker 23, the absolute position of the stacker 23 cannot be managed, but the stacker 23 is opened while the stacker 23 is closed from the opened state by electric drive. The second sensor 74 is disposed at a position where the state to be displayed is switched to the state to be closed. Therefore, the 2nd sensor 74 used for control which opens stacker 23 can be used as a trigger which starts time-measurement of waiting time WT. For this reason, it can close, avoiding the collision with the panel 13 and the stacker 23. FIG. Therefore, the control for opening the stacker 23 and the control for closing the stacker 23 can be performed using the common second sensor 74. For this reason, the number of parts can be reduced.

(6)コンピューター85は、閉指示を受け付けたとき、スタッカー23が所定の位置よりも閉側の位置にある場合は、パネル13を退避位置に待機させることなく、直ちに退避位置から閉動作を開始させる。よって、第2センサー74によりスタッカー23の開を表す状態から閉を表す状態への切り換わりを検知できない場合でも、パネル13の退避位置への退避によってスタッカー23の通路を確保したうえで、退避位置で待機することなく直ちに閉動作を開始することで、パネル13の閉動作の開始タイミングの遅れをなるべく少なくすることができる。   (6) When the computer 85 receives the closing instruction, if the stacker 23 is in a position closer to the predetermined position than the predetermined position, the computer 85 immediately starts the closing operation from the retracted position without waiting the panel 13 at the retracted position. Let Therefore, even when the second sensor 74 cannot detect the switching from the state representing the opening of the stacker 23 to the state representing the closing, the passage of the stacker 23 is secured by retreating the panel 13 to the retreat position, and the retreat position By starting the closing operation immediately without waiting in step 3, the delay of the start timing of the closing operation of the panel 13 can be reduced as much as possible.

(7)コンピューター85は、閉指示を受け付けたとき、パネル13が退避位置(開位置)よりも開側の位置にある場合は、退避位置(開位置)への閉動作を行わず、待機時間WTが経過すると、閉動作を開始させる。よって、パネル13が閉動作を開始して一旦途中の退避位置で一時停止(待機)してから閉動作を再開するという複雑な閉動作になることを回避できる。   (7) When the computer 85 accepts the closing instruction, if the panel 13 is in an open position relative to the retracted position (open position), the computer 85 does not perform the closing operation to the retracted position (open position) and waits for When WT elapses, the closing operation is started. Therefore, it is possible to avoid a complicated closing operation in which the panel 13 starts the closing operation and temporarily stops (standby) at the halfway retracted position and then restarts the closing operation.

(8)ユーザーがスタッカー23を軽く押し込むと、その押込み操作を検出してスタッカー23を自動で全閉位置まで退避させるスタッカー押込みアシスト制御を採用した。よって、ユーザーがスタッカー23を手動で閉めようとして軽くスタッカー23を押し込めば、その押込み操作がトリガーになってスタッカー23が自動で閉じられるので、ユーザーはスタッカーを全閉位置まで押し込む必要がない。   (8) A stacker push-in assist control is adopted in which when the user pushes the stacker 23 lightly, the push-in operation is detected and the stacker 23 is automatically retracted to the fully closed position. Therefore, if the user pushes the stacker 23 lightly in order to manually close the stacker 23, the pushing operation is triggered and the stacker 23 is automatically closed, so that the user does not need to push the stacker to the fully closed position.

(9)ユーザーがスタッカー23を押し込んだ操作を検知してこれをトリガーとしてコンピューター85が第2モーター70を逆転駆動させてスタッカー23を自動で閉動作させるので、スタッカー23を直観的に操作し易い。   (9) Since the operation that the user has pushed the stacker 23 is detected and triggered by this, the computer 85 drives the second motor 70 in the reverse direction to automatically close the stacker 23, so that the stacker 23 can be operated intuitively. .

(第2実施形態)
本実施形態では、スタッカー23の動力伝達機構71中の摩擦クラッチが廃止され、スタッカー23が第2モーター70と動力伝達機構71を介して直結されている例である。このため、第2センサー74の検知位置を基準(原点)としたり、スタッカー23が退避位置側のエンドと突出位置側のエンドとのうち少なくとも一方のエンドに当たって過負荷を検出したときの検出位置を基準(原点)としたりして、スタッカー23の移動範囲における現在位置を絶対位置で管理する。
(Second Embodiment)
In the present embodiment, the friction clutch in the power transmission mechanism 71 of the stacker 23 is eliminated, and the stacker 23 is directly connected to the second motor 70 via the power transmission mechanism 71. For this reason, the detection position of the second sensor 74 is used as a reference (origin), or the detection position when the stacker 23 detects an overload by hitting at least one of the end on the retracted position side and the end on the protruding position side. As a reference (origin), the current position in the movement range of the stacker 23 is managed as an absolute position.

第1カウンター115は、上記原点でリセットされ、エンコーダー62からの検出パルス信号のパルスエッジを計数し、第1モーター50の正転時にその計数値をインクリメントし、第1モーター50の逆転時にその計数値をデクリメントする。また、第2カウンター116は、上記原点でリセットされ、エンコーダー75からの検出パルス信号のパルスエッジを計数し、第2モーター70の正転時にその計数値をインクリメントし、第2モーター70の逆転時にその計数値をデクリメントする。本実施形態では、第1カウンター115には、パネル13の位置が絶対位置で管理され、第2カウンター116にはスタッカー23の位置が絶対位置で管理される。   The first counter 115 is reset at the origin, counts the pulse edges of the detection pulse signal from the encoder 62, increments the count value when the first motor 50 rotates forward, and counts it when the first motor 50 rotates backward. Decrement the number. The second counter 116 is reset at the origin, counts the pulse edges of the detection pulse signal from the encoder 75, increments the count value when the second motor 70 is rotating forward, and when the second motor 70 rotates backward. The count value is decremented. In the present embodiment, the first counter 115 manages the position of the panel 13 as an absolute position, and the second counter 116 manages the position of the stacker 23 as an absolute position.

第1実施形態では、パネル13が閉領域のどこかに位置しているときは、一旦、開位置にあると検知されるまでパネル13を開側へ回動させ、スタッカー23が開位置でなくなった時点から待機時間WTを経過したら、パネル13にその退避位置(開位置)からの閉動作を開始させる。しかし、待機時間WTは、パネル13が開位置から閉動作を開始した場合を基準に設定されていたため、パネル13が開位置と全開位置との間の位置から閉動作を開始した場合はパネル13の閉動作の開始タイミングが遅れ気味となり、スタッカー23が閉じ切ってから、パネル13の閉動作が開始される場合も起こり得た。   In the first embodiment, when the panel 13 is located somewhere in the closed region, the panel 13 is once rotated to the open side until it is detected that the panel 13 is in the open position, and the stacker 23 is not in the open position. When the standby time WT has elapsed from the point in time, the panel 13 is caused to start a closing operation from the retracted position (open position). However, since the standby time WT is set based on the case where the panel 13 starts the closing operation from the open position, the panel 13 starts when the panel 13 starts the closing operation from a position between the open position and the fully open position. In some cases, the closing operation of the panel 13 is started after the start timing of the closing operation is delayed and the stacker 23 is completely closed.

これに対して第2本実施形態では、パネル13とスタッカー23の各位置を絶対位置で管理している。そして、コンピューター85は、パネル13の絶対位置とスタッカー23の絶対位置とから、スタッカー23が閉動作を開始した時点から、スタッカー23の隆起部23cが重複経路を過ぎた直後にパネル13が丁度その重複経路を通り過ぎるタイミングとなるパネル13の現在位置での待機時間WT1を計算する。そして、スタッカー23は現在位置から閉動作を開始した時点からの経過時間をタイマー114で計時し、その経過時間が待機時間WT1に達すると、パネル13の閉動作を開始する。   In contrast, in the second embodiment, the positions of the panel 13 and the stacker 23 are managed as absolute positions. Then, the computer 85 determines that the panel 13 has just moved from the absolute position of the panel 13 and the absolute position of the stacker 23 immediately after the raised portion 23c of the stacker 23 passes the overlapping path from the time when the stacker 23 starts to close. A waiting time WT1 at the current position of the panel 13 which is the timing of passing through the overlapping route is calculated. The stacker 23 measures the elapsed time from the time when the closing operation is started from the current position by the timer 114, and starts the closing operation of the panel 13 when the elapsed time reaches the standby time WT1.

次に、図12に示す本実施形態のクローズ制御について説明する。
コンピューター85は、電源オフ操作信号入力時など、パネル13とスタッカー23とを共に閉動作させるときには、図12に示すクローズ制御ルーチンに従って、第1モーター50及び第2モーター70を駆動制御する。
Next, the closing control of this embodiment shown in FIG. 12 will be described.
When the computer 85 closes both the panel 13 and the stacker 23 such as when a power-off operation signal is input, the computer 85 controls the drive of the first motor 50 and the second motor 70 according to the close control routine shown in FIG.

ますステップS51では、パネルの位置を取得する。すなわち、CPU100は第1カウンター115の値からパネル13の絶対位置を取得する。
ステップS52では、スタッカーの位置を取得する。すなわち、CPU100は第2カウンター116の値からスタッカー23の絶対位置を取得する。
In step S51, the panel position is acquired. That is, the CPU 100 acquires the absolute position of the panel 13 from the value of the first counter 115.
In step S52, the position of the stacker is acquired. That is, the CPU 100 acquires the absolute position of the stacker 23 from the value of the second counter 116.

ステップS53では、パネルとスタッカーの各位置を用いて待機時間WT1を計算する。待機時間WT1は、パネル13とスタッカー23とをそのときの現在位置から共に閉動作を開始した場合でも、両者の経路の重複する部分を先にスタッカー23が通過した直後に、パネル13が通過するタイミングになるような値として計算される。例えばスタッカー23の現在位置(絶対位置)から経路の重複する領域内の位置までの所要時間T1を、スタッカー23の閉動作時の既知の速度プロファイルを用いて計算する。また、パネル13の現在位置(絶対位置)から経路の重複する領域内の位置までの所要時間T2を、パネル13の閉動作時の既知の速度プロファイルを用いて計算する。そして、T1<T2+WT1を満たす待機時間WT1を計算する。本例では、パネル13とスタッカー23との衝突を避けるための余裕の時間ΔTを設定し、一例として待機時間WTを、式 WT1=T1−T2+ΔTにより計算する。   In step S53, the standby time WT1 is calculated using each position of the panel and the stacker. Even when both the panel 13 and the stacker 23 are started to close from the current position at that time, the standby time WT1 passes through the panel 13 immediately after the stacker 23 first passes through the overlapping portion of both paths. Calculated as a value that will be timing. For example, the required time T1 from the current position (absolute position) of the stacker 23 to the position in the overlapping region of the route is calculated using a known speed profile when the stacker 23 is closed. Further, the required time T2 from the current position (absolute position) of the panel 13 to the position in the overlapping region of the route is calculated using a known speed profile when the panel 13 is closed. Then, a standby time WT1 that satisfies T1 <T2 + WT1 is calculated. In this example, a margin time ΔT for avoiding the collision between the panel 13 and the stacker 23 is set, and as an example, the standby time WT is calculated by the equation WT1 = T1−T2 + ΔT.

ステップS54では、第2モーターを駆動してスタッカーを閉動作させる。すなわち、CPU100は、第2モーター70を逆転駆動させてスタッカー23を閉動作させる。
ステップS55では、待機時間WT1の計時を開始する。すなわち、CPU100は、スタッカー23の閉動作を開始するタイミングでタイマー114による待機時間WT1の計時を開始する。
In step S54, the second motor is driven to close the stacker. That is, the CPU 100 rotates the second motor 70 in the reverse direction to close the stacker 23.
In step S55, timing of standby time WT1 is started. That is, the CPU 100 starts measuring the standby time WT1 by the timer 114 at the timing when the closing operation of the stacker 23 is started.

ステップS56では、待機時間WT1が経過したか否かを判断する。待機時間WTを経過していなければ経過するまでそのまま待機し、待機時間WTを経過すればステップS57に進む。こうしてクローズ制御開始時の現在位置から閉動作を開始したスタッカー23のその閉動作の開始から待機時間WT1を経過するまで、パネル13は現在位置で待機する。そして、待機時間WT1が経過すると、ステップS57に進む。   In step S56, it is determined whether standby time WT1 has elapsed. If the standby time WT has not elapsed, the process waits until it elapses, and if the standby time WT has elapsed, the process proceeds to step S57. Thus, the panel 13 stands by at the current position from the start of the closing operation of the stacker 23 that started the closing operation from the current position at the start of the closing control until the waiting time WT1 has elapsed. And when standby | waiting time WT1 passes, it will progress to step S57.

以降のステップS57〜S61の処理は、第1実施形態におけるステップS41〜S45の処理と同様である。すなわち、ステップS57では、印刷ジョブ終了時であるか否かを判断する。つまり、今回のクローズ制御開始のトリガーが印刷ジョブ終了によるものであるか否かを判断する。印刷ジョブ終了時でなければステップS58に進み、印刷ジョブ終了時であればステップS59に進む。ここで、印刷ジョブ終了時以外のクローズ制御開始のトリガーとしては、ユーザーの電源オフ操作時、閉ボタン操作時、スタッカー押込み操作時がある。   The subsequent steps S57 to S61 are the same as the steps S41 to S45 in the first embodiment. That is, in step S57, it is determined whether or not the print job is finished. That is, it is determined whether or not the current trigger for starting the close control is due to the end of the print job. If the print job is not completed, the process proceeds to step S58. If the print job is completed, the process proceeds to step S59. Here, as triggers for starting the closing control other than at the end of the print job, there are a user power-off operation, a close button operation, and a stacker push-in operation.

ステップS58では、第1モーターを駆動してパネルを閉動作させる。つまり、CPU100は、第1モーター50を逆転駆動してパネル13を現在位置から閉動作させる。こうしてスタッカー23の閉動作開始時点から、パネル13は現在位置で待機時間WT1の経過を待ったのちに現在位置から閉動作を開始するので、スタッカー23と経路が重複する部分ではスタッカー23が通過した直後に通過することになり、その閉動作の途中で、同じく閉動作中のスタッカー23と衝突することはない。一方、印刷ジョブ終了時である場合は、ステップS59の処理が行われる。   In step S58, the first motor is driven to close the panel. That is, the CPU 100 drives the first motor 50 in the reverse direction to close the panel 13 from the current position. In this way, from the start of the closing operation of the stacker 23, the panel 13 starts the closing operation from the current position after waiting for the waiting time WT1 to elapse at the current position, so immediately after the stacker 23 has passed in the portion where the path overlaps with the stacker 23. In the middle of the closing operation, there is no collision with the stacker 23 that is also in the closing operation. On the other hand, when the print job is finished, the process of step S59 is performed.

ステップS59では、パネルを印刷ジョブ前の位置へ移動させる。すなわち、CPU100は、不揮発性メモリー103の所定記憶領域からパネル13の印刷ジョブ前の位置を読み出し、第1モーター50を駆動させてパネル13を元の位置に戻す。こうして印刷ジョブを実行するために一旦印刷の邪魔にならない位置へ退避させたパネル13が、印刷ジョブ前の元の位置に自動で戻される。例えばユーザーがパネル13の見易い角度に手動で調整していた場合は、パネル13はユーザーが手動で調整していた元の位置に自動で戻される。   In step S59, the panel is moved to the position before the print job. That is, the CPU 100 reads the position of the panel 13 before the print job from the predetermined storage area of the nonvolatile memory 103, drives the first motor 50, and returns the panel 13 to the original position. In this way, the panel 13 once retracted to a position that does not interfere with printing in order to execute the print job is automatically returned to the original position before the print job. For example, when the user manually adjusts the panel 13 to an easy-to-view angle, the panel 13 is automatically returned to the original position manually adjusted by the user.

ステップS60では、スタッカー閉フラグ=1(閉)を不揮発性メモリー103の所定記憶領域に書き込む。こうしてスタッカー23が全閉位置にある旨が不揮発性メモリー103に記憶される。   In step S <b> 60, the stacker close flag = 1 (closed) is written in the predetermined storage area of the nonvolatile memory 103. Thus, the fact that the stacker 23 is in the fully closed position is stored in the nonvolatile memory 103.

ステップS61では、パネルの現在位置を記憶する。すなわち、CPU100は、パネル13の現在位置(絶対位置)を不揮発性メモリー103の所定記憶領域に記憶する。
以上詳述した第2実施形態によれば、以下の効果を得ることができる。
In step S61, the current position of the panel is stored. That is, the CPU 100 stores the current position (absolute position) of the panel 13 in a predetermined storage area of the nonvolatile memory 103.
According to the second embodiment described in detail above, the following effects can be obtained.

(10)パネル13の可動域における位置を管理する第1位置管理部を構成する第1カウンター115及び第1センサー63と、スタッカー23の可動域における位置を管理する第2位置管理部を構成する第2カウンター116及び第2センサー74とを備える。パネル13の絶対位置とスタッカー23の絶対位置とを管理し、閉指示の受付け時におけるパネル13とスタッカー23のそれぞれの現在位置から、パネル13が待機するべき待機時間WT1を計算する。そして、スタッカー23が閉動作を開始してから、待機時間WT1を経過すると、パネル13にその現在位置からの閉動作を開始させる。このため、パネル13とスタッカー23が閉動作を開始するときの位置によらず、その現在位置に応じた適切な待機時間WT1が計算されるので、パネル13とスタッカー23との衝突を回避しつつ両者間で閉まるタイミングの大きなずれを抑制できる。第1実施形態では、一定の待機時間WTであったため、パネル13とスタッカー23がほぼ同時にきれいに閉まる場合もあれば、スタッカー23が先に閉まり切ってからパネル13が後から閉まる時間のずれが過大になる場合もある。これに対して第2実施形態では、パネル13とスタッカー23との各位置に応じた可変の待機時間WT1を計算するので、パネル13とスタッカー23とが衝突せず絶妙なタイミングで閉まるようにすることができる。   (10) The first counter 115 and the first sensor 63 that constitute the first position management unit that manages the position of the panel 13 in the movable range, and the second position management unit that manages the position of the stacker 23 in the movable range are configured. A second counter 116 and a second sensor 74 are provided. The absolute position of the panel 13 and the absolute position of the stacker 23 are managed, and the waiting time WT1 for which the panel 13 should wait is calculated from the respective current positions of the panel 13 and the stacker 23 when the closing instruction is received. Then, when the standby time WT1 has elapsed after the stacker 23 starts the closing operation, the panel 13 is caused to start the closing operation from the current position. For this reason, an appropriate waiting time WT1 corresponding to the current position is calculated regardless of the position at which the panel 13 and the stacker 23 start the closing operation, so that the collision between the panel 13 and the stacker 23 is avoided. A large shift in the timing of closing between the two can be suppressed. In the first embodiment, since the waiting time WT is constant, the panel 13 and the stacker 23 may close cleanly almost simultaneously, or there may be an excessive shift in the time that the panel 13 closes after the stacker 23 closes first. Sometimes it becomes. On the other hand, in the second embodiment, since the variable waiting time WT1 corresponding to each position of the panel 13 and the stacker 23 is calculated, the panel 13 and the stacker 23 do not collide and close at an exquisite timing. be able to.

(11)スタッカー23の閉動作を開始したのち、待機時間WT1を待ってからパネル13の閉動作を開始する。このため、閉指示を受け付けたときのパネル13の位置とスタッカー23の位置とから、両者の閉動作を開始することができる。第1実施形態では、パネル13が退避位置(開位置)へ開き終わる前に、スタッカー23が所定の位置に到達した場合は、その時点からパネル13が退避位置(開位置)までの残りの角度をさらに開くまでの動作が時間の無駄となる。これに対して、この構成によれば、両者が干渉しない退避位置(例えば30〜40度の範囲内の値)まではパネル13を開いてスタッカー23の通路を確保するものの、それ以外は閉指示を受け付けたときの位置から閉動作を開始できる。このため、パネル13を一旦開く無駄な動作を少なくし、なるべくスマートな閉動作を実現できる。   (11) After the closing operation of the stacker 23 is started, the closing operation of the panel 13 is started after waiting for the standby time WT1. For this reason, the closing operation of both can be started from the position of the panel 13 and the position of the stacker 23 when the closing instruction is received. In the first embodiment, when the stacker 23 reaches a predetermined position before the panel 13 is completely opened to the retracted position (open position), the remaining angle from the time point until the panel 13 reaches the retracted position (open position). The operation until it is further opened is a waste of time. On the other hand, according to this configuration, the panel 13 is opened to secure the passage of the stacker 23 until the retracted position (for example, a value within a range of 30 to 40 degrees) where the two do not interfere with each other. The closing operation can be started from the position when the is received. For this reason, the useless operation | movement which opens the panel 13 once can be decreased, and the smart closing operation as much as possible is realizable.

なお、上記実施形態は以下のような形態に変更することもできる。
・パネルの開動作の過程で、第1センサー63がパネル13の閉を表す状態から開を表す状態に切り換わる位置(角度θ1)、つまりパネル13の開位置と退避位置は、例えば約30度、約45度、約60度のような、全閉と全開との間の中間角度領域内の位置に限定されない。第1センサー63が閉を表す状態から開を表す状態に切り換わる位置(角度θ1)は、全開の角度(一例として90度)であってもよい。なお、全開とは、パネルの可動域内で最大に開いた角度位置を指す。また、所定の位置を全開位置とすれば、その全開位置の検出を、第1センサー63を使用しなくても、パネル13が全開側のエンドに当たった際の過負荷を検出することで全開位置に達したことを検出する構成とすることも可能になる。この場合、第1センサー63の廃止により構成部品点数を少なくすることができる。開位置と退避位置とが同じである場合、パネル13が全開位置に退避するので、スタッカー23の通路を確実に確保できる。
In addition, the said embodiment can also be changed into the following forms.
In the process of opening the panel, the position (angle θ1) at which the first sensor 63 switches from the state indicating the closing of the panel 13 to the state indicating the opening, that is, the opening position and the retracting position of the panel 13 is, for example, about 30 degrees. , About 45 degrees, about 60 degrees, etc., and not limited to positions within the intermediate angle region between fully closed and fully open. The position at which the first sensor 63 switches from the closed state to the open state (angle θ1) may be a fully open angle (90 degrees as an example). In addition, fully open refers to the angular position opened to the maximum within the movable range of the panel. Further, if the predetermined position is the fully opened position, the fully opened position can be detected by detecting an overload when the panel 13 hits the fully opened end without using the first sensor 63. It can also be configured to detect that the position has been reached. In this case, the number of component parts can be reduced by eliminating the first sensor 63. When the open position and the retracted position are the same, the panel 13 is retracted to the fully open position, so that the passage of the stacker 23 can be reliably ensured.

・コンピューター85は、閉指示を受け付けたとき、スタッカー23が所定の位置よりも閉側の位置にある場合は、パネル13が退避位置よりも閉側にあっても干渉領域になければ、パネル13を退避位置に移動させることなく閉動作させてもよい。この構成によれば、スタッカー23の通路を確保できるうえ、パネル13の閉動作の開始タイミングの遅れを一層少なくすることができる。   When the computer 85 receives the close instruction, if the stacker 23 is in a position closer to the closed position than the predetermined position, the panel 13 is not in the interference region even if it is closer to the closed position than the retracted position. May be closed without being moved to the retracted position. According to this configuration, the passage of the stacker 23 can be secured and the delay of the start timing of the closing operation of the panel 13 can be further reduced.

・前記第2実施形態では、パネル13とスタッカー23の両方で絶対位置を管理したが、少なくとも一方のみを絶対位置で管理してもよい。例えばパネルのみを絶対位置で管理してもよい。この場合、スタッカー23が開から閉に切り換わる位置に達してからのパネル13の待機時間WT2を、パネルの現在位置(絶対位置)に応じて計算して取得し、スタッカー23が開から閉に切り換わった時点から待機時間WT2が経過すると、パネル13の現在位置からの閉動作を開始させる。この場合、パネル13を閉から開に切り換わる退避位置(開位置)に戻さなくても、閉指示を受け付けた時の現在位置からパネル13を閉動作させればよい。また、例えばスタッカーのみを絶対位置で管理してもよい。この場合、スタッカー23が現在位置から閉動作を開始した際のパネル13の所定の位置での待機時間WT3を、パネル13の現在位置(絶対位置)に応じて計算して取得し、スタッカー23が閉指示受付け時の現在位置から閉動作を開始した時点から待機時間WT3が経過すると、所定の位置まで戻したパネル13の現在位置からの閉動作を開始させる。この構成によれば、パネル13を閉から開に切り換わる退避位置に戻しはするが、退避位置に戻してから所定時間を待たなくても、退避位置に戻るまでの所要時間も待機時間WT3の一部に含まれるので、パネル13が退避位置で待ち過ぎることを回避できる。このため、パネル13とスタッカー23との閉動作のタイミングの適正化が図られ、クローズ制御を早期に終了できる。   -In the said 2nd Embodiment, although the absolute position was managed by both the panel 13 and the stacker 23, you may manage only at least one by an absolute position. For example, only the panel may be managed at an absolute position. In this case, the standby time WT2 of the panel 13 after reaching the position where the stacker 23 switches from open to closed is calculated and acquired according to the current position (absolute position) of the panel, and the stacker 23 is changed from open to closed. When the standby time WT2 elapses from the time of switching, the closing operation from the current position of the panel 13 is started. In this case, the panel 13 may be closed from the current position when the close instruction is received without returning to the retracted position (open position) where the panel 13 is switched from closed to open. For example, only the stacker may be managed at the absolute position. In this case, the standby time WT3 at the predetermined position of the panel 13 when the stacker 23 starts the closing operation from the current position is calculated and acquired according to the current position (absolute position) of the panel 13, and the stacker 23 When the standby time WT3 has elapsed from the time when the closing operation is started from the current position when the closing instruction is received, the closing operation from the current position of the panel 13 returned to the predetermined position is started. According to this configuration, the panel 13 is returned to the retracted position where the panel 13 is switched from closed to open, but the time required to return to the retracted position is equal to the waiting time WT3 without waiting for a predetermined time after returning to the retracted position. Since it is included in a part, it can be avoided that the panel 13 waits too much at the retracted position. For this reason, the timing of the closing operation of the panel 13 and the stacker 23 is optimized, and the closing control can be finished early.

・第2実施形態では、待機時間WT1を計算したが、パネル13を現在位置から閉動作を開始しても、スタッカー23と衝突せずにさほど時間差なく閉まることができるスタッカーの所定の位置(パネル閉動作開始位置)を計算し、スタッカー23がそのパネル閉動作開始位置に達したら、パネル13の閉動作を開始するようにする。この場合、スタッカー23の現在位置(閉動作開始前の位置)が既にパネル閉動作開始位置と同じかそれより閉側に位置している場合は、パネル13とスタッカー23との閉動作を同時に開始させる。この構成によれば、タイマー114で時間の計時をすることなく、スタッカー23の位置を管理するだけで、第2実施形態と同様に、パネル13を開位置まで一旦戻す無駄な動作を無くしつつ、よりスムーズにパネル13とスタッカー23とを衝突を回避しつつ共に閉動作させることができる。例えばパネル13を一旦開位置まで移動させたにも拘らず、スタッカー23が閉まり切ってからパネル13の閉動作が開始される閉動作タイミングのずれを抑制できる。   In the second embodiment, the standby time WT1 is calculated. However, even if the closing operation of the panel 13 is started from the current position, it does not collide with the stacker 23 and can be closed without much time (panel). When the stacker 23 reaches the panel closing operation start position, the closing operation of the panel 13 is started. In this case, when the current position of the stacker 23 (position before starting the closing operation) is already the same as or close to the panel closing operation start position, the closing operation of the panel 13 and the stacker 23 is started simultaneously. Let According to this configuration, just by managing the position of the stacker 23 without measuring the time with the timer 114, as in the second embodiment, while eliminating the useless operation of returning the panel 13 to the open position, The panel 13 and the stacker 23 can be closed together more smoothly while avoiding a collision. For example, even if the panel 13 is once moved to the open position, a shift in the closing operation timing at which the closing operation of the panel 13 is started after the stacker 23 is completely closed can be suppressed.

・第2実施形態において、スタッカー側の第2センサーを廃止してもよい。スタッカー23を一方のエンドに当たったことを検出してエンドを基準に位置を管理してもよい。
・スタッカー23側の動力伝達機構に含まれる摩擦クラッチを廃止して、スタッカー側もエンコーダー75の検出パルスを計数して絶対位置を管理してもよい。
In the second embodiment, the second sensor on the stacker side may be eliminated. The position may be managed based on the end by detecting that the stacker 23 hits one end.
The friction clutch included in the power transmission mechanism on the stacker 23 side may be abolished, and the absolute position may be managed by counting the detection pulses of the encoder 75 on the stacker side.

・クローズ制御開始のトリガーは、ユーザーの電源オフ操作時、閉ボタン操作時、印刷ジョブ終了時、スタッカー押込み操作時のうちの一つであってもよい。
・パネルの開位置と退避位置とを同一位置とし、開位置の検知と退避位置の検知とを共通の第1センサーを用いて行ったが、パネルの開位置と退避位置とを異なる位置に設定し、それぞれを異なるセンサーにより検知してもよい。この構成によれば、退避位置が開位置とは異なる適切な位置に設定できるので、パネルを開位置まで移動させるまでに待機時間が過ぎてしまうことによる待機位置からの閉動作開始タイミングが遅延する頻度を低減できる。
The trigger for starting the close control may be one of a user power-off operation, a close button operation, a print job end, and a stacker push-in operation.
・ The panel open position and retracted position are the same position, and the open position and retracted position are detected using the common first sensor, but the panel open position and retracted position are set to different positions. However, each may be detected by a different sensor. According to this configuration, since the retracted position can be set to an appropriate position different from the open position, the closing operation start timing from the standby position is delayed due to the standby time passing before the panel is moved to the open position. The frequency can be reduced.

・スタッカー23の受け位置を決める本体12からのスタッカー23の出量(突出量)は、一定ではなく、排出対象の用紙Pの用紙長に応じて変化させてもよい。この場合も、衝突回避制御を行えば、パネル13とスタッカー23との衝突を回避できる。   The amount of protrusion (projection amount) of the stacker 23 from the main body 12 that determines the receiving position of the stacker 23 is not constant, and may be changed according to the length of the paper P to be discharged. Also in this case, the collision between the panel 13 and the stacker 23 can be avoided by performing the collision avoidance control.

・スタッカーの動力源とパネルの動力源とをそれぞれ専用のものに替え、スタッカーの動力源とパネルの動力源とのうち一方を、他の用途に備えられたモーターが兼ねてもよい。例えば搬送モーター33が、パネル13の動力源とスタッカー23の動力源とのうち一方を兼ねてもよい。この場合、搬送モーター33の動力伝達先をスタッカー又はパネルに切り換え可能なクラッチを設ければよい。クラッチとしては、電動式クラッチでもよいし、キャリッジモーターを駆動させてキャリッジを所定位置に移動させることでキャリッジ18が切換え用レバーを操作してクラッチを切り換える機械式クラッチを例示できる。   The power source of the stacker and the power source of the panel may be changed to dedicated ones, and one of the power source of the stacker and the power source of the panel may serve as a motor provided for other purposes. For example, the transport motor 33 may serve as one of the power source of the panel 13 and the power source of the stacker 23. In this case, a clutch capable of switching the power transmission destination of the transport motor 33 to a stacker or a panel may be provided. As the clutch, an electric clutch may be used, and a mechanical clutch that switches the clutch by operating the switching lever by driving the carriage motor and moving the carriage to a predetermined position can be exemplified.

・スタッカーが回動式でもよい。例えばスタッカーが本体の前面に下端部を中心に回動し、本体12の前面に沿うように閉じる閉位置と、本体の前面に対して略直交する方向に突出する開位置との間を移動する構成とする。この場合、パネルは例えば前記実施形態と同様に回動式とする。この構成の場合、パネルとスタッカーが共に回動式なので、同時に閉動作を開始すると、干渉領域で衝突するが、パネルを退避位置に一旦開き、スタッカーが閉じ方向に移動するための通路を確保したうえで、スタッカーが所定の位置(所定の姿勢角)まで閉じた後、パネルの退避位置からの閉動作を開始させればよい。   -The stacker may be a rotary type. For example, the stacker rotates on the front surface of the main body around the lower end, and moves between a closed position that closes along the front surface of the main body 12 and an open position that protrudes in a direction substantially orthogonal to the front surface of the main body. The configuration. In this case, the panel is, for example, a rotary type as in the above embodiment. In this configuration, both the panel and the stacker are pivotable, so if the closing operation is started at the same time, they will collide in the interference area, but the panel is temporarily opened to the retracted position, and a path for the stacker to move in the closing direction is secured. In addition, after the stacker is closed to a predetermined position (predetermined attitude angle), the closing operation from the retracted position of the panel may be started.

・パネルはスライドと回動とが組み合わせた可動式でもよい。例えばパネルは本体内からスライドして外側へ突出し、その突出した後に回動して所定の回動角に配置されるようにする。   -The panel may be movable, combining slide and rotation. For example, the panel slides from the inside of the main body and protrudes outward, and after the protrusion, the panel is rotated and arranged at a predetermined rotation angle.

・スタッカーは、一枚の板状のトレイにより構成したが、多段式のトレイを伸縮させることにより出退する構成のものであってもよい。
・パネルは、操作スイッチ等の操作部を備えず、画面に手で触れることで入力操作が可能なタッチパネル式の表示部だけを備えた構成でもよい。また、表示部を備えず操作部だけを備えた構成でもよい。
The stacker is composed of a single plate-shaped tray, but it may be configured to move out and retract by expanding and contracting a multistage tray.
The panel may be provided with only a touch panel type display unit that does not include an operation unit such as an operation switch but allows an input operation by touching the screen with a hand. Moreover, the structure provided only with the operation part without providing a display part may be sufficient.

・動力源は回転式モーターに限定されず、リニアモーターでもよい。
・媒体は、用紙に限定されず、樹脂製のフィルム、金属箔、金属フィルム、樹脂と金属の複合体フィルム(ラミネートフィルム)、織物、不織布、セラミックシートなどであってもよい。
-The power source is not limited to a rotary motor, and may be a linear motor.
The medium is not limited to paper, and may be a resin film, a metal foil, a metal film, a resin-metal composite film (laminate film), a woven fabric, a nonwoven fabric, a ceramic sheet, or the like.

・記録装置は、インクジェット式に限定されず、ドットインパクト式、レーザー式でもよい。さらに、記録装置は、シリアルプリンターに限定されず、ラインプリンター又はページプリンターでもよい。例えばラインプリンターでは、媒体の搬送と媒体への記録が同時期に行われるので、第1実施形態におけるパネル&スタッカー動作において媒体長に応じた出量となる位置へスタッカーの移動を開始させるタイミングは、搬送中かつ記録中のタイミングとなる。   The recording apparatus is not limited to the ink jet type, and may be a dot impact type or a laser type. Furthermore, the recording apparatus is not limited to a serial printer, and may be a line printer or a page printer. For example, in the line printer, since the conveyance of the medium and the recording on the medium are performed at the same time, the timing for starting the movement of the stacker to the position corresponding to the medium length in the panel and stacker operation in the first embodiment is as follows. The timing is during conveyance and recording.

11…記録装置の一例であるプリンター、12…筐体の一例としての本体、13…パネルの一例としての操作パネル、14…表示部、15…操作部、15b…操作スイッチ、18…キャリッジ、20…記録ヘッド、23…スタッカー、23c…隆起部、63…第1センサー(パネル開センサー)、50…第1モーター、70…第2モーター、74…第2センサー(スタッカー開センサー)、80…コントローラー、85…コンピューター、100…CPU、111…主制御部、112…検出部、113…判定部、114…タイマー、115…第1カウンター、116…第2カウンター、P…媒体の一例としての用紙、X…走査方向(幅方向)、Y…搬送方向、WT,WT1〜WT3…待機時間。   DESCRIPTION OF SYMBOLS 11 ... Printer which is an example of a recording device, 12 ... Main body as an example of a housing | casing, 13 ... Operation panel as an example of a panel, 14 ... Display part, 15 ... Operation part, 15b ... Operation switch, 18 ... Carriage, 20 Recording head, 23 ... Stacker, 23c ... Raised portion, 63 ... First sensor (panel open sensor), 50 ... First motor, 70 ... Second motor, 74 ... Second sensor (stacker open sensor), 80 ... Controller 85 ... Computer, 100 ... CPU, 111 ... Main control unit, 112 ... Detection unit, 113 ... Determination unit, 114 ... Timer, 115 ... First counter, 116 ... Second counter, P ... Paper as an example of medium, X: scanning direction (width direction), Y: transport direction, WT, WT1 to WT3: standby time.

Claims (9)

記録装置の筺体に対して開閉可能に設けられたパネルと、
前記筺体に対して出退可能に設けられた可動式のスタッカーと、
前記パネルを駆動させる第1モーターと、
前記スタッカーを駆動させる第2モーターと、
前記第1モーター及び第2モーターを制御する制御部と、を備え、
前記パネルが開閉する移動経路と前記スタッカーが出退する移動経路とが一部重なり、
前記制御部は、閉指示を受け付けると、前記スタッカーを閉動作させるとともに当該閉動作の途中で当該スタッカーが所定の位置に達した後に、前記パネルの閉動作を開始させる、ことを特徴とする記録装置。
A panel that can be opened and closed with respect to the housing of the recording apparatus;
A movable stacker provided so as to be capable of withdrawing and withdrawing from the housing;
A first motor for driving the panel;
A second motor for driving the stacker;
A control unit for controlling the first motor and the second motor,
The movement path for opening and closing the panel and the movement path for moving the stacker partially overlap,
When the control unit receives a close instruction, the control unit closes the stacker and starts the closing operation of the panel after the stacker reaches a predetermined position during the closing operation. apparatus.
前記パネルの位置を検出する第1位置検出部と、
前記スタッカーの位置を検出する第2位置検出部とを、更に備え、
前記制御部は、前記閉指示を受け付けると、前記パネルが前記スタッカーとの干渉を避けられる退避位置よりも閉側に位置する場合は、前記パネルを前記退避位置まで一旦開き、前記退避位置から閉動作を開始させる、ことを特徴とする請求項1に記載の記録装置。
A first position detector for detecting the position of the panel;
A second position detector for detecting the position of the stacker,
When the control unit receives the close instruction, if the panel is located closer to the retracted position than avoiding interference with the stacker, the control unit opens the panel to the retracted position and then closes the panel from the retracted position. The recording apparatus according to claim 1, wherein an operation is started.
前記退避位置は、前記パネルの全開位置であることを特徴とする請求項2に記載の記録装置。   The recording apparatus according to claim 2, wherein the retracted position is a fully opened position of the panel. 前記第1位置検出部は、前記パネルの開位置を検知する第1センサーであり、
前記退避位置は、前記第1センサーが前記パネルの閉を表す状態から開を表す状態に変わった位置である、ことを特徴とする請求項2又は3に記載の記録装置。
The first position detection unit is a first sensor that detects an open position of the panel;
4. The recording apparatus according to claim 2, wherein the retracted position is a position where the first sensor is changed from a state indicating closing of the panel to a state indicating opening. 5.
前記制御部が、前記スタッカーが所定の位置に達した後に、前記パネルの閉動作を開始させたときは、前記パネルの移動経路と前記スタッカーの移動経路とが一部重なる干渉領域では、前記スタッカーが閉方向へ先に移動したのち、前記パネルが閉方向へ移動するタイミングに調整される、ことを特徴とする請求項2に記載の記録装置。   When the control unit starts the closing operation of the panel after the stacker reaches a predetermined position, in the interference region where the movement path of the panel and the movement path of the stacker partially overlap, The recording apparatus according to claim 2, wherein the recording apparatus is adjusted to a timing at which the panel moves in the closing direction after moving in the closing direction first. 前記パネルの可動域における位置を管理する第1位置管理部と、
前記スタッカーの可動域における位置を管理する第2位置管理部と、を備え、
前記制御部は、前記閉指示を受け付けたときの前記パネルの位置と前記スタッカーの位置とから、前記パネルと前記スタッカーとが閉動作の過程で干渉しない前記パネルの待機時間を取得し、前記スタッカーの閉動作を開始したのち、前記待機時間を待ってから前記パネルの閉動作を開始することを特徴とする請求項1に記載の記録装置。
A first position management unit for managing the position of the panel in the movable range;
A second position management unit that manages the position of the stacker in the range of motion;
The control unit obtains a waiting time of the panel from which the panel and the stacker do not interfere during the closing operation from the position of the panel and the position of the stacker when the close instruction is received, and the stacker 2. The recording apparatus according to claim 1, wherein after the start of the closing operation, the panel closing operation is started after waiting for the waiting time.
前記第2位置検出部は、開動作中の前記スタッカーが開位置に達したことを検知する第2センサーであり、
前記制御部は、前記パネルと前記スタッカーとを共に閉じる場合は、前記第2センサーが開を表す状態から閉を表す状態に変わってから、所定時間を待って、前記パネルの閉動作を開始する、ことを特徴とする請求項2に記載の記録装置。
The second position detection unit is a second sensor that detects that the stacker during the opening operation has reached the open position,
When both the panel and the stacker are closed, the controller waits for a predetermined time after the second sensor changes from the open state to the closed state, and starts the closing operation of the panel. The recording apparatus according to claim 2.
前記制御部は、前記スタッカーが所定の位置よりも閉側に位置している場合は、前記パネルを前記退避位置に待機させることなく閉動作させる、ことを特徴とする請求項2乃至7のいずれか一項に記載の記録装置。   8. The control unit according to claim 2, wherein, when the stacker is positioned closer to a closed position than a predetermined position, the control unit causes the panel to be closed without waiting at the retracted position. A recording apparatus according to claim 1. 前記制御部は、前記閉指示を受け付けたとき、前記スタッカーが所定の位置よりも閉側の位置にある場合は、前記パネルが前記退避位置よりも閉側にあっても、前記パネルの移動経路と前記スタッカーの移動経路とが一部重なる干渉領域になければ、前記パネルを前記退避位置に移動させることなく閉動作させる、ことを特徴とする請求項2乃至8のいずれか一項に記載の記録装置。   When the control unit receives the closing instruction, if the stacker is in a position closer to the closing side than a predetermined position, the movement path of the panel is not limited even if the panel is closer to the closing side than the retracted position. 9. The panel according to claim 2, wherein the panel is closed without being moved to the retracted position if it is not in an interference region where the stacker and the movement path of the stacker partially overlap each other. Recording device.
JP2014155935A 2014-07-31 2014-07-31 Recording device Pending JP2016033070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014155935A JP2016033070A (en) 2014-07-31 2014-07-31 Recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014155935A JP2016033070A (en) 2014-07-31 2014-07-31 Recording device

Publications (1)

Publication Number Publication Date
JP2016033070A true JP2016033070A (en) 2016-03-10

Family

ID=55452170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014155935A Pending JP2016033070A (en) 2014-07-31 2014-07-31 Recording device

Country Status (1)

Country Link
JP (1) JP2016033070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018016480A (en) * 2016-07-29 2018-02-01 キヤノン株式会社 Recording device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018016480A (en) * 2016-07-29 2018-02-01 キヤノン株式会社 Recording device

Similar Documents

Publication Publication Date Title
JP6060554B2 (en) Recording device
JP6500362B2 (en) Recording device
US9187279B2 (en) Printing device
US9573781B2 (en) Feed device and recording apparatus
JP6260249B2 (en) Printing device
JP6078971B2 (en) Recording apparatus and recording apparatus control method
EP3575092B1 (en) Recording apparatus
JP2016033070A (en) Recording device
JP6565295B2 (en) Recording device
JP6197324B2 (en) Recording device
US10526151B2 (en) Printing devices
JP5994439B2 (en) Recording device
US8585051B2 (en) Image recording device, image recording method and computer-readable medium with
JP2009298060A (en) Recorder and electronic device
JP7392369B2 (en) recording device
US11072189B2 (en) Medium discharging apparatus and medium processing apparatus
JP5994468B2 (en) Printing device
JP4400731B2 (en) MOTOR CONTROL DEVICE, ELECTRONIC DEVICE HAVING THE MOTOR CONTROL DEVICE, MOTOR CONTROL PROGRAM
JP2016033944A (en) Electronics
JP6201365B2 (en) Recording device
JP2014034118A (en) Printer
JP4006597B2 (en) Automatic paper feeder and recording apparatus provided with the automatic paper feeder
JP2007191246A (en) Paper punching device
JP3965581B2 (en) Automatic paper feeder and recording apparatus provided with the automatic paper feeder
JP2016050066A (en) Recording device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160628