JPS5972582A - Data input and output device - Google Patents

Data input and output device

Info

Publication number
JPS5972582A
JPS5972582A JP57184152A JP18415282A JPS5972582A JP S5972582 A JPS5972582 A JP S5972582A JP 57184152 A JP57184152 A JP 57184152A JP 18415282 A JP18415282 A JP 18415282A JP S5972582 A JPS5972582 A JP S5972582A
Authority
JP
Japan
Prior art keywords
data
print
output device
data input
switch
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
JP57184152A
Other languages
Japanese (ja)
Inventor
Seiichi Hattori
服部 精一
Yutaka Mizuno
豊 水野
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP57184152A priority Critical patent/JPS5972582A/en
Publication of JPS5972582A publication Critical patent/JPS5972582A/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/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Impact Printers (AREA)

Abstract

PURPOSE:To prevent the burning of a magnet despite of a fault of an instruction system for a portable data input/output device from numerical control, by applying the control signal to the magnet of a print head only in a normal print mode. CONSTITUTION:A switch control circuit 6cf of a gate circuit 6ce turns off all switches after the time equivalent to the 1-row print elapses. Therefore no control signal is applied thereafter to magnets M00-M06. If an instruction system has a fault after the printing is through with a row, the control signal is produced from a register 6cd to turn on all magnets M00-M06. Even in such a case, the switch is never turned on unless a set signal is applied to the circuit 6ce. Thus no voltage is applied to the magnets M00-M06, so that the burning of the switch is prevented.

Description

【発明の詳細な説明】 本発明は、数値制御装置の本体から分離された可41?
i15のデータ入出力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a system that can be separated from the main body of a numerical control device.
Regarding i15 data input/output device.

数値制御において、ホスト・コンピュータを用い、これ
に各種のデータ処理を行わせて被加工物の加工指令デー
タを作成する場合がある。ホスト・コンピュータにて作
成されたデータは、テープパンチャーにより紙テープに
記録され、この紙テープを記録裸体として他のシステム
の入力情報として使用する。また、紙テープを作成する
際、その内容を記録しておくため、プリンタに印字させ
ている。通常ホスト・コンピュータからの出力を紙テー
プに記録したり、また記録用紙に印字する場合、ホスト
・コンピュータの本体とはそれぞれ別に設けた紙テープ
パンチャとプリンタが使用されている。それらの機器は
ホスト・コンピュータと接続され、これの指令のみによ
り動作する。このような各周辺機器が離ればなれのシス
テムとは異なり、ホスト舎コンピュータと接続した場合
はその指令に基すいた動作を行い、ホス)−コンピュー
タから切り離した場合は独自に紙テープの内容を読み込
んでこのコピー印字を行うシステムも考えられる。しか
しこのようなシステムは、ごく限られたシステムを対象
としたもので、別のシステムには応用できない面もある
し、また応用できたとしてもホスト・コンピュータのソ
フトウェアを変更したりして対処しなければならない、
という不便な面もあった。また、この種システムに使用
されるプリンタは通常ワイヤドツトプリンクである。こ
のワイヤドツトプリンタは、縦に並んだ数本のワイヤを
それぞれマグネットの力で印字用紙方向に押し出し、こ
れによりインクリボンを印字用紙に押し伺けてドツトの
集合による印字を行うものである。ところで、ワイヤド
ツトプリンタのマグネットはプリントヘッドの連動性を
良くするため、小型軽量に作られており、短時間定格で
ある。このため、中央処理装置(CPU)などの命令系
統が故障し、ワイヤドツトプリンタのマグネットに長時
間電圧が印加されるようなことがあるとこれが焼損して
プリンタまで故障することになる。
In numerical control, a host computer is sometimes used to perform various data processing to create machining command data for a workpiece. Data created by the host computer is recorded on paper tape by a tape puncher, and this paper tape is used as a recording body as input information for other systems. Additionally, when creating a paper tape, a printer is used to print out the contents in order to record the contents. Normally, when output from a host computer is recorded on paper tape or printed on recording paper, a paper tape puncher and a printer are used, each of which is provided separately from the main body of the host computer. These devices are connected to a host computer and operate only according to instructions from the host computer. Unlike such a system in which each peripheral device is separate, when it is connected to the host computer, it operates based on its commands, and when it is disconnected from the host computer, it independently reads the contents of the paper tape and operates this computer. A system that performs copy printing is also conceivable. However, such systems are intended for a very limited number of systems and may not be applicable to other systems, and even if they can be applied, it may be necessary to change the host computer software. There must be,
There was also an inconvenient aspect. Additionally, the printers used in this type of system are typically wired dot links. This wire dot printer uses several vertically arranged wires to push each one toward the printing paper using the force of a magnet, thereby pushing an ink ribbon onto the printing paper and printing by a collection of dots. By the way, the magnets of wire dot printers are made small and lightweight in order to improve the interlocking of the print head, and are rated for short periods of time. For this reason, if the command system such as the central processing unit (CPU) breaks down and a voltage is applied to the magnet of the wire dot printer for a long time, the magnet will burn out and the printer will also malfunction.

そこで本発明は数値制御システムにおいて、ホスト・コ
ンピュータとは分離して設けられてテープパンチャ、テ
ープリーダ、プリンタが一体的にまとめられたデータ入
出力装置であって、命令系統に故障が生じても、ワイヤ
ドツトプリンタは何等故障を起すことがないような数値
制御装置のデータ入出力装置を提供することを目的とす
る。
Therefore, the present invention is a data input/output device for a numerical control system, which is provided separately from a host computer and integrates a tape puncher, tape reader, and printer, so that it can be used even if a failure occurs in the command chain. The purpose of the wire dot printer is to provide a data input/output device for a numerical control device that does not cause any failures.

次に本発明の一実施例を図面を用いで詳細に説明する。Next, one embodiment of the present invention will be described in detail using the drawings.

第1図は、本発明に係るデータ入出力装置のブロック図
である。同図において、1は制御装置、2はデータ入出
力装置の動作に必要なプログラムを収納したり一ドΦオ
ンリ一番メモリ(以下ROMと略記する)、3は紙テー
プなどから読み出されたデータなどを一時記憶せしめて
おくランダム・アクセス・メモリ(以下RAMと略記す
る)、4はテープリーダ、5はテープパンチャ、6はワ
イヤド・ントプリンタで、テープリーダ4にて読み取ら
れたデータ、テープパンチャ5にて打ち出されているデ
ータあるいはホスト・コンピュータから送られてくるデ
ータを印字する。7は操作盤であり、文字キー、テンキ
ー、ファンクションキーなどを有する。特に、ホスト・
コンピユー・夕からの指令で動作させるかあるいは本発
明に係るデータ入出力装置独自で動作させるかの動作切
替えスイッチを有する。8はホスト・コンピュータとの
間のインターフェース回路、9は切換え回路である。
FIG. 1 is a block diagram of a data input/output device according to the present invention. In the figure, 1 is a control device, 2 is a one-drive Φ-only memory (hereinafter abbreviated as ROM) that stores programs necessary for the operation of a data input/output device, and 3 is data read from a paper tape, etc. 4 is a tape reader, 5 is a tape puncher, 6 is a wired printer, and the data read by the tape reader 4, the tape puncher, etc. The data printed in step 5 or the data sent from the host computer is printed. Reference numeral 7 denotes a control panel, which has character keys, a numeric keypad, function keys, and the like. In particular, the host
The data input/output device according to the present invention has an operation changeover switch that allows the data input/output device according to the present invention to operate according to a command from the computer or independently. 8 is an interface circuit with the host computer, and 9 is a switching circuit.

第1図に示す装置は、自己の装置内だけで次のような操
作を行うことができる。まず、操作盤7からキーインし
たデータを即座にプリンタにてプリントアウトすること
ができるとともに、このデータをRAM3にストアでき
る。またプリントアウトされた結果をチェックしてから
、RAM3にストアーされているデータのエラーを訂正
することもできる。またこの訂正動作後、RAM3にス
トアされているデータをプリントアウトするとともに、
紙テープを穿孔することもできる。さらに、テープリー
ダ4から読み取られたデータをプリンタ6からプリント
アウトすることもできるし、テープパンチャ5により紙
テープに穿孔して紙テープのコピーを作成することもで
きるし、これらの動作を同時に行なうこともできる。
The device shown in FIG. 1 can perform the following operations only within its own device. First, data keyed in from the operation panel 7 can be immediately printed out using a printer, and this data can also be stored in the RAM 3. It is also possible to correct errors in the data stored in the RAM 3 after checking the printed results. Also, after this correction operation, print out the data stored in RAM3, and
Paper tape can also be perforated. Furthermore, the data read from the tape reader 4 can be printed out from the printer 6, the paper tape can be punched by the tape puncher 5 to make a copy of the paper tape, and these operations can be performed simultaneously. can.

また、第1図に示す装置は、操作盤7に設けられた動作
切替えスイッチを切り替え、切替回路9をオンにしてホ
スト会コンピュータ側と接続し、操作盤7あるいはテー
プリーダ4から、RAM3を経由し、あるいは経由せず
、データをホスト・コンピュータ側に転送することがで
きるとともにホスト・コンピュータ側から転送されたデ
ータをテープパンチャ5から紙テープに記録することも
できるし、プリンタ6からプリントアウトすることもで
きる。
In addition, the device shown in FIG. 1 is connected to the host group computer side by switching the operation changeover switch provided on the operation panel 7 and turning on the switching circuit 9. Alternatively, the data can be transferred to the host computer side without going through it, and the data transferred from the host computer side can also be recorded on paper tape from the tape puncher 5 or printed out from the printer 6. You can also do it.

第2図は、ワイヤドツトプリンタ6の構成を示すブロッ
ク図である。同図において、6aはデータバッファ、6
bは制御装置1がら転送された印字データを解読するデ
コーダ、6cはプリンタ制御回路、6dは印字部であり
、通常7木の印字用ワイヤの先端を縦に並べ、これらワ
イヤをそれぞれ押し出す7個のマグネットを持った印字
ヘッドを有する。
FIG. 2 is a block diagram showing the configuration of the wire dot printer 6. As shown in FIG. In the figure, 6a is a data buffer;
b is a decoder that decodes the print data transferred from the control device 1, 6c is a printer control circuit, and 6d is a printing unit, which usually has seven printing wires arranged vertically, and seven pieces that push out each of these wires. It has a print head with a magnet.

第3図は、ワイヤドツトプリンタ6のプリンタ制御回路
6cと印字部6dの詳細を示すブロック図である。第3
図において、6caは1行の印字数を一時スドアしてお
くレジスタ、6cbは1行の文字数をカウントするヒツ
トカウンタ、6ccはデコーダ、6cdは1行の印字文
字をストアするレジスタ、6ceはゲート回路で、7個
のスインチとこれらスイ・ンチを一斉にオン争オフする
スイッチ制御回路6cfとを有する。このスイッチ制御
回路6cfはセント信号の1パルスが印加されると、一
定時間たとえば印字ヘッドが1行分印字する時間あるい
はそれよりも少し多いめの時間だけスイッチをオンにし
、それを過ぎるとスイッチをオフにする。印字部6dに
おいて、6daは印字ヘッドで、7個のマグネットMO
o〜MO6と、これらによって押し出される7木のワイ
ヤ6dbと、これらワイヤの先端を縦に並べたヘッド部
6dcとを有する。
FIG. 3 is a block diagram showing details of the printer control circuit 6c and printing section 6d of the wire dot printer 6. Third
In the figure, 6ca is a register that temporarily stores the number of characters printed in one line, 6cb is a hit counter that counts the number of characters in one line, 6cc is a decoder, 6cd is a register that stores the number of characters printed in one line, and 6ce is a gate circuit. It has seven switches and a switch control circuit 6cf that turns on and off these switches all at once. When one pulse of the cent signal is applied, this switch control circuit 6cf turns on the switch for a certain period of time, for example, the time it takes for the print head to print one line, or a little longer than that, and then turns the switch on after that time. Turn off. In the printing section 6d, 6da is a print head, which has seven magnet MOs.
o to MO6, seven wires 6db pushed out by these, and a head portion 6dc in which the tips of these wires are vertically arranged.

次に、ワイヤドツトプリンタ6の動作について説明する
Next, the operation of the wire dot printer 6 will be explained.

まず、データバスDBを通じて制御装置方向から送られ
て来る印字データはデータバッファ6aにストアーされ
た後、デコーダ6bに送られ、該デコーダ6bにて転送
されたデータが印字数を示すデータか印字文字を示すデ
ータかを判別する。
First, print data sent from the control device via the data bus DB is stored in the data buffer 6a and then sent to the decoder 6b, and the data transferred by the decoder 6b is either data indicating the number of prints or print characters. Determine whether the data indicates.

そして1行印字数データはレジスタ6caにストア゛さ
れ、印字文字データはレジスタ6cdにストアされる。
The number of prints per line data is stored in the register 6ca, and the print character data is stored in the register 6cd.

次いで印字数セット信号がヒツトカウンタに印加される
と、レジスタ6caの印字数がカウンタにセットされる
。一方、印字数セ・ント信号はまたスイッチ制御回路6
cfにセン]・信号として印加される。このため、ゲー
ト回路6ceのスイッチが一斉にオンとなる。これと同
時にレジスタ6cdから印字データが1文字ずつ読出さ
れ、このデータはゲート回路6ceのスイッチを通じて
印字ヘッド6daのマグネットに制御信号として印加さ
れる。このため、制御信号を印加されたマグネットは短
時間だけ通電され、ワイヤ6dbを押し出し、その先端
はへンド部6dcから印字用紙方向に押し出されてドツ
ト印字が行われる。1文字印字されると、印字終了を示
す)成算パルスが1個だけヒツトカウンタ6cbに送ら
れ、これの計数値が1だけ減算される。このような印字
動作が繰り返えされ、1行分の印字が行われると、ヒツ
トカウンタの計数値がオール・ゼロとなり、これをデコ
ーダ6ccが検知し、印字部6dに改行命令を出力して
改行動作が行われる。ゲート回路6ceのスイッチ制御
回路6cfは1行印字分の時間が経過すると、スイッチ
を全てオフとする。このため、マグネットMOO〜MO
Bには以後側等制御信号は印加されない。ここで、次の
行に対する印字を行なう場合は、前述と同様な動作が最
初から繰り返えされる。1行分の印字動作が終了した後
、もし命令系統が故障し、たとえば、レジスタ6cdか
ら、マグネットMOo〜MOeが全てオンになるような
制御信号が発せられたとしても、セント信号がゲート回
路6ceに印加されない限りスイッチがオンとならず、
マグネットMOO〜M06は何等電圧が印加されないの
で、これらが焼損するような事故は発生しない。
Next, when a print number set signal is applied to the hit counter, the print number in the register 6ca is set in the counter. On the other hand, the print number cent signal is also sent to the switch control circuit 6.
cf is applied as a sen] signal. Therefore, the switches of the gate circuits 6ce are turned on all at once. At the same time, print data is read character by character from the register 6cd, and this data is applied as a control signal to the magnet of the print head 6da through the switch of the gate circuit 6ce. Therefore, the magnet to which the control signal is applied is energized for a short period of time to push out the wire 6db, and its tip is pushed out from the hand portion 6dc toward the printing paper to perform dot printing. When one character is printed, only one resultant pulse (indicating the end of printing) is sent to the hit counter 6cb, and its count value is subtracted by 1. When such a printing operation is repeated and one line is printed, the count value of the hit counter becomes all zero, and the decoder 6cc detects this and outputs a line feed command to the printing section 6d. A revision action is taken. The switch control circuit 6cf of the gate circuit 6ce turns off all the switches when the time for printing one line has elapsed. For this reason, magnet MOO~MO
No other side control signals are applied to B from now on. Here, when printing on the next line, the same operation as described above is repeated from the beginning. After the printing operation for one line is completed, even if the command chain fails and, for example, a control signal is issued from the register 6cd that turns on all magnets MOo to MOe, the cent signal will be sent to the gate circuit 6ce. The switch will not turn on unless applied to
Since no voltage is applied to the magnets MOO to M06, an accident such as burning out of these does not occur.

なお、」二記実施例において、ゲート回路6ceのスイ
ッチ制御回路6cfのセット信号に印字数セット信号を
用いたが、この外に、たとえば、印字開始信号など、印
字動作を開始するための信号をセット信号として使用す
ることができる。
In the second embodiment, the print number set signal is used as the set signal for the switch control circuit 6cf of the gate circuit 6ce, but in addition to this, a signal for starting the printing operation, such as a print start signal, may be used. Can be used as a set signal.

以ト詳細に説明したように、本発明は、データ入出力装
置がホストΦコンピュータからの指令で動作し紙テープ
の作成、転送データのプリントアウト、データの入力が
実行できるだけでなく、該装置の中に、独自にプログラ
ミングして紙テープを作成でき、かつ紙テープのデータ
を印字することができるような処理機能を備えているの
で、数台の数値制御装置を掛持ちできる可搬型のデータ
入出力装置として好適なものである。さらにワイヤドツ
トプリンタには、通常の印字動作が行われる時だけ、印
字ヘッドのマグネットに制御信号を印加するように構成
したので、ワイヤドツトプリンタの命令系統に故障が発
生し、マグネットに連続して電圧が印加されるような狂
った制御信号が印加されたとしても、マグネフトには何
等電圧が印加されず、これが焼損するようなことがない
As explained in detail above, the present invention not only enables a data input/output device to operate in response to instructions from a host Φ computer to create paper tapes, print out transferred data, and input data, but also enables It is equipped with a processing function that allows you to create paper tapes with your own programming and print data on paper tapes, so it can be used as a portable data input/output device that can hold several numerical control devices. It is suitable. Furthermore, wire dot printers are configured so that control signals are applied to the print head magnets only when normal printing operations are being performed, so if a failure occurs in the command chain of the wire dot printer, voltage is continuously applied to the magnets. Even if an incorrect control signal is applied, no voltage will be applied to the magnetoft, and it will not burn out.

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

第1図は1本発明に係るデータ入出力装置のブロック図
、第2図はワイヤドツトプリンタ6の構成を示すブロッ
ク図、第3図はワイヤドツトプリンタのプリンタ制御回
路と印字部の要部を示すブロック図である。 l・・・制御装置   2・舎・ROM3・4嗜RAM
     4・・争テープリータ′5・・・テープパン
チャ 6・・−ワイヤドツトプリンタ 7・・・操作盤 6bや・デコーダ 6C嗜・プリンタ制御回路 6caと6cde*レジスタ 6cb*ヒツトカウンタ 6cc・ヒツトカウンタ 6ce・ゲート回路 6cf・スイッチ制御回路 6d拳、・印字部 MOO〜MOf3・マグネット 出願人   ファナック株式会社 代理人   弁理士   辻   實 (外2名) 第 1 目 第2図
Fig. 1 is a block diagram of a data input/output device according to the present invention, Fig. 2 is a block diagram showing the configuration of a wire dot printer 6, and Fig. 3 is a block diagram showing the main parts of the printer control circuit and printing section of the wire dot printer. It is a diagram. l...Control device 2, ROM3, 4 RAM
4... Tape reader '5... Tape puncher 6... - Wire dot printer 7... Operation panel 6b, Decoder 6C, Printer control circuit 6ca and 6cde * Register 6cb * Hit counter 6cc, Hit counter 6ce. Gate circuit 6cf, switch control circuit 6d, printing section MOO~MOf3, magnet Applicant Fanuc Co., Ltd. Agent Patent attorney Minoru Tsuji (2 others) 1st page 2nd figure

Claims (1)

【特許請求の範囲】[Claims] テープパンチャ、テープリーグ、プリンタを備え、かつ
外部からの指令でも動作可能なデータ入出力装置であっ
て、ワイヤドツトプリンタには、印字開始信号により所
定時間開じて印字制御信号を印字部のマグネットに印加
する回路を所定時間のみ接続するゲート回路を設けたこ
とを特徴とするデータ入出力装置。
It is a data input/output device that is equipped with a tape puncher, tape league, and printer, and can also be operated by commands from outside.The wire dot printer has a device that is opened for a predetermined period of time in response to a print start signal and sends a print control signal to the magnet in the print section. A data input/output device comprising a gate circuit that connects an applied circuit only for a predetermined time.
JP57184152A 1982-10-20 1982-10-20 Data input and output device Pending JPS5972582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57184152A JPS5972582A (en) 1982-10-20 1982-10-20 Data input and output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57184152A JPS5972582A (en) 1982-10-20 1982-10-20 Data input and output device

Publications (1)

Publication Number Publication Date
JPS5972582A true JPS5972582A (en) 1984-04-24

Family

ID=16148270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57184152A Pending JPS5972582A (en) 1982-10-20 1982-10-20 Data input and output device

Country Status (1)

Country Link
JP (1) JPS5972582A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102205725A (en) * 2011-03-07 2011-10-05 珠海天威技术开发有限公司 Method and system for managing consumable information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102205725A (en) * 2011-03-07 2011-10-05 珠海天威技术开发有限公司 Method and system for managing consumable information

Similar Documents

Publication Publication Date Title
JPH051485B2 (en)
US4224869A (en) Parallel line printer
JPS5972582A (en) Data input and output device
JPH0714651B2 (en) How to set up the printer
US4971461A (en) Printing device for exchanging printing elements by use of character and identification code data
JPS58114289A (en) Printer controller
JPS5969839A (en) Input/output device of data
JP2738350B2 (en) Page printer device
JPS6151365A (en) Printing apparatus
JPH0546935Y2 (en)
JPS6261436B2 (en)
JPS6094379A (en) Processing system at time of cover opening of printer
US4676674A (en) Data input/output unit
JPS6158770A (en) Printing device
JPS5969838A (en) Input-output device of data
JPS61162375A (en) Recorder
JPS61209187A (en) Recording apparatus
JPS5938081A (en) Page shift control system
JPS6027578B2 (en) printing device
JPS60189567A (en) Information processor
JPH01190472A (en) Printing device
JPH04173350A (en) Recording device
JPH0234370A (en) Printer
JPS5975330A (en) Data input/output device
JPS60205621A (en) Information processor