JPH1078812A - Method for transferring data and device for controlling data transfer - Google Patents

Method for transferring data and device for controlling data transfer

Info

Publication number
JPH1078812A
JPH1078812A JP23528896A JP23528896A JPH1078812A JP H1078812 A JPH1078812 A JP H1078812A JP 23528896 A JP23528896 A JP 23528896A JP 23528896 A JP23528896 A JP 23528896A JP H1078812 A JPH1078812 A JP H1078812A
Authority
JP
Japan
Prior art keywords
data
controller
transfer
written
computer
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
JP23528896A
Other languages
Japanese (ja)
Inventor
Kenji Hara
憲二 原
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP23528896A priority Critical patent/JPH1078812A/en
Publication of JPH1078812A publication Critical patent/JPH1078812A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To read data transferred from a computer by a controller without executing an operation from the outside by an operator. SOLUTION: When data prepared by a computer 10 are written in an IC card 20, a command relating to control in a controller 30 being the destination of transfer of data is written in the leading part of the data, and the command and the data are transferred to the controller 30 by using the IC card 20. Then, the data are read according to the command written in the IC card 20, and numerical control is executed according to the read data in the controller 30.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータ内に
格納された数値制御のためのデータを簡易モーションコ
ントローラやロボットコントローラへ転送するデータ転
送方法及びデータ転送制御装置に関する。
The present invention relates to a data transfer method and a data transfer control device for transferring data for numerical control stored in a computer to a simple motion controller or a robot controller.

【0002】[0002]

【従来の技術】従来より、数値制御のためのデータ転送
においては、コンピュータ内において作成された数値制
御に関するデータが転送媒体に書き込まれ、その後、コ
ントローラにおいて外部からの操作によって転送媒体に
書き込まれたデータが読み出されて数値制御が行われる
というように、データの転送が行われている。図2は、
従来の数値制御のためのデータ転送を行うデータ転送制
御装置の一構成例を示すブロック図である。本従来例は
図2に示すように、数値制御のためのデータを作成し、
作成されたデータを内部に設けられたメモリ(不図示)
に格納するコンピュータ110と、コンピュータ110
内においてメモリに格納されているデータが書き込まれ
る転送媒体120と、転送媒体120に書き込まれたデ
ータを読み出し、読み出されたデータを内部に設けられ
たメモリ(不図示)に格納するとともに、読み出された
データにしたがって数値制御を行うコントローラ130
と、外部からの操作によりコントローラ130において
転送媒体120に書き込まれたデータを読み出し、実行
させる操作部140とから構成されている。
2. Description of the Related Art Conventionally, in data transfer for numerical control, data relating to numerical control created in a computer has been written to a transfer medium and then written to the transfer medium by an external operation in a controller. Data transfer is performed such that data is read and numerical control is performed. FIG.
FIG. 10 is a block diagram illustrating a configuration example of a conventional data transfer control device that performs data transfer for numerical control. In this conventional example, as shown in FIG. 2, data for numerical control is created,
A memory (not shown) in which created data is provided.
Computer 110 to be stored in
A transfer medium 120 in which data stored in a memory is written, and data written in the transfer medium 120 are read, and the read data is stored in a memory (not shown) provided therein. Controller 130 that performs numerical control according to the output data
And an operation unit 140 for reading and executing data written in the transfer medium 120 by the controller 130 by an external operation.

【0003】以下に、上記のように構成されたデータ転
送制御装置におけるデータ転送動作について説明する。
まず、コンピュータ110内において、数値制御に関す
るデータが作成され、メモリに格納される。そこで、転
送媒体120がコンピュータ110に挿入されると、メ
モリに格納されているデータが転送媒体120に書き込
まれる。その後、データが書き込まれた転送媒体120
がコントローラ130に挿入され、かつ、操作部140
に対して外部から操作(例えば、編集操作モードに設定
する)が行われると、コントローラ130において、転
送媒体120に書き込まれたデータが読み出され、読み
出されたデータがコントローラ130内に設けられたメ
モリに格納されるとともに、読み出されたデータにした
がって数値制御が行われる。
Hereinafter, a data transfer operation in the data transfer control device configured as described above will be described.
First, data related to numerical control is created in the computer 110 and stored in the memory. Therefore, when the transfer medium 120 is inserted into the computer 110, the data stored in the memory is written to the transfer medium 120. Thereafter, the transfer medium 120 on which the data has been written
Is inserted into the controller 130 and the operation unit 140
When an external operation (for example, setting to the editing operation mode) is performed on the data, the controller 130 reads out the data written in the transfer medium 120, and the read data is provided in the controller 130. Numerical control is performed according to the read data while being stored in the memory.

【0004】ここで、転送媒体120においては、従
来、紙テープが主に使用され、PTR(フォトテープリ
ーダー)を用いて、紙テープに書き込まれたデータが読
み出されていた。しかし、近年においては、PCMCI
AがICカードやLANカード等に広く展開されてお
り、コンピュータ130のシリアルポートを用いてデー
タのロード及びセーブが行われている。
Here, in the transfer medium 120, a paper tape has been mainly used, and data written on the paper tape has been read using a PTR (Photo Tape Reader). However, in recent years, PCMCI
A is widely deployed in IC cards, LAN cards, and the like, and data is loaded and saved using a serial port of the computer 130.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
たような従来のデータ転送制御装置においては、コント
ローラにおけるデータの処理が、操作部に対する外部か
らの操作によって行われているため、データ転送におけ
る操作が煩雑となり、オペレータにおいて特殊な技能が
必要となってしまう。また、操作部に対してオペレータ
が操作を行う際にヒューマンエラーが発生してしまう虞
れがある。本発明は、上述したような従来の技術が有す
る問題点に鑑みてなされたものであって、オペレータに
よる外部からの操作を行うことなく、コントローラにお
いてコンピュータから転送されたデータを読み出すこと
ができるデータ転送方法及びデータ転送制御装置を提供
することを目的とする。
However, in the conventional data transfer control device as described above, the data processing in the controller is performed by an external operation on the operation unit, so that the operation in the data transfer is not performed. It becomes complicated, and special skills are required for the operator. Further, there is a possibility that a human error may occur when the operator operates the operation unit. The present invention has been made in view of the above-mentioned problems of the related art, and has a controller capable of reading data transferred from a computer without performing an external operation by an operator. It is an object to provide a transfer method and a data transfer control device.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明は、数値制御を行うためのデータをコンピュー
タ内において作成し、前記データを前記データにしたが
って数値制御を行うコントローラに転送媒体を用いて転
送するデータ転送方法であって、前記コンピュータにお
いて、前記転送媒体に対して前記データを書き込むとと
もに前記データの先頭部分に前記コンピュータ内におけ
る制御に関するコマンドを書き込み、前記コントローラ
において、前記コマンドにしたがって前記データを読み
出すことを特徴とする。
In order to achieve the above object, the present invention provides a method for generating data for performing numerical control in a computer and transferring the data to a controller for performing numerical control in accordance with the data. A data transfer method for transferring using the computer, wherein the computer writes the data to the transfer medium and writes a command related to control in the computer at a head portion of the data, and the controller, in accordance with the command, The data is read.

【0007】また、前記転送媒体は、ICカードである
ことを特徴とする。また、数値制御を行うためのデータ
を作成するコンピュータと、該コンピュータにおいて作
成されたデータが書き込まれる転送媒体と、該転送媒体
に書き込まれたデータを読み出し、読み出されたデータ
にしたがって数値制御を行うコントローラとを有してな
るデータ転送制御装置において、前記コンピュータは、
前記転送媒体に対して前記データを書き込むとともに前
記データの先頭部分に前記コンピュータ内における制御
に関するコマンドを書き込み、前記コントローラは、前
記コマンドにしたがって前記データを読み出すことを特
徴とする。
Further, the transfer medium is an IC card. Further, a computer for creating data for performing numerical control, a transfer medium on which the data created by the computer is written, and data read from the transfer medium are read, and numerical control is performed in accordance with the read data. A data transfer control device having a controller that performs
The data is written to the transfer medium, and a command related to control in the computer is written at the head of the data, and the controller reads the data according to the command.

【0008】また、前記コントローラは、前記転送媒体
が挿入されているか否かの判断を行う判断手段を有する
ことを特徴とする。また、前記判断手段は、前記コント
ローラ内に設けられた、通常別の用途に使用されている
スイッチが操作されることにより動作することを特徴と
する。また、前記コントローラは、前記判断手段におい
て前記転送媒体が挿入されていると判断された場合に、
前記コマンドを読み出すことを特徴とする。また、前記
転送媒体は、ICカードであることを特徴とする。 (作用)上記のように構成された本発明においては、コ
ンピュータにおいて作成されたデータが転送媒体に書き
込まれる際に、データの先頭部分に、データの転送先で
あるコントローラにおける制御に関するコマンドが書き
込まれ、コマンド及びデータが転送媒体を用いてコント
ローラに転送される。そして、コントローラにおいて、
転送媒体に書き込まれたコマンドにしたがってデータが
読み出され、その後、読み出されたデータにしたがって
数値制御が行われる。
[0008] The controller is characterized in that it has a judging means for judging whether or not the transfer medium is inserted. Further, the determination means is operated by operating a switch provided in the controller and usually used for another purpose. Further, the controller, when the determination unit determines that the transfer medium is inserted,
Reading the command. Further, the transfer medium is an IC card. (Operation) In the present invention configured as described above, when data created by the computer is written to the transfer medium, a command related to control in the controller to which the data is transferred is written at the head of the data. , Commands and data are transferred to the controller using the transfer medium. And in the controller,
Data is read in accordance with the command written in the transfer medium, and thereafter, numerical control is performed in accordance with the read data.

【0009】このように、コントローラにおけるデータ
の読み出しが転送媒体に書き込まれたコマンドが読み出
されることによって行われるので、コンピュータから転
送されたデータを読み出す際に、外部からの操作を行う
必要がない。
As described above, since the data is read by the controller by reading the command written in the transfer medium, there is no need to perform an external operation when reading the data transferred from the computer.

【0010】[0010]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて図面を参照して説明する。図1は、本発明の数値制
御のためのデータ転送を行うデータ転送制御装置の実施
の一形態を示すブロック図である。本形態は図1に示す
ように、数値制御のためのデータを作成し、作成された
データを内部に設けられたメモリ(不図示)に格納する
コンピュータ10と、コンピュータ10内においてメモ
リに格納されているデータが書き込まれる転送媒体であ
るICカード20と、ICカード20に書き込まれたデ
ータを読み出し、読み出されたデータを内部に設けられ
たメモリ(不図示)に格納するとともに、読み出された
データにしたがって数値制御を行うコントローラ30と
から構成されている。なお、ICカード20において
は、転送されるデータとともに、該データの先頭部分に
コントローラ30における制御に関するコマンドが書き
込まれている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a data transfer control device for performing data transfer for numerical control according to the present invention. In this embodiment, as shown in FIG. 1, a computer 10 that creates data for numerical control and stores the created data in a memory (not shown) provided therein, The IC card 20, which is a transfer medium on which the data is written, and the data written on the IC card 20 are read, and the read data is stored in a memory (not shown) provided therein, and is read. And a controller 30 that performs numerical control according to the data. In the IC card 20, a command relating to control by the controller 30 is written at the head of the data along with the data to be transferred.

【0011】以下に、上記のように構成されたデータ転
送制御装置におけるデータ転送動作について説明する。
まず、コンピュータ10内において、数値制御に関する
データが作成され、メモリに格納される。そこで、IC
カード20がコンピュータ10に挿入されると、メモリ
に格納されているデータがICカード20に書き込まれ
る。同時に、ICカード20に書き込まれたデータの先
頭部分に、コントローラ30における制御に関するコマ
ンドが書き込まれる。なお、ICカード20に書き込ま
れるコマンドにおいては、「0100のプログラムをロ
ードせよ」等といった、コンピュータ10において、書
き込まれたデータを読み出すためのコマンドや、読み出
されたデータをコントローラ20内のメモリに格納する
ためのコマンドや、プログラムを比較するコンペアー内
部をクリアするためのコマンド等である。
Hereinafter, a data transfer operation in the data transfer control device configured as described above will be described.
First, in the computer 10, data related to numerical control is created and stored in a memory. So, IC
When the card 20 is inserted into the computer 10, the data stored in the memory is written to the IC card 20. At the same time, a command related to control in the controller 30 is written at the head of the data written in the IC card 20. In the command written to the IC card 20, the computer 10 stores a command for reading the written data, such as “load a program of 0100”, or the read data in a memory in the controller 20. These are commands for storing, commands for clearing the inside of a compare for comparing programs, and the like.

【0012】その後、データが書き込まれたICカード
20がコントローラ30に挿入され、かつ、コントロー
ラ30の電源が入れ直されるか、あるいは、コントロー
ラ30において他の用途に使用されているスイッチが操
作されると、コントローラ30において、ICカード2
0に書き込まれたコマンドにしたがってデータが読み出
され、読み出されたデータがコントローラ30内に設け
られたメモリに格納されるとともに、読み出されたデー
タにしたがって数値制御が行われる。ここで、コントロ
ーラ30においては、電源が入れ直されるか、あるい
は、他の用途に使用されているスイッチが操作される際
に、ICカード20が挿入されているかを判断し、IC
カード20が挿入されていると判断した場合に、ICカ
ード20に書き込まれたコマンドを実行する。
Thereafter, the IC card 20 in which the data is written is inserted into the controller 30 and the power of the controller 30 is turned on again, or a switch used for another purpose in the controller 30 is operated. In the controller 30, the IC card 2
Data is read according to the command written to 0, the read data is stored in a memory provided in the controller 30, and numerical control is performed according to the read data. Here, the controller 30 determines whether the IC card 20 is inserted when the power is turned on again or when a switch used for another purpose is operated.
When it is determined that the card 20 is inserted, the command written in the IC card 20 is executed.

【0013】なお、上述した実行結果は、ICカード2
0に書き込まれるものとする。このような方式を採用す
ることによって、作業現場にICカード20を配布し、
その後回収することでデータが確実にコントローラ30
に転送されたことを確認することができるとともに、コ
ントローラ30に対する特別な操作を必要とせずに、デ
ータ転送を行うことができる。
The above-described execution result is stored in the IC card 2
It shall be written to 0. By adopting such a method, the IC card 20 is distributed to the work site,
After that, the data is surely collected by the controller 30.
Can be confirmed, and the data transfer can be performed without requiring a special operation for the controller 30.

【0014】[0014]

【発明の効果】以上説明したように本発明においては、
コンピュータにおいて作成されたデータが転送媒体に書
き込まれる際に、データの先頭部分に、データの転送先
であるコントローラにおける制御に関するコマンドが書
き込まれてコマンド及びデータが転送媒体を用いてコン
トローラに転送され、コントローラにおいて、転送媒体
に書き込まれたコマンドにしたがってデータが読み出さ
れ、その後、読み出されたデータにしたがって数値制御
が行われる構成としたため、外部からの操作を行うこと
なくコントローラにおいてコンピュータから転送された
データを読み出すことができる。それにより、データ転
送における操作が煩雑となることはなく、安価で単純な
データ転送制御装置が提供される。
As described above, in the present invention,
When data created in the computer is written to the transfer medium, at the beginning of the data, a command related to control in the controller to which the data is transferred is written, and the command and data are transferred to the controller using the transfer medium, In the controller, data is read in accordance with the command written in the transfer medium, and thereafter, the numerical control is performed in accordance with the read data. Therefore, the data is transferred from the computer in the controller without performing an external operation. Data can be read. Thereby, the operation in data transfer is not complicated, and an inexpensive and simple data transfer control device is provided.

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

【図1】本発明の数値制御のためのデータ転送を行うデ
ータ転送制御装置の実施の一形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of a data transfer control device for performing data transfer for numerical control according to the present invention.

【図2】従来の数値制御のためのデータ転送を行うデー
タ転送制御装置の一構成例を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a conventional data transfer control device that performs data transfer for numerical control.

【符号の説明】[Explanation of symbols]

10 コンピュータ 20 ICカード 30 コントローラ 10 computer 20 IC card 30 controller

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 数値制御を行うためのデータをコンピュ
ータ内において作成し、前記データを前記データにした
がって数値制御を行うコントローラに転送媒体を用いて
転送するデータ転送方法であって、 前記コンピュータにおいて、前記転送媒体に対して前記
データを書き込むとともに前記データの先頭部分に前記
コンピュータ内における制御に関するコマンドを書き込
み、 前記コントローラにおいて、前記コマンドにしたがって
前記データを読み出すことを特徴とするデータ転送方
法。
1. A data transfer method in which data for performing numerical control is created in a computer, and the data is transferred to a controller that performs numerical control in accordance with the data by using a transfer medium. A data transfer method, wherein the data is written to the transfer medium, a command related to control in the computer is written at a head of the data, and the controller reads the data in accordance with the command.
【請求項2】 請求項1に記載のデータ転送方法におい
て、 前記転送媒体は、ICカードであることを特徴とするデ
ータ転送方法。
2. The data transfer method according to claim 1, wherein the transfer medium is an IC card.
【請求項3】 数値制御を行うためのデータを作成する
コンピュータと、 該コンピュータにおいて作成されたデータが書き込まれ
る転送媒体と、 該転送媒体に書き込まれたデータを読み出し、読み出さ
れたデータにしたがって数値制御を行うコントローラと
を有してなるデータ転送制御装置において、 前記コンピュータは、前記転送媒体に対して前記データ
を書き込むとともに前記データの先頭部分に前記コンピ
ュータ内における制御に関するコマンドを書き込み、 前記コントローラは、前記コマンドにしたがって前記デ
ータを読み出すことを特徴とするデータ転送制御装置。
3. A computer for creating data for performing numerical control, a transfer medium on which the data created by the computer is written, reading data written on the transfer medium, and reading the data according to the read data. A data transfer control device having a controller that performs numerical control, wherein the computer writes the data on the transfer medium and writes a command related to control in the computer at a leading portion of the data; Is a data transfer control device for reading the data in accordance with the command.
【請求項4】 請求項3に記載のデータ転送制御装置に
おいて、 前記コントローラは、前記転送媒体が挿入されているか
否かの判断を行う判断手段を有することを特徴とするデ
ータ転送制御装置。
4. The data transfer control device according to claim 3, wherein the controller has a determination unit for determining whether or not the transfer medium is inserted.
【請求項5】 請求項4に記載のデータ転送制御装置に
おいて、 前記判断手段は、前記コントローラ内に設けられた、通
常別の用途に使用されているスイッチが操作されること
により動作することを特徴とするデータ転送制御装置。
5. The data transfer control device according to claim 4, wherein the determining means operates by operating a switch provided in the controller and usually used for another purpose. Characteristic data transfer control device.
【請求項6】 請求項4または請求項5に記載のデータ
転送制御装置において、 前記コントローラは、前記判断手段において前記転送媒
体が挿入されていると判断された場合に、前記コマンド
を読み出すことを特徴とするデータ転送制御装置。
6. The data transfer control device according to claim 4, wherein the controller reads out the command when the determination unit determines that the transfer medium is inserted. Characteristic data transfer control device.
【請求項7】 請求項3乃至6のいずれか1項に記載の
データ転送制御装置において、 前記転送媒体は、ICカードであることを特徴とするデ
ータ転送制御装置。
7. The data transfer control device according to claim 3, wherein the transfer medium is an IC card.
JP23528896A 1996-09-05 1996-09-05 Method for transferring data and device for controlling data transfer Pending JPH1078812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23528896A JPH1078812A (en) 1996-09-05 1996-09-05 Method for transferring data and device for controlling data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23528896A JPH1078812A (en) 1996-09-05 1996-09-05 Method for transferring data and device for controlling data transfer

Publications (1)

Publication Number Publication Date
JPH1078812A true JPH1078812A (en) 1998-03-24

Family

ID=16983897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23528896A Pending JPH1078812A (en) 1996-09-05 1996-09-05 Method for transferring data and device for controlling data transfer

Country Status (1)

Country Link
JP (1) JPH1078812A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008125123A (en) * 2008-01-28 2008-05-29 Brother Ind Ltd Information processing apparatus, terminal apparatus and program
WO2009011437A1 (en) * 2007-07-18 2009-01-22 Hirata Corporation Robot system
US7859694B2 (en) 2003-03-28 2010-12-28 Brother Kogyo Kabushiki Kaisha Data processing device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7859694B2 (en) 2003-03-28 2010-12-28 Brother Kogyo Kabushiki Kaisha Data processing device
US7990562B2 (en) 2003-03-28 2011-08-02 Brother Kogyo Kabushiki Kaisha Data processing device
US8149447B2 (en) 2003-03-28 2012-04-03 Brother Kogyo Kabushiki Kaisha Data processing device
US8508779B2 (en) 2003-03-28 2013-08-13 Brother Kogyo Kabushiki Kaisha Data processing device setting one of one or more functions
US9013747B2 (en) 2003-03-28 2015-04-21 Brother Kogyo Kabushiki Kaisha Data processing device
US9225872B2 (en) 2003-03-28 2015-12-29 Brother Kogyo Kabushiki Kaisha Data processing device automatically reading scan instruction data and determining scanning condition by analyzing scan instruction data
WO2009011437A1 (en) * 2007-07-18 2009-01-22 Hirata Corporation Robot system
JP2008125123A (en) * 2008-01-28 2008-05-29 Brother Ind Ltd Information processing apparatus, terminal apparatus and program

Similar Documents

Publication Publication Date Title
US20060155960A1 (en) Programmable controller
JPH1078812A (en) Method for transferring data and device for controlling data transfer
JP2561340B2 (en) Information processing device
JPH02113488A (en) Magnetic bubble memory device
JP2005085023A (en) Information processing system, reader/writer and information processing method
JP2956077B2 (en) Control memory circuit
JPS63209969A (en) Self-diagnostic apparatus of printer
JPH05224729A (en) Numerical controller containing control program changing function
JPH01180620A (en) Disk controller
JPS6324501Y2 (en)
JPS62226309A (en) Write system for rom cassette in programmable machine controller
JPH05216600A (en) Printer
EP0189115A2 (en) Numerical control device
JPS63254538A (en) Program debugging device
JPH02125303A (en) Programmable controller
JPS6237720A (en) Power supply cut-off control system
JPH0682299B2 (en) Program data input / output method in NC device automatic operation mode
JPH0439683B2 (en)
JPH04229302A (en) Control processor
JPS6385913A (en) Automatic power source control system
JPH11312010A (en) Numerical controller
JPS6271073A (en) Disc storage device
JPS62208120A (en) Floppy disk control system for documentation device
JPH054210U (en) Numerical controller with automatic programming system
JPH06149321A (en) Sequence program execution system