JPH0372474B2 - - Google Patents
Info
- Publication number
- JPH0372474B2 JPH0372474B2 JP7236582A JP7236582A JPH0372474B2 JP H0372474 B2 JPH0372474 B2 JP H0372474B2 JP 7236582 A JP7236582 A JP 7236582A JP 7236582 A JP7236582 A JP 7236582A JP H0372474 B2 JPH0372474 B2 JP H0372474B2
- Authority
- JP
- Japan
- Prior art keywords
- tpc
- reset pulse
- pulse
- executed
- timing
- 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.)
- Expired
Links
- 238000000034 method Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 244000145845 chattering Species 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J7/00—Type-selecting or type-actuating mechanisms
- B41J7/96—Means checking correctness of setting
Description
【発明の詳細な説明】
本発明は、電卓等に使用される印字装置の確認
制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a confirmation control method for a printing device used in a calculator or the like.
外周に数字や記号等の活字が形成された活字輪
がモータにより回転され、該活字に対応して発生
するタイミングパルスと該活字輪の1回転に1度
発生するリセツトパルスとにより活字輪の位置検
出を行い、その後印字を行なわせしめる印字装置
に於て、従来の装置ではリセツトパルスを検知し
た後すぐに印字動作を行ない記録紙に印字を行な
つていた。 A type wheel with printed characters such as numbers and symbols formed on its outer periphery is rotated by a motor, and the position of the type wheel is determined by a timing pulse generated corresponding to the typed characters and a reset pulse generated once per rotation of the type wheel. In a conventional printing device that performs detection and then prints, the printing operation is performed immediately after detecting the reset pulse to print on recording paper.
この制御方式では、リセツトパルスが例えば光
検出器やマグネツト検出器の如く誤信号を発生し
ない検出器であれば有効であるが、低価格が要求
される機械的接点では必ずチヤタリングやバウン
シングが生じ、またゴミ等の異物によつて時たま
接触不良を起こし、リセツトパルスが正常時に発
生しないことが起こる。このようにリセツトパル
スが正常位置で発生しない場合には誤印字となる
欠点があつた。 This control method is effective if the reset pulse is used by a detector that does not generate erroneous signals, such as a photodetector or a magnetic detector, but chattering and bouncing always occur with mechanical contacts that require low cost. In addition, foreign matter such as dust sometimes causes poor contact, and the reset pulse may not be generated during normal operation. As described above, if the reset pulse is not generated at the normal position, there is a drawback that printing errors occur.
本発明は上記欠点に鑑み、リセツト信号が時た
ま異常発生しても正常な印字を行なえるような印
字装置を提供することを目的とする。 SUMMARY OF THE INVENTION In view of the above-mentioned drawbacks, it is an object of the present invention to provide a printing device that can perform normal printing even if an abnormal reset signal occasionally occurs.
以下図面を参照して本発明を詳細に説明する。 The present invention will be described in detail below with reference to the drawings.
第1図に本発明の一実施例のブロツク図を示
す。図に於て、PCUは通常の電卓では1チツプ
LSiで構成される演算処理部であり、以下に記す
もので主に構成されている。 FIG. 1 shows a block diagram of an embodiment of the present invention. In the figure, the PCU is 1 chip in a normal calculator.
This is an arithmetic processing unit made up of LSi, and mainly consists of the following items.
即ち、演算部ACがありこれは加算器や判定回
路等で構成されており、電卓の計算処理や本発明
の印字制御を行うMは電卓に入力されるデータを
記憶したり、タイミングパルス数を計数するため
のカウンターやフラツグ情報を記憶するFF等か
ら構成されている記憶装置部である。これらは通
常RAM(ランダム・アクセスメモリー)で構成
される。次に演算部ACや記憶装置部Mを制御す
るための情報を記憶しておく記憶装置部Rがあ
る。これはリード・オンリーメモリー(ROM)
のインストラクシヨンデコーダ等で構成され、第
3図のフローチヤートに示すような本発明の制御
情報等を少なくとも記憶している。 That is, there is an arithmetic unit AC, which is composed of adders, judgment circuits, etc., and M, which performs calculation processing of the calculator and print control of the present invention, stores data input to the calculator and calculates the number of timing pulses. This is a storage unit consisting of a counter for counting, FF for storing flag information, etc. These usually consist of RAM (Random Access Memory). Next, there is a storage unit R that stores information for controlling the calculation unit AC and the storage unit M. This is read-only memory (ROM)
The instruction decoder and the like store at least the control information of the present invention as shown in the flowchart of FIG.
Sは印字部Pからのタイミングパルスとリセツ
トパルスを検知するための検知回路である。 S is a detection circuit for detecting timing pulses and reset pulses from the printing section P.
Pは印字部であり主に以下に記すもので構成さ
れている。 P is a printing section, which is mainly composed of the following.
Dは外周に活字が形成された活字輪である、
MOは活字輪を回転駆動するためのモータであ
る、SOはハンマーHを駆動するためのソレノイ
ドである。 D is a type ring with type formed on the outer periphery.
MO is a motor for rotating the type wheel, and SO is a solenoid for driving the hammer H.
TCは活字輪の回転によつて活字に対応したパ
ルスを発生するためのコード板で、活字に対応し
た位置に穴が設けられており、ランプLの光がコ
ード板TCを通過し、その光がホトトランジスタ
HTで受光され、タイミングパルスTPがPCU部
に入力される。 The TC is a code plate that generates pulses corresponding to the type by the rotation of the type wheel, and holes are provided at positions corresponding to the type.The light from the lamp L passes through the code plate TC, and the light is is a phototransistor
The light is received by HT and the timing pulse TP is input to the PCU section.
RCは図の如く導電パターンPCが形成された活
字輪Dの1回転に1度信号を発生するためのコー
ド板であり、接片RSの導電パターンPCの接触に
より接片GSを介して接地され、リセツトパルス
RPを発生させ処理部PCU部に入力する。 As shown in the figure, RC is a code plate that generates a signal once per rotation of the type wheel D on which a conductive pattern PC is formed, and is grounded via the contact piece GS by contact of the conductive pattern PC of the contact piece RS. , reset pulse
Generates RP and inputs it to the processing unit PCU.
D2,D1はそれぞれモータMとハンマーソレノ
イドHを駆動するためのドライブ回路である。 D 2 and D 1 are drive circuits for driving the motor M and the hammer solenoid H, respectively.
第2図に印字部PからのタイミングパルスTP
とリセツトパルスRPのタイミングチヤート図を
示す。 Figure 2 shows the timing pulse TP from the printing section P.
and a timing chart of reset pulse RP.
図に於てイはリセツトパルスRCが正常に出力
された場合のタイミングチヤートである。 In the figure, A is a timing chart when the reset pulse RC is normally output.
ロ図は最初のリセツトパルスRPが正常に出力
されなかつた場合のタイミングチヤートである。 The figure below is a timing chart when the first reset pulse RP is not output normally.
ハは最初のリセツトパルスRPは正常に出力さ
れたが2度目のリセツトパルスは正常に出力され
なかつた場合である。 C is a case where the first reset pulse RP was output normally, but the second reset pulse was not output normally.
上記のイ,ロ,ハの3通りについて、第3図の
フローチヤート図に従つて動作説明を行う。 The operations of the above three methods A, B, and C will be explained according to the flowchart shown in FIG.
最初にモーターMOが駆動され活字輪Dが回転
するとタイミングパルスTPが出力されるので、
の「TP=1」の判定命令が実行され、TPが1
でなければTPが1になるまでの「TP=1」命
令の実行がくり返される。TPパルスがくると
の「TP=1」がYESとなり、の「RP=1」
の判定命令が実行される。そこでリセツトパルス
がなければの「TP=1」命令がTPパルスが
「0」になるまでくり返され、「0」になると再び
の「TP=1」命令がTPパルスが立上がるまで
くり返し実行される。「TP=1」がYESとなれ
ばの「RP=1」が実行され、RPパルスがある
とYESとなりの「TPC=0」が実行される。
これはTPをカウントしているカウンタであり活
字数と対応した数を計数を行ない、この場合は0
〜11までをカウントして「12」になれば自動的に
「0」にリセツトされる12進のカウンタであり、
の実行によりこのカウンタの内容は「0」にリ
セツトされる。これはタイミングチヤートの
TPOのタイミングパルスである。 When the motor MO is first driven and the type wheel D rotates, a timing pulse TP is output, so
The “TP=1” judgment instruction is executed, and TP becomes 1.
Otherwise, the execution of the "TP=1" instruction is repeated until TP becomes 1. When the TP pulse comes, "TP = 1" becomes YES, and "RP = 1"
The determination instruction is executed. Therefore, the "TP=1" command without the reset pulse is repeated until the TP pulse becomes "0", and when it becomes "0", the "TP=1" command is executed again until the TP pulse rises. Ru. If "TP=1" becomes YES, "RP=1" is executed, and if there is an RP pulse, "TPC=0" becomes YES and is executed.
This is a counter that counts TP, and it counts the number that corresponds to the number of printed characters, and in this case, it is 0.
It is a decimal counter that automatically resets to ``0'' when it counts up to 11 and reaches ``12.''
The contents of this counter are reset to "0" by execution of . This is the timing chart
This is the TPO timing pulse.
次にの「TP=1」命令がNOになるまでく
り返され、NOになるとの「TP=1」命令に
よりTPの立上りを検出する。これまでTPの立上
りが検出されるとの「TPC+1=TPC」命令
が実行され、TPCのカウンター内容が「1」に
インクリメントされる。 The next "TP=1" command is repeated until it becomes NO, and then the rising edge of TP is detected by the "TP=1" command. Until now, when the rising edge of TP is detected, the "TPC+1=TPC" command is executed, and the TPC counter content is incremented to "1".
次にの「TPC=11」によりTPC内容が「11」
かどうか判定され、NOであるので次の「TPC=
0」によりTPC内容が「0」かどうか判定され、
NOのため前回と同様の命令が実行される。こ
れをくり返すことにより、タイミングパルスTP
が来るたびにカウンタTPCの内容が「+1」さ
れインクリメントされる。 The TPC content becomes “11” due to the next “TPC=11”
It is determined whether or not, and since it is NO, the next “TPC=
0” determines whether the TPC content is “0” or not.
Since it is NO, the same command as the previous one is executed. By repeating this, the timing pulse TP
Each time , the contents of the counter TPC are incremented by "+1".
上記のカウンタTPCの内容が「11」になると
の命令でYESの方に進み、〓の「TR=1」命
令が実行される。第2図イのTP11にはPR信号は
ないのでNOの方へ進み再びの「TP=1」が
実行され、次のの「TP=1」でTPパルスがく
るとの「TPC+1=TPC」が実行され、TPC
カウンタは12進のため11+1=0となりTPCカ
ウンターは「0」となる。次のではNOであ
り、の「TPC=0」ではYESとなり、次に
の「TR=1」命令が実行され第2図イではRP
が1であるのでYESの方へ進み正しい印字動作
が行なわれる。上記の如くして、リセツトパルス
RPの立上つた後の最初のTPOでTPCカウンタが
「0」となり活字輪Dと対応した正しいカウント
動作となり、通常の正しい印字が行なわれる。 With the instruction that the content of the counter TPC becomes "11", the process advances to YES, and the "TR=1" instruction is executed. There is no PR signal at TP 11 in Figure 2 A, so it goes to NO and executes "TP=1" again, and when the next "TP=1" comes a TP pulse, "TPC+1=TPC" is executed and TPC
Since the counter is in decimal, 11+1=0, and the TPC counter becomes "0". In the next one, it is NO, and in “TPC=0”, it is YES, and the next “TR=1” instruction is executed, and in Figure 2 A, RP
Since is 1, the process advances to YES and the correct printing operation is performed. As above, reset pulse
At the first TPO after the RP starts up, the TPC counter becomes "0" and a correct counting operation corresponding to the type wheel D is performed, and normal correct printing is performed.
次に、第2図ロでリセツトパルスの点線で示す
部分が出力されなかつた場合を説明する。 Next, the case where the portion of the reset pulse indicated by the dotted line in FIG. 2B is not output will be described.
第3図のフローチヤートのの各命令が前
回と同様に実行されてくり返されると、の
「RP=1」でYESの方へ進み、の「TPC=0」
が実行され、カウンタTPCの内容が「0」にリ
セツトされるのは本来の正しいTPOの位置では
なくTP1の位置がずれて(TPO)と誤まつた検
出を行なつていることになる。 When each command in the flowchart in Figure 3 is executed and repeated in the same way as the previous time, it advances to YES with "RP = 1", and "TPC = 0".
is executed and the contents of the counter TPC are reset to "0", which means that the position of TP 1 is incorrectly detected (TPO) rather than the correct position of TPO.
その後が実行され、次にの命令
がくり返えされ、TPパルスに同期してタイミン
グカウンタTPCがインクリメントされる。そし
てTPC=11となつた時にの命令でYESに進み、
の「RP=1」が実行され、ロ図から明らかな
如く(TP11)は本来はTP0であるがRPパルスが
存在しているためYESの方向に進み、次の
「FER=1」が判定される。このFERはエラーフ
ラツグであり今はこのフラツグは「0」であり、
NOの方へ進みの「FER=1」でエラーフラツ
グが「1」にセツトされる。次にの「TPC=
0」命令にてTPC=11の内容が「0」にリセツ
トされ、正しいTP位置に修正される。その後
ととがイの場合と
同様にくり返されにて正しい印字動作が行なわ
れる。 The subsequent instructions are executed, the next instruction is repeated, and the timing counter TPC is incremented in synchronization with the TP pulse. Then proceed to YES with the command when TPC = 11,
"RP = 1" is executed, and as is clear from the diagram, (TP 11 ) is originally TP 0 , but since the RP pulse exists, it moves in the direction of YES, and the next "FER = 1" is It will be judged. This FER is an error flag, and currently this flag is "0".
The error flag is set to "1" when "FER=1" goes towards NO. Next “TPC=
0'' command resets the contents of TPC=11 to ``0'' and corrects the TP position. After that, the correct printing operation is performed repeatedly in the same manner as in the case of A and A.
次に第2図ハのリセツトパルスRPが2度目で
正常出力されなかつた場合の動作説明を行う。 Next, an explanation will be given of the operation when the reset pulse RP shown in FIG. 2C is not output normally for the second time.
第3図のフローチヤートのの命令が前回
と同様にくり返されるとの「RP=1」でYES
の方へ進みの「TPC=0」でカウンタがリセ
ツトされる。次に命令がくり返され、
TPCカウンタがインクリメントされTPC=11に
なるとでYESの方に進み、の「RP=1」が
実行されハ図ではTP11ではRPはいないのでNO
の方へ進み、が実行され、TPC=0
なので次の「RP=1」が実行される。この時
ハ図の如くRPは出力されておらずNOの方向に
進み、でエラーフラツグFERが判定され、
で「FER=1」でフラツグFERがセツトされ、
もう一度RPを確認するための処理が行なわれる。
すなわちで「TPC=0」が実行されるがもと
もとTPCは0であるので次のがくり返
され、TPC=11となるとが実行され、
次にが実行され、の「RP=1」に
よりTPOの時のRPが判定されるが今後は正しい
RPパルスが出力されているためYESの方へ進み
の印字動作により正しい印字が行なわれ、次の
「FER=0」でエラーフラツグFERを“0”
にして終了する。 YES if "RP=1" indicates that the command in the flowchart in Figure 3 will be repeated in the same way as the previous time.
The counter is reset when "TPC=0" in the direction of . Then the command is repeated,
When the TPC counter is incremented and becomes TPC = 11, the process advances to YES, and "RP = 1 " is executed.
Proceeds to , is executed, TPC=0
Therefore, the next "RP=1" is executed. At this time, as shown in Figure C, RP is not output and progresses in the NO direction, and the error flag FER is determined.
The flag FER is set with "FER=1",
Processing is performed to confirm the RP once again.
In other words, "TPC = 0" is executed, but since TPC is originally 0, the following is repeated, and when TPC = 11, is executed,
Next is executed, and the RP at the time of TPO is determined by "RP = 1", but it will be correct from now on.
Since the RP pulse is being output, correct printing is performed by the printing operation that advances toward YES, and the error flag FER is set to "0" at the next "FER = 0".
and exit.
の「FER=1」でYESとなるには、RPパル
スの異常波形が2度続けて生じた場合であり、こ
の時はエラー状態として印字動作を行なわず終了
する。 YES with "FER=1" occurs when an abnormal waveform of the RP pulse occurs twice in a row, and in this case, the printing operation is terminated without performing the printing operation as an error state.
以上の説明から明らかな如く、本発明によれば
リセツトパルスRPが正常に出力されない場合に
於ても正しいリセツトパルスの検出がなされ、正
常な印字がいつでも行なえる極めて信頼性の高い
印字装置が実現できる。 As is clear from the above explanation, according to the present invention, even when the reset pulse RP is not output normally, the correct reset pulse is detected, and an extremely reliable printing device that can perform normal printing at any time is realized. can.
第1図は本発明の一実施例のブロツク図、第2
図イ,ロ,ハは動作説明のためのタイミングチヤ
ート図、第3図は本発明の制御の一例を示すフロ
ーチヤート図である。
PCU……演算処理部、S……検知回路、RS,
GS……接片、RC……コード板、D……活字輪。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
Figures A, B, and C are timing charts for explaining the operation, and Figure 3 is a flow chart showing an example of control according to the present invention. PCU...Arithmetic processing unit, S...Detection circuit, RS,
GS...Touch piece, RC...Code plate, D...Type wheel.
Claims (1)
活字輪と、該活字輪を回転駆動するためのモータ
と、該活字輪の回転により各活字に対応したタイ
ミングパルスと該活字輪の1回転に1度発生する
リセツトパルスとを発生するタイミング発生回路
とを有した印字装置に於て、前記リセツトパルス
のタイミング位置を確認して正常位置にいない場
合再度確認動作をする手段と、該再度確認動作に
よつてリセツトパルスが正常位置にいた場合印字
動作を実行する手段とを有することを特徴とする
印字装置。 2 前記再度確認動作で正常位置にいない場合は
エラー状態にすることを特徴とする特許請求の範
囲第1項記載の印字装置。[Scope of Claims] 1. A type wheel having a plurality of type characters such as numbers and symbols formed on the outer periphery, a motor for rotationally driving the type wheel, and a timing pulse corresponding to each type by rotation of the type wheel. In a printing device having a reset pulse that is generated once per rotation of the type wheel and a timing generation circuit that generates the reset pulse, the timing position of the reset pulse is checked, and if the reset pulse is not in the normal position, a checking operation is performed again. and means for executing a printing operation if the reset pulse is at a normal position as a result of the reconfirmation operation. 2. The printing device according to claim 1, wherein if the printing device is not in the normal position in the reconfirmation operation, an error state is set.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7236582A JPS58188679A (en) | 1982-04-28 | 1982-04-28 | Printing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7236582A JPS58188679A (en) | 1982-04-28 | 1982-04-28 | Printing apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58188679A JPS58188679A (en) | 1983-11-04 |
| JPH0372474B2 true JPH0372474B2 (en) | 1991-11-18 |
Family
ID=13487207
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7236582A Granted JPS58188679A (en) | 1982-04-28 | 1982-04-28 | Printing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58188679A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5203636A (en) * | 1984-11-12 | 1993-04-20 | Canon Kabushiki Kaisha | Printing apparatus capable of distinguishing functioning abnormalities |
| JPH01202462A (en) * | 1988-02-09 | 1989-08-15 | Citizen Watch Co Ltd | Printing controller in serial printer |
-
1982
- 1982-04-28 JP JP7236582A patent/JPS58188679A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58188679A (en) | 1983-11-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0139937B1 (en) | Initializing apparatus for daisy wheel printer | |
| JPH0372474B2 (en) | ||
| US4563712A (en) | Floppy disk drive apparatus | |
| JPS5537654A (en) | Information processor | |
| US4547820A (en) | Floppy disk drive apparatus | |
| US4872773A (en) | Printing wheel discriminating apparatus | |
| JPS6328796B2 (en) | ||
| EP0260383B1 (en) | Word processor employing automatic relocation of printing point on continuation of document playout | |
| AU607258B2 (en) | Automatic function control for an electronic typewriter | |
| JPS5812874B2 (en) | serial printer | |
| JPS6319158Y2 (en) | ||
| JP3158665B2 (en) | Printer and control method thereof | |
| KR100299789B1 (en) | How to detect the steering neutral position of the vehicle | |
| JPH0371644B2 (en) | ||
| JPH03124467A (en) | Electronic typewriter | |
| JPS62271189A (en) | Mark reading control method | |
| JPS5812875B2 (en) | Serial printer hammer cut device | |
| JP2521087B2 (en) | Image contour bit generation method | |
| JPS591280A (en) | Method for detecting home position of type wheel in wheel printer | |
| JPS6354556B2 (en) | ||
| JPS60109880A (en) | Printer | |
| JP2725680B2 (en) | Bus error detection circuit | |
| JPH0525893Y2 (en) | ||
| JPS59145170A (en) | printing device | |
| JPS61179747A (en) | System for controlling space of printer |