JPH02183806A - Transmission method for nc program data - Google Patents

Transmission method for nc program data

Info

Publication number
JPH02183806A
JPH02183806A JP408689A JP408689A JPH02183806A JP H02183806 A JPH02183806 A JP H02183806A JP 408689 A JP408689 A JP 408689A JP 408689 A JP408689 A JP 408689A JP H02183806 A JPH02183806 A JP H02183806A
Authority
JP
Japan
Prior art keywords
program
machine
computer
relay device
controller
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
JP408689A
Other languages
Japanese (ja)
Inventor
Yoichi Miyazaki
宮崎 曜一
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP408689A priority Critical patent/JPH02183806A/en
Publication of JPH02183806A publication Critical patent/JPH02183806A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the field of applications for both an automated (FA) personal computer and a repeating device by storing temporarily a program received from the repeating device and sending successively the program to a machine in a readable state of the machine set in a designated address. CONSTITUTION:The network addresses are allocated to each NC controller 4 and terminal 5' respectively, and an FA personal computer 1 can select an NC machine. The computer 1 designates the network address of a target NC machine and transmits an NC program. A repeating device 3 stores temporarily the received NC program in its own memory and transmits the NC programs to the controller 4 in turn as soon as the controller 4 is ready to read the NC program. Then the computer 1 receives the answers from the NC machine based on plural set input systems. As a result, the range of application are increased for both the computer 1 and the device 3.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、ネットワーク及び中継装置を介して工業用、
工場用コンピュータ(以下、F’Aパソコンと略称する
)から各数値制御 (NumericalCcontr
ol;以下、NCと略称する)マンーンヘプログラムを
ダウンロードしたり逆にキー入力をアップロードしたり
する際のNCプログラムデータ伝送方法に関し、特に、
ダウンロード又はアップロード可能なプログラムの量が
無制限な伝送方法に関する。
DETAILED DESCRIPTION OF THE INVENTION A. Industrial Application Field The present invention is applicable to industrial applications via networks and relay devices.
Each numerical control is performed from a factory computer (hereinafter referred to as F'A PC).
Regarding the method of transmitting NC program data when downloading a program to a computer (hereinafter abbreviated as NC) or uploading key inputs, in particular,
The present invention relates to a transmission method in which the amount of programs that can be downloaded or uploaded is unlimited.

B1発明の概要 本発明は、ネットワーク及び中継装置を介してFAパソ
コンから各NCマシーンへプログラムをダウンロードし
たり逆にキー入力をアップロードしたりする際のNCプ
ログラムデータの伝送方法において、 中継装置は単にデータを中継する機能だけを備え、FA
パソコンは所望のNCマシーンのネットワークアドレス
を指定してプログラムを伝送し、中継装置は受取ったプ
ログラムを自装置内のメモリへ一時格納し、指定アドレ
スのNCマシーンが読込み可能な状態になったときその
プログラムを順次NCマシーンへ送信し、逆にマシーン
側からの応答は複数の設定方式に基づいてFAパソコン
が受取ることにより、 ダウンロード アップロード可能なプログラムのmが無
制限で、マシーン側への表示や入力処理ムFAパソコン
側から行い、FAパソコンと中継装置の適用分野を拡大
する技術を提供するものである。
B1 Summary of the Invention The present invention provides a method for transmitting NC program data when downloading a program from an FA personal computer to each NC machine or uploading key inputs from an FA personal computer via a network and a relay device. Equipped with only the function of relaying data, FA
The personal computer specifies the network address of the desired NC machine and transmits the program, and the relay device temporarily stores the received program in its own internal memory, and then transfers the program when the NC machine at the specified address becomes ready for reading. Programs are sent sequentially to the NC machine, and responses from the machine are received by the FA computer based on multiple setting methods, allowing for an unlimited number of programs that can be downloaded and uploaded, and display and input processing on the machine side. This technology is implemented from the FA PC side of the system, and provides technology that expands the field of application of FA PCs and relay devices.

C0従来の技術 NCプログラムの記憶媒体として、以前は紙製のさん孔
テープが使用されていたが、近年、工場自動化(FA)
が進むに伴って、紙テープを使わない、所謂祇テープレ
ス化も促進されるようになっている。
C0 Conventional technology Paper perforation tape was previously used as a storage medium for NC programs, but in recent years, it has become increasingly popular in factory automation (FA).
As technology advances, so-called tapeless technology, which eliminates the use of paper tape, is also being promoted.

NCマシーンを紙テープなしで運用するには、第2図に
示すような構成が一般的に採用されろ。
To operate an NC machine without paper tape, the configuration shown in Figure 2 is generally adopted.

即ち、従来の紙テープに相当するものとしてコンピュー
タの性能、機能を備えたFAパソコン1のハードディス
クが使用され、L A N (Lacal AreaN
etwork )2  及び中継装置(例えばシリアル
インターフェース)3を介して、NCマシーン4ヘダウ
ンロード又はアップロードされる。図中5は、NCマシ
ーン4を現場で直接制御するオペレーショナルコンピュ
ータ(以下、オペコンと略称ずろ)である。
That is, the hard disk of the FA personal computer 1, which has the performance and functions of a computer, is used as an equivalent to the conventional paper tape.
) 2 and a relay device (for example, a serial interface) 3, the data is downloaded or uploaded to the NC machine 4. In the figure, reference numeral 5 denotes an operational computer (hereinafter abbreviated as an operational computer) that directly controls the NC machine 4 on site.

上記のシステムで、従来は、NCマシーン4やオペコン
5が主機器として構成されていて、FAパソコンlは各
種のプログラムを内蔵するデータベースに過ぎなかった
。従って、オペコン5から指令があると、中継装置3は
指定されたプログラムデータを一括してFAパソコンl
から呼込み、貯えておいて、NC側へ伝送する方法であ
った。
Conventionally, in the above system, the NC machine 4 and the operational computer 5 were configured as the main devices, and the FA personal computer 1 was nothing more than a database containing various programs. Therefore, when there is a command from the operation controller 5, the relay device 3 transfers the specified program data all at once to the FA computer.
The method was to call in the information from the computer, store it, and transmit it to the NC side.

D1発明が解決しようとする課題 しかし、上記従来方法には下記の課題がある。Problems that the D1 invention attempts to solve However, the above conventional method has the following problems.

(1)中貼装置で一旦データを貯えるため、1回でダウ
ンロードらしくはアップロート可能なプログラムの量が
制限される。
(1) Since data is temporarily stored in the pasting device, the amount of programs that can be uploaded at one time is limited.

(2)オペコンに対する処理は中継装置で行われている
ため、FAパソコン、中継装置、 N Gマシーンの3
者にデータが完全に分かれ、システムライクでなく、変
更が容易でない。
(2) Since the processing for the operation controller is performed by the relay device, there are three types: the FA computer, the relay device, and the NG machine.
Data is completely separated between users, it is not system-like, and changes are not easy.

本発明は、上記のような課題に鑑みて創案されたもので
、ダウンロード又はアップロード可能なプログラムの爪
が無制限で、オペコン等への表示や入力処理をFAパソ
コンが行い、FAパソコンと中継装置の適用分野を拡大
するNCプログラムデータの伝送方法を提供することを
目的とする。
The present invention was devised in view of the above-mentioned problems, and there is no limit to the number of programs that can be downloaded or uploaded.The FA PC performs display and input processing to the operating computer, etc., and the FA PC and the relay device can be connected. It is an object of the present invention to provide a method for transmitting NC program data that expands the field of application.

E1課題を解決するための手段 本発明における上記課題を解決するための手段は、ネッ
トワーク及び中継装置を介してFAパソコンから各マシ
ーンへプログラムをダウンロードしたり逆にキー入力を
アップロードしたりする際のNCプログラムデータの伝
送方法において、中継装置はデータを中継する機能だけ
を備え、F’Aパソコンは所望のマシーンのネットワー
クアドレスを指定してプログラムを伝送し、中継装置は
受取ったプログラムを自装置内のメモリへ一時格納し、
指定アドレスのマシーンか読込み可能な状態になったと
き、そのプログラムを順次マシーンへ送信し、逆にマシ
ーン側からの応答は複数の設定方式に括づいてFAパソ
コンが受取る伝送方法によるものとする。
E1 Means for Solving the Problem The means for solving the above problem in the present invention is to solve the problem when downloading a program from the FA personal computer to each machine via a network and a relay device, or conversely when uploading key inputs. In the NC program data transmission method, the relay device has only the function of relaying data, the F'A personal computer specifies the network address of the desired machine and transmits the program, and the relay device transfers the received program within its own device. temporarily stored in the memory of
When the machine at the specified address becomes readable, the program is sent to the machine one after another, and the response from the machine is received by the FA personal computer based on a plurality of setting methods.

F3作用 本発明で、中継装置は単純にデータ中継を行う機能だけ
を備えていればよく、NCマシーンへのダウンロードや
オペコンからのキー入力は、そのままFAパソコンのマ
イクロボートへ転送される。
F3 Effect In the present invention, the relay device only needs to have the function of simply relaying data, and downloads to the NC machine and key inputs from the operational computer are transferred directly to the microboard of the FA personal computer.

一方、各NCマシーンにはLAN等へのネットワークア
ドレスが割振られていて、FAパソコンは所望のNCマ
シーンを選択し、そのネットワークアドレスを指定して
中継装置へNCプログラムを伝送する。
On the other hand, each NC machine is assigned a network address to a LAN, etc., and the FA personal computer selects a desired NC machine, designates its network address, and transmits the NC program to the relay device.

中継装置は、受取ったN、Cプログラムを自装置のメモ
リへ一時格納し、NCマシーンがNCプログラムを読込
める状態になると、格納されているNCプログラムを順
次NCマシーンへ送信する。
The relay device temporarily stores the received N and C programs in its own memory, and when the NC machine becomes ready to read the NC program, sequentially transmits the stored NC programs to the NC machine.

中継装置のメモリが満杯であるときは、FAパソコンへ
りトライの通知を返信し、F’Aパソコンは所定のイン
ターバル後に再度データを送信する。
When the memory of the relay device is full, a notification of a try is returned to the FA PC, and the F'A PC transmits the data again after a predetermined interval.

FAパソコンは、複数の入力方式が設定されていて、そ
れらの設定方式に基づいてNCマシーン又はオペコンか
らの応答を受取る。
The FA personal computer has a plurality of input methods set, and receives responses from the NC machine or the operational computer based on the set methods.

G 実施例 以下、図面を参照して、本発明の実施例を詳細に説明す
る。
G. Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明によるNCプログラムデータの伝送シ
ステムの一実施例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of an NC program data transmission system according to the present invention.

同図において、li′iFAパソコン、2はLAN等の
ネットワーク、3はFNC等の中継装置、4は各マシー
ンに付設されているNGコントローラ、5′はオペコン
を搭載したターミナルである。FAパソコンlは、アブ
リケーソヨンRAS I CとFTタスク用O8及びL
AN用インターフェイスとを備えている。中継装置3は
、ンリアルインターフエイスの接続部を2本備え、その
#lはターミナル5′に接続され、#2はNCコントロ
ーラ4に接続されている。各NGコントローラ4及びタ
ーミナル5には、それぞれネットワークアドレスが割振
られ、上位伝送階層のFAパソコン1からNCマシーン
を選択できるようにし、FAパソコンlはターゲットの
NCマシーンのネットワークアドレスを指定して中継装
置3へNCプログラムを伝送する。
In the figure, li'iFA personal computer, 2 is a network such as LAN, 3 is a relay device such as FNC, 4 is an NG controller attached to each machine, and 5' is a terminal equipped with an operational computer. The FA PC is equipped with Abrication Soyon RAS IC and O8 and L for FT tasks.
It is equipped with an AN interface. The relay device 3 is provided with two real interface connections, #1 of which is connected to the terminal 5', and #2 of which is connected to the NC controller 4. A network address is assigned to each NG controller 4 and terminal 5, so that an NC machine can be selected from the FA computer 1 in the upper transmission layer, and the FA computer 1 specifies the network address of the target NC machine and then connects the relay device to the relay device. Transmit the NC program to 3.

第3図は、ダウンロードのプロトコルの手順図である。FIG. 3 is a procedure diagram of the download protocol.

同図に示す如く、ダウンロードに際しては、ターミナル
5′ヘメニユ画面の表面ファイルを送信し、表示された
画面より図番骨をキー入力させ、操作メツセージにより
NCコントローラ4のセットアツプを完了さ仕たのち、
NCプログラムをOSタスクによりダウンロードする。
As shown in the figure, when downloading, send the surface file of the terminal 5' home screen, enter the figure number bone from the displayed screen, and complete the setup of the NC controller 4 using the operation message. ,
Download the NC program using the OS task.

中継装置3は、受取ったNCプログラムを装置内のメモ
リへ一時格納するが、NCコントローラ4がNCプログ
ラムを読込める状態になり次第、格納されているNCプ
ログラムを順番にNCコントローラ4へ送信する。
The relay device 3 temporarily stores the received NC program in a memory within the device, but as soon as the NC controller 4 becomes ready to read the NC program, it sequentially transmits the stored NC programs to the NC controller 4.

中継装置3のメモリが満杯であるときは、中継装置3は
FAパソコン1ヘリトライの通知を返信し、メモリ・フ
ルを知ら仕る。この通知により、FAパソコンlはしば
らく送信を見合わせ、所定のインターバル後に再度デー
タを送信する。
When the memory of the relay device 3 is full, the relay device 3 returns a notification of a heli-try to the FA personal computer 1 to notify that the memory is full. In response to this notification, the FA PC 1 suspends transmission for a while and transmits the data again after a predetermined interval.

第4図は、アップロードのプロトコルの手順図である。FIG. 4 is a procedural diagram of the upload protocol.

同図に示す如く、手順はダウンロードの場合とほぼ同様
であるが、NCコントローラ4やターミナル5′からの
キー入力の入力方式は下記の各種が設定されている。
As shown in the figure, the procedure is almost the same as that for downloading, but the following various input methods are set for key input from the NC controller 4 and terminal 5'.

) lキャラクタ入力 ) ターミネータ入力 山) 指定キャラクタ入力 iv)  タイムスライス入力 V) ファイル入力 )〜iv )は、それぞれエコータイプ又はノーエコー
タイプの双方が存在し、FAパソコンlはこれらの設定
に基づいて、NCコントローラ4からのアップロード応
答やターミナル5′からのキー入力応答を受取る。
) Character input) Terminator input mountain) Specified character input iv) Time slice input V) File input) to iv) have both echo type and no-echo type, and the FA PC 1 is based on these settings. , receives an upload response from the NC controller 4 and a key input response from the terminal 5'.

本発明の実施例では、ダウンロード又はアップロード可
能なプログラムの量に制限がない。中継装置はFAパソ
コンから受取ったNCプログラムをプログラムエンドま
で貯めずにNCマシーンの受取り準備ができ次第に送信
し、NCマシーンより受取ったデータら256バイトの
パケットにして順次FAパソコンへ送信する。従って、
取扱うプログラムの量には制限がなく、リモートバッフ
ァ方式のダイレクトNCにも適用可能になる。
In embodiments of the invention, there is no limit to the amount of programs that can be downloaded or uploaded. The relay device transmits the NC program received from the FA personal computer as soon as the NC machine is ready to receive it without storing it until the program end, and sequentially transmits the data received from the NC machine into a 256-byte packet to the FA personal computer. Therefore,
There is no limit to the amount of programs that can be handled, and it can also be applied to remote buffer type direct NC.

更に、本発明の実施例ではオペコンへの表示やキー入力
等を全てFAパソコンか行うため、フレキシブルな紙テ
ープレス化、FA化が実現可能になる。オペコンからの
操作方法や操作画面等は現地のニーズに合ったものがよ
く、FAパソコンが画面情報を全て保有しているので、
その場で画面の変更や修正が可能になる。またオペコン
ばかりでなく、現場の作業ガイダンス等にも使用でき、
FAパソコン側のデータやRAS I C言語を変更す
るだけで各種の対応が可能になる。
Furthermore, in the embodiment of the present invention, all display on the operation controller, key input, etc. are performed by the FA personal computer, making it possible to realize a flexible paper tapeless system and FA. The operation methods and operation screens from the operating system are best suited to local needs, and the FA computer retains all screen information.
Screen changes and corrections can be made on the spot. It can also be used not only for operation control but also for on-site work guidance, etc.
Various types of support are possible by simply changing the data on the FA computer side and the RAS IC language.

中継装置には、パソコン、バーコードリーグ等シリアル
インターフJイスを備えた機器であれは、簡単に接続・
コミュニケーションできる。
Any device equipped with a serial interface, such as a computer or barcode league, can be easily connected to the relay device.
I can communicate.

1−1 、発明の詳細 な説明したとおり、本発明によれば、ダウンロード又は
アップロード可能なプログラムの爪が無制限で、オペコ
ン等への表示や入力処理をFAパソコンが行い、FAパ
ソコンと中継装置の適用分野を拡大するNCプログラム
データの伝送方法を提供することができる。
1-1. As described in detail, according to the present invention, there is no limit to the number of programs that can be downloaded or uploaded, the FA computer performs display and input processing to an operation computer, etc., and the connection between the FA computer and the relay device is It is possible to provide a method for transmitting NC program data that expands the field of application.

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

第1図は本発明の一実施例の構成図、第2図は一般例の
構成図、第3図及び第4図はプロトコルの手順図である
。 1・・・FAパソコン、2・・・LAN、3’・・・中
411装置、マシーン、 オペコン、 5′ ターミナル。 外2名 第 図 第2図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a block diagram of a general example, and FIGS. 3 and 4 are protocol procedure diagrams. 1... FA computer, 2... LAN, 3'... 411 equipment, machine, operation computer, 5' terminal. Figure 2: 2 people outside

Claims (1)

【特許請求の範囲】[Claims] (1)ネットワーク及び中継装置を介してFAコンピュ
ータから各マシーンへプログラムをダウンロードしたり
逆にキー入力をアップロードしたりする際の数値制御プ
ログラムデータの伝送方法において、中継装置はデータ
を中継する機能だけを備え、FAコンピュータは所望の
マシーンのネットワークアドレスを指定してプログラム
を伝送し、中継装置は受取ったプログラムを自装置内の
メモリへ一時格納し、指定アドレスのマシーンが読込み
可能な状態になったときそのプログラムを順次マシーン
へ送信し、逆にマシーン側からの応答は複数の設定方式
に基づいてFAコンピュータが受取ることを特徴とする
NCプログラムデータの伝送方法。
(1) In the method of transmitting numerical control program data when downloading a program from an FA computer to each machine or uploading key inputs from the FA computer via a network and relay device, the relay device only has the function of relaying data. The FA computer specifies the network address of the desired machine and transmits the program, and the relay device temporarily stores the received program in its own internal memory, so that the machine at the specified address can read it. A method for transmitting NC program data, characterized in that the program is sequentially transmitted to machines, and a response from the machine side is received by an FA computer based on a plurality of setting methods.
JP408689A 1989-01-11 1989-01-11 Transmission method for nc program data Pending JPH02183806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP408689A JPH02183806A (en) 1989-01-11 1989-01-11 Transmission method for nc program data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP408689A JPH02183806A (en) 1989-01-11 1989-01-11 Transmission method for nc program data

Publications (1)

Publication Number Publication Date
JPH02183806A true JPH02183806A (en) 1990-07-18

Family

ID=11574978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP408689A Pending JPH02183806A (en) 1989-01-11 1989-01-11 Transmission method for nc program data

Country Status (1)

Country Link
JP (1) JPH02183806A (en)

Similar Documents

Publication Publication Date Title
JPH01502708A (en) Information transmission methods and devices
JPH03123232A (en) Data transmission control processing method
JPH02143306A (en) Numerical controller
KR100716767B1 (en) A tele-control · monitoring system on the basis of ubiquitous
JP2007066061A (en) Data transmitter, receiver, transmission system, reception system, method, and terminal apparatus
JP3428793B2 (en) Wireless communication system and wireless communication device
JPH02183806A (en) Transmission method for nc program data
JP3423626B2 (en) Control host computer and recording medium on which the program is recorded
JP3662492B2 (en) Remote operation system, apparatus and recording medium
JP3785795B2 (en) Data processing device
JP3054783B2 (en) Numerical control unit
JPS61191140A (en) Communication system for local network
JPH0998271A (en) Image communication unit and its method
JPH09200205A (en) Method and device for managing network
JPH07131502A (en) Communication controller
JPH05101020A (en) Automatic network setting device
JPS60254350A (en) Data communication control device
JP2001331460A (en) Plant controller and plant control system
JPH1027161A (en) System, processor, and method for information processing
JP2000137505A (en) Controlling host computer and recording medium recording its program
JP2969786B2 (en) Communication link setting method for multi-computer system
JPH0736374A (en) Data link system
JPS593673A (en) On-line system
JPH0252467B2 (en)
JPS6196849A (en) Transmission system control system