JPS5952344A - Dot printer controller - Google Patents

Dot printer controller

Info

Publication number
JPS5952344A
JPS5952344A JP57161670A JP16167082A JPS5952344A JP S5952344 A JPS5952344 A JP S5952344A JP 57161670 A JP57161670 A JP 57161670A JP 16167082 A JP16167082 A JP 16167082A JP S5952344 A JPS5952344 A JP S5952344A
Authority
JP
Japan
Prior art keywords
dot
output
driver
printer
time
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
JP57161670A
Other languages
Japanese (ja)
Inventor
Hiroshi Matsuo
博 松尾
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.)
Amano Corp
Original Assignee
Amano Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amano Corp filed Critical Amano Corp
Priority to JP57161670A priority Critical patent/JPS5952344A/en
Publication of JPS5952344A publication Critical patent/JPS5952344A/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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/22Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of impact or pressure on a printing material or impression-transfer material
    • B41J2/23Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of impact or pressure on a printing material or impression-transfer material using print wires
    • B41J2/30Control circuits for actuators

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To prevent previously the burning of a dot printer due to a program runaway which is caused by a voltage fault, the destruction of a memory, etc., by keeping the dot printer under an ON state. CONSTITUTION:When the dot information is fed to an I/O interface 18 from a CPU10, the interface 18 latches a strobe signal of prescribed timing and at the same time delivers a dot output signal (A) to a driver 20. If a latch output is obtained at a time point t=t0, this output is applied to a time limiting circuit 24 in the form of a dot ON signal for triggering. The circuit 24 applies an output to the driver 20 as a gate signal (B) for a prescribed time T. The driver 20 supplies a dot output signal (A) existing within a dot ON enable time corresponding to the time T to a printer 22 in the form of a dot output (C). If a program runaway occurs due to a voltage fault, the destruction of a memory 14, no latching is carried out to the dot information at that time point by the strobe signal. Therefore, the circuit 24 is not actuated.

Description

【発明の詳細な説明】 本発明はドツトプリンタ制m装置に関し、待にマイクロ
コンピュータ等により制御される電子式タイムレコーダ
等のタイムカード上の印字に適したドツトプリンタ制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a dot printer control device, and more particularly to a dot printer control device suitable for printing on time cards such as electronic time recorders controlled by a microcomputer or the like.

従来のドツト・プリンタ制御I装置の概要を第1図に示
す。同図において、1oは全体のシステム制御を監視す
る中央処理装置cPU、12は印字情報を含むシステム
プログラムが格納されたROM、14はデータの一時記
憶や所定のレジスタとして使用されるメモリエリアを有
するR△〜1.16はハス、1’8LtCPLJ10.
ROM12、RAM14等からなるマイクロコンピュー
タシステムと外部機器であるドツトプリンタとを接続1
−るr、’。
FIG. 1 shows an outline of a conventional dot printer control device. In the figure, 1o is a central processing unit cPU that monitors the overall system control, 12 is a ROM in which a system program including print information is stored, and 14 is a memory area used for temporary storage of data and a predetermined register. R△~1.16 is lotus, 1'8LtCPLJ10.
Connecting a microcomputer system consisting of ROM 12, RAM 14, etc. to an external dot printer 1
-rur,'.

インターフェースである。このT10インターフエース
18にはCPU10の監視の下で、ROM12、もしく
はRAM14から所定のドラi・情報が入力され、その
出力によりドライバ20を作動させ、このドライバ20
からのドツト出力によりドツトプリンタ22を駆動して
、被印字体、例えばタイムカード上に所望の印字を行う
ように構成されている。ところで上記I10インターフ
ェースには通常第2図に示されるようなラッチ回路18
Lが設けられ、入力されるドツト情報を所定のタイミン
グでラッチもしくはサンプルし、これらのラッチもしく
はサンプルされた出力によりドライバ20を駆動するよ
うに構成することにより印字動作の安定化を計っている
。第2図に示されるものは、Dタイプのフリップ・70
ツブを利用した衆知のラッチ回路18Lで、入力端1a
には入力D(ドツト情報)が、入力端1bにはラッチも
しくはサンプルのタイミング信号であるストローブ信号
Tが供給され、その出力としてQ、Qtf得られる。第
3図を参照すると、例えば入力りが第3図A、ストロー
ブ信号Tが第3図Bのようであると仮定すると、ラッチ
出力Qは、ストローブ信号下の発生時点で入力りの状態
が変化(例えばHからLへ)した時、それに同期して発
生する。なおラッチ出力Qの立下り時点はDタイプであ
るため人力りの次の状態変化時点となる。
It is an interface. Predetermined driver i information is input to this T10 interface 18 from the ROM 12 or RAM 14 under the supervision of the CPU 10, and the driver 20 is operated by the output thereof.
The dot printer 22 is driven by the dot output from the dot printer 22, and the dot printer 22 is configured to perform desired printing on a printing medium such as a time card. By the way, the above I10 interface usually includes a latch circuit 18 as shown in FIG.
L is provided, the input dot information is latched or sampled at a predetermined timing, and the driver 20 is driven by the latched or sampled output, thereby stabilizing the printing operation. The one shown in Figure 2 is a D type flip 70
The input terminal 1a is a well-known latch circuit 18L using a knob.
An input D (dot information) is supplied to the input terminal 1b, and a strobe signal T, which is a latch or sample timing signal, is supplied to the input terminal 1b, and Q and Qtf are obtained as outputs. Referring to FIG. 3, for example, assuming that the input is as shown in FIG. 3A and the strobe signal T is as shown in FIG. (for example, from H to L), it occurs in synchronization with that. Note that the falling point of the latch output Q is of type D, so it is the next state change point due to manual effort.

このように従来装置では、入力されるドツト情報をラッ
チするなどして、印字動作の安定化を計っているが、電
源電圧の低下等の電圧巽常や、メモリの破壊等によって
CPU10によりその実行が規定されているプログラム
に暴走が生じたとすると、ドツト情報、即ち第2図及び
第3図では入力りがH′もしくは″L°状態のままであ
ったり、波形の乱れでストローブ信号Tによりラッチ不
能であったり、あるいはラッチが不完全である場合には
、暴走したプログラムに基づくデータによりドライバ2
0を介してプリンタ22を長時間ON状態にする信号が
印加される場合がある。その結果、プリンタ22が焼損
したりするなどして危険であり、特に電子式タイムレコ
ーダの印字用として使われる小型で他の機器と一体的に
組み込まれているプリンタの場合にはその修理が困難で
あった。
In this way, conventional devices try to stabilize the printing operation by latching the input dot information, but due to voltage fluctuations such as a drop in the power supply voltage, memory corruption, etc., the CPU 10 is unable to perform the printing operation. If a runaway occurs in a program that is specified, the dot information, that is, the input signal in Figures 2 and 3 may remain in the H' or ``L° state, or the waveform may be disturbed and latched by the strobe signal T. If the driver 2 is disabled or the latch is incomplete, the data based on the runaway program
In some cases, a signal is applied via 0 to turn the printer 22 on for a long period of time. As a result, the printer 22 may burn out, which is dangerous, and it is difficult to repair the printer, especially in the case of a small printer used for printing electronic time recorders and integrated with other equipment. there were.

3一 本発明は上記の点に鑑みてなされたもので、電圧巽常や
メモリの破壊等によって生ずるプログラムの暴走により
、ドツトプリンタがON状態に保たれ、それによって焼
損するという事故を未然に防ぐことを可能にしたドツト
プリンタ制1llI装置を提供することを目的とする。
31 The present invention has been made in view of the above points, and aims to prevent the accident in which the dot printer is kept in the ON state due to runaway of the program caused by voltage fluctuation or memory destruction, resulting in burnout. The purpose of the present invention is to provide a dot printer type 1llI device that makes it possible to do this.

本発明ではこの目的を達成するために、CPLJ側から
インターフェースに入力されるドツト情報が所定のタイ
ミングでり”ンプルし得た場合には、インターフェース
とドツトプリンタのドライバ間に接続された時限回路を
動作さけて所定時間だけドライバからプリンタヘドツト
出力を供給し、前記ドラ;・情報がサンプルできなかっ
た場合には前記ドツト出力を供給しむいようにしたこと
を特徴としている。
In order to achieve this objective, the present invention operates a timer circuit connected between the interface and the dot printer driver when the dot information input from the CPLJ side to the interface can be sampled at a predetermined timing. The present invention is characterized in that the driver supplies dot output from the printer head for a predetermined period of time, and when the driver information cannot be sampled, the dot output is supplied.

以下、本発明の一実施例を雁附された図面と共に説明す
る。
Hereinafter, one embodiment of the present invention will be described with reference to the accompanying drawings.

第4図は本発明に係るドツトプリンタ制ill装置の一
実施例の概略構成を示すブロック図であり、第1図と同
一符号は同一物を示しその説明を省略する。本発明では
I、’Oゼインーフェース18と4− ドライバ20間に所定の時限を有する例えば1′・リガ
タイプのワンジョンマルチ等の時限回路24を設け、I
10インターフェース18からのドツト情報をこの時限
回路24の出力をゲート信号として、ドライバ20へ供
給するか否かを決めるようにしている。
FIG. 4 is a block diagram showing a schematic configuration of an embodiment of a dot printer control illumination device according to the present invention, and the same reference numerals as in FIG. 1 indicate the same parts and the explanation thereof will be omitted. In the present invention, a time limit circuit 24 having a predetermined time limit, such as a one-john multi of the 1'-Riga type, is provided between the I and 'O interfaces 18 and the 4-driver 20.
The output of this timer circuit 24 is used as a gate signal to determine whether or not to supply the dot information from the 10 interface 18 to the driver 20.

上記のように構成されているので、cpu側からI10
インターフェース18に入力されるドツト情報に基づき
、ドライバ20へ供給されるドラI・出力信号が第5図
Aに示されるような波形であったとする。この時、r 
、、/ oインターフェース18では、前述したような
第2図に示されるラッチ回路181−でこのドラI・出
力信号に相当するドツト情報を所定のタイミングのスi
・ローブ信@Tでラッチもしくは1ノンプルする。時刻
t=tQでこのラッチ出力の立上がりが得られたとずれ
ば、このラッチ出力をドラh ON信号として時限回路
24を構成するワンショットマルチをトリガする。
Since it is configured as above, I10 from the CPU side
Assume that the driver I/output signal supplied to the driver 20 has a waveform as shown in FIG. 5A based on the dot information input to the interface 18. At this time, r
,,/o In the interface 18, the latch circuit 181- shown in FIG.
・Latch or 1 non-pull with lobe signal @T. If the latch output rises at time t=tQ, the one-shot multi circuit constituting the timer circuit 24 is triggered using the latch output as the driver hON signal.

これによってワンショットマルチ24は第5図Bに示さ
れるように所定の時限T=t2−tOだけ出力をドライ
バ20にゲート信号として供給する。
As a result, the one-shot multi 24 supplies the output as a gate signal to the driver 20 for a predetermined time period T=t2-tO, as shown in FIG. 5B.

これによってドライバ20からはこの時限Tに相当する
ドラ]・ON可能時間内にあるドツト出力信号を第5図
Cのようにドツト出力としてプリンタ22を駆動する。
As a result, the driver 20 drives the printer 22 by converting the dot output signal within the ON possible time corresponding to this time limit T into a dot output as shown in FIG. 5C.

この場合のドツト出力のパルス幅は(tl−to)であ
る。
The pulse width of the dot output in this case is (tl-to).

本発明の一実施例では、上記のようにドツト情報がラッ
チ回路18Lのストローブ信号Tでラッチもしくは1ノ
ーンプルし得た場合のみ、時限回路24を動作させて、
この時限回路24の出力をゲート信号として、I 、’
 Oインターフェース18からのドラ1〜出力信号をド
ツト出力としてプリンタ22を駆動している。従って、
RAM14のメモリエリアのビット落ちや、電源電圧が
規定値以下になった場合などにプログラムが暴走したと
しても、その時のドツト情報に対しては、ストローブ信
号Tでラッチが行われず、従って時限回路24はトリガ
されず、ドライバ20はドツト出力信号をドツト出力と
してプリンタ22に供給しないので、プリンタ22がプ
ログラム賃常に基づきON状態が続い−C焼10に芋る
ことを未然に防止できる。
In one embodiment of the present invention, the time limit circuit 24 is operated only when the dot information can be latched or 1 non-pulled by the strobe signal T of the latch circuit 18L as described above.
Using the output of this timer circuit 24 as a gate signal, I,'
The printer 22 is driven by using the driver 1 output signal from the O interface 18 as a dot output. Therefore,
Even if the program runs out of control due to bit loss in the memory area of the RAM 14 or when the power supply voltage drops below the specified value, the dot information at that time will not be latched by the strobe signal T, and therefore the time limit circuit 24 will not latch the dot information at that time. is not triggered, and the driver 20 does not supply the dot output signal to the printer 22 as a dot output, so it is possible to prevent the printer 22 from continuing to be in an ON state based on the program and turning into the -C printing 10 beforehand.

特に、本発明によるこうした回路を、電子式タイムレコ
ーダに内蔵された小型のドツトプリンタの制御に適用し
た場合、従来の回路構成に対しで単一ハード部品である
ワンショットマルチ24等を付加するだ(」なので、ス
ペース的な制約がない。
In particular, when such a circuit according to the present invention is applied to control a small dot printer built into an electronic time recorder, a single hardware component such as the one-shot multi 24 is added to the conventional circuit configuration. Therefore, there are no space constraints.

また、前述したようにこのようなドツトプリンタは従来
伯の機器と一体的に組み込まれているために焼損時の修
理等に要していたが、こうした手間を一切省くことがで
きるので非常に有効である。
In addition, as mentioned above, dot printers like this are integrated into traditional equipment, requiring repairs in the event of burnout, but this is extremely effective as it eliminates such trouble. be.

なお上記実施例では、ドツト情報をリーンプルする手段
としてラッチ回路18Lを用いて、この出力を利用して
時限回路24を動作させているが、他のサンプル手段で
もよく、また時限回2824もトリガタイプのワンショ
ットマルチ以外のタイマでもよい。
In the above embodiment, the latch circuit 18L is used as a means for lean-pulling the dot information, and the output thereof is used to operate the timer circuit 24, but other sampling means may also be used, and the timer circuit 2824 may also be of the trigger type. It is also possible to use a timer other than one-shot multi.

本発明は以上のようであり、極めて簡11な回路構成で
プログラムの暴走等により、ドツトプリンタがON状態
に保たれそれによって焼損するという事故を未然に且つ
確実に防止できるという優れ7− た特長を有する。
As described above, the present invention has an excellent feature of being able to reliably prevent an accident in which a dot printer is kept in an ON state due to a runaway program, resulting in burnout, with an extremely simple circuit configuration. have

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

第1図は従来のドツトプリンタ制御装置の概要を示すブ
ロック図、第2図は第1図のj10インターフェースに
設けられたラッチ回路を示す回路図、第3図A乃至第3
図Cは第2図のラッチ回路の動作例を示すタイミングヂ
ャート、第4図は本発明に係るドツトプリンタ制御装置
の一実施例のブロック図、第5図A乃至第5図りは第4
図の装置の各部の動作例を示すタイミングチF−1−で
ある。 10・・・・CPU、12・・・・ROM、14・・・
・RAM、18・・・・I10インターフェース、18
L・・・・ラッチ回路、20・・・・ドライバ、22・
・・・ドツトプリンタ、24・・・・時限回路。 特許出願人 アマノ株式会社 8− −244− 010
FIG. 1 is a block diagram showing an overview of a conventional dot printer control device, FIG. 2 is a circuit diagram showing a latch circuit provided at the j10 interface in FIG. 1, and FIGS.
Figure C is a timing chart showing an example of the operation of the latch circuit in Figure 2, Figure 4 is a block diagram of an embodiment of the dot printer control device according to the present invention, and Figures 5A to 5 are
This is a timing chart F-1- showing an example of the operation of each part of the device shown in the figure. 10...CPU, 12...ROM, 14...
・RAM, 18...I10 interface, 18
L... Latch circuit, 20... Driver, 22...
...Dot printer, 24...Timed circuit. Patent applicant Amano Co., Ltd. 8- -244- 010

Claims (3)

【特許請求の範囲】[Claims] (1)中央処理装置の監視下で所定のドツト情報に基づ
きインターフェースを介してドライバを作動させ、この
ドライバからのドツト出力によりプリンタを駆動して被
印字体に所望の印字を行うドツトプリンタ制御装置にお
いて、前記インターフェースに入力される前記ドツト情
報がサンプル手段により所定のタイミングでサンプルし
得た場合に、該インターフェースと前記ドライバ間に接
続された時限回路を動作させて所定vI間だけ前記ドラ
イバから前記プリンタへのドツト出力の供給を許容する
ように構成したドツトプリンタ制御装置。
(1) In a dot printer control device that operates a driver via an interface based on predetermined dot information under the supervision of a central processing unit, and drives the printer with dot output from this driver to print desired marks on a printing medium. , when the dot information input to the interface can be sampled at a predetermined timing by a sampling means, a time limit circuit connected between the interface and the driver is operated to allow the dot information to be input from the driver to the printer for a predetermined period of time. A dot printer control device configured to allow dot output to be supplied to a dot printer.
(2)前記サンプル手段は、前記インターフェースに設
けられたラッチ回路であることを特徴とする特許請求の
範囲第1項記載のドツトプリンタ制御Xl装置。
(2) The dot printer control Xl device according to claim 1, wherein the sample means is a latch circuit provided in the interface.
(3)前記時限回路は、ワンショッ]・マルチである特
許請求の範囲第1項記載もしくは第2項記載のドツトプ
リンタ制m装置。
(3) The dot printer control device according to claim 1 or 2, wherein the timer circuit is one-shot/multiple.
JP57161670A 1982-09-17 1982-09-17 Dot printer controller Pending JPS5952344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57161670A JPS5952344A (en) 1982-09-17 1982-09-17 Dot printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57161670A JPS5952344A (en) 1982-09-17 1982-09-17 Dot printer controller

Publications (1)

Publication Number Publication Date
JPS5952344A true JPS5952344A (en) 1984-03-26

Family

ID=15739604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57161670A Pending JPS5952344A (en) 1982-09-17 1982-09-17 Dot printer controller

Country Status (1)

Country Link
JP (1) JPS5952344A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4988431A (en) * 1972-12-25 1974-08-23
JPS4988432A (en) * 1972-12-25 1974-08-23
JPS58168583A (en) * 1982-03-31 1983-10-04 Fujitsu Ltd Circuit for controlling drive of printer head

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4988431A (en) * 1972-12-25 1974-08-23
JPS4988432A (en) * 1972-12-25 1974-08-23
JPS58168583A (en) * 1982-03-31 1983-10-04 Fujitsu Ltd Circuit for controlling drive of printer head

Similar Documents

Publication Publication Date Title
EP0227106A3 (en) Dot-printing device
JPS5952344A (en) Dot printer controller
US4713813A (en) Logic analyzer
JPS5449024A (en) Print controller of electronic tabulating computer
JPS62160538A (en) Method for protecting recorder from noise
KR900010048Y1 (en) Printer head driving circuit
JP2616323B2 (en) Line thermal head protection circuit
JPH0752384B2 (en) Printer device
JPS6072755A (en) Thermal head protection circuit
JPS62290549A (en) Recorder
KR960014158B1 (en) Apparatus for generating the print signal
KR910001971B1 (en) Circuit for detecting and eliminating pin data heighboring with other pin data in dot matrix printer
JPH032081A (en) Test printing pattern control circuit
JPH07304201A (en) Printing head drive ic
JPS61248759A (en) Printer block
JPH0746341B2 (en) Centronics type interface
JPH01135663A (en) Driving method of thermal head
JPS6472879A (en) Page printer
JPS6478867A (en) Print controller
JPS5938056U (en) Thermal head protection circuit
JPH02215571A (en) Heater controller for recording head
JPS6024967A (en) Driver mounting type thermal head driving circuit
DE4229506A1 (en) Mains supply control avoiding data loss during mains switch operation - has intelligent mains unit responding to switch operation and signalling personal computer to ensure memory save
WO1984001646A1 (en) Data input/output device
JPS62234954A (en) Thermal head driving system