JPS61237106A - Data transfer system for numerical controller - Google Patents

Data transfer system for numerical controller

Info

Publication number
JPS61237106A
JPS61237106A JP60079841A JP7984185A JPS61237106A JP S61237106 A JPS61237106 A JP S61237106A JP 60079841 A JP60079841 A JP 60079841A JP 7984185 A JP7984185 A JP 7984185A JP S61237106 A JPS61237106 A JP S61237106A
Authority
JP
Japan
Prior art keywords
data
automatic programming
data transfer
signal
transfer
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
JP60079841A
Other languages
Japanese (ja)
Inventor
Tomi Kuriyama
栗山 十三
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP60079841A priority Critical patent/JPS61237106A/en
Publication of JPS61237106A publication Critical patent/JPS61237106A/en
Pending 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/4093Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PURPOSE:To execute freely a data transfer operation by one worker, by constituting the title system so that the other device is set to a prescribed mode, when a prescribed signal is generated from one device of an automatic programming generating device or a numerical controller. CONSTITUTION:When a prescribed instruction signal is generated to a transmis sion line 3 from one of an automatic programming generating device 1 a numeri cal controller 2, for instance, the device 1, an interruption is applied to a CPU 4' by the device 2. The CPU 4' decodes and discriminates the received instruc tion signal and sets the device 2 to a receiving mode (a transfer mode in case of reverse). Thereafter, a data transfer is executed between the device 1 and the device 2, and in the device 2, one group of data which has been received is described in a RAM 6', and also a data of a working program is transferred successively. When the transfer is ended, the system is prepared for the next data transfer, and becomes a holding state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は工作機械の数値制御装置に関し、特にI!I酪
−/I−1/→毫リゲ赤古尊署シ勃信佃1網尊贋ンめ間
のデータ啄送方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a numerical control device for a machine tool, and in particular to an I! This article relates to a data transmission method between I-1/I-1/→Mail Rege Aka Koson Station and 1 Network Voucher.

〔従来の技術〕[Conventional technology]

通常の数値制御装置(NC装置)はテープリーグを用い
、紙テープにパンチされたNCデータを順次読取って数
値制御している。この方法では、NO加ニブログラムを
パンチした多数の紙テープを保存管理する必要があり、
また加ニブログラムを修正するには紙テープを新たに打
ち直さなければならないので大変であった。さらに、テ
ープパンチャアは機械的な作動をするため無視できない
頻度でパンチングエラーあるいは読取りエラーを発生す
るという問題もあった。このため、NC装置とコンピュ
ータを有する自動プログラミング作成装置とをケーブル
で結び、自動プログラミング作成装置で作成した加ニブ
ログラムを紙テープ等に打ち出すことなく、そのままN
C装置に転送しNO装置内のメモリに一旦記憶させ、逐
次読出して使用する方式が用いられる。この方式では、
静かな環境下の事務所に置かれた自動プログラミング作
成装置でプログラミングを佇い、作成された加ニブログ
ラムを工場内に置かれたN(l置に転送して使用できる
ので好適である。
A normal numerical control device (NC device) uses a tape league to perform numerical control by sequentially reading NC data punched on a paper tape. With this method, it is necessary to store and manage a large number of paper tapes on which NOK Niprograms are punched.
In addition, it was difficult to correct the Canadian program because it required re-tapping a new piece of paper tape. Furthermore, since the tape puncher operates mechanically, there is a problem in that punching errors or reading errors occur with a non-negligible frequency. For this reason, by connecting the NC device and an automatic programming creation device that has a computer with a cable, the computer program created by the automatic programming creation device can be printed directly onto a paper tape, etc.
A method is used in which the information is transferred to the C device, temporarily stored in the memory in the NO device, and read out sequentially for use. In this method,
This is preferable because the programming can be done using an automatic program creation device placed in an office in a quiet environment, and the created cannibal program can be transferred and used in the factory.

プログラミング工数を低減するためには、最初から完全
な加ニブログラムを作成するのではなく、工場現場での
加工状況を見ながら、加工原点を変更したり、補助機能
命令を追加したり、送り速度を変更したりする微修正を
施し、洗練された加ニブログラムとすることが望ましい
、また、事務所側にてNC@置の稼動状況等の管理情報
を得たい 、こともある、このため、NG装置と自動プ
ログラミング作成装置との間で相互にデータを授受でき
るようにし、いずれの側からも自由にデータ転送操作が
できることが望ましい。
In order to reduce programming man-hours, instead of creating a complete machining program from the beginning, you can change the machining origin, add auxiliary function commands, and adjust the feed rate while looking at the machining situation at the factory. It is desirable to make slight modifications such as changes to create a sophisticated Canadian program.Also, the office may want to obtain management information such as the operating status of the NC@ equipment. It is desirable to be able to exchange data between the computer and the automatic programming creation device, and to be able to freely perform data transfer operations from either side.

従来のデータ転送方式においてNC装置と自動プログラ
ミング作成装置との間でデータを転送するためには、ま
ず作業者が自動プログラミング装置をデータ授受が可能
なモードに切替え、次ν1でNC装置側でキー操作を行
し・データ転送処理を行なわなければならなかった。こ
のため、事務所にいる自動プログラミング作成装置側の
作業者と工場にいるNC装置側の作業者とが電話連絡を
取り合って作業する必要があり、大変面倒であるという
問題点があった。
In the conventional data transfer method, in order to transfer data between the NC device and the automatic programming creation device, the operator first switches the automatic programming device to a mode that allows data exchange, and then presses the key on the NC device side using ν1. operations and data transfer processes had to be performed. For this reason, it is necessary for the operator of the automatic programming device in the office and the operator of the NC device in the factory to communicate over the telephone, which is very troublesome.

〔発明が解決しよ)とする問題点〕[Problems that the invention aims to solve]

本発明は、上述の問題点を解消するためなされたもので
あり、NC!Ir!1と自動プログラミング作成装置と
のいずれの側からも、作業者1人で自由にデータ転送操
作をすることがでトる数値制御装置のデータ転送方式を
提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and includes NC! Ir! An object of the present invention is to provide a data transfer method for a numerical control device that allows a single operator to freely perform data transfer operations from both sides of the computer and an automatic programming creation device.

〔問題点を解決するための手段〕[Means for solving problems]

このため本発明に上れば、コンピュータを有する自動プ
ログラミング作成装置とコンピュータを有する数値制御
装置とを伝送ラインで接続し、接続された同装置を共に
上記伝送ラインからの信号゛による外部割込が可能な状
態で待機させておき、いずれか一方の装置から所定信号
が上記伝送ラインに発せられると、他方の!if!!は
その信号に起因する割込処理によりその所定信号を判別
してデータ送信モード又はデータ受信モードとされ、同
装置の閏でデータを転送記憶する数値制御装置のデータ
転送方式が提供される。
Therefore, according to the present invention, an automatic programming device having a computer and a numerical control device having a computer are connected by a transmission line, and both of the connected devices can be controlled by an external interrupt by a signal from the transmission line. When a predetermined signal is emitted from one of the devices to the transmission line, the other device is kept on standby in a possible state. If! ! A data transfer method for a numerical control device is provided in which the predetermined signal is determined by an interrupt process caused by the signal, and the device is set to a data transmission mode or a data reception mode, and data is transferred and stored using the lever of the device.

〔実施例〕〔Example〕

本発明に係る数値制御装置のデータ転送方式の一実施例
について図面に従って具体的に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a data transfer method for a numerical control device according to the present invention will be described in detail with reference to the drawings.

第1図は実施例の全体構成を示すブロック図、第2図は
外観を示す斜視図である0本実施例では対象となる工作
機械としてワイヤ放電加工機を想定しでいる。
FIG. 1 is a block diagram showing the overall configuration of the embodiment, and FIG. 2 is a perspective view showing the external appearance. In this embodiment, a wire electrical discharge machine is assumed as the target machine tool.

事務所内に置かれている自動プログラミング作成装置1
と工場現場に置かれるワイヤ放電加工機のNC装置2と
が伝送ライン3により接続されている。
Automatic programming creation device located in the office 1
and an NC device 2 of a wire electric discharge machine placed at the factory site are connected by a transmission line 3.

自動プログラミング装置1は、中央処理装置4、読出専
用メモリ5、−大記憶メモリ6等からなるコンピュータ
を有し、その共通バス7にはそれぞれインタフェース8
.9.10.11を介して、作成された多数のNC加ニ
ブログラムを保存するディスクメモリ12、アルファベ
ットキー数値キーを備えるキーボード13、図形及び文
字を表示する図形表示装置14、作成された加ニブログ
ラムを軟テープ等に出力するテープパンチャフ15又は
磁気テープ16が接続される0図形表示装置14は陰極
線型のディスプレイ(CRT)17、その制御回路18
、グラフィックメモリ19、キャラクタゼネレータ20
及びリフレッシュメモリ21を備える。グラフィックメ
モリ19はディスプレイ17の一画面の全II素を記憶
する。キャラクタゼネレータ20は続出専用メモリから
なり、文字形状が記憶され、+77レフシユメモリ21
はディスプレイ17の一画面に表示可能な文字数に対応
する記憶領域を有し、ディスプレイ17上の文字を表示
することがでさる行及び列(たとえば25行×80列)
にそれぞれ対応するアドレスに表示したい文字情報を記
憶する。制御回路18は中央処理装置4からのデータを
グラフィックメモリ19及びす7レツンユメモリ21に
記憶させ、グラフイックノモリ19及びキャラクタゼネ
レータ20からの画素データからビデオ信号をディスプ
レイ17に送り、図形及び文字を表示する。
The automatic programming device 1 has a computer consisting of a central processing unit 4, a read-only memory 5, a large storage memory 6, etc., and a common bus 7 thereof has an interface 8, respectively.
.. 9.10.11, a disk memory 12 for storing a large number of created NC Kanji programs, a keyboard 13 equipped with alphabetic keys and numeric keys, a graphic display device 14 for displaying figures and characters, and a created Kanji program. The graphic display device 14 to which a tape punch 15 or magnetic tape 16 for outputting to soft tape or the like is connected includes a cathode ray type display (CRT) 17 and its control circuit 18.
, graphic memory 19, character generator 20
and a refresh memory 21. The graphic memory 19 stores all II elements of one screen of the display 17. The character generator 20 consists of a continuous memory, in which character shapes are stored, and a +77 reflex memory 21.
has a storage area corresponding to the number of characters that can be displayed on one screen of the display 17, and has rows and columns that can display characters on the display 17 (for example, 25 rows x 80 columns).
Store the character information that you want to display at the address corresponding to each. The control circuit 18 stores data from the central processing unit 4 in a graphic memory 19 and a retrieval memory 21, and sends a video signal from pixel data from the graphic memory 19 and character generator 20 to the display 17 to display figures and characters. do.

そして、伝送ライン3に接続されNC3ii12とデー
タの授受を行うための入出力インク7エース22が共通
パス7に接続される。*た、入出力インク7二一ス22
は中央処理装置4への割込ライン23にも接続され、伝
送ライン3から信号を受けた際に割込信号を発して割込
処理を求める。
An input/output ink 7ace 22 connected to the transmission line 3 and used to exchange data with the NC3ii12 is connected to the common path 7. *Input/output ink 7 21st 22
is also connected to an interrupt line 23 to the central processing unit 4, and when receiving a signal from the transmission line 3, issues an interrupt signal to request interrupt processing.

NC装置2は、自動プログラミング装置1と同様に中央
処理装置4′、読出専用メモ175’、一時記憶メモリ
6′等からなるコンピュータを有し、キーボード13′
を備え、ディスプレイ17′等からなる図形表示装置1
4′を備える。さらに、放電加工機のX輸及びY輪を駆
動制御するための、パルス分配器24.25、サーボ回
路26.27、送9モータ28.29が接続され、補助
機能(MST)命令を大竹する強電回路30がインタフ
ェース31を介しで接続されている。
Like the automatic programming device 1, the NC device 2 has a computer consisting of a central processing unit 4', a read-only memo 175', a temporary memory 6', etc., and a keyboard 13'.
A graphic display device 1 comprising a display 17' etc.
4'. Furthermore, pulse distributors 24, 25, servo circuits 26, 27, and feed 9 motors 28, 29 are connected to drive and control the X and Y wheels of the electrical discharge machine, and output auxiliary function (MST) commands. A high-power circuit 30 is connected via an interface 31.

そして、伝送ライン3に接続され自動プログラミング作
成装置1とデータの授受を行うための入出力インク7エ
ース22′が共通パス7′に接続されると共に、中央処
理装置4′への割込ライン23′にも接続されでい、る
、NC@li[2及び自動プログラミング作成装置1を
結ぶ伝送ライン3に接続される入出力インク7エース2
2′及び22は、規格R8232Cに準じて構成されて
いる。
An input/output ink 7 ace 22' connected to the transmission line 3 and used to exchange data with the automatic programming creation device 1 is connected to the common path 7', and an interrupt line 23 to the central processing unit 4' is connected to the common path 7'. ' is also connected to the input/output ink 7 ace 2 connected to the transmission line 3 connecting the NC@li [2 and the automatic programming creation device 1].
2' and 22 are constructed according to standard R8232C.

作動について説明する。The operation will be explained.

データ歓送を行なわない時は、自動プログラミング作成
装置1とNC装置2はそれぞれ独立に作動し、個別にそ
れぞれの処理を実行している。
When data is not transferred, the automatic programming device 1 and the NC device 2 operate independently and execute their respective processes individually.

データ転送を行う時は、いずれか一方の装置から所定の
命令信号を伝送ライン3に発する。たとえば、自動プロ
グ2ミソグ作威装置1から所定の命令信号をインク7エ
ース22により伝送ライン3に発すると、NC装置2で
はインタフェース22′がその命令信号を受け、受信し
た命令信号をそのまま割込ライン23′に歓送して中央
処理装置4′に割込みをかける。中央処理装置4′では
、命令信号の最初のビット信号により割込処理を開始し
、割込ライン23′にマスクをかけると共に受信した命
令信号を共通パス7′から読取り、解読判別してNC装
置2を転送モード又は受信モードとする。そして、自動
プログラミング作成装置1とNC装置2との間でデータ
転送が行なわれ、歓送が終了すると割込ライン23′の
マスクが除かれ、次のデータ転送に備え待機する。
When data is transferred, one of the devices issues a predetermined command signal to the transmission line 3. For example, when a predetermined command signal is sent to the transmission line 3 by the ink 7 ace 22 from the automatic program 2 misog production device 1, the interface 22' of the NC device 2 receives the command signal and interrupts the received command signal as it is. It sends it to line 23' and interrupts central processing unit 4'. The central processing unit 4' starts interrupt processing by the first bit signal of the command signal, masks the interrupt line 23', reads the received command signal from the common path 7', decodes it, and sends it to the NC device. 2 is the transfer mode or reception mode. Then, data transfer is performed between the automatic programming creation device 1 and the NC device 2, and when the forwarding is completed, the mask on the interrupt line 23' is removed and the system waits in preparation for the next data transfer.

命令信号を受信した時に、NC41置2が当該NOプロ
グラムの編集中等でデータ転送ができない状態の場合は
、命令信号を受付けないと共に、作動中信号(B U 
S Y信号)を伝送ライン3に発し、自動プログラミン
グ作成装置1に知らせる。自動プログラミング作成装置
1ではディスプレイ17に「MAcHINE  BUS
YJと表示しで作業者に知らせる。
When receiving a command signal, if NC41-2 is in a state where data transfer is not possible due to editing of the relevant NO program, etc., it will not accept the command signal and will output an in-operation signal (B U
S Y signal) is sent to the transmission line 3 to notify the automatic programming creation device 1. In the automatic programming creation device 1, “MACHINE BUS” appears on the display 17.
Inform the operator by displaying YJ.

第3図及び第4図は、NC1!置2と自動プログラミン
グ作成装置1との間の命令信号及びデータの授受の様子
を時系列的に示す説明図である。第3図はNC!lC置
2を装局とし自動プログラミング杓府嬰flItf群局
鼾1−イN (’−娑肴2個かち堀作1.−た場合を示
し、第4図は逆に自動プログラミング作成!装置1を主
局としNO!I@2を従局とした場合を示す、そして、
$3図及び第4図いずれにおいても、(a)は自動プロ
グラミング作成装置1からNC装置2にデータを歓送す
るいわゆるグランロード(D own L oad)の
場合を示し、(b)はNC装置2から自動プログラミン
グ作成装置1にデータを転送するアフブロード(Up 
Load)の場合を示す。
Figures 3 and 4 show NC1! FIG. 2 is an explanatory diagram chronologically showing how command signals and data are exchanged between the device 2 and the automatic programming creation device 1. FIG. Figure 3 is NC! Figure 4 shows the case where IC device 2 is used as the device and automatic programming is done. Indicates the case where is the master station and NO!I@2 is the slave station, and
In both Figure 3 and Figure 4, (a) shows the so-called grand load case in which data is sent from the automatic programming creation device 1 to the NC device 2, and (b) shows the case where data is transferred from the automatic programming creation device 1 to the NC device 2. Afbroud (Up) transfers data from to the automatic programming creation device 1
Load).

まず、NC装置2側からだけの操作によりグランロード
する第3図(a)の場合についで説明する。
First, the case of FIG. 3(a) in which grand loading is performed by operation only from the NC device 2 side will be explained.

NC装置2のキーボード13′からDown Load
命令を入力し、次いで転送させる加ニブログラム名を指
定する。NC装置2はこのキーボード操作により、ダウ
ンロード歓送を命する命令信号MSG $ (D 、プ
ログラム名)を伝送ライン3に出力する。
Download from keyboard 13' of NC device 2
Enter the command and then specify the name of the program to be transferred. In response to this keyboard operation, the NC device 2 outputs a command signal MSG $ (D, program name) to the transmission line 3 instructing download transfer.

自動プログラミング作成装置1では、命令信号MSG$
の最初の信号の立上りにより割込がかかり、割込処理に
より伝送ライン3からの入力を受入れると共に割込ライ
ン23にマスクをして以後の入力信号による割込を受付
ないようにする。そして、入力された命令信号を解読し
てデータ転送モードとすると共に、伝送ライン3に確認
信号ACK$を出力する。もし、指定された加ニブログ
ラム名が存在しない時は、非確認信号NAK$を出力し
てNC装r112に知らせると共に、割込ライン23の
マスクを解除して待機状態に戻る。
In the automatic programming creation device 1, the command signal MSG$
An interrupt is generated by the rise of the first signal of , and the input from the transmission line 3 is accepted through interrupt processing, and the interrupt line 23 is masked so that no interrupts due to subsequent input signals will be accepted. Then, it decodes the input command signal to set the data transfer mode, and outputs the confirmation signal ACK$ to the transmission line 3. If the specified program name does not exist, a non-confirmation signal NAK$ is outputted to notify the NC device r112, and the interrupt line 23 is unmasked to return to the standby state.

NC@fl12では、確認信号ACK$の受信によりデ
ータ受信モードとされデータの転送を待つ。
Upon receiving the confirmation signal ACK$, NC@fl12 enters data reception mode and waits for data transfer.

自動プログラム作成装置1では、確認信号ACK$の送
出後所定時間後に、加ニブログラムの一群のデータDA
TA$を送出する。NC装置2では、受信した一群のデ
ータメモリ6′に記憶すると共に、受信した一群のデー
タDATA$のパリティチェック、総和チェック(CH
ECK SUM)等の誤り検出を行い、誤りがなければ
確認信号ACK$を自動プログラム作成装置1に返送す
る。そして、次の一群のデータDATA$の転送、確認
信号ACK$の返送を繰返して加ニブログラムのデータ
を逐次転送する。すべてのデータが転送し終ると、自動
プログラム作成i装置1からデータ終了信号EOD$が
送出され、NC装!!2はデータ終了信号EOD$を受
けで確認信号ACK$を返送する。これによりデータ転
送処理を終了し、同装置1.2共に割込ライン23.2
3’のマスクを解除し、待機状態に戻る。
In the automatic program creation device 1, after a predetermined period of time after sending the confirmation signal ACK$, a group of data DA of the program program is generated.
Send TA$. The NC device 2 stores a group of received data in the memory 6', and also performs a parity check and a summation check (CH
ECK, SUM), etc. are detected, and if there is no error, a confirmation signal ACK$ is sent back to the automatic program creation device 1. Then, the transfer of the next group of data DATA$ and the return of the confirmation signal ACK$ are repeated to sequentially transfer the data of the Kaniprogram. When all the data has been transferred, the automatic program creation i device 1 sends a data end signal EOD$, and the NC device! ! 2 receives the data end signal EOD$ and returns an acknowledgment signal ACK$. This completes the data transfer process, and interrupts both the device 1.2 and the interrupt line 23.2.
Release the mask 3' and return to the standby state.

総和チェック等の誤り検出によりエラーが検出された場
合は、確認信号ACK$の代りに非確認信号NAK$を
出力する。確認信号ACK$を待っている状態で非確認
信号NAK$が返信された場合は、無条件に中断処理(
ABORT処理)に入いり、その旨をディスプレイ17
.17°に表示すると共に割込ライン23.23′のマ
スクを解除して待機状態に戻る。
If an error is detected by error detection such as summation check, a non-confirmation signal NAK$ is output instead of the confirmation signal ACK$. If a non-confirmation signal NAK$ is returned while waiting for a confirmation signal ACK$, the interruption process (
ABORT processing) is entered, and a message to that effect is displayed on display 17.
.. 17°, the interrupt lines 23 and 23' are unmasked, and the state returns to the standby state.

次に、NC@fl12@からだけの操作によりデータを
自動プログラム作成装置1にアップロードする第3図(
b)の場合について説明する。
Next, the data is uploaded to the automatic program creation device 1 by operation only from NC@fl12@ (Fig. 3).
Case b) will be explained.

NC装置2のキーボード13′からUpLoad命令を
入力し、次いで転送する加ニブログラム名を入力する。
An UpLoad command is input from the keyboard 13' of the NC device 2, and then the name of the program to be transferred is input.

この操作によりNC装置2はアップロード啄送を命する
命令信号MSG$ (tJ、プログラム名)を伝送ライ
ン3に出力する。自動プログラミング作成装置1では、
この命令信号に起因する割込処理により、命令信号を解
読してデータ受信モードとし、確認信号ACK$を伝送
ライン3に出力する。以後、前述のグランロードの場合
と同様に、一群のデータDATA$の転送そして確認信
号ACK$の返送を繰返して加ニブログラムすべてを転
送する。i&後に、データ終了信号EOD$を送出し、
確認信号ACK$が返送されてアワブロードデータ転送
処理を終了し、同装置1.2共に再び待機状態に戻る。
By this operation, the NC device 2 outputs a command signal MSG$ (tJ, program name) to the transmission line 3 instructing uploading. In the automatic programming creation device 1,
By interrupt processing caused by this command signal, the command signal is decoded, the data reception mode is set, and the confirmation signal ACK$ is output to the transmission line 3. Thereafter, as in the case of the grand load described above, the transfer of a group of data DATA$ and the return of the confirmation signal ACK$ are repeated to transfer all the Kniprograms. After i&, sends a data end signal EOD$,
A confirmation signal ACK$ is returned, the Our Broad data transfer process is completed, and the devices 1 and 2 return to the standby state again.

第4図に示す自動プログラミング作成装置1側から操作
する場合も、主局が自動プログラミング作成装置1、従
局がNC装置2となるだけで、その操作及び処理は前述
した第3図の場合と同様にして割込処理により実行され
る。
Even when operating from the automatic programming creation device 1 side shown in Fig. 4, the main station is the automatic programming creation device 1 and the slave station is the NC device 2, and the operation and processing are the same as in the case of Fig. 3 described above. It is executed by interrupt processing.

以上述べたように、自動プログラミング作成装置1又は
NC@C2O4ずれか一方の装置からだけの操作により
、自由に同装置i、2間でのデータ転送を行うことがで
きる。このため、事務所内では自動プログラミング作成
装置1で一応のプログラミングを行い、生成された加ニ
ブログラムを工場内のNC装置2に転送する。一方、工
場現場では、実際の加工状況を見ながら加ニブログラム
を微修正し、洗練された加ニブログラムとして使用する
と共に、その加ニブログラムを自動プログラミング作成
装置1に転送してディスクメモリ12に7フイルし保存
しでおくといったことが、1人の作業者で自由にできる
ようになる。
As described above, data can be freely transferred between the automatic programming creating device 1 or NC@C2O4 by operating only one of the devices i and 2. For this reason, some programming is performed in the office using an automatic programming creating device 1, and the generated cannibal program is transferred to the NC device 2 in the factory. On the other hand, at the factory site, the cannibal program is slightly modified while observing the actual machining situation and used as a refined cannibal program, and the resulting cannibal program is transferred to the automatic programming creation device 1 and stored in the disk memory 12 as 7 files. A single worker can now do things like save and save.

上記の実施例においては、転送データを加ニブログラム
として説明したが、転送データがNC装置の稼動状況デ
ータ等の工場管理情報であっても同様に自由にデータの
授受を行うことができる。
In the above embodiment, the transfer data is explained as a machine program, but even if the transfer data is factory management information such as operation status data of the NC device, data can be freely exchanged in the same way.

また、説明を簡単にするため、一台の自動プログラミン
グ作成装置に一台のNC装置を接続したシステムで説明
したが、本発明方式においては一台の自動プログラミン
グ作成装置に多数台のNC装置を接続し、相互にデータ
の授受を行うことも可能であり、コスト低減の上から望
ましいことでもある。*た、複数のNC装置と複数の自
動プログラミング作成装置とを接続し、命令中にデータ
転送の目的局の指定を含ませることにより、互いにデー
タの授受を行うことも可能である。
Also, to simplify the explanation, the system has been explained in which one NC device is connected to one automatic programming creation device, but in the method of the present invention, multiple NC devices are connected to one automatic programming creation device. It is also possible to connect and exchange data with each other, which is also desirable from the standpoint of cost reduction. *It is also possible to exchange data with each other by connecting a plurality of NC devices and a plurality of automatic programming creation devices and including the designation of the destination station for data transfer in the command.

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

以上説明したように本発明によれば、事務所内に置かれ
た自動プログラミング作成装置と、工場現場に置かれた
NC装置との闇で、いずれか一方の装置からの作業者1
人の繰作により、同装置間で自由にデータ転送を行うこ
とができるという優れた効果がある。
As explained above, according to the present invention, in the darkness between an automatic programming device placed in an office and an NC device placed at a factory site, a worker 1 from either device
This has the excellent effect of allowing data to be freely transferred between the same devices through human intervention.

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

図面は本発明に係るデータ転送方式の一実施例を示し、
第1図は構成を示すブロック図、第2図は外観を示す斜
視図、第3図及び第4図はデータ等の授受を時系列的に
示す説明図である。 1・・・自動プログラミング作成装置、2・・・NC装
置、3・・・伝送ライン、4.4′・・・中央処理装置
(CP U )、5.5′、6.6′・・・メモリ、1
2・・・ディスクメモリ、13.13′・・・キーボー
ド、17.17′・・・ディスプレイ、22.22′・
・・入出力インタ7エース、23.23′・・・割込ラ
イン。 第317 (a)                  (b)第
412
The drawing shows an embodiment of the data transfer method according to the present invention,
FIG. 1 is a block diagram showing the configuration, FIG. 2 is a perspective view showing the external appearance, and FIGS. 3 and 4 are explanatory diagrams showing the exchange of data etc. in chronological order. DESCRIPTION OF SYMBOLS 1... Automatic programming creation device, 2... NC device, 3... Transmission line, 4.4'... Central processing unit (CPU), 5.5', 6.6'... memory, 1
2... Disk memory, 13.13'... Keyboard, 17.17'... Display, 22.22'.
...I/O interface 7 ace, 23.23'...Interrupt line. 317th (a) (b) 412th

Claims (1)

【特許請求の範囲】[Claims] コンピュータを有する自動プログラミング作成装置とコ
ンピュータを有する数値制御装置とを伝送ラインで接続
し、接続された両装置を共に上記伝送ラインからの信号
による外部割込が可能な状態で待機させておき、いずれ
か一方の装置から所定信号が上記伝送ラインに発せられ
ると、他方の装置はその信号に起因する割込処理により
その所定信号を判別してデータ送信モード又はデータ受
信モードとされ、両装置の間でデータを転送記憶する数
値制御装置のデータ転送方式。
An automatic programming device with a computer and a numerical control device with a computer are connected via a transmission line, and both connected devices are kept on standby in a state where external interrupts can be made by signals from the transmission line. When a predetermined signal is emitted from one of the devices to the transmission line, the other device determines the predetermined signal by interrupt processing caused by that signal and enters data transmission mode or data reception mode, and the communication between the two devices is performed. A data transfer method for numerical control equipment that transfers and stores data.
JP60079841A 1985-04-15 1985-04-15 Data transfer system for numerical controller Pending JPS61237106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60079841A JPS61237106A (en) 1985-04-15 1985-04-15 Data transfer system for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60079841A JPS61237106A (en) 1985-04-15 1985-04-15 Data transfer system for numerical controller

Publications (1)

Publication Number Publication Date
JPS61237106A true JPS61237106A (en) 1986-10-22

Family

ID=13701426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60079841A Pending JPS61237106A (en) 1985-04-15 1985-04-15 Data transfer system for numerical controller

Country Status (1)

Country Link
JP (1) JPS61237106A (en)

Similar Documents

Publication Publication Date Title
JPS5960506A (en) Numerical controlling system
JPS63245784A (en) Terminal equipment for card identification
US4628442A (en) Centralized peripheral interface with a numerical control unit
US3816723A (en) Machine tool data system and method
JPS61237106A (en) Data transfer system for numerical controller
US3824550A (en) Read-only-memory storage apparatus for controlling data logging apparatus
JPS6253560A (en) Communication terminal equipment
JPH04362783A (en) Cad system having simultaneous concurrent processing function at plural terminals
JPH05143488A (en) Transfer method for plural commands
US4017838A (en) Data entry and recording system having field correct capability
EP0139759B1 (en) System for connecting and controlling external devices
JP3171921B2 (en) Control system interface check method
JPH0443408A (en) Numerical controller system
JP2886240B2 (en) Semiconductor device production instruction device and production condition instruction system
JPS60254350A (en) Data communication control device
JPH0158521B2 (en)
JPS6263309A (en) Data inputting method
JPH064549A (en) Work instruction display system
JPS63304348A (en) Control system for connecting device
JP2695930B2 (en) Intelligent I / O module
JPS6071180A (en) Conversation type teaching box
JP2641896B2 (en) Data transfer method
EP0647893A1 (en) Method for transferring cnc data
EP0139768A1 (en) Method of controlling data input/output
JPS62157909A (en) Direct numerical control system