JPS61175069A - Output unit - Google Patents

Output unit

Info

Publication number
JPS61175069A
JPS61175069A JP1546685A JP1546685A JPS61175069A JP S61175069 A JPS61175069 A JP S61175069A JP 1546685 A JP1546685 A JP 1546685A JP 1546685 A JP1546685 A JP 1546685A JP S61175069 A JPS61175069 A JP S61175069A
Authority
JP
Japan
Prior art keywords
sensor
carriage
detection
arm
printing
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
JP1546685A
Other languages
Japanese (ja)
Inventor
Hiroshi Yamada
博 山田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1546685A priority Critical patent/JPS61175069A/en
Publication of JPS61175069A publication Critical patent/JPS61175069A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/46Applications of alarms, e.g. responsive to approach of end of line

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Impression-Transfer Materials And Handling Thereof (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable only one sensor to function two kinds of sensing functions by providing a means of judging the first detection and the second detection on the basis of the waveform of output signals from a single position detector to perform the first detection for vertical moving positions of the output portion of a printing ribbon cassette and the second detection for given position of the carriage. CONSTITUTION:Under the condition that a ribbon cassette 7 is lifted, a sensor arm 26 goes into an aperture 27a, and thereby the internal phototransistor of a sensor 27 goes OFF. On the contrary, when the cassette 7 is lowered, the arm 26 turns in the opposite direction and comes out of the aperture 27a of the sensor 27, and thereby the internal photo transistor of the sensor again goes ON, permitting the vertical condition of the cassette 7 to be discriminated. When the carriage 2 moves in the direction of X on a guide rail 8 and the position arm 28 enters the aperture 27a of the sensor 27 in the carriage 2, the photo transistor 27c in the sensor 27 is turned OFF, and it is detected that the carriage 2 is restored to the home position.

Description

【発明の詳細な説明】 [技術分野] 本発明は、電子タイプライタやコンピュータシステムの
出力部等の印刷、印字を行う出力装置に関し、特にキャ
リッジや印字リボンの位置検出を行う出力装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an output device that performs printing, such as an electronic typewriter or an output section of a computer system, and particularly relates to an output device that detects the position of a carriage or a printing ribbon.

[従来技術] 電子タイプライタやコンピュータシステムの出力部等の
印刷、印字等を行う出力装置は、一般に印字用紙に対し
て往復運動するキャリッジを有する。このキャリッジの
往復運動を制御するに際して、キャリッジの往復運動の
起点、すなわち操作側から見て左端にホームポジシ璽ン
を決めることは重要である。それ故、この種の従来の装
置では、キャリッジがホームポジシ璽ンにあるか否かを
検出する専用のセンサを少なくとも1つ具備していた。
[Prior Art] An output device that performs printing, such as an electronic typewriter or an output unit of a computer system, generally has a carriage that reciprocates with respect to printing paper. In controlling the reciprocating movement of the carriage, it is important to determine the home position at the starting point of the reciprocating movement of the carriage, that is, at the left end when viewed from the operating side. Therefore, this type of conventional device is equipped with at least one dedicated sensor for detecting whether the carriage is in the home position.

また、キャリッジ上には印字用の印字リボンや、消去用
の消去リボン等が搭載されている6通常、この印字リボ
ンは、装置使用者(操作者)が現在文字を印字している
印字用紙上の印字ラインを目視できるように、印字ライ
ンより下に位置する。そして、文字を印字用紙に転写す
る時には、この印字リボンは印字ラインの高さまでシフ
トする。
Additionally, a printing ribbon for printing, an erasing ribbon for erasing, etc. are mounted on the carriage.6 Normally, this printing ribbon is placed on the printing paper on which the device user (operator) is currently printing characters. position below the printing line so that it can be seen visually. Then, when transferring characters to printing paper, this printing ribbon is shifted to the height of the printing line.

一方、消去リボンは例えば印字リボンの下部に印字リボ
ンと平行して位置し、印字を消去する場合には、消去リ
ボンが現在印字中の印字ラインの高さまでシフトする。
On the other hand, the erasing ribbon is located, for example, below the printing ribbon and parallel to the printing ribbon, and when erasing printing, the erasing ribbon is shifted to the height of the printing line currently being printed.

従って、上述の一連の印字動作及び消去動作を制御する
には、その時のリボンの上下の移動位置(シフト位置)
を検出する必要があり、このためその検出専用のセンナ
を少なくとも1つ以上具えていなければならない。
Therefore, in order to control the series of printing and erasing operations described above, it is necessary to determine the vertical movement position (shift position) of the ribbon at that time.
It is necessary to detect this, and therefore, at least one sensor dedicated to this detection must be provided.

ところで、上述のキャリッジのホームポジションセンサ
とリボンカセットの上下位置センサとを、1つのセンサ
で兼用させて2つの検出機能を合わせ持たせようとした
場合には、その単一のセンサがキャリッジのホームポジ
ションの復帰を検知しているのか、あるいはカセットの
上下位置移動を検知しているのかを判断できなければな
らない。
By the way, if one sensor is used as both the carriage home position sensor and the ribbon cassette vertical position sensor to have two detection functions, that single sensor will serve as both the carriage home position sensor and the ribbon cassette vertical position sensor. It must be possible to determine whether a return to the position is being detected or whether the cassette is being detected moving up or down.

[目的] 本発明は、上述の点に鑑みてなされたものであって単一
のセンサが、キャリッジのホームポジションを検出した
場合と、カセットの上下位置移動を検知した場合とを、
出力装置制御部に送る検知信号の形態を変えることによ
り、前者を検知しているのか又は後者を検知しているの
か判断を出力装置制御部でさせ、これにより1つのセン
サで間違いなく2種類の検知機能を使い分けることので
きる出力装置を提供することを目的とする。
[Objective] The present invention has been made in view of the above-mentioned points, and it is possible to detect the case where a single sensor detects the home position of the carriage and the case where the vertical position movement of the cassette is detected.
By changing the form of the detection signal sent to the output device control section, the output device control section can determine whether it is detecting the former or the latter, thereby ensuring that one sensor can detect two types of signals. The purpose is to provide an output device that can use different detection functions.

かかる目的を達成するために、本発明は、印字リボンカ
セット等からなる出力部を搭載して出力媒体に沿って往
復動するキャリッジを具えた出力装置において、印字リ
ボンカセット等の出力部の上下方向の移動位置検知の第
1の検知とキャリッジのホームポジション復帰等の所定
位置の検知の第2の検知とを実行する単一の位置検知手
段と、位置検知手段の出力信号の波形に応じて第1の検
知と第2の検知とを判別する判別手段とを具備したこと
を特徴とする。
In order to achieve such an object, the present invention provides an output device equipped with a carriage that carries an output unit such as a print ribbon cassette and moves back and forth along an output medium, in which the output unit such as the print ribbon cassette is moved in the vertical direction. a single position detecting means that performs a first detection of the moving position of the carriage and a second detection of a predetermined position such as returning the carriage to its home position; The present invention is characterized by comprising a discriminating means for discriminating between the first detection and the second detection.

[実施例] 以下、図面を参照して本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明を電子タイプライタに適用した場合の全
体の外観例を示す、ここで100は電子タイプライタで
あり、1〜7aはその構成部材である。まず、1は文字
入力用キーボード、2はキャリッジ、3はキャリッジ2
に対設したプラテン、4はプラテン3により送られる印
字用紙、5はキャリッジ2に搭載された活字ホイール、
8はその活字ホイールの活字を選択的にたたく印字ハン
マーユニ−7)、7aは活字ホイール5と用紙4との間
に介装されたインクリボンである。
FIG. 1 shows an example of the overall appearance when the present invention is applied to an electronic typewriter, where 100 is the electronic typewriter and 1 to 7a are its constituent members. First, 1 is the keyboard for character input, 2 is the carriage, and 3 is the carriage 2.
4 is a printing paper fed by the platen 3, 5 is a type wheel mounted on the carriage 2,
Reference numeral 8 denotes a printing hammer unit 7) for selectively striking the type on the type wheel, and 7a represents an ink ribbon interposed between the type wheel 5 and the paper 4.

本図のタイプライタ100では、キーボード1に配列さ
れた文字キーおよびファンクションキーを含む入カキ−
を操作することにより、ディジー活字ホイール5め外周
に設けた活字をその裏側から印字ハンマーユニット8に
より叩き、インクリボン7aを介してプラテン3上に巻
装された印字用紙4に上述の活字を打刻させて文字等の
記録を行う。
In the typewriter 100 shown in the figure, input keys including character keys and function keys are arranged on the keyboard 1.
By operating the daisy type type wheel 5, the type provided on the outer periphery is struck from the back side by the printing hammer unit 8, and the type mentioned above is struck onto the printing paper 4 wound on the platen 3 via the ink ribbon 7a. It is engraved to record characters, etc.

第2図は、第1図の電子タイプライタのキャリッジ部分
の詳細な構成例を示す、本図に示すように、キャリッジ
2はプラテン3に平行に配置されたスケールレール8上
を図の矢印x 、x’ 方向(左右方向)に移動する。
FIG. 2 shows a detailed configuration example of the carriage portion of the electronic typewriter shown in FIG. , move in the x' direction (left/right direction).

プラテン3に対向したキャリッジ2の上部部分には、活
字ホイール5及び印字ハンマーユニット6からなる活字
打刻機構を設けている。この活字打刻機構の後方に当る
操作者側には、印字リボン7aを収納してその印字リボ
ン7aを活字ホイール5の全面に展張させた印字リボン
カセット7がキャリッジ2上に搭載されている。
The upper part of the carriage 2 facing the platen 3 is provided with a type embossing mechanism consisting of a type wheel 5 and a print hammer unit 6. A printing ribbon cassette 7 containing a printing ribbon 7a and extending the printing ribbon 7a over the entire surface of the printing wheel 5 is mounted on the carriage 2 on the operator's side at the rear of the printing mechanism.

7bは印字リボンカセット7の後端に装着されてそのカ
セット7の先端部を上下動させる回転軸である0回転軸
7bの一端はキャリッジ基板11′ 上に重設した軸受
は版7Cによって回動可能に支持されており、この回転
軸?bの他端には歯車24が固設されている、23はこ
の歯車24と直角に噛合する歯車であり、歯車24 、
23としては例えばベベルギヤー等を適用できる。25
は歯車23の回転軸であり、キャリッジ基板11’上に
垂設した軸受は板25aによって回動可能に支持されて
いる。
7b is a rotating shaft attached to the rear end of the printing ribbon cassette 7 to move the tip of the cassette 7 up and down. One end of the 0-rotating shaft 7b is a carriage board 11'. A bearing mounted on the carriage board 11' is rotated by the plate 7C. Is this rotation axis supported? A gear 24 is fixed to the other end of b, 23 is a gear that meshes with this gear 24 at right angles, and the gear 24,
As 23, for example, a bevel gear or the like can be applied. 25
is a rotating shaft of the gear 23, and a bearing vertically disposed on the carriage base plate 11' is rotatably supported by a plate 25a.

上述の回転軸25には、略り字形板状のセンサアーム2
8の一端が固定されている。
The above-mentioned rotating shaft 25 has an abbreviated plate-shaped sensor arm 2.
One end of 8 is fixed.

27は透過型のフォトインタラプタであり、キャリッジ
2の基板11′上のホームポジション側端部に固設され
ている。センサアーム2Bはフォトインタラプタ27の
右側(操作者から見て右側)に配置され、回転移動によ
りフォトインタラプタ27の透過光を遮断する。
Reference numeral 27 denotes a transmission type photointerrupter, which is fixed to the end of the carriage 2 on the home position side on the substrate 11'. The sensor arm 2B is arranged on the right side of the photointerrupter 27 (the right side when viewed from the operator), and blocks the transmitted light of the photointerrupter 27 by rotating.

印字リボン7aの露出部分は、印字動作の際に印字リボ
ンカセット7の後部に固設した回転軸7bを枢軸として
後述の第3図に示すプランジャ15により矢印A方向に
回動して、活字ホイール5上の活字5aとプラテン3上
の印字用紙4との間に介在する。この回転軸7bの回転
は、そのまま歯車24に伝わり、この歯車24と噛み合
った歯、車23をG方向に回転させる。同時に、この歯
車23の回転軸25も図示の矢印G方向に回転するので
、軸25に装備したセンサアーム2Bの先端が図の矢印
方向に回動して、センサであるフォトインタラプタの隙
間27aに入り込む。
During the printing operation, the exposed portion of the printing ribbon 7a is rotated in the direction of arrow A by a plunger 15 shown in FIG. It is interposed between the printed characters 5a on the platen 5 and the printing paper 4 on the platen 3. This rotation of the rotating shaft 7b is directly transmitted to the gear 24, and rotates the teeth and the wheel 23 meshed with the gear 24 in the G direction. At the same time, the rotating shaft 25 of this gear 23 also rotates in the direction of the arrow G in the figure, so the tip of the sensor arm 2B mounted on the shaft 25 rotates in the direction of the arrow in the figure, and is inserted into the gap 27a of the photointerrupter, which is a sensor. Get into it.

フォトインタラプタ27はLEDのような発光素子27
bとフォトトランジスタのような受光素子27cとを有
し、隙間27aに対設し、この隙間27aに遮光物体が
なければ、発光素子27bから発射した光を受光素子2
7cが入射し、内部のフォトトランジスタがON状態に
なる。一方、隙間27aに遮光物体がある時には、受光
素子27cは発光素子27bの光を入射しないので、内
部のフォトトランジスタはOFF状態になる。
The photo interrupter 27 is a light emitting element 27 such as an LED.
If there is no light blocking object in this gap 27a, the light emitted from the light emitting element 27b will be transmitted to the light receiving element 2.
7c is incident, and the internal phototransistor is turned on. On the other hand, when there is a light blocking object in the gap 27a, the light from the light emitting element 27b does not enter the light receiving element 27c, so the internal phototransistor is turned off.

従って、上述のごとくリボンカセット7が上がった状態
では、隙間27aにセンサアーム2Bが入り込むので、
センサ27の内部のフォトトランジスタはOFF状態と
なる。逆に印字リボンカセット7が下がれば、その動き
に連動してセンサアーム2Bは矢印Fとは反対方向に回
動し、センサ27の隙間27aから抜は出るので、セン
サ内部のフォトトランジスタは再びON状態となる。す
なわち、センサ27の内部のフォトトランジスタのON
あるいはOFF状態を検知することによって、リボンカ
セット7の上下状態が識別される。
Therefore, when the ribbon cassette 7 is raised as described above, the sensor arm 2B enters the gap 27a.
The phototransistor inside the sensor 27 is turned off. Conversely, when the printing ribbon cassette 7 is lowered, the sensor arm 2B rotates in the opposite direction to the arrow F in conjunction with the lowering of the printing ribbon cassette 7, and the sensor arm 2B is removed from the gap 27a of the sensor 27, so that the phototransistor inside the sensor is turned ON again. state. In other words, the phototransistor inside the sensor 27 is turned on.
Alternatively, by detecting the OFF state, the vertical state of the ribbon cassette 7 can be identified.

第3図は、上述の印字リボンカセット7を外して露出さ
せた下台11上のキャリッジ2の内部の詳細構成例を示
す。
FIG. 3 shows a detailed example of the internal structure of the carriage 2 on the lower stand 11 exposed by removing the above-mentioned print ribbon cassette 7.

13は消去リボンであり、12a、12bは消去リボン
13の送給用として下台11の操作者側から見て前方の
左右外側に軸承した送給リール及び巻取リールである。
13 is an erasing ribbon, and 12a and 12b are feeding reels and take-up reels for feeding the erasing ribbon 13, which are rotatably supported on the left and right outer sides of the front of the lower stand 11 when viewed from the operator side.

 14は下台11の左右両側に軸承された雛型のシフト
アームであり、14aおよび14bはこのシフトアーム
14上の左右両端に軸支されたガイドローラである。リ
ール12a及び12bから引き出された消去リボン13
はそのガイドローラ14a、 14b用に張架されてい
る。15はプランジャ、IBは歯車(つめ車)、17は
歯車歩進用アーム、18は逆転防止用押えバネである0
巻取リール12bの回転軸は下台11に設けた貫通孔を
挿通して、その先端に鋸歯状の歯車18を固設しである
。アーム17は下台11の上部に回転可能に軸架して、
プランジャ15が1回上下運動する毎に、歯車IBを1
歯だけ歩進する。この歩道により、歯車1Bは巻取リー
ル12bを図の矢印り方向に回転させて消去リボン13
を巻取り、1文字分だけこのリボン13を移動させる。
Reference numeral 14 designates a model shift arm that is pivotally supported on both left and right sides of the lower stand 11, and 14a and 14b are guide rollers that are pivotally supported on both left and right ends of the shift arm 14. Erasing ribbon 13 pulled out from reels 12a and 12b
is stretched for the guide rollers 14a and 14b. 15 is a plunger, IB is a gear (pawl wheel), 17 is an arm for stepping the gear, and 18 is a presser spring for preventing reverse rotation.
The rotating shaft of the take-up reel 12b is inserted through a through hole provided in the lower base 11, and a serrated gear 18 is fixed to the tip thereof. The arm 17 is rotatably mounted on the upper part of the lower stand 11,
Every time the plunger 15 moves up and down once, the gear IB
Only the teeth move forward. Due to this walkway, the gear 1B rotates the take-up reel 12b in the direction of the arrow in the figure to remove the erasing ribbon 13.
, and move this ribbon 13 by one character.

押えバネ18は鋸歯状の歯車1Bに係合して歯車IBの
逆転を防止すると共に、その周縁の歯を1歯分の回転の
都度止める作用をしている。
The presser spring 18 engages with the serrated gear 1B to prevent the gear IB from reversing, and also functions to stop the peripheral teeth of the gear IB each time it rotates by one tooth.

また、19はリボン押えであり、下台11上に設けた軸
20に取付けたコイルスプリング21により付勢されて
、図の矢印Eの方向に常時押圧している。
A ribbon holder 19 is always pressed in the direction of arrow E in the figure by being biased by a coil spring 21 attached to a shaft 20 provided on the lower stand 11.

このリボン押え19の押圧力により、消去リボン13を
1文字ずつ送給する際に生じる消去リボン13の巻き乱
れやたるみが防止される。
The pressing force of the ribbon presser 19 prevents the erasing ribbon 13 from becoming loose or sagging, which occurs when the erasing ribbon 13 is fed character by character.

また、第2図に戻って、28はポジションアームであり
、キャリッジ2がホームポジション位置に達したか否か
を検出するために、センサ27の隙間27aの延長上で
しかもガイドレール8の左端付近のポジション位置の後
方に設けられている。キャリッジ2がガイドレール8上
をX方向(左側)に移動してきて、ボジシ璽ンアーム2
8がキャリッジ2にこのセンサ27の隙間27aに入り
込むと、センサ27の内部のフォトトランジスタ27c
がOFF I、てキャリッジ2がホームポジションに復
帰したことを検出する。このように、ポジションアーム
28がセンサ隙間27aに入り込んだ直後に、再びキャ
リッジ2をわずかな量だけ右側に移動させて、ポジショ
ンアーム28がセンサ隙間27aから完全に退いた所定
位置をキャリッジ2のホームポジションとあらかじめ定
める。このような動作によって、例えば、電子タイプラ
イタ100がホームポジションから印字を開始し、この
時ホームポジションでカセット上下センサアーム2Bが
センサ隙間2?aに入り込んでも、ポジションアーム2
8によりその動作を阻止されることはない。
Returning to FIG. 2, reference numeral 28 is a position arm which is placed on the extension of the gap 27a of the sensor 27 and near the left end of the guide rail 8 in order to detect whether or not the carriage 2 has reached the home position. It is located behind the position. The carriage 2 moves in the X direction (left side) on the guide rail 8, and the positioning arm 2
8 enters the gap 27a of this sensor 27 into the carriage 2, the phototransistor 27c inside the sensor 27
OFF I, it is detected that the carriage 2 has returned to the home position. In this way, immediately after the position arm 28 enters the sensor gap 27a, the carriage 2 is moved to the right again by a small amount, and the carriage 2 returns to a predetermined position where the position arm 28 has completely retreated from the sensor gap 27a. Define the position in advance. By such an operation, for example, the electronic typewriter 100 starts printing from the home position, and at this time, the cassette upper and lower sensor arms 2B are in the sensor gap 2? Even if it enters a, position arm 2
8 does not prevent its operation.

第4図は、上述した構成の本発明の電子タイプライタの
動作を制御する回路の構成例を示す。
FIG. 4 shows an example of the configuration of a circuit for controlling the operation of the electronic typewriter of the present invention having the above-described configuration.

本図に於いて、23はマイクロプロセッサ(MPU)で
あり、ROM(リードオンリメモリ)30に格納された
。第7図に示すような処理手順(プログラム)にしたが
ってタイプライタ装置全体の動作を制御する、31はキ
ーボード回路であり、キー操作によりキー人力を行う機
能を有する。マイクロプロセッサ28は、このキーボー
ド回路(KEY) 31と、RAM  (ランダムアク
セスメモリ)32と、 ROM30と及びインターフェ
ース回路33とを共通のデータバス34およびアドレス
バス35とを介して制御する。
In this figure, 23 is a microprocessor (MPU), which is stored in a ROM (read only memory) 30. A keyboard circuit 31 controls the operation of the entire typewriter device according to a processing procedure (program) as shown in FIG. 7, and has a function of manually operating keys by key operation. The microprocessor 28 controls the keyboard circuit (KEY) 31, RAM (Random Access Memory) 32, ROM 30, and interface circuit 33 via a common data bus 34 and address bus 35.

印字データの入出力はこのデータバス34を介して行い
、転送データのアドレス制御はアドレスバス35を介し
て行う、36はデータの転送タイミング指定用のR/W
信号線である。
Input/output of print data is performed via this data bus 34, and address control of transfer data is performed via an address bus 35. 36 is an R/W for specifying data transfer timing.
It is a signal line.

キーボード回路31からの入力情報は、割り込みにより
処理される。すなわち、キーボード回路31のキーの押
下による割り込みの発生は、割り込み信号線31′ を
通じてマイクロプロセッサ29に通知される。このとき
発生したコード化されたキー押下情報は、キーボード回
路31からデータバス34に出力される。マイクロプロ
セッサ28はこの押下情報をRAM32のバッファに格
納したり、あるいはまたインタフェース回路33を通じ
て外部へ出力したりするという一般的な公知の印字制御
動作を行う。
Input information from the keyboard circuit 31 is processed by interrupt. That is, the occurrence of an interrupt due to the depression of a key on the keyboard circuit 31 is notified to the microprocessor 29 through the interrupt signal line 31'. The encoded key press information generated at this time is output from the keyboard circuit 31 to the data bus 34. The microprocessor 28 performs a generally known print control operation such as storing this press information in a buffer of the RAM 32 or outputting it to the outside through the interface circuit 33.

インタフェース回路33は各種データの入出力ポートと
して機能し、所定のアドレスと特定の入出力データとを
対応させる0本例では、インタフェース回路33に対す
る入力系の回路としては、キャリッジ2のホームポジシ
ョンの復帰とカセットの上下検出用のセンサ27を含む
検出回路37を示し、また、インタフェース回路33の
出力系としては、駆動制御回路38を示している。この
駆動制御回路38は、インタフェース回路33から出力
される論理レベル情報を実際の駆動系38の駆動電圧レ
ベルに変換し、この電圧レベルを駆動系38の各作動機
構に与える。駆動系39は、キャリッジ駆動系、プラテ
ン駆動系、ハンマー駆動系等から構成されている。
The interface circuit 33 functions as an input/output port for various data, and associates a predetermined address with specific input/output data. A detection circuit 37 including a sensor 27 for detecting the top and bottom of the cassette is shown, and a drive control circuit 38 is shown as an output system of the interface circuit 33. This drive control circuit 38 converts the logic level information output from the interface circuit 33 into an actual drive voltage level of the drive system 38, and provides this voltage level to each operating mechanism of the drive system 38. The drive system 39 includes a carriage drive system, a platen drive system, a hammer drive system, and the like.

次に、センサ27がキャリッジ2のホームポジション復
帰を検知したのか、あるいは印字リボンカセット7の上
下移動を検知したのかを判別する判別手段について説明
する。
Next, a determination means for determining whether the sensor 27 has detected return of the carriage 2 to the home position or vertical movement of the print ribbon cassette 7 will be described.

センサ27の隙間27aに遮光物体が入って、センサ2
7の発光素子の光路がさえぎられる場合には、センサ2
7の内部のフォトトランジスタ27cがOFFとなり、
この時検出回路37は論理レベルの高レベルの信号を発
生する。一方、センサ27の発光素子27bの光路がさ
えぎられていない場合には、センサ27の内部のフォト
トランジスタ27cはONとなり、検出回路37は論理
レベルの低レベルの信号を発生する。
If a light blocking object enters the gap 27a of the sensor 27, the sensor 2
If the optical path of the light emitting element 7 is blocked, the sensor 2
The phototransistor 27c inside 7 is turned off,
At this time, the detection circuit 37 generates a logic high level signal. On the other hand, when the optical path of the light-emitting element 27b of the sensor 27 is not blocked, the phototransistor 27c inside the sensor 27 is turned on, and the detection circuit 37 generates a low-level logic signal.

まず、カセット上下位置センサアーム2Bがセンサ隙間
27aに入り込んだ場合について説明する。
First, a case will be described in which the cassette vertical position sensor arm 2B enters the sensor gap 27a.

印字リボンカセット7が下がっている状態から印字命令
が出されて、印字リボンカセット7が上がった場合には
、すでに述べたようにカセット上下位置センサアーム2
Bがセンサ隙間27aに入り込み、第5図に示すように
時刻T1に於いてアーム28がセンサ27の発光素子2
7bの光路をさえぎる。したがって検出回路37は、第
5図に波形Aで示した如く、T、以前では低レベルの信
号を出力していたが、時刻T、からは高レベルの信号を
出力する。
When a printing command is issued from a state where the printing ribbon cassette 7 is lowered and the printing ribbon cassette 7 is raised, the cassette vertical position sensor arm 2 is activated as described above.
B enters the sensor gap 27a, and as shown in FIG.
Blocks the optical path of 7b. Therefore, as shown by waveform A in FIG. 5, the detection circuit 37 outputs a low level signal before T, but from time T onwards, it outputs a high level signal.

次に、ポジションアーム28がセンサ隙間2?aに入り
込む場合について説明する。第6図に示すように、ポジ
ションアーム28にはセンサ27の発光素子2?bの光
路の高さ位置にたて穴40がおいている。従って、第5
図に波形Bで示した様に、センサ27が移動してポジシ
ョンアーム28がセンサ隙間27aに入り込む場合には
、まず時刻〒1でポジションアーム2Bの右側のエツジ
がセンサ27の発光素子27bの光路をさえぎる。これ
により、この時刻T1では、検出回路37の出力は低レ
ベルから高レベルに変化する。さらに、キャリッジ2が
左方向に移動して時刻T2になると、ポジションアーム
28のたて穴40がセンサ27の発光素子27bの光路
に位置する。この時、センサ27の発光素子27bの光
はたて穴40を通じてセンサ内部の受光素子27cに入
射し、センサ27の内部のフォトトランジスタがONと
なる。従って、このとき検出回路37は低レベルの信号
を出力することとなる。
Next, position arm 28 moves to sensor gap 2? A case will be explained in which the case enters a. As shown in FIG. 6, the light emitting element 2 of the sensor 27 is attached to the position arm 28. A vertical hole 40 is placed at the height of the optical path b. Therefore, the fifth
As shown by waveform B in the figure, when the sensor 27 moves and the position arm 28 enters the sensor gap 27a, first, at time 1, the right edge of the position arm 2B becomes the optical path of the light emitting element 27b of the sensor 27. to block As a result, at this time T1, the output of the detection circuit 37 changes from a low level to a high level. Further, when the carriage 2 moves leftward and time T2 comes, the vertical hole 40 of the position arm 28 is located in the optical path of the light emitting element 27b of the sensor 27. At this time, the light from the light emitting element 27b of the sensor 27 enters the light receiving element 27c inside the sensor through the vertical hole 40, and the phototransistor inside the sensor 27 is turned on. Therefore, at this time, the detection circuit 37 outputs a low level signal.

上述のように、ポジションアーム28がセンサ隙間27
aに入り込んだ時刻T、からT2までの間は、検出回路
37が出力する高レベルの信号時間Taとなる。また、
センサアーム26がセンサ隙間27aに入っている場合
に、再び印字リボンカセット7が下がると、検出回路3
7は低レベルの信号を出力するが、検出回路37が時刻
丁、で高レベルの信号を出力し、再び低レベルの信号を
出力する時刻T5までの最小時間はTbとなる。ここで
、Ta 、 TbはTa<Tcとあらかじめ設定するが
、この条件は、印字リボンカセット7の上下移動速度、
キャリッジ2の左右移動速度及びポジションアーム28
ノたて大幅等を調整することによって容易に実現される
。ここで、時刻〒3は時刻τ2の直後の時刻であり、ポ
ジションアーム28のたて穴40がセンサ27の発光素
子27bの光路にまだ位置している時の時刻とする。ま
た1時刻T、から時刻〒3迄の時間丁cは時間Tbより
短かく、Ta<Tc<Tbの関係が成立するものとする
As mentioned above, the position arm 28 is located in the sensor gap 27.
The period from time T when the signal enters point a to time T2 is a high level signal time Ta that the detection circuit 37 outputs. Also,
If the printing ribbon cassette 7 is lowered again while the sensor arm 26 is in the sensor gap 27a, the detection circuit 3
7 outputs a low level signal, but the minimum time until time T5 when the detection circuit 37 outputs a high level signal at a certain time and again outputs a low level signal is Tb. Here, Ta and Tb are set in advance as Ta<Tc, but this condition is based on the vertical movement speed of the printing ribbon cassette 7,
Horizontal movement speed of carriage 2 and position arm 28
This can be easily achieved by adjusting the height of the groove, etc. Here, time 3 is a time immediately after time τ2, and is a time when the vertical hole 40 of the position arm 28 is still located in the optical path of the light emitting element 27b of the sensor 27. Further, it is assumed that the time c from 1 time T to time 3 is shorter than time Tb, and the relationship Ta<Tc<Tb holds.

上下位置センサアーム2Bもしくはポジションアーム2
8がセンサ隙間27aに入って時刻T1で検出回路37
の信号が高レベルになった後に、第5図に示すようにあ
らかじめ定めた所定時刻T3で検出回路37の信号を検
出すれば両アーム28.28の内どちらのアームがセン
サ隙間27aに入ったのかが判断される。すなわち、セ
ンナ隙間27aに入ったアームがカセット上下位置セン
サアーム2Gであれば、検出回路37は高レベルの信号
を時刻T3で出力し、またセンサ隙間27aに入ったア
ームがポジションアーム2Bであれば、検出回路37は
低レベルの信号を時刻T3で出力する。よって、ブイク
ロプロセッサ29はインタフェース回路33を通じて検
出回路37の検出信号を入力し、以上述べたようにこの
検出信号の変化により、時刻T1で上下位置センサアー
ム26もしくはポジションアーム28がセンサ隙間27
aに入ったことを検知し、その後、時刻T3で再び検出
回路37からの出力信号のレベルを検知することによっ
てキャリッジ2のホームポジション位置への復帰の検知
であるか、カセット上下位置検知であるのかを識別する
ことができる。いま、キャリッジ2のホームポジション
復帰の検知であるとすると、この直後に、キャリッジ2
を再び往路方向(右方向)にあらかじめ定めた所定距離
まで戻してホームポジションに位置する。この戻り時の
時刻〒4で、ポジションアーム28の右エツジがセンサ
27の発光素子27bの光路を再び遮ぎるので、検出回
路37は時刻T4から高レベルの信号を発生する。この
後、時刻〒5では。
Vertical position sensor arm 2B or position arm 2
8 enters the sensor gap 27a and the detection circuit 37 at time T1.
After the signal becomes high level, if the signal of the detection circuit 37 is detected at a predetermined time T3 as shown in FIG. 5, which of the arms 28 and 28 has entered the sensor gap 27a. It is judged whether That is, if the arm that entered the sensor gap 27a is the cassette vertical position sensor arm 2G, the detection circuit 37 outputs a high level signal at time T3, and if the arm that entered the sensor gap 27a is the position arm 2B. , the detection circuit 37 outputs a low level signal at time T3. Therefore, the bicycle processor 29 inputs the detection signal of the detection circuit 37 through the interface circuit 33, and as described above, due to the change in this detection signal, the vertical position sensor arm 26 or the position arm 28 closes the sensor gap 27 at time T1.
a, and then at time T3, the level of the output signal from the detection circuit 37 is detected again to detect the return of the carriage 2 to the home position, or to detect the vertical position of the cassette. It is possible to identify whether Now, assuming that the return of carriage 2 to the home position is detected, immediately after this, carriage 2
is returned to a predetermined distance in the outgoing direction (to the right) and located at the home position. At time T4 during this return, the right edge of the position arm 28 again blocks the optical path of the light emitting element 27b of the sensor 27, so the detection circuit 37 generates a high level signal from time T4. After this, at time 〒5.

最早ポジシ、ンアーム28はセンサ27の発光素子27
bの光路を遮ざらないので、検出回路37は時刻T5か
ら低ジベルの信号を発生する。
Now in the positive position, the arm 28 is connected to the light emitting element 27 of the sensor 27.
Since the optical path b is not blocked, the detection circuit 37 generates a low-gibel signal from time T5.

第7図は上述のマイクロプロセッサ28が上述した検知
動作を行うときの制御手順の一例を示す。
FIG. 7 shows an example of a control procedure when the above-mentioned microprocessor 28 performs the above-mentioned detection operation.

まず、ステップS50では、検出回路37からインター
フェース回路33を通じて送られてくる検出信号を閾値
と比較して、その検出信号が高レベルの信号か否かを判
別する。否定判定ならば、再び検出信号を入力して同様
の判別処理を繰り返し、肯定判定ならば次のステップS
51に移行してタイマを起動する0例えば、第5図の時
刻TKで検出回路37から高レベルの信号出力がある場
合にはステップS51に移り、内蔵のタイマの経時を開
始する0次に、ステップS52に移り、そのタイマがタ
イムアツプしたか否か、すなわちタイマ起動から所定時
間Tc経過したか否かを、判定する。タイマがタイムア
ツプした時にはステップ353に移り、検出回路37か
らインターフェース回路33を通じて出力される検出信
号を閾値と比較し、検出回路37′   の検出信号が
高レベルである場合は、第5図の波形Aの場合であるの
で、ステップ354で印字動作を行い、一方、検出回路
37の検出信号が低レベルの場合は、第5図の波形Bの
場合であるので、ステップS55でキャリッジ2を右方
向のホームポジション位置まで戻す。
First, in step S50, the detection signal sent from the detection circuit 37 through the interface circuit 33 is compared with a threshold value to determine whether or not the detection signal is a high-level signal. If the judgment is negative, the detection signal is input again and the same judgment process is repeated, and if the judgment is positive, the next step S
For example, if there is a high level signal output from the detection circuit 37 at time TK in FIG. 5, the process moves to step S51 and starts the built-in timer. Proceeding to step S52, it is determined whether the timer has timed up, that is, whether a predetermined time Tc has elapsed since the timer activation. When the timer times up, the process moves to step 353, where the detection signal outputted from the detection circuit 37 through the interface circuit 33 is compared with the threshold value, and if the detection signal of the detection circuit 37' is at a high level, the waveform A in FIG. In this case, the printing operation is performed in step 354. On the other hand, if the detection signal of the detection circuit 37 is at a low level, this is the case of waveform B in FIG. 5, so in step S55 the carriage 2 is moved to the right. Return to the home position.

また本例では、センサにフォトインタラプタをも用いて
検出信号の信号幅の違いにより上述の2つの検知対象を
判別するようにしたが、検知信号によりその判別ができ
るものであればセンサの種類及び信号の区別の基準をど
のようにするかということは問題ではない。
In this example, a photointerrupter is also used in the sensor to distinguish between the two detection targets based on the difference in the signal width of the detection signal. It does not matter what the criteria for distinguishing signals is.

さらに、本例では本発明を電子タイプライタに適用した
場合を例示したが、これに限定されず、例えばコンピュ
ータなどの出力機器等において、キャリツリのホームポ
ジション位置の検出と、リボンカセットの上下移動位置
の検出とに共通のセンサを使用可能な記録装置であれば
、本発明が適用できることは言うまでもない。
Further, in this example, the present invention is applied to an electronic typewriter, but the present invention is not limited to this. For example, in an output device such as a computer, detection of the home position of the caliper and the vertical movement position of the ribbon cassette are possible. It goes without saying that the present invention is applicable to any recording device that can use a common sensor for detection.

[効果] 以上の説明から明らかなように、本発明によれば、キャ
リッジ等の出力部がホームポジション等の所定位置に復
帰したことの検知と、印字カセット等の出力部が上方も
しくは下方の位置に移動したことの検知とを共通のセン
サの検出回路が発生する検出信号の振幅等の波形の相違
によって識別できるようにしたので、1つのセンサで2
種類の検出対象の内のどちらの検出対象を検出している
かを確実に判定して制御動作を行うことができる効果が
得られる。
[Effects] As is clear from the above description, according to the present invention, it is possible to detect that the output unit such as a carriage has returned to a predetermined position such as the home position, and to detect whether the output unit such as a printing cassette is in an upper or lower position. Detection of a movement to a common sensor can be distinguished from the detection of movement by a difference in the waveform such as the amplitude of the detection signal generated by the detection circuit of a common sensor.
This provides the advantage that it is possible to reliably determine which detection target is being detected among the types of detection targets and to perform control operations.

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

第1図は、本発明を適用した電子タイプライタの外観例
を示す斜視図、 第2図は第1図の電子タイプライタのキャリッジ部分の
構成を拡大して示す斜視図、 第3図は、第2図のキャリッジの内部の詳細構成例を示
す斜視図、 第4図は、第1図の電子タイプライタの制御回路の構成
例を示すブロック線図、 第5図は第4図の検出回路の出力波形の一例を示すタイ
ミングチャート、 第6図は第2図のポジションアームとセンサとの関係を
示す説明図、 第7図は第4図の制御回路におけるマイクロプロセッサ
の制御動作例を示すフローチャートである。 2・・・キャリッジ、 7・・・印字リボンカセット、 7a・・・印字リボン、 13・・・消去リボン、 15・・・プランジャ、 23.24・・・歯車、 25・・・アーム回転軸、 26・・・カセット上下センサアーム、27・・・セン
サ、 27a・・・センサ隙間、 28・・・ポジションアーム。 37・・・検出回路、 38・・・駆動制御回路、 38・・・印字装置駆動系、 40・・・たて穴。 第5図 第6図
FIG. 1 is a perspective view showing an example of the external appearance of an electronic typewriter to which the present invention is applied; FIG. 2 is an enlarged perspective view showing the structure of the carriage portion of the electronic typewriter shown in FIG. 1; FIG. FIG. 4 is a block diagram showing an example of the configuration of the control circuit of the electronic typewriter shown in FIG. 1; FIG. 5 is the detection circuit shown in FIG. 4. 6 is an explanatory diagram showing the relationship between the position arm and the sensor in FIG. 2, and FIG. 7 is a flowchart showing an example of the control operation of the microprocessor in the control circuit in FIG. 4. It is. 2... Carriage, 7... Printing ribbon cassette, 7a... Printing ribbon, 13... Erasing ribbon, 15... Plunger, 23.24... Gear, 25... Arm rotation axis, 26... Cassette upper and lower sensor arms, 27... Sensor, 27a... Sensor gap, 28... Position arm. 37...Detection circuit, 38...Drive control circuit, 38...Printing device drive system, 40...Vertical hole. Figure 5 Figure 6

Claims (1)

【特許請求の範囲】 出力媒体に沿って往復動するキャリッジ、 該キャリッジに搭載され上下方向の移動が可能であって
、前記出力媒体に所定の情報を出力するための出力部、 前記キャリッジの所定位置を検出する第1の検出と前記
出力部の上下方向の移動位置を検出する第2の検出とを
実行する単一の検出手段、および該検出手段の出力波形
に応じて前記第1の検出と前記第2の検出とを判別する
判別手段とを具備したことを特徴とする出力装置。
[Scope of Claims] A carriage that reciprocates along an output medium; an output unit mounted on the carriage and capable of vertical movement for outputting predetermined information to the output medium; a predetermined portion of the carriage; a single detection means for performing a first detection for detecting a position and a second detection for detecting a vertical movement position of the output section, and the first detection according to an output waveform of the detection means; and a discriminating means for discriminating between the second detection and the second detection.
JP1546685A 1985-01-31 1985-01-31 Output unit Pending JPS61175069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1546685A JPS61175069A (en) 1985-01-31 1985-01-31 Output unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1546685A JPS61175069A (en) 1985-01-31 1985-01-31 Output unit

Publications (1)

Publication Number Publication Date
JPS61175069A true JPS61175069A (en) 1986-08-06

Family

ID=11889576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1546685A Pending JPS61175069A (en) 1985-01-31 1985-01-31 Output unit

Country Status (1)

Country Link
JP (1) JPS61175069A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988007936A1 (en) * 1987-04-13 1988-10-20 Star Seimitsu Kabushiki Kaisha Serial color printer used with ink ribbon cassette
JPH02281948A (en) * 1989-04-24 1990-11-19 Canon Inc Recorder
US5150977A (en) * 1988-03-15 1992-09-29 Canon Kabushiki Kaisha Recording apparatus with detector for paper edge and end of ribbon sensing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988007936A1 (en) * 1987-04-13 1988-10-20 Star Seimitsu Kabushiki Kaisha Serial color printer used with ink ribbon cassette
US5080511A (en) * 1987-04-13 1992-01-14 Star Seimitsu Kabushiki Kaisha Serial type color printer used with ink ribbon cassette
US5112150A (en) * 1987-04-13 1992-05-12 Star Seimitsu Kabushiki Kaisha Serial type color printer with ink ribbon cassette position sensor
US5150977A (en) * 1988-03-15 1992-09-29 Canon Kabushiki Kaisha Recording apparatus with detector for paper edge and end of ribbon sensing
JPH02281948A (en) * 1989-04-24 1990-11-19 Canon Inc Recorder

Similar Documents

Publication Publication Date Title
US4540299A (en) Margin and tab stop determining apparatus responsive to page edge sensor
JPS61175069A (en) Output unit
US5131090A (en) Word processor with simplified character train designation for modifying fonts
US6663211B2 (en) Printing device and roll paper
US5150977A (en) Recording apparatus with detector for paper edge and end of ribbon sensing
JPS6127195B2 (en)
JP3366698B2 (en) Printing device
JPS58102791A (en) Printer
JP3874085B2 (en) Image recording apparatus, recording medium initial setting apparatus and method
US5152625A (en) Dual use of ribbon sensor in a printing device
TWI246467B (en) Automatic recognition system and its method of printer recording media
EP0769387B1 (en) Printing device with roll paper detection
JP2582429B2 (en) Recording device
JP2966239B2 (en) Movable object stop position control device
JPH01110177A (en) Printer
EP0009086B1 (en) Semi-automatic device for the introduction of paper into an electronic typewriter
JP2560419B2 (en) Printer
JPH0739662Y2 (en) Small printer
JP2689248B2 (en) Character printing device
JPS62222872A (en) Electronic typewriter
JPH0445037A (en) Paper size detector for image former
JPS61175068A (en) Output device
JPH0633583Y2 (en) Magnetic disk unit
JP3491194B2 (en) Impact dot printer
JPH0234381A (en) Recorder