JPH0452481B2 - - Google Patents

Info

Publication number
JPH0452481B2
JPH0452481B2 JP58159939A JP15993983A JPH0452481B2 JP H0452481 B2 JPH0452481 B2 JP H0452481B2 JP 58159939 A JP58159939 A JP 58159939A JP 15993983 A JP15993983 A JP 15993983A JP H0452481 B2 JPH0452481 B2 JP H0452481B2
Authority
JP
Japan
Prior art keywords
numerical control
data
check
storage
main body
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 - Lifetime
Application number
JP58159939A
Other languages
Japanese (ja)
Other versions
JPS6051909A (en
Inventor
Minoru Yoshida
Masaaki Sekya
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.)
Toshiba Engineering Corp
Original Assignee
Toshiba Engineering 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 Toshiba Engineering Corp filed Critical Toshiba Engineering Corp
Priority to JP58159939A priority Critical patent/JPS6051909A/en
Publication of JPS6051909A publication Critical patent/JPS6051909A/en
Publication of JPH0452481B2 publication Critical patent/JPH0452481B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、数値制御装置に装備された読取り装
置に係り、特にマイクロコンピユータ等により読
取りデータのチエツク及び記憶を行なうようにし
た読取り装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a reading device installed in a numerical control device, and more particularly to a reading device in which read data is checked and stored by a microcomputer or the like.

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

従来の数値制御装置は第1図に示すように、例
えば紙テープにさん孔されることによつて盛込ま
れた数値制御データを読取り装置1により読取つ
て、この読取りデータを数値制御装置本体(以下
本体と略称する)2に転送している。
As shown in Fig. 1, a conventional numerical control device uses a reading device 1 to read numerical control data that has been included, for example, by punching holes in a paper tape, and sends this read data to the numerical control device main body (hereinafter referred to as (abbreviated as the main body) 2.

本体2では、上記読取りデータのパリテイチエ
ツクを行なつて読取り時及び転送時のエラーチエ
ツクを行ない、またそのデータがISO
(International Organization of Standard)コ
ードかEIA(Electronic Industries Association)
規格コードかの判別を行ない、更に読取りデータ
のデータフオーマツトチエツクを行なつて上記判
別されたコードによる正確なフオーマツトである
かのエラーチエツク等を行なつている。そして上
記チエツク終了後、本体2内の記憶部に上記読取
りデータを記憶しておき本体2内でのリクエスト
信号により、上記記憶部からデータをデータブロ
ツク毎に逐次読取つて数値制御運転に供するよう
にしている。
The main body 2 performs a parity check on the read data, checks for errors during reading and transfer, and also checks whether the data is ISO
(International Organization of Standard) code or EIA (Electronic Industries Association)
It is determined whether the read data is a standard code, and the data format of the read data is checked to check for errors to see if the format is correct according to the determined code. After the above check is completed, the read data is stored in a storage section in the main body 2, and in response to a request signal in the main body 2, the data is sequentially read from the storage section for each data block and used for numerical control operation. ing.

しかし乍ら、記憶媒体を、紙テープから磁気テ
ープ等に変更して、その読取り装置1も変更した
場合、コード或いはフオーマツトを変更した場合
等にあつては、本体2の仕様も変更しなければな
らず、システム全体に大きな負担を与えてしまう
ことになつた。
However, if the storage medium is changed from paper tape to magnetic tape, etc., and the reading device 1 is also changed, or if the code or format is changed, the specifications of the main body 2 must also be changed. This placed a huge burden on the entire system.

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

本発明は上記事情に鑑みてなされたもので、そ
の目的とするところは、数値制御装置本体の負担
低減を図ることが出来、しかも使い勝手が良い読
取り装置を提供することにある。
The present invention has been made in view of the above circumstances, and its purpose is to provide a reading device that can reduce the burden on the main body of a numerical control device and is easy to use.

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

本発明による読取り装置は、上記目的を達成す
るために、数値制御装置本体を動作させる数値制
御データを記憶媒体から読取る読取り器と、 この読取り器に付設されるものであつて、信号
処理部及び記憶部を有するチエツク・記憶器と、 このチエツク・記憶器に接続され、前記読取り
器及び前記チエツク・記憶器に対して動作指令を
与えるコンソール装置とから構成されてなり、 前記チエツク・記憶器の前記信号処理部は、前
記コンソール装置からの指令により選択されて動
作する読取りデータ記憶手段、記憶データ出力手
段及び読取りデータ直接出力手段を有し、 前記読取りデータ記憶手段は、前記記憶媒体か
ら前記数値制御データを読取るための動作を前記
読取り器に対して指令する手段と、前記読取り器
により読取られた数値制御データを当該チエツ
ク・記憶器に取込む動作を行う手段と、前記取込
まれた数値制御データのパリテイチエツクを行う
手段と、前記取込まれた数値制御データのフオー
マツトチエツクを行う手段と、前記パリテイチエ
ツク及び前記フオーマツトチエツクにより前記数
値制御データが正常であると判断されたとき前記
数値制御データを前記チエツク・記憶器の前記記
憶部に記憶し、異常であると判断されたとき当該
読取りデータ記憶手段の動作を停止する手段とか
ら構成され、 前記記憶データ出力手段は、前記数値制御装置
本体からリクエスト信号が有るか否かを判定する
手段と、この手段により前記数値制御装置本体か
らリクエスト信号が有ると判断されたとき前記チ
エツク・記憶器の前記記憶部にデータが記憶され
ているか否かをチエツクする手段と、この手段に
より前記記憶部にデータが記憶されていると判断
されたとき当該記憶部に記憶されている数値制御
データを前記数値制御装置本体に転送する手段と
から構成され、 前記読取りデータ直接出力手段は、前記数値制
御装置本体からリクエスト信号が有るか否かを判
定する手段と、この手段により前記数値制御装置
本体からリクエスト信号が有ると判断されたとき
前記記憶媒体から前記数値制御データを読取るた
めの動作を前記読取り器に対して指令する手段
と、前記読取り器により読取られた数値制御デー
タを当該チエツク・記憶器に取込む動作を行う手
段と、前記取込まれた数値制御データのパリテイ
チエツクを行う手段と、前記取込まれた数値制御
データのフオーマツトチエツクを行う手段と、前
記パリテイチエツク及び前記フオーマツトチエツ
クにより前記数値制御データが正常であると判断
されたとき前記数値制御データを前記数値制御装
置本体に転送し、異常であると判断されたとき当
該読取りデータ直接出力手段の動作を停止する手
段とから構成され、 てなることを特徴とする。
In order to achieve the above object, a reading device according to the present invention includes a reader that reads numerical control data for operating a numerical control device main body from a storage medium, and a signal processing section and a signal processing section attached to this reader. Consisting of a check/storage device having a storage section, and a console device connected to the check/storage device and giving operational commands to the reader and the check/storage device, The signal processing unit includes read data storage means, stored data output means, and read data direct output means that are selected and operated by a command from the console device, and the read data storage means reads the numerical value from the storage medium. means for instructing the reader to perform an operation for reading control data; means for importing the numerical control data read by the reader into the check/storage device; and the retrieved numerical value. means for performing a parity check on control data; means for performing a format check on the imported numerical control data; and means for determining that the numerical control data is normal through the parity check and the format check. and means for storing the numerical control data in the storage section of the check/memory device, and stopping the operation of the read data storage means when it is determined that there is an abnormality, and the stored data output means: means for determining whether or not there is a request signal from the numerical control device main body; and when the means determines that there is a request signal from the numerical control device main body, data is stored in the storage section of the check/memory device. means for checking whether data is stored in the storage section, and means for transferring the numerical control data stored in the storage section to the main body of the numerical control device when it is determined by this means that data is stored in the storage section. The read data direct output means includes means for determining whether or not there is a request signal from the numerical control device main body, and a means for determining whether or not there is a request signal from the numerical control device main body; means for instructing the reader to perform an operation for reading the numerical control data from the storage medium; and means for importing the numerical control data read by the reader into the check/storage device; means for performing a parity check on the imported numerical control data; means for performing a format check on the imported numerical control data; means for transmitting the numerical control data to the numerical control device main body when it is determined that there is an abnormality, and means for stopping the operation of the read data direct output means when it is determined that there is an abnormality. Features.

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

以下本発明の一実施例を図面を参照して説明す
る。第2図は本発明による読取り装置の一実施例
を示すブロツク図である。第2図において3は、
紙テープに盛込まれた数値制御データを読取る読
取り器である。4は、読取り器3からの読取りデ
ータに、数値制御装置本体(以下本体と略称す
る)5との間で後述する処理を施こすチエツク・
記憶器であり、通常、1枚のプリント基板で構成
され、読取り器3の背面に取付けられ、本実施例
の読取り装置を構成している。なお、このチエツ
ク・記憶器4の詳細な構成は後述する。6はチエ
ツク・記憶器4の操作及び表示を行なうコンソー
ル装置であり、英数字表示可能とするASCII(ア
スキー)コード表示器と、複数の操作スイツチと
を有している。このコンソール装置6は、その操
作スイツチにより、後述する動作モードの選定を
行ない、表示器により、パリテイチエツクエラー
の表示、データフオーマツトエラーの表示、読取
りデータの表示、チエツク・記憶器4の動作エラ
ーの表示等を英字及び数字にて表示するようにな
つている。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing one embodiment of a reading device according to the present invention. In Figure 2, 3 is
This is a reader that reads numerical control data written on paper tape. 4 is a checker which performs the processing described later on the read data from the reader 3 with the numerical control device main body (hereinafter abbreviated as main body) 5.
This is a memory device, which is usually composed of a single printed circuit board, is attached to the back of the reader 3, and constitutes the reader of this embodiment. The detailed structure of this check/memory device 4 will be described later. Reference numeral 6 denotes a console device for operating and displaying the check/memory device 4, and has an ASCII code display capable of displaying alphanumeric characters and a plurality of operation switches. This console device 6 selects an operation mode, which will be described later, using its operation switch, and displays parity check errors, data format errors, read data, and the operation of the check/memory device 4 using its display. Errors, etc. are displayed using letters and numbers.

次に第3図を参照してチエツク記憶器4の詳細
について述べる。即ち、7は、読取り器3、本体
5及びコンソール装置6との間でデータ授受を行
なう入出力回路(以下I/Oと略称する)であ
る。このI/O7は読取り器3に対して、テープ
スタート指令、テープストツプ指令を与えると共
に読取りデータを取り込む。またこのI/O7
は、本体5に対して、数値制御データとしての出
力データをデータブロツク毎に送出すると共に本
体5からのリクエスト信号を取込む。更にこの
I/O7は、コンソール装置6に対して、表示デ
ータを与えると共にスイツチ操作に伴う操作指令
を取込む。8は、中央処理装置(以下CPUと略
称する)は、上記I/O7からの諸データに対し
後述する制御プログラムにより所定の処理を施こ
すと共に演算制御を行なうものであり、通常のワ
ンチツプマイクロコンピユータ素子等からなる。
9は、リードオンリーメモリ(以下ROMと略称
する)であり、このROM9はデータパリテイチ
エツクルーチン、データフオーマツトチエツクル
ーチン、読取りデータ記憶動作モードルーチン、
RAMデータ出力動作モードルーチン、読取りデ
ータ直接出力動作モードルーチン、及びメインル
ーチン等の諸ルーチンからなる制御プログラムが
予じめ記憶されている。10は、ランダムアクセ
スメモリー(以下RAMと略称する)であり、こ
のRAM10は、上記読取りデータ記憶動作モー
ドルーチンの実行により、読取り器7からの読取
りデータを各データブロツク毎に記憶する。11
は、バツテリーであり、これはRAM10の記憶
データが電源した断後も持続して記憶されるよう
に電源供給するものである。
Next, details of the check memory 4 will be described with reference to FIG. That is, 7 is an input/output circuit (hereinafter abbreviated as I/O) that exchanges data between the reader 3, the main body 5, and the console device 6. This I/O 7 gives a tape start command and a tape stop command to the reader 3, and also takes in read data. Also this I/O7
sends output data as numerical control data to the main body 5 for each data block, and also receives a request signal from the main body 5. Furthermore, this I/O 7 provides display data to the console device 6 and also takes in operation commands associated with switch operations. 8 is a central processing unit (hereinafter abbreviated as CPU) that performs predetermined processing and arithmetic control on various data from the I/O 7 using a control program to be described later. Consists of computer elements, etc.
9 is a read-only memory (hereinafter abbreviated as ROM), and this ROM 9 has data parity check routine, data format check routine, read data storage operation mode routine,
A control program consisting of various routines such as a RAM data output operation mode routine, a read data direct output operation mode routine, and a main routine is stored in advance. 10 is a random access memory (hereinafter abbreviated as RAM), and this RAM 10 stores read data from the reader 7 for each data block by executing the read data storage operation mode routine. 11
is a battery, which supplies power so that the data stored in the RAM 10 can be continuously stored even after the power is turned off.

次に上記の如く構成された本実施例の動作につ
いて第4図に示す流れ図を参照して説明する。こ
の動作の流れは、ROM9内の制御プログラムに
基づき、コンソール装置6の操作スイツチの操作
により起動し、CPU8内で処理される。
Next, the operation of this embodiment configured as described above will be explained with reference to the flowchart shown in FIG. The flow of this operation is started by operating the operation switch of the console device 6 based on the control program in the ROM 9, and is processed in the CPU 8.

第4図において、本体5のオンスイツチを操作
するとステツプP1で、このフローは動作する。
In FIG. 4, when the on switch of the main body 5 is operated, this flow starts at step P1.

先づ、読取りデータ記憶動作モード(以下デー
タ記憶モードと略称する)について述べる。コン
ソール装置6のデータ記憶モードスイツチを操作
すると、ステツプP2でデータ記憶モードである
と判定され、結合子aを経てステツプQ1により
I/O7を介して読取り器3にテープスタート指
令を与える。このテープスタート指令により読取
り器3はテープを走らせ、ステツプQ3でデータ
終了を示すコードを見出さない時は、ステツプQ
3でテープに盛込まれた数値制御データの1つの
データブロツクを読取る。この読取りデータに対
し、ステツプX1でパリテイチエツクルーチンを
呼び出してパリテイチエツクを行ない、ステツプ
X2でデータフオーマツトルーチンを呼び出し
て、フオーマツトチエツクを行ない、ステツプQ
4で上記チエツクにて正常であると判定される
と、ステツプQ5で読取り器3に対しテープスト
ツプ指令を与え、読取り器3を停止させ、ステツ
プQ5で、上記1つのデータブロツクの読取りデ
ータをRAM10に記憶する。そして再び結合子
aに戻つて、上記と同様の動作を行なう。上記に
おいて、ステツプQ2でデータ終了を示すコード
を見出すと、このデータ記憶モードの動作は、ス
テツプQ7で終了となり、コンソール装置6に対
し終了を示す表示データを与えその表示器にその
旨表示する。またステツプQ4で、チエツクの結
果、異常が検出されると、ステツプQ8で、動作
停止を行なうと共にコンソール装置6に対して、
異常を示す表示データを与え、コンソール装置6
の表示器に、その旨表示する。
First, the read data storage operation mode (hereinafter abbreviated as data storage mode) will be described. When the data storage mode switch of the console device 6 is operated, it is determined that the data storage mode is selected at step P2, and a tape start command is given to the reader 3 via the connector a and the I/O 7 at step Q1. This tape start command causes the reader 3 to run the tape, and if it does not find a code indicating the end of data at step Q3, it advances to step Q3.
3 reads one data block of numerical control data included on the tape. For this read data, a parity check routine is called in step X1 to perform a parity check, a data format routine is called in step X2 to perform a format check, and step Q
If it is determined in step 4 that the tape is normal in the above check, a tape stop command is given to the reader 3 in step Q5 to stop the reader 3, and in step Q5, the read data of the one data block is stored in the RAM 10. Remember. Then, return to connector a again and perform the same operation as above. In the above, when a code indicating the end of data is found in step Q2, the operation in this data storage mode is ended in step Q7, and display data indicating the end is given to the console device 6, and the display shows that fact. Further, if an abnormality is detected as a result of the check in step Q4, the operation is stopped and a message is sent to the console device 6 in step Q8.
Provides display data indicating an abnormality, and displays the console device 6.
This will be indicated on the display.

次にRAMデータ出力動作モード(以下データ
出力モードと略称する)について述べる。コンソ
ール装置6のデータ出力モードスイツチを操作す
ると、ステツプP2でデータ出力モードであると
判定され、結合子bを経てステツプR1へ進む。
このステツプR1では本体5からリクエスト信号
が有るか否かを判定し、有の場合は、結合子cを
経てステツプR2にてRAM10内にデータが有
るか否かを判定し、有の場合は、ステツプR3に
て、RAM10内の1つのデータブロツクのデー
タを本体5に転送する。上記ステツプR1にて、
本体5からリクエスト信号が無と判定されると、
コンソール装置6に、以前に本体5に転送したデ
ータを表示させつつ結合子bへ戻り、リクエスト
信号待ちとなる。またステツプR2にてRAM1
0内にデータが無と判定されると、コンソール装
置6に、終了を示す表示データを与え、その旨表
示して、ステツプR4で終りとなる。
Next, the RAM data output operation mode (hereinafter abbreviated as data output mode) will be described. When the data output mode switch of the console device 6 is operated, it is determined in step P2 that the mode is data output mode, and the process proceeds to step R1 via connector b.
In this step R1, it is determined whether or not there is a request signal from the main body 5, and if there is, it is determined whether or not there is data in the RAM 10 via the connector c in step R2. At step R3, data in one data block in the RAM 10 is transferred to the main body 5. In step R1 above,
When it is determined that there is no request signal from the main body 5,
While displaying the data previously transferred to the main body 5 on the console device 6, the process returns to the connector b and waits for a request signal. Also, in step R2, RAM1
If it is determined that there is no data within 0, display data indicating the end is given to the console device 6, a display to that effect is given, and the process ends at step R4.

次に読取りデータ直接出力動作モード(以下デ
ータ直接出力モードと略称する)について述べ
る。コンソール装置6のデータ直接出力モードス
イツチを操作すると、ステツプP2でデータ直接
出力モードであると判定され、結合子dを経てス
テツプS1へ進む。このステツプS1では、本体
5からリクエスト信号が有るか否かを判定し、有
の場合はステツプS2にてI/O7を介して読取
り器3にテープスタート指令を与える。このテー
プスタート指令により読取り器3はテープを走ら
せ、ステツプS3でデータ終了を示すコードを見
出さない時は、ステツプS4でテープに盛込まれ
た数値制御データの1つのデータブロツクを読取
る。この読取りデータに対し、ステツプX1でパ
リテイチエツクルーチンを呼び出してパリテイチ
エツクを行ない、ステツプX2でデータフオーマ
ツトルーチンを呼び出して、フオーマツトチエツ
クを行ない、ステツプS5で上記チエツクにて正
常であると判定されると、ステツプS6で読取り
器3に対しテープストツプ指令を与え、読取り器
3を停止させ、ステツプS7で、上記1つのデー
タブロツクの読取りデータを本体5に転送する。
そして再び結合子dに戻つて上記と同様の動作を
行なう。上記ステツプS1にて本体5からリクエ
スト信号が無と判定されると、コンソール装置6
に、以前に本体5に転送したデータを表示させつ
つ結合子dに戻り、リクエスト信号待ちとなる。
Next, the read data direct output operation mode (hereinafter abbreviated as data direct output mode) will be described. When the data direct output mode switch of the console device 6 is operated, it is determined in step P2 that the data direct output mode is set, and the process proceeds to step S1 via connector d. In this step S1, it is determined whether or not there is a request signal from the main body 5. If there is, a tape start command is given to the reader 3 via the I/O 7 in step S2. The reader 3 runs the tape in response to this tape start command, and when it does not find a code indicating the end of data in step S3, it reads one data block of numerical control data written on the tape in step S4. For this read data, a parity check routine is called in step X1 to perform a parity check, a data format routine is called in step X2 to perform a format check, and in step S5, if the above check is normal, If it is determined, a tape stop command is given to the reader 3 in step S6 to stop the reader 3, and the read data of the one data block is transferred to the main body 5 in step S7.
Then, the process returns to the connector d and performs the same operation as above. If it is determined in step S1 that there is no request signal from the main body 5, the console device 6
Then, it returns to the connector d while displaying the data previously transferred to the main body 5, and waits for a request signal.

また、ステツプS3にてデータ終了を示すコー
ドを見出すと、このデータ直接出力モードの動作
はステツプS8で終了となり、コンソール装置6
に対し終了を示す表示データを与え、その表示器
にその旨表示する。またステツプS5で、チエツ
クの結果、異常が検出されると、ステツプS9で
動作停止を行なうと共にコンソール装置6に対し
て異常を示す表示データを与え、コンソール装置
6の表示器に、その旨表示する。
Further, if a code indicating the end of data is found in step S3, the operation in this data direct output mode is ended in step S8, and the console device 6
The display data indicating the end is given to the terminal, and the display shows this on the display. If an abnormality is detected as a result of the check in step S5, the operation is stopped in step S9, and display data indicating the abnormality is provided to the console device 6, and the display of the console device 6 displays the fact. .

上述したように本実施例によれば、従来は本体
5に持たせていたチエツク機能及びデータ機能
を、読取り装置側に持つようにチエツク・記憶器
4を付加した構成としたので、記憶媒体を紙テー
プから磁気テープ等に変更し、その読取り器3も
変更した場合、コード或いはフオーマツトを変更
した場合等にあつても、本体5の仕様は変更しな
くとも、その変更に伴う機能は、チエツク・記憶
器4でカバーすることが出来、システム全体に負
担を与えることはなくなる。
As described above, according to this embodiment, the check/memory device 4 is added so that the check function and data function, which were conventionally provided in the main body 5, are provided on the reading device side, so that the storage medium can be Even if you change from paper tape to magnetic tape, etc., and change the reader 3, or change the code or format, the functions associated with the change will be checked, even if the specifications of the main body 5 do not change. This can be covered by the storage device 4, and there is no burden on the entire system.

本発明は上記実施例に限定されるものではな
く、ROM9内の制御プログラムの内容は種々変
形して実施可能であり、本実施例以外のデータチ
エツクモード等のルーチンを付加してもよい。ま
た、第4図においては、各モードの終了の代わり
に、連続して他のモードの始まりのステツプに移
行するようにしてもよい。更に本実施例のように
読取り器3とチエツク・記憶器4とを単体にて構
成する以外に、コンソール装置6をも付加した構
成の読取り装置としてもよい。また、チエツク機
能を持たない数値制御装置に対しては、本実施例
のチエツク、記憶器4を装備すれば、上記数値制
御装置の改造を行なわずに、チエツク機能を持た
せることが可能となる。この他に本発明の要旨を
逸脱しない範囲で種々変形して実施できる。
The present invention is not limited to the above-described embodiment, and the contents of the control program in the ROM 9 can be modified in various ways, and routines such as data check mode other than the present embodiment may be added. In addition, in FIG. 4, instead of ending each mode, it may be possible to continuously move to the step at the beginning of another mode. Furthermore, instead of configuring the reader 3 and check/storage unit 4 as a single unit as in this embodiment, the reader may also include a console device 6. Furthermore, if a numerical control device that does not have a check function is equipped with the check and memory device 4 of this embodiment, it becomes possible to provide a check function without modifying the numerical control device. . In addition, various modifications can be made without departing from the gist of the present invention.

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

以上述べたように本発明による読取り装置は、
数値制御装置本体を動作させる数値制御データを
記憶媒体から読取る読取り器と、 この読取り器に付設されるものであつて、信号
処理部及び記憶部を有するチエツク・記憶器と、 このチエツク・記憶器に接続され、前記読取り
器及び前記チエツク・記憶器に対して動作指令を
与えるコンソール装置とから構成されてなり、 前記チエツク・記憶器の前記信号処理部は、前
記コンソール装置からの指令により選択されて動
作する読取りデータ記憶手段、記憶データ出力手
段及び読取りデータ直接出力手段を有し、 前記読取りデータ記憶手段は、前記記憶媒体か
ら前記数値制御データを読取るための動作を前記
読取り器に対して指令する手段と、前記読取り器
により読取られた数値制御データを当該チエツ
ク・記憶器に取込む動作を行う手段と、前記取込
まれた数値制御データのパリテイチエツクを行う
手段と、前記取込まれた数値制御データのフオー
マツトチエツクを行う手段と、前記パリテイチエ
ツク及び前記フオーマツトチエツクにより前記数
値制御データが正常であると判断されたとき前記
数値制御データを前記チエツク・記憶器の前記記
憶部に記憶し、異常であると判断されたとき当該
読取りデータ記憶手段の動作を停止する手段とか
ら構成され、 前記記憶データ出力手段は、前記数値制御装置
本体からリクエスト信号が有るか否かを判定する
手段と、この手段により前記数値制御装置本体か
らリクエスト信号が有ると判断されたとき前記チ
エツク・記憶器の前記記憶部にデータが記憶され
ているか否かをチエツクする手段と、この手段に
より前記記憶部にデータが記憶されていると判断
されたとき当該記憶部に記憶されている数値制御
データを前記数値制御装置本体に転送する手段と
から構成され、 前記読取りデータ直接出力手段は、前記数値制
御装置本体からリクエスト信号が有るか否かを判
定する手段と、この手段により前記数値制御装置
本体からリクエスト信号が有ると判断されたとき
前記記憶媒体から前記数値制御データを読取るた
めの動作を前記読取り器に対して指令する手段
と、前記読取り器により読取られた数値制御デー
タを当該チエツク・記憶器に取込む動作を行う手
段と、前記取込まれた数値制御データのパリテイ
チエツクを行う手段と、前記取込まれた数値制御
データのフオーマツトチエツクを行う手段と、前
記パリテイチエツク及び前記フオーマツトチエツ
クにより前記数値制御データが正常であると判断
されたとき前記数値制御データを前記数値制御装
置本体に転送し、異常であると判断されたとき当
該読取りデータ直接出力手段の動作を停止する手
段とから構成したので、 上記数値制御装置本体の負担低減を図ることが
可能なる共に使い勝手が良い読取り装置を提供で
きるものである。
As described above, the reading device according to the present invention has
A reader that reads numerical control data for operating a numerical control device main body from a storage medium; A check/memory device attached to this reader and having a signal processing section and a storage section; This check/memory device and a console device connected to the reader and the check/storage device to issue operational commands to the reader and the check/storage device, and the signal processing section of the check/storage device is selected by the command from the console device. The read data storage means has a read data storage means, a stored data output means, and a read data direct output means that operate, and the read data storage means instructs the reader to perform an operation for reading the numerical control data from the storage medium. means for reading the numerical control data read by the reader into the check/storage device; means for parity checking the numerical control data read by the reader; means for format-checking the numerical control data that has been checked; and when it is determined that the numerical control data is normal through the parity check and the format check, the numerical control data is stored in the storage section of the check/memory device; and means to stop the operation of the read data storage means when it is determined that there is an abnormality, and the stored data output means determines whether or not there is a request signal from the numerical control device main body. means for checking whether or not data is stored in the storage section of the check/memory device when it is determined by this means that there is a request signal from the main body of the numerical control device; means for transferring the numerical control data stored in the storage section to the main body of the numerical control device when it is determined that data is stored in the storage section; means for determining whether or not there is a request signal from the control device main body; and an operation for reading the numerical control data from the storage medium when the means determines that there is a request signal from the numerical control device main body. means for instructing a reader; means for loading the numerical control data read by the reader into the check/storage device; and means for parity checking the loaded numerical control data. and means for performing a format check on the imported numerical control data, and when it is determined that the numerical control data is normal through the parity check and the format check, the numerical control data is converted into the numerical control data. Since the read data is transferred to the main unit of the apparatus and a means for stopping the operation of the direct output means when it is determined that there is an abnormality, it is possible to reduce the burden on the main body of the numerical control apparatus, and it is easy to use. A reading device can be provided.

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

第1図は従来の読取り装置を数値制御装置本体
との関係で示すブロツク図、第2図は本発明によ
る読取り装置の一実施例を数値制御装置本体との
関係で示すブロツク図、第3図は第2図における
チエツク・記憶器の詳細を示すブロツク図、第4
図は同実施例の動作を示す流れ図である。 3……読取り器、4……チエツク・記憶器、5
……数値制御装置本体(本体)、6……コンソー
ル装置、7……入出力回路(I/O)、8……中
央処理装置(CPU)、9……リードオンメモリー
(ROM)、10……ランダムアクセスメモリー
(RAM)、11……バツテリー。
FIG. 1 is a block diagram showing a conventional reading device in relation to the numerical control device main body, FIG. 2 is a block diagram showing an embodiment of the reading device according to the present invention in relation to the numerical control device main body, and FIG. 3 is a block diagram showing details of the check/memory device in FIG. 2, and FIG.
The figure is a flowchart showing the operation of the same embodiment. 3...Reader, 4...Check/memory device, 5
... Numerical control device main body (main body), 6 ... Console device, 7 ... Input/output circuit (I/O), 8 ... Central processing unit (CPU), 9 ... Read-on memory (ROM), 10 ... ...Random access memory (RAM), 11...Battery.

Claims (1)

【特許請求の範囲】 1 数値制御装置本体を動作させる数値制御デー
タを記憶媒体から読取る読取り器と、 この読取り器に付設されるものであつて、信号
処理部及び記憶部を有するチエツク・記憶器と、 このチエツク・記憶器に接続され、前記読取り
器及び前記チエツク・記憶器に対して動作指令を
与えるコンソール装置とから構成されてなり、 前記チエツク・記憶器の前記信号処理部は、前
記コンソール装置からの指令により選択されて動
作する読取りデータ記憶手段、記憶データ出力手
段及び読取りデータ直接出力手段を有し、 前記読取りデータ記憶手段は、前記記憶媒体か
ら前記数値制御データを読取るための動作を前記
読取り器に対して指令する手段と、前記読取り器
により読取られた数値制御データを当該チエツ
ク・記憶器に取込む動作を行う手段と、前記取込
まれた数値制御データのパリテイチエツクを行う
手段と、前記取込まれた数値制御データのフオー
マツトチエツクを行う手段と、前記パリテイチエ
ツク及び前記フオーマツトチエツクにより前記数
値制御データが正常であると判断されたとき前記
数値制御データを前記チエツク・記憶器の前記記
憶部に記憶し、異常であると判断されたとき当該
読取りデータ記憶手段の動作を停止する手段とか
ら構成され、 前記記憶データ出力手段は、前記数値制御装置
本体からリクエスト信号が有るか否かを判定する
手段と、この手段により前記数値制御装置本体か
らリクエスト信号が有ると判断されたとき前記チ
エツク・記憶器の前記記憶部にデータが記憶され
ているか否かをチエツクする手段と、この手段に
より前記記憶部にデータが記憶されていると判断
されたとき当該記憶部に記憶されている数値制御
データを前記数値制御装置本体に転送する手段と
から構成され、 前記読取りデータ直接出力手段は、前記数値制
御装置本体からリクエスト信号が有るか否かを判
定する手段と、この手段により前記数値制御装置
本体からリクエスト信号が有ると判断されたとき
前記記憶媒体から前記数値制御データを読取るた
めの動作を前記読取り器に対して指令する手段
と、前記読取り器により読取られた数値制御デー
タを当該チエツク・記憶器に取込む動作を行う手
段と、前記取込まれた数値制御データのパリテイ
チエツクを行う手段と、前記取込まれた数値制御
データのフオーマツトチエツクを行う手段と、前
記パリテイチエツク及び前記フオーマツトチエツ
クにより前記数値制御データが正常であると判断
されたとき前記数値制御データを前記数値制御装
置本体に転送し、異常であると判断されたとき当
該読取りデータ直接出力手段の動作を停止する手
段とから構成され、 てなることを特徴とする読取り装置。
[Scope of Claims] 1. A reader that reads numerical control data for operating the main body of a numerical control device from a storage medium, and a check/storage device attached to this reader that has a signal processing section and a storage section. and a console device connected to the check/storage device and giving operational commands to the reader and the check/storage device, and the signal processing section of the check/storage device is connected to the console. It has a read data storage means, a stored data output means, and a read data direct output means that are selected and operated according to a command from the device, and the read data storage means performs an operation for reading the numerical control data from the storage medium. means for instructing the reader; means for importing the numerical control data read by the reader into the check/storage unit; and performing a parity check on the numerical control data read by the reader. means for performing a format check on the numerical control data taken in; and means for performing a format check on the numerical control data when the numerical control data is determined to be normal by the parity check and the format check. - A means for storing the read data in the storage section of the storage device and stopping the operation of the read data storage means when it is determined that there is an abnormality, and the storage data output means receives a request signal from the numerical control device main body. means for determining whether there is a request signal from the numerical control device main body, and checking whether data is stored in the storage section of the check/memory device when it is determined by this means that there is a request signal from the numerical control device main body. and means for transferring the numerical control data stored in the storage section to the main body of the numerical control device when it is determined by the means that data is stored in the storage section, and the read data The direct output means includes means for determining whether or not there is a request signal from the numerical control device main body, and when it is determined by this means that there is a request signal from the numerical control device main body, the direct output means outputs the numerical control data from the storage medium. means for instructing the reader to perform an operation to read the data; means for importing the numerical control data read by the reader into the check/storage device; and the retrieved numerical control data. means for performing a parity check on the numerical control data; means for performing a format check on the imported numerical control data; A reading device comprising means for transferring numerical control data to the numerical control device main body and stopping the operation of the read data direct output means when it is determined that there is an abnormality.
JP58159939A 1983-08-31 1983-08-31 Read device Granted JPS6051909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58159939A JPS6051909A (en) 1983-08-31 1983-08-31 Read device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58159939A JPS6051909A (en) 1983-08-31 1983-08-31 Read device

Publications (2)

Publication Number Publication Date
JPS6051909A JPS6051909A (en) 1985-03-23
JPH0452481B2 true JPH0452481B2 (en) 1992-08-24

Family

ID=15704457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58159939A Granted JPS6051909A (en) 1983-08-31 1983-08-31 Read device

Country Status (1)

Country Link
JP (1) JPS6051909A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59211106A (en) * 1983-05-17 1984-11-29 Fanuc Ltd Input and output device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4973337U (en) * 1972-10-12 1974-06-25

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59211106A (en) * 1983-05-17 1984-11-29 Fanuc Ltd Input and output device

Also Published As

Publication number Publication date
JPS6051909A (en) 1985-03-23

Similar Documents

Publication Publication Date Title
US4807186A (en) Data terminal with capability of checking memory storage capacity as well as program execution parameters
US4731748A (en) Pocket computer with means for checking the detachable memory module before and after power interruption
JPH0452481B2 (en)
JPS6116104B2 (en)
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JP2727717B2 (en) Programmable controller system
JPS61169963A (en) Pos system
JPH0887406A (en) Program display device
JP3131918B2 (en) Memory device
JP2587046B2 (en) Electronic equipment
JPH0241189Y2 (en)
JPS63256297A (en) Control data setter for press device
JPS60160447A (en) Programmable controller
JPH0128413B2 (en)
JP3399709B2 (en) Data extraction method in programmable controller and programmable controller
JPH02149451U (en)
JPS642180Y2 (en)
JPH02304688A (en) Terminal controller
JPH0510698B2 (en)
JPH048836B2 (en)
JPH01102643A (en) Data processing system
JPH04107166A (en) Printing apparatus
JPS62251832A (en) Raising system for electronic apparatus
JPH0296853A (en) System for checking holding main storage capacity
JPS63195784A (en) Processor for portable memory medium

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees