JPS59196282A - Electronic typewriter - Google Patents

Electronic typewriter

Info

Publication number
JPS59196282A
JPS59196282A JP7120883A JP7120883A JPS59196282A JP S59196282 A JPS59196282 A JP S59196282A JP 7120883 A JP7120883 A JP 7120883A JP 7120883 A JP7120883 A JP 7120883A JP S59196282 A JPS59196282 A JP S59196282A
Authority
JP
Japan
Prior art keywords
carriage
counter
width
setting
setting member
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
JP7120883A
Other languages
Japanese (ja)
Inventor
Takeshi Matsushita
剛 松下
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.)
Tokyo Sanyo Electric Co Ltd
Toshiba TEC Corp
Original Assignee
Tokyo Sanyo Electric Co Ltd
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Sanyo Electric Co Ltd, Tokyo Electric Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP7120883A priority Critical patent/JPS59196282A/en
Publication of JPS59196282A publication Critical patent/JPS59196282A/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
    • B41J21/00Column, tabular or like printing arrangements; Means for centralising short lines
    • B41J21/12Column, tabular or like printing arrangements; Means for centralising short lines characterised by arrangements of electrical contacts

Abstract

PURPOSE:To make it possible to accurately determine each setting position, by displaying the position of each position setting member by the distance of a reference position calculated by subtracting the half value of the width counter of the setting member from the value of a carriage position counter. CONSTITUTION:A carriage 11 is moved by a step motor 12 subjected to driving control by the pulse signal (a) from a control apparatus 16 comprising a microcomputer and the position thereof is counted by the carriage position counter mounted in said carriage 11. On the other hand, an optical position detecting sensor 14 provided to the carriage 11 detects the passage of position setting members 5a-5d respectively different in width according to position setting functions and the pulse signal (a) in the output of the detected signal (b) thereof is counted by a width counter and the half value thereof is subtracted from the value of the position counter to make it possible to calculate each central position of the setting members 5a-5d as the distance from a reference position. By this mechanism, each setting position can be automatically detected more accurately.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は電子タイプライタ−の改良に関する。[Detailed description of the invention] [Technical field of invention] This invention relates to improvements in electronic typewriters.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般にタイプライタ−においでは各種用紙のサイズある
いは印字フォーマットに対処するためにキャリッジの移
動を制御する左右のマージン位置及びタブ位置が任意設
定可能になっている。これは文章メモリ等を内蔵した電
子タイプライタ−においても同様である。
Generally, in typewriters, left and right margin positions and tab positions for controlling carriage movement can be set arbitrarily to accommodate various paper sizes or print formats. This also applies to electronic typewriters with a built-in text memory.

従来、電子タイプライタ−においては例えばス被−スキ
ー等を使用してキャリッジをマージン、タブとすべき位
置まで移動させ、その位置でマージンセットキーやタブ
セットキーをキー人力して内部メモリにマージン位置や
タブ位置を情報として記憶するものであった。
Conventionally, in electronic typewriters, the carriage is moved to the position where margins and tabs should be set using a ski, etc., and the margins are stored in the internal memory by manually pressing the margin set key or tab set key at that position. It was to store the position and tab position as information.

しかしこのものではマーノン位置やタブ位置を外部から
直接見分けることができず、その位置を知るにはキャリ
ッジを移動させなければならない問題があった。
However, with this one, the mernon position and tab position could not be directly discerned from the outside, and the carriage had to be moved to find out the position.

これらの問題を回避するために、上記キャリッジの移動
方向に移動自在に左・右のマージン位置、タブ位置、キ
ャリッジの小−ムポジション、ベル位置等の各位置設定
部材を設け、上記キャリッジに上記各位置設定部材に対
するキャリッジの通過を検出する位置検出センサを取付
け、そして、電源投入時に上記キャリツノを移動制御し
てそのときの上記位置検出センサの出力信号からマージ
ン位置、タブ位置等を検出して記憶し、以降その記憶さ
れた各設定位置に基づいて前記キャリツノの移動制御を
行うようにした電子タイグライタ−が提案されている。
In order to avoid these problems, position setting members such as left and right margin positions, tab positions, carriage small position, bell position, etc. are provided movably in the direction of movement of the carriage. A position detection sensor is installed to detect the passage of the carriage relative to each position setting member, and when the power is turned on, the movement of the carriage horn is controlled and the margin position, tab position, etc. are detected from the output signal of the position detection sensor at that time. An electronic tie lighter has been proposed in which the movement of the carrying horn is controlled based on the stored setting positions.

しかしながら、このように構成された電子タイプライタ
−においては次のような問題があった。
However, the electronic typewriter constructed in this manner has the following problems.

すなわち、前記キャリッジに設けられる位置検出センサ
としては、(1)ホーレ素子による磁界の変化を検出す
るもの、(2)コイルのインダクタンス変化を検出する
もの、(3)光のしゃ断を検出するもの、(4)キャパ
シタンスの変化を検出するもの等が提案されているが、
いずれも、使用条件等によって、位置検出センサの出力
レベルが大きく変動する。たとえば、光学的センサを用
いた場合、温度、外部よりの光、素子自体の特性のバラ
ツキ、組立精度等により出力レベルが犬きく変動する。
That is, the position detection sensors provided on the carriage include (1) a sensor that detects a change in the magnetic field due to a Holle element, (2) a sensor that detects a change in inductance of a coil, (3) a sensor that detects light interruption. (4) Although devices that detect changes in capacitance have been proposed,
In either case, the output level of the position detection sensor varies greatly depending on usage conditions and the like. For example, when using an optical sensor, the output level fluctuates considerably depending on temperature, external light, variations in the characteristics of the element itself, assembly precision, etc.

従来、各設定部利の位置は、上記位置検出センサの出力
信号の立上シ位置を一定のしきい値を有した電圧比較器
等で検出していた。したがって、出力レベルが変動すれ
ば、立上り特性も対応して変動するので、電圧比較器等
で検出した各設定部材の位置に上記出力レベル変動に対
応した誤差が混入する。その結果、正確な左・右マージ
ン位置、タブ位置等が得られないおそれがあった。
Conventionally, the position of each setting portion has been detected by using a voltage comparator or the like having a certain threshold value at the rising position of the output signal of the position detection sensor. Therefore, if the output level fluctuates, the rise characteristic also fluctuates correspondingly, so that an error corresponding to the output level fluctuation is mixed into the position of each setting member detected by a voltage comparator or the like. As a result, accurate left and right margin positions, tab positions, etc. may not be obtained.

〔発明の目的〕[Purpose of the invention]

本発明は、このような事情に基づいてなされだものであ
シ、その目的とするところは、′左・右マージン位置や
タブ位置を外部から一目で見分けることができると共に
、各位置設定部材にて設定されたマージン位置等の各位
置の設定位置をより正確に自動的に把握できる電子タイ
プライタ−を提供することにある。
The present invention was developed based on the above circumstances, and its purpose is to enable the left and right margin positions and tab positions to be distinguished at a glance from the outside, as well as to provide information on each position setting member. An object of the present invention is to provide an electronic typewriter that can more accurately and automatically grasp the setting position of each position such as a margin position set by a user.

〔発明の概要〕[Summary of the invention]

本発明の電子タイプライタ−においては6、ノヤルス信
号に対応して移動制御されるキャリッジの移動方向に左
・右マージン位置、タブ位置等を設定するだめの複数の
位置設定部材を配置し、上記キャリッジにこのキャリッ
ジが上記各位置設定部材を通過する間だけ動作する位置
検出用のセンサを取伺け、幅カウンタにて上記センサが
動作しているときだけ上記キャリッジのノ9ルス信号の
パルス数を計測することによって各位置設定部材の幅を
検出している。また、キャリッジ位置カウンタにて前記
パルス信号のノ々ルス数を計測することによって、その
時のキ’r”)ツジの基準位置からの距離を求めている
。そして、上記キャリッジ位置カウンタ値から前記幅カ
ウンタ値の半分の値を減じることによって、前記各位置
設定部材の中心位置の前記基準位置からの距離を求め、
この距離を前記位置設定部材の設定位置としている。
6. In the electronic typewriter of the present invention, a plurality of position setting members for setting left and right margin positions, tab positions, etc. are arranged in the moving direction of the carriage whose movement is controlled in response to Noyals signals, and the above-mentioned A position detection sensor is installed on the carriage that operates only while the carriage passes each of the position setting members, and the width counter measures the number of pulses of the pulse signal of the carriage only when the sensor is operating. The width of each position setting member is detected by measuring the width of each position setting member. In addition, by measuring the number of pulses of the pulse signal with a carriage position counter, the distance from the reference position of the key at that time is determined.Then, from the carriage position counter value, the width Determine the distance of the center position of each position setting member from the reference position by subtracting half the value of the counter value;
This distance is defined as the set position of the position setting member.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は外観を示す斜視図で、筐体1の前面には文字お
よびファンクションを指定するキー信号を入力するキー
ボード2および印字ピッチおよび後述するキャリッジ位
置を示すピッチスケール3が設けられている。このピッ
テスク″−ル3に沿ってスライド溝4が形成され、その
スライド溝4に、キャリッジの左マージン位置、タブ位
置、ベル位置、右マージン位置をそれぞれ設定するだめ
の位置設定部側5a、5b。
FIG. 1 is a perspective view showing the exterior, and the front surface of the housing 1 is provided with a keyboard 2 for inputting key signals for specifying characters and functions, and a pitch scale 3 for indicating print pitch and carriage position to be described later. A slide groove 4 is formed along this pit scale 3, and position setting portion sides 5a and 5b are used to set the left margin position, tab position, bell position, and right margin position of the carriage, respectively. .

5c、5dが移動自在に設けられている。前記ピッチス
ケール3にはキャリッジの移動位置を指示する指示針6
が目視できるように設けられている。また前記筐体1の
側面にはプラテンノブ7が設けられている。
5c and 5d are movably provided. The pitch scale 3 has an indicator 6 for indicating the movement position of the carriage.
is placed so that it can be seen visually. Further, a platen knob 7 is provided on the side surface of the housing 1.

第2図は前記筐体1内に収容された主な構成部材を概略
的に示すもので、第1図の筐体1のフレームにシャフト
8,9がそれぞれ所定の間隔をあけて互いに平行に架設
されている。このシャフト8.9にはディジーホイール
型の印字ヘッド10を備えたキャリッジ11がシャフト
8.9の架設方向に移動自在に取付られている。
FIG. 2 schematically shows the main components housed in the housing 1. Shafts 8 and 9 are mounted parallel to each other at a predetermined interval in the frame of the housing 1 shown in FIG. It is being constructed. A carriage 11 equipped with a daisy-wheel type print head 10 is attached to this shaft 8.9 so as to be movable in the installation direction of the shaft 8.9.

このキャリア・ゾIノは、パルス信号aにて回転駆動制
御されるステップモータ12にて回転するワイヤ13に
よって1パルス1文字ステップの割合で移動制御される
もので、その前面に光学式の位置検出センサI4が取付
られている。
This carrier zo I is controlled to move at a rate of 1 character step per pulse by a wire 13 which is rotated by a step motor 12 which is rotationally controlled by a pulse signal a, and an optical position is provided on the front surface of the carrier. A detection sensor I4 is attached.

この光学式の位置検出センサ14は、発光ダイオードと
フォトトランジスタとを対向配置したもので、キャリッ
ジ11を移動させたとき、その対向空間部15を前記各
位置設定部材58〜5dおよびキャリッジ11のホーム
ポジション用の位置設定部材5eの各先端が通過するよ
うに設定されている。なお、これら各位置設定部材5a
〜5eの各幅は各位置設定部材の種類によって異る値に
設定されている。そして、上記各位置設定部材58〜5
eが位置検出センサ14の対向空間部I5を通過すれば
、通過している時間だけ、との位置検出センサ14は動
作し、出力信号すを送出するように構成されている。前
記ステップモータ12を駆動制御するAルス信号aX@
記位置検出センサ14の出力信号す等の制御を制御装置
16で行っている。
This optical position detection sensor 14 has a light emitting diode and a phototransistor arranged facing each other, and when the carriage 11 is moved, the facing space 15 is connected to each of the position setting members 58 to 5d and the home of the carriage 11. It is set so that each tip of the position setting member 5e for the position passes through. Note that each of these position setting members 5a
The widths 5e to 5e are set to different values depending on the type of position setting member. Then, each of the position setting members 58 to 5 is
When e passes through the opposing space I5 of the position detecting sensor 14, the position detecting sensor 14 operates for only the time it passes, and sends out an output signal S. A pulse signal aX@ that drives and controls the step motor 12
A control device 16 controls the output signals of the position detection sensor 14 and the like.

上記制御装置16は第3図に水子ようにCPU(中央処
理ユニット)17を設け、そのCPUZ7ニテータパス
ラインZ8、アドレスバスラインI9おヨヒコントロー
ルパスライン2θを介してROM 21、RAM 22
、キーぎ−ドコントローラ23およびI10ポート24
がそれぞiN接続されている。CPU 17はROM 
21に格納されているプログラムデータに基づいてRA
M22、キ=ボードコントローラ23、I10ポート2
4をそれぞれ制御する。キー?−ドコントローラ23は
前記キーボード2を制御し、そのキーボード2からキー
信号を取り込む。I10ポート24には前記ステップモ
ータI2を制御するモータ制御回路25および前記位置
検出センサ14の出力信号すを取シ込む増幅器26がそ
れぞれ接続されている。
The control device 16 is provided with a CPU (central processing unit) 17 as shown in FIG.
, keyed controller 23 and I10 port 24
are connected by iN. CPU 17 is ROM
RA based on the program data stored in 21.
M22, keyboard controller 23, I10 port 2
4 respectively. Key? - The card controller 23 controls the keyboard 2 and takes in key signals from the keyboard 2. A motor control circuit 25 for controlling the step motor I2 and an amplifier 26 for receiving an output signal from the position detection sensor 14 are connected to the I10 port 24, respectively.

前記RAM 22には、キービード2から入力される文
書情報の他に第4図に示すように、キャリッジ11の位
置を示すキャリッジ位置カウントX1位置検出センサ1
4が動作している間の前記パルス信号aのノクルス数を
示す幅カウントW1キャリッジ11のホームポジション
を示す特定の位置設定部材5eの規定幅A1許容最小幅
A1、許容最大幅A2が記憶されている。さらに、ホー
ムポジションの位置設定部材5e以外の各位置設定部材
5a−dの分類(種類)1〜nに対する許容最小幅B1
1 ’= Bnl 、許容最大幅81□〜Bn2が記憶
され、また、位置検出センサI4にて検出された各分類
1〜nの位置設定部材の中心位置Y1〜Ynが各分類1
〜nと共に位置設定部材の設定数だけ格納されている。
In addition to the document information inputted from the key bead 2, the RAM 22 stores a carriage position count X1 indicating the position of the carriage 11, a position detection sensor 1,
4 is in operation, a width count W1 indicating the number of Nockles of the pulse signal a, a specified width A1 of the specific position setting member 5e indicating the home position of the carriage 11, an allowable minimum width A1, and an allowable maximum width A2 are stored. There is. Furthermore, the minimum allowable width B1 for the classifications (types) 1 to n of each position setting member 5a to 5d other than the home position position setting member 5e.
1'=Bnl, the allowable maximum width 81□~Bn2 is stored, and the center positions Y1~Yn of the positioning members of each class 1~n detected by the position detection sensor I4 are stored in each class 1.
. . . - n and the set number of position setting members are stored.

第5図は電源投入し、キャリツノIIを左端近傍に設け
られたホームポジションに設定する制御を示す流れ図で
、電源投入すると、前記CPU[7は、パルス信号aを
モータ制御回路25へ送出シ、ステップモータ12を駆
動させ、キャリッジIIをホームボッジョンを示す位置
設定部材5eよす十分に右側へ移動する。なお、キャリ
ッジ11の移動距離はステップモータ12の回転数、す
なわち、送出したAルス信号aのAルス数に対応してい
る。次に、FtAM22内の幅カウントW1各分類1〜
nの中心位置Yl−Ynをクリアする。次に、タイグ文
字の1ピツチ(1文字)に相当する数の左方向への・ぐ
ルス信号aをモータ制御回路25を介してステップモー
タ12に印加すると、キャリアジ11は1ピツチ左側へ
移動する。そして、位置検出センサ14の出力信号すが
低レベルから高レベルに変化したか否か、すなわち、位
置検出センサ14が各位置設定部材5a〜5eを検出し
たか否を判別し、否であれば、さらにキャリッジZ1を
もう1ピツチ左へ移動さす。そして、いずれかの位置設
定部材58〜5eを検出し、出力信号すが高レベルへ変
化すると、RAM 220幅カウントWを1つだけカウ
ントアツプした後、キャリッジ11を1ピツチ左へ移動
さす。そして、出力信号すが再び低レベルへ変化するま
で、幅カウントWをカウントアツプしながらキャリッジ
11を左へ1ピツチずつ移動さす。データ信号すが低レ
ベルに変化したならば、カウントアツプした幅カラン)
Wが、FCAM’22内に予め記憶されたホームポジシ
ョンの位置設定部材5eの幅の許容範囲幅Al”−A2
に入るか否かを判定する。そして、WがA1−A2を外
れているときは、幅カウントWを零にクリアしてキャリ
ッジ1ノを左へ移動して再び位置検出センサ14で他の
位置設定部材58〜5eを検出する。上記幅カウントW
がA1−A2の範囲内であれば、位置検出センサ14は
ホームポジションの位置設定部材5eを検出したと判断
し、キャリッジ11を位置設定部材5eの規定@Aだけ
右へ戻す。その結果、キー? ’J ツジ11は位置設
定部材5eの右端に位置することになる。そして、キャ
リッジ11をこの位置に停止させ、RAM 22内のキ
ャリッジ位置カウントXを零にクリアする。
FIG. 5 is a flowchart showing the control for turning on the power and setting the Calitsuno II to the home position provided near the left end. The step motor 12 is driven to move the carriage II sufficiently to the right of the position setting member 5e indicating the home position. Note that the moving distance of the carriage 11 corresponds to the number of rotations of the step motor 12, that is, the number of pulses of the transmitted pulse signal a. Next, width count W1 in FtAM22 for each classification 1~
Clear the center position Yl-Yn of n. Next, when a leftward signal a corresponding to one pitch (one character) of the Taigu character is applied to the step motor 12 via the motor control circuit 25, the carrier 11 moves one pitch to the left. do. Then, it is determined whether the output signal of the position detection sensor 14 has changed from a low level to a high level, that is, whether the position detection sensor 14 has detected each position setting member 5a to 5e. , further move the carriage Z1 one pitch to the left. When any of the position setting members 58 to 5e is detected and the output signal changes to a high level, the RAM 220 width count W is counted up by one, and then the carriage 11 is moved to the left by one pitch. Then, the carriage 11 is moved to the left one pitch at a time while counting up the width count W until the output signal changes to low level again. If the data signal changes to low level, the width of the count up is increased)
W is the allowable range width Al''-A2 of the width of the position setting member 5e at the home position stored in advance in the FCAM'22.
Determine whether or not it fits. When W is out of A1-A2, the width count W is cleared to zero, the carriage 1 is moved to the left, and the position detection sensor 14 detects the other position setting members 58 to 5e again. Above width count W
If is within the range of A1-A2, the position detection sensor 14 determines that the position setting member 5e at the home position has been detected, and returns the carriage 11 to the right by the prescribed value @A of the position setting member 5e. As a result, the key? 'J Tsuji 11 will be located at the right end of the position setting member 5e. Then, the carriage 11 is stopped at this position, and the carriage position count X in the RAM 22 is cleared to zero.

次に、ホームポジション以外の左マージン位置、タブ位
置、ベル位置、右マージン位置等の他の分類(種類)の
位置設定部材58〜5dの位置を検出するとき、第6図
の流れ図のように制御する。すなわち、第5図の流れ図
の最終段において、キャリッジ位置カウントXをX=0
とした後、第6図において、幅カラン)W=0とする。
Next, when detecting the positions of the position setting members 58 to 5d of other classifications (types) such as the left margin position, tab position, bell position, right margin position, etc. other than the home position, as shown in the flowchart of FIG. Control. That is, in the final stage of the flowchart in FIG. 5, the carriage position count X is set to X=0.
Then, in FIG. 6, the width is set to W=0.

次に、CPU 17からステ、グモータ12へ左方向へ
1ピツチ分のパルス信号aを印加し、キャリッジ11は
1ピツチ右側へ移動させると共゛に、RAM22内のキ
ャリッジ位置カウントXを1だけカウントアツプする。
Next, a pulse signal a for one pitch is applied to the left from the CPU 17 to the motor 12, and the carriage 11 is moved one pitch to the right, and at the same time, the carriage position count X in the RAM 22 is counted by 1. rise.

そして、位置検出センサ14の出力信号すが低レベルか
ら高レベルへ変化したか否かを判定し、低レベルであれ
ば、前記キャリッジ位置カウントXが右端の機械的に決
まる絶対マー・シン位置でないことを確認した後、キャ
リッジ11を再び1ピツチ進める。そして、順次キャリ
ッジ11を右側へ進める。データ信号すが高レベルに変
化すると、幅カウントWを1だけカウントアツプした後
、キャリッジ11を1ピツチさらに右へ進める。そして
、データ信号すが低レベルに戻るまで、幅カウントWを
カウントアツプする。データ信号すが低レベルに戻った
後、その時の幅カウントWがRAM 22内に記憶して
いる各分類1〜nのどの分類に属するかを調べる。すな
わち、上記幅カラン)Wが分類1の許容範囲B11−〜
B12に入るか否かを判定し、入るとき、その時のキャ
リッジ位置カウントXから上記幅カウントWの半分を減
じた値Yl(Yl=X−W/2 )を分類1の位置設定
部材58〜5dの中心位置とする。すなわち、この中心
位置Y1はキャリッジ11の基準位置としてのホームポ
ジションからの文字ピッチで表わした距離を示すもので
ある。そして、中心位置Y1と分類1の番号とを共通に
RAM 22内に格納し、流れ図の最初に戻り、キャリ
ッジ11をさらに右へ移動させて次の位置設定部材を検
索する。前記Wが分類1の許容範囲811 ”’−81
2に入らなければ、Wが次の分類2の許容範囲B21 
= 822に入るか否かを判定し、この範囲に入れば分
類1と同様に分類2の中心位置Y2を求めRAM 22
内に格納し、流れ図の最初に戻る。Wが分類2に入らな
ければ、分類3・・・・・分類nと順次検索し、いずれ
かの分類に仕分ける。
Then, it is determined whether the output signal of the position detection sensor 14 has changed from a low level to a high level, and if the level is low, the carriage position count After confirming this, the carriage 11 is advanced one pitch again. Then, the carriage 11 is sequentially advanced to the right. When the data signal changes to a high level, the width count W is incremented by 1, and then the carriage 11 is advanced one pitch further to the right. Then, the width count W is counted up until the data signal returns to a low level. After the data signal S returns to a low level, it is checked to which category among the categories 1 to n stored in the RAM 22 the current width count W belongs. In other words, the above-mentioned width (curtain) W is within the allowable range B11-~ of classification 1.
It is determined whether or not B12 is entered, and when entering, the value Yl (Yl = X-W/2) obtained by subtracting half of the width count W from the carriage position count X at that time is set as the position setting member 58 to 5d of classification 1. The center position of That is, this center position Y1 indicates the distance expressed in character pitch from the home position as the reference position of the carriage 11. Then, the center position Y1 and the number of classification 1 are commonly stored in the RAM 22, and the process returns to the beginning of the flowchart, moves the carriage 11 further to the right, and searches for the next position setting member. The above-mentioned W is the allowable range of classification 1 811 ''-81
If W does not fall within 2, the next classification 2 tolerance range B21
= 822, and if it falls within this range, calculate the center position Y2 of classification 2 in the same way as classification 1 and store it in RAM 22.
and return to the beginning of the flowchart. If W does not fall into category 2, it is sequentially searched for category 3, . . ., category n, and sorted into one of the categories.

このような作業を繰返しながら、順次キャリッジ11を
右へ移動させ、各位置設部羽5a〜5dの分類と中心位
置とをRAM 22内に格納してゆく。すべての位置設
定部材58〜5dの検索、格納が終了し、キャリッジI
Zが右端の絶対マージン位置に到達すると、キャリッジ
11を左端近傍のホームポジションへ戻し、キャリッジ
位置カウントXを零にクリアして、文字印字の待機状態
となる。
While repeating such operations, the carriage 11 is sequentially moved to the right, and the classification and center position of each positioning part wing 5a to 5d is stored in the RAM 22. After all the position setting members 58 to 5d have been searched and stored, the carriage I
When Z reaches the absolute margin position at the right end, the carriage 11 is returned to the home position near the left end, the carriage position count X is cleared to zero, and a character printing standby state is entered.

このように、左右のマージン位置、タブ位置、ベル位置
等の設定が設定部材58〜5dを使用して簡単にできる
。しかも、一度設定した後においてもそれらの設定位置
の確認が位置設定部材58〜5dによって容易にできる
In this way, the left and right margin positions, tab positions, bell positions, etc. can be easily set using the setting members 58 to 5d. Furthermore, even after the settings have been made, the position setting members 58 to 5d can easily confirm the setting positions.

また、実施例では、各位置設定部材58〜5dの位置を
その中心位置で表わし、RAM22内に記憶するように
しているので、たとえ位置検出センサ14の出力レベル
が犬きく変動したとしても、中心位置が変動することは
ないので、各設定位置の検出精度を大幅に向上させるこ
とが可能である。
Furthermore, in the embodiment, the position of each position setting member 58 to 5d is expressed by its center position and stored in the RAM 22, so even if the output level of the position detection sensor 14 fluctuates sharply, Since the position does not change, it is possible to significantly improve the detection accuracy of each set position.

さらに、最初に予め固定されたホームボッジョンの位置
を求めその位置をキャリッジ11の位置を示すキャリッ
ジ位置カラン)Xの零点位置と設定した後、左、右マー
ジン位置、タブ位置等を上記ホームポジション位置から
の距離で表すようにしているので、とれらの設定位置を
途中で変更しても、変更前の設定位置との比較が容易で
あり、電子タイプライタ−として操作性の向上が図れる
Furthermore, after first finding the pre-fixed home position position and setting that position as the zero point position of the carriage position (curtain) X indicating the position of the carriage 11, the left and right margin positions, tab positions, etc. are set as the above home position. Since they are expressed in terms of distance from the position, even if the set positions are changed midway through, it is easy to compare them with the set positions before the change, and the operability of the electronic typewriter can be improved.

また、本実施例では、キャリッジIIのホームポジショ
ンを含めて、各位置設定部材5a〜5eの幅を種類(分
類)毎に異る値に設定し、電源投入時にキャリッジ11
を自動的に移動制御し、RAM22内に各位置の種類(
分類)と設定位置とを1度に格納するようにしているの
で、別途位置情報の種類を判定するだめの機構を設ける
必要はない。
Furthermore, in this embodiment, the width of each position setting member 5a to 5e, including the home position of the carriage II, is set to a different value for each type (classification).
The type of each position (
Since the classification) and the set position are stored at the same time, there is no need to provide a separate mechanism for determining the type of position information.

第7図は本発明の他の実施例の電子タイプライタ−の制
御装置の概略回路構成図である。
FIG. 7 is a schematic circuit diagram of a control device for an electronic typewriter according to another embodiment of the present invention.

すなわち、CPU 31からパルス信号aがモータ駆動
回路32を介してステップモーフ12に印加されると、
キャリッジ11がパルス信号aに相当するピッチ分だけ
移動する。位置検出センサ14の出力信号すは比較器3
3でロジック信号に変換された後輪理和回路34へ前記
・ぞルス信号Bと共に入力される。したがって、この論
理和回路34は位置検出センサ14が動作している時間
のみ出力し、この出力は幅カウンタ−35へ入力される
。幅カウンタ−35のカウント値、すなわち、幅カウン
トWはCPU 31およびシフトレジスタ36へ入力さ
れる。また、幅カウンタ−35はCPU 31からのリ
セット信号Cにてリセyl−される。上記幅カウントW
はシフトレジスタ36にて1/2に変換された後、減算
器37へ入力される。この減算器37には、CPU 3
1からのカウンタ制御信号dにて前記ノ4ルス信号aの
パルス数をup −downカウントしてキャリッジ1
ノの現在位置を常に計測しているキャリッジ位置カウン
ター38の出力信号、すなわち、キャリッジ位置カウン
トXが入力されている。この減算器37は(Y=X−7
)の演算を実施し、出力信号、すなわち、位置設定部材
511〜5dの中心位置YはCPU 31を介して記憶
部39へ格納される。なお、この記憶部39には、CP
U 31にて幅カウントWかも判定された位置設定部材
58〜5dの分類(種類)も同時に記憶される。
That is, when the pulse signal a is applied from the CPU 31 to the step morph 12 via the motor drive circuit 32,
The carriage 11 moves by a pitch corresponding to the pulse signal a. The output signal of the position detection sensor 14 is the comparator 3
3, the signal is converted into a logic signal and is input to the rear wheel sum circuit 34 together with the logic signal B. Therefore, the OR circuit 34 outputs an output only when the position detection sensor 14 is operating, and this output is input to the width counter 35. The count value of width counter 35, ie, width count W, is input to CPU 31 and shift register 36. Further, the width counter 35 is reset by a reset signal C from the CPU 31. Above width count W
is converted to 1/2 by the shift register 36 and then input to the subtracter 37. This subtracter 37 includes a CPU 3
The number of pulses of the pulse signal a is counted up and down using the counter control signal d from 1
An output signal from a carriage position counter 38 that constantly measures the current position of the carriage position counter 38, that is, a carriage position count X is input. This subtracter 37 is (Y=X-7
), and the output signal, that is, the center position Y of the position setting members 511 to 5d, is stored in the storage unit 39 via the CPU 31. Note that this storage unit 39 has CP
The classification (type) of the position setting members 58 to 5d whose width count W was determined in U31 is also stored at the same time.

このような構成の制御装置を備えた電子タイグライタ−
であっても、幅カウンタ−35により各位置設定部材5
a〜5dの各幅Wを測定することができ、また、キャリ
ッジ位置カウンター38および減算器37によって上記
各位置設定部材58〜5dの中心位置Yを求めることが
できる。したがって、前述の実施例と同様の効果を得る
ことが可能である。
An electronic tie lighter equipped with a control device configured like this
Even if each position setting member 5 is
Each width W of a to 5d can be measured, and the center position Y of each of the position setting members 58 to 5d can be determined using the carriage position counter 38 and the subtractor 37. Therefore, it is possible to obtain the same effects as in the previous embodiment.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、左・右のマージン
位置、タブ位置、ベル位置等をそれぞれキャリッジの移
動方向に配置した位置設定部材によって外部から容易に
確認できると共に、各位置設定部材の設定位置をその中
心位置で表わしているので、各位置設定gB +Aにて
設定されたマージン位置等の各位置の設定位置をより正
確に自動的に把握できるπi子タイプライターを提供で
きる。
As explained above, according to the present invention, the left and right margin positions, tab positions, bell positions, etc. can be easily confirmed from the outside by position setting members arranged in the moving direction of the carriage, and each position setting member Since the setting position is expressed by its center position, it is possible to provide a πi child typewriter that can more accurately and automatically grasp the setting position of each position such as the margin position set in each position setting gB +A.

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

第1図は本発明の一実施例に係る電子タイプライタ−を
示す斜視図、第2図は同電子タイプライターの主要部の
概略構成図、第3図は同電子タイプライタ−の概略回路
構成図、第4図は同電子タイグライタ−の記憶部の構成
図、第5図および第6図は同電子タイシライタ−の動作
を示す流れ図、第7図は本発明の他の実施例に係る電子
タイプライタ−の概略回路構成図である。 2・・・ギーボード、511〜5e・・・位置設定部材
、10・・・印字ヘッド、11・・・キャリッジ、12
・・・ステップモータ、14・・・位置検出センサ、1
6・・・制御装置、17.31・・・CPU、2.+・
・・RAM 。 35・・・幅カウンタ−,36・・・シフトレジスタ、
37・・・減算器、38・・・キャリッジ位置カウンタ
出願人代理人  弁理士 鈴 江 武 彦a)  Cす
FIG. 1 is a perspective view showing an electronic typewriter according to an embodiment of the present invention, FIG. 2 is a schematic diagram of the main parts of the electronic typewriter, and FIG. 3 is a schematic circuit diagram of the electronic typewriter. 4 is a configuration diagram of the storage section of the electronic tie lighter, FIGS. 5 and 6 are flowcharts showing the operation of the electronic tie lighter, and FIG. 7 is an electronic tie lighter according to another embodiment of the present invention. FIG. 2 is a schematic circuit configuration diagram of a writer. 2... Gee board, 511-5e... Position setting member, 10... Print head, 11... Carriage, 12
...Step motor, 14...Position detection sensor, 1
6...Control device, 17.31...CPU, 2. +・
...RAM. 35... Width counter, 36... Shift register,
37...Subtractor, 38...Carriage position counter Applicant's representative Patent attorney Takehiko Suzue a) C

Claims (1)

【特許請求の範囲】[Claims] (1)制御部から送出されるパルス信号に応動する駆動
モータにて移動制御される印字ヘッドを備えたキャリッ
ジと、このキャリッジの移動方向に沿って配列され、そ
れぞれマージン、タブ位置等の位置設定機能を有する複
数の位置設定部材と、前記キャリッジに取付もれ前記各
位置設定部材を検出するセンサと、このセンサの前記各
位置設定部材の検出動作に応動し、その検出期間中前記
・ぐルス信号を計測する幅カウンタと、前記・ぐルス信
号のパルスを計測し、予め定められた基準位置からの前
記キャリッジの移動距離を計測するキャリッジ位置カウ
ンタと、前記センサの位置設定部材の検出動作時の前記
キャリッジ位置カウンタの値より前記各位置設定部材の
位置を検出する手段とを備え、前記各位置設定部材の位
置を前記キャリッジ位置カウンタの値から前記幅カウン
タの半分の値を減じて求めた前記基準位置からの距離で
表わすことを特徴とする電子タイプライタ−0
(1) A carriage equipped with a print head whose movement is controlled by a drive motor that responds to pulse signals sent from a control unit, and which are arranged along the direction of movement of this carriage and set the positions of margins, tab positions, etc. a plurality of position setting members having functions; a sensor attached to the carriage to detect each of the position setting members; a width counter for measuring a signal; a carriage position counter for measuring a pulse of the signal and a moving distance of the carriage from a predetermined reference position; and a position setting member of the sensor during a detection operation. means for detecting the position of each position setting member from the value of the carriage position counter, and the position of each position setting member is determined by subtracting half the value of the width counter from the value of the carriage position counter. Electronic typewriter 0 characterized in that the information is expressed in terms of distance from the reference position.
JP7120883A 1983-04-22 1983-04-22 Electronic typewriter Pending JPS59196282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7120883A JPS59196282A (en) 1983-04-22 1983-04-22 Electronic typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7120883A JPS59196282A (en) 1983-04-22 1983-04-22 Electronic typewriter

Publications (1)

Publication Number Publication Date
JPS59196282A true JPS59196282A (en) 1984-11-07

Family

ID=13454026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7120883A Pending JPS59196282A (en) 1983-04-22 1983-04-22 Electronic typewriter

Country Status (1)

Country Link
JP (1) JPS59196282A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0452585A2 (en) * 1990-04-19 1991-10-23 Canon Kabushiki Kaisha Recording apparatus
US5168291A (en) * 1989-04-24 1992-12-01 Canon Kabushiki Kaisha Recording apparatus and ink cassette therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5168291A (en) * 1989-04-24 1992-12-01 Canon Kabushiki Kaisha Recording apparatus and ink cassette therefor
US5627570A (en) * 1989-04-24 1997-05-06 Canon Kabushiki Kaisha Ink jet recording method using movable detection flags
EP0452585A2 (en) * 1990-04-19 1991-10-23 Canon Kabushiki Kaisha Recording apparatus

Similar Documents

Publication Publication Date Title
CA1118696A (en) Automatic margin setting apparatus for a scanned sheet of paper
US4265556A (en) Apparatus for setting proportional margins based upon the width of a scanned sheet of paper
US10525742B2 (en) Duplex printing
US5518324A (en) Platen to print head gap adjustment arrangement
US4669900A (en) Home position setting system for a print carriage
US10071575B2 (en) Printers and methods for detecting print media thickness therein
JPS59196282A (en) Electronic typewriter
JP3960751B2 (en) Printer top edge position correction method and computer readable medium
JP2717138B2 (en) Setting method by sensor
JPS59196281A (en) Electronic typewriter
JP3061091B2 (en) Serial printer
JP2006281677A (en) Recording device
JP2742556B2 (en) Labeler printing automatic setting device
JP2666405B2 (en) Paper detection device
JPH06179545A (en) Method and device for sensing optical paper
JP2866400B2 (en) Automatic adjustment device for transmitted light detection circuit
US5172991A (en) Method for detecting the length of sheet in a printer
US3647041A (en) System for determining line measure
KR920007220B1 (en) Method of recogniting the width of paper in typewrites
JPH0129096Y2 (en)
JPH0241099B2 (en)
JPH06297786A (en) Recording apparatus
US6074114A (en) Color printer for repetitively printing a document
KR0151997B1 (en) The device controlling transportation distance of printer head
US4291384A (en) Tape gauge system